OSDN Git Service

2004-11-08 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization.  ##
10 ## --------------------- ##
11
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14   emulate sh
15   NULLCMD=:
16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17   # is contrary to our usage.  Disable this feature.
18   alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20   set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26   as_unset=unset
27 else
28   as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for as_var in \
40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42   LC_TELEPHONE LC_TIME
43 do
44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45     eval $as_var=C; export $as_var
46   else
47     $as_unset $as_var
48   fi
49 done
50
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53   as_expr=expr
54 else
55   as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59   as_basename=basename
60 else
61   as_basename=false
62 fi
63
64
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68          X"$0" : 'X\(//\)$' \| \
69          X"$0" : 'X\(/\)$' \| \
70          .     : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73           /^X\/\(\/\/\)$/{ s//\1/; q; }
74           /^X\/\(\/\).*/{ s//\1/; q; }
75           s/.*/./; q'`
76
77
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88   echo "#! /bin/sh" >conf$$.sh
89   echo  "exit 0"   >>conf$$.sh
90   chmod +x conf$$.sh
91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92     PATH_SEPARATOR=';'
93   else
94     PATH_SEPARATOR=:
95   fi
96   rm -f conf$$.sh
97 fi
98
99
100   as_lineno_1=$LINENO
101   as_lineno_2=$LINENO
102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103   test "x$as_lineno_1" != "x$as_lineno_2" &&
104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105   # Find who we are.  Look in the path if we contain no path at all
106   # relative or not.
107   case $0 in
108     *[\\/]* ) as_myself=$0 ;;
109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112   IFS=$as_save_IFS
113   test -z "$as_dir" && as_dir=.
114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116
117        ;;
118   esac
119   # We did not find ourselves, most probably we were run as `sh COMMAND'
120   # in which case we are not to be found in the path.
121   if test "x$as_myself" = x; then
122     as_myself=$0
123   fi
124   if test ! -f "$as_myself"; then
125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126    { (exit 1); exit 1; }; }
127   fi
128   case $CONFIG_SHELL in
129   '')
130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133   IFS=$as_save_IFS
134   test -z "$as_dir" && as_dir=.
135   for as_base in sh bash ksh sh5; do
136          case $as_dir in
137          /*)
138            if ("$as_dir/$as_base" -c '
139   as_lineno_1=$LINENO
140   as_lineno_2=$LINENO
141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142   test "x$as_lineno_1" != "x$as_lineno_2" &&
143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146              CONFIG_SHELL=$as_dir/$as_base
147              export CONFIG_SHELL
148              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149            fi;;
150          esac
151        done
152 done
153 ;;
154   esac
155
156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157   # uniformly replaced by the line number.  The first 'sed' inserts a
158   # line-number line before each line; the second 'sed' does the real
159   # work.  The second script uses 'N' to pair each line-number line
160   # with the numbered line, and appends trailing '-' during
161   # substitution so that $LINENO is not a special case at line end.
162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164   sed '=' <$as_myself |
165     sed '
166       N
167       s,$,-,
168       : loop
169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170       t loop
171       s,-$,,
172       s,^['$as_cr_digits']*\n,,
173     ' >$as_me.lineno &&
174   chmod +x $as_me.lineno ||
175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176    { (exit 1); exit 1; }; }
177
178   # Don't try to exec as it changes $[0], causing all sort of problems
179   # (the dirname of $[0] is not the place where we might find the
180   # original and so on.  Autoconf is especially sensible to this).
181   . ./$as_me.lineno
182   # Exit status is that of the last command.
183   exit
184 }
185
186
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188   *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T='      ' ;;
190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195   as_expr=expr
196 else
197   as_expr=false
198 fi
199
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203   # We could just check for DJGPP; but this test a) works b) is more generic
204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205   if test -f conf$$.exe; then
206     # Don't use ln at all; we don't have any links
207     as_ln_s='cp -p'
208   else
209     as_ln_s='ln -s'
210   fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212   as_ln_s=ln
213 else
214   as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
218 if mkdir -p . 2>/dev/null; then
219   as_mkdir_p=:
220 else
221   test -d ./-p && rmdir ./-p
222   as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS="   $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249 exec 6>&1
250
251 #
252 # Initializations.
253 #
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
261
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete.  It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
266
267 # Identity of this package.
268 PACKAGE_NAME='package-unused'
269 PACKAGE_TARNAME='libstdc++'
270 PACKAGE_VERSION='version-unused'
271 PACKAGE_STRING='package-unused version-unused'
272 PACKAGE_BUGREPORT=''
273
274 ac_unique_file="src/ios.cc"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
277 #include <stdio.h>
278 #if HAVE_SYS_TYPES_H
279 # include <sys/types.h>
280 #endif
281 #if HAVE_SYS_STAT_H
282 # include <sys/stat.h>
283 #endif
284 #if STDC_HEADERS
285 # include <stdlib.h>
286 # include <stddef.h>
287 #else
288 # if HAVE_STDLIB_H
289 #  include <stdlib.h>
290 # endif
291 #endif
292 #if HAVE_STRING_H
293 # if !STDC_HEADERS && HAVE_MEMORY_H
294 #  include <memory.h>
295 # endif
296 # include <string.h>
297 #endif
298 #if HAVE_STRINGS_H
299 # include <strings.h>
300 #endif
301 #if HAVE_INTTYPES_H
302 # include <inttypes.h>
303 #else
304 # if HAVE_STDINT_H
305 #  include <stdint.h>
306 # endif
307 #endif
308 #if HAVE_UNISTD_H
309 # include <unistd.h>
310 #endif"
311
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT 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_THREAD_TRUE GLIBCXX_TEST_THREAD_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-fully-dynamic-string
888                           do not put empty strings in per-process static
889                           memory [default=no]
890   --enable-symvers=STYLE  enables symbol versioning of the shared library
891                           [default=yes]
892   --enable-version-specific-runtime-libs
893                           Specify that runtime libraries should be installed
894                           in a compiler-specific directory
895
896 Optional Packages:
897   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
898   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
899   --with-target-subdir=SUBDIR
900                           configuring in a subdirectory
901   --with-cross-host=HOST  configuring with a cross compiler
902   --with-newlib           assume newlib as a system C library
903   --with-gnu-ld           assume the C compiler uses GNU ld default=no
904   --with-pic              try to use only PIC/non-PIC objects default=use both
905   --with-gxx-include-dir=DIR
906                           installation directory for include files
907
908 Some influential environment variables:
909   CC          C compiler command
910   CFLAGS      C compiler flags
911   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
912               nonstandard directory <lib dir>
913   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
914               headers in a nonstandard directory <include dir>
915   CXX         C++ compiler command
916   CXXFLAGS    C++ compiler flags
917   CXXCPP      C++ preprocessor
918   CPP         C preprocessor
919
920 Use these variables to override the choices made by `configure' or to help
921 it to find libraries and programs with nonstandard names/locations.
922
923 _ACEOF
924 fi
925
926 if test "$ac_init_help" = "recursive"; then
927   # If there are subdirs, report their specific --help.
928   ac_popdir=`pwd`
929   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
930     test -d $ac_dir || continue
931     ac_builddir=.
932
933 if test "$ac_dir" != .; then
934   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
935   # A "../" for each directory in $ac_dir_suffix.
936   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
937 else
938   ac_dir_suffix= ac_top_builddir=
939 fi
940
941 case $srcdir in
942   .)  # No --srcdir option.  We are building in place.
943     ac_srcdir=.
944     if test -z "$ac_top_builddir"; then
945        ac_top_srcdir=.
946     else
947        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
948     fi ;;
949   [\\/]* | ?:[\\/]* )  # Absolute path.
950     ac_srcdir=$srcdir$ac_dir_suffix;
951     ac_top_srcdir=$srcdir ;;
952   *) # Relative path.
953     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
954     ac_top_srcdir=$ac_top_builddir$srcdir ;;
955 esac
956
957 # Do not use `cd foo && pwd` to compute absolute paths, because
958 # the directories may not exist.
959 case `pwd` in
960 .) ac_abs_builddir="$ac_dir";;
961 *)
962   case "$ac_dir" in
963   .) ac_abs_builddir=`pwd`;;
964   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
965   *) ac_abs_builddir=`pwd`/"$ac_dir";;
966   esac;;
967 esac
968 case $ac_abs_builddir in
969 .) ac_abs_top_builddir=${ac_top_builddir}.;;
970 *)
971   case ${ac_top_builddir}. in
972   .) ac_abs_top_builddir=$ac_abs_builddir;;
973   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
974   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
975   esac;;
976 esac
977 case $ac_abs_builddir in
978 .) ac_abs_srcdir=$ac_srcdir;;
979 *)
980   case $ac_srcdir in
981   .) ac_abs_srcdir=$ac_abs_builddir;;
982   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
983   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
984   esac;;
985 esac
986 case $ac_abs_builddir in
987 .) ac_abs_top_srcdir=$ac_top_srcdir;;
988 *)
989   case $ac_top_srcdir in
990   .) ac_abs_top_srcdir=$ac_abs_builddir;;
991   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
992   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
993   esac;;
994 esac
995
996     cd $ac_dir
997     # Check for guested configure; otherwise get Cygnus style configure.
998     if test -f $ac_srcdir/configure.gnu; then
999       echo
1000       $SHELL $ac_srcdir/configure.gnu  --help=recursive
1001     elif test -f $ac_srcdir/configure; then
1002       echo
1003       $SHELL $ac_srcdir/configure  --help=recursive
1004     elif test -f $ac_srcdir/configure.ac ||
1005            test -f $ac_srcdir/configure.in; then
1006       echo
1007       $ac_configure --help
1008     else
1009       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1010     fi
1011     cd $ac_popdir
1012   done
1013 fi
1014
1015 test -n "$ac_init_help" && exit 0
1016 if $ac_init_version; then
1017   cat <<\_ACEOF
1018 package-unused configure version-unused
1019 generated by GNU Autoconf 2.59
1020
1021 Copyright (C) 2003 Free Software Foundation, Inc.
1022 This configure script is free software; the Free Software Foundation
1023 gives unlimited permission to copy, distribute and modify it.
1024 _ACEOF
1025   exit 0
1026 fi
1027 exec 5>config.log
1028 cat >&5 <<_ACEOF
1029 This file contains any messages produced by compilers while
1030 running configure, to aid debugging if configure makes a mistake.
1031
1032 It was created by package-unused $as_me version-unused, which was
1033 generated by GNU Autoconf 2.59.  Invocation command line was
1034
1035   $ $0 $@
1036
1037 _ACEOF
1038 {
1039 cat <<_ASUNAME
1040 ## --------- ##
1041 ## Platform. ##
1042 ## --------- ##
1043
1044 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1045 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1046 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1047 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1048 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1049
1050 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1051 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1052
1053 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1054 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1055 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1056 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1057 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1058 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1059 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1060
1061 _ASUNAME
1062
1063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1064 for as_dir in $PATH
1065 do
1066   IFS=$as_save_IFS
1067   test -z "$as_dir" && as_dir=.
1068   echo "PATH: $as_dir"
1069 done
1070
1071 } >&5
1072
1073 cat >&5 <<_ACEOF
1074
1075
1076 ## ----------- ##
1077 ## Core tests. ##
1078 ## ----------- ##
1079
1080 _ACEOF
1081
1082
1083 # Keep a trace of the command line.
1084 # Strip out --no-create and --no-recursion so they do not pile up.
1085 # Strip out --silent because we don't want to record it for future runs.
1086 # Also quote any args containing shell meta-characters.
1087 # Make two passes to allow for proper duplicate-argument suppression.
1088 ac_configure_args=
1089 ac_configure_args0=
1090 ac_configure_args1=
1091 ac_sep=
1092 ac_must_keep_next=false
1093 for ac_pass in 1 2
1094 do
1095   for ac_arg
1096   do
1097     case $ac_arg in
1098     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1099     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1100     | -silent | --silent | --silen | --sile | --sil)
1101       continue ;;
1102     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1103       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1104     esac
1105     case $ac_pass in
1106     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1107     2)
1108       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1109       if test $ac_must_keep_next = true; then
1110         ac_must_keep_next=false # Got value, back to normal.
1111       else
1112         case $ac_arg in
1113           *=* | --config-cache | -C | -disable-* | --disable-* \
1114           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1115           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1116           | -with-* | --with-* | -without-* | --without-* | --x)
1117             case "$ac_configure_args0 " in
1118               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1119             esac
1120             ;;
1121           -* ) ac_must_keep_next=true ;;
1122         esac
1123       fi
1124       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1125       # Get rid of the leading space.
1126       ac_sep=" "
1127       ;;
1128     esac
1129   done
1130 done
1131 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1132 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1133
1134 # When interrupted or exit'd, cleanup temporary files, and complete
1135 # config.log.  We remove comments because anyway the quotes in there
1136 # would cause problems or look ugly.
1137 # WARNING: Be sure not to use single quotes in there, as some shells,
1138 # such as our DU 5.0 friend, will then `close' the trap.
1139 trap 'exit_status=$?
1140   # Save into config.log some information that might help in debugging.
1141   {
1142     echo
1143
1144     cat <<\_ASBOX
1145 ## ---------------- ##
1146 ## Cache variables. ##
1147 ## ---------------- ##
1148 _ASBOX
1149     echo
1150     # The following way of writing the cache mishandles newlines in values,
1151 {
1152   (set) 2>&1 |
1153     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1154     *ac_space=\ *)
1155       sed -n \
1156         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1157           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1158       ;;
1159     *)
1160       sed -n \
1161         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1162       ;;
1163     esac;
1164 }
1165     echo
1166
1167     cat <<\_ASBOX
1168 ## ----------------- ##
1169 ## Output variables. ##
1170 ## ----------------- ##
1171 _ASBOX
1172     echo
1173     for ac_var in $ac_subst_vars
1174     do
1175       eval ac_val=$`echo $ac_var`
1176       echo "$ac_var='"'"'$ac_val'"'"'"
1177     done | sort
1178     echo
1179
1180     if test -n "$ac_subst_files"; then
1181       cat <<\_ASBOX
1182 ## ------------- ##
1183 ## Output files. ##
1184 ## ------------- ##
1185 _ASBOX
1186       echo
1187       for ac_var in $ac_subst_files
1188       do
1189         eval ac_val=$`echo $ac_var`
1190         echo "$ac_var='"'"'$ac_val'"'"'"
1191       done | sort
1192       echo
1193     fi
1194
1195     if test -s confdefs.h; then
1196       cat <<\_ASBOX
1197 ## ----------- ##
1198 ## confdefs.h. ##
1199 ## ----------- ##
1200 _ASBOX
1201       echo
1202       sed "/^$/d" confdefs.h | sort
1203       echo
1204     fi
1205     test "$ac_signal" != 0 &&
1206       echo "$as_me: caught signal $ac_signal"
1207     echo "$as_me: exit $exit_status"
1208   } >&5
1209   rm -f core *.core &&
1210   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1211     exit $exit_status
1212      ' 0
1213 for ac_signal in 1 2 13 15; do
1214   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1215 done
1216 ac_signal=0
1217
1218 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1219 rm -rf conftest* confdefs.h
1220 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1221 echo >confdefs.h
1222
1223 # Predefined preprocessor variables.
1224
1225 cat >>confdefs.h <<_ACEOF
1226 #define PACKAGE_NAME "$PACKAGE_NAME"
1227 _ACEOF
1228
1229
1230 cat >>confdefs.h <<_ACEOF
1231 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1232 _ACEOF
1233
1234
1235 cat >>confdefs.h <<_ACEOF
1236 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1237 _ACEOF
1238
1239
1240 cat >>confdefs.h <<_ACEOF
1241 #define PACKAGE_STRING "$PACKAGE_STRING"
1242 _ACEOF
1243
1244
1245 cat >>confdefs.h <<_ACEOF
1246 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1247 _ACEOF
1248
1249
1250 # Let the site file select an alternate cache file if it wants to.
1251 # Prefer explicitly selected file to automatically selected ones.
1252 if test -z "$CONFIG_SITE"; then
1253   if test "x$prefix" != xNONE; then
1254     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1255   else
1256     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1257   fi
1258 fi
1259 for ac_site_file in $CONFIG_SITE; do
1260   if test -r "$ac_site_file"; then
1261     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1262 echo "$as_me: loading site script $ac_site_file" >&6;}
1263     sed 's/^/| /' "$ac_site_file" >&5
1264     . "$ac_site_file"
1265   fi
1266 done
1267
1268 if test -r "$cache_file"; then
1269   # Some versions of bash will fail to source /dev/null (special
1270   # files actually), so we avoid doing that.
1271   if test -f "$cache_file"; then
1272     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1273 echo "$as_me: loading cache $cache_file" >&6;}
1274     case $cache_file in
1275       [\\/]* | ?:[\\/]* ) . $cache_file;;
1276       *)                      . ./$cache_file;;
1277     esac
1278   fi
1279 else
1280   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1281 echo "$as_me: creating cache $cache_file" >&6;}
1282   >$cache_file
1283 fi
1284
1285 # Check that the precious variables saved in the cache have kept the same
1286 # value.
1287 ac_cache_corrupted=false
1288 for ac_var in `(set) 2>&1 |
1289                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1290   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1291   eval ac_new_set=\$ac_env_${ac_var}_set
1292   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1293   eval ac_new_val="\$ac_env_${ac_var}_value"
1294   case $ac_old_set,$ac_new_set in
1295     set,)
1296       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1297 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1298       ac_cache_corrupted=: ;;
1299     ,set)
1300       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1301 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1302       ac_cache_corrupted=: ;;
1303     ,);;
1304     *)
1305       if test "x$ac_old_val" != "x$ac_new_val"; then
1306         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1307 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1308         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1309 echo "$as_me:   former value:  $ac_old_val" >&2;}
1310         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1311 echo "$as_me:   current value: $ac_new_val" >&2;}
1312         ac_cache_corrupted=:
1313       fi;;
1314   esac
1315   # Pass precious variables to config.status.
1316   if test "$ac_new_set" = set; then
1317     case $ac_new_val in
1318     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1319       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1320     *) ac_arg=$ac_var=$ac_new_val ;;
1321     esac
1322     case " $ac_configure_args " in
1323       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1324       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1325     esac
1326   fi
1327 done
1328 if $ac_cache_corrupted; then
1329   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1330 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1331   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1332 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1333    { (exit 1); exit 1; }; }
1334 fi
1335
1336 ac_ext=c
1337 ac_cpp='$CPP $CPPFLAGS'
1338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369           ac_config_headers="$ac_config_headers config.h"
1370
1371
1372 # This works around the fact that libtool configuration may change LD
1373 # for this particular configuration, but some shells, instead of
1374 # keeping the changes in LD private, export them just because LD is
1375 # exported.  Only used at the end of this file.
1376 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
1377
1378 # For libtool versioning info, format is CURRENT:REVISION:AGE
1379 libtool_VERSION=6:4:0
1380
1381
1382 # Find the rest of the source tree framework.
1383 # Default to --enable-multilib
1384 # Check whether --enable-multilib or --disable-multilib was given.
1385 if test "${enable_multilib+set}" = set; then
1386   enableval="$enable_multilib"
1387   case "$enableval" in
1388   yes) multilib=yes ;;
1389   no)  multilib=no ;;
1390   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1391 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1392    { (exit 1); exit 1; }; } ;;
1393  esac
1394 else
1395   multilib=yes
1396 fi;
1397
1398 # We may get other options which we leave undocumented:
1399 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1400 # See config-ml.in if you want the gory details.
1401
1402 if test "$srcdir" = "."; then
1403   if test "$with_target_subdir" != "."; then
1404     multi_basedir="$srcdir/$with_multisrctop../.."
1405   else
1406     multi_basedir="$srcdir/$with_multisrctop.."
1407   fi
1408 else
1409   multi_basedir="$srcdir/.."
1410 fi
1411
1412
1413           ac_config_commands="$ac_config_commands default-1"
1414
1415
1416 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1417 #
1418 # You will slowly go insane if you do not grok the following fact:  when
1419 # building v3 as part of the compiler, the top-level /target/ becomes the
1420 # library's /host/.  configure then causes --target to default to --host,
1421 # exactly like any other package using autoconf.  Therefore, 'target' and
1422 # 'host' will always be the same.  This makes sense both for native and
1423 # cross compilers, just think about it for a little while.  :-)
1424 #
1425 # Also, if v3 is being configured as part of a cross compiler, the top-level
1426 # configure script will pass the "real" host as $with_cross_host.
1427 #
1428 # Do not delete or change the following two lines.  For why, see
1429 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1430 ac_aux_dir=
1431 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1432   if test -f $ac_dir/install-sh; then
1433     ac_aux_dir=$ac_dir
1434     ac_install_sh="$ac_aux_dir/install-sh -c"
1435     break
1436   elif test -f $ac_dir/install.sh; then
1437     ac_aux_dir=$ac_dir
1438     ac_install_sh="$ac_aux_dir/install.sh -c"
1439     break
1440   elif test -f $ac_dir/shtool; then
1441     ac_aux_dir=$ac_dir
1442     ac_install_sh="$ac_aux_dir/shtool install -c"
1443     break
1444   fi
1445 done
1446 if test -z "$ac_aux_dir"; then
1447   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1448 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1449    { (exit 1); exit 1; }; }
1450 fi
1451 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1452 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1453 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1454
1455 # Make sure we can run config.sub.
1456 $ac_config_sub sun4 >/dev/null 2>&1 ||
1457   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1458 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1459    { (exit 1); exit 1; }; }
1460
1461 echo "$as_me:$LINENO: checking build system type" >&5
1462 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1463 if test "${ac_cv_build+set}" = set; then
1464   echo $ECHO_N "(cached) $ECHO_C" >&6
1465 else
1466   ac_cv_build_alias=$build_alias
1467 test -z "$ac_cv_build_alias" &&
1468   ac_cv_build_alias=`$ac_config_guess`
1469 test -z "$ac_cv_build_alias" &&
1470   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1471 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1472    { (exit 1); exit 1; }; }
1473 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1474   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1475 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1476    { (exit 1); exit 1; }; }
1477
1478 fi
1479 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1480 echo "${ECHO_T}$ac_cv_build" >&6
1481 build=$ac_cv_build
1482 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1483 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1484 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1485
1486
1487 echo "$as_me:$LINENO: checking host system type" >&5
1488 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1489 if test "${ac_cv_host+set}" = set; then
1490   echo $ECHO_N "(cached) $ECHO_C" >&6
1491 else
1492   ac_cv_host_alias=$host_alias
1493 test -z "$ac_cv_host_alias" &&
1494   ac_cv_host_alias=$ac_cv_build_alias
1495 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1496   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1497 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1498    { (exit 1); exit 1; }; }
1499
1500 fi
1501 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1502 echo "${ECHO_T}$ac_cv_host" >&6
1503 host=$ac_cv_host
1504 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1505 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1506 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1507
1508
1509 echo "$as_me:$LINENO: checking target system type" >&5
1510 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1511 if test "${ac_cv_target+set}" = set; then
1512   echo $ECHO_N "(cached) $ECHO_C" >&6
1513 else
1514   ac_cv_target_alias=$target_alias
1515 test "x$ac_cv_target_alias" = "x" &&
1516   ac_cv_target_alias=$ac_cv_host_alias
1517 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1518   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1519 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1520    { (exit 1); exit 1; }; }
1521
1522 fi
1523 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1524 echo "${ECHO_T}$ac_cv_target" >&6
1525 target=$ac_cv_target
1526 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1527 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1528 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1529
1530
1531 # The aliases save the names the user supplied, while $host etc.
1532 # will get canonicalized.
1533 test -n "$target_alias" &&
1534   test "$program_prefix$program_suffix$program_transform_name" = \
1535     NONENONEs,x,x, &&
1536   program_prefix=${target_alias}-
1537 target_alias=${target_alias-$host_alias}
1538
1539 # Handy for debugging:
1540 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1541
1542 if test "$build" != "$host"; then
1543   # We are being configured with some form of cross compiler.
1544   GLIBCXX_IS_NATIVE=false
1545
1546 else
1547   GLIBCXX_IS_NATIVE=true
1548 fi
1549
1550 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1551 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1552 #  1.x:  minimum required version
1553 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1554 #              of other PACKAGE_* variables will, however, and there's nothing
1555 #              we can do about that; they come from AC_INIT).
1556 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1557 #            file in the top srcdir, etc, etc), so stop complaining.
1558 #  no-dependencies:  turns off auto dependency generation (just for now)
1559 #  -Wall:  turns on all automake warnings...
1560 #  -Wno-portability:  ...except this one, since GNU make is now required.
1561 am__api_version="1.9"
1562 # Find a good install program.  We prefer a C program (faster),
1563 # so one script is as good as another.  But avoid the broken or
1564 # incompatible versions:
1565 # SysV /etc/install, /usr/sbin/install
1566 # SunOS /usr/etc/install
1567 # IRIX /sbin/install
1568 # AIX /bin/install
1569 # AmigaOS /C/install, which installs bootblocks on floppy discs
1570 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1571 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1572 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1573 # OS/2's system install, which has a completely different semantic
1574 # ./install, which can be erroneously created by make from ./install.sh.
1575 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1576 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1577 if test -z "$INSTALL"; then
1578 if test "${ac_cv_path_install+set}" = set; then
1579   echo $ECHO_N "(cached) $ECHO_C" >&6
1580 else
1581   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1582 for as_dir in $PATH
1583 do
1584   IFS=$as_save_IFS
1585   test -z "$as_dir" && as_dir=.
1586   # Account for people who put trailing slashes in PATH elements.
1587 case $as_dir/ in
1588   ./ | .// | /cC/* | \
1589   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1590   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1591   /usr/ucb/* ) ;;
1592   *)
1593     # OSF1 and SCO ODT 3.0 have their own names for install.
1594     # Don't use installbsd from OSF since it installs stuff as root
1595     # by default.
1596     for ac_prog in ginstall scoinst install; do
1597       for ac_exec_ext in '' $ac_executable_extensions; do
1598         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1599           if test $ac_prog = install &&
1600             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1601             # AIX install.  It has an incompatible calling convention.
1602             :
1603           elif test $ac_prog = install &&
1604             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1605             # program-specific install script used by HP pwplus--don't use.
1606             :
1607           else
1608             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1609             break 3
1610           fi
1611         fi
1612       done
1613     done
1614     ;;
1615 esac
1616 done
1617
1618
1619 fi
1620   if test "${ac_cv_path_install+set}" = set; then
1621     INSTALL=$ac_cv_path_install
1622   else
1623     # As a last resort, use the slow shell script.  We don't cache a
1624     # path for INSTALL within a source directory, because that will
1625     # break other packages using the cache if that directory is
1626     # removed, or if the path is relative.
1627     INSTALL=$ac_install_sh
1628   fi
1629 fi
1630 echo "$as_me:$LINENO: result: $INSTALL" >&5
1631 echo "${ECHO_T}$INSTALL" >&6
1632
1633 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1634 # It thinks the first close brace ends the variable substitution.
1635 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1636
1637 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1638
1639 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1640
1641 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1642 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1643 # Just in case
1644 sleep 1
1645 echo timestamp > conftest.file
1646 # Do `set' in a subshell so we don't clobber the current shell's
1647 # arguments.  Must try -L first in case configure is actually a
1648 # symlink; some systems play weird games with the mod time of symlinks
1649 # (eg FreeBSD returns the mod time of the symlink's containing
1650 # directory).
1651 if (
1652    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1653    if test "$*" = "X"; then
1654       # -L didn't work.
1655       set X `ls -t $srcdir/configure conftest.file`
1656    fi
1657    rm -f conftest.file
1658    if test "$*" != "X $srcdir/configure conftest.file" \
1659       && test "$*" != "X conftest.file $srcdir/configure"; then
1660
1661       # If neither matched, then we have a broken ls.  This can happen
1662       # if, for instance, CONFIG_SHELL is bash and it inherits a
1663       # broken ls alias from the environment.  This has actually
1664       # happened.  Such a system could not be considered "sane".
1665       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1666 alias in your environment" >&5
1667 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1668 alias in your environment" >&2;}
1669    { (exit 1); exit 1; }; }
1670    fi
1671
1672    test "$2" = conftest.file
1673    )
1674 then
1675    # Ok.
1676    :
1677 else
1678    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1679 Check your system clock" >&5
1680 echo "$as_me: error: newly created file is older than distributed files!
1681 Check your system clock" >&2;}
1682    { (exit 1); exit 1; }; }
1683 fi
1684 echo "$as_me:$LINENO: result: yes" >&5
1685 echo "${ECHO_T}yes" >&6
1686 test "$program_prefix" != NONE &&
1687   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1688 # Use a double $ so make ignores it.
1689 test "$program_suffix" != NONE &&
1690   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1691 # Double any \ or $.  echo might interpret backslashes.
1692 # By default was `s,x,x', remove it if useless.
1693 cat <<\_ACEOF >conftest.sed
1694 s/[\\$]/&&/g;s/;s,x,x,$//
1695 _ACEOF
1696 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1697 rm conftest.sed
1698
1699 # expand $ac_aux_dir to an absolute path
1700 am_aux_dir=`cd $ac_aux_dir && pwd`
1701
1702 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1703 # Use eval to expand $SHELL
1704 if eval "$MISSING --run true"; then
1705   am_missing_run="$MISSING --run "
1706 else
1707   am_missing_run=
1708   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1709 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1710 fi
1711
1712 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1713   # We used to keeping the `.' as first argument, in order to
1714   # allow $(mkdir_p) to be used without argument.  As in
1715   #   $(mkdir_p) $(somedir)
1716   # where $(somedir) is conditionally defined.  However this is wrong
1717   # for two reasons:
1718   #  1. if the package is installed by a user who cannot write `.'
1719   #     make install will fail,
1720   #  2. the above comment should most certainly read
1721   #     $(mkdir_p) $(DESTDIR)$(somedir)
1722   #     so it does not work when $(somedir) is undefined and
1723   #     $(DESTDIR) is not.
1724   #  To support the latter case, we have to write
1725   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1726   #  so the `.' trick is pointless.
1727   mkdir_p='mkdir -p --'
1728 else
1729   # On NextStep and OpenStep, the `mkdir' command does not
1730   # recognize any option.  It will interpret all options as
1731   # directories to create, and then abort because `.' already
1732   # exists.
1733   for d in ./-p ./--version;
1734   do
1735     test -d $d && rmdir $d
1736   done
1737   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1738   if test -f "$ac_aux_dir/mkinstalldirs"; then
1739     mkdir_p='$(mkinstalldirs)'
1740   else
1741     mkdir_p='$(install_sh) -d'
1742   fi
1743 fi
1744
1745 for ac_prog in gawk mawk nawk awk
1746 do
1747   # Extract the first word of "$ac_prog", so it can be a program name with args.
1748 set dummy $ac_prog; ac_word=$2
1749 echo "$as_me:$LINENO: checking for $ac_word" >&5
1750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1751 if test "${ac_cv_prog_AWK+set}" = set; then
1752   echo $ECHO_N "(cached) $ECHO_C" >&6
1753 else
1754   if test -n "$AWK"; then
1755   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1756 else
1757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1758 for as_dir in $PATH
1759 do
1760   IFS=$as_save_IFS
1761   test -z "$as_dir" && as_dir=.
1762   for ac_exec_ext in '' $ac_executable_extensions; do
1763   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1764     ac_cv_prog_AWK="$ac_prog"
1765     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1766     break 2
1767   fi
1768 done
1769 done
1770
1771 fi
1772 fi
1773 AWK=$ac_cv_prog_AWK
1774 if test -n "$AWK"; then
1775   echo "$as_me:$LINENO: result: $AWK" >&5
1776 echo "${ECHO_T}$AWK" >&6
1777 else
1778   echo "$as_me:$LINENO: result: no" >&5
1779 echo "${ECHO_T}no" >&6
1780 fi
1781
1782   test -n "$AWK" && break
1783 done
1784
1785 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1786 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1787 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1788 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1789   echo $ECHO_N "(cached) $ECHO_C" >&6
1790 else
1791   cat >conftest.make <<\_ACEOF
1792 all:
1793         @echo 'ac_maketemp="$(MAKE)"'
1794 _ACEOF
1795 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1796 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1797 if test -n "$ac_maketemp"; then
1798   eval ac_cv_prog_make_${ac_make}_set=yes
1799 else
1800   eval ac_cv_prog_make_${ac_make}_set=no
1801 fi
1802 rm -f conftest.make
1803 fi
1804 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1805   echo "$as_me:$LINENO: result: yes" >&5
1806 echo "${ECHO_T}yes" >&6
1807   SET_MAKE=
1808 else
1809   echo "$as_me:$LINENO: result: no" >&5
1810 echo "${ECHO_T}no" >&6
1811   SET_MAKE="MAKE=${MAKE-make}"
1812 fi
1813
1814 rm -rf .tst 2>/dev/null
1815 mkdir .tst 2>/dev/null
1816 if test -d .tst; then
1817   am__leading_dot=.
1818 else
1819   am__leading_dot=_
1820 fi
1821 rmdir .tst 2>/dev/null
1822
1823 # test to see if srcdir already configured
1824 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1825    test -f $srcdir/config.status; then
1826   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1827 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1828    { (exit 1); exit 1; }; }
1829 fi
1830
1831 # test whether we have cygpath
1832 if test -z "$CYGPATH_W"; then
1833   if (cygpath --version) >/dev/null 2>/dev/null; then
1834     CYGPATH_W='cygpath -w'
1835   else
1836     CYGPATH_W=echo
1837   fi
1838 fi
1839
1840
1841 # Define the identity of the package.
1842  PACKAGE='libstdc++'
1843  VERSION='version-unused'
1844
1845
1846 # Some tools Automake needs.
1847
1848 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1849
1850
1851 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1852
1853
1854 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1855
1856
1857 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1858
1859
1860 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1861
1862 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1863
1864 # Installed binaries are usually stripped using `strip' when the user
1865 # run `make install-strip'.  However `strip' might not be the right
1866 # tool to use in cross-compilation environments, therefore Automake
1867 # will honor the `STRIP' environment variable to overrule this program.
1868 if test "$cross_compiling" != no; then
1869   if test -n "$ac_tool_prefix"; then
1870   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1871 set dummy ${ac_tool_prefix}strip; ac_word=$2
1872 echo "$as_me:$LINENO: checking for $ac_word" >&5
1873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1874 if test "${ac_cv_prog_STRIP+set}" = set; then
1875   echo $ECHO_N "(cached) $ECHO_C" >&6
1876 else
1877   if test -n "$STRIP"; then
1878   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1879 else
1880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1881 for as_dir in $PATH
1882 do
1883   IFS=$as_save_IFS
1884   test -z "$as_dir" && as_dir=.
1885   for ac_exec_ext in '' $ac_executable_extensions; do
1886   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1887     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1888     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1889     break 2
1890   fi
1891 done
1892 done
1893
1894 fi
1895 fi
1896 STRIP=$ac_cv_prog_STRIP
1897 if test -n "$STRIP"; then
1898   echo "$as_me:$LINENO: result: $STRIP" >&5
1899 echo "${ECHO_T}$STRIP" >&6
1900 else
1901   echo "$as_me:$LINENO: result: no" >&5
1902 echo "${ECHO_T}no" >&6
1903 fi
1904
1905 fi
1906 if test -z "$ac_cv_prog_STRIP"; then
1907   ac_ct_STRIP=$STRIP
1908   # Extract the first word of "strip", so it can be a program name with args.
1909 set dummy strip; ac_word=$2
1910 echo "$as_me:$LINENO: checking for $ac_word" >&5
1911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1912 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1913   echo $ECHO_N "(cached) $ECHO_C" >&6
1914 else
1915   if test -n "$ac_ct_STRIP"; then
1916   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1917 else
1918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1919 for as_dir in $PATH
1920 do
1921   IFS=$as_save_IFS
1922   test -z "$as_dir" && as_dir=.
1923   for ac_exec_ext in '' $ac_executable_extensions; do
1924   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1925     ac_cv_prog_ac_ct_STRIP="strip"
1926     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1927     break 2
1928   fi
1929 done
1930 done
1931
1932   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1933 fi
1934 fi
1935 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1936 if test -n "$ac_ct_STRIP"; then
1937   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1938 echo "${ECHO_T}$ac_ct_STRIP" >&6
1939 else
1940   echo "$as_me:$LINENO: result: no" >&5
1941 echo "${ECHO_T}no" >&6
1942 fi
1943
1944   STRIP=$ac_ct_STRIP
1945 else
1946   STRIP="$ac_cv_prog_STRIP"
1947 fi
1948
1949 fi
1950 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1951
1952 # We need awk for the "check" target.  The system "awk" is bad on
1953 # some platforms.
1954 # Always define AMTAR for backward compatibility.
1955
1956 AMTAR=${AMTAR-"${am_missing_run}tar"}
1957
1958 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1959
1960
1961
1962
1963
1964
1965 # Runs configure.host, finds CC, CXX, and assorted other critical bits.  Sets
1966 # up critical shell variables.
1967
1968   # Keep these sync'd with the list in Makefile.am.  The first provides an
1969   # expandable list at autoconf time; the second provides an expandable list
1970   # (i.e., shell variable) at configure time.
1971
1972   SUBDIRS='include libmath libsupc++ src po testsuite'
1973
1974   # These need to be absolute paths, yet at the same time need to
1975   # canonicalize only relative paths, because then amd will not unmount
1976   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1977   glibcxx_builddir=`${PWDCMD-pwd}`
1978   case $srcdir in
1979     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1980     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1981   esac
1982   toplevel_srcdir=${glibcxx_srcdir}/..
1983
1984
1985
1986
1987   # We use these options to decide which functions to include.  They are
1988   # set from the top level.
1989
1990 # Check whether --with-target-subdir or --without-target-subdir was given.
1991 if test "${with_target_subdir+set}" = set; then
1992   withval="$with_target_subdir"
1993
1994 fi;
1995
1996
1997 # Check whether --with-cross-host or --without-cross-host was given.
1998 if test "${with_cross_host+set}" = set; then
1999   withval="$with_cross_host"
2000
2001 fi;
2002
2003
2004 # Check whether --with-newlib or --without-newlib was given.
2005 if test "${with_newlib+set}" = set; then
2006   withval="$with_newlib"
2007
2008 fi;
2009
2010   # We're almost certainly being configured before anything else which uses
2011   # C++, so all of our AC_PROG_* discoveries will be cached.  It's vital that
2012   # we not cache the value of CXX that we "discover" here, because it's set
2013   # to something unique for us and libjava.  Other target libraries need to
2014   # find CXX for themselves.  We yank the rug out from under the normal AC_*
2015   # process by sneakily renaming the cache variable.  This also lets us debug
2016   # the value of "our" CXX in postmortems.
2017   #
2018   # We must also force CXX to /not/ be a precious variable, otherwise the
2019   # wrong (non-multilib-adjusted) value will be used in multilibs.  This
2020   # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS.  And as a side
2021   # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2022   # that ourselves.  Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2023   #
2024   # -fno-builtin must be present here so that a non-conflicting form of
2025   # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2026
2027
2028
2029
2030   save_CXXFLAGS="$CXXFLAGS"
2031   CXXFLAGS="$CXXFLAGS -fno-builtin"
2032   ac_ext=c
2033 ac_cpp='$CPP $CPPFLAGS'
2034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2037 if test -n "$ac_tool_prefix"; then
2038   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2039 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2040 echo "$as_me:$LINENO: checking for $ac_word" >&5
2041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2042 if test "${ac_cv_prog_CC+set}" = set; then
2043   echo $ECHO_N "(cached) $ECHO_C" >&6
2044 else
2045   if test -n "$CC"; then
2046   ac_cv_prog_CC="$CC" # Let the user override the test.
2047 else
2048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2049 for as_dir in $PATH
2050 do
2051   IFS=$as_save_IFS
2052   test -z "$as_dir" && as_dir=.
2053   for ac_exec_ext in '' $ac_executable_extensions; do
2054   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2055     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2056     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2057     break 2
2058   fi
2059 done
2060 done
2061
2062 fi
2063 fi
2064 CC=$ac_cv_prog_CC
2065 if test -n "$CC"; then
2066   echo "$as_me:$LINENO: result: $CC" >&5
2067 echo "${ECHO_T}$CC" >&6
2068 else
2069   echo "$as_me:$LINENO: result: no" >&5
2070 echo "${ECHO_T}no" >&6
2071 fi
2072
2073 fi
2074 if test -z "$ac_cv_prog_CC"; then
2075   ac_ct_CC=$CC
2076   # Extract the first word of "gcc", so it can be a program name with args.
2077 set dummy gcc; ac_word=$2
2078 echo "$as_me:$LINENO: checking for $ac_word" >&5
2079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2080 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2081   echo $ECHO_N "(cached) $ECHO_C" >&6
2082 else
2083   if test -n "$ac_ct_CC"; then
2084   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2085 else
2086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2087 for as_dir in $PATH
2088 do
2089   IFS=$as_save_IFS
2090   test -z "$as_dir" && as_dir=.
2091   for ac_exec_ext in '' $ac_executable_extensions; do
2092   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2093     ac_cv_prog_ac_ct_CC="gcc"
2094     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2095     break 2
2096   fi
2097 done
2098 done
2099
2100 fi
2101 fi
2102 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2103 if test -n "$ac_ct_CC"; then
2104   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2105 echo "${ECHO_T}$ac_ct_CC" >&6
2106 else
2107   echo "$as_me:$LINENO: result: no" >&5
2108 echo "${ECHO_T}no" >&6
2109 fi
2110
2111   CC=$ac_ct_CC
2112 else
2113   CC="$ac_cv_prog_CC"
2114 fi
2115
2116 if test -z "$CC"; then
2117   if test -n "$ac_tool_prefix"; then
2118   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2119 set dummy ${ac_tool_prefix}cc; ac_word=$2
2120 echo "$as_me:$LINENO: checking for $ac_word" >&5
2121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2122 if test "${ac_cv_prog_CC+set}" = set; then
2123   echo $ECHO_N "(cached) $ECHO_C" >&6
2124 else
2125   if test -n "$CC"; then
2126   ac_cv_prog_CC="$CC" # Let the user override the test.
2127 else
2128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2129 for as_dir in $PATH
2130 do
2131   IFS=$as_save_IFS
2132   test -z "$as_dir" && as_dir=.
2133   for ac_exec_ext in '' $ac_executable_extensions; do
2134   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2135     ac_cv_prog_CC="${ac_tool_prefix}cc"
2136     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2137     break 2
2138   fi
2139 done
2140 done
2141
2142 fi
2143 fi
2144 CC=$ac_cv_prog_CC
2145 if test -n "$CC"; then
2146   echo "$as_me:$LINENO: result: $CC" >&5
2147 echo "${ECHO_T}$CC" >&6
2148 else
2149   echo "$as_me:$LINENO: result: no" >&5
2150 echo "${ECHO_T}no" >&6
2151 fi
2152
2153 fi
2154 if test -z "$ac_cv_prog_CC"; then
2155   ac_ct_CC=$CC
2156   # Extract the first word of "cc", so it can be a program name with args.
2157 set dummy cc; ac_word=$2
2158 echo "$as_me:$LINENO: checking for $ac_word" >&5
2159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2160 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2161   echo $ECHO_N "(cached) $ECHO_C" >&6
2162 else
2163   if test -n "$ac_ct_CC"; then
2164   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2165 else
2166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2167 for as_dir in $PATH
2168 do
2169   IFS=$as_save_IFS
2170   test -z "$as_dir" && as_dir=.
2171   for ac_exec_ext in '' $ac_executable_extensions; do
2172   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2173     ac_cv_prog_ac_ct_CC="cc"
2174     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2175     break 2
2176   fi
2177 done
2178 done
2179
2180 fi
2181 fi
2182 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2183 if test -n "$ac_ct_CC"; then
2184   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2185 echo "${ECHO_T}$ac_ct_CC" >&6
2186 else
2187   echo "$as_me:$LINENO: result: no" >&5
2188 echo "${ECHO_T}no" >&6
2189 fi
2190
2191   CC=$ac_ct_CC
2192 else
2193   CC="$ac_cv_prog_CC"
2194 fi
2195
2196 fi
2197 if test -z "$CC"; then
2198   # Extract the first word of "cc", so it can be a program name with args.
2199 set dummy cc; ac_word=$2
2200 echo "$as_me:$LINENO: checking for $ac_word" >&5
2201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2202 if test "${ac_cv_prog_CC+set}" = set; then
2203   echo $ECHO_N "(cached) $ECHO_C" >&6
2204 else
2205   if test -n "$CC"; then
2206   ac_cv_prog_CC="$CC" # Let the user override the test.
2207 else
2208   ac_prog_rejected=no
2209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2210 for as_dir in $PATH
2211 do
2212   IFS=$as_save_IFS
2213   test -z "$as_dir" && as_dir=.
2214   for ac_exec_ext in '' $ac_executable_extensions; do
2215   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2216     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2217        ac_prog_rejected=yes
2218        continue
2219      fi
2220     ac_cv_prog_CC="cc"
2221     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2222     break 2
2223   fi
2224 done
2225 done
2226
2227 if test $ac_prog_rejected = yes; then
2228   # We found a bogon in the path, so make sure we never use it.
2229   set dummy $ac_cv_prog_CC
2230   shift
2231   if test $# != 0; then
2232     # We chose a different compiler from the bogus one.
2233     # However, it has the same basename, so the bogon will be chosen
2234     # first if we set CC to just the basename; use the full file name.
2235     shift
2236     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2237   fi
2238 fi
2239 fi
2240 fi
2241 CC=$ac_cv_prog_CC
2242 if test -n "$CC"; then
2243   echo "$as_me:$LINENO: result: $CC" >&5
2244 echo "${ECHO_T}$CC" >&6
2245 else
2246   echo "$as_me:$LINENO: result: no" >&5
2247 echo "${ECHO_T}no" >&6
2248 fi
2249
2250 fi
2251 if test -z "$CC"; then
2252   if test -n "$ac_tool_prefix"; then
2253   for ac_prog in cl
2254   do
2255     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2256 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2257 echo "$as_me:$LINENO: checking for $ac_word" >&5
2258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2259 if test "${ac_cv_prog_CC+set}" = set; then
2260   echo $ECHO_N "(cached) $ECHO_C" >&6
2261 else
2262   if test -n "$CC"; then
2263   ac_cv_prog_CC="$CC" # Let the user override the test.
2264 else
2265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266 for as_dir in $PATH
2267 do
2268   IFS=$as_save_IFS
2269   test -z "$as_dir" && as_dir=.
2270   for ac_exec_ext in '' $ac_executable_extensions; do
2271   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2272     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2273     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2274     break 2
2275   fi
2276 done
2277 done
2278
2279 fi
2280 fi
2281 CC=$ac_cv_prog_CC
2282 if test -n "$CC"; then
2283   echo "$as_me:$LINENO: result: $CC" >&5
2284 echo "${ECHO_T}$CC" >&6
2285 else
2286   echo "$as_me:$LINENO: result: no" >&5
2287 echo "${ECHO_T}no" >&6
2288 fi
2289
2290     test -n "$CC" && break
2291   done
2292 fi
2293 if test -z "$CC"; then
2294   ac_ct_CC=$CC
2295   for ac_prog in cl
2296 do
2297   # Extract the first word of "$ac_prog", so it can be a program name with args.
2298 set dummy $ac_prog; ac_word=$2
2299 echo "$as_me:$LINENO: checking for $ac_word" >&5
2300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2301 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2302   echo $ECHO_N "(cached) $ECHO_C" >&6
2303 else
2304   if test -n "$ac_ct_CC"; then
2305   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2306 else
2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308 for as_dir in $PATH
2309 do
2310   IFS=$as_save_IFS
2311   test -z "$as_dir" && as_dir=.
2312   for ac_exec_ext in '' $ac_executable_extensions; do
2313   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2314     ac_cv_prog_ac_ct_CC="$ac_prog"
2315     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2316     break 2
2317   fi
2318 done
2319 done
2320
2321 fi
2322 fi
2323 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2324 if test -n "$ac_ct_CC"; then
2325   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2326 echo "${ECHO_T}$ac_ct_CC" >&6
2327 else
2328   echo "$as_me:$LINENO: result: no" >&5
2329 echo "${ECHO_T}no" >&6
2330 fi
2331
2332   test -n "$ac_ct_CC" && break
2333 done
2334
2335   CC=$ac_ct_CC
2336 fi
2337
2338 fi
2339
2340
2341 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2342 See \`config.log' for more details." >&5
2343 echo "$as_me: error: no acceptable C compiler found in \$PATH
2344 See \`config.log' for more details." >&2;}
2345    { (exit 1); exit 1; }; }
2346
2347 # Provide some information about the compiler.
2348 echo "$as_me:$LINENO:" \
2349      "checking for C compiler version" >&5
2350 ac_compiler=`set X $ac_compile; echo $2`
2351 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2352   (eval $ac_compiler --version </dev/null >&5) 2>&5
2353   ac_status=$?
2354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355   (exit $ac_status); }
2356 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2357   (eval $ac_compiler -v </dev/null >&5) 2>&5
2358   ac_status=$?
2359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360   (exit $ac_status); }
2361 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2362   (eval $ac_compiler -V </dev/null >&5) 2>&5
2363   ac_status=$?
2364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365   (exit $ac_status); }
2366
2367 cat >conftest.$ac_ext <<_ACEOF
2368 /* confdefs.h.  */
2369 _ACEOF
2370 cat confdefs.h >>conftest.$ac_ext
2371 cat >>conftest.$ac_ext <<_ACEOF
2372 /* end confdefs.h.  */
2373
2374 int
2375 main ()
2376 {
2377
2378   ;
2379   return 0;
2380 }
2381 _ACEOF
2382 # FIXME: Cleanup?
2383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2384   (eval $ac_link) 2>&5
2385   ac_status=$?
2386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387   (exit $ac_status); }; then
2388   gcc_no_link=no
2389 else
2390   gcc_no_link=yes
2391 fi
2392
2393 if test x$gcc_no_link = xyes; then
2394   # Setting cross_compile will disable run tests; it will
2395   # also disable AC_CHECK_FILE but that's generally
2396   # correct if we can't link.
2397   cross_compiling=yes
2398   EXEEXT=
2399 else
2400   cat >conftest.$ac_ext <<_ACEOF
2401 /* confdefs.h.  */
2402 _ACEOF
2403 cat confdefs.h >>conftest.$ac_ext
2404 cat >>conftest.$ac_ext <<_ACEOF
2405 /* end confdefs.h.  */
2406
2407 int
2408 main ()
2409 {
2410
2411   ;
2412   return 0;
2413 }
2414 _ACEOF
2415 ac_clean_files_save=$ac_clean_files
2416 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2417 # Try to create an executable without -o first, disregard a.out.
2418 # It will help us diagnose broken compilers, and finding out an intuition
2419 # of exeext.
2420 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2421 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2422 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2423 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2424   (eval $ac_link_default) 2>&5
2425   ac_status=$?
2426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427   (exit $ac_status); }; then
2428   # Find the output, starting from the most likely.  This scheme is
2429 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2430 # resort.
2431
2432 # Be careful to initialize this variable, since it used to be cached.
2433 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2434 ac_cv_exeext=
2435 # b.out is created by i960 compilers.
2436 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2437 do
2438   test -f "$ac_file" || continue
2439   case $ac_file in
2440     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2441         ;;
2442     conftest.$ac_ext )
2443         # This is the source file.
2444         ;;
2445     [ab].out )
2446         # We found the default executable, but exeext='' is most
2447         # certainly right.
2448         break;;
2449     *.* )
2450         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2451         # FIXME: I believe we export ac_cv_exeext for Libtool,
2452         # but it would be cool to find out if it's true.  Does anybody
2453         # maintain Libtool? --akim.
2454         export ac_cv_exeext
2455         break;;
2456     * )
2457         break;;
2458   esac
2459 done
2460 else
2461   echo "$as_me: failed program was:" >&5
2462 sed 's/^/| /' conftest.$ac_ext >&5
2463
2464 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2465 See \`config.log' for more details." >&5
2466 echo "$as_me: error: C compiler cannot create executables
2467 See \`config.log' for more details." >&2;}
2468    { (exit 77); exit 77; }; }
2469 fi
2470
2471 ac_exeext=$ac_cv_exeext
2472 echo "$as_me:$LINENO: result: $ac_file" >&5
2473 echo "${ECHO_T}$ac_file" >&6
2474
2475 # Check the compiler produces executables we can run.  If not, either
2476 # the compiler is broken, or we cross compile.
2477 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2478 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2479 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2480 # If not cross compiling, check that we can run a simple program.
2481 if test "$cross_compiling" != yes; then
2482   if { ac_try='./$ac_file'
2483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2484   (eval $ac_try) 2>&5
2485   ac_status=$?
2486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487   (exit $ac_status); }; }; then
2488     cross_compiling=no
2489   else
2490     if test "$cross_compiling" = maybe; then
2491         cross_compiling=yes
2492     else
2493         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2494 If you meant to cross compile, use \`--host'.
2495 See \`config.log' for more details." >&5
2496 echo "$as_me: error: cannot run C compiled programs.
2497 If you meant to cross compile, use \`--host'.
2498 See \`config.log' for more details." >&2;}
2499    { (exit 1); exit 1; }; }
2500     fi
2501   fi
2502 fi
2503 echo "$as_me:$LINENO: result: yes" >&5
2504 echo "${ECHO_T}yes" >&6
2505
2506 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2507 ac_clean_files=$ac_clean_files_save
2508 # Check the compiler produces executables we can run.  If not, either
2509 # the compiler is broken, or we cross compile.
2510 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2511 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2512 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2513 echo "${ECHO_T}$cross_compiling" >&6
2514
2515 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2516 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2518   (eval $ac_link) 2>&5
2519   ac_status=$?
2520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521   (exit $ac_status); }; then
2522   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2523 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2524 # work properly (i.e., refer to `conftest.exe'), while it won't with
2525 # `rm'.
2526 for ac_file in conftest.exe conftest conftest.*; do
2527   test -f "$ac_file" || continue
2528   case $ac_file in
2529     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2530     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2531           export ac_cv_exeext
2532           break;;
2533     * ) break;;
2534   esac
2535 done
2536 else
2537   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2538 See \`config.log' for more details." >&5
2539 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2540 See \`config.log' for more details." >&2;}
2541    { (exit 1); exit 1; }; }
2542 fi
2543
2544 rm -f conftest$ac_cv_exeext
2545 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2546 echo "${ECHO_T}$ac_cv_exeext" >&6
2547
2548 rm -f conftest.$ac_ext
2549 EXEEXT=$ac_cv_exeext
2550 ac_exeext=$EXEEXT
2551 fi
2552 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2553 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2554 if test "${ac_cv_objext+set}" = set; then
2555   echo $ECHO_N "(cached) $ECHO_C" >&6
2556 else
2557   cat >conftest.$ac_ext <<_ACEOF
2558 /* confdefs.h.  */
2559 _ACEOF
2560 cat confdefs.h >>conftest.$ac_ext
2561 cat >>conftest.$ac_ext <<_ACEOF
2562 /* end confdefs.h.  */
2563
2564 int
2565 main ()
2566 {
2567
2568   ;
2569   return 0;
2570 }
2571 _ACEOF
2572 rm -f conftest.o conftest.obj
2573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2574   (eval $ac_compile) 2>&5
2575   ac_status=$?
2576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2577   (exit $ac_status); }; then
2578   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2579   case $ac_file in
2580     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2581     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2582        break;;
2583   esac
2584 done
2585 else
2586   echo "$as_me: failed program was:" >&5
2587 sed 's/^/| /' conftest.$ac_ext >&5
2588
2589 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2590 See \`config.log' for more details." >&5
2591 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2592 See \`config.log' for more details." >&2;}
2593    { (exit 1); exit 1; }; }
2594 fi
2595
2596 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2597 fi
2598 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2599 echo "${ECHO_T}$ac_cv_objext" >&6
2600 OBJEXT=$ac_cv_objext
2601 ac_objext=$OBJEXT
2602 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2603 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2604 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2605   echo $ECHO_N "(cached) $ECHO_C" >&6
2606 else
2607   cat >conftest.$ac_ext <<_ACEOF
2608 /* confdefs.h.  */
2609 _ACEOF
2610 cat confdefs.h >>conftest.$ac_ext
2611 cat >>conftest.$ac_ext <<_ACEOF
2612 /* end confdefs.h.  */
2613
2614 int
2615 main ()
2616 {
2617 #ifndef __GNUC__
2618        choke me
2619 #endif
2620
2621   ;
2622   return 0;
2623 }
2624 _ACEOF
2625 rm -f conftest.$ac_objext
2626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2627   (eval $ac_compile) 2>conftest.er1
2628   ac_status=$?
2629   grep -v '^ *+' conftest.er1 >conftest.err
2630   rm -f conftest.er1
2631   cat conftest.err >&5
2632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633   (exit $ac_status); } &&
2634          { ac_try='test -z "$ac_c_werror_flag"
2635                          || test ! -s conftest.err'
2636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2637   (eval $ac_try) 2>&5
2638   ac_status=$?
2639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640   (exit $ac_status); }; } &&
2641          { ac_try='test -s conftest.$ac_objext'
2642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2643   (eval $ac_try) 2>&5
2644   ac_status=$?
2645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646   (exit $ac_status); }; }; then
2647   ac_compiler_gnu=yes
2648 else
2649   echo "$as_me: failed program was:" >&5
2650 sed 's/^/| /' conftest.$ac_ext >&5
2651
2652 ac_compiler_gnu=no
2653 fi
2654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2655 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2656
2657 fi
2658 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2659 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2660 GCC=`test $ac_compiler_gnu = yes && echo yes`
2661 ac_test_CFLAGS=${CFLAGS+set}
2662 ac_save_CFLAGS=$CFLAGS
2663 CFLAGS="-g"
2664 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2665 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2666 if test "${ac_cv_prog_cc_g+set}" = set; then
2667   echo $ECHO_N "(cached) $ECHO_C" >&6
2668 else
2669   cat >conftest.$ac_ext <<_ACEOF
2670 /* confdefs.h.  */
2671 _ACEOF
2672 cat confdefs.h >>conftest.$ac_ext
2673 cat >>conftest.$ac_ext <<_ACEOF
2674 /* end confdefs.h.  */
2675
2676 int
2677 main ()
2678 {
2679
2680   ;
2681   return 0;
2682 }
2683 _ACEOF
2684 rm -f conftest.$ac_objext
2685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2686   (eval $ac_compile) 2>conftest.er1
2687   ac_status=$?
2688   grep -v '^ *+' conftest.er1 >conftest.err
2689   rm -f conftest.er1
2690   cat conftest.err >&5
2691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692   (exit $ac_status); } &&
2693          { ac_try='test -z "$ac_c_werror_flag"
2694                          || test ! -s conftest.err'
2695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2696   (eval $ac_try) 2>&5
2697   ac_status=$?
2698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699   (exit $ac_status); }; } &&
2700          { ac_try='test -s conftest.$ac_objext'
2701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2702   (eval $ac_try) 2>&5
2703   ac_status=$?
2704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705   (exit $ac_status); }; }; then
2706   ac_cv_prog_cc_g=yes
2707 else
2708   echo "$as_me: failed program was:" >&5
2709 sed 's/^/| /' conftest.$ac_ext >&5
2710
2711 ac_cv_prog_cc_g=no
2712 fi
2713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2714 fi
2715 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2716 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2717 if test "$ac_test_CFLAGS" = set; then
2718   CFLAGS=$ac_save_CFLAGS
2719 elif test $ac_cv_prog_cc_g = yes; then
2720   if test "$GCC" = yes; then
2721     CFLAGS="-g -O2"
2722   else
2723     CFLAGS="-g"
2724   fi
2725 else
2726   if test "$GCC" = yes; then
2727     CFLAGS="-O2"
2728   else
2729     CFLAGS=
2730   fi
2731 fi
2732 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2733 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2734 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2735   echo $ECHO_N "(cached) $ECHO_C" >&6
2736 else
2737   ac_cv_prog_cc_stdc=no
2738 ac_save_CC=$CC
2739 cat >conftest.$ac_ext <<_ACEOF
2740 /* confdefs.h.  */
2741 _ACEOF
2742 cat confdefs.h >>conftest.$ac_ext
2743 cat >>conftest.$ac_ext <<_ACEOF
2744 /* end confdefs.h.  */
2745 #include <stdarg.h>
2746 #include <stdio.h>
2747 #include <sys/types.h>
2748 #include <sys/stat.h>
2749 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2750 struct buf { int x; };
2751 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2752 static char *e (p, i)
2753      char **p;
2754      int i;
2755 {
2756   return p[i];
2757 }
2758 static char *f (char * (*g) (char **, int), char **p, ...)
2759 {
2760   char *s;
2761   va_list v;
2762   va_start (v,p);
2763   s = g (p, va_arg (v,int));
2764   va_end (v);
2765   return s;
2766 }
2767
2768 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2769    function prototypes and stuff, but not '\xHH' hex character constants.
2770    These don't provoke an error unfortunately, instead are silently treated
2771    as 'x'.  The following induces an error, until -std1 is added to get
2772    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2773    array size at least.  It's necessary to write '\x00'==0 to get something
2774    that's true only with -std1.  */
2775 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2776
2777 int test (int i, double x);
2778 struct s1 {int (*f) (int a);};
2779 struct s2 {int (*f) (double a);};
2780 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2781 int argc;
2782 char **argv;
2783 int
2784 main ()
2785 {
2786 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2787   ;
2788   return 0;
2789 }
2790 _ACEOF
2791 # Don't try gcc -ansi; that turns off useful extensions and
2792 # breaks some systems' header files.
2793 # AIX                   -qlanglvl=ansi
2794 # Ultrix and OSF/1      -std1
2795 # HP-UX 10.20 and later -Ae
2796 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2797 # SVR4                  -Xc -D__EXTENSIONS__
2798 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2799 do
2800   CC="$ac_save_CC $ac_arg"
2801   rm -f conftest.$ac_objext
2802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2803   (eval $ac_compile) 2>conftest.er1
2804   ac_status=$?
2805   grep -v '^ *+' conftest.er1 >conftest.err
2806   rm -f conftest.er1
2807   cat conftest.err >&5
2808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809   (exit $ac_status); } &&
2810          { ac_try='test -z "$ac_c_werror_flag"
2811                          || test ! -s conftest.err'
2812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2813   (eval $ac_try) 2>&5
2814   ac_status=$?
2815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2816   (exit $ac_status); }; } &&
2817          { ac_try='test -s conftest.$ac_objext'
2818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2819   (eval $ac_try) 2>&5
2820   ac_status=$?
2821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2822   (exit $ac_status); }; }; then
2823   ac_cv_prog_cc_stdc=$ac_arg
2824 break
2825 else
2826   echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2828
2829 fi
2830 rm -f conftest.err conftest.$ac_objext
2831 done
2832 rm -f conftest.$ac_ext conftest.$ac_objext
2833 CC=$ac_save_CC
2834
2835 fi
2836
2837 case "x$ac_cv_prog_cc_stdc" in
2838   x|xno)
2839     echo "$as_me:$LINENO: result: none needed" >&5
2840 echo "${ECHO_T}none needed" >&6 ;;
2841   *)
2842     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2843 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2844     CC="$CC $ac_cv_prog_cc_stdc" ;;
2845 esac
2846
2847 # Some people use a C++ compiler to compile C.  Since we use `exit',
2848 # in C++ we need to declare it.  In case someone uses the same compiler
2849 # for both compiling C and C++ we need to have the C++ compiler decide
2850 # the declaration of exit, since it's the most demanding environment.
2851 cat >conftest.$ac_ext <<_ACEOF
2852 #ifndef __cplusplus
2853   choke me
2854 #endif
2855 _ACEOF
2856 rm -f conftest.$ac_objext
2857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2858   (eval $ac_compile) 2>conftest.er1
2859   ac_status=$?
2860   grep -v '^ *+' conftest.er1 >conftest.err
2861   rm -f conftest.er1
2862   cat conftest.err >&5
2863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864   (exit $ac_status); } &&
2865          { ac_try='test -z "$ac_c_werror_flag"
2866                          || test ! -s conftest.err'
2867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2868   (eval $ac_try) 2>&5
2869   ac_status=$?
2870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871   (exit $ac_status); }; } &&
2872          { ac_try='test -s conftest.$ac_objext'
2873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2874   (eval $ac_try) 2>&5
2875   ac_status=$?
2876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877   (exit $ac_status); }; }; then
2878   for ac_declaration in \
2879    '' \
2880    'extern "C" void std::exit (int) throw (); using std::exit;' \
2881    'extern "C" void std::exit (int); using std::exit;' \
2882    'extern "C" void exit (int) throw ();' \
2883    'extern "C" void exit (int);' \
2884    'void exit (int);'
2885 do
2886   cat >conftest.$ac_ext <<_ACEOF
2887 /* confdefs.h.  */
2888 _ACEOF
2889 cat confdefs.h >>conftest.$ac_ext
2890 cat >>conftest.$ac_ext <<_ACEOF
2891 /* end confdefs.h.  */
2892 $ac_declaration
2893 #include <stdlib.h>
2894 int
2895 main ()
2896 {
2897 exit (42);
2898   ;
2899   return 0;
2900 }
2901 _ACEOF
2902 rm -f conftest.$ac_objext
2903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2904   (eval $ac_compile) 2>conftest.er1
2905   ac_status=$?
2906   grep -v '^ *+' conftest.er1 >conftest.err
2907   rm -f conftest.er1
2908   cat conftest.err >&5
2909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910   (exit $ac_status); } &&
2911          { ac_try='test -z "$ac_c_werror_flag"
2912                          || test ! -s conftest.err'
2913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2914   (eval $ac_try) 2>&5
2915   ac_status=$?
2916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917   (exit $ac_status); }; } &&
2918          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
2924   :
2925 else
2926   echo "$as_me: failed program was:" >&5
2927 sed 's/^/| /' conftest.$ac_ext >&5
2928
2929 continue
2930 fi
2931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2932   cat >conftest.$ac_ext <<_ACEOF
2933 /* confdefs.h.  */
2934 _ACEOF
2935 cat confdefs.h >>conftest.$ac_ext
2936 cat >>conftest.$ac_ext <<_ACEOF
2937 /* end confdefs.h.  */
2938 $ac_declaration
2939 int
2940 main ()
2941 {
2942 exit (42);
2943   ;
2944   return 0;
2945 }
2946 _ACEOF
2947 rm -f conftest.$ac_objext
2948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2949   (eval $ac_compile) 2>conftest.er1
2950   ac_status=$?
2951   grep -v '^ *+' conftest.er1 >conftest.err
2952   rm -f conftest.er1
2953   cat conftest.err >&5
2954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955   (exit $ac_status); } &&
2956          { ac_try='test -z "$ac_c_werror_flag"
2957                          || test ! -s conftest.err'
2958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2959   (eval $ac_try) 2>&5
2960   ac_status=$?
2961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962   (exit $ac_status); }; } &&
2963          { ac_try='test -s conftest.$ac_objext'
2964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2965   (eval $ac_try) 2>&5
2966   ac_status=$?
2967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968   (exit $ac_status); }; }; then
2969   break
2970 else
2971   echo "$as_me: failed program was:" >&5
2972 sed 's/^/| /' conftest.$ac_ext >&5
2973
2974 fi
2975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2976 done
2977 rm -f conftest*
2978 if test -n "$ac_declaration"; then
2979   echo '#ifdef __cplusplus' >>confdefs.h
2980   echo $ac_declaration      >>confdefs.h
2981   echo '#endif'             >>confdefs.h
2982 fi
2983
2984 else
2985   echo "$as_me: failed program was:" >&5
2986 sed 's/^/| /' conftest.$ac_ext >&5
2987
2988 fi
2989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2990 ac_ext=c
2991 ac_cpp='$CPP $CPPFLAGS'
2992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2995
2996   ac_ext=cc
2997 ac_cpp='$CXXCPP $CPPFLAGS'
2998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3001 if test -n "$ac_tool_prefix"; then
3002   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3003   do
3004     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3005 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3006 echo "$as_me:$LINENO: checking for $ac_word" >&5
3007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3008 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3009   echo $ECHO_N "(cached) $ECHO_C" >&6
3010 else
3011   if test -n "$CXX"; then
3012   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3013 else
3014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3015 for as_dir in $PATH
3016 do
3017   IFS=$as_save_IFS
3018   test -z "$as_dir" && as_dir=.
3019   for ac_exec_ext in '' $ac_executable_extensions; do
3020   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3021     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3022     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3023     break 2
3024   fi
3025 done
3026 done
3027
3028 fi
3029 fi
3030 CXX=$glibcxx_cv_prog_CXX
3031 if test -n "$CXX"; then
3032   echo "$as_me:$LINENO: result: $CXX" >&5
3033 echo "${ECHO_T}$CXX" >&6
3034 else
3035   echo "$as_me:$LINENO: result: no" >&5
3036 echo "${ECHO_T}no" >&6
3037 fi
3038
3039     test -n "$CXX" && break
3040   done
3041 fi
3042 if test -z "$CXX"; then
3043   ac_ct_CXX=$CXX
3044   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3045 do
3046   # Extract the first word of "$ac_prog", so it can be a program name with args.
3047 set dummy $ac_prog; ac_word=$2
3048 echo "$as_me:$LINENO: checking for $ac_word" >&5
3049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3050 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3051   echo $ECHO_N "(cached) $ECHO_C" >&6
3052 else
3053   if test -n "$ac_ct_CXX"; then
3054   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3055 else
3056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3057 for as_dir in $PATH
3058 do
3059   IFS=$as_save_IFS
3060   test -z "$as_dir" && as_dir=.
3061   for ac_exec_ext in '' $ac_executable_extensions; do
3062   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3063     ac_cv_prog_ac_ct_CXX="$ac_prog"
3064     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3065     break 2
3066   fi
3067 done
3068 done
3069
3070 fi
3071 fi
3072 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3073 if test -n "$ac_ct_CXX"; then
3074   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3075 echo "${ECHO_T}$ac_ct_CXX" >&6
3076 else
3077   echo "$as_me:$LINENO: result: no" >&5
3078 echo "${ECHO_T}no" >&6
3079 fi
3080
3081   test -n "$ac_ct_CXX" && break
3082 done
3083 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3084
3085   CXX=$ac_ct_CXX
3086 fi
3087
3088
3089 # Provide some information about the compiler.
3090 echo "$as_me:$LINENO:" \
3091      "checking for C++ compiler version" >&5
3092 ac_compiler=`set X $ac_compile; echo $2`
3093 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3094   (eval $ac_compiler --version </dev/null >&5) 2>&5
3095   ac_status=$?
3096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097   (exit $ac_status); }
3098 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3099   (eval $ac_compiler -v </dev/null >&5) 2>&5
3100   ac_status=$?
3101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102   (exit $ac_status); }
3103 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3104   (eval $ac_compiler -V </dev/null >&5) 2>&5
3105   ac_status=$?
3106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107   (exit $ac_status); }
3108
3109 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3110 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3111 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3112   echo $ECHO_N "(cached) $ECHO_C" >&6
3113 else
3114   cat >conftest.$ac_ext <<_ACEOF
3115 /* confdefs.h.  */
3116 _ACEOF
3117 cat confdefs.h >>conftest.$ac_ext
3118 cat >>conftest.$ac_ext <<_ACEOF
3119 /* end confdefs.h.  */
3120
3121 int
3122 main ()
3123 {
3124 #ifndef __GNUC__
3125        choke me
3126 #endif
3127
3128   ;
3129   return 0;
3130 }
3131 _ACEOF
3132 rm -f conftest.$ac_objext
3133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3134   (eval $ac_compile) 2>conftest.er1
3135   ac_status=$?
3136   grep -v '^ *+' conftest.er1 >conftest.err
3137   rm -f conftest.er1
3138   cat conftest.err >&5
3139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140   (exit $ac_status); } &&
3141          { ac_try='test -z "$ac_cxx_werror_flag"
3142                          || test ! -s conftest.err'
3143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3144   (eval $ac_try) 2>&5
3145   ac_status=$?
3146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147   (exit $ac_status); }; } &&
3148          { ac_try='test -s conftest.$ac_objext'
3149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3150   (eval $ac_try) 2>&5
3151   ac_status=$?
3152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153   (exit $ac_status); }; }; then
3154   ac_compiler_gnu=yes
3155 else
3156   echo "$as_me: failed program was:" >&5
3157 sed 's/^/| /' conftest.$ac_ext >&5
3158
3159 ac_compiler_gnu=no
3160 fi
3161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3162 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3163
3164 fi
3165 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3166 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3167 GXX=`test $ac_compiler_gnu = yes && echo yes`
3168 ac_test_CXXFLAGS=${CXXFLAGS+set}
3169 ac_save_CXXFLAGS=$CXXFLAGS
3170 CXXFLAGS="-g"
3171 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3172 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3173 if test "${ac_cv_prog_cxx_g+set}" = set; then
3174   echo $ECHO_N "(cached) $ECHO_C" >&6
3175 else
3176   cat >conftest.$ac_ext <<_ACEOF
3177 /* confdefs.h.  */
3178 _ACEOF
3179 cat confdefs.h >>conftest.$ac_ext
3180 cat >>conftest.$ac_ext <<_ACEOF
3181 /* end confdefs.h.  */
3182
3183 int
3184 main ()
3185 {
3186
3187   ;
3188   return 0;
3189 }
3190 _ACEOF
3191 rm -f conftest.$ac_objext
3192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3193   (eval $ac_compile) 2>conftest.er1
3194   ac_status=$?
3195   grep -v '^ *+' conftest.er1 >conftest.err
3196   rm -f conftest.er1
3197   cat conftest.err >&5
3198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199   (exit $ac_status); } &&
3200          { ac_try='test -z "$ac_cxx_werror_flag"
3201                          || test ! -s conftest.err'
3202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3203   (eval $ac_try) 2>&5
3204   ac_status=$?
3205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3206   (exit $ac_status); }; } &&
3207          { ac_try='test -s conftest.$ac_objext'
3208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3209   (eval $ac_try) 2>&5
3210   ac_status=$?
3211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212   (exit $ac_status); }; }; then
3213   ac_cv_prog_cxx_g=yes
3214 else
3215   echo "$as_me: failed program was:" >&5
3216 sed 's/^/| /' conftest.$ac_ext >&5
3217
3218 ac_cv_prog_cxx_g=no
3219 fi
3220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3221 fi
3222 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3223 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3224 if test "$ac_test_CXXFLAGS" = set; then
3225   CXXFLAGS=$ac_save_CXXFLAGS
3226 elif test $ac_cv_prog_cxx_g = yes; then
3227   if test "$GXX" = yes; then
3228     CXXFLAGS="-g -O2"
3229   else
3230     CXXFLAGS="-g"
3231   fi
3232 else
3233   if test "$GXX" = yes; then
3234     CXXFLAGS="-O2"
3235   else
3236     CXXFLAGS=
3237   fi
3238 fi
3239 for ac_declaration in \
3240    '' \
3241    'extern "C" void std::exit (int) throw (); using std::exit;' \
3242    'extern "C" void std::exit (int); using std::exit;' \
3243    'extern "C" void exit (int) throw ();' \
3244    'extern "C" void exit (int);' \
3245    'void exit (int);'
3246 do
3247   cat >conftest.$ac_ext <<_ACEOF
3248 /* confdefs.h.  */
3249 _ACEOF
3250 cat confdefs.h >>conftest.$ac_ext
3251 cat >>conftest.$ac_ext <<_ACEOF
3252 /* end confdefs.h.  */
3253 $ac_declaration
3254 #include <stdlib.h>
3255 int
3256 main ()
3257 {
3258 exit (42);
3259   ;
3260   return 0;
3261 }
3262 _ACEOF
3263 rm -f conftest.$ac_objext
3264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3265   (eval $ac_compile) 2>conftest.er1
3266   ac_status=$?
3267   grep -v '^ *+' conftest.er1 >conftest.err
3268   rm -f conftest.er1
3269   cat conftest.err >&5
3270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3271   (exit $ac_status); } &&
3272          { ac_try='test -z "$ac_cxx_werror_flag"
3273                          || test ! -s conftest.err'
3274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3275   (eval $ac_try) 2>&5
3276   ac_status=$?
3277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278   (exit $ac_status); }; } &&
3279          { ac_try='test -s conftest.$ac_objext'
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); }; }; then
3285   :
3286 else
3287   echo "$as_me: failed program was:" >&5
3288 sed 's/^/| /' conftest.$ac_ext >&5
3289
3290 continue
3291 fi
3292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3293   cat >conftest.$ac_ext <<_ACEOF
3294 /* confdefs.h.  */
3295 _ACEOF
3296 cat confdefs.h >>conftest.$ac_ext
3297 cat >>conftest.$ac_ext <<_ACEOF
3298 /* end confdefs.h.  */
3299 $ac_declaration
3300 int
3301 main ()
3302 {
3303 exit (42);
3304   ;
3305   return 0;
3306 }
3307 _ACEOF
3308 rm -f conftest.$ac_objext
3309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3310   (eval $ac_compile) 2>conftest.er1
3311   ac_status=$?
3312   grep -v '^ *+' conftest.er1 >conftest.err
3313   rm -f conftest.er1
3314   cat conftest.err >&5
3315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316   (exit $ac_status); } &&
3317          { ac_try='test -z "$ac_cxx_werror_flag"
3318                          || test ! -s conftest.err'
3319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3320   (eval $ac_try) 2>&5
3321   ac_status=$?
3322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323   (exit $ac_status); }; } &&
3324          { ac_try='test -s conftest.$ac_objext'
3325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3326   (eval $ac_try) 2>&5
3327   ac_status=$?
3328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3329   (exit $ac_status); }; }; then
3330   break
3331 else
3332   echo "$as_me: failed program was:" >&5
3333 sed 's/^/| /' conftest.$ac_ext >&5
3334
3335 fi
3336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3337 done
3338 rm -f conftest*
3339 if test -n "$ac_declaration"; then
3340   echo '#ifdef __cplusplus' >>confdefs.h
3341   echo $ac_declaration      >>confdefs.h
3342   echo '#endif'             >>confdefs.h
3343 fi
3344
3345 ac_ext=c
3346 ac_cpp='$CPP $CPPFLAGS'
3347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3350
3351   CXXFLAGS="$save_CXXFLAGS"
3352
3353
3354
3355
3356   # For directory versioning (e.g., headers) and other variables.
3357   echo "$as_me:$LINENO: checking for GCC version number" >&5
3358 echo $ECHO_N "checking for GCC version number... $ECHO_C" >&6
3359   gcc_version=`$CXX -dumpversion`
3360   echo "$as_me:$LINENO: result: $gcc_version" >&5
3361 echo "${ECHO_T}$gcc_version" >&6
3362
3363   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3364   # available).  Uncomment the next line to force a particular method.
3365   echo "$as_me:$LINENO: checking whether ln -s works" >&5
3366 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3367 LN_S=$as_ln_s
3368 if test "$LN_S" = "ln -s"; then
3369   echo "$as_me:$LINENO: result: yes" >&5
3370 echo "${ECHO_T}yes" >&6
3371 else
3372   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3373 echo "${ECHO_T}no, using $LN_S" >&6
3374 fi
3375
3376   #LN_S='cp -p'
3377
3378   if test -n "$ac_tool_prefix"; then
3379   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3380 set dummy ${ac_tool_prefix}as; ac_word=$2
3381 echo "$as_me:$LINENO: checking for $ac_word" >&5
3382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3383 if test "${ac_cv_prog_AS+set}" = set; then
3384   echo $ECHO_N "(cached) $ECHO_C" >&6
3385 else
3386   if test -n "$AS"; then
3387   ac_cv_prog_AS="$AS" # Let the user override the test.
3388 else
3389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3390 for as_dir in $PATH
3391 do
3392   IFS=$as_save_IFS
3393   test -z "$as_dir" && as_dir=.
3394   for ac_exec_ext in '' $ac_executable_extensions; do
3395   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3396     ac_cv_prog_AS="${ac_tool_prefix}as"
3397     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3398     break 2
3399   fi
3400 done
3401 done
3402
3403 fi
3404 fi
3405 AS=$ac_cv_prog_AS
3406 if test -n "$AS"; then
3407   echo "$as_me:$LINENO: result: $AS" >&5
3408 echo "${ECHO_T}$AS" >&6
3409 else
3410   echo "$as_me:$LINENO: result: no" >&5
3411 echo "${ECHO_T}no" >&6
3412 fi
3413
3414 fi
3415 if test -z "$ac_cv_prog_AS"; then
3416   ac_ct_AS=$AS
3417   # Extract the first word of "as", so it can be a program name with args.
3418 set dummy as; ac_word=$2
3419 echo "$as_me:$LINENO: checking for $ac_word" >&5
3420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3421 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3422   echo $ECHO_N "(cached) $ECHO_C" >&6
3423 else
3424   if test -n "$ac_ct_AS"; then
3425   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3426 else
3427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3428 for as_dir in $PATH
3429 do
3430   IFS=$as_save_IFS
3431   test -z "$as_dir" && as_dir=.
3432   for ac_exec_ext in '' $ac_executable_extensions; do
3433   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3434     ac_cv_prog_ac_ct_AS="as"
3435     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3436     break 2
3437   fi
3438 done
3439 done
3440
3441 fi
3442 fi
3443 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3444 if test -n "$ac_ct_AS"; then
3445   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3446 echo "${ECHO_T}$ac_ct_AS" >&6
3447 else
3448   echo "$as_me:$LINENO: result: no" >&5
3449 echo "${ECHO_T}no" >&6
3450 fi
3451
3452   AS=$ac_ct_AS
3453 else
3454   AS="$ac_cv_prog_AS"
3455 fi
3456
3457   if test -n "$ac_tool_prefix"; then
3458   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3459 set dummy ${ac_tool_prefix}ar; ac_word=$2
3460 echo "$as_me:$LINENO: checking for $ac_word" >&5
3461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3462 if test "${ac_cv_prog_AR+set}" = set; then
3463   echo $ECHO_N "(cached) $ECHO_C" >&6
3464 else
3465   if test -n "$AR"; then
3466   ac_cv_prog_AR="$AR" # Let the user override the test.
3467 else
3468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3469 for as_dir in $PATH
3470 do
3471   IFS=$as_save_IFS
3472   test -z "$as_dir" && as_dir=.
3473   for ac_exec_ext in '' $ac_executable_extensions; do
3474   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3475     ac_cv_prog_AR="${ac_tool_prefix}ar"
3476     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3477     break 2
3478   fi
3479 done
3480 done
3481
3482 fi
3483 fi
3484 AR=$ac_cv_prog_AR
3485 if test -n "$AR"; then
3486   echo "$as_me:$LINENO: result: $AR" >&5
3487 echo "${ECHO_T}$AR" >&6
3488 else
3489   echo "$as_me:$LINENO: result: no" >&5
3490 echo "${ECHO_T}no" >&6
3491 fi
3492
3493 fi
3494 if test -z "$ac_cv_prog_AR"; then
3495   ac_ct_AR=$AR
3496   # Extract the first word of "ar", so it can be a program name with args.
3497 set dummy ar; ac_word=$2
3498 echo "$as_me:$LINENO: checking for $ac_word" >&5
3499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3500 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3501   echo $ECHO_N "(cached) $ECHO_C" >&6
3502 else
3503   if test -n "$ac_ct_AR"; then
3504   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3505 else
3506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3507 for as_dir in $PATH
3508 do
3509   IFS=$as_save_IFS
3510   test -z "$as_dir" && as_dir=.
3511   for ac_exec_ext in '' $ac_executable_extensions; do
3512   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3513     ac_cv_prog_ac_ct_AR="ar"
3514     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3515     break 2
3516   fi
3517 done
3518 done
3519
3520 fi
3521 fi
3522 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3523 if test -n "$ac_ct_AR"; then
3524   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3525 echo "${ECHO_T}$ac_ct_AR" >&6
3526 else
3527   echo "$as_me:$LINENO: result: no" >&5
3528 echo "${ECHO_T}no" >&6
3529 fi
3530
3531   AR=$ac_ct_AR
3532 else
3533   AR="$ac_cv_prog_AR"
3534 fi
3535
3536   if test -n "$ac_tool_prefix"; then
3537   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3538 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3539 echo "$as_me:$LINENO: checking for $ac_word" >&5
3540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3541 if test "${ac_cv_prog_RANLIB+set}" = set; then
3542   echo $ECHO_N "(cached) $ECHO_C" >&6
3543 else
3544   if test -n "$RANLIB"; then
3545   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3546 else
3547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3548 for as_dir in $PATH
3549 do
3550   IFS=$as_save_IFS
3551   test -z "$as_dir" && as_dir=.
3552   for ac_exec_ext in '' $ac_executable_extensions; do
3553   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3554     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3555     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3556     break 2
3557   fi
3558 done
3559 done
3560
3561 fi
3562 fi
3563 RANLIB=$ac_cv_prog_RANLIB
3564 if test -n "$RANLIB"; then
3565   echo "$as_me:$LINENO: result: $RANLIB" >&5
3566 echo "${ECHO_T}$RANLIB" >&6
3567 else
3568   echo "$as_me:$LINENO: result: no" >&5
3569 echo "${ECHO_T}no" >&6
3570 fi
3571
3572 fi
3573 if test -z "$ac_cv_prog_RANLIB"; then
3574   ac_ct_RANLIB=$RANLIB
3575   # Extract the first word of "ranlib", so it can be a program name with args.
3576 set dummy ranlib; ac_word=$2
3577 echo "$as_me:$LINENO: checking for $ac_word" >&5
3578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3579 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3580   echo $ECHO_N "(cached) $ECHO_C" >&6
3581 else
3582   if test -n "$ac_ct_RANLIB"; then
3583   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3584 else
3585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3586 for as_dir in $PATH
3587 do
3588   IFS=$as_save_IFS
3589   test -z "$as_dir" && as_dir=.
3590   for ac_exec_ext in '' $ac_executable_extensions; do
3591   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3592     ac_cv_prog_ac_ct_RANLIB="ranlib"
3593     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3594     break 2
3595   fi
3596 done
3597 done
3598
3599   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3600 fi
3601 fi
3602 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3603 if test -n "$ac_ct_RANLIB"; then
3604   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3605 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3606 else
3607   echo "$as_me:$LINENO: result: no" >&5
3608 echo "${ECHO_T}no" >&6
3609 fi
3610
3611   RANLIB=$ac_ct_RANLIB
3612 else
3613   RANLIB="$ac_cv_prog_RANLIB"
3614 fi
3615
3616
3617   echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3618 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3619     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3620 if test "${enable_maintainer_mode+set}" = set; then
3621   enableval="$enable_maintainer_mode"
3622   USE_MAINTAINER_MODE=$enableval
3623 else
3624   USE_MAINTAINER_MODE=no
3625 fi;
3626   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3627 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3628
3629
3630 if test $USE_MAINTAINER_MODE = yes; then
3631   MAINTAINER_MODE_TRUE=
3632   MAINTAINER_MODE_FALSE='#'
3633 else
3634   MAINTAINER_MODE_TRUE='#'
3635   MAINTAINER_MODE_FALSE=
3636 fi
3637
3638   MAINT=$MAINTAINER_MODE_TRUE
3639
3640
3641
3642   # Set up safe default values for all subsequent AM_CONDITIONAL tests
3643   # which are themselves conditionally expanded.
3644   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3645   ## other macros from doing the same.  This should be automated.)  -pme
3646   need_libmath=no
3647   enable_wchar_t=no
3648   #enable_libstdcxx_debug=no
3649   #enable_libstdcxx_pch=no
3650   #enable_cheaders=c
3651   #c_compatibility=no
3652   #enable_abi_check=no
3653   #enable_symvers=no
3654   #enable_hosted_libstdcxx=yes
3655
3656   # Find platform-specific directories containing configuration info.
3657   # Also possibly modify flags used elsewhere, as needed by the platform.
3658
3659   . $glibcxx_srcdir/configure.host
3660   { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3661 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3662   { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3663 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3664
3665
3666
3667 #AC_MSG_NOTICE([====== Starting libtool configuration])
3668
3669 # Check whether --enable-shared or --disable-shared was given.
3670 if test "${enable_shared+set}" = set; then
3671   enableval="$enable_shared"
3672   p=${PACKAGE-default}
3673 case $enableval in
3674 yes) enable_shared=yes ;;
3675 no) enable_shared=no ;;
3676 *)
3677   enable_shared=no
3678   # Look at the argument we got.  We use all the common list separators.
3679   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3680   for pkg in $enableval; do
3681     if test "X$pkg" = "X$p"; then
3682       enable_shared=yes
3683     fi
3684   done
3685   IFS="$ac_save_ifs"
3686   ;;
3687 esac
3688 else
3689   enable_shared=yes
3690 fi;
3691 # Check whether --enable-static or --disable-static was given.
3692 if test "${enable_static+set}" = set; then
3693   enableval="$enable_static"
3694   p=${PACKAGE-default}
3695 case $enableval in
3696 yes) enable_static=yes ;;
3697 no) enable_static=no ;;
3698 *)
3699   enable_static=no
3700   # Look at the argument we got.  We use all the common list separators.
3701   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3702   for pkg in $enableval; do
3703     if test "X$pkg" = "X$p"; then
3704       enable_static=yes
3705     fi
3706   done
3707   IFS="$ac_save_ifs"
3708   ;;
3709 esac
3710 else
3711   enable_static=yes
3712 fi;
3713 # Check whether --enable-fast-install or --disable-fast-install was given.
3714 if test "${enable_fast_install+set}" = set; then
3715   enableval="$enable_fast_install"
3716   p=${PACKAGE-default}
3717 case $enableval in
3718 yes) enable_fast_install=yes ;;
3719 no) enable_fast_install=no ;;
3720 *)
3721   enable_fast_install=no
3722   # Look at the argument we got.  We use all the common list separators.
3723   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3724   for pkg in $enableval; do
3725     if test "X$pkg" = "X$p"; then
3726       enable_fast_install=yes
3727     fi
3728   done
3729   IFS="$ac_save_ifs"
3730   ;;
3731 esac
3732 else
3733   enable_fast_install=yes
3734 fi;
3735
3736 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3737 if test "${with_gnu_ld+set}" = set; then
3738   withval="$with_gnu_ld"
3739   test "$withval" = no || with_gnu_ld=yes
3740 else
3741   with_gnu_ld=no
3742 fi;
3743 ac_prog=ld
3744 if test "$GCC" = yes; then
3745   # Check if gcc -print-prog-name=ld gives a path.
3746   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3747 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3748   case $host in
3749   *-*-mingw*)
3750     # gcc leaves a trailing carriage return which upsets mingw
3751     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3752   *)
3753     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3754   esac
3755   case $ac_prog in
3756     # Accept absolute paths.
3757     [\\/]* | [A-Za-z]:[\\/]*)
3758       re_direlt='/[^/][^/]*/\.\./'
3759       # Canonicalize the path of ld
3760       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3761       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3762         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3763       done
3764       test -z "$LD" && LD="$ac_prog"
3765       ;;
3766   "")
3767     # If it fails, then pretend we aren't using GCC.
3768     ac_prog=ld
3769     ;;
3770   *)
3771     # If it is relative, then search for the first ld in PATH.
3772     with_gnu_ld=unknown
3773     ;;
3774   esac
3775 elif test "$with_gnu_ld" = yes; then
3776   echo "$as_me:$LINENO: checking for GNU ld" >&5
3777 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3778 else
3779   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3780 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3781 fi
3782 if test "${lt_cv_path_LD+set}" = set; then
3783   echo $ECHO_N "(cached) $ECHO_C" >&6
3784 else
3785   if test -z "$LD"; then
3786   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3787   for ac_dir in $PATH; do
3788     test -z "$ac_dir" && ac_dir=.
3789     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3790       lt_cv_path_LD="$ac_dir/$ac_prog"
3791       # Check to see if the program is GNU ld.  I'd rather use --version,
3792       # but apparently some GNU ld's only accept -v.
3793       # Break only if it was the GNU/non-GNU ld that we prefer.
3794       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3795         test "$with_gnu_ld" != no && break
3796       else
3797         test "$with_gnu_ld" != yes && break
3798       fi
3799     fi
3800   done
3801   IFS="$ac_save_ifs"
3802 else
3803   lt_cv_path_LD="$LD" # Let the user override the test with a path.
3804 fi
3805 fi
3806
3807 LD="$lt_cv_path_LD"
3808 if test -n "$LD"; then
3809   echo "$as_me:$LINENO: result: $LD" >&5
3810 echo "${ECHO_T}$LD" >&6
3811 else
3812   echo "$as_me:$LINENO: result: no" >&5
3813 echo "${ECHO_T}no" >&6
3814 fi
3815 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3816 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3817    { (exit 1); exit 1; }; }
3818 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3819 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3820 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3821   echo $ECHO_N "(cached) $ECHO_C" >&6
3822 else
3823   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3824 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3825   lt_cv_prog_gnu_ld=yes
3826 else
3827   lt_cv_prog_gnu_ld=no
3828 fi
3829 fi
3830 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3831 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3832 with_gnu_ld=$lt_cv_prog_gnu_ld
3833
3834
3835 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3836 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3837 if test "${lt_cv_ld_reload_flag+set}" = set; then
3838   echo $ECHO_N "(cached) $ECHO_C" >&6
3839 else
3840   lt_cv_ld_reload_flag='-r'
3841 fi
3842 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3843 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3844 reload_flag=$lt_cv_ld_reload_flag
3845 test -n "$reload_flag" && reload_flag=" $reload_flag"
3846
3847 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3848 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3849 if test "${lt_cv_path_NM+set}" = set; then
3850   echo $ECHO_N "(cached) $ECHO_C" >&6
3851 else
3852   if test -n "$NM"; then
3853   # Let the user override the test.
3854   lt_cv_path_NM="$NM"
3855 else
3856   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3857   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3858     test -z "$ac_dir" && ac_dir=.
3859     tmp_nm=$ac_dir/${ac_tool_prefix}nm
3860     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3861       # Check to see if the nm accepts a BSD-compat flag.
3862       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3863       #   nm: unknown option "B" ignored
3864       # Tru64's nm complains that /dev/null is an invalid object file
3865       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3866         lt_cv_path_NM="$tmp_nm -B"
3867         break
3868       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3869         lt_cv_path_NM="$tmp_nm -p"
3870         break
3871       else
3872         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3873         continue # so that we can try to find one that supports BSD flags
3874       fi
3875     fi
3876   done
3877   IFS="$ac_save_ifs"
3878   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3879 fi
3880 fi
3881
3882 NM="$lt_cv_path_NM"
3883 echo "$as_me:$LINENO: result: $NM" >&5
3884 echo "${ECHO_T}$NM" >&6
3885
3886 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3887 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3888 if test "${lt_cv_deplibs_check_method+set}" = set; then
3889   echo $ECHO_N "(cached) $ECHO_C" >&6
3890 else
3891   lt_cv_file_magic_cmd='$MAGIC_CMD'
3892 lt_cv_file_magic_test_file=
3893 lt_cv_deplibs_check_method='unknown'
3894 # Need to set the preceding variable on all platforms that support
3895 # interlibrary dependencies.
3896 # 'none' -- dependencies not supported.
3897 # `unknown' -- same as none, but documents that we really don't know.
3898 # 'pass_all' -- all dependencies passed with no checks.
3899 # 'test_compile' -- check by making test program.
3900 # 'file_magic [regex]' -- check by looking for files in library path
3901 # which responds to the $file_magic_cmd with a given egrep regex.
3902 # If you have `file' or equivalent on your system and you're not sure
3903 # whether `pass_all' will *always* work, you probably want this one.
3904
3905 case $host_os in
3906 aix*)
3907   lt_cv_deplibs_check_method=pass_all
3908   ;;
3909
3910 beos*)
3911   lt_cv_deplibs_check_method=pass_all
3912   ;;
3913
3914 bsdi4*)
3915   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3916   lt_cv_file_magic_cmd='/usr/bin/file -L'
3917   lt_cv_file_magic_test_file=/shlib/libc.so
3918   ;;
3919
3920 cygwin* | mingw* |pw32*)
3921   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3922   lt_cv_file_magic_cmd='$OBJDUMP -f'
3923   ;;
3924
3925 darwin* | rhapsody*)
3926   # this will be overwritten by pass_all, but leave it in just in case
3927   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3928   lt_cv_file_magic_cmd='/usr/bin/file -L'
3929   case "$host_os" in
3930   rhapsody* | darwin1.012)
3931     lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3932     ;;
3933   *) # Darwin 1.3 on
3934     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3935     ;;
3936   esac
3937   lt_cv_deplibs_check_method=pass_all
3938   ;;
3939
3940 freebsd* | kfreebsd*-gnu)
3941   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3942     case $host_cpu in
3943     i*86 )
3944       # Not sure whether the presence of OpenBSD here was a mistake.
3945       # Let's accept both of them until this is cleared up.
3946       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3947       lt_cv_file_magic_cmd=/usr/bin/file
3948       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3949       ;;
3950     esac
3951   else
3952     lt_cv_deplibs_check_method=pass_all
3953   fi
3954   ;;
3955
3956 gnu*)
3957   lt_cv_deplibs_check_method=pass_all
3958   ;;
3959
3960 hpux10.20*|hpux11*)
3961   case $host_cpu in
3962   hppa*)
3963     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3964     lt_cv_file_magic_cmd=/usr/bin/file
3965     lt_cv_file_magic_test_file=/usr/lib/libc.sl
3966     ;;
3967   ia64*)
3968     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3969     lt_cv_file_magic_cmd=/usr/bin/file
3970     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3971     ;;
3972   esac
3973   ;;
3974
3975 irix5* | irix6*)
3976   case $host_os in
3977   irix5*)
3978     # this will be overridden with pass_all, but let us keep it just in case
3979     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3980     ;;
3981   *)
3982     case $LD in
3983     *-32|*"-32 ") libmagic=32-bit;;
3984     *-n32|*"-n32 ") libmagic=N32;;
3985     *-64|*"-64 ") libmagic=64-bit;;
3986     *) libmagic=never-match;;
3987     esac
3988     # this will be overridden with pass_all, but let us keep it just in case
3989     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3990     ;;
3991   esac
3992   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3993   lt_cv_deplibs_check_method=pass_all
3994   ;;
3995
3996 # This must be Linux ELF.
3997 linux-gnu*)
3998   case $host_cpu in
3999   alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
4000     lt_cv_deplibs_check_method=pass_all ;;
4001   *)
4002     # glibc up to 2.1.1 does not perform some relocations on ARM
4003     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4004   esac
4005   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4006   ;;
4007
4008 netbsd* | knetbsd*-gnu)
4009   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4010     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4011   else
4012     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4013   fi
4014   ;;
4015
4016 newsos6)
4017   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4018   lt_cv_file_magic_cmd=/usr/bin/file
4019   lt_cv_file_magic_test_file=/usr/lib/libnls.so
4020   ;;
4021
4022 osf3* | osf4* | osf5*)
4023   # this will be overridden with pass_all, but let us keep it just in case
4024   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4025   lt_cv_file_magic_test_file=/shlib/libc.so
4026   lt_cv_deplibs_check_method=pass_all
4027   ;;
4028
4029 sco3.2v5*)
4030   lt_cv_deplibs_check_method=pass_all
4031   ;;
4032
4033 solaris*)
4034   lt_cv_deplibs_check_method=pass_all
4035   lt_cv_file_magic_test_file=/lib/libc.so
4036   ;;
4037
4038 sysv5uw[78]* | sysv4*uw2*)
4039   lt_cv_deplibs_check_method=pass_all
4040   ;;
4041
4042 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4043   case $host_vendor in
4044   ncr)
4045     lt_cv_deplibs_check_method=pass_all
4046     ;;
4047   motorola)
4048     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]'
4049     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4050     ;;
4051   esac
4052   ;;
4053 esac
4054
4055 fi
4056 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4057 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4058 file_magic_cmd=$lt_cv_file_magic_cmd
4059 deplibs_check_method=$lt_cv_deplibs_check_method
4060
4061
4062
4063
4064
4065 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4066
4067 # Only perform the check for file, if the check method requires it
4068 case $deplibs_check_method in
4069 file_magic*)
4070   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4071     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4072 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4073 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4074   echo $ECHO_N "(cached) $ECHO_C" >&6
4075 else
4076   case $MAGIC_CMD in
4077   /*)
4078   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4079   ;;
4080   ?:/*)
4081   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4082   ;;
4083   *)
4084   ac_save_MAGIC_CMD="$MAGIC_CMD"
4085   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4086   ac_dummy="/usr/bin:$PATH"
4087   for ac_dir in $ac_dummy; do
4088     test -z "$ac_dir" && ac_dir=.
4089     if test -f $ac_dir/${ac_tool_prefix}file; then
4090       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4091       if test -n "$file_magic_test_file"; then
4092         case $deplibs_check_method in
4093         "file_magic "*)
4094           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4095           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4096           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4097             egrep "$file_magic_regex" > /dev/null; then
4098             :
4099           else
4100             cat <<EOF 1>&2
4101
4102 *** Warning: the command libtool uses to detect shared libraries,
4103 *** $file_magic_cmd, produces output that libtool cannot recognize.
4104 *** The result is that libtool may fail to recognize shared libraries
4105 *** as such.  This will affect the creation of libtool libraries that
4106 *** depend on shared libraries, but programs linked with such libtool
4107 *** libraries will work regardless of this problem.  Nevertheless, you
4108 *** may want to report the problem to your system manager and/or to
4109 *** bug-libtool@gnu.org
4110
4111 EOF
4112           fi ;;
4113         esac
4114       fi
4115       break
4116     fi
4117   done
4118   IFS="$ac_save_ifs"
4119   MAGIC_CMD="$ac_save_MAGIC_CMD"
4120   ;;
4121 esac
4122 fi
4123
4124 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4125 if test -n "$MAGIC_CMD"; then
4126   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4127 echo "${ECHO_T}$MAGIC_CMD" >&6
4128 else
4129   echo "$as_me:$LINENO: result: no" >&5
4130 echo "${ECHO_T}no" >&6
4131 fi
4132
4133 if test -z "$lt_cv_path_MAGIC_CMD"; then
4134   if test -n "$ac_tool_prefix"; then
4135     echo "$as_me:$LINENO: checking for file" >&5
4136 echo $ECHO_N "checking for file... $ECHO_C" >&6
4137 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4138   echo $ECHO_N "(cached) $ECHO_C" >&6
4139 else
4140   case $MAGIC_CMD in
4141   /*)
4142   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4143   ;;
4144   ?:/*)
4145   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4146   ;;
4147   *)
4148   ac_save_MAGIC_CMD="$MAGIC_CMD"
4149   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4150   ac_dummy="/usr/bin:$PATH"
4151   for ac_dir in $ac_dummy; do
4152     test -z "$ac_dir" && ac_dir=.
4153     if test -f $ac_dir/file; then
4154       lt_cv_path_MAGIC_CMD="$ac_dir/file"
4155       if test -n "$file_magic_test_file"; then
4156         case $deplibs_check_method in
4157         "file_magic "*)
4158           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4159           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4160           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4161             egrep "$file_magic_regex" > /dev/null; then
4162             :
4163           else
4164             cat <<EOF 1>&2
4165
4166 *** Warning: the command libtool uses to detect shared libraries,
4167 *** $file_magic_cmd, produces output that libtool cannot recognize.
4168 *** The result is that libtool may fail to recognize shared libraries
4169 *** as such.  This will affect the creation of libtool libraries that
4170 *** depend on shared libraries, but programs linked with such libtool
4171 *** libraries will work regardless of this problem.  Nevertheless, you
4172 *** may want to report the problem to your system manager and/or to
4173 *** bug-libtool@gnu.org
4174
4175 EOF
4176           fi ;;
4177         esac
4178       fi
4179       break
4180     fi
4181   done
4182   IFS="$ac_save_ifs"
4183   MAGIC_CMD="$ac_save_MAGIC_CMD"
4184   ;;
4185 esac
4186 fi
4187
4188 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4189 if test -n "$MAGIC_CMD"; then
4190   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4191 echo "${ECHO_T}$MAGIC_CMD" >&6
4192 else
4193   echo "$as_me:$LINENO: result: no" >&5
4194 echo "${ECHO_T}no" >&6
4195 fi
4196
4197   else
4198     MAGIC_CMD=:
4199   fi
4200 fi
4201
4202   fi
4203   ;;
4204 esac
4205
4206 if test -n "$ac_tool_prefix"; then
4207   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4208 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4209 echo "$as_me:$LINENO: checking for $ac_word" >&5
4210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4211 if test "${ac_cv_prog_RANLIB+set}" = set; then
4212   echo $ECHO_N "(cached) $ECHO_C" >&6
4213 else
4214   if test -n "$RANLIB"; then
4215   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4216 else
4217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4218 for as_dir in $PATH
4219 do
4220   IFS=$as_save_IFS
4221   test -z "$as_dir" && as_dir=.
4222   for ac_exec_ext in '' $ac_executable_extensions; do
4223   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4224     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4225     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4226     break 2
4227   fi
4228 done
4229 done
4230
4231 fi
4232 fi
4233 RANLIB=$ac_cv_prog_RANLIB
4234 if test -n "$RANLIB"; then
4235   echo "$as_me:$LINENO: result: $RANLIB" >&5
4236 echo "${ECHO_T}$RANLIB" >&6
4237 else
4238   echo "$as_me:$LINENO: result: no" >&5
4239 echo "${ECHO_T}no" >&6
4240 fi
4241
4242 fi
4243 if test -z "$ac_cv_prog_RANLIB"; then
4244   ac_ct_RANLIB=$RANLIB
4245   # Extract the first word of "ranlib", so it can be a program name with args.
4246 set dummy ranlib; ac_word=$2
4247 echo "$as_me:$LINENO: checking for $ac_word" >&5
4248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4249 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4250   echo $ECHO_N "(cached) $ECHO_C" >&6
4251 else
4252   if test -n "$ac_ct_RANLIB"; then
4253   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4254 else
4255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4256 for as_dir in $PATH
4257 do
4258   IFS=$as_save_IFS
4259   test -z "$as_dir" && as_dir=.
4260   for ac_exec_ext in '' $ac_executable_extensions; do
4261   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4262     ac_cv_prog_ac_ct_RANLIB="ranlib"
4263     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4264     break 2
4265   fi
4266 done
4267 done
4268
4269   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4270 fi
4271 fi
4272 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4273 if test -n "$ac_ct_RANLIB"; then
4274   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4275 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4276 else
4277   echo "$as_me:$LINENO: result: no" >&5
4278 echo "${ECHO_T}no" >&6
4279 fi
4280
4281   RANLIB=$ac_ct_RANLIB
4282 else
4283   RANLIB="$ac_cv_prog_RANLIB"
4284 fi
4285
4286 if test -n "$ac_tool_prefix"; then
4287   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4288 set dummy ${ac_tool_prefix}strip; ac_word=$2
4289 echo "$as_me:$LINENO: checking for $ac_word" >&5
4290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4291 if test "${ac_cv_prog_STRIP+set}" = set; then
4292   echo $ECHO_N "(cached) $ECHO_C" >&6
4293 else
4294   if test -n "$STRIP"; then
4295   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4296 else
4297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4298 for as_dir in $PATH
4299 do
4300   IFS=$as_save_IFS
4301   test -z "$as_dir" && as_dir=.
4302   for ac_exec_ext in '' $ac_executable_extensions; do
4303   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4304     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4305     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4306     break 2
4307   fi
4308 done
4309 done
4310
4311 fi
4312 fi
4313 STRIP=$ac_cv_prog_STRIP
4314 if test -n "$STRIP"; then
4315   echo "$as_me:$LINENO: result: $STRIP" >&5
4316 echo "${ECHO_T}$STRIP" >&6
4317 else
4318   echo "$as_me:$LINENO: result: no" >&5
4319 echo "${ECHO_T}no" >&6
4320 fi
4321
4322 fi
4323 if test -z "$ac_cv_prog_STRIP"; then
4324   ac_ct_STRIP=$STRIP
4325   # Extract the first word of "strip", so it can be a program name with args.
4326 set dummy strip; ac_word=$2
4327 echo "$as_me:$LINENO: checking for $ac_word" >&5
4328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4329 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4330   echo $ECHO_N "(cached) $ECHO_C" >&6
4331 else
4332   if test -n "$ac_ct_STRIP"; then
4333   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4334 else
4335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4336 for as_dir in $PATH
4337 do
4338   IFS=$as_save_IFS
4339   test -z "$as_dir" && as_dir=.
4340   for ac_exec_ext in '' $ac_executable_extensions; do
4341   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4342     ac_cv_prog_ac_ct_STRIP="strip"
4343     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4344     break 2
4345   fi
4346 done
4347 done
4348
4349   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4350 fi
4351 fi
4352 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4353 if test -n "$ac_ct_STRIP"; then
4354   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4355 echo "${ECHO_T}$ac_ct_STRIP" >&6
4356 else
4357   echo "$as_me:$LINENO: result: no" >&5
4358 echo "${ECHO_T}no" >&6
4359 fi
4360
4361   STRIP=$ac_ct_STRIP
4362 else
4363   STRIP="$ac_cv_prog_STRIP"
4364 fi
4365
4366
4367 # Check for any special flags to pass to ltconfig.
4368 libtool_flags="--cache-file=$cache_file"
4369 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4370 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4371 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4372 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4373 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4374
4375
4376 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4377 if test "${enable_libtool_lock+set}" = set; then
4378   enableval="$enable_libtool_lock"
4379
4380 fi;
4381 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4382 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4383
4384
4385 # Check whether --with-pic or --without-pic was given.
4386 if test "${with_pic+set}" = set; then
4387   withval="$with_pic"
4388   pic_mode="$withval"
4389 else
4390   pic_mode=default
4391 fi;
4392 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4393 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4394
4395 # Some flags need to be propagated to the compiler or linker for good
4396 # libtool support.
4397 case $host in
4398 *-*-irix6*)
4399   # Find out which ABI we are using.
4400   echo '#line 4400 "configure"' > conftest.$ac_ext
4401   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4402   (eval $ac_compile) 2>&5
4403   ac_status=$?
4404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4405   (exit $ac_status); }; then
4406    if test "$lt_cv_prog_gnu_ld" = yes; then
4407     case `/usr/bin/file conftest.$ac_objext` in
4408     *32-bit*)
4409       LD="${LD-ld} -melf32bsmip"
4410       ;;
4411     *N32*)
4412       LD="${LD-ld} -melf32bmipn32"
4413       ;;
4414     *64-bit*)
4415       LD="${LD-ld} -melf64bmip"
4416       ;;
4417     esac
4418    else
4419     case `/usr/bin/file conftest.$ac_objext` in
4420     *32-bit*)
4421       LD="${LD-ld} -32"
4422       ;;
4423     *N32*)
4424       LD="${LD-ld} -n32"
4425       ;;
4426     *64-bit*)
4427       LD="${LD-ld} -64"
4428       ;;
4429     esac
4430    fi
4431   fi
4432   rm -rf conftest*
4433   ;;
4434
4435 ia64-*-hpux*)
4436   # Find out which ABI we are using.
4437   echo 'int i;' > conftest.$ac_ext
4438   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4439   (eval $ac_compile) 2>&5
4440   ac_status=$?
4441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4442   (exit $ac_status); }; then
4443     case "`/usr/bin/file conftest.o`" in
4444     *ELF-32*)
4445       HPUX_IA64_MODE="32"
4446       ;;
4447     *ELF-64*)
4448       HPUX_IA64_MODE="64"
4449       ;;
4450     esac
4451   fi
4452   rm -rf conftest*
4453   ;;
4454
4455 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4456   # Find out which ABI we are using.
4457   echo 'int i;' > conftest.$ac_ext
4458   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4459   (eval $ac_compile) 2>&5
4460   ac_status=$?
4461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4462   (exit $ac_status); }; then
4463     case "`/usr/bin/file conftest.o`" in
4464     *32-bit*)
4465       case $host in
4466         x86_64-*linux*)
4467           LD="${LD-ld} -m elf_i386"
4468           ;;
4469         ppc64-*linux*|powerpc64-*linux*)
4470           LD="${LD-ld} -m elf32ppclinux"
4471           ;;
4472         s390x-*linux*)
4473           LD="${LD-ld} -m elf_s390"
4474           ;;
4475         sparc64-*linux*)
4476           LD="${LD-ld} -m elf32_sparc"
4477           ;;
4478       esac
4479       ;;
4480     *64-bit*)
4481       case $host in
4482         x86_64-*linux*)
4483           LD="${LD-ld} -m elf_x86_64"
4484           ;;
4485         ppc*-*linux*|powerpc*-*linux*)
4486           LD="${LD-ld} -m elf64ppc"
4487           ;;
4488         s390*-*linux*)
4489           LD="${LD-ld} -m elf64_s390"
4490           ;;
4491         sparc*-*linux*)
4492           LD="${LD-ld} -m elf64_sparc"
4493           ;;
4494       esac
4495       ;;
4496     esac
4497   fi
4498   rm -rf conftest*
4499   ;;
4500
4501 *-*-sco3.2v5*)
4502   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4503   SAVE_CFLAGS="$CFLAGS"
4504   CFLAGS="$CFLAGS -belf"
4505   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4506 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4507 if test "${lt_cv_cc_needs_belf+set}" = set; then
4508   echo $ECHO_N "(cached) $ECHO_C" >&6
4509 else
4510
4511
4512      ac_ext=c
4513 ac_cpp='$CPP $CPPFLAGS'
4514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4517
4518      if test x$gcc_no_link = xyes; then
4519   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4521    { (exit 1); exit 1; }; }
4522 fi
4523 cat >conftest.$ac_ext <<_ACEOF
4524 /* confdefs.h.  */
4525 _ACEOF
4526 cat confdefs.h >>conftest.$ac_ext
4527 cat >>conftest.$ac_ext <<_ACEOF
4528 /* end confdefs.h.  */
4529
4530 int
4531 main ()
4532 {
4533
4534   ;
4535   return 0;
4536 }
4537 _ACEOF
4538 rm -f conftest.$ac_objext conftest$ac_exeext
4539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4540   (eval $ac_link) 2>conftest.er1
4541   ac_status=$?
4542   grep -v '^ *+' conftest.er1 >conftest.err
4543   rm -f conftest.er1
4544   cat conftest.err >&5
4545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546   (exit $ac_status); } &&
4547          { ac_try='test -z "$ac_c_werror_flag"
4548                          || test ! -s conftest.err'
4549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4550   (eval $ac_try) 2>&5
4551   ac_status=$?
4552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4553   (exit $ac_status); }; } &&
4554          { ac_try='test -s conftest$ac_exeext'
4555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4556   (eval $ac_try) 2>&5
4557   ac_status=$?
4558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4559   (exit $ac_status); }; }; then
4560   lt_cv_cc_needs_belf=yes
4561 else
4562   echo "$as_me: failed program was:" >&5
4563 sed 's/^/| /' conftest.$ac_ext >&5
4564
4565 lt_cv_cc_needs_belf=no
4566 fi
4567 rm -f conftest.err conftest.$ac_objext \
4568       conftest$ac_exeext conftest.$ac_ext
4569      ac_ext=c
4570 ac_cpp='$CPP $CPPFLAGS'
4571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4574
4575 fi
4576 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4577 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4578   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4579     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4580     CFLAGS="$SAVE_CFLAGS"
4581   fi
4582   ;;
4583
4584
4585 esac
4586
4587
4588 # Save cache, so that ltconfig can load it
4589 cat >confcache <<\_ACEOF
4590 # This file is a shell script that caches the results of configure
4591 # tests run on this system so they can be shared between configure
4592 # scripts and configure runs, see configure's option --config-cache.
4593 # It is not useful on other systems.  If it contains results you don't
4594 # want to keep, you may remove or edit it.
4595 #
4596 # config.status only pays attention to the cache file if you give it
4597 # the --recheck option to rerun configure.
4598 #
4599 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4600 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4601 # following values.
4602
4603 _ACEOF
4604
4605 # The following way of writing the cache mishandles newlines in values,
4606 # but we know of no workaround that is simple, portable, and efficient.
4607 # So, don't put newlines in cache variables' values.
4608 # Ultrix sh set writes to stderr and can't be redirected directly,
4609 # and sets the high bit in the cache file unless we assign to the vars.
4610 {
4611   (set) 2>&1 |
4612     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4613     *ac_space=\ *)
4614       # `set' does not quote correctly, so add quotes (double-quote
4615       # substitution turns \\\\ into \\, and sed turns \\ into \).
4616       sed -n \
4617         "s/'/'\\\\''/g;
4618           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4619       ;;
4620     *)
4621       # `set' quotes correctly as required by POSIX, so do not add quotes.
4622       sed -n \
4623         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4624       ;;
4625     esac;
4626 } |
4627   sed '
4628      t clear
4629      : clear
4630      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4631      t end
4632      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4633      : end' >>confcache
4634 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4635   if test -w $cache_file; then
4636     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4637     cat confcache >$cache_file
4638   else
4639     echo "not updating unwritable cache $cache_file"
4640   fi
4641 fi
4642 rm -f confcache
4643
4644 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
4645 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4646 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4647 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4648 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4649 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4650 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4651 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4652 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4653 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4654 echo "$as_me: error: libtool configure failed" >&2;}
4655    { (exit 1); exit 1; }; }
4656
4657 # Reload cache, that may have been modified by ltconfig
4658 if test -r "$cache_file"; then
4659   # Some versions of bash will fail to source /dev/null (special
4660   # files actually), so we avoid doing that.
4661   if test -f "$cache_file"; then
4662     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4663 echo "$as_me: loading cache $cache_file" >&6;}
4664     case $cache_file in
4665       [\\/]* | ?:[\\/]* ) . $cache_file;;
4666       *)                      . ./$cache_file;;
4667     esac
4668   fi
4669 else
4670   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4671 echo "$as_me: creating cache $cache_file" >&6;}
4672   >$cache_file
4673 fi
4674
4675
4676 # This can be used to rebuild libtool when needed
4677 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4678
4679 # Always use our own libtool.
4680 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4681
4682 # Redirect the config.log output again, so that the ltconfig log is not
4683 # clobbered by the next message.
4684 exec 5>>./config.log
4685
4686 ac_ext=cc
4687 ac_cpp='$CXXCPP $CPPFLAGS'
4688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4691 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4692 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4693 if test -z "$CXXCPP"; then
4694   if test "${ac_cv_prog_CXXCPP+set}" = set; then
4695   echo $ECHO_N "(cached) $ECHO_C" >&6
4696 else
4697       # Double quotes because CXXCPP needs to be expanded
4698     for CXXCPP in "$CXX -E" "/lib/cpp"
4699     do
4700       ac_preproc_ok=false
4701 for ac_cxx_preproc_warn_flag in '' yes
4702 do
4703   # Use a header file that comes with gcc, so configuring glibc
4704   # with a fresh cross-compiler works.
4705   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4706   # <limits.h> exists even on freestanding compilers.
4707   # On the NeXT, cc -E runs the code through the compiler's parser,
4708   # not just through cpp. "Syntax error" is here to catch this case.
4709   cat >conftest.$ac_ext <<_ACEOF
4710 /* confdefs.h.  */
4711 _ACEOF
4712 cat confdefs.h >>conftest.$ac_ext
4713 cat >>conftest.$ac_ext <<_ACEOF
4714 /* end confdefs.h.  */
4715 #ifdef __STDC__
4716 # include <limits.h>
4717 #else
4718 # include <assert.h>
4719 #endif
4720                      Syntax error
4721 _ACEOF
4722 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4723   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4724   ac_status=$?
4725   grep -v '^ *+' conftest.er1 >conftest.err
4726   rm -f conftest.er1
4727   cat conftest.err >&5
4728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4729   (exit $ac_status); } >/dev/null; then
4730   if test -s conftest.err; then
4731     ac_cpp_err=$ac_cxx_preproc_warn_flag
4732     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4733   else
4734     ac_cpp_err=
4735   fi
4736 else
4737   ac_cpp_err=yes
4738 fi
4739 if test -z "$ac_cpp_err"; then
4740   :
4741 else
4742   echo "$as_me: failed program was:" >&5
4743 sed 's/^/| /' conftest.$ac_ext >&5
4744
4745   # Broken: fails on valid input.
4746 continue
4747 fi
4748 rm -f conftest.err conftest.$ac_ext
4749
4750   # OK, works on sane cases.  Now check whether non-existent headers
4751   # can be detected and how.
4752   cat >conftest.$ac_ext <<_ACEOF
4753 /* confdefs.h.  */
4754 _ACEOF
4755 cat confdefs.h >>conftest.$ac_ext
4756 cat >>conftest.$ac_ext <<_ACEOF
4757 /* end confdefs.h.  */
4758 #include <ac_nonexistent.h>
4759 _ACEOF
4760 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4761   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4762   ac_status=$?
4763   grep -v '^ *+' conftest.er1 >conftest.err
4764   rm -f conftest.er1
4765   cat conftest.err >&5
4766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767   (exit $ac_status); } >/dev/null; then
4768   if test -s conftest.err; then
4769     ac_cpp_err=$ac_cxx_preproc_warn_flag
4770     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4771   else
4772     ac_cpp_err=
4773   fi
4774 else
4775   ac_cpp_err=yes
4776 fi
4777 if test -z "$ac_cpp_err"; then
4778   # Broken: success on invalid input.
4779 continue
4780 else
4781   echo "$as_me: failed program was:" >&5
4782 sed 's/^/| /' conftest.$ac_ext >&5
4783
4784   # Passes both tests.
4785 ac_preproc_ok=:
4786 break
4787 fi
4788 rm -f conftest.err conftest.$ac_ext
4789
4790 done
4791 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4792 rm -f conftest.err conftest.$ac_ext
4793 if $ac_preproc_ok; then
4794   break
4795 fi
4796
4797     done
4798     ac_cv_prog_CXXCPP=$CXXCPP
4799
4800 fi
4801   CXXCPP=$ac_cv_prog_CXXCPP
4802 else
4803   ac_cv_prog_CXXCPP=$CXXCPP
4804 fi
4805 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4806 echo "${ECHO_T}$CXXCPP" >&6
4807 ac_preproc_ok=false
4808 for ac_cxx_preproc_warn_flag in '' yes
4809 do
4810   # Use a header file that comes with gcc, so configuring glibc
4811   # with a fresh cross-compiler works.
4812   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4813   # <limits.h> exists even on freestanding compilers.
4814   # On the NeXT, cc -E runs the code through the compiler's parser,
4815   # not just through cpp. "Syntax error" is here to catch this case.
4816   cat >conftest.$ac_ext <<_ACEOF
4817 /* confdefs.h.  */
4818 _ACEOF
4819 cat confdefs.h >>conftest.$ac_ext
4820 cat >>conftest.$ac_ext <<_ACEOF
4821 /* end confdefs.h.  */
4822 #ifdef __STDC__
4823 # include <limits.h>
4824 #else
4825 # include <assert.h>
4826 #endif
4827                      Syntax error
4828 _ACEOF
4829 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4830   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4831   ac_status=$?
4832   grep -v '^ *+' conftest.er1 >conftest.err
4833   rm -f conftest.er1
4834   cat conftest.err >&5
4835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4836   (exit $ac_status); } >/dev/null; then
4837   if test -s conftest.err; then
4838     ac_cpp_err=$ac_cxx_preproc_warn_flag
4839     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4840   else
4841     ac_cpp_err=
4842   fi
4843 else
4844   ac_cpp_err=yes
4845 fi
4846 if test -z "$ac_cpp_err"; then
4847   :
4848 else
4849   echo "$as_me: failed program was:" >&5
4850 sed 's/^/| /' conftest.$ac_ext >&5
4851
4852   # Broken: fails on valid input.
4853 continue
4854 fi
4855 rm -f conftest.err conftest.$ac_ext
4856
4857   # OK, works on sane cases.  Now check whether non-existent headers
4858   # can be detected and how.
4859   cat >conftest.$ac_ext <<_ACEOF
4860 /* confdefs.h.  */
4861 _ACEOF
4862 cat confdefs.h >>conftest.$ac_ext
4863 cat >>conftest.$ac_ext <<_ACEOF
4864 /* end confdefs.h.  */
4865 #include <ac_nonexistent.h>
4866 _ACEOF
4867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4868   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4869   ac_status=$?
4870   grep -v '^ *+' conftest.er1 >conftest.err
4871   rm -f conftest.er1
4872   cat conftest.err >&5
4873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874   (exit $ac_status); } >/dev/null; then
4875   if test -s conftest.err; then
4876     ac_cpp_err=$ac_cxx_preproc_warn_flag
4877     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4878   else
4879     ac_cpp_err=
4880   fi
4881 else
4882   ac_cpp_err=yes
4883 fi
4884 if test -z "$ac_cpp_err"; then
4885   # Broken: success on invalid input.
4886 continue
4887 else
4888   echo "$as_me: failed program was:" >&5
4889 sed 's/^/| /' conftest.$ac_ext >&5
4890
4891   # Passes both tests.
4892 ac_preproc_ok=:
4893 break
4894 fi
4895 rm -f conftest.err conftest.$ac_ext
4896
4897 done
4898 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4899 rm -f conftest.err conftest.$ac_ext
4900 if $ac_preproc_ok; then
4901   :
4902 else
4903   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4904 See \`config.log' for more details." >&5
4905 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4906 See \`config.log' for more details." >&2;}
4907    { (exit 1); exit 1; }; }
4908 fi
4909
4910 ac_ext=c
4911 ac_cpp='$CPP $CPPFLAGS'
4912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4915
4916
4917
4918 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4919 lt_save_CC="$CC"
4920 lt_save_CFLAGS="$CFLAGS"
4921 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4922 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4923 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4924 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4925 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4926 deplibs_check_method="$deplibs_check_method" \
4927 file_magic_cmd="$file_magic_cmd" \
4928 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4929 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4930 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4931 echo "$as_me: error: libtool tag configuration failed" >&2;}
4932    { (exit 1); exit 1; }; }
4933 CC="$lt_save_CC"
4934 CFLAGS="$lt_save_CFLAGS"
4935
4936 # Redirect the config.log output again, so that the ltconfig log is not
4937 # clobbered by the next message.
4938 exec 5>>./config.log
4939
4940
4941
4942
4943
4944
4945
4946
4947 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4948
4949 # Possibly disable most of the library.
4950 ## XXX Consider skipping unncessary tests altogether in this case, rather
4951 ## than just ignoring the results.  Faster /and/ more correct, win win.
4952
4953   # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4954 if test "${enable_hosted_libstdcxx+set}" = set; then
4955   enableval="$enable_hosted_libstdcxx"
4956
4957 else
4958   case "$host" in
4959         arm*-*-symbianelf*)
4960             enable_hosted_libstdcxx=no
4961             ;;
4962         *)
4963             enable_hosted_libstdcxx=yes
4964             ;;
4965      esac
4966 fi;
4967   if test "$enable_hosted_libstdcxx" = no; then
4968     { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
4969 echo "$as_me: Only freestanding libraries will be built" >&6;}
4970     is_hosted=no
4971     hosted_define=0
4972     enable_abi_check=no
4973     enable_libstdcxx_pch=no
4974   else
4975     is_hosted=yes
4976     hosted_define=1
4977   fi
4978
4979
4980 cat >>confdefs.h <<_ACEOF
4981 #define _GLIBCXX_HOSTED $hosted_define
4982 _ACEOF
4983
4984
4985
4986 # Check for support bits and g++ features that don't require linking.
4987
4988   echo "$as_me:$LINENO: checking for exception model to use" >&5
4989 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4990
4991
4992   ac_ext=cc
4993 ac_cpp='$CXXCPP $CPPFLAGS'
4994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4997
4998    # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4999 if test "${enable_sjlj_exceptions+set}" = set; then
5000   enableval="$enable_sjlj_exceptions"
5001
5002       case "$enableval" in
5003        yes|no|auto) ;;
5004        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5005 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5006    { (exit 1); exit 1; }; } ;;
5007                           esac
5008
5009 else
5010   enable_sjlj_exceptions=auto
5011 fi;
5012
5013
5014   if test $enable_sjlj_exceptions = auto; then
5015     # Botheration.  Now we've got to detect the exception model.  Link tests
5016     # against libgcc.a are problematic since we've not been given proper -L
5017     # bits for single-tree newlib and libgloss.
5018     #
5019     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
5020     cat > conftest.$ac_ext << EOF
5021 #line 5021 "configure"
5022 struct S { ~S(); };
5023 void bar();
5024 void foo()
5025 {
5026   S s;
5027   bar();
5028 }
5029 EOF
5030     old_CXXFLAGS="$CXXFLAGS"
5031     CXXFLAGS=-S
5032     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5033   (eval $ac_compile) 2>&5
5034   ac_status=$?
5035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036   (exit $ac_status); }; then
5037       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5038         enable_sjlj_exceptions=yes
5039       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5040         enable_sjlj_exceptions=no
5041       fi
5042     fi
5043     CXXFLAGS="$old_CXXFLAGS"
5044     rm -f conftest*
5045   fi
5046
5047   # This is a tad weird, for hysterical raisins.  We have to map enable/disable
5048   # to two different models.
5049   case $enable_sjlj_exceptions in
5050     yes)
5051
5052 cat >>confdefs.h <<\_ACEOF
5053 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5054 _ACEOF
5055
5056       ac_exception_model_name=sjlj
5057       ;;
5058     no)
5059       ac_exception_model_name="call frame"
5060       ;;
5061     *)
5062       { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5063 echo "$as_me: error: unable to detect exception model" >&2;}
5064    { (exit 1); exit 1; }; }
5065       ;;
5066   esac
5067  ac_ext=c
5068 ac_cpp='$CPP $CPPFLAGS'
5069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5072
5073  echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5074 echo "${ECHO_T}$ac_exception_model_name" >&6
5075
5076
5077   echo "$as_me:$LINENO: checking for enabled PCH" >&5
5078 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5079    # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5080 if test "${enable_libstdcxx_pch+set}" = set; then
5081   enableval="$enable_libstdcxx_pch"
5082
5083       case "$enableval" in
5084        yes|no) ;;
5085        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5086 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5087    { (exit 1); exit 1; }; } ;;
5088       esac
5089
5090 else
5091   enable_libstdcxx_pch=$is_hosted
5092 fi;
5093
5094   echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5095 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5096
5097   if test $enable_libstdcxx_pch = yes; then
5098     echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5099 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5100 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5101   echo $ECHO_N "(cached) $ECHO_C" >&6
5102 else
5103   ac_save_CXXFLAGS="$CXXFLAGS"
5104        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5105
5106
5107        ac_ext=cc
5108 ac_cpp='$CXXCPP $CPPFLAGS'
5109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5112
5113        echo '#include <math.h>' > conftest.h
5114        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5115                           -o conftest.h.gch 1>&5 2>&1 &&
5116                 echo '#error "pch failed"' > conftest.h &&
5117           echo '#include "conftest.h"' > conftest.cc &&
5118                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5119        then
5120          glibcxx_cv_prog_CXX_pch=yes
5121        else
5122          glibcxx_cv_prog_CXX_pch=no
5123        fi
5124        rm -f conftest*
5125        CXXFLAGS=$ac_save_CXXFLAGS
5126        ac_ext=c
5127 ac_cpp='$CPP $CPPFLAGS'
5128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5131
5132
5133 fi
5134 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5135 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5136     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5137   fi
5138
5139
5140   if test $enable_libstdcxx_pch = yes; then
5141     glibcxx_PCHFLAGS="-include bits/stdc++.h"
5142   else
5143     glibcxx_PCHFLAGS=""
5144   fi
5145
5146
5147
5148 # Enable all the variable C++ runtime options.
5149 # NB: C_MBCHAR must come early.
5150
5151   echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5152 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5153    # Check whether --enable-cstdio or --disable-cstdio was given.
5154 if test "${enable_cstdio+set}" = set; then
5155   enableval="$enable_cstdio"
5156
5157       case "$enableval" in
5158        stdio) ;;
5159        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5160 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5161    { (exit 1); exit 1; }; } ;;
5162                           esac
5163
5164 else
5165   enable_cstdio=stdio
5166 fi;
5167
5168
5169   # Now that libio has been removed, you can have any color you want as long
5170   # as it's black.  This is one big no-op until other packages are added, but
5171   # showing the framework never hurts.
5172   case ${enable_cstdio} in
5173     stdio)
5174       CSTDIO_H=config/io/c_io_stdio.h
5175       BASIC_FILE_H=config/io/basic_file_stdio.h
5176       BASIC_FILE_CC=config/io/basic_file_stdio.cc
5177       echo "$as_me:$LINENO: result: stdio" >&5
5178 echo "${ECHO_T}stdio" >&6
5179       ;;
5180   esac
5181
5182
5183
5184
5185
5186 ac_ext=c
5187 ac_cpp='$CPP $CPPFLAGS'
5188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5191 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5192 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5193 # On Suns, sometimes $CPP names a directory.
5194 if test -n "$CPP" && test -d "$CPP"; then
5195   CPP=
5196 fi
5197 if test -z "$CPP"; then
5198   if test "${ac_cv_prog_CPP+set}" = set; then
5199   echo $ECHO_N "(cached) $ECHO_C" >&6
5200 else
5201       # Double quotes because CPP needs to be expanded
5202     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5203     do
5204       ac_preproc_ok=false
5205 for ac_c_preproc_warn_flag in '' yes
5206 do
5207   # Use a header file that comes with gcc, so configuring glibc
5208   # with a fresh cross-compiler works.
5209   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5210   # <limits.h> exists even on freestanding compilers.
5211   # On the NeXT, cc -E runs the code through the compiler's parser,
5212   # not just through cpp. "Syntax error" is here to catch this case.
5213   cat >conftest.$ac_ext <<_ACEOF
5214 /* confdefs.h.  */
5215 _ACEOF
5216 cat confdefs.h >>conftest.$ac_ext
5217 cat >>conftest.$ac_ext <<_ACEOF
5218 /* end confdefs.h.  */
5219 #ifdef __STDC__
5220 # include <limits.h>
5221 #else
5222 # include <assert.h>
5223 #endif
5224                      Syntax error
5225 _ACEOF
5226 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5227   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5228   ac_status=$?
5229   grep -v '^ *+' conftest.er1 >conftest.err
5230   rm -f conftest.er1
5231   cat conftest.err >&5
5232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5233   (exit $ac_status); } >/dev/null; then
5234   if test -s conftest.err; then
5235     ac_cpp_err=$ac_c_preproc_warn_flag
5236     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5237   else
5238     ac_cpp_err=
5239   fi
5240 else
5241   ac_cpp_err=yes
5242 fi
5243 if test -z "$ac_cpp_err"; then
5244   :
5245 else
5246   echo "$as_me: failed program was:" >&5
5247 sed 's/^/| /' conftest.$ac_ext >&5
5248
5249   # Broken: fails on valid input.
5250 continue
5251 fi
5252 rm -f conftest.err conftest.$ac_ext
5253
5254   # OK, works on sane cases.  Now check whether non-existent headers
5255   # can be detected and how.
5256   cat >conftest.$ac_ext <<_ACEOF
5257 /* confdefs.h.  */
5258 _ACEOF
5259 cat confdefs.h >>conftest.$ac_ext
5260 cat >>conftest.$ac_ext <<_ACEOF
5261 /* end confdefs.h.  */
5262 #include <ac_nonexistent.h>
5263 _ACEOF
5264 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5265   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5266   ac_status=$?
5267   grep -v '^ *+' conftest.er1 >conftest.err
5268   rm -f conftest.er1
5269   cat conftest.err >&5
5270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271   (exit $ac_status); } >/dev/null; then
5272   if test -s conftest.err; then
5273     ac_cpp_err=$ac_c_preproc_warn_flag
5274     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5275   else
5276     ac_cpp_err=
5277   fi
5278 else
5279   ac_cpp_err=yes
5280 fi
5281 if test -z "$ac_cpp_err"; then
5282   # Broken: success on invalid input.
5283 continue
5284 else
5285   echo "$as_me: failed program was:" >&5
5286 sed 's/^/| /' conftest.$ac_ext >&5
5287
5288   # Passes both tests.
5289 ac_preproc_ok=:
5290 break
5291 fi
5292 rm -f conftest.err conftest.$ac_ext
5293
5294 done
5295 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5296 rm -f conftest.err conftest.$ac_ext
5297 if $ac_preproc_ok; then
5298   break
5299 fi
5300
5301     done
5302     ac_cv_prog_CPP=$CPP
5303
5304 fi
5305   CPP=$ac_cv_prog_CPP
5306 else
5307   ac_cv_prog_CPP=$CPP
5308 fi
5309 echo "$as_me:$LINENO: result: $CPP" >&5
5310 echo "${ECHO_T}$CPP" >&6
5311 ac_preproc_ok=false
5312 for ac_c_preproc_warn_flag in '' yes
5313 do
5314   # Use a header file that comes with gcc, so configuring glibc
5315   # with a fresh cross-compiler works.
5316   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5317   # <limits.h> exists even on freestanding compilers.
5318   # On the NeXT, cc -E runs the code through the compiler's parser,
5319   # not just through cpp. "Syntax error" is here to catch this case.
5320   cat >conftest.$ac_ext <<_ACEOF
5321 /* confdefs.h.  */
5322 _ACEOF
5323 cat confdefs.h >>conftest.$ac_ext
5324 cat >>conftest.$ac_ext <<_ACEOF
5325 /* end confdefs.h.  */
5326 #ifdef __STDC__
5327 # include <limits.h>
5328 #else
5329 # include <assert.h>
5330 #endif
5331                      Syntax error
5332 _ACEOF
5333 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5334   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5335   ac_status=$?
5336   grep -v '^ *+' conftest.er1 >conftest.err
5337   rm -f conftest.er1
5338   cat conftest.err >&5
5339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5340   (exit $ac_status); } >/dev/null; then
5341   if test -s conftest.err; then
5342     ac_cpp_err=$ac_c_preproc_warn_flag
5343     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5344   else
5345     ac_cpp_err=
5346   fi
5347 else
5348   ac_cpp_err=yes
5349 fi
5350 if test -z "$ac_cpp_err"; then
5351   :
5352 else
5353   echo "$as_me: failed program was:" >&5
5354 sed 's/^/| /' conftest.$ac_ext >&5
5355
5356   # Broken: fails on valid input.
5357 continue
5358 fi
5359 rm -f conftest.err conftest.$ac_ext
5360
5361   # OK, works on sane cases.  Now check whether non-existent headers
5362   # can be detected and how.
5363   cat >conftest.$ac_ext <<_ACEOF
5364 /* confdefs.h.  */
5365 _ACEOF
5366 cat confdefs.h >>conftest.$ac_ext
5367 cat >>conftest.$ac_ext <<_ACEOF
5368 /* end confdefs.h.  */
5369 #include <ac_nonexistent.h>
5370 _ACEOF
5371 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5372   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5373   ac_status=$?
5374   grep -v '^ *+' conftest.er1 >conftest.err
5375   rm -f conftest.er1
5376   cat conftest.err >&5
5377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378   (exit $ac_status); } >/dev/null; then
5379   if test -s conftest.err; then
5380     ac_cpp_err=$ac_c_preproc_warn_flag
5381     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5382   else
5383     ac_cpp_err=
5384   fi
5385 else
5386   ac_cpp_err=yes
5387 fi
5388 if test -z "$ac_cpp_err"; then
5389   # Broken: success on invalid input.
5390 continue
5391 else
5392   echo "$as_me: failed program was:" >&5
5393 sed 's/^/| /' conftest.$ac_ext >&5
5394
5395   # Passes both tests.
5396 ac_preproc_ok=:
5397 break
5398 fi
5399 rm -f conftest.err conftest.$ac_ext
5400
5401 done
5402 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5403 rm -f conftest.err conftest.$ac_ext
5404 if $ac_preproc_ok; then
5405   :
5406 else
5407   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5408 See \`config.log' for more details." >&5
5409 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5410 See \`config.log' for more details." >&2;}
5411    { (exit 1); exit 1; }; }
5412 fi
5413
5414 ac_ext=c
5415 ac_cpp='$CPP $CPPFLAGS'
5416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5419
5420
5421 echo "$as_me:$LINENO: checking for egrep" >&5
5422 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5423 if test "${ac_cv_prog_egrep+set}" = set; then
5424   echo $ECHO_N "(cached) $ECHO_C" >&6
5425 else
5426   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5427     then ac_cv_prog_egrep='grep -E'
5428     else ac_cv_prog_egrep='egrep'
5429     fi
5430 fi
5431 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5432 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5433  EGREP=$ac_cv_prog_egrep
5434
5435
5436 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5437 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5438 if test "${ac_cv_header_stdc+set}" = set; then
5439   echo $ECHO_N "(cached) $ECHO_C" >&6
5440 else
5441   cat >conftest.$ac_ext <<_ACEOF
5442 /* confdefs.h.  */
5443 _ACEOF
5444 cat confdefs.h >>conftest.$ac_ext
5445 cat >>conftest.$ac_ext <<_ACEOF
5446 /* end confdefs.h.  */
5447 #include <stdlib.h>
5448 #include <stdarg.h>
5449 #include <string.h>
5450 #include <float.h>
5451
5452 int
5453 main ()
5454 {
5455
5456   ;
5457   return 0;
5458 }
5459 _ACEOF
5460 rm -f conftest.$ac_objext
5461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5462   (eval $ac_compile) 2>conftest.er1
5463   ac_status=$?
5464   grep -v '^ *+' conftest.er1 >conftest.err
5465   rm -f conftest.er1
5466   cat conftest.err >&5
5467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5468   (exit $ac_status); } &&
5469          { ac_try='test -z "$ac_c_werror_flag"
5470                          || test ! -s conftest.err'
5471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5472   (eval $ac_try) 2>&5
5473   ac_status=$?
5474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5475   (exit $ac_status); }; } &&
5476          { ac_try='test -s conftest.$ac_objext'
5477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5478   (eval $ac_try) 2>&5
5479   ac_status=$?
5480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5481   (exit $ac_status); }; }; then
5482   ac_cv_header_stdc=yes
5483 else
5484   echo "$as_me: failed program was:" >&5
5485 sed 's/^/| /' conftest.$ac_ext >&5
5486
5487 ac_cv_header_stdc=no
5488 fi
5489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5490
5491 if test $ac_cv_header_stdc = yes; then
5492   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5493   cat >conftest.$ac_ext <<_ACEOF
5494 /* confdefs.h.  */
5495 _ACEOF
5496 cat confdefs.h >>conftest.$ac_ext
5497 cat >>conftest.$ac_ext <<_ACEOF
5498 /* end confdefs.h.  */
5499 #include <string.h>
5500
5501 _ACEOF
5502 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5503   $EGREP "memchr" >/dev/null 2>&1; then
5504   :
5505 else
5506   ac_cv_header_stdc=no
5507 fi
5508 rm -f conftest*
5509
5510 fi
5511
5512 if test $ac_cv_header_stdc = yes; then
5513   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5514   cat >conftest.$ac_ext <<_ACEOF
5515 /* confdefs.h.  */
5516 _ACEOF
5517 cat confdefs.h >>conftest.$ac_ext
5518 cat >>conftest.$ac_ext <<_ACEOF
5519 /* end confdefs.h.  */
5520 #include <stdlib.h>
5521
5522 _ACEOF
5523 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5524   $EGREP "free" >/dev/null 2>&1; then
5525   :
5526 else
5527   ac_cv_header_stdc=no
5528 fi
5529 rm -f conftest*
5530
5531 fi
5532
5533 if test $ac_cv_header_stdc = yes; then
5534   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5535   if test "$cross_compiling" = yes; then
5536   :
5537 else
5538   cat >conftest.$ac_ext <<_ACEOF
5539 /* confdefs.h.  */
5540 _ACEOF
5541 cat confdefs.h >>conftest.$ac_ext
5542 cat >>conftest.$ac_ext <<_ACEOF
5543 /* end confdefs.h.  */
5544 #include <ctype.h>
5545 #if ((' ' & 0x0FF) == 0x020)
5546 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5547 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5548 #else
5549 # define ISLOWER(c) \
5550                    (('a' <= (c) && (c) <= 'i') \
5551                      || ('j' <= (c) && (c) <= 'r') \
5552                      || ('s' <= (c) && (c) <= 'z'))
5553 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5554 #endif
5555
5556 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5557 int
5558 main ()
5559 {
5560   int i;
5561   for (i = 0; i < 256; i++)
5562     if (XOR (islower (i), ISLOWER (i))
5563         || toupper (i) != TOUPPER (i))
5564       exit(2);
5565   exit (0);
5566 }
5567 _ACEOF
5568 rm -f conftest$ac_exeext
5569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5570   (eval $ac_link) 2>&5
5571   ac_status=$?
5572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5575   (eval $ac_try) 2>&5
5576   ac_status=$?
5577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5578   (exit $ac_status); }; }; then
5579   :
5580 else
5581   echo "$as_me: program exited with status $ac_status" >&5
5582 echo "$as_me: failed program was:" >&5
5583 sed 's/^/| /' conftest.$ac_ext >&5
5584
5585 ( exit $ac_status )
5586 ac_cv_header_stdc=no
5587 fi
5588 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5589 fi
5590 fi
5591 fi
5592 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5593 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5594 if test $ac_cv_header_stdc = yes; then
5595
5596 cat >>confdefs.h <<\_ACEOF
5597 #define STDC_HEADERS 1
5598 _ACEOF
5599
5600 fi
5601
5602 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5613                   inttypes.h stdint.h unistd.h
5614 do
5615 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5616 echo "$as_me:$LINENO: checking for $ac_header" >&5
5617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5619   echo $ECHO_N "(cached) $ECHO_C" >&6
5620 else
5621   cat >conftest.$ac_ext <<_ACEOF
5622 /* confdefs.h.  */
5623 _ACEOF
5624 cat confdefs.h >>conftest.$ac_ext
5625 cat >>conftest.$ac_ext <<_ACEOF
5626 /* end confdefs.h.  */
5627 $ac_includes_default
5628
5629 #include <$ac_header>
5630 _ACEOF
5631 rm -f conftest.$ac_objext
5632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5633   (eval $ac_compile) 2>conftest.er1
5634   ac_status=$?
5635   grep -v '^ *+' conftest.er1 >conftest.err
5636   rm -f conftest.er1
5637   cat conftest.err >&5
5638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639   (exit $ac_status); } &&
5640          { ac_try='test -z "$ac_c_werror_flag"
5641                          || test ! -s conftest.err'
5642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5643   (eval $ac_try) 2>&5
5644   ac_status=$?
5645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5646   (exit $ac_status); }; } &&
5647          { ac_try='test -s conftest.$ac_objext'
5648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5649   (eval $ac_try) 2>&5
5650   ac_status=$?
5651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5652   (exit $ac_status); }; }; then
5653   eval "$as_ac_Header=yes"
5654 else
5655   echo "$as_me: failed program was:" >&5
5656 sed 's/^/| /' conftest.$ac_ext >&5
5657
5658 eval "$as_ac_Header=no"
5659 fi
5660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5661 fi
5662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5663 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5664 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5665   cat >>confdefs.h <<_ACEOF
5666 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5667 _ACEOF
5668
5669 fi
5670
5671 done
5672
5673
5674
5675   echo "$as_me:$LINENO: checking for C locale to use" >&5
5676 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5677    # Check whether --enable-clocale or --disable-clocale was given.
5678 if test "${enable_clocale+set}" = set; then
5679   enableval="$enable_clocale"
5680
5681       case "$enableval" in
5682        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5683        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5684 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5685    { (exit 1); exit 1; }; } ;;
5686                           esac
5687
5688 else
5689   enable_clocale=auto
5690 fi;
5691
5692
5693   # If they didn't use this option switch, or if they specified --enable
5694   # with no specific model, we'll have to look for one.  If they
5695   # specified --disable (???), do likewise.
5696   if test $enable_clocale = no || test $enable_clocale = yes; then
5697      enable_clocale=auto
5698   fi
5699
5700   # Either a known package, or "auto"
5701   enable_clocale_flag=$enable_clocale
5702
5703   # Probe for locale support if no specific model is specified.
5704   # Default to "generic".
5705   if test $enable_clocale_flag = auto; then
5706     case ${target_os} in
5707       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5708         cat >conftest.$ac_ext <<_ACEOF
5709 /* confdefs.h.  */
5710 _ACEOF
5711 cat confdefs.h >>conftest.$ac_ext
5712 cat >>conftest.$ac_ext <<_ACEOF
5713 /* end confdefs.h.  */
5714
5715         #include <features.h>
5716         #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5717           _GLIBCXX_ok
5718         #endif
5719
5720 _ACEOF
5721 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5722   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5723   enable_clocale_flag=gnu
5724 else
5725   enable_clocale_flag=generic
5726 fi
5727 rm -f conftest*
5728
5729
5730         # Test for bugs early in glibc-2.2.x series
5731           if test $enable_clocale_flag = gnu; then
5732           if test "$cross_compiling" = yes; then
5733   enable_clocale_flag=generic
5734 else
5735   cat >conftest.$ac_ext <<_ACEOF
5736 /* confdefs.h.  */
5737 _ACEOF
5738 cat confdefs.h >>conftest.$ac_ext
5739 cat >>conftest.$ac_ext <<_ACEOF
5740 /* end confdefs.h.  */
5741
5742           #define _GNU_SOURCE 1
5743           #include <locale.h>
5744           #include <string.h>
5745           #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5746           extern __typeof(newlocale) __newlocale;
5747           extern __typeof(duplocale) __duplocale;
5748           extern __typeof(strcoll_l) __strcoll_l;
5749           #endif
5750           int main()
5751           {
5752               const char __one[] = "Äuglein Augmen";
5753               const char __two[] = "Äuglein";
5754               int i;
5755               int j;
5756               __locale_t        loc;
5757                __locale_t        loc_dup;
5758               loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5759               loc_dup = __duplocale(loc);
5760               i = __strcoll_l(__one, __two, loc);
5761               j = __strcoll_l(__one, __two, loc_dup);
5762               return 0;
5763           }
5764
5765 _ACEOF
5766 rm -f conftest$ac_exeext
5767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5768   (eval $ac_link) 2>&5
5769   ac_status=$?
5770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5771   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5773   (eval $ac_try) 2>&5
5774   ac_status=$?
5775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776   (exit $ac_status); }; }; then
5777   enable_clocale_flag=gnu
5778 else
5779   echo "$as_me: program exited with status $ac_status" >&5
5780 echo "$as_me: failed program was:" >&5
5781 sed 's/^/| /' conftest.$ac_ext >&5
5782
5783 ( exit $ac_status )
5784 enable_clocale_flag=generic
5785 fi
5786 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5787 fi
5788           fi
5789
5790         # ... at some point put __strxfrm_l tests in as well.
5791         ;;
5792       darwin*)
5793         enable_clocale_flag=darwin
5794         ;;
5795       *)
5796         enable_clocale_flag=generic
5797         ;;
5798     esac
5799   fi
5800
5801   # Deal with gettext issues.  Default to not using it (=no) until we detect
5802   # support for it later.  Let the user turn it off via --e/d, but let that
5803   # default to on for easier handling.
5804   USE_NLS=no
5805   # Check whether --enable-nls or --disable-nls was given.
5806 if test "${enable_nls+set}" = set; then
5807   enableval="$enable_nls"
5808
5809 else
5810   enable_nls=yes
5811 fi;
5812
5813   # Set configure bits for specified locale package
5814   case ${enable_clocale_flag} in
5815     generic)
5816       echo "$as_me:$LINENO: result: generic" >&5
5817 echo "${ECHO_T}generic" >&6
5818
5819       CLOCALE_H=config/locale/generic/c_locale.h
5820       CLOCALE_CC=config/locale/generic/c_locale.cc
5821       CCODECVT_H=config/locale/generic/codecvt_specializations.h
5822       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5823       CCOLLATE_CC=config/locale/generic/collate_members.cc
5824       CCTYPE_CC=config/locale/generic/ctype_members.cc
5825       CMESSAGES_H=config/locale/generic/messages_members.h
5826       CMESSAGES_CC=config/locale/generic/messages_members.cc
5827       CMONEY_CC=config/locale/generic/monetary_members.cc
5828       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5829       CTIME_H=config/locale/generic/time_members.h
5830       CTIME_CC=config/locale/generic/time_members.cc
5831       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5832       ;;
5833     darwin)
5834       echo "$as_me:$LINENO: result: darwin" >&5
5835 echo "${ECHO_T}darwin" >&6
5836
5837       CLOCALE_H=config/locale/generic/c_locale.h
5838       CLOCALE_CC=config/locale/generic/c_locale.cc
5839       CCODECVT_H=config/locale/generic/codecvt_specializations.h
5840       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5841       CCOLLATE_CC=config/locale/generic/collate_members.cc
5842       CCTYPE_CC=config/locale/darwin/ctype_members.cc
5843       CMESSAGES_H=config/locale/generic/messages_members.h
5844       CMESSAGES_CC=config/locale/generic/messages_members.cc
5845       CMONEY_CC=config/locale/generic/monetary_members.cc
5846       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5847       CTIME_H=config/locale/generic/time_members.h
5848       CTIME_CC=config/locale/generic/time_members.cc
5849       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5850       ;;
5851
5852     gnu)
5853       echo "$as_me:$LINENO: result: gnu" >&5
5854 echo "${ECHO_T}gnu" >&6
5855
5856       # Declare intention to use gettext, and add support for specific
5857       # languages.
5858       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5859       ALL_LINGUAS="de fr"
5860
5861       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5862       # Extract the first word of "msgfmt", so it can be a program name with args.
5863 set dummy msgfmt; ac_word=$2
5864 echo "$as_me:$LINENO: checking for $ac_word" >&5
5865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5866 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5867   echo $ECHO_N "(cached) $ECHO_C" >&6
5868 else
5869   if test -n "$check_msgfmt"; then
5870   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5871 else
5872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5873 for as_dir in $PATH
5874 do
5875   IFS=$as_save_IFS
5876   test -z "$as_dir" && as_dir=.
5877   for ac_exec_ext in '' $ac_executable_extensions; do
5878   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5879     ac_cv_prog_check_msgfmt="yes"
5880     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5881     break 2
5882   fi
5883 done
5884 done
5885
5886   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5887 fi
5888 fi
5889 check_msgfmt=$ac_cv_prog_check_msgfmt
5890 if test -n "$check_msgfmt"; then
5891   echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5892 echo "${ECHO_T}$check_msgfmt" >&6
5893 else
5894   echo "$as_me:$LINENO: result: no" >&5
5895 echo "${ECHO_T}no" >&6
5896 fi
5897
5898       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5899         USE_NLS=yes
5900       fi
5901       # Export the build objects.
5902       for ling in $ALL_LINGUAS; do \
5903         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5904         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5905       done
5906
5907
5908
5909       CLOCALE_H=config/locale/gnu/c_locale.h
5910       CLOCALE_CC=config/locale/gnu/c_locale.cc
5911       CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5912       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5913       CCOLLATE_CC=config/locale/gnu/collate_members.cc
5914       CCTYPE_CC=config/locale/gnu/ctype_members.cc
5915       CMESSAGES_H=config/locale/gnu/messages_members.h
5916       CMESSAGES_CC=config/locale/gnu/messages_members.cc
5917       CMONEY_CC=config/locale/gnu/monetary_members.cc
5918       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5919       CTIME_H=config/locale/gnu/time_members.h
5920       CTIME_CC=config/locale/gnu/time_members.cc
5921       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5922       ;;
5923     ieee_1003.1-2001)
5924       echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5925 echo "${ECHO_T}IEEE 1003.1" >&6
5926
5927       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5928       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5929       CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5930       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5931       CCOLLATE_CC=config/locale/generic/collate_members.cc
5932       CCTYPE_CC=config/locale/generic/ctype_members.cc
5933       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5934       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5935       CMONEY_CC=config/locale/generic/monetary_members.cc
5936       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5937       CTIME_H=config/locale/generic/time_members.h
5938       CTIME_CC=config/locale/generic/time_members.cc
5939       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5940       ;;
5941   esac
5942
5943   # This is where the testsuite looks for locale catalogs, using the
5944   # -DLOCALEDIR define during testsuite compilation.
5945   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5946
5947
5948   # A standalone libintl (e.g., GNU libintl) may be in use.
5949   if test $USE_NLS = yes; then
5950
5951 for ac_header in libintl.h
5952 do
5953 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5954 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5955   echo "$as_me:$LINENO: checking for $ac_header" >&5
5956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5958   echo $ECHO_N "(cached) $ECHO_C" >&6
5959 fi
5960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5962 else
5963   # Is the header compilable?
5964 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5965 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5966 cat >conftest.$ac_ext <<_ACEOF
5967 /* confdefs.h.  */
5968 _ACEOF
5969 cat confdefs.h >>conftest.$ac_ext
5970 cat >>conftest.$ac_ext <<_ACEOF
5971 /* end confdefs.h.  */
5972 $ac_includes_default
5973 #include <$ac_header>
5974 _ACEOF
5975 rm -f conftest.$ac_objext
5976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5977   (eval $ac_compile) 2>conftest.er1
5978   ac_status=$?
5979   grep -v '^ *+' conftest.er1 >conftest.err
5980   rm -f conftest.er1
5981   cat conftest.err >&5
5982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5983   (exit $ac_status); } &&
5984          { ac_try='test -z "$ac_c_werror_flag"
5985                          || test ! -s conftest.err'
5986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5987   (eval $ac_try) 2>&5
5988   ac_status=$?
5989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5990   (exit $ac_status); }; } &&
5991          { ac_try='test -s conftest.$ac_objext'
5992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5993   (eval $ac_try) 2>&5
5994   ac_status=$?
5995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5996   (exit $ac_status); }; }; then
5997   ac_header_compiler=yes
5998 else
5999   echo "$as_me: failed program was:" >&5
6000 sed 's/^/| /' conftest.$ac_ext >&5
6001
6002 ac_header_compiler=no
6003 fi
6004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6005 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6006 echo "${ECHO_T}$ac_header_compiler" >&6
6007
6008 # Is the header present?
6009 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6010 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6011 cat >conftest.$ac_ext <<_ACEOF
6012 /* confdefs.h.  */
6013 _ACEOF
6014 cat confdefs.h >>conftest.$ac_ext
6015 cat >>conftest.$ac_ext <<_ACEOF
6016 /* end confdefs.h.  */
6017 #include <$ac_header>
6018 _ACEOF
6019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6020   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6021   ac_status=$?
6022   grep -v '^ *+' conftest.er1 >conftest.err
6023   rm -f conftest.er1
6024   cat conftest.err >&5
6025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6026   (exit $ac_status); } >/dev/null; then
6027   if test -s conftest.err; then
6028     ac_cpp_err=$ac_c_preproc_warn_flag
6029     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6030   else
6031     ac_cpp_err=
6032   fi
6033 else
6034   ac_cpp_err=yes
6035 fi
6036 if test -z "$ac_cpp_err"; then
6037   ac_header_preproc=yes
6038 else
6039   echo "$as_me: failed program was:" >&5
6040 sed 's/^/| /' conftest.$ac_ext >&5
6041
6042   ac_header_preproc=no
6043 fi
6044 rm -f conftest.err conftest.$ac_ext
6045 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6046 echo "${ECHO_T}$ac_header_preproc" >&6
6047
6048 # So?  What about this header?
6049 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6050   yes:no: )
6051     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6052 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6053     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6054 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6055     ac_header_preproc=yes
6056     ;;
6057   no:yes:* )
6058     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6059 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6060     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6061 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6062     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6063 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6064     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6065 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6066     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6067 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6068     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6069 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6070     (
6071       cat <<\_ASBOX
6072 ## ----------------------------------------- ##
6073 ## Report this to the package-unused lists.  ##
6074 ## ----------------------------------------- ##
6075 _ASBOX
6076     ) |
6077       sed "s/^/$as_me: WARNING:     /" >&2
6078     ;;
6079 esac
6080 echo "$as_me:$LINENO: checking for $ac_header" >&5
6081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6083   echo $ECHO_N "(cached) $ECHO_C" >&6
6084 else
6085   eval "$as_ac_Header=\$ac_header_preproc"
6086 fi
6087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6088 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6089
6090 fi
6091 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6092   cat >>confdefs.h <<_ACEOF
6093 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6094 _ACEOF
6095
6096 else
6097   USE_NLS=no
6098 fi
6099
6100 done
6101
6102     echo "$as_me:$LINENO: checking for library containing gettext" >&5
6103 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6104 if test "${ac_cv_search_gettext+set}" = set; then
6105   echo $ECHO_N "(cached) $ECHO_C" >&6
6106 else
6107   ac_func_search_save_LIBS=$LIBS
6108 ac_cv_search_gettext=no
6109 if test x$gcc_no_link = xyes; then
6110   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6112    { (exit 1); exit 1; }; }
6113 fi
6114 cat >conftest.$ac_ext <<_ACEOF
6115 /* confdefs.h.  */
6116 _ACEOF
6117 cat confdefs.h >>conftest.$ac_ext
6118 cat >>conftest.$ac_ext <<_ACEOF
6119 /* end confdefs.h.  */
6120
6121 /* Override any gcc2 internal prototype to avoid an error.  */
6122 #ifdef __cplusplus
6123 extern "C"
6124 #endif
6125 /* We use char because int might match the return type of a gcc2
6126    builtin and then its argument prototype would still apply.  */
6127 char gettext ();
6128 int
6129 main ()
6130 {
6131 gettext ();
6132   ;
6133   return 0;
6134 }
6135 _ACEOF
6136 rm -f conftest.$ac_objext conftest$ac_exeext
6137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6138   (eval $ac_link) 2>conftest.er1
6139   ac_status=$?
6140   grep -v '^ *+' conftest.er1 >conftest.err
6141   rm -f conftest.er1
6142   cat conftest.err >&5
6143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6144   (exit $ac_status); } &&
6145          { ac_try='test -z "$ac_c_werror_flag"
6146                          || test ! -s conftest.err'
6147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6148   (eval $ac_try) 2>&5
6149   ac_status=$?
6150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6151   (exit $ac_status); }; } &&
6152          { ac_try='test -s conftest$ac_exeext'
6153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6154   (eval $ac_try) 2>&5
6155   ac_status=$?
6156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6157   (exit $ac_status); }; }; then
6158   ac_cv_search_gettext="none required"
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 if test "$ac_cv_search_gettext" = no; then
6167   for ac_lib in intl; do
6168     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6169     if test x$gcc_no_link = xyes; then
6170   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6172    { (exit 1); exit 1; }; }
6173 fi
6174 cat >conftest.$ac_ext <<_ACEOF
6175 /* confdefs.h.  */
6176 _ACEOF
6177 cat confdefs.h >>conftest.$ac_ext
6178 cat >>conftest.$ac_ext <<_ACEOF
6179 /* end confdefs.h.  */
6180
6181 /* Override any gcc2 internal prototype to avoid an error.  */
6182 #ifdef __cplusplus
6183 extern "C"
6184 #endif
6185 /* We use char because int might match the return type of a gcc2
6186    builtin and then its argument prototype would still apply.  */
6187 char gettext ();
6188 int
6189 main ()
6190 {
6191 gettext ();
6192   ;
6193   return 0;
6194 }
6195 _ACEOF
6196 rm -f conftest.$ac_objext conftest$ac_exeext
6197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6198   (eval $ac_link) 2>conftest.er1
6199   ac_status=$?
6200   grep -v '^ *+' conftest.er1 >conftest.err
6201   rm -f conftest.er1
6202   cat conftest.err >&5
6203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6204   (exit $ac_status); } &&
6205          { ac_try='test -z "$ac_c_werror_flag"
6206                          || test ! -s conftest.err'
6207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6208   (eval $ac_try) 2>&5
6209   ac_status=$?
6210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6211   (exit $ac_status); }; } &&
6212          { ac_try='test -s conftest$ac_exeext'
6213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6214   (eval $ac_try) 2>&5
6215   ac_status=$?
6216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6217   (exit $ac_status); }; }; then
6218   ac_cv_search_gettext="-l$ac_lib"
6219 break
6220 else
6221   echo "$as_me: failed program was:" >&5
6222 sed 's/^/| /' conftest.$ac_ext >&5
6223
6224 fi
6225 rm -f conftest.err conftest.$ac_objext \
6226       conftest$ac_exeext conftest.$ac_ext
6227   done
6228 fi
6229 LIBS=$ac_func_search_save_LIBS
6230 fi
6231 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6232 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6233 if test "$ac_cv_search_gettext" != no; then
6234   test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6235
6236 else
6237   USE_NLS=no
6238 fi
6239
6240   fi
6241   if test $USE_NLS = yes; then
6242     cat >>confdefs.h <<\_ACEOF
6243 #define _GLIBCXX_USE_NLS 1
6244 _ACEOF
6245
6246   fi
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264   echo "$as_me:$LINENO: checking for std::allocator base class to use" >&5
6265 echo $ECHO_N "checking for std::allocator base class to use... $ECHO_C" >&6
6266    # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6267 if test "${enable_libstdcxx_allocator+set}" = set; then
6268   enableval="$enable_libstdcxx_allocator"
6269
6270       case "$enableval" in
6271        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6272        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6273 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6274    { (exit 1); exit 1; }; } ;;
6275                           esac
6276
6277 else
6278   enable_libstdcxx_allocator=auto
6279 fi;
6280
6281
6282   # If they didn't use this option switch, or if they specified --enable
6283   # with no specific model, we'll have to look for one.  If they
6284   # specified --disable (???), do likewise.
6285   if test $enable_libstdcxx_allocator = no ||
6286      test $enable_libstdcxx_allocator = yes;
6287   then
6288      enable_libstdcxx_allocator=auto
6289   fi
6290
6291   # Either a known package, or "auto". Auto implies the default choice
6292   # for a particular platform.
6293   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6294
6295   # Probe for host-specific support if no specific model is specified.
6296   # Default to "new".
6297   if test $enable_libstdcxx_allocator_flag = auto; then
6298     case ${target_os} in
6299       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6300         enable_libstdcxx_allocator_flag=mt
6301         ;;
6302       *)
6303         enable_libstdcxx_allocator_flag=new
6304         ;;
6305     esac
6306   fi
6307   echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6308 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6309
6310
6311   # Set configure bits for specified locale package
6312   case ${enable_libstdcxx_allocator_flag} in
6313     bitmap)
6314       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6315       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6316       ;;
6317     malloc)
6318       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6319       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6320       ;;
6321     mt)
6322       ALLOCATOR_H=config/allocator/mt_allocator_base.h
6323       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6324       ;;
6325     new)
6326       ALLOCATOR_H=config/allocator/new_allocator_base.h
6327       ALLOCATOR_NAME=__gnu_cxx::new_allocator
6328       ;;
6329     pool)
6330       ALLOCATOR_H=config/allocator/pool_allocator_base.h
6331       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6332       ;;
6333   esac
6334
6335
6336
6337
6338
6339    # Check whether --enable-cheaders or --disable-cheaders was given.
6340 if test "${enable_cheaders+set}" = set; then
6341   enableval="$enable_cheaders"
6342
6343       case "$enableval" in
6344        c|c_std) ;;
6345        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6346 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6347    { (exit 1); exit 1; }; } ;;
6348                           esac
6349
6350 else
6351   enable_cheaders=$c_model
6352 fi;
6353
6354   { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6355 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6356
6357   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6358
6359
6360
6361
6362
6363
6364    # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
6365 if test "${enable_c_mbchar+set}" = set; then
6366   enableval="$enable_c_mbchar"
6367
6368       case "$enableval" in
6369        yes|no) ;;
6370        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c-mbchar must be yes or no" >&5
6371 echo "$as_me: error: Argument to enable/disable c-mbchar must be yes or no" >&2;}
6372    { (exit 1); exit 1; }; } ;;
6373       esac
6374
6375 else
6376   enable_c_mbchar=yes
6377 fi;
6378
6379   # Option parsed, now other scripts can test enable_c_mbchar for yes/no.
6380
6381
6382
6383    # Check whether --enable-c99 or --disable-c99 was given.
6384 if test "${enable_c99+set}" = set; then
6385   enableval="$enable_c99"
6386
6387       case "$enableval" in
6388        yes|no) ;;
6389        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6390 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6391    { (exit 1); exit 1; }; } ;;
6392       esac
6393
6394 else
6395   enable_c99=yes
6396 fi;
6397
6398
6399
6400
6401   ac_ext=cc
6402 ac_cpp='$CXXCPP $CPPFLAGS'
6403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6406
6407
6408   # Check for the existence of <math.h> functions used if C99 is enabled.
6409   ac_c99_math=yes;
6410   echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6411 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6412   cat >conftest.$ac_ext <<_ACEOF
6413 /* confdefs.h.  */
6414 _ACEOF
6415 cat confdefs.h >>conftest.$ac_ext
6416 cat >>conftest.$ac_ext <<_ACEOF
6417 /* end confdefs.h.  */
6418 #include <math.h>
6419 int
6420 main ()
6421 {
6422 fpclassify(0.0);
6423   ;
6424   return 0;
6425 }
6426 _ACEOF
6427 rm -f conftest.$ac_objext
6428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6429   (eval $ac_compile) 2>conftest.er1
6430   ac_status=$?
6431   grep -v '^ *+' conftest.er1 >conftest.err
6432   rm -f conftest.er1
6433   cat conftest.err >&5
6434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435   (exit $ac_status); } &&
6436          { ac_try='test -z "$ac_cxx_werror_flag"
6437                          || test ! -s conftest.err'
6438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6439   (eval $ac_try) 2>&5
6440   ac_status=$?
6441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6442   (exit $ac_status); }; } &&
6443          { ac_try='test -s conftest.$ac_objext'
6444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6445   (eval $ac_try) 2>&5
6446   ac_status=$?
6447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6448   (exit $ac_status); }; }; then
6449   :
6450 else
6451   echo "$as_me: failed program was:" >&5
6452 sed 's/^/| /' conftest.$ac_ext >&5
6453
6454 ac_c99_math=no
6455 fi
6456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6457   cat >conftest.$ac_ext <<_ACEOF
6458 /* confdefs.h.  */
6459 _ACEOF
6460 cat confdefs.h >>conftest.$ac_ext
6461 cat >>conftest.$ac_ext <<_ACEOF
6462 /* end confdefs.h.  */
6463 #include <math.h>
6464 int
6465 main ()
6466 {
6467 isfinite(0.0);
6468   ;
6469   return 0;
6470 }
6471 _ACEOF
6472 rm -f conftest.$ac_objext
6473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6474   (eval $ac_compile) 2>conftest.er1
6475   ac_status=$?
6476   grep -v '^ *+' conftest.er1 >conftest.err
6477   rm -f conftest.er1
6478   cat conftest.err >&5
6479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6480   (exit $ac_status); } &&
6481          { ac_try='test -z "$ac_cxx_werror_flag"
6482                          || test ! -s conftest.err'
6483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6484   (eval $ac_try) 2>&5
6485   ac_status=$?
6486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6487   (exit $ac_status); }; } &&
6488          { ac_try='test -s conftest.$ac_objext'
6489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6490   (eval $ac_try) 2>&5
6491   ac_status=$?
6492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6493   (exit $ac_status); }; }; then
6494   :
6495 else
6496   echo "$as_me: failed program was:" >&5
6497 sed 's/^/| /' conftest.$ac_ext >&5
6498
6499 ac_c99_math=no
6500 fi
6501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6502   cat >conftest.$ac_ext <<_ACEOF
6503 /* confdefs.h.  */
6504 _ACEOF
6505 cat confdefs.h >>conftest.$ac_ext
6506 cat >>conftest.$ac_ext <<_ACEOF
6507 /* end confdefs.h.  */
6508 #include <math.h>
6509 int
6510 main ()
6511 {
6512 isinf(0.0);
6513   ;
6514   return 0;
6515 }
6516 _ACEOF
6517 rm -f conftest.$ac_objext
6518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6519   (eval $ac_compile) 2>conftest.er1
6520   ac_status=$?
6521   grep -v '^ *+' conftest.er1 >conftest.err
6522   rm -f conftest.er1
6523   cat conftest.err >&5
6524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525   (exit $ac_status); } &&
6526          { ac_try='test -z "$ac_cxx_werror_flag"
6527                          || test ! -s conftest.err'
6528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6529   (eval $ac_try) 2>&5
6530   ac_status=$?
6531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6532   (exit $ac_status); }; } &&
6533          { ac_try='test -s conftest.$ac_objext'
6534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6535   (eval $ac_try) 2>&5
6536   ac_status=$?
6537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6538   (exit $ac_status); }; }; then
6539   :
6540 else
6541   echo "$as_me: failed program was:" >&5
6542 sed 's/^/| /' conftest.$ac_ext >&5
6543
6544 ac_c99_math=no
6545 fi
6546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6547   cat >conftest.$ac_ext <<_ACEOF
6548 /* confdefs.h.  */
6549 _ACEOF
6550 cat confdefs.h >>conftest.$ac_ext
6551 cat >>conftest.$ac_ext <<_ACEOF
6552 /* end confdefs.h.  */
6553 #include <math.h>
6554 int
6555 main ()
6556 {
6557 isnan(0.0);
6558   ;
6559   return 0;
6560 }
6561 _ACEOF
6562 rm -f conftest.$ac_objext
6563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6564   (eval $ac_compile) 2>conftest.er1
6565   ac_status=$?
6566   grep -v '^ *+' conftest.er1 >conftest.err
6567   rm -f conftest.er1
6568   cat conftest.err >&5
6569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6570   (exit $ac_status); } &&
6571          { ac_try='test -z "$ac_cxx_werror_flag"
6572                          || test ! -s conftest.err'
6573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6574   (eval $ac_try) 2>&5
6575   ac_status=$?
6576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6577   (exit $ac_status); }; } &&
6578          { ac_try='test -s conftest.$ac_objext'
6579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6580   (eval $ac_try) 2>&5
6581   ac_status=$?
6582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6583   (exit $ac_status); }; }; then
6584   :
6585 else
6586   echo "$as_me: failed program was:" >&5
6587 sed 's/^/| /' conftest.$ac_ext >&5
6588
6589 ac_c99_math=no
6590 fi
6591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6592   cat >conftest.$ac_ext <<_ACEOF
6593 /* confdefs.h.  */
6594 _ACEOF
6595 cat confdefs.h >>conftest.$ac_ext
6596 cat >>conftest.$ac_ext <<_ACEOF
6597 /* end confdefs.h.  */
6598 #include <math.h>
6599 int
6600 main ()
6601 {
6602 isnormal(0.0);
6603   ;
6604   return 0;
6605 }
6606 _ACEOF
6607 rm -f conftest.$ac_objext
6608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6609   (eval $ac_compile) 2>conftest.er1
6610   ac_status=$?
6611   grep -v '^ *+' conftest.er1 >conftest.err
6612   rm -f conftest.er1
6613   cat conftest.err >&5
6614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6615   (exit $ac_status); } &&
6616          { ac_try='test -z "$ac_cxx_werror_flag"
6617                          || test ! -s conftest.err'
6618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6619   (eval $ac_try) 2>&5
6620   ac_status=$?
6621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6622   (exit $ac_status); }; } &&
6623          { ac_try='test -s conftest.$ac_objext'
6624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6625   (eval $ac_try) 2>&5
6626   ac_status=$?
6627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6628   (exit $ac_status); }; }; then
6629   :
6630 else
6631   echo "$as_me: failed program was:" >&5
6632 sed 's/^/| /' conftest.$ac_ext >&5
6633
6634 ac_c99_math=no
6635 fi
6636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6637   cat >conftest.$ac_ext <<_ACEOF
6638 /* confdefs.h.  */
6639 _ACEOF
6640 cat confdefs.h >>conftest.$ac_ext
6641 cat >>conftest.$ac_ext <<_ACEOF
6642 /* end confdefs.h.  */
6643 #include <math.h>
6644 int
6645 main ()
6646 {
6647 signbit(0.0);
6648   ;
6649   return 0;
6650 }
6651 _ACEOF
6652 rm -f conftest.$ac_objext
6653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6654   (eval $ac_compile) 2>conftest.er1
6655   ac_status=$?
6656   grep -v '^ *+' conftest.er1 >conftest.err
6657   rm -f conftest.er1
6658   cat conftest.err >&5
6659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6660   (exit $ac_status); } &&
6661          { ac_try='test -z "$ac_cxx_werror_flag"
6662                          || test ! -s conftest.err'
6663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6664   (eval $ac_try) 2>&5
6665   ac_status=$?
6666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6667   (exit $ac_status); }; } &&
6668          { ac_try='test -s conftest.$ac_objext'
6669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6670   (eval $ac_try) 2>&5
6671   ac_status=$?
6672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6673   (exit $ac_status); }; }; then
6674   :
6675 else
6676   echo "$as_me: failed program was:" >&5
6677 sed 's/^/| /' conftest.$ac_ext >&5
6678
6679 ac_c99_math=no
6680 fi
6681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6682   cat >conftest.$ac_ext <<_ACEOF
6683 /* confdefs.h.  */
6684 _ACEOF
6685 cat confdefs.h >>conftest.$ac_ext
6686 cat >>conftest.$ac_ext <<_ACEOF
6687 /* end confdefs.h.  */
6688 #include <math.h>
6689 int
6690 main ()
6691 {
6692 isgreater(0.0,0.0);
6693   ;
6694   return 0;
6695 }
6696 _ACEOF
6697 rm -f conftest.$ac_objext
6698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6699   (eval $ac_compile) 2>conftest.er1
6700   ac_status=$?
6701   grep -v '^ *+' conftest.er1 >conftest.err
6702   rm -f conftest.er1
6703   cat conftest.err >&5
6704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6705   (exit $ac_status); } &&
6706          { ac_try='test -z "$ac_cxx_werror_flag"
6707                          || test ! -s conftest.err'
6708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6709   (eval $ac_try) 2>&5
6710   ac_status=$?
6711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6712   (exit $ac_status); }; } &&
6713          { ac_try='test -s conftest.$ac_objext'
6714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6715   (eval $ac_try) 2>&5
6716   ac_status=$?
6717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6718   (exit $ac_status); }; }; then
6719   :
6720 else
6721   echo "$as_me: failed program was:" >&5
6722 sed 's/^/| /' conftest.$ac_ext >&5
6723
6724 ac_c99_math=no
6725 fi
6726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6727   cat >conftest.$ac_ext <<_ACEOF
6728 /* confdefs.h.  */
6729 _ACEOF
6730 cat confdefs.h >>conftest.$ac_ext
6731 cat >>conftest.$ac_ext <<_ACEOF
6732 /* end confdefs.h.  */
6733 #include <math.h>
6734 int
6735 main ()
6736 {
6737 isgreaterequal(0.0,0.0);
6738   ;
6739   return 0;
6740 }
6741 _ACEOF
6742 rm -f conftest.$ac_objext
6743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6744   (eval $ac_compile) 2>conftest.er1
6745   ac_status=$?
6746   grep -v '^ *+' conftest.er1 >conftest.err
6747   rm -f conftest.er1
6748   cat conftest.err >&5
6749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6750   (exit $ac_status); } &&
6751          { ac_try='test -z "$ac_cxx_werror_flag"
6752                          || test ! -s conftest.err'
6753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6754   (eval $ac_try) 2>&5
6755   ac_status=$?
6756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6757   (exit $ac_status); }; } &&
6758          { ac_try='test -s conftest.$ac_objext'
6759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6760   (eval $ac_try) 2>&5
6761   ac_status=$?
6762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6763   (exit $ac_status); }; }; then
6764   :
6765 else
6766   echo "$as_me: failed program was:" >&5
6767 sed 's/^/| /' conftest.$ac_ext >&5
6768
6769 ac_c99_math=no
6770 fi
6771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6772   cat >conftest.$ac_ext <<_ACEOF
6773 /* confdefs.h.  */
6774 _ACEOF
6775 cat confdefs.h >>conftest.$ac_ext
6776 cat >>conftest.$ac_ext <<_ACEOF
6777 /* end confdefs.h.  */
6778 #include <math.h>
6779 int
6780 main ()
6781 {
6782 isless(0.0,0.0);
6783   ;
6784   return 0;
6785 }
6786 _ACEOF
6787 rm -f conftest.$ac_objext
6788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6789   (eval $ac_compile) 2>conftest.er1
6790   ac_status=$?
6791   grep -v '^ *+' conftest.er1 >conftest.err
6792   rm -f conftest.er1
6793   cat conftest.err >&5
6794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6795   (exit $ac_status); } &&
6796          { ac_try='test -z "$ac_cxx_werror_flag"
6797                          || test ! -s conftest.err'
6798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6799   (eval $ac_try) 2>&5
6800   ac_status=$?
6801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6802   (exit $ac_status); }; } &&
6803          { ac_try='test -s conftest.$ac_objext'
6804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6805   (eval $ac_try) 2>&5
6806   ac_status=$?
6807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6808   (exit $ac_status); }; }; then
6809   :
6810 else
6811   echo "$as_me: failed program was:" >&5
6812 sed 's/^/| /' conftest.$ac_ext >&5
6813
6814 ac_c99_math=no
6815 fi
6816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6817   cat >conftest.$ac_ext <<_ACEOF
6818 /* confdefs.h.  */
6819 _ACEOF
6820 cat confdefs.h >>conftest.$ac_ext
6821 cat >>conftest.$ac_ext <<_ACEOF
6822 /* end confdefs.h.  */
6823 #include <math.h>
6824 int
6825 main ()
6826 {
6827 islessequal(0.0,0.0);
6828   ;
6829   return 0;
6830 }
6831 _ACEOF
6832 rm -f conftest.$ac_objext
6833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6834   (eval $ac_compile) 2>conftest.er1
6835   ac_status=$?
6836   grep -v '^ *+' conftest.er1 >conftest.err
6837   rm -f conftest.er1
6838   cat conftest.err >&5
6839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6840   (exit $ac_status); } &&
6841          { ac_try='test -z "$ac_cxx_werror_flag"
6842                          || test ! -s conftest.err'
6843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6844   (eval $ac_try) 2>&5
6845   ac_status=$?
6846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6847   (exit $ac_status); }; } &&
6848          { ac_try='test -s conftest.$ac_objext'
6849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6850   (eval $ac_try) 2>&5
6851   ac_status=$?
6852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6853   (exit $ac_status); }; }; then
6854   :
6855 else
6856   echo "$as_me: failed program was:" >&5
6857 sed 's/^/| /' conftest.$ac_ext >&5
6858
6859 ac_c99_math=no
6860 fi
6861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6862   cat >conftest.$ac_ext <<_ACEOF
6863 /* confdefs.h.  */
6864 _ACEOF
6865 cat confdefs.h >>conftest.$ac_ext
6866 cat >>conftest.$ac_ext <<_ACEOF
6867 /* end confdefs.h.  */
6868 #include <math.h>
6869 int
6870 main ()
6871 {
6872 islessgreater(0.0,0.0);
6873   ;
6874   return 0;
6875 }
6876 _ACEOF
6877 rm -f conftest.$ac_objext
6878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6879   (eval $ac_compile) 2>conftest.er1
6880   ac_status=$?
6881   grep -v '^ *+' conftest.er1 >conftest.err
6882   rm -f conftest.er1
6883   cat conftest.err >&5
6884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6885   (exit $ac_status); } &&
6886          { ac_try='test -z "$ac_cxx_werror_flag"
6887                          || test ! -s conftest.err'
6888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6889   (eval $ac_try) 2>&5
6890   ac_status=$?
6891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6892   (exit $ac_status); }; } &&
6893          { ac_try='test -s conftest.$ac_objext'
6894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6895   (eval $ac_try) 2>&5
6896   ac_status=$?
6897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6898   (exit $ac_status); }; }; then
6899   :
6900 else
6901   echo "$as_me: failed program was:" >&5
6902 sed 's/^/| /' conftest.$ac_ext >&5
6903
6904 ac_c99_math=no
6905 fi
6906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6907   cat >conftest.$ac_ext <<_ACEOF
6908 /* confdefs.h.  */
6909 _ACEOF
6910 cat confdefs.h >>conftest.$ac_ext
6911 cat >>conftest.$ac_ext <<_ACEOF
6912 /* end confdefs.h.  */
6913 #include <math.h>
6914 int
6915 main ()
6916 {
6917 isunordered(0.0,0.0);
6918   ;
6919   return 0;
6920 }
6921 _ACEOF
6922 rm -f conftest.$ac_objext
6923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6924   (eval $ac_compile) 2>conftest.er1
6925   ac_status=$?
6926   grep -v '^ *+' conftest.er1 >conftest.err
6927   rm -f conftest.er1
6928   cat conftest.err >&5
6929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6930   (exit $ac_status); } &&
6931          { ac_try='test -z "$ac_cxx_werror_flag"
6932                          || test ! -s conftest.err'
6933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6934   (eval $ac_try) 2>&5
6935   ac_status=$?
6936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6937   (exit $ac_status); }; } &&
6938          { ac_try='test -s conftest.$ac_objext'
6939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6940   (eval $ac_try) 2>&5
6941   ac_status=$?
6942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6943   (exit $ac_status); }; }; then
6944   :
6945 else
6946   echo "$as_me: failed program was:" >&5
6947 sed 's/^/| /' conftest.$ac_ext >&5
6948
6949 ac_c99_math=no
6950 fi
6951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6952   echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6953 echo "${ECHO_T}$ac_c99_math" >&6
6954
6955   if test x"$ac_c99_math" = x"yes"; then
6956     cat >>confdefs.h <<\_ACEOF
6957 #define _GLIBCXX_USE_C99_MATH 1
6958 _ACEOF
6959
6960   fi
6961
6962   # Check for the existence in <stdio.h> of vscanf, et. al.
6963   ac_c99_stdio=yes;
6964   echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6965 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6966   cat >conftest.$ac_ext <<_ACEOF
6967 /* confdefs.h.  */
6968 _ACEOF
6969 cat confdefs.h >>conftest.$ac_ext
6970 cat >>conftest.$ac_ext <<_ACEOF
6971 /* end confdefs.h.  */
6972 #include <stdio.h>
6973 int
6974 main ()
6975 {
6976 snprintf("12", 0, "%i");
6977   ;
6978   return 0;
6979 }
6980 _ACEOF
6981 rm -f conftest.$ac_objext
6982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6983   (eval $ac_compile) 2>conftest.er1
6984   ac_status=$?
6985   grep -v '^ *+' conftest.er1 >conftest.err
6986   rm -f conftest.er1
6987   cat conftest.err >&5
6988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6989   (exit $ac_status); } &&
6990          { ac_try='test -z "$ac_cxx_werror_flag"
6991                          || test ! -s conftest.err'
6992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6993   (eval $ac_try) 2>&5
6994   ac_status=$?
6995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6996   (exit $ac_status); }; } &&
6997          { ac_try='test -s conftest.$ac_objext'
6998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6999   (eval $ac_try) 2>&5
7000   ac_status=$?
7001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7002   (exit $ac_status); }; }; then
7003   :
7004 else
7005   echo "$as_me: failed program was:" >&5
7006 sed 's/^/| /' conftest.$ac_ext >&5
7007
7008 ac_c99_stdio=no
7009 fi
7010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7011   cat >conftest.$ac_ext <<_ACEOF
7012 /* confdefs.h.  */
7013 _ACEOF
7014 cat confdefs.h >>conftest.$ac_ext
7015 cat >>conftest.$ac_ext <<_ACEOF
7016 /* end confdefs.h.  */
7017 #include <stdio.h>
7018                   #include <stdarg.h>
7019                   void foo(char* fmt, ...)
7020                   {va_list args; va_start(args, fmt);
7021                   vfscanf(stderr, "%i", args);}
7022 int
7023 main ()
7024 {
7025
7026   ;
7027   return 0;
7028 }
7029 _ACEOF
7030 rm -f conftest.$ac_objext
7031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7032   (eval $ac_compile) 2>conftest.er1
7033   ac_status=$?
7034   grep -v '^ *+' conftest.er1 >conftest.err
7035   rm -f conftest.er1
7036   cat conftest.err >&5
7037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7038   (exit $ac_status); } &&
7039          { ac_try='test -z "$ac_cxx_werror_flag"
7040                          || test ! -s conftest.err'
7041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7042   (eval $ac_try) 2>&5
7043   ac_status=$?
7044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7045   (exit $ac_status); }; } &&
7046          { ac_try='test -s conftest.$ac_objext'
7047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7048   (eval $ac_try) 2>&5
7049   ac_status=$?
7050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7051   (exit $ac_status); }; }; then
7052   :
7053 else
7054   echo "$as_me: failed program was:" >&5
7055 sed 's/^/| /' conftest.$ac_ext >&5
7056
7057 ac_c99_stdio=no
7058 fi
7059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7060   cat >conftest.$ac_ext <<_ACEOF
7061 /* confdefs.h.  */
7062 _ACEOF
7063 cat confdefs.h >>conftest.$ac_ext
7064 cat >>conftest.$ac_ext <<_ACEOF
7065 /* end confdefs.h.  */
7066 #include <stdio.h>
7067                   #include <stdarg.h>
7068                   void foo(char* fmt, ...)
7069                   {va_list args; va_start(args, fmt);
7070                   vscanf("%i", args);}
7071 int
7072 main ()
7073 {
7074
7075   ;
7076   return 0;
7077 }
7078 _ACEOF
7079 rm -f conftest.$ac_objext
7080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7081   (eval $ac_compile) 2>conftest.er1
7082   ac_status=$?
7083   grep -v '^ *+' conftest.er1 >conftest.err
7084   rm -f conftest.er1
7085   cat conftest.err >&5
7086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7087   (exit $ac_status); } &&
7088          { ac_try='test -z "$ac_cxx_werror_flag"
7089                          || test ! -s conftest.err'
7090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7091   (eval $ac_try) 2>&5
7092   ac_status=$?
7093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7094   (exit $ac_status); }; } &&
7095          { ac_try='test -s conftest.$ac_objext'
7096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7097   (eval $ac_try) 2>&5
7098   ac_status=$?
7099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7100   (exit $ac_status); }; }; then
7101   :
7102 else
7103   echo "$as_me: failed program was:" >&5
7104 sed 's/^/| /' conftest.$ac_ext >&5
7105
7106 ac_c99_stdio=no
7107 fi
7108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7109   cat >conftest.$ac_ext <<_ACEOF
7110 /* confdefs.h.  */
7111 _ACEOF
7112 cat confdefs.h >>conftest.$ac_ext
7113 cat >>conftest.$ac_ext <<_ACEOF
7114 /* end confdefs.h.  */
7115 #include <stdio.h>
7116                   #include <stdarg.h>
7117                   void foo(char* fmt, ...)
7118                   {va_list args; va_start(args, fmt);
7119                   vsnprintf(fmt, 0, "%i", args);}
7120 int
7121 main ()
7122 {
7123
7124   ;
7125   return 0;
7126 }
7127 _ACEOF
7128 rm -f conftest.$ac_objext
7129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7130   (eval $ac_compile) 2>conftest.er1
7131   ac_status=$?
7132   grep -v '^ *+' conftest.er1 >conftest.err
7133   rm -f conftest.er1
7134   cat conftest.err >&5
7135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7136   (exit $ac_status); } &&
7137          { ac_try='test -z "$ac_cxx_werror_flag"
7138                          || test ! -s conftest.err'
7139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7140   (eval $ac_try) 2>&5
7141   ac_status=$?
7142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7143   (exit $ac_status); }; } &&
7144          { ac_try='test -s conftest.$ac_objext'
7145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7146   (eval $ac_try) 2>&5
7147   ac_status=$?
7148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7149   (exit $ac_status); }; }; then
7150   :
7151 else
7152   echo "$as_me: failed program was:" >&5
7153 sed 's/^/| /' conftest.$ac_ext >&5
7154
7155 ac_c99_stdio=no
7156 fi
7157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7158   cat >conftest.$ac_ext <<_ACEOF
7159 /* confdefs.h.  */
7160 _ACEOF
7161 cat confdefs.h >>conftest.$ac_ext
7162 cat >>conftest.$ac_ext <<_ACEOF
7163 /* end confdefs.h.  */
7164 #include <stdio.h>
7165                   #include <stdarg.h>
7166                   void foo(char* fmt, ...)
7167                   {va_list args; va_start(args, fmt);
7168                   vsscanf(fmt, "%i", args);}
7169 int
7170 main ()
7171 {
7172
7173   ;
7174   return 0;
7175 }
7176 _ACEOF
7177 rm -f conftest.$ac_objext
7178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7179   (eval $ac_compile) 2>conftest.er1
7180   ac_status=$?
7181   grep -v '^ *+' conftest.er1 >conftest.err
7182   rm -f conftest.er1
7183   cat conftest.err >&5
7184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7185   (exit $ac_status); } &&
7186          { ac_try='test -z "$ac_cxx_werror_flag"
7187                          || test ! -s conftest.err'
7188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7189   (eval $ac_try) 2>&5
7190   ac_status=$?
7191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7192   (exit $ac_status); }; } &&
7193          { ac_try='test -s conftest.$ac_objext'
7194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7195   (eval $ac_try) 2>&5
7196   ac_status=$?
7197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7198   (exit $ac_status); }; }; then
7199   :
7200 else
7201   echo "$as_me: failed program was:" >&5
7202 sed 's/^/| /' conftest.$ac_ext >&5
7203
7204 ac_c99_stdio=no
7205 fi
7206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7207   echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7208 echo "${ECHO_T}$ac_c99_stdio" >&6
7209
7210   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7211   ac_c99_stdlib=yes;
7212   echo "$as_me:$LINENO: checking for lldiv_t declaration" >&5
7213 echo $ECHO_N "checking for lldiv_t declaration... $ECHO_C" >&6
7214   if test "${ac_c99_lldiv_t+set}" = set; then
7215   echo $ECHO_N "(cached) $ECHO_C" >&6
7216 else
7217
7218   cat >conftest.$ac_ext <<_ACEOF
7219 /* confdefs.h.  */
7220 _ACEOF
7221 cat confdefs.h >>conftest.$ac_ext
7222 cat >>conftest.$ac_ext <<_ACEOF
7223 /* end confdefs.h.  */
7224 #include <stdlib.h>
7225 int
7226 main ()
7227 {
7228  lldiv_t mydivt;
7229   ;
7230   return 0;
7231 }
7232 _ACEOF
7233 rm -f conftest.$ac_objext
7234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7235   (eval $ac_compile) 2>conftest.er1
7236   ac_status=$?
7237   grep -v '^ *+' conftest.er1 >conftest.err
7238   rm -f conftest.er1
7239   cat conftest.err >&5
7240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7241   (exit $ac_status); } &&
7242          { ac_try='test -z "$ac_cxx_werror_flag"
7243                          || test ! -s conftest.err'
7244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7245   (eval $ac_try) 2>&5
7246   ac_status=$?
7247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7248   (exit $ac_status); }; } &&
7249          { ac_try='test -s conftest.$ac_objext'
7250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7251   (eval $ac_try) 2>&5
7252   ac_status=$?
7253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7254   (exit $ac_status); }; }; then
7255   ac_c99_lldiv_t=yes
7256 else
7257   echo "$as_me: failed program was:" >&5
7258 sed 's/^/| /' conftest.$ac_ext >&5
7259
7260 ac_c99_lldiv_t=no
7261 fi
7262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7263
7264 fi
7265
7266   echo "$as_me:$LINENO: result: $ac_c99_lldiv_t" >&5
7267 echo "${ECHO_T}$ac_c99_lldiv_t" >&6
7268
7269   echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7270 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7271   cat >conftest.$ac_ext <<_ACEOF
7272 /* confdefs.h.  */
7273 _ACEOF
7274 cat confdefs.h >>conftest.$ac_ext
7275 cat >>conftest.$ac_ext <<_ACEOF
7276 /* end confdefs.h.  */
7277 #include <stdlib.h>
7278 int
7279 main ()
7280 {
7281 char* tmp; strtof("gnu", &tmp);
7282   ;
7283   return 0;
7284 }
7285 _ACEOF
7286 rm -f conftest.$ac_objext
7287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7288   (eval $ac_compile) 2>conftest.er1
7289   ac_status=$?
7290   grep -v '^ *+' conftest.er1 >conftest.err
7291   rm -f conftest.er1
7292   cat conftest.err >&5
7293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7294   (exit $ac_status); } &&
7295          { ac_try='test -z "$ac_cxx_werror_flag"
7296                          || test ! -s conftest.err'
7297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7298   (eval $ac_try) 2>&5
7299   ac_status=$?
7300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7301   (exit $ac_status); }; } &&
7302          { ac_try='test -s conftest.$ac_objext'
7303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7304   (eval $ac_try) 2>&5
7305   ac_status=$?
7306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7307   (exit $ac_status); }; }; then
7308   :
7309 else
7310   echo "$as_me: failed program was:" >&5
7311 sed 's/^/| /' conftest.$ac_ext >&5
7312
7313 ac_c99_stdlib=no
7314 fi
7315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7316   cat >conftest.$ac_ext <<_ACEOF
7317 /* confdefs.h.  */
7318 _ACEOF
7319 cat confdefs.h >>conftest.$ac_ext
7320 cat >>conftest.$ac_ext <<_ACEOF
7321 /* end confdefs.h.  */
7322 #include <stdlib.h>
7323 int
7324 main ()
7325 {
7326 char* tmp; strtold("gnu", &tmp);
7327   ;
7328   return 0;
7329 }
7330 _ACEOF
7331 rm -f conftest.$ac_objext
7332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7333   (eval $ac_compile) 2>conftest.er1
7334   ac_status=$?
7335   grep -v '^ *+' conftest.er1 >conftest.err
7336   rm -f conftest.er1
7337   cat conftest.err >&5
7338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7339   (exit $ac_status); } &&
7340          { ac_try='test -z "$ac_cxx_werror_flag"
7341                          || test ! -s conftest.err'
7342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7343   (eval $ac_try) 2>&5
7344   ac_status=$?
7345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7346   (exit $ac_status); }; } &&
7347          { ac_try='test -s conftest.$ac_objext'
7348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7349   (eval $ac_try) 2>&5
7350   ac_status=$?
7351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7352   (exit $ac_status); }; }; then
7353   :
7354 else
7355   echo "$as_me: failed program was:" >&5
7356 sed 's/^/| /' conftest.$ac_ext >&5
7357
7358 ac_c99_stdlib=no
7359 fi
7360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7361   cat >conftest.$ac_ext <<_ACEOF
7362 /* confdefs.h.  */
7363 _ACEOF
7364 cat confdefs.h >>conftest.$ac_ext
7365 cat >>conftest.$ac_ext <<_ACEOF
7366 /* end confdefs.h.  */
7367 #include <stdlib.h>
7368 int
7369 main ()
7370 {
7371 llabs(10);
7372   ;
7373   return 0;
7374 }
7375 _ACEOF
7376 rm -f conftest.$ac_objext
7377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7378   (eval $ac_compile) 2>conftest.er1
7379   ac_status=$?
7380   grep -v '^ *+' conftest.er1 >conftest.err
7381   rm -f conftest.er1
7382   cat conftest.err >&5
7383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384   (exit $ac_status); } &&
7385          { ac_try='test -z "$ac_cxx_werror_flag"
7386                          || test ! -s conftest.err'
7387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7388   (eval $ac_try) 2>&5
7389   ac_status=$?
7390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7391   (exit $ac_status); }; } &&
7392          { ac_try='test -s conftest.$ac_objext'
7393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7394   (eval $ac_try) 2>&5
7395   ac_status=$?
7396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7397   (exit $ac_status); }; }; then
7398   :
7399 else
7400   echo "$as_me: failed program was:" >&5
7401 sed 's/^/| /' conftest.$ac_ext >&5
7402
7403 ac_c99_stdlib=no
7404 fi
7405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7406   cat >conftest.$ac_ext <<_ACEOF
7407 /* confdefs.h.  */
7408 _ACEOF
7409 cat confdefs.h >>conftest.$ac_ext
7410 cat >>conftest.$ac_ext <<_ACEOF
7411 /* end confdefs.h.  */
7412 #include <stdlib.h>
7413 int
7414 main ()
7415 {
7416 lldiv(10,1);
7417   ;
7418   return 0;
7419 }
7420 _ACEOF
7421 rm -f conftest.$ac_objext
7422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7423   (eval $ac_compile) 2>conftest.er1
7424   ac_status=$?
7425   grep -v '^ *+' conftest.er1 >conftest.err
7426   rm -f conftest.er1
7427   cat conftest.err >&5
7428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7429   (exit $ac_status); } &&
7430          { ac_try='test -z "$ac_cxx_werror_flag"
7431                          || test ! -s conftest.err'
7432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7433   (eval $ac_try) 2>&5
7434   ac_status=$?
7435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7436   (exit $ac_status); }; } &&
7437          { ac_try='test -s conftest.$ac_objext'
7438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7439   (eval $ac_try) 2>&5
7440   ac_status=$?
7441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7442   (exit $ac_status); }; }; then
7443   :
7444 else
7445   echo "$as_me: failed program was:" >&5
7446 sed 's/^/| /' conftest.$ac_ext >&5
7447
7448 ac_c99_stdlib=no
7449 fi
7450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7451   cat >conftest.$ac_ext <<_ACEOF
7452 /* confdefs.h.  */
7453 _ACEOF
7454 cat confdefs.h >>conftest.$ac_ext
7455 cat >>conftest.$ac_ext <<_ACEOF
7456 /* end confdefs.h.  */
7457 #include <stdlib.h>
7458 int
7459 main ()
7460 {
7461 atoll("10");
7462   ;
7463   return 0;
7464 }
7465 _ACEOF
7466 rm -f conftest.$ac_objext
7467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7468   (eval $ac_compile) 2>conftest.er1
7469   ac_status=$?
7470   grep -v '^ *+' conftest.er1 >conftest.err
7471   rm -f conftest.er1
7472   cat conftest.err >&5
7473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7474   (exit $ac_status); } &&
7475          { ac_try='test -z "$ac_cxx_werror_flag"
7476                          || test ! -s conftest.err'
7477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7478   (eval $ac_try) 2>&5
7479   ac_status=$?
7480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7481   (exit $ac_status); }; } &&
7482          { ac_try='test -s conftest.$ac_objext'
7483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7484   (eval $ac_try) 2>&5
7485   ac_status=$?
7486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7487   (exit $ac_status); }; }; then
7488   :
7489 else
7490   echo "$as_me: failed program was:" >&5
7491 sed 's/^/| /' conftest.$ac_ext >&5
7492
7493 ac_c99_stdlib=no
7494 fi
7495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7496   cat >conftest.$ac_ext <<_ACEOF
7497 /* confdefs.h.  */
7498 _ACEOF
7499 cat confdefs.h >>conftest.$ac_ext
7500 cat >>conftest.$ac_ext <<_ACEOF
7501 /* end confdefs.h.  */
7502 #include <stdlib.h>
7503 int
7504 main ()
7505 {
7506 _Exit(0);
7507   ;
7508   return 0;
7509 }
7510 _ACEOF
7511 rm -f conftest.$ac_objext
7512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7513   (eval $ac_compile) 2>conftest.er1
7514   ac_status=$?
7515   grep -v '^ *+' conftest.er1 >conftest.err
7516   rm -f conftest.er1
7517   cat conftest.err >&5
7518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7519   (exit $ac_status); } &&
7520          { ac_try='test -z "$ac_cxx_werror_flag"
7521                          || test ! -s conftest.err'
7522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7523   (eval $ac_try) 2>&5
7524   ac_status=$?
7525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7526   (exit $ac_status); }; } &&
7527          { ac_try='test -s conftest.$ac_objext'
7528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7529   (eval $ac_try) 2>&5
7530   ac_status=$?
7531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532   (exit $ac_status); }; }; then
7533   :
7534 else
7535   echo "$as_me: failed program was:" >&5
7536 sed 's/^/| /' conftest.$ac_ext >&5
7537
7538 ac_c99_stdlib=no
7539 fi
7540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7541   if test x"$ac_c99_lldiv_t" = x"no"; then
7542     ac_c99_stdlib=no;
7543   fi;
7544   echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7545 echo "${ECHO_T}$ac_c99_stdlib" >&6
7546
7547   # Check for the existence of <wchar.h> functions used if C99 is enabled.
7548   # XXX the wchar.h checks should be rolled into the general C99 bits.
7549   ac_c99_wchar=yes;
7550   echo "$as_me:$LINENO: checking for additional ISO C99 support in <wchar.h>" >&5
7551 echo $ECHO_N "checking for additional ISO C99 support in <wchar.h>... $ECHO_C" >&6
7552   cat >conftest.$ac_ext <<_ACEOF
7553 /* confdefs.h.  */
7554 _ACEOF
7555 cat confdefs.h >>conftest.$ac_ext
7556 cat >>conftest.$ac_ext <<_ACEOF
7557 /* end confdefs.h.  */
7558 #include <wchar.h>
7559 int
7560 main ()
7561 {
7562 wcstold(L"10.0", NULL);
7563   ;
7564   return 0;
7565 }
7566 _ACEOF
7567 rm -f conftest.$ac_objext
7568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7569   (eval $ac_compile) 2>conftest.er1
7570   ac_status=$?
7571   grep -v '^ *+' conftest.er1 >conftest.err
7572   rm -f conftest.er1
7573   cat conftest.err >&5
7574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7575   (exit $ac_status); } &&
7576          { ac_try='test -z "$ac_cxx_werror_flag"
7577                          || test ! -s conftest.err'
7578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7579   (eval $ac_try) 2>&5
7580   ac_status=$?
7581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7582   (exit $ac_status); }; } &&
7583          { ac_try='test -s conftest.$ac_objext'
7584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7585   (eval $ac_try) 2>&5
7586   ac_status=$?
7587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7588   (exit $ac_status); }; }; then
7589   :
7590 else
7591   echo "$as_me: failed program was:" >&5
7592 sed 's/^/| /' conftest.$ac_ext >&5
7593
7594 ac_c99_wchar=no
7595 fi
7596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7597   cat >conftest.$ac_ext <<_ACEOF
7598 /* confdefs.h.  */
7599 _ACEOF
7600 cat confdefs.h >>conftest.$ac_ext
7601 cat >>conftest.$ac_ext <<_ACEOF
7602 /* end confdefs.h.  */
7603 #include <wchar.h>
7604 int
7605 main ()
7606 {
7607 wcstoll(L"10", NULL, 10);
7608   ;
7609   return 0;
7610 }
7611 _ACEOF
7612 rm -f conftest.$ac_objext
7613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7614   (eval $ac_compile) 2>conftest.er1
7615   ac_status=$?
7616   grep -v '^ *+' conftest.er1 >conftest.err
7617   rm -f conftest.er1
7618   cat conftest.err >&5
7619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7620   (exit $ac_status); } &&
7621          { ac_try='test -z "$ac_cxx_werror_flag"
7622                          || test ! -s conftest.err'
7623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7624   (eval $ac_try) 2>&5
7625   ac_status=$?
7626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7627   (exit $ac_status); }; } &&
7628          { ac_try='test -s conftest.$ac_objext'
7629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7630   (eval $ac_try) 2>&5
7631   ac_status=$?
7632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7633   (exit $ac_status); }; }; then
7634   :
7635 else
7636   echo "$as_me: failed program was:" >&5
7637 sed 's/^/| /' conftest.$ac_ext >&5
7638
7639 ac_c99_wchar=no
7640 fi
7641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7642   cat >conftest.$ac_ext <<_ACEOF
7643 /* confdefs.h.  */
7644 _ACEOF
7645 cat confdefs.h >>conftest.$ac_ext
7646 cat >>conftest.$ac_ext <<_ACEOF
7647 /* end confdefs.h.  */
7648 #include <wchar.h>
7649 int
7650 main ()
7651 {
7652 wcstoull(L"10", NULL, 10);
7653   ;
7654   return 0;
7655 }
7656 _ACEOF
7657 rm -f conftest.$ac_objext
7658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7659   (eval $ac_compile) 2>conftest.er1
7660   ac_status=$?
7661   grep -v '^ *+' conftest.er1 >conftest.err
7662   rm -f conftest.er1
7663   cat conftest.err >&5
7664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7665   (exit $ac_status); } &&
7666          { ac_try='test -z "$ac_cxx_werror_flag"
7667                          || test ! -s conftest.err'
7668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7669   (eval $ac_try) 2>&5
7670   ac_status=$?
7671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7672   (exit $ac_status); }; } &&
7673          { ac_try='test -s conftest.$ac_objext'
7674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7675   (eval $ac_try) 2>&5
7676   ac_status=$?
7677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7678   (exit $ac_status); }; }; then
7679   :
7680 else
7681   echo "$as_me: failed program was:" >&5
7682 sed 's/^/| /' conftest.$ac_ext >&5
7683
7684 ac_c99_wchar=no
7685 fi
7686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7687   echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7688 echo "${ECHO_T}$ac_c99_wchar" >&6
7689
7690   echo "$as_me:$LINENO: checking for enabled ISO C99 support" >&5
7691 echo $ECHO_N "checking for enabled ISO C99 support... $ECHO_C" >&6
7692   if test x"$ac_c99_math" = x"no" ||
7693      test x"$ac_c99_stdio" = x"no" ||
7694      test x"$ac_c99_stdlib" = x"no" ||
7695      test x"$ac_c99_wchar" = x"no"; then
7696     enable_c99=no;
7697   fi;
7698   echo "$as_me:$LINENO: result: $enable_c99" >&5
7699 echo "${ECHO_T}$enable_c99" >&6
7700
7701   if test x"$ac_99_math" = x"yes"; then
7702     cat >>confdefs.h <<\_ACEOF
7703 #define _GLIBCXX_USE_C99_MATH 1
7704 _ACEOF
7705
7706   fi
7707
7708   # Option parsed, now set things appropriately
7709   if test x"$enable_c99" = x"yes"; then
7710     cat >>confdefs.h <<\_ACEOF
7711 #define _GLIBCXX_USE_C99 1
7712 _ACEOF
7713
7714   fi
7715
7716   ac_ext=c
7717 ac_cpp='$CPP $CPPFLAGS'
7718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7721
7722
7723
7724    # Check whether --enable-long-long or --disable-long-long was given.
7725 if test "${enable_long_long+set}" = set; then
7726   enableval="$enable_long_long"
7727
7728       case "$enableval" in
7729        yes|no) ;;
7730        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7731 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7732    { (exit 1); exit 1; }; } ;;
7733       esac
7734
7735 else
7736   enable_long_long=yes
7737 fi;
7738
7739   if test $enable_long_long = yes; then
7740     cat >>confdefs.h <<\_ACEOF
7741 #define _GLIBCXX_USE_LONG_LONG 1
7742 _ACEOF
7743
7744   fi
7745
7746
7747   echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7748 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7749   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7750   echo "$as_me:$LINENO: result: $target_thread_file" >&5
7751 echo "${ECHO_T}$target_thread_file" >&6
7752
7753   if test $target_thread_file != single; then
7754     cat >>confdefs.h <<\_ACEOF
7755 #define HAVE_GTHR_DEFAULT 1
7756 _ACEOF
7757
7758   fi
7759
7760   glibcxx_thread_h=gthr-$target_thread_file.h
7761
7762     gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
7763   if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
7764     enable_thread=yes
7765   else
7766    enable_thread=no
7767   fi
7768
7769
7770
7771
7772    # Check whether --enable-concept-checks or --disable-concept-checks was given.
7773 if test "${enable_concept_checks+set}" = set; then
7774   enableval="$enable_concept_checks"
7775
7776       case "$enableval" in
7777        yes|no) ;;
7778        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7779 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7780    { (exit 1); exit 1; }; } ;;
7781       esac
7782
7783 else
7784   enable_concept_checks=no
7785 fi;
7786
7787   if test $enable_concept_checks = yes; then
7788     cat >>confdefs.h <<\_ACEOF
7789 #define _GLIBCXX_CONCEPT_CHECKS 1
7790 _ACEOF
7791
7792   fi
7793
7794
7795    # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7796 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7797   enableval="$enable_libstdcxx_debug_flags"
7798   case "x$enable_libstdcxx_debug_flags" in
7799       xno | x)    enable_libstdcxx_debug_flags= ;;
7800       x-*)        ;;
7801       *)          { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7802 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7803    { (exit 1); exit 1; }; } ;;
7804      esac
7805 else
7806   enable_libstdcxx_debug_flags="-g3 -O0"
7807 fi;
7808
7809
7810   # Option parsed, now set things appropriately
7811   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7812
7813
7814   { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7815 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7816
7817
7818   echo "$as_me:$LINENO: checking for additional debug build" >&5
7819 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7820    # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7821 if test "${enable_libstdcxx_debug+set}" = set; then
7822   enableval="$enable_libstdcxx_debug"
7823
7824       case "$enableval" in
7825        yes|no) ;;
7826        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7827 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7828    { (exit 1); exit 1; }; } ;;
7829       esac
7830
7831 else
7832   enable_libstdcxx_debug=no
7833 fi;
7834
7835   echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7836 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7837
7838
7839   echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7840 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7841    # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7842 if test "${enable_cxx_flags+set}" = set; then
7843   enableval="$enable_cxx_flags"
7844   case "x$enable_cxx_flags" in
7845       xno | x)   enable_cxx_flags= ;;
7846       x-*)       ;;
7847       *)         { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7848 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7849    { (exit 1); exit 1; }; } ;;
7850      esac
7851 else
7852   enable_cxx_flags=
7853 fi;
7854
7855
7856   # Run through flags (either default or command-line) and set anything
7857   # extra (e.g., #defines) that must accompany particular g++ options.
7858   if test -n "$enable_cxx_flags"; then
7859     for f in $enable_cxx_flags; do
7860       case "$f" in
7861         -fhonor-std)  ;;
7862         -*)  ;;
7863         *)   # and we're trying to pass /what/ exactly?
7864              { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7865 echo "$as_me: error: compiler flags start with a -" >&2;}
7866    { (exit 1); exit 1; }; } ;;
7867       esac
7868     done
7869   fi
7870
7871   EXTRA_CXX_FLAGS="$enable_cxx_flags"
7872   echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7873 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7874
7875
7876
7877    # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7878 if test "${enable_fully_dynamic_string+set}" = set; then
7879   enableval="$enable_fully_dynamic_string"
7880
7881       case "$enableval" in
7882        yes|no) ;;
7883        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7884 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7885    { (exit 1); exit 1; }; } ;;
7886       esac
7887
7888 else
7889   enable_fully_dynamic_string=no
7890 fi;
7891
7892   if test $enable_fully_dynamic_string = yes; then
7893     cat >>confdefs.h <<\_ACEOF
7894 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7895 _ACEOF
7896
7897   fi
7898
7899
7900 # No surprises, no surprises...
7901 if test $atomicity_dir = cpu/generic ; then
7902   { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7903 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7904   if test $target_thread_file = single; then
7905     { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7906 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7907     { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7908 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7909   else
7910     { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7911 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7912     { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7913 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7914   fi
7915 fi
7916
7917
7918 if $GLIBCXX_IS_NATIVE; then
7919
7920   # We can do more elaborate tests that assume a working linker.
7921   CANADIAN=no
7922
7923   # Check for available headers.
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7938   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7939   sys/types.h
7940 do
7941 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7943   echo "$as_me:$LINENO: checking for $ac_header" >&5
7944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7945 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7946   echo $ECHO_N "(cached) $ECHO_C" >&6
7947 fi
7948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7949 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7950 else
7951   # Is the header compilable?
7952 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7953 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7954 cat >conftest.$ac_ext <<_ACEOF
7955 /* confdefs.h.  */
7956 _ACEOF
7957 cat confdefs.h >>conftest.$ac_ext
7958 cat >>conftest.$ac_ext <<_ACEOF
7959 /* end confdefs.h.  */
7960 $ac_includes_default
7961 #include <$ac_header>
7962 _ACEOF
7963 rm -f conftest.$ac_objext
7964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7965   (eval $ac_compile) 2>conftest.er1
7966   ac_status=$?
7967   grep -v '^ *+' conftest.er1 >conftest.err
7968   rm -f conftest.er1
7969   cat conftest.err >&5
7970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7971   (exit $ac_status); } &&
7972          { ac_try='test -z "$ac_c_werror_flag"
7973                          || test ! -s conftest.err'
7974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7975   (eval $ac_try) 2>&5
7976   ac_status=$?
7977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7978   (exit $ac_status); }; } &&
7979          { ac_try='test -s conftest.$ac_objext'
7980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7981   (eval $ac_try) 2>&5
7982   ac_status=$?
7983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7984   (exit $ac_status); }; }; then
7985   ac_header_compiler=yes
7986 else
7987   echo "$as_me: failed program was:" >&5
7988 sed 's/^/| /' conftest.$ac_ext >&5
7989
7990 ac_header_compiler=no
7991 fi
7992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7993 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7994 echo "${ECHO_T}$ac_header_compiler" >&6
7995
7996 # Is the header present?
7997 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7998 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7999 cat >conftest.$ac_ext <<_ACEOF
8000 /* confdefs.h.  */
8001 _ACEOF
8002 cat confdefs.h >>conftest.$ac_ext
8003 cat >>conftest.$ac_ext <<_ACEOF
8004 /* end confdefs.h.  */
8005 #include <$ac_header>
8006 _ACEOF
8007 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8008   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8009   ac_status=$?
8010   grep -v '^ *+' conftest.er1 >conftest.err
8011   rm -f conftest.er1
8012   cat conftest.err >&5
8013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8014   (exit $ac_status); } >/dev/null; then
8015   if test -s conftest.err; then
8016     ac_cpp_err=$ac_c_preproc_warn_flag
8017     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8018   else
8019     ac_cpp_err=
8020   fi
8021 else
8022   ac_cpp_err=yes
8023 fi
8024 if test -z "$ac_cpp_err"; then
8025   ac_header_preproc=yes
8026 else
8027   echo "$as_me: failed program was:" >&5
8028 sed 's/^/| /' conftest.$ac_ext >&5
8029
8030   ac_header_preproc=no
8031 fi
8032 rm -f conftest.err conftest.$ac_ext
8033 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8034 echo "${ECHO_T}$ac_header_preproc" >&6
8035
8036 # So?  What about this header?
8037 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8038   yes:no: )
8039     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8040 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8041     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8042 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8043     ac_header_preproc=yes
8044     ;;
8045   no:yes:* )
8046     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8047 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8048     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8049 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8050     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8051 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8052     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8053 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8054     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8055 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8056     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8057 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8058     (
8059       cat <<\_ASBOX
8060 ## ----------------------------------------- ##
8061 ## Report this to the package-unused lists.  ##
8062 ## ----------------------------------------- ##
8063 _ASBOX
8064     ) |
8065       sed "s/^/$as_me: WARNING:     /" >&2
8066     ;;
8067 esac
8068 echo "$as_me:$LINENO: checking for $ac_header" >&5
8069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8070 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8071   echo $ECHO_N "(cached) $ECHO_C" >&6
8072 else
8073   eval "$as_ac_Header=\$ac_header_preproc"
8074 fi
8075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8076 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8077
8078 fi
8079 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8080   cat >>confdefs.h <<_ACEOF
8081 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8082 _ACEOF
8083
8084 fi
8085
8086 done
8087
8088
8089
8090   # All these tests are for C++; save the language and the compiler flags.
8091   # The CXXFLAGS thing is suspicious, but based on similar bits previously
8092   # found in GLIBCXX_CONFIGURE.
8093
8094
8095   ac_ext=cc
8096 ac_cpp='$CXXCPP $CPPFLAGS'
8097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8100
8101   ac_test_CXXFLAGS="${CXXFLAGS+set}"
8102   ac_save_CXXFLAGS="$CXXFLAGS"
8103
8104   # Check for maintainer-mode bits.
8105   if test x"$USE_MAINTAINER_MODE" = xno; then
8106     WERROR=''
8107   else
8108     WERROR='-Werror'
8109   fi
8110
8111   # Check for -ffunction-sections -fdata-sections
8112   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8113 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8114   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8115   cat >conftest.$ac_ext <<_ACEOF
8116 /* confdefs.h.  */
8117 _ACEOF
8118 cat confdefs.h >>conftest.$ac_ext
8119 cat >>conftest.$ac_ext <<_ACEOF
8120 /* end confdefs.h.  */
8121
8122 int
8123 main ()
8124 {
8125 int foo;
8126   ;
8127   return 0;
8128 }
8129 _ACEOF
8130 rm -f conftest.$ac_objext
8131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8132   (eval $ac_compile) 2>conftest.er1
8133   ac_status=$?
8134   grep -v '^ *+' conftest.er1 >conftest.err
8135   rm -f conftest.er1
8136   cat conftest.err >&5
8137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8138   (exit $ac_status); } &&
8139          { ac_try='test -z "$ac_cxx_werror_flag"
8140                          || test ! -s conftest.err'
8141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8142   (eval $ac_try) 2>&5
8143   ac_status=$?
8144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8145   (exit $ac_status); }; } &&
8146          { ac_try='test -s conftest.$ac_objext'
8147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8148   (eval $ac_try) 2>&5
8149   ac_status=$?
8150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8151   (exit $ac_status); }; }; then
8152   ac_fdsections=yes
8153 else
8154   echo "$as_me: failed program was:" >&5
8155 sed 's/^/| /' conftest.$ac_ext >&5
8156
8157 ac_fdsections=no
8158 fi
8159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8160   if test "$ac_test_CXXFLAGS" = set; then
8161     CXXFLAGS="$ac_save_CXXFLAGS"
8162   else
8163     # this is the suspicious part
8164     CXXFLAGS=''
8165   fi
8166   if test x"$ac_fdsections" = x"yes"; then
8167     SECTION_FLAGS='-ffunction-sections -fdata-sections'
8168   fi
8169   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8170 echo "${ECHO_T}$ac_fdsections" >&6
8171
8172   ac_ext=c
8173 ac_cpp='$CPP $CPPFLAGS'
8174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8177
8178
8179
8180
8181
8182   # If we're not using GNU ld, then there's no point in even trying these
8183   # tests.  Check for that first.  We should have already tested for gld
8184   # by now (in libtool), but require it now just to be safe...
8185   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8186   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8187
8188
8189
8190   # The name set by libtool depends on the version of libtool.  Shame on us
8191   # for depending on an impl detail, but c'est la vie.  Older versions used
8192   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8193   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8194   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
8195   # set (hence we're using an older libtool), then set it.
8196   if test x${with_gnu_ld+set} != xset; then
8197     if test x${ac_cv_prog_gnu_ld+set} != xset; then
8198       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
8199       with_gnu_ld=no
8200     else
8201       with_gnu_ld=$ac_cv_prog_gnu_ld
8202     fi
8203   fi
8204
8205   # Start by getting the version number.  I think the libtool test already
8206   # does some of this, but throws away the result.
8207
8208   ldver=`$LD --version 2>/dev/null | head -1 | \
8209          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8210
8211   glibcxx_gnu_ld_version=`echo $ldver | \
8212          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8213
8214   # Set --gc-sections.
8215   if test "$with_gnu_ld" = "notbroken"; then
8216     # GNU ld it is!  Joy and bunny rabbits!
8217
8218     # All these tests are for C++; save the language and the compiler flags.
8219     # Need to do this so that g++ won't try to link in libstdc++
8220     ac_test_CFLAGS="${CFLAGS+set}"
8221     ac_save_CFLAGS="$CFLAGS"
8222     CFLAGS='-x c++  -Wl,--gc-sections'
8223
8224     # Check for -Wl,--gc-sections
8225     # XXX This test is broken at the moment, as symbols required for linking
8226     # are now in libsupc++ (not built yet).  In addition, this test has
8227     # cored on solaris in the past.  In addition, --gc-sections doesn't
8228     # really work at the moment (keeps on discarding used sections, first
8229     # .eh_frame and now some of the glibc sections for iconv).
8230     # Bzzzzt.  Thanks for playing, maybe next time.
8231     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8232 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8233     if test "$cross_compiling" = yes; then
8234   ac_sectionLDflags=yes
8235 else
8236   cat >conftest.$ac_ext <<_ACEOF
8237 /* confdefs.h.  */
8238 _ACEOF
8239 cat confdefs.h >>conftest.$ac_ext
8240 cat >>conftest.$ac_ext <<_ACEOF
8241 /* end confdefs.h.  */
8242
8243      int main(void)
8244      {
8245        try { throw 1; }
8246        catch (...) { };
8247        return 0;
8248      }
8249
8250 _ACEOF
8251 rm -f conftest$ac_exeext
8252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8253   (eval $ac_link) 2>&5
8254   ac_status=$?
8255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8256   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8258   (eval $ac_try) 2>&5
8259   ac_status=$?
8260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8261   (exit $ac_status); }; }; then
8262   ac_sectionLDflags=yes
8263 else
8264   echo "$as_me: program exited with status $ac_status" >&5
8265 echo "$as_me: failed program was:" >&5
8266 sed 's/^/| /' conftest.$ac_ext >&5
8267
8268 ( exit $ac_status )
8269 ac_sectionLDflags=no
8270 fi
8271 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8272 fi
8273     if test "$ac_test_CFLAGS" = set; then
8274       CFLAGS="$ac_save_CFLAGS"
8275     else
8276       # this is the suspicious part
8277       CFLAGS=''
8278     fi
8279     if test "$ac_sectionLDflags" = "yes"; then
8280       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8281     fi
8282     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
8283 echo "${ECHO_T}$ac_sectionLDflags" >&6
8284   fi
8285
8286   # Set linker optimization flags.
8287   if test x"$with_gnu_ld" = x"yes"; then
8288     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8289   fi
8290
8291
8292
8293
8294
8295   ac_test_CXXFLAGS="${CXXFLAGS+set}"
8296   ac_save_CXXFLAGS="$CXXFLAGS"
8297   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8298
8299     echo "$as_me:$LINENO: checking for sin in -lm" >&5
8300 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8301 if test "${ac_cv_lib_m_sin+set}" = set; then
8302   echo $ECHO_N "(cached) $ECHO_C" >&6
8303 else
8304   ac_check_lib_save_LIBS=$LIBS
8305 LIBS="-lm  $LIBS"
8306 if test x$gcc_no_link = xyes; then
8307   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8309    { (exit 1); exit 1; }; }
8310 fi
8311 cat >conftest.$ac_ext <<_ACEOF
8312 /* confdefs.h.  */
8313 _ACEOF
8314 cat confdefs.h >>conftest.$ac_ext
8315 cat >>conftest.$ac_ext <<_ACEOF
8316 /* end confdefs.h.  */
8317
8318 /* Override any gcc2 internal prototype to avoid an error.  */
8319 #ifdef __cplusplus
8320 extern "C"
8321 #endif
8322 /* We use char because int might match the return type of a gcc2
8323    builtin and then its argument prototype would still apply.  */
8324 char sin ();
8325 int
8326 main ()
8327 {
8328 sin ();
8329   ;
8330   return 0;
8331 }
8332 _ACEOF
8333 rm -f conftest.$ac_objext conftest$ac_exeext
8334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8335   (eval $ac_link) 2>conftest.er1
8336   ac_status=$?
8337   grep -v '^ *+' conftest.er1 >conftest.err
8338   rm -f conftest.er1
8339   cat conftest.err >&5
8340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8341   (exit $ac_status); } &&
8342          { ac_try='test -z "$ac_c_werror_flag"
8343                          || test ! -s conftest.err'
8344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8345   (eval $ac_try) 2>&5
8346   ac_status=$?
8347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8348   (exit $ac_status); }; } &&
8349          { ac_try='test -s conftest$ac_exeext'
8350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8351   (eval $ac_try) 2>&5
8352   ac_status=$?
8353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8354   (exit $ac_status); }; }; then
8355   ac_cv_lib_m_sin=yes
8356 else
8357   echo "$as_me: failed program was:" >&5
8358 sed 's/^/| /' conftest.$ac_ext >&5
8359
8360 ac_cv_lib_m_sin=no
8361 fi
8362 rm -f conftest.err conftest.$ac_objext \
8363       conftest$ac_exeext conftest.$ac_ext
8364 LIBS=$ac_check_lib_save_LIBS
8365 fi
8366 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8367 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8368 if test $ac_cv_lib_m_sin = yes; then
8369   libm="-lm"
8370 fi
8371
8372   ac_save_LIBS="$LIBS"
8373   LIBS="$LIBS $libm"
8374
8375
8376
8377   echo "$as_me:$LINENO: checking for isinf declaration" >&5
8378 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8379   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8380     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8381   echo $ECHO_N "(cached) $ECHO_C" >&6
8382 else
8383
8384
8385
8386       ac_ext=cc
8387 ac_cpp='$CXXCPP $CPPFLAGS'
8388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8391
8392       cat >conftest.$ac_ext <<_ACEOF
8393 /* confdefs.h.  */
8394 _ACEOF
8395 cat confdefs.h >>conftest.$ac_ext
8396 cat >>conftest.$ac_ext <<_ACEOF
8397 /* end confdefs.h.  */
8398 #include <math.h>
8399                       #ifdef HAVE_IEEEFP_H
8400                       #include <ieeefp.h>
8401                       #endif
8402
8403 int
8404 main ()
8405 {
8406  isinf(0);
8407   ;
8408   return 0;
8409 }
8410 _ACEOF
8411 rm -f conftest.$ac_objext
8412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8413   (eval $ac_compile) 2>conftest.er1
8414   ac_status=$?
8415   grep -v '^ *+' conftest.er1 >conftest.err
8416   rm -f conftest.er1
8417   cat conftest.err >&5
8418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8419   (exit $ac_status); } &&
8420          { ac_try='test -z "$ac_cxx_werror_flag"
8421                          || test ! -s conftest.err'
8422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8423   (eval $ac_try) 2>&5
8424   ac_status=$?
8425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8426   (exit $ac_status); }; } &&
8427          { ac_try='test -s conftest.$ac_objext'
8428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8429   (eval $ac_try) 2>&5
8430   ac_status=$?
8431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8432   (exit $ac_status); }; }; then
8433   glibcxx_cv_func_isinf_use=yes
8434 else
8435   echo "$as_me: failed program was:" >&5
8436 sed 's/^/| /' conftest.$ac_ext >&5
8437
8438 glibcxx_cv_func_isinf_use=no
8439 fi
8440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8441       ac_ext=c
8442 ac_cpp='$CPP $CPPFLAGS'
8443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8446
8447
8448 fi
8449
8450   fi
8451   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8452 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8453
8454   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8455
8456 for ac_func in isinf
8457 do
8458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8459 echo "$as_me:$LINENO: checking for $ac_func" >&5
8460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8461 if eval "test \"\${$as_ac_var+set}\" = set"; then
8462   echo $ECHO_N "(cached) $ECHO_C" >&6
8463 else
8464   if test x$gcc_no_link = xyes; then
8465   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8467    { (exit 1); exit 1; }; }
8468 fi
8469 cat >conftest.$ac_ext <<_ACEOF
8470 /* confdefs.h.  */
8471 _ACEOF
8472 cat confdefs.h >>conftest.$ac_ext
8473 cat >>conftest.$ac_ext <<_ACEOF
8474 /* end confdefs.h.  */
8475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8476    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8477 #define $ac_func innocuous_$ac_func
8478
8479 /* System header to define __stub macros and hopefully few prototypes,
8480     which can conflict with char $ac_func (); below.
8481     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8482     <limits.h> exists even on freestanding compilers.  */
8483
8484 #ifdef __STDC__
8485 # include <limits.h>
8486 #else
8487 # include <assert.h>
8488 #endif
8489
8490 #undef $ac_func
8491
8492 /* Override any gcc2 internal prototype to avoid an error.  */
8493 #ifdef __cplusplus
8494 extern "C"
8495 {
8496 #endif
8497 /* We use char because int might match the return type of a gcc2
8498    builtin and then its argument prototype would still apply.  */
8499 char $ac_func ();
8500 /* The GNU C library defines this for functions which it implements
8501     to always fail with ENOSYS.  Some functions are actually named
8502     something starting with __ and the normal name is an alias.  */
8503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8504 choke me
8505 #else
8506 char (*f) () = $ac_func;
8507 #endif
8508 #ifdef __cplusplus
8509 }
8510 #endif
8511
8512 int
8513 main ()
8514 {
8515 return f != $ac_func;
8516   ;
8517   return 0;
8518 }
8519 _ACEOF
8520 rm -f conftest.$ac_objext conftest$ac_exeext
8521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8522   (eval $ac_link) 2>conftest.er1
8523   ac_status=$?
8524   grep -v '^ *+' conftest.er1 >conftest.err
8525   rm -f conftest.er1
8526   cat conftest.err >&5
8527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8528   (exit $ac_status); } &&
8529          { ac_try='test -z "$ac_c_werror_flag"
8530                          || test ! -s conftest.err'
8531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8532   (eval $ac_try) 2>&5
8533   ac_status=$?
8534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8535   (exit $ac_status); }; } &&
8536          { ac_try='test -s conftest$ac_exeext'
8537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8538   (eval $ac_try) 2>&5
8539   ac_status=$?
8540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8541   (exit $ac_status); }; }; then
8542   eval "$as_ac_var=yes"
8543 else
8544   echo "$as_me: failed program was:" >&5
8545 sed 's/^/| /' conftest.$ac_ext >&5
8546
8547 eval "$as_ac_var=no"
8548 fi
8549 rm -f conftest.err conftest.$ac_objext \
8550       conftest$ac_exeext conftest.$ac_ext
8551 fi
8552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8554 if test `eval echo '${'$as_ac_var'}'` = yes; then
8555   cat >>confdefs.h <<_ACEOF
8556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8557 _ACEOF
8558
8559 fi
8560 done
8561
8562   else
8563
8564   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8565 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8566   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8567     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8568   echo $ECHO_N "(cached) $ECHO_C" >&6
8569 else
8570
8571
8572
8573       ac_ext=cc
8574 ac_cpp='$CXXCPP $CPPFLAGS'
8575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8578
8579       cat >conftest.$ac_ext <<_ACEOF
8580 /* confdefs.h.  */
8581 _ACEOF
8582 cat confdefs.h >>conftest.$ac_ext
8583 cat >>conftest.$ac_ext <<_ACEOF
8584 /* end confdefs.h.  */
8585 #include <math.h>
8586                       #ifdef HAVE_IEEEFP_H
8587                       #include <ieeefp.h>
8588                       #endif
8589
8590 int
8591 main ()
8592 {
8593  _isinf(0);
8594   ;
8595   return 0;
8596 }
8597 _ACEOF
8598 rm -f conftest.$ac_objext
8599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8600   (eval $ac_compile) 2>conftest.er1
8601   ac_status=$?
8602   grep -v '^ *+' conftest.er1 >conftest.err
8603   rm -f conftest.er1
8604   cat conftest.err >&5
8605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8606   (exit $ac_status); } &&
8607          { ac_try='test -z "$ac_cxx_werror_flag"
8608                          || test ! -s conftest.err'
8609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8610   (eval $ac_try) 2>&5
8611   ac_status=$?
8612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8613   (exit $ac_status); }; } &&
8614          { ac_try='test -s conftest.$ac_objext'
8615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8616   (eval $ac_try) 2>&5
8617   ac_status=$?
8618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8619   (exit $ac_status); }; }; then
8620   glibcxx_cv_func__isinf_use=yes
8621 else
8622   echo "$as_me: failed program was:" >&5
8623 sed 's/^/| /' conftest.$ac_ext >&5
8624
8625 glibcxx_cv_func__isinf_use=no
8626 fi
8627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8628       ac_ext=c
8629 ac_cpp='$CPP $CPPFLAGS'
8630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8633
8634
8635 fi
8636
8637   fi
8638   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8639 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8640
8641     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8642
8643 for ac_func in _isinf
8644 do
8645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8646 echo "$as_me:$LINENO: checking for $ac_func" >&5
8647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8648 if eval "test \"\${$as_ac_var+set}\" = set"; then
8649   echo $ECHO_N "(cached) $ECHO_C" >&6
8650 else
8651   if test x$gcc_no_link = xyes; then
8652   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8654    { (exit 1); exit 1; }; }
8655 fi
8656 cat >conftest.$ac_ext <<_ACEOF
8657 /* confdefs.h.  */
8658 _ACEOF
8659 cat confdefs.h >>conftest.$ac_ext
8660 cat >>conftest.$ac_ext <<_ACEOF
8661 /* end confdefs.h.  */
8662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8663    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8664 #define $ac_func innocuous_$ac_func
8665
8666 /* System header to define __stub macros and hopefully few prototypes,
8667     which can conflict with char $ac_func (); below.
8668     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8669     <limits.h> exists even on freestanding compilers.  */
8670
8671 #ifdef __STDC__
8672 # include <limits.h>
8673 #else
8674 # include <assert.h>
8675 #endif
8676
8677 #undef $ac_func
8678
8679 /* Override any gcc2 internal prototype to avoid an error.  */
8680 #ifdef __cplusplus
8681 extern "C"
8682 {
8683 #endif
8684 /* We use char because int might match the return type of a gcc2
8685    builtin and then its argument prototype would still apply.  */
8686 char $ac_func ();
8687 /* The GNU C library defines this for functions which it implements
8688     to always fail with ENOSYS.  Some functions are actually named
8689     something starting with __ and the normal name is an alias.  */
8690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8691 choke me
8692 #else
8693 char (*f) () = $ac_func;
8694 #endif
8695 #ifdef __cplusplus
8696 }
8697 #endif
8698
8699 int
8700 main ()
8701 {
8702 return f != $ac_func;
8703   ;
8704   return 0;
8705 }
8706 _ACEOF
8707 rm -f conftest.$ac_objext conftest$ac_exeext
8708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8709   (eval $ac_link) 2>conftest.er1
8710   ac_status=$?
8711   grep -v '^ *+' conftest.er1 >conftest.err
8712   rm -f conftest.er1
8713   cat conftest.err >&5
8714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8715   (exit $ac_status); } &&
8716          { ac_try='test -z "$ac_c_werror_flag"
8717                          || test ! -s conftest.err'
8718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8719   (eval $ac_try) 2>&5
8720   ac_status=$?
8721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8722   (exit $ac_status); }; } &&
8723          { ac_try='test -s conftest$ac_exeext'
8724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8725   (eval $ac_try) 2>&5
8726   ac_status=$?
8727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728   (exit $ac_status); }; }; then
8729   eval "$as_ac_var=yes"
8730 else
8731   echo "$as_me: failed program was:" >&5
8732 sed 's/^/| /' conftest.$ac_ext >&5
8733
8734 eval "$as_ac_var=no"
8735 fi
8736 rm -f conftest.err conftest.$ac_objext \
8737       conftest$ac_exeext conftest.$ac_ext
8738 fi
8739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8741 if test `eval echo '${'$as_ac_var'}'` = yes; then
8742   cat >>confdefs.h <<_ACEOF
8743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8744 _ACEOF
8745
8746 fi
8747 done
8748
8749     fi
8750   fi
8751
8752
8753
8754   echo "$as_me:$LINENO: checking for isnan declaration" >&5
8755 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8756   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8757     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8758   echo $ECHO_N "(cached) $ECHO_C" >&6
8759 else
8760
8761
8762
8763       ac_ext=cc
8764 ac_cpp='$CXXCPP $CPPFLAGS'
8765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8768
8769       cat >conftest.$ac_ext <<_ACEOF
8770 /* confdefs.h.  */
8771 _ACEOF
8772 cat confdefs.h >>conftest.$ac_ext
8773 cat >>conftest.$ac_ext <<_ACEOF
8774 /* end confdefs.h.  */
8775 #include <math.h>
8776                       #ifdef HAVE_IEEEFP_H
8777                       #include <ieeefp.h>
8778                       #endif
8779
8780 int
8781 main ()
8782 {
8783  isnan(0);
8784   ;
8785   return 0;
8786 }
8787 _ACEOF
8788 rm -f conftest.$ac_objext
8789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8790   (eval $ac_compile) 2>conftest.er1
8791   ac_status=$?
8792   grep -v '^ *+' conftest.er1 >conftest.err
8793   rm -f conftest.er1
8794   cat conftest.err >&5
8795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8796   (exit $ac_status); } &&
8797          { ac_try='test -z "$ac_cxx_werror_flag"
8798                          || test ! -s conftest.err'
8799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8800   (eval $ac_try) 2>&5
8801   ac_status=$?
8802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8803   (exit $ac_status); }; } &&
8804          { ac_try='test -s conftest.$ac_objext'
8805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8806   (eval $ac_try) 2>&5
8807   ac_status=$?
8808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8809   (exit $ac_status); }; }; then
8810   glibcxx_cv_func_isnan_use=yes
8811 else
8812   echo "$as_me: failed program was:" >&5
8813 sed 's/^/| /' conftest.$ac_ext >&5
8814
8815 glibcxx_cv_func_isnan_use=no
8816 fi
8817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8818       ac_ext=c
8819 ac_cpp='$CPP $CPPFLAGS'
8820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8823
8824
8825 fi
8826
8827   fi
8828   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8829 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8830
8831   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8832
8833 for ac_func in isnan
8834 do
8835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8836 echo "$as_me:$LINENO: checking for $ac_func" >&5
8837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8838 if eval "test \"\${$as_ac_var+set}\" = set"; then
8839   echo $ECHO_N "(cached) $ECHO_C" >&6
8840 else
8841   if test x$gcc_no_link = xyes; then
8842   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8844    { (exit 1); exit 1; }; }
8845 fi
8846 cat >conftest.$ac_ext <<_ACEOF
8847 /* confdefs.h.  */
8848 _ACEOF
8849 cat confdefs.h >>conftest.$ac_ext
8850 cat >>conftest.$ac_ext <<_ACEOF
8851 /* end confdefs.h.  */
8852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8853    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8854 #define $ac_func innocuous_$ac_func
8855
8856 /* System header to define __stub macros and hopefully few prototypes,
8857     which can conflict with char $ac_func (); below.
8858     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8859     <limits.h> exists even on freestanding compilers.  */
8860
8861 #ifdef __STDC__
8862 # include <limits.h>
8863 #else
8864 # include <assert.h>
8865 #endif
8866
8867 #undef $ac_func
8868
8869 /* Override any gcc2 internal prototype to avoid an error.  */
8870 #ifdef __cplusplus
8871 extern "C"
8872 {
8873 #endif
8874 /* We use char because int might match the return type of a gcc2
8875    builtin and then its argument prototype would still apply.  */
8876 char $ac_func ();
8877 /* The GNU C library defines this for functions which it implements
8878     to always fail with ENOSYS.  Some functions are actually named
8879     something starting with __ and the normal name is an alias.  */
8880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8881 choke me
8882 #else
8883 char (*f) () = $ac_func;
8884 #endif
8885 #ifdef __cplusplus
8886 }
8887 #endif
8888
8889 int
8890 main ()
8891 {
8892 return f != $ac_func;
8893   ;
8894   return 0;
8895 }
8896 _ACEOF
8897 rm -f conftest.$ac_objext conftest$ac_exeext
8898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8899   (eval $ac_link) 2>conftest.er1
8900   ac_status=$?
8901   grep -v '^ *+' conftest.er1 >conftest.err
8902   rm -f conftest.er1
8903   cat conftest.err >&5
8904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8905   (exit $ac_status); } &&
8906          { ac_try='test -z "$ac_c_werror_flag"
8907                          || test ! -s conftest.err'
8908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8909   (eval $ac_try) 2>&5
8910   ac_status=$?
8911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8912   (exit $ac_status); }; } &&
8913          { ac_try='test -s conftest$ac_exeext'
8914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8915   (eval $ac_try) 2>&5
8916   ac_status=$?
8917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8918   (exit $ac_status); }; }; then
8919   eval "$as_ac_var=yes"
8920 else
8921   echo "$as_me: failed program was:" >&5
8922 sed 's/^/| /' conftest.$ac_ext >&5
8923
8924 eval "$as_ac_var=no"
8925 fi
8926 rm -f conftest.err conftest.$ac_objext \
8927       conftest$ac_exeext conftest.$ac_ext
8928 fi
8929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8931 if test `eval echo '${'$as_ac_var'}'` = yes; then
8932   cat >>confdefs.h <<_ACEOF
8933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8934 _ACEOF
8935
8936 fi
8937 done
8938
8939   else
8940
8941   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8942 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8943   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8944     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8945   echo $ECHO_N "(cached) $ECHO_C" >&6
8946 else
8947
8948
8949
8950       ac_ext=cc
8951 ac_cpp='$CXXCPP $CPPFLAGS'
8952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8955
8956       cat >conftest.$ac_ext <<_ACEOF
8957 /* confdefs.h.  */
8958 _ACEOF
8959 cat confdefs.h >>conftest.$ac_ext
8960 cat >>conftest.$ac_ext <<_ACEOF
8961 /* end confdefs.h.  */
8962 #include <math.h>
8963                       #ifdef HAVE_IEEEFP_H
8964                       #include <ieeefp.h>
8965                       #endif
8966
8967 int
8968 main ()
8969 {
8970  _isnan(0);
8971   ;
8972   return 0;
8973 }
8974 _ACEOF
8975 rm -f conftest.$ac_objext
8976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8977   (eval $ac_compile) 2>conftest.er1
8978   ac_status=$?
8979   grep -v '^ *+' conftest.er1 >conftest.err
8980   rm -f conftest.er1
8981   cat conftest.err >&5
8982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8983   (exit $ac_status); } &&
8984          { ac_try='test -z "$ac_cxx_werror_flag"
8985                          || test ! -s conftest.err'
8986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8987   (eval $ac_try) 2>&5
8988   ac_status=$?
8989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8990   (exit $ac_status); }; } &&
8991          { ac_try='test -s conftest.$ac_objext'
8992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8993   (eval $ac_try) 2>&5
8994   ac_status=$?
8995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8996   (exit $ac_status); }; }; then
8997   glibcxx_cv_func__isnan_use=yes
8998 else
8999   echo "$as_me: failed program was:" >&5
9000 sed 's/^/| /' conftest.$ac_ext >&5
9001
9002 glibcxx_cv_func__isnan_use=no
9003 fi
9004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9005       ac_ext=c
9006 ac_cpp='$CPP $CPPFLAGS'
9007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9010
9011
9012 fi
9013
9014   fi
9015   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
9016 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
9017
9018     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9019
9020 for ac_func in _isnan
9021 do
9022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9023 echo "$as_me:$LINENO: checking for $ac_func" >&5
9024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9025 if eval "test \"\${$as_ac_var+set}\" = set"; then
9026   echo $ECHO_N "(cached) $ECHO_C" >&6
9027 else
9028   if test x$gcc_no_link = xyes; then
9029   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9031    { (exit 1); exit 1; }; }
9032 fi
9033 cat >conftest.$ac_ext <<_ACEOF
9034 /* confdefs.h.  */
9035 _ACEOF
9036 cat confdefs.h >>conftest.$ac_ext
9037 cat >>conftest.$ac_ext <<_ACEOF
9038 /* end confdefs.h.  */
9039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9040    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9041 #define $ac_func innocuous_$ac_func
9042
9043 /* System header to define __stub macros and hopefully few prototypes,
9044     which can conflict with char $ac_func (); below.
9045     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9046     <limits.h> exists even on freestanding compilers.  */
9047
9048 #ifdef __STDC__
9049 # include <limits.h>
9050 #else
9051 # include <assert.h>
9052 #endif
9053
9054 #undef $ac_func
9055
9056 /* Override any gcc2 internal prototype to avoid an error.  */
9057 #ifdef __cplusplus
9058 extern "C"
9059 {
9060 #endif
9061 /* We use char because int might match the return type of a gcc2
9062    builtin and then its argument prototype would still apply.  */
9063 char $ac_func ();
9064 /* The GNU C library defines this for functions which it implements
9065     to always fail with ENOSYS.  Some functions are actually named
9066     something starting with __ and the normal name is an alias.  */
9067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9068 choke me
9069 #else
9070 char (*f) () = $ac_func;
9071 #endif
9072 #ifdef __cplusplus
9073 }
9074 #endif
9075
9076 int
9077 main ()
9078 {
9079 return f != $ac_func;
9080   ;
9081   return 0;
9082 }
9083 _ACEOF
9084 rm -f conftest.$ac_objext conftest$ac_exeext
9085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9086   (eval $ac_link) 2>conftest.er1
9087   ac_status=$?
9088   grep -v '^ *+' conftest.er1 >conftest.err
9089   rm -f conftest.er1
9090   cat conftest.err >&5
9091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9092   (exit $ac_status); } &&
9093          { ac_try='test -z "$ac_c_werror_flag"
9094                          || test ! -s conftest.err'
9095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9096   (eval $ac_try) 2>&5
9097   ac_status=$?
9098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9099   (exit $ac_status); }; } &&
9100          { ac_try='test -s conftest$ac_exeext'
9101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9102   (eval $ac_try) 2>&5
9103   ac_status=$?
9104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9105   (exit $ac_status); }; }; then
9106   eval "$as_ac_var=yes"
9107 else
9108   echo "$as_me: failed program was:" >&5
9109 sed 's/^/| /' conftest.$ac_ext >&5
9110
9111 eval "$as_ac_var=no"
9112 fi
9113 rm -f conftest.err conftest.$ac_objext \
9114       conftest$ac_exeext conftest.$ac_ext
9115 fi
9116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9118 if test `eval echo '${'$as_ac_var'}'` = yes; then
9119   cat >>confdefs.h <<_ACEOF
9120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9121 _ACEOF
9122
9123 fi
9124 done
9125
9126     fi
9127   fi
9128
9129
9130
9131   echo "$as_me:$LINENO: checking for finite declaration" >&5
9132 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9133   if test x${glibcxx_cv_func_finite_use+set} != xset; then
9134     if test "${glibcxx_cv_func_finite_use+set}" = set; then
9135   echo $ECHO_N "(cached) $ECHO_C" >&6
9136 else
9137
9138
9139
9140       ac_ext=cc
9141 ac_cpp='$CXXCPP $CPPFLAGS'
9142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9145
9146       cat >conftest.$ac_ext <<_ACEOF
9147 /* confdefs.h.  */
9148 _ACEOF
9149 cat confdefs.h >>conftest.$ac_ext
9150 cat >>conftest.$ac_ext <<_ACEOF
9151 /* end confdefs.h.  */
9152 #include <math.h>
9153                       #ifdef HAVE_IEEEFP_H
9154                       #include <ieeefp.h>
9155                       #endif
9156
9157 int
9158 main ()
9159 {
9160  finite(0);
9161   ;
9162   return 0;
9163 }
9164 _ACEOF
9165 rm -f conftest.$ac_objext
9166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9167   (eval $ac_compile) 2>conftest.er1
9168   ac_status=$?
9169   grep -v '^ *+' conftest.er1 >conftest.err
9170   rm -f conftest.er1
9171   cat conftest.err >&5
9172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9173   (exit $ac_status); } &&
9174          { ac_try='test -z "$ac_cxx_werror_flag"
9175                          || test ! -s conftest.err'
9176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9177   (eval $ac_try) 2>&5
9178   ac_status=$?
9179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9180   (exit $ac_status); }; } &&
9181          { ac_try='test -s conftest.$ac_objext'
9182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9183   (eval $ac_try) 2>&5
9184   ac_status=$?
9185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9186   (exit $ac_status); }; }; then
9187   glibcxx_cv_func_finite_use=yes
9188 else
9189   echo "$as_me: failed program was:" >&5
9190 sed 's/^/| /' conftest.$ac_ext >&5
9191
9192 glibcxx_cv_func_finite_use=no
9193 fi
9194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9195       ac_ext=c
9196 ac_cpp='$CPP $CPPFLAGS'
9197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9200
9201
9202 fi
9203
9204   fi
9205   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9206 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9207
9208   if test x$glibcxx_cv_func_finite_use = x"yes"; then
9209
9210 for ac_func in finite
9211 do
9212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9213 echo "$as_me:$LINENO: checking for $ac_func" >&5
9214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9215 if eval "test \"\${$as_ac_var+set}\" = set"; then
9216   echo $ECHO_N "(cached) $ECHO_C" >&6
9217 else
9218   if test x$gcc_no_link = xyes; then
9219   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9221    { (exit 1); exit 1; }; }
9222 fi
9223 cat >conftest.$ac_ext <<_ACEOF
9224 /* confdefs.h.  */
9225 _ACEOF
9226 cat confdefs.h >>conftest.$ac_ext
9227 cat >>conftest.$ac_ext <<_ACEOF
9228 /* end confdefs.h.  */
9229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9230    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9231 #define $ac_func innocuous_$ac_func
9232
9233 /* System header to define __stub macros and hopefully few prototypes,
9234     which can conflict with char $ac_func (); below.
9235     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9236     <limits.h> exists even on freestanding compilers.  */
9237
9238 #ifdef __STDC__
9239 # include <limits.h>
9240 #else
9241 # include <assert.h>
9242 #endif
9243
9244 #undef $ac_func
9245
9246 /* Override any gcc2 internal prototype to avoid an error.  */
9247 #ifdef __cplusplus
9248 extern "C"
9249 {
9250 #endif
9251 /* We use char because int might match the return type of a gcc2
9252    builtin and then its argument prototype would still apply.  */
9253 char $ac_func ();
9254 /* The GNU C library defines this for functions which it implements
9255     to always fail with ENOSYS.  Some functions are actually named
9256     something starting with __ and the normal name is an alias.  */
9257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9258 choke me
9259 #else
9260 char (*f) () = $ac_func;
9261 #endif
9262 #ifdef __cplusplus
9263 }
9264 #endif
9265
9266 int
9267 main ()
9268 {
9269 return f != $ac_func;
9270   ;
9271   return 0;
9272 }
9273 _ACEOF
9274 rm -f conftest.$ac_objext conftest$ac_exeext
9275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9276   (eval $ac_link) 2>conftest.er1
9277   ac_status=$?
9278   grep -v '^ *+' conftest.er1 >conftest.err
9279   rm -f conftest.er1
9280   cat conftest.err >&5
9281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9282   (exit $ac_status); } &&
9283          { ac_try='test -z "$ac_c_werror_flag"
9284                          || test ! -s conftest.err'
9285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9286   (eval $ac_try) 2>&5
9287   ac_status=$?
9288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9289   (exit $ac_status); }; } &&
9290          { ac_try='test -s conftest$ac_exeext'
9291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9292   (eval $ac_try) 2>&5
9293   ac_status=$?
9294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9295   (exit $ac_status); }; }; then
9296   eval "$as_ac_var=yes"
9297 else
9298   echo "$as_me: failed program was:" >&5
9299 sed 's/^/| /' conftest.$ac_ext >&5
9300
9301 eval "$as_ac_var=no"
9302 fi
9303 rm -f conftest.err conftest.$ac_objext \
9304       conftest$ac_exeext conftest.$ac_ext
9305 fi
9306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9308 if test `eval echo '${'$as_ac_var'}'` = yes; then
9309   cat >>confdefs.h <<_ACEOF
9310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9311 _ACEOF
9312
9313 fi
9314 done
9315
9316   else
9317
9318   echo "$as_me:$LINENO: checking for _finite declaration" >&5
9319 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9320   if test x${glibcxx_cv_func__finite_use+set} != xset; then
9321     if test "${glibcxx_cv_func__finite_use+set}" = set; then
9322   echo $ECHO_N "(cached) $ECHO_C" >&6
9323 else
9324
9325
9326
9327       ac_ext=cc
9328 ac_cpp='$CXXCPP $CPPFLAGS'
9329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9332
9333       cat >conftest.$ac_ext <<_ACEOF
9334 /* confdefs.h.  */
9335 _ACEOF
9336 cat confdefs.h >>conftest.$ac_ext
9337 cat >>conftest.$ac_ext <<_ACEOF
9338 /* end confdefs.h.  */
9339 #include <math.h>
9340                       #ifdef HAVE_IEEEFP_H
9341                       #include <ieeefp.h>
9342                       #endif
9343
9344 int
9345 main ()
9346 {
9347  _finite(0);
9348   ;
9349   return 0;
9350 }
9351 _ACEOF
9352 rm -f conftest.$ac_objext
9353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9354   (eval $ac_compile) 2>conftest.er1
9355   ac_status=$?
9356   grep -v '^ *+' conftest.er1 >conftest.err
9357   rm -f conftest.er1
9358   cat conftest.err >&5
9359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9360   (exit $ac_status); } &&
9361          { ac_try='test -z "$ac_cxx_werror_flag"
9362                          || test ! -s conftest.err'
9363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9364   (eval $ac_try) 2>&5
9365   ac_status=$?
9366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9367   (exit $ac_status); }; } &&
9368          { ac_try='test -s conftest.$ac_objext'
9369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9370   (eval $ac_try) 2>&5
9371   ac_status=$?
9372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9373   (exit $ac_status); }; }; then
9374   glibcxx_cv_func__finite_use=yes
9375 else
9376   echo "$as_me: failed program was:" >&5
9377 sed 's/^/| /' conftest.$ac_ext >&5
9378
9379 glibcxx_cv_func__finite_use=no
9380 fi
9381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9382       ac_ext=c
9383 ac_cpp='$CPP $CPPFLAGS'
9384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9387
9388
9389 fi
9390
9391   fi
9392   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9393 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9394
9395     if test x$glibcxx_cv_func__finite_use = x"yes"; then
9396
9397 for ac_func in _finite
9398 do
9399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9400 echo "$as_me:$LINENO: checking for $ac_func" >&5
9401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9402 if eval "test \"\${$as_ac_var+set}\" = set"; then
9403   echo $ECHO_N "(cached) $ECHO_C" >&6
9404 else
9405   if test x$gcc_no_link = xyes; then
9406   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9408    { (exit 1); exit 1; }; }
9409 fi
9410 cat >conftest.$ac_ext <<_ACEOF
9411 /* confdefs.h.  */
9412 _ACEOF
9413 cat confdefs.h >>conftest.$ac_ext
9414 cat >>conftest.$ac_ext <<_ACEOF
9415 /* end confdefs.h.  */
9416 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9417    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9418 #define $ac_func innocuous_$ac_func
9419
9420 /* System header to define __stub macros and hopefully few prototypes,
9421     which can conflict with char $ac_func (); below.
9422     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9423     <limits.h> exists even on freestanding compilers.  */
9424
9425 #ifdef __STDC__
9426 # include <limits.h>
9427 #else
9428 # include <assert.h>
9429 #endif
9430
9431 #undef $ac_func
9432
9433 /* Override any gcc2 internal prototype to avoid an error.  */
9434 #ifdef __cplusplus
9435 extern "C"
9436 {
9437 #endif
9438 /* We use char because int might match the return type of a gcc2
9439    builtin and then its argument prototype would still apply.  */
9440 char $ac_func ();
9441 /* The GNU C library defines this for functions which it implements
9442     to always fail with ENOSYS.  Some functions are actually named
9443     something starting with __ and the normal name is an alias.  */
9444 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9445 choke me
9446 #else
9447 char (*f) () = $ac_func;
9448 #endif
9449 #ifdef __cplusplus
9450 }
9451 #endif
9452
9453 int
9454 main ()
9455 {
9456 return f != $ac_func;
9457   ;
9458   return 0;
9459 }
9460 _ACEOF
9461 rm -f conftest.$ac_objext conftest$ac_exeext
9462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9463   (eval $ac_link) 2>conftest.er1
9464   ac_status=$?
9465   grep -v '^ *+' conftest.er1 >conftest.err
9466   rm -f conftest.er1
9467   cat conftest.err >&5
9468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9469   (exit $ac_status); } &&
9470          { ac_try='test -z "$ac_c_werror_flag"
9471                          || test ! -s conftest.err'
9472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9473   (eval $ac_try) 2>&5
9474   ac_status=$?
9475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9476   (exit $ac_status); }; } &&
9477          { ac_try='test -s conftest$ac_exeext'
9478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9479   (eval $ac_try) 2>&5
9480   ac_status=$?
9481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9482   (exit $ac_status); }; }; then
9483   eval "$as_ac_var=yes"
9484 else
9485   echo "$as_me: failed program was:" >&5
9486 sed 's/^/| /' conftest.$ac_ext >&5
9487
9488 eval "$as_ac_var=no"
9489 fi
9490 rm -f conftest.err conftest.$ac_objext \
9491       conftest$ac_exeext conftest.$ac_ext
9492 fi
9493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9494 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9495 if test `eval echo '${'$as_ac_var'}'` = yes; then
9496   cat >>confdefs.h <<_ACEOF
9497 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9498 _ACEOF
9499
9500 fi
9501 done
9502
9503     fi
9504   fi
9505
9506
9507
9508   echo "$as_me:$LINENO: checking for copysign declaration" >&5
9509 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9510   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9511     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9512   echo $ECHO_N "(cached) $ECHO_C" >&6
9513 else
9514
9515
9516
9517       ac_ext=cc
9518 ac_cpp='$CXXCPP $CPPFLAGS'
9519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9522
9523       cat >conftest.$ac_ext <<_ACEOF
9524 /* confdefs.h.  */
9525 _ACEOF
9526 cat confdefs.h >>conftest.$ac_ext
9527 cat >>conftest.$ac_ext <<_ACEOF
9528 /* end confdefs.h.  */
9529 #include <math.h>
9530 int
9531 main ()
9532 {
9533  copysign(0, 0);
9534   ;
9535   return 0;
9536 }
9537 _ACEOF
9538 rm -f conftest.$ac_objext
9539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9540   (eval $ac_compile) 2>conftest.er1
9541   ac_status=$?
9542   grep -v '^ *+' conftest.er1 >conftest.err
9543   rm -f conftest.er1
9544   cat conftest.err >&5
9545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9546   (exit $ac_status); } &&
9547          { ac_try='test -z "$ac_cxx_werror_flag"
9548                          || test ! -s conftest.err'
9549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9550   (eval $ac_try) 2>&5
9551   ac_status=$?
9552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9553   (exit $ac_status); }; } &&
9554          { ac_try='test -s conftest.$ac_objext'
9555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9556   (eval $ac_try) 2>&5
9557   ac_status=$?
9558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9559   (exit $ac_status); }; }; then
9560   glibcxx_cv_func_copysign_use=yes
9561 else
9562   echo "$as_me: failed program was:" >&5
9563 sed 's/^/| /' conftest.$ac_ext >&5
9564
9565 glibcxx_cv_func_copysign_use=no
9566 fi
9567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9568       ac_ext=c
9569 ac_cpp='$CPP $CPPFLAGS'
9570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9573
9574
9575 fi
9576
9577   fi
9578   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9579 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9580
9581   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9582
9583 for ac_func in copysign
9584 do
9585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9586 echo "$as_me:$LINENO: checking for $ac_func" >&5
9587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9588 if eval "test \"\${$as_ac_var+set}\" = set"; then
9589   echo $ECHO_N "(cached) $ECHO_C" >&6
9590 else
9591   if test x$gcc_no_link = xyes; then
9592   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9594    { (exit 1); exit 1; }; }
9595 fi
9596 cat >conftest.$ac_ext <<_ACEOF
9597 /* confdefs.h.  */
9598 _ACEOF
9599 cat confdefs.h >>conftest.$ac_ext
9600 cat >>conftest.$ac_ext <<_ACEOF
9601 /* end confdefs.h.  */
9602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9603    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9604 #define $ac_func innocuous_$ac_func
9605
9606 /* System header to define __stub macros and hopefully few prototypes,
9607     which can conflict with char $ac_func (); below.
9608     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9609     <limits.h> exists even on freestanding compilers.  */
9610
9611 #ifdef __STDC__
9612 # include <limits.h>
9613 #else
9614 # include <assert.h>
9615 #endif
9616
9617 #undef $ac_func
9618
9619 /* Override any gcc2 internal prototype to avoid an error.  */
9620 #ifdef __cplusplus
9621 extern "C"
9622 {
9623 #endif
9624 /* We use char because int might match the return type of a gcc2
9625    builtin and then its argument prototype would still apply.  */
9626 char $ac_func ();
9627 /* The GNU C library defines this for functions which it implements
9628     to always fail with ENOSYS.  Some functions are actually named
9629     something starting with __ and the normal name is an alias.  */
9630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9631 choke me
9632 #else
9633 char (*f) () = $ac_func;
9634 #endif
9635 #ifdef __cplusplus
9636 }
9637 #endif
9638
9639 int
9640 main ()
9641 {
9642 return f != $ac_func;
9643   ;
9644   return 0;
9645 }
9646 _ACEOF
9647 rm -f conftest.$ac_objext conftest$ac_exeext
9648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9649   (eval $ac_link) 2>conftest.er1
9650   ac_status=$?
9651   grep -v '^ *+' conftest.er1 >conftest.err
9652   rm -f conftest.er1
9653   cat conftest.err >&5
9654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9655   (exit $ac_status); } &&
9656          { ac_try='test -z "$ac_c_werror_flag"
9657                          || test ! -s conftest.err'
9658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9659   (eval $ac_try) 2>&5
9660   ac_status=$?
9661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9662   (exit $ac_status); }; } &&
9663          { ac_try='test -s conftest$ac_exeext'
9664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9665   (eval $ac_try) 2>&5
9666   ac_status=$?
9667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9668   (exit $ac_status); }; }; then
9669   eval "$as_ac_var=yes"
9670 else
9671   echo "$as_me: failed program was:" >&5
9672 sed 's/^/| /' conftest.$ac_ext >&5
9673
9674 eval "$as_ac_var=no"
9675 fi
9676 rm -f conftest.err conftest.$ac_objext \
9677       conftest$ac_exeext conftest.$ac_ext
9678 fi
9679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9681 if test `eval echo '${'$as_ac_var'}'` = yes; then
9682   cat >>confdefs.h <<_ACEOF
9683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9684 _ACEOF
9685
9686 fi
9687 done
9688
9689   else
9690
9691   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9692 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9693   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9694     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9695   echo $ECHO_N "(cached) $ECHO_C" >&6
9696 else
9697
9698
9699
9700       ac_ext=cc
9701 ac_cpp='$CXXCPP $CPPFLAGS'
9702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9705
9706       cat >conftest.$ac_ext <<_ACEOF
9707 /* confdefs.h.  */
9708 _ACEOF
9709 cat confdefs.h >>conftest.$ac_ext
9710 cat >>conftest.$ac_ext <<_ACEOF
9711 /* end confdefs.h.  */
9712 #include <math.h>
9713 int
9714 main ()
9715 {
9716  _copysign(0, 0);
9717   ;
9718   return 0;
9719 }
9720 _ACEOF
9721 rm -f conftest.$ac_objext
9722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9723   (eval $ac_compile) 2>conftest.er1
9724   ac_status=$?
9725   grep -v '^ *+' conftest.er1 >conftest.err
9726   rm -f conftest.er1
9727   cat conftest.err >&5
9728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9729   (exit $ac_status); } &&
9730          { ac_try='test -z "$ac_cxx_werror_flag"
9731                          || test ! -s conftest.err'
9732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9733   (eval $ac_try) 2>&5
9734   ac_status=$?
9735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9736   (exit $ac_status); }; } &&
9737          { ac_try='test -s conftest.$ac_objext'
9738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9739   (eval $ac_try) 2>&5
9740   ac_status=$?
9741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9742   (exit $ac_status); }; }; then
9743   glibcxx_cv_func__copysign_use=yes
9744 else
9745   echo "$as_me: failed program was:" >&5
9746 sed 's/^/| /' conftest.$ac_ext >&5
9747
9748 glibcxx_cv_func__copysign_use=no
9749 fi
9750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9751       ac_ext=c
9752 ac_cpp='$CPP $CPPFLAGS'
9753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9756
9757
9758 fi
9759
9760   fi
9761   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9762 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9763
9764     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9765
9766 for ac_func in _copysign
9767 do
9768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9769 echo "$as_me:$LINENO: checking for $ac_func" >&5
9770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9771 if eval "test \"\${$as_ac_var+set}\" = set"; then
9772   echo $ECHO_N "(cached) $ECHO_C" >&6
9773 else
9774   if test x$gcc_no_link = xyes; then
9775   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9777    { (exit 1); exit 1; }; }
9778 fi
9779 cat >conftest.$ac_ext <<_ACEOF
9780 /* confdefs.h.  */
9781 _ACEOF
9782 cat confdefs.h >>conftest.$ac_ext
9783 cat >>conftest.$ac_ext <<_ACEOF
9784 /* end confdefs.h.  */
9785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9786    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9787 #define $ac_func innocuous_$ac_func
9788
9789 /* System header to define __stub macros and hopefully few prototypes,
9790     which can conflict with char $ac_func (); below.
9791     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9792     <limits.h> exists even on freestanding compilers.  */
9793
9794 #ifdef __STDC__
9795 # include <limits.h>
9796 #else
9797 # include <assert.h>
9798 #endif
9799
9800 #undef $ac_func
9801
9802 /* Override any gcc2 internal prototype to avoid an error.  */
9803 #ifdef __cplusplus
9804 extern "C"
9805 {
9806 #endif
9807 /* We use char because int might match the return type of a gcc2
9808    builtin and then its argument prototype would still apply.  */
9809 char $ac_func ();
9810 /* The GNU C library defines this for functions which it implements
9811     to always fail with ENOSYS.  Some functions are actually named
9812     something starting with __ and the normal name is an alias.  */
9813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9814 choke me
9815 #else
9816 char (*f) () = $ac_func;
9817 #endif
9818 #ifdef __cplusplus
9819 }
9820 #endif
9821
9822 int
9823 main ()
9824 {
9825 return f != $ac_func;
9826   ;
9827   return 0;
9828 }
9829 _ACEOF
9830 rm -f conftest.$ac_objext conftest$ac_exeext
9831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9832   (eval $ac_link) 2>conftest.er1
9833   ac_status=$?
9834   grep -v '^ *+' conftest.er1 >conftest.err
9835   rm -f conftest.er1
9836   cat conftest.err >&5
9837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9838   (exit $ac_status); } &&
9839          { ac_try='test -z "$ac_c_werror_flag"
9840                          || test ! -s conftest.err'
9841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9842   (eval $ac_try) 2>&5
9843   ac_status=$?
9844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9845   (exit $ac_status); }; } &&
9846          { ac_try='test -s conftest$ac_exeext'
9847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9848   (eval $ac_try) 2>&5
9849   ac_status=$?
9850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9851   (exit $ac_status); }; }; then
9852   eval "$as_ac_var=yes"
9853 else
9854   echo "$as_me: failed program was:" >&5
9855 sed 's/^/| /' conftest.$ac_ext >&5
9856
9857 eval "$as_ac_var=no"
9858 fi
9859 rm -f conftest.err conftest.$ac_objext \
9860       conftest$ac_exeext conftest.$ac_ext
9861 fi
9862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9864 if test `eval echo '${'$as_ac_var'}'` = yes; then
9865   cat >>confdefs.h <<_ACEOF
9866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9867 _ACEOF
9868
9869 fi
9870 done
9871
9872     fi
9873   fi
9874
9875
9876
9877   echo "$as_me:$LINENO: checking for sincos declaration" >&5
9878 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9879   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9880     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9881   echo $ECHO_N "(cached) $ECHO_C" >&6
9882 else
9883
9884
9885
9886       ac_ext=cc
9887 ac_cpp='$CXXCPP $CPPFLAGS'
9888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9891
9892       cat >conftest.$ac_ext <<_ACEOF
9893 /* confdefs.h.  */
9894 _ACEOF
9895 cat confdefs.h >>conftest.$ac_ext
9896 cat >>conftest.$ac_ext <<_ACEOF
9897 /* end confdefs.h.  */
9898 #include <math.h>
9899 int
9900 main ()
9901 {
9902  sincos(0, 0, 0);
9903   ;
9904   return 0;
9905 }
9906 _ACEOF
9907 rm -f conftest.$ac_objext
9908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9909   (eval $ac_compile) 2>conftest.er1
9910   ac_status=$?
9911   grep -v '^ *+' conftest.er1 >conftest.err
9912   rm -f conftest.er1
9913   cat conftest.err >&5
9914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9915   (exit $ac_status); } &&
9916          { ac_try='test -z "$ac_cxx_werror_flag"
9917                          || test ! -s conftest.err'
9918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9919   (eval $ac_try) 2>&5
9920   ac_status=$?
9921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9922   (exit $ac_status); }; } &&
9923          { ac_try='test -s conftest.$ac_objext'
9924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9925   (eval $ac_try) 2>&5
9926   ac_status=$?
9927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9928   (exit $ac_status); }; }; then
9929   glibcxx_cv_func_sincos_use=yes
9930 else
9931   echo "$as_me: failed program was:" >&5
9932 sed 's/^/| /' conftest.$ac_ext >&5
9933
9934 glibcxx_cv_func_sincos_use=no
9935 fi
9936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9937       ac_ext=c
9938 ac_cpp='$CPP $CPPFLAGS'
9939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9942
9943
9944 fi
9945
9946   fi
9947   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9948 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9949
9950   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9951
9952 for ac_func in sincos
9953 do
9954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9955 echo "$as_me:$LINENO: checking for $ac_func" >&5
9956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9957 if eval "test \"\${$as_ac_var+set}\" = set"; then
9958   echo $ECHO_N "(cached) $ECHO_C" >&6
9959 else
9960   if test x$gcc_no_link = xyes; then
9961   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9963    { (exit 1); exit 1; }; }
9964 fi
9965 cat >conftest.$ac_ext <<_ACEOF
9966 /* confdefs.h.  */
9967 _ACEOF
9968 cat confdefs.h >>conftest.$ac_ext
9969 cat >>conftest.$ac_ext <<_ACEOF
9970 /* end confdefs.h.  */
9971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9972    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9973 #define $ac_func innocuous_$ac_func
9974
9975 /* System header to define __stub macros and hopefully few prototypes,
9976     which can conflict with char $ac_func (); below.
9977     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9978     <limits.h> exists even on freestanding compilers.  */
9979
9980 #ifdef __STDC__
9981 # include <limits.h>
9982 #else
9983 # include <assert.h>
9984 #endif
9985
9986 #undef $ac_func
9987
9988 /* Override any gcc2 internal prototype to avoid an error.  */
9989 #ifdef __cplusplus
9990 extern "C"
9991 {
9992 #endif
9993 /* We use char because int might match the return type of a gcc2
9994    builtin and then its argument prototype would still apply.  */
9995 char $ac_func ();
9996 /* The GNU C library defines this for functions which it implements
9997     to always fail with ENOSYS.  Some functions are actually named
9998     something starting with __ and the normal name is an alias.  */
9999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10000 choke me
10001 #else
10002 char (*f) () = $ac_func;
10003 #endif
10004 #ifdef __cplusplus
10005 }
10006 #endif
10007
10008 int
10009 main ()
10010 {
10011 return f != $ac_func;
10012   ;
10013   return 0;
10014 }
10015 _ACEOF
10016 rm -f conftest.$ac_objext conftest$ac_exeext
10017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10018   (eval $ac_link) 2>conftest.er1
10019   ac_status=$?
10020   grep -v '^ *+' conftest.er1 >conftest.err
10021   rm -f conftest.er1
10022   cat conftest.err >&5
10023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10024   (exit $ac_status); } &&
10025          { ac_try='test -z "$ac_c_werror_flag"
10026                          || test ! -s conftest.err'
10027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10028   (eval $ac_try) 2>&5
10029   ac_status=$?
10030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10031   (exit $ac_status); }; } &&
10032          { ac_try='test -s conftest$ac_exeext'
10033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10034   (eval $ac_try) 2>&5
10035   ac_status=$?
10036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10037   (exit $ac_status); }; }; then
10038   eval "$as_ac_var=yes"
10039 else
10040   echo "$as_me: failed program was:" >&5
10041 sed 's/^/| /' conftest.$ac_ext >&5
10042
10043 eval "$as_ac_var=no"
10044 fi
10045 rm -f conftest.err conftest.$ac_objext \
10046       conftest$ac_exeext conftest.$ac_ext
10047 fi
10048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10050 if test `eval echo '${'$as_ac_var'}'` = yes; then
10051   cat >>confdefs.h <<_ACEOF
10052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10053 _ACEOF
10054
10055 fi
10056 done
10057
10058   else
10059
10060   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10061 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10062   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10063     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10064   echo $ECHO_N "(cached) $ECHO_C" >&6
10065 else
10066
10067
10068
10069       ac_ext=cc
10070 ac_cpp='$CXXCPP $CPPFLAGS'
10071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10074
10075       cat >conftest.$ac_ext <<_ACEOF
10076 /* confdefs.h.  */
10077 _ACEOF
10078 cat confdefs.h >>conftest.$ac_ext
10079 cat >>conftest.$ac_ext <<_ACEOF
10080 /* end confdefs.h.  */
10081 #include <math.h>
10082 int
10083 main ()
10084 {
10085  _sincos(0, 0, 0);
10086   ;
10087   return 0;
10088 }
10089 _ACEOF
10090 rm -f conftest.$ac_objext
10091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10092   (eval $ac_compile) 2>conftest.er1
10093   ac_status=$?
10094   grep -v '^ *+' conftest.er1 >conftest.err
10095   rm -f conftest.er1
10096   cat conftest.err >&5
10097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10098   (exit $ac_status); } &&
10099          { ac_try='test -z "$ac_cxx_werror_flag"
10100                          || test ! -s conftest.err'
10101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10102   (eval $ac_try) 2>&5
10103   ac_status=$?
10104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10105   (exit $ac_status); }; } &&
10106          { ac_try='test -s conftest.$ac_objext'
10107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10108   (eval $ac_try) 2>&5
10109   ac_status=$?
10110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10111   (exit $ac_status); }; }; then
10112   glibcxx_cv_func__sincos_use=yes
10113 else
10114   echo "$as_me: failed program was:" >&5
10115 sed 's/^/| /' conftest.$ac_ext >&5
10116
10117 glibcxx_cv_func__sincos_use=no
10118 fi
10119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10120       ac_ext=c
10121 ac_cpp='$CPP $CPPFLAGS'
10122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10125
10126
10127 fi
10128
10129   fi
10130   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10131 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10132
10133     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10134
10135 for ac_func in _sincos
10136 do
10137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10138 echo "$as_me:$LINENO: checking for $ac_func" >&5
10139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10140 if eval "test \"\${$as_ac_var+set}\" = set"; then
10141   echo $ECHO_N "(cached) $ECHO_C" >&6
10142 else
10143   if test x$gcc_no_link = xyes; then
10144   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10146    { (exit 1); exit 1; }; }
10147 fi
10148 cat >conftest.$ac_ext <<_ACEOF
10149 /* confdefs.h.  */
10150 _ACEOF
10151 cat confdefs.h >>conftest.$ac_ext
10152 cat >>conftest.$ac_ext <<_ACEOF
10153 /* end confdefs.h.  */
10154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10155    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10156 #define $ac_func innocuous_$ac_func
10157
10158 /* System header to define __stub macros and hopefully few prototypes,
10159     which can conflict with char $ac_func (); below.
10160     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10161     <limits.h> exists even on freestanding compilers.  */
10162
10163 #ifdef __STDC__
10164 # include <limits.h>
10165 #else
10166 # include <assert.h>
10167 #endif
10168
10169 #undef $ac_func
10170
10171 /* Override any gcc2 internal prototype to avoid an error.  */
10172 #ifdef __cplusplus
10173 extern "C"
10174 {
10175 #endif
10176 /* We use char because int might match the return type of a gcc2
10177    builtin and then its argument prototype would still apply.  */
10178 char $ac_func ();
10179 /* The GNU C library defines this for functions which it implements
10180     to always fail with ENOSYS.  Some functions are actually named
10181     something starting with __ and the normal name is an alias.  */
10182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10183 choke me
10184 #else
10185 char (*f) () = $ac_func;
10186 #endif
10187 #ifdef __cplusplus
10188 }
10189 #endif
10190
10191 int
10192 main ()
10193 {
10194 return f != $ac_func;
10195   ;
10196   return 0;
10197 }
10198 _ACEOF
10199 rm -f conftest.$ac_objext conftest$ac_exeext
10200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10201   (eval $ac_link) 2>conftest.er1
10202   ac_status=$?
10203   grep -v '^ *+' conftest.er1 >conftest.err
10204   rm -f conftest.er1
10205   cat conftest.err >&5
10206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207   (exit $ac_status); } &&
10208          { ac_try='test -z "$ac_c_werror_flag"
10209                          || test ! -s conftest.err'
10210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10211   (eval $ac_try) 2>&5
10212   ac_status=$?
10213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10214   (exit $ac_status); }; } &&
10215          { ac_try='test -s conftest$ac_exeext'
10216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10217   (eval $ac_try) 2>&5
10218   ac_status=$?
10219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10220   (exit $ac_status); }; }; then
10221   eval "$as_ac_var=yes"
10222 else
10223   echo "$as_me: failed program was:" >&5
10224 sed 's/^/| /' conftest.$ac_ext >&5
10225
10226 eval "$as_ac_var=no"
10227 fi
10228 rm -f conftest.err conftest.$ac_objext \
10229       conftest$ac_exeext conftest.$ac_ext
10230 fi
10231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10233 if test `eval echo '${'$as_ac_var'}'` = yes; then
10234   cat >>confdefs.h <<_ACEOF
10235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10236 _ACEOF
10237
10238 fi
10239 done
10240
10241     fi
10242   fi
10243
10244
10245
10246   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10247 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10248   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10249     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10250   echo $ECHO_N "(cached) $ECHO_C" >&6
10251 else
10252
10253
10254
10255       ac_ext=cc
10256 ac_cpp='$CXXCPP $CPPFLAGS'
10257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10260
10261       cat >conftest.$ac_ext <<_ACEOF
10262 /* confdefs.h.  */
10263 _ACEOF
10264 cat confdefs.h >>conftest.$ac_ext
10265 cat >>conftest.$ac_ext <<_ACEOF
10266 /* end confdefs.h.  */
10267 #include <math.h>
10268                       #ifdef HAVE_IEEEFP_H
10269                       #include <ieeefp.h>
10270                       #endif
10271
10272 int
10273 main ()
10274 {
10275  fpclass(0);
10276   ;
10277   return 0;
10278 }
10279 _ACEOF
10280 rm -f conftest.$ac_objext
10281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10282   (eval $ac_compile) 2>conftest.er1
10283   ac_status=$?
10284   grep -v '^ *+' conftest.er1 >conftest.err
10285   rm -f conftest.er1
10286   cat conftest.err >&5
10287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10288   (exit $ac_status); } &&
10289          { ac_try='test -z "$ac_cxx_werror_flag"
10290                          || test ! -s conftest.err'
10291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10292   (eval $ac_try) 2>&5
10293   ac_status=$?
10294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10295   (exit $ac_status); }; } &&
10296          { ac_try='test -s conftest.$ac_objext'
10297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10298   (eval $ac_try) 2>&5
10299   ac_status=$?
10300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10301   (exit $ac_status); }; }; then
10302   glibcxx_cv_func_fpclass_use=yes
10303 else
10304   echo "$as_me: failed program was:" >&5
10305 sed 's/^/| /' conftest.$ac_ext >&5
10306
10307 glibcxx_cv_func_fpclass_use=no
10308 fi
10309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10310       ac_ext=c
10311 ac_cpp='$CPP $CPPFLAGS'
10312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10315
10316
10317 fi
10318
10319   fi
10320   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10321 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10322
10323   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10324
10325 for ac_func in fpclass
10326 do
10327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10328 echo "$as_me:$LINENO: checking for $ac_func" >&5
10329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10330 if eval "test \"\${$as_ac_var+set}\" = set"; then
10331   echo $ECHO_N "(cached) $ECHO_C" >&6
10332 else
10333   if test x$gcc_no_link = xyes; then
10334   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10336    { (exit 1); exit 1; }; }
10337 fi
10338 cat >conftest.$ac_ext <<_ACEOF
10339 /* confdefs.h.  */
10340 _ACEOF
10341 cat confdefs.h >>conftest.$ac_ext
10342 cat >>conftest.$ac_ext <<_ACEOF
10343 /* end confdefs.h.  */
10344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10345    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10346 #define $ac_func innocuous_$ac_func
10347
10348 /* System header to define __stub macros and hopefully few prototypes,
10349     which can conflict with char $ac_func (); below.
10350     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10351     <limits.h> exists even on freestanding compilers.  */
10352
10353 #ifdef __STDC__
10354 # include <limits.h>
10355 #else
10356 # include <assert.h>
10357 #endif
10358
10359 #undef $ac_func
10360
10361 /* Override any gcc2 internal prototype to avoid an error.  */
10362 #ifdef __cplusplus
10363 extern "C"
10364 {
10365 #endif
10366 /* We use char because int might match the return type of a gcc2
10367    builtin and then its argument prototype would still apply.  */
10368 char $ac_func ();
10369 /* The GNU C library defines this for functions which it implements
10370     to always fail with ENOSYS.  Some functions are actually named
10371     something starting with __ and the normal name is an alias.  */
10372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10373 choke me
10374 #else
10375 char (*f) () = $ac_func;
10376 #endif
10377 #ifdef __cplusplus
10378 }
10379 #endif
10380
10381 int
10382 main ()
10383 {
10384 return f != $ac_func;
10385   ;
10386   return 0;
10387 }
10388 _ACEOF
10389 rm -f conftest.$ac_objext conftest$ac_exeext
10390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10391   (eval $ac_link) 2>conftest.er1
10392   ac_status=$?
10393   grep -v '^ *+' conftest.er1 >conftest.err
10394   rm -f conftest.er1
10395   cat conftest.err >&5
10396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10397   (exit $ac_status); } &&
10398          { ac_try='test -z "$ac_c_werror_flag"
10399                          || test ! -s conftest.err'
10400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10401   (eval $ac_try) 2>&5
10402   ac_status=$?
10403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10404   (exit $ac_status); }; } &&
10405          { ac_try='test -s conftest$ac_exeext'
10406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10407   (eval $ac_try) 2>&5
10408   ac_status=$?
10409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10410   (exit $ac_status); }; }; then
10411   eval "$as_ac_var=yes"
10412 else
10413   echo "$as_me: failed program was:" >&5
10414 sed 's/^/| /' conftest.$ac_ext >&5
10415
10416 eval "$as_ac_var=no"
10417 fi
10418 rm -f conftest.err conftest.$ac_objext \
10419       conftest$ac_exeext conftest.$ac_ext
10420 fi
10421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10423 if test `eval echo '${'$as_ac_var'}'` = yes; then
10424   cat >>confdefs.h <<_ACEOF
10425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10426 _ACEOF
10427
10428 fi
10429 done
10430
10431   else
10432
10433   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10434 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10435   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10436     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10437   echo $ECHO_N "(cached) $ECHO_C" >&6
10438 else
10439
10440
10441
10442       ac_ext=cc
10443 ac_cpp='$CXXCPP $CPPFLAGS'
10444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10447
10448       cat >conftest.$ac_ext <<_ACEOF
10449 /* confdefs.h.  */
10450 _ACEOF
10451 cat confdefs.h >>conftest.$ac_ext
10452 cat >>conftest.$ac_ext <<_ACEOF
10453 /* end confdefs.h.  */
10454 #include <math.h>
10455                       #ifdef HAVE_IEEEFP_H
10456                       #include <ieeefp.h>
10457                       #endif
10458
10459 int
10460 main ()
10461 {
10462  _fpclass(0);
10463   ;
10464   return 0;
10465 }
10466 _ACEOF
10467 rm -f conftest.$ac_objext
10468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10469   (eval $ac_compile) 2>conftest.er1
10470   ac_status=$?
10471   grep -v '^ *+' conftest.er1 >conftest.err
10472   rm -f conftest.er1
10473   cat conftest.err >&5
10474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10475   (exit $ac_status); } &&
10476          { ac_try='test -z "$ac_cxx_werror_flag"
10477                          || test ! -s conftest.err'
10478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10479   (eval $ac_try) 2>&5
10480   ac_status=$?
10481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10482   (exit $ac_status); }; } &&
10483          { ac_try='test -s conftest.$ac_objext'
10484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10485   (eval $ac_try) 2>&5
10486   ac_status=$?
10487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10488   (exit $ac_status); }; }; then
10489   glibcxx_cv_func__fpclass_use=yes
10490 else
10491   echo "$as_me: failed program was:" >&5
10492 sed 's/^/| /' conftest.$ac_ext >&5
10493
10494 glibcxx_cv_func__fpclass_use=no
10495 fi
10496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10497       ac_ext=c
10498 ac_cpp='$CPP $CPPFLAGS'
10499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10502
10503
10504 fi
10505
10506   fi
10507   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10508 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10509
10510     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10511
10512 for ac_func in _fpclass
10513 do
10514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10515 echo "$as_me:$LINENO: checking for $ac_func" >&5
10516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10517 if eval "test \"\${$as_ac_var+set}\" = set"; then
10518   echo $ECHO_N "(cached) $ECHO_C" >&6
10519 else
10520   if test x$gcc_no_link = xyes; then
10521   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10523    { (exit 1); exit 1; }; }
10524 fi
10525 cat >conftest.$ac_ext <<_ACEOF
10526 /* confdefs.h.  */
10527 _ACEOF
10528 cat confdefs.h >>conftest.$ac_ext
10529 cat >>conftest.$ac_ext <<_ACEOF
10530 /* end confdefs.h.  */
10531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10532    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10533 #define $ac_func innocuous_$ac_func
10534
10535 /* System header to define __stub macros and hopefully few prototypes,
10536     which can conflict with char $ac_func (); below.
10537     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10538     <limits.h> exists even on freestanding compilers.  */
10539
10540 #ifdef __STDC__
10541 # include <limits.h>
10542 #else
10543 # include <assert.h>
10544 #endif
10545
10546 #undef $ac_func
10547
10548 /* Override any gcc2 internal prototype to avoid an error.  */
10549 #ifdef __cplusplus
10550 extern "C"
10551 {
10552 #endif
10553 /* We use char because int might match the return type of a gcc2
10554    builtin and then its argument prototype would still apply.  */
10555 char $ac_func ();
10556 /* The GNU C library defines this for functions which it implements
10557     to always fail with ENOSYS.  Some functions are actually named
10558     something starting with __ and the normal name is an alias.  */
10559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10560 choke me
10561 #else
10562 char (*f) () = $ac_func;
10563 #endif
10564 #ifdef __cplusplus
10565 }
10566 #endif
10567
10568 int
10569 main ()
10570 {
10571 return f != $ac_func;
10572   ;
10573   return 0;
10574 }
10575 _ACEOF
10576 rm -f conftest.$ac_objext conftest$ac_exeext
10577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10578   (eval $ac_link) 2>conftest.er1
10579   ac_status=$?
10580   grep -v '^ *+' conftest.er1 >conftest.err
10581   rm -f conftest.er1
10582   cat conftest.err >&5
10583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10584   (exit $ac_status); } &&
10585          { ac_try='test -z "$ac_c_werror_flag"
10586                          || test ! -s conftest.err'
10587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10588   (eval $ac_try) 2>&5
10589   ac_status=$?
10590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10591   (exit $ac_status); }; } &&
10592          { ac_try='test -s conftest$ac_exeext'
10593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10594   (eval $ac_try) 2>&5
10595   ac_status=$?
10596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10597   (exit $ac_status); }; }; then
10598   eval "$as_ac_var=yes"
10599 else
10600   echo "$as_me: failed program was:" >&5
10601 sed 's/^/| /' conftest.$ac_ext >&5
10602
10603 eval "$as_ac_var=no"
10604 fi
10605 rm -f conftest.err conftest.$ac_objext \
10606       conftest$ac_exeext conftest.$ac_ext
10607 fi
10608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10610 if test `eval echo '${'$as_ac_var'}'` = yes; then
10611   cat >>confdefs.h <<_ACEOF
10612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10613 _ACEOF
10614
10615 fi
10616 done
10617
10618     fi
10619   fi
10620
10621
10622
10623   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10624 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10625   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10626     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10627   echo $ECHO_N "(cached) $ECHO_C" >&6
10628 else
10629
10630
10631
10632       ac_ext=cc
10633 ac_cpp='$CXXCPP $CPPFLAGS'
10634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10637
10638       cat >conftest.$ac_ext <<_ACEOF
10639 /* confdefs.h.  */
10640 _ACEOF
10641 cat confdefs.h >>conftest.$ac_ext
10642 cat >>conftest.$ac_ext <<_ACEOF
10643 /* end confdefs.h.  */
10644 #include <math.h>
10645                       #ifdef HAVE_IEEEFP_H
10646                       #include <ieeefp.h>
10647                       #endif
10648
10649 int
10650 main ()
10651 {
10652  qfpclass(0);
10653   ;
10654   return 0;
10655 }
10656 _ACEOF
10657 rm -f conftest.$ac_objext
10658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10659   (eval $ac_compile) 2>conftest.er1
10660   ac_status=$?
10661   grep -v '^ *+' conftest.er1 >conftest.err
10662   rm -f conftest.er1
10663   cat conftest.err >&5
10664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10665   (exit $ac_status); } &&
10666          { ac_try='test -z "$ac_cxx_werror_flag"
10667                          || test ! -s conftest.err'
10668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10669   (eval $ac_try) 2>&5
10670   ac_status=$?
10671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10672   (exit $ac_status); }; } &&
10673          { ac_try='test -s conftest.$ac_objext'
10674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10675   (eval $ac_try) 2>&5
10676   ac_status=$?
10677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10678   (exit $ac_status); }; }; then
10679   glibcxx_cv_func_qfpclass_use=yes
10680 else
10681   echo "$as_me: failed program was:" >&5
10682 sed 's/^/| /' conftest.$ac_ext >&5
10683
10684 glibcxx_cv_func_qfpclass_use=no
10685 fi
10686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10687       ac_ext=c
10688 ac_cpp='$CPP $CPPFLAGS'
10689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10692
10693
10694 fi
10695
10696   fi
10697   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10698 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10699
10700   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10701
10702 for ac_func in qfpclass
10703 do
10704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10705 echo "$as_me:$LINENO: checking for $ac_func" >&5
10706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10707 if eval "test \"\${$as_ac_var+set}\" = set"; then
10708   echo $ECHO_N "(cached) $ECHO_C" >&6
10709 else
10710   if test x$gcc_no_link = xyes; then
10711   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10713    { (exit 1); exit 1; }; }
10714 fi
10715 cat >conftest.$ac_ext <<_ACEOF
10716 /* confdefs.h.  */
10717 _ACEOF
10718 cat confdefs.h >>conftest.$ac_ext
10719 cat >>conftest.$ac_ext <<_ACEOF
10720 /* end confdefs.h.  */
10721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10722    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10723 #define $ac_func innocuous_$ac_func
10724
10725 /* System header to define __stub macros and hopefully few prototypes,
10726     which can conflict with char $ac_func (); below.
10727     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10728     <limits.h> exists even on freestanding compilers.  */
10729
10730 #ifdef __STDC__
10731 # include <limits.h>
10732 #else
10733 # include <assert.h>
10734 #endif
10735
10736 #undef $ac_func
10737
10738 /* Override any gcc2 internal prototype to avoid an error.  */
10739 #ifdef __cplusplus
10740 extern "C"
10741 {
10742 #endif
10743 /* We use char because int might match the return type of a gcc2
10744    builtin and then its argument prototype would still apply.  */
10745 char $ac_func ();
10746 /* The GNU C library defines this for functions which it implements
10747     to always fail with ENOSYS.  Some functions are actually named
10748     something starting with __ and the normal name is an alias.  */
10749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10750 choke me
10751 #else
10752 char (*f) () = $ac_func;
10753 #endif
10754 #ifdef __cplusplus
10755 }
10756 #endif
10757
10758 int
10759 main ()
10760 {
10761 return f != $ac_func;
10762   ;
10763   return 0;
10764 }
10765 _ACEOF
10766 rm -f conftest.$ac_objext conftest$ac_exeext
10767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10768   (eval $ac_link) 2>conftest.er1
10769   ac_status=$?
10770   grep -v '^ *+' conftest.er1 >conftest.err
10771   rm -f conftest.er1
10772   cat conftest.err >&5
10773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10774   (exit $ac_status); } &&
10775          { ac_try='test -z "$ac_c_werror_flag"
10776                          || test ! -s conftest.err'
10777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10778   (eval $ac_try) 2>&5
10779   ac_status=$?
10780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10781   (exit $ac_status); }; } &&
10782          { ac_try='test -s conftest$ac_exeext'
10783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10784   (eval $ac_try) 2>&5
10785   ac_status=$?
10786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10787   (exit $ac_status); }; }; then
10788   eval "$as_ac_var=yes"
10789 else
10790   echo "$as_me: failed program was:" >&5
10791 sed 's/^/| /' conftest.$ac_ext >&5
10792
10793 eval "$as_ac_var=no"
10794 fi
10795 rm -f conftest.err conftest.$ac_objext \
10796       conftest$ac_exeext conftest.$ac_ext
10797 fi
10798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10800 if test `eval echo '${'$as_ac_var'}'` = yes; then
10801   cat >>confdefs.h <<_ACEOF
10802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10803 _ACEOF
10804
10805 fi
10806 done
10807
10808   else
10809
10810   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10811 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10812   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10813     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10814   echo $ECHO_N "(cached) $ECHO_C" >&6
10815 else
10816
10817
10818
10819       ac_ext=cc
10820 ac_cpp='$CXXCPP $CPPFLAGS'
10821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10824
10825       cat >conftest.$ac_ext <<_ACEOF
10826 /* confdefs.h.  */
10827 _ACEOF
10828 cat confdefs.h >>conftest.$ac_ext
10829 cat >>conftest.$ac_ext <<_ACEOF
10830 /* end confdefs.h.  */
10831 #include <math.h>
10832                       #ifdef HAVE_IEEEFP_H
10833                       #include <ieeefp.h>
10834                       #endif
10835
10836 int
10837 main ()
10838 {
10839  _qfpclass(0);
10840   ;
10841   return 0;
10842 }
10843 _ACEOF
10844 rm -f conftest.$ac_objext
10845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10846   (eval $ac_compile) 2>conftest.er1
10847   ac_status=$?
10848   grep -v '^ *+' conftest.er1 >conftest.err
10849   rm -f conftest.er1
10850   cat conftest.err >&5
10851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10852   (exit $ac_status); } &&
10853          { ac_try='test -z "$ac_cxx_werror_flag"
10854                          || test ! -s conftest.err'
10855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10856   (eval $ac_try) 2>&5
10857   ac_status=$?
10858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10859   (exit $ac_status); }; } &&
10860          { ac_try='test -s conftest.$ac_objext'
10861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10862   (eval $ac_try) 2>&5
10863   ac_status=$?
10864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10865   (exit $ac_status); }; }; then
10866   glibcxx_cv_func__qfpclass_use=yes
10867 else
10868   echo "$as_me: failed program was:" >&5
10869 sed 's/^/| /' conftest.$ac_ext >&5
10870
10871 glibcxx_cv_func__qfpclass_use=no
10872 fi
10873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10874       ac_ext=c
10875 ac_cpp='$CPP $CPPFLAGS'
10876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10879
10880
10881 fi
10882
10883   fi
10884   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10885 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10886
10887     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10888
10889 for ac_func in _qfpclass
10890 do
10891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10892 echo "$as_me:$LINENO: checking for $ac_func" >&5
10893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10894 if eval "test \"\${$as_ac_var+set}\" = set"; then
10895   echo $ECHO_N "(cached) $ECHO_C" >&6
10896 else
10897   if test x$gcc_no_link = xyes; then
10898   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10900    { (exit 1); exit 1; }; }
10901 fi
10902 cat >conftest.$ac_ext <<_ACEOF
10903 /* confdefs.h.  */
10904 _ACEOF
10905 cat confdefs.h >>conftest.$ac_ext
10906 cat >>conftest.$ac_ext <<_ACEOF
10907 /* end confdefs.h.  */
10908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10909    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10910 #define $ac_func innocuous_$ac_func
10911
10912 /* System header to define __stub macros and hopefully few prototypes,
10913     which can conflict with char $ac_func (); below.
10914     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10915     <limits.h> exists even on freestanding compilers.  */
10916
10917 #ifdef __STDC__
10918 # include <limits.h>
10919 #else
10920 # include <assert.h>
10921 #endif
10922
10923 #undef $ac_func
10924
10925 /* Override any gcc2 internal prototype to avoid an error.  */
10926 #ifdef __cplusplus
10927 extern "C"
10928 {
10929 #endif
10930 /* We use char because int might match the return type of a gcc2
10931    builtin and then its argument prototype would still apply.  */
10932 char $ac_func ();
10933 /* The GNU C library defines this for functions which it implements
10934     to always fail with ENOSYS.  Some functions are actually named
10935     something starting with __ and the normal name is an alias.  */
10936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10937 choke me
10938 #else
10939 char (*f) () = $ac_func;
10940 #endif
10941 #ifdef __cplusplus
10942 }
10943 #endif
10944
10945 int
10946 main ()
10947 {
10948 return f != $ac_func;
10949   ;
10950   return 0;
10951 }
10952 _ACEOF
10953 rm -f conftest.$ac_objext conftest$ac_exeext
10954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10955   (eval $ac_link) 2>conftest.er1
10956   ac_status=$?
10957   grep -v '^ *+' conftest.er1 >conftest.err
10958   rm -f conftest.er1
10959   cat conftest.err >&5
10960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10961   (exit $ac_status); } &&
10962          { ac_try='test -z "$ac_c_werror_flag"
10963                          || test ! -s conftest.err'
10964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10965   (eval $ac_try) 2>&5
10966   ac_status=$?
10967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10968   (exit $ac_status); }; } &&
10969          { ac_try='test -s conftest$ac_exeext'
10970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10971   (eval $ac_try) 2>&5
10972   ac_status=$?
10973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10974   (exit $ac_status); }; }; then
10975   eval "$as_ac_var=yes"
10976 else
10977   echo "$as_me: failed program was:" >&5
10978 sed 's/^/| /' conftest.$ac_ext >&5
10979
10980 eval "$as_ac_var=no"
10981 fi
10982 rm -f conftest.err conftest.$ac_objext \
10983       conftest$ac_exeext conftest.$ac_ext
10984 fi
10985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10987 if test `eval echo '${'$as_ac_var'}'` = yes; then
10988   cat >>confdefs.h <<_ACEOF
10989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10990 _ACEOF
10991
10992 fi
10993 done
10994
10995     fi
10996   fi
10997
10998
10999
11000   echo "$as_me:$LINENO: checking for hypot declaration" >&5
11001 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
11002   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
11003     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11004   echo $ECHO_N "(cached) $ECHO_C" >&6
11005 else
11006
11007
11008
11009       ac_ext=cc
11010 ac_cpp='$CXXCPP $CPPFLAGS'
11011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11014
11015       cat >conftest.$ac_ext <<_ACEOF
11016 /* confdefs.h.  */
11017 _ACEOF
11018 cat confdefs.h >>conftest.$ac_ext
11019 cat >>conftest.$ac_ext <<_ACEOF
11020 /* end confdefs.h.  */
11021 #include <math.h>
11022 int
11023 main ()
11024 {
11025  hypot(0, 0);
11026   ;
11027   return 0;
11028 }
11029 _ACEOF
11030 rm -f conftest.$ac_objext
11031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11032   (eval $ac_compile) 2>conftest.er1
11033   ac_status=$?
11034   grep -v '^ *+' conftest.er1 >conftest.err
11035   rm -f conftest.er1
11036   cat conftest.err >&5
11037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11038   (exit $ac_status); } &&
11039          { ac_try='test -z "$ac_cxx_werror_flag"
11040                          || test ! -s conftest.err'
11041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11042   (eval $ac_try) 2>&5
11043   ac_status=$?
11044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11045   (exit $ac_status); }; } &&
11046          { ac_try='test -s conftest.$ac_objext'
11047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11048   (eval $ac_try) 2>&5
11049   ac_status=$?
11050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11051   (exit $ac_status); }; }; then
11052   glibcxx_cv_func_hypot_use=yes
11053 else
11054   echo "$as_me: failed program was:" >&5
11055 sed 's/^/| /' conftest.$ac_ext >&5
11056
11057 glibcxx_cv_func_hypot_use=no
11058 fi
11059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11060       ac_ext=c
11061 ac_cpp='$CPP $CPPFLAGS'
11062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11065
11066
11067 fi
11068
11069   fi
11070   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11071 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11072
11073   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11074
11075 for ac_func in hypot
11076 do
11077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11078 echo "$as_me:$LINENO: checking for $ac_func" >&5
11079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11080 if eval "test \"\${$as_ac_var+set}\" = set"; then
11081   echo $ECHO_N "(cached) $ECHO_C" >&6
11082 else
11083   if test x$gcc_no_link = xyes; then
11084   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11086    { (exit 1); exit 1; }; }
11087 fi
11088 cat >conftest.$ac_ext <<_ACEOF
11089 /* confdefs.h.  */
11090 _ACEOF
11091 cat confdefs.h >>conftest.$ac_ext
11092 cat >>conftest.$ac_ext <<_ACEOF
11093 /* end confdefs.h.  */
11094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11095    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11096 #define $ac_func innocuous_$ac_func
11097
11098 /* System header to define __stub macros and hopefully few prototypes,
11099     which can conflict with char $ac_func (); below.
11100     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11101     <limits.h> exists even on freestanding compilers.  */
11102
11103 #ifdef __STDC__
11104 # include <limits.h>
11105 #else
11106 # include <assert.h>
11107 #endif
11108
11109 #undef $ac_func
11110
11111 /* Override any gcc2 internal prototype to avoid an error.  */
11112 #ifdef __cplusplus
11113 extern "C"
11114 {
11115 #endif
11116 /* We use char because int might match the return type of a gcc2
11117    builtin and then its argument prototype would still apply.  */
11118 char $ac_func ();
11119 /* The GNU C library defines this for functions which it implements
11120     to always fail with ENOSYS.  Some functions are actually named
11121     something starting with __ and the normal name is an alias.  */
11122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11123 choke me
11124 #else
11125 char (*f) () = $ac_func;
11126 #endif
11127 #ifdef __cplusplus
11128 }
11129 #endif
11130
11131 int
11132 main ()
11133 {
11134 return f != $ac_func;
11135   ;
11136   return 0;
11137 }
11138 _ACEOF
11139 rm -f conftest.$ac_objext conftest$ac_exeext
11140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11141   (eval $ac_link) 2>conftest.er1
11142   ac_status=$?
11143   grep -v '^ *+' conftest.er1 >conftest.err
11144   rm -f conftest.er1
11145   cat conftest.err >&5
11146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11147   (exit $ac_status); } &&
11148          { ac_try='test -z "$ac_c_werror_flag"
11149                          || test ! -s conftest.err'
11150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11151   (eval $ac_try) 2>&5
11152   ac_status=$?
11153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11154   (exit $ac_status); }; } &&
11155          { ac_try='test -s conftest$ac_exeext'
11156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11157   (eval $ac_try) 2>&5
11158   ac_status=$?
11159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11160   (exit $ac_status); }; }; then
11161   eval "$as_ac_var=yes"
11162 else
11163   echo "$as_me: failed program was:" >&5
11164 sed 's/^/| /' conftest.$ac_ext >&5
11165
11166 eval "$as_ac_var=no"
11167 fi
11168 rm -f conftest.err conftest.$ac_objext \
11169       conftest$ac_exeext conftest.$ac_ext
11170 fi
11171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11173 if test `eval echo '${'$as_ac_var'}'` = yes; then
11174   cat >>confdefs.h <<_ACEOF
11175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11176 _ACEOF
11177
11178 fi
11179 done
11180
11181   else
11182
11183   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11184 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11185   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11186     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11187   echo $ECHO_N "(cached) $ECHO_C" >&6
11188 else
11189
11190
11191
11192       ac_ext=cc
11193 ac_cpp='$CXXCPP $CPPFLAGS'
11194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11197
11198       cat >conftest.$ac_ext <<_ACEOF
11199 /* confdefs.h.  */
11200 _ACEOF
11201 cat confdefs.h >>conftest.$ac_ext
11202 cat >>conftest.$ac_ext <<_ACEOF
11203 /* end confdefs.h.  */
11204 #include <math.h>
11205 int
11206 main ()
11207 {
11208  _hypot(0, 0);
11209   ;
11210   return 0;
11211 }
11212 _ACEOF
11213 rm -f conftest.$ac_objext
11214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11215   (eval $ac_compile) 2>conftest.er1
11216   ac_status=$?
11217   grep -v '^ *+' conftest.er1 >conftest.err
11218   rm -f conftest.er1
11219   cat conftest.err >&5
11220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11221   (exit $ac_status); } &&
11222          { ac_try='test -z "$ac_cxx_werror_flag"
11223                          || test ! -s conftest.err'
11224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11225   (eval $ac_try) 2>&5
11226   ac_status=$?
11227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11228   (exit $ac_status); }; } &&
11229          { ac_try='test -s conftest.$ac_objext'
11230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11231   (eval $ac_try) 2>&5
11232   ac_status=$?
11233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11234   (exit $ac_status); }; }; then
11235   glibcxx_cv_func__hypot_use=yes
11236 else
11237   echo "$as_me: failed program was:" >&5
11238 sed 's/^/| /' conftest.$ac_ext >&5
11239
11240 glibcxx_cv_func__hypot_use=no
11241 fi
11242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11243       ac_ext=c
11244 ac_cpp='$CPP $CPPFLAGS'
11245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11248
11249
11250 fi
11251
11252   fi
11253   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11254 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11255
11256     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11257
11258 for ac_func in _hypot
11259 do
11260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11261 echo "$as_me:$LINENO: checking for $ac_func" >&5
11262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11263 if eval "test \"\${$as_ac_var+set}\" = set"; then
11264   echo $ECHO_N "(cached) $ECHO_C" >&6
11265 else
11266   if test x$gcc_no_link = xyes; then
11267   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11269    { (exit 1); exit 1; }; }
11270 fi
11271 cat >conftest.$ac_ext <<_ACEOF
11272 /* confdefs.h.  */
11273 _ACEOF
11274 cat confdefs.h >>conftest.$ac_ext
11275 cat >>conftest.$ac_ext <<_ACEOF
11276 /* end confdefs.h.  */
11277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11278    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11279 #define $ac_func innocuous_$ac_func
11280
11281 /* System header to define __stub macros and hopefully few prototypes,
11282     which can conflict with char $ac_func (); below.
11283     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11284     <limits.h> exists even on freestanding compilers.  */
11285
11286 #ifdef __STDC__
11287 # include <limits.h>
11288 #else
11289 # include <assert.h>
11290 #endif
11291
11292 #undef $ac_func
11293
11294 /* Override any gcc2 internal prototype to avoid an error.  */
11295 #ifdef __cplusplus
11296 extern "C"
11297 {
11298 #endif
11299 /* We use char because int might match the return type of a gcc2
11300    builtin and then its argument prototype would still apply.  */
11301 char $ac_func ();
11302 /* The GNU C library defines this for functions which it implements
11303     to always fail with ENOSYS.  Some functions are actually named
11304     something starting with __ and the normal name is an alias.  */
11305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11306 choke me
11307 #else
11308 char (*f) () = $ac_func;
11309 #endif
11310 #ifdef __cplusplus
11311 }
11312 #endif
11313
11314 int
11315 main ()
11316 {
11317 return f != $ac_func;
11318   ;
11319   return 0;
11320 }
11321 _ACEOF
11322 rm -f conftest.$ac_objext conftest$ac_exeext
11323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11324   (eval $ac_link) 2>conftest.er1
11325   ac_status=$?
11326   grep -v '^ *+' conftest.er1 >conftest.err
11327   rm -f conftest.er1
11328   cat conftest.err >&5
11329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11330   (exit $ac_status); } &&
11331          { ac_try='test -z "$ac_c_werror_flag"
11332                          || test ! -s conftest.err'
11333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11334   (eval $ac_try) 2>&5
11335   ac_status=$?
11336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11337   (exit $ac_status); }; } &&
11338          { ac_try='test -s conftest$ac_exeext'
11339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11340   (eval $ac_try) 2>&5
11341   ac_status=$?
11342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11343   (exit $ac_status); }; }; then
11344   eval "$as_ac_var=yes"
11345 else
11346   echo "$as_me: failed program was:" >&5
11347 sed 's/^/| /' conftest.$ac_ext >&5
11348
11349 eval "$as_ac_var=no"
11350 fi
11351 rm -f conftest.err conftest.$ac_objext \
11352       conftest$ac_exeext conftest.$ac_ext
11353 fi
11354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11356 if test `eval echo '${'$as_ac_var'}'` = yes; then
11357   cat >>confdefs.h <<_ACEOF
11358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11359 _ACEOF
11360
11361 fi
11362 done
11363
11364     fi
11365   fi
11366
11367
11368
11369   echo "$as_me:$LINENO: checking for float trig functions" >&5
11370 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11371   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11372   echo $ECHO_N "(cached) $ECHO_C" >&6
11373 else
11374
11375
11376
11377     ac_ext=cc
11378 ac_cpp='$CXXCPP $CPPFLAGS'
11379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11382
11383     cat >conftest.$ac_ext <<_ACEOF
11384 /* confdefs.h.  */
11385 _ACEOF
11386 cat confdefs.h >>conftest.$ac_ext
11387 cat >>conftest.$ac_ext <<_ACEOF
11388 /* end confdefs.h.  */
11389 #include <math.h>
11390 int
11391 main ()
11392 {
11393  `for x in acosf asinf atanf \
11394                                           cosf sinf tanf \
11395                                           coshf sinhf tanhf; do echo "$x (0);"; done`
11396   ;
11397   return 0;
11398 }
11399 _ACEOF
11400 rm -f conftest.$ac_objext
11401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11402   (eval $ac_compile) 2>conftest.er1
11403   ac_status=$?
11404   grep -v '^ *+' conftest.er1 >conftest.err
11405   rm -f conftest.er1
11406   cat conftest.err >&5
11407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11408   (exit $ac_status); } &&
11409          { ac_try='test -z "$ac_cxx_werror_flag"
11410                          || test ! -s conftest.err'
11411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11412   (eval $ac_try) 2>&5
11413   ac_status=$?
11414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11415   (exit $ac_status); }; } &&
11416          { ac_try='test -s conftest.$ac_objext'
11417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11418   (eval $ac_try) 2>&5
11419   ac_status=$?
11420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11421   (exit $ac_status); }; }; then
11422   glibcxx_cv_func_float_trig_use=yes
11423 else
11424   echo "$as_me: failed program was:" >&5
11425 sed 's/^/| /' conftest.$ac_ext >&5
11426
11427 glibcxx_cv_func_float_trig_use=no
11428 fi
11429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11430     ac_ext=c
11431 ac_cpp='$CPP $CPPFLAGS'
11432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11435
11436 fi
11437
11438   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11439 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11440   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450 for ac_func in acosf asinf atanf \
11451                                           cosf sinf tanf \
11452                                           coshf sinhf tanhf
11453 do
11454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11455 echo "$as_me:$LINENO: checking for $ac_func" >&5
11456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11457 if eval "test \"\${$as_ac_var+set}\" = set"; then
11458   echo $ECHO_N "(cached) $ECHO_C" >&6
11459 else
11460   if test x$gcc_no_link = xyes; then
11461   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11463    { (exit 1); exit 1; }; }
11464 fi
11465 cat >conftest.$ac_ext <<_ACEOF
11466 /* confdefs.h.  */
11467 _ACEOF
11468 cat confdefs.h >>conftest.$ac_ext
11469 cat >>conftest.$ac_ext <<_ACEOF
11470 /* end confdefs.h.  */
11471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11472    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11473 #define $ac_func innocuous_$ac_func
11474
11475 /* System header to define __stub macros and hopefully few prototypes,
11476     which can conflict with char $ac_func (); below.
11477     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11478     <limits.h> exists even on freestanding compilers.  */
11479
11480 #ifdef __STDC__
11481 # include <limits.h>
11482 #else
11483 # include <assert.h>
11484 #endif
11485
11486 #undef $ac_func
11487
11488 /* Override any gcc2 internal prototype to avoid an error.  */
11489 #ifdef __cplusplus
11490 extern "C"
11491 {
11492 #endif
11493 /* We use char because int might match the return type of a gcc2
11494    builtin and then its argument prototype would still apply.  */
11495 char $ac_func ();
11496 /* The GNU C library defines this for functions which it implements
11497     to always fail with ENOSYS.  Some functions are actually named
11498     something starting with __ and the normal name is an alias.  */
11499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11500 choke me
11501 #else
11502 char (*f) () = $ac_func;
11503 #endif
11504 #ifdef __cplusplus
11505 }
11506 #endif
11507
11508 int
11509 main ()
11510 {
11511 return f != $ac_func;
11512   ;
11513   return 0;
11514 }
11515 _ACEOF
11516 rm -f conftest.$ac_objext conftest$ac_exeext
11517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11518   (eval $ac_link) 2>conftest.er1
11519   ac_status=$?
11520   grep -v '^ *+' conftest.er1 >conftest.err
11521   rm -f conftest.er1
11522   cat conftest.err >&5
11523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524   (exit $ac_status); } &&
11525          { ac_try='test -z "$ac_c_werror_flag"
11526                          || test ! -s conftest.err'
11527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11528   (eval $ac_try) 2>&5
11529   ac_status=$?
11530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11531   (exit $ac_status); }; } &&
11532          { ac_try='test -s conftest$ac_exeext'
11533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11534   (eval $ac_try) 2>&5
11535   ac_status=$?
11536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11537   (exit $ac_status); }; }; then
11538   eval "$as_ac_var=yes"
11539 else
11540   echo "$as_me: failed program was:" >&5
11541 sed 's/^/| /' conftest.$ac_ext >&5
11542
11543 eval "$as_ac_var=no"
11544 fi
11545 rm -f conftest.err conftest.$ac_objext \
11546       conftest$ac_exeext conftest.$ac_ext
11547 fi
11548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11550 if test `eval echo '${'$as_ac_var'}'` = yes; then
11551   cat >>confdefs.h <<_ACEOF
11552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11553 _ACEOF
11554
11555 fi
11556 done
11557
11558   fi
11559
11560
11561   echo "$as_me:$LINENO: checking for float round functions" >&5
11562 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11563   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11564   echo $ECHO_N "(cached) $ECHO_C" >&6
11565 else
11566
11567
11568
11569     ac_ext=cc
11570 ac_cpp='$CXXCPP $CPPFLAGS'
11571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11574
11575     cat >conftest.$ac_ext <<_ACEOF
11576 /* confdefs.h.  */
11577 _ACEOF
11578 cat confdefs.h >>conftest.$ac_ext
11579 cat >>conftest.$ac_ext <<_ACEOF
11580 /* end confdefs.h.  */
11581 #include <math.h>
11582 int
11583 main ()
11584 {
11585  `for x in ceilf floorf; do echo "$x (0);"; done`
11586   ;
11587   return 0;
11588 }
11589 _ACEOF
11590 rm -f conftest.$ac_objext
11591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11592   (eval $ac_compile) 2>conftest.er1
11593   ac_status=$?
11594   grep -v '^ *+' conftest.er1 >conftest.err
11595   rm -f conftest.er1
11596   cat conftest.err >&5
11597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11598   (exit $ac_status); } &&
11599          { ac_try='test -z "$ac_cxx_werror_flag"
11600                          || test ! -s conftest.err'
11601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11602   (eval $ac_try) 2>&5
11603   ac_status=$?
11604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11605   (exit $ac_status); }; } &&
11606          { ac_try='test -s conftest.$ac_objext'
11607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11608   (eval $ac_try) 2>&5
11609   ac_status=$?
11610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11611   (exit $ac_status); }; }; then
11612   glibcxx_cv_func_float_round_use=yes
11613 else
11614   echo "$as_me: failed program was:" >&5
11615 sed 's/^/| /' conftest.$ac_ext >&5
11616
11617 glibcxx_cv_func_float_round_use=no
11618 fi
11619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11620     ac_ext=c
11621 ac_cpp='$CPP $CPPFLAGS'
11622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11625
11626 fi
11627
11628   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11629 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11630   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11631
11632
11633 for ac_func in ceilf floorf
11634 do
11635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11636 echo "$as_me:$LINENO: checking for $ac_func" >&5
11637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11638 if eval "test \"\${$as_ac_var+set}\" = set"; then
11639   echo $ECHO_N "(cached) $ECHO_C" >&6
11640 else
11641   if test x$gcc_no_link = xyes; then
11642   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11644    { (exit 1); exit 1; }; }
11645 fi
11646 cat >conftest.$ac_ext <<_ACEOF
11647 /* confdefs.h.  */
11648 _ACEOF
11649 cat confdefs.h >>conftest.$ac_ext
11650 cat >>conftest.$ac_ext <<_ACEOF
11651 /* end confdefs.h.  */
11652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11653    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11654 #define $ac_func innocuous_$ac_func
11655
11656 /* System header to define __stub macros and hopefully few prototypes,
11657     which can conflict with char $ac_func (); below.
11658     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11659     <limits.h> exists even on freestanding compilers.  */
11660
11661 #ifdef __STDC__
11662 # include <limits.h>
11663 #else
11664 # include <assert.h>
11665 #endif
11666
11667 #undef $ac_func
11668
11669 /* Override any gcc2 internal prototype to avoid an error.  */
11670 #ifdef __cplusplus
11671 extern "C"
11672 {
11673 #endif
11674 /* We use char because int might match the return type of a gcc2
11675    builtin and then its argument prototype would still apply.  */
11676 char $ac_func ();
11677 /* The GNU C library defines this for functions which it implements
11678     to always fail with ENOSYS.  Some functions are actually named
11679     something starting with __ and the normal name is an alias.  */
11680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11681 choke me
11682 #else
11683 char (*f) () = $ac_func;
11684 #endif
11685 #ifdef __cplusplus
11686 }
11687 #endif
11688
11689 int
11690 main ()
11691 {
11692 return f != $ac_func;
11693   ;
11694   return 0;
11695 }
11696 _ACEOF
11697 rm -f conftest.$ac_objext conftest$ac_exeext
11698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11699   (eval $ac_link) 2>conftest.er1
11700   ac_status=$?
11701   grep -v '^ *+' conftest.er1 >conftest.err
11702   rm -f conftest.er1
11703   cat conftest.err >&5
11704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11705   (exit $ac_status); } &&
11706          { ac_try='test -z "$ac_c_werror_flag"
11707                          || test ! -s conftest.err'
11708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11709   (eval $ac_try) 2>&5
11710   ac_status=$?
11711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11712   (exit $ac_status); }; } &&
11713          { ac_try='test -s conftest$ac_exeext'
11714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11715   (eval $ac_try) 2>&5
11716   ac_status=$?
11717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11718   (exit $ac_status); }; }; then
11719   eval "$as_ac_var=yes"
11720 else
11721   echo "$as_me: failed program was:" >&5
11722 sed 's/^/| /' conftest.$ac_ext >&5
11723
11724 eval "$as_ac_var=no"
11725 fi
11726 rm -f conftest.err conftest.$ac_objext \
11727       conftest$ac_exeext conftest.$ac_ext
11728 fi
11729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11731 if test `eval echo '${'$as_ac_var'}'` = yes; then
11732   cat >>confdefs.h <<_ACEOF
11733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11734 _ACEOF
11735
11736 fi
11737 done
11738
11739   fi
11740
11741
11742
11743   echo "$as_me:$LINENO: checking for expf declaration" >&5
11744 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
11745   if test x${glibcxx_cv_func_expf_use+set} != xset; then
11746     if test "${glibcxx_cv_func_expf_use+set}" = set; then
11747   echo $ECHO_N "(cached) $ECHO_C" >&6
11748 else
11749
11750
11751
11752       ac_ext=cc
11753 ac_cpp='$CXXCPP $CPPFLAGS'
11754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11757
11758       cat >conftest.$ac_ext <<_ACEOF
11759 /* confdefs.h.  */
11760 _ACEOF
11761 cat confdefs.h >>conftest.$ac_ext
11762 cat >>conftest.$ac_ext <<_ACEOF
11763 /* end confdefs.h.  */
11764 #include <math.h>
11765                       #ifdef HAVE_IEEEFP_H
11766                       #include <ieeefp.h>
11767                       #endif
11768
11769 int
11770 main ()
11771 {
11772  expf(0);
11773   ;
11774   return 0;
11775 }
11776 _ACEOF
11777 rm -f conftest.$ac_objext
11778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11779   (eval $ac_compile) 2>conftest.er1
11780   ac_status=$?
11781   grep -v '^ *+' conftest.er1 >conftest.err
11782   rm -f conftest.er1
11783   cat conftest.err >&5
11784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11785   (exit $ac_status); } &&
11786          { ac_try='test -z "$ac_cxx_werror_flag"
11787                          || test ! -s conftest.err'
11788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11789   (eval $ac_try) 2>&5
11790   ac_status=$?
11791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11792   (exit $ac_status); }; } &&
11793          { ac_try='test -s conftest.$ac_objext'
11794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11795   (eval $ac_try) 2>&5
11796   ac_status=$?
11797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11798   (exit $ac_status); }; }; then
11799   glibcxx_cv_func_expf_use=yes
11800 else
11801   echo "$as_me: failed program was:" >&5
11802 sed 's/^/| /' conftest.$ac_ext >&5
11803
11804 glibcxx_cv_func_expf_use=no
11805 fi
11806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11807       ac_ext=c
11808 ac_cpp='$CPP $CPPFLAGS'
11809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11812
11813
11814 fi
11815
11816   fi
11817   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
11818 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
11819
11820   if test x$glibcxx_cv_func_expf_use = x"yes"; then
11821
11822 for ac_func in expf
11823 do
11824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11825 echo "$as_me:$LINENO: checking for $ac_func" >&5
11826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11827 if eval "test \"\${$as_ac_var+set}\" = set"; then
11828   echo $ECHO_N "(cached) $ECHO_C" >&6
11829 else
11830   if test x$gcc_no_link = xyes; then
11831   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11833    { (exit 1); exit 1; }; }
11834 fi
11835 cat >conftest.$ac_ext <<_ACEOF
11836 /* confdefs.h.  */
11837 _ACEOF
11838 cat confdefs.h >>conftest.$ac_ext
11839 cat >>conftest.$ac_ext <<_ACEOF
11840 /* end confdefs.h.  */
11841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11842    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11843 #define $ac_func innocuous_$ac_func
11844
11845 /* System header to define __stub macros and hopefully few prototypes,
11846     which can conflict with char $ac_func (); below.
11847     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11848     <limits.h> exists even on freestanding compilers.  */
11849
11850 #ifdef __STDC__
11851 # include <limits.h>
11852 #else
11853 # include <assert.h>
11854 #endif
11855
11856 #undef $ac_func
11857
11858 /* Override any gcc2 internal prototype to avoid an error.  */
11859 #ifdef __cplusplus
11860 extern "C"
11861 {
11862 #endif
11863 /* We use char because int might match the return type of a gcc2
11864    builtin and then its argument prototype would still apply.  */
11865 char $ac_func ();
11866 /* The GNU C library defines this for functions which it implements
11867     to always fail with ENOSYS.  Some functions are actually named
11868     something starting with __ and the normal name is an alias.  */
11869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11870 choke me
11871 #else
11872 char (*f) () = $ac_func;
11873 #endif
11874 #ifdef __cplusplus
11875 }
11876 #endif
11877
11878 int
11879 main ()
11880 {
11881 return f != $ac_func;
11882   ;
11883   return 0;
11884 }
11885 _ACEOF
11886 rm -f conftest.$ac_objext conftest$ac_exeext
11887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11888   (eval $ac_link) 2>conftest.er1
11889   ac_status=$?
11890   grep -v '^ *+' conftest.er1 >conftest.err
11891   rm -f conftest.er1
11892   cat conftest.err >&5
11893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11894   (exit $ac_status); } &&
11895          { ac_try='test -z "$ac_c_werror_flag"
11896                          || test ! -s conftest.err'
11897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11898   (eval $ac_try) 2>&5
11899   ac_status=$?
11900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11901   (exit $ac_status); }; } &&
11902          { ac_try='test -s conftest$ac_exeext'
11903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11904   (eval $ac_try) 2>&5
11905   ac_status=$?
11906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11907   (exit $ac_status); }; }; then
11908   eval "$as_ac_var=yes"
11909 else
11910   echo "$as_me: failed program was:" >&5
11911 sed 's/^/| /' conftest.$ac_ext >&5
11912
11913 eval "$as_ac_var=no"
11914 fi
11915 rm -f conftest.err conftest.$ac_objext \
11916       conftest$ac_exeext conftest.$ac_ext
11917 fi
11918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11920 if test `eval echo '${'$as_ac_var'}'` = yes; then
11921   cat >>confdefs.h <<_ACEOF
11922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11923 _ACEOF
11924
11925 fi
11926 done
11927
11928   else
11929
11930   echo "$as_me:$LINENO: checking for _expf declaration" >&5
11931 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
11932   if test x${glibcxx_cv_func__expf_use+set} != xset; then
11933     if test "${glibcxx_cv_func__expf_use+set}" = set; then
11934   echo $ECHO_N "(cached) $ECHO_C" >&6
11935 else
11936
11937
11938
11939       ac_ext=cc
11940 ac_cpp='$CXXCPP $CPPFLAGS'
11941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11944
11945       cat >conftest.$ac_ext <<_ACEOF
11946 /* confdefs.h.  */
11947 _ACEOF
11948 cat confdefs.h >>conftest.$ac_ext
11949 cat >>conftest.$ac_ext <<_ACEOF
11950 /* end confdefs.h.  */
11951 #include <math.h>
11952                       #ifdef HAVE_IEEEFP_H
11953                       #include <ieeefp.h>
11954                       #endif
11955
11956 int
11957 main ()
11958 {
11959  _expf(0);
11960   ;
11961   return 0;
11962 }
11963 _ACEOF
11964 rm -f conftest.$ac_objext
11965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11966   (eval $ac_compile) 2>conftest.er1
11967   ac_status=$?
11968   grep -v '^ *+' conftest.er1 >conftest.err
11969   rm -f conftest.er1
11970   cat conftest.err >&5
11971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11972   (exit $ac_status); } &&
11973          { ac_try='test -z "$ac_cxx_werror_flag"
11974                          || test ! -s conftest.err'
11975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11976   (eval $ac_try) 2>&5
11977   ac_status=$?
11978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11979   (exit $ac_status); }; } &&
11980          { ac_try='test -s conftest.$ac_objext'
11981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11982   (eval $ac_try) 2>&5
11983   ac_status=$?
11984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11985   (exit $ac_status); }; }; then
11986   glibcxx_cv_func__expf_use=yes
11987 else
11988   echo "$as_me: failed program was:" >&5
11989 sed 's/^/| /' conftest.$ac_ext >&5
11990
11991 glibcxx_cv_func__expf_use=no
11992 fi
11993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11994       ac_ext=c
11995 ac_cpp='$CPP $CPPFLAGS'
11996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11999
12000
12001 fi
12002
12003   fi
12004   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12005 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12006
12007     if test x$glibcxx_cv_func__expf_use = x"yes"; then
12008
12009 for ac_func in _expf
12010 do
12011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12012 echo "$as_me:$LINENO: checking for $ac_func" >&5
12013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12014 if eval "test \"\${$as_ac_var+set}\" = set"; then
12015   echo $ECHO_N "(cached) $ECHO_C" >&6
12016 else
12017   if test x$gcc_no_link = xyes; then
12018   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12020    { (exit 1); exit 1; }; }
12021 fi
12022 cat >conftest.$ac_ext <<_ACEOF
12023 /* confdefs.h.  */
12024 _ACEOF
12025 cat confdefs.h >>conftest.$ac_ext
12026 cat >>conftest.$ac_ext <<_ACEOF
12027 /* end confdefs.h.  */
12028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12029    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12030 #define $ac_func innocuous_$ac_func
12031
12032 /* System header to define __stub macros and hopefully few prototypes,
12033     which can conflict with char $ac_func (); below.
12034     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12035     <limits.h> exists even on freestanding compilers.  */
12036
12037 #ifdef __STDC__
12038 # include <limits.h>
12039 #else
12040 # include <assert.h>
12041 #endif
12042
12043 #undef $ac_func
12044
12045 /* Override any gcc2 internal prototype to avoid an error.  */
12046 #ifdef __cplusplus
12047 extern "C"
12048 {
12049 #endif
12050 /* We use char because int might match the return type of a gcc2
12051    builtin and then its argument prototype would still apply.  */
12052 char $ac_func ();
12053 /* The GNU C library defines this for functions which it implements
12054     to always fail with ENOSYS.  Some functions are actually named
12055     something starting with __ and the normal name is an alias.  */
12056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12057 choke me
12058 #else
12059 char (*f) () = $ac_func;
12060 #endif
12061 #ifdef __cplusplus
12062 }
12063 #endif
12064
12065 int
12066 main ()
12067 {
12068 return f != $ac_func;
12069   ;
12070   return 0;
12071 }
12072 _ACEOF
12073 rm -f conftest.$ac_objext conftest$ac_exeext
12074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12075   (eval $ac_link) 2>conftest.er1
12076   ac_status=$?
12077   grep -v '^ *+' conftest.er1 >conftest.err
12078   rm -f conftest.er1
12079   cat conftest.err >&5
12080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12081   (exit $ac_status); } &&
12082          { ac_try='test -z "$ac_c_werror_flag"
12083                          || test ! -s conftest.err'
12084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12085   (eval $ac_try) 2>&5
12086   ac_status=$?
12087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12088   (exit $ac_status); }; } &&
12089          { ac_try='test -s conftest$ac_exeext'
12090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12091   (eval $ac_try) 2>&5
12092   ac_status=$?
12093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12094   (exit $ac_status); }; }; then
12095   eval "$as_ac_var=yes"
12096 else
12097   echo "$as_me: failed program was:" >&5
12098 sed 's/^/| /' conftest.$ac_ext >&5
12099
12100 eval "$as_ac_var=no"
12101 fi
12102 rm -f conftest.err conftest.$ac_objext \
12103       conftest$ac_exeext conftest.$ac_ext
12104 fi
12105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12107 if test `eval echo '${'$as_ac_var'}'` = yes; then
12108   cat >>confdefs.h <<_ACEOF
12109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12110 _ACEOF
12111
12112 fi
12113 done
12114
12115     fi
12116   fi
12117
12118
12119
12120   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12121 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12122   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12123     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12124   echo $ECHO_N "(cached) $ECHO_C" >&6
12125 else
12126
12127
12128
12129       ac_ext=cc
12130 ac_cpp='$CXXCPP $CPPFLAGS'
12131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12134
12135       cat >conftest.$ac_ext <<_ACEOF
12136 /* confdefs.h.  */
12137 _ACEOF
12138 cat confdefs.h >>conftest.$ac_ext
12139 cat >>conftest.$ac_ext <<_ACEOF
12140 /* end confdefs.h.  */
12141 #include <math.h>
12142                       #ifdef HAVE_IEEEFP_H
12143                       #include <ieeefp.h>
12144                       #endif
12145
12146 int
12147 main ()
12148 {
12149  isnanf(0);
12150   ;
12151   return 0;
12152 }
12153 _ACEOF
12154 rm -f conftest.$ac_objext
12155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12156   (eval $ac_compile) 2>conftest.er1
12157   ac_status=$?
12158   grep -v '^ *+' conftest.er1 >conftest.err
12159   rm -f conftest.er1
12160   cat conftest.err >&5
12161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12162   (exit $ac_status); } &&
12163          { ac_try='test -z "$ac_cxx_werror_flag"
12164                          || test ! -s conftest.err'
12165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12166   (eval $ac_try) 2>&5
12167   ac_status=$?
12168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12169   (exit $ac_status); }; } &&
12170          { ac_try='test -s conftest.$ac_objext'
12171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12172   (eval $ac_try) 2>&5
12173   ac_status=$?
12174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12175   (exit $ac_status); }; }; then
12176   glibcxx_cv_func_isnanf_use=yes
12177 else
12178   echo "$as_me: failed program was:" >&5
12179 sed 's/^/| /' conftest.$ac_ext >&5
12180
12181 glibcxx_cv_func_isnanf_use=no
12182 fi
12183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12184       ac_ext=c
12185 ac_cpp='$CPP $CPPFLAGS'
12186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12189
12190
12191 fi
12192
12193   fi
12194   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12195 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12196
12197   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12198
12199 for ac_func in isnanf
12200 do
12201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12202 echo "$as_me:$LINENO: checking for $ac_func" >&5
12203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12204 if eval "test \"\${$as_ac_var+set}\" = set"; then
12205   echo $ECHO_N "(cached) $ECHO_C" >&6
12206 else
12207   if test x$gcc_no_link = xyes; then
12208   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12210    { (exit 1); exit 1; }; }
12211 fi
12212 cat >conftest.$ac_ext <<_ACEOF
12213 /* confdefs.h.  */
12214 _ACEOF
12215 cat confdefs.h >>conftest.$ac_ext
12216 cat >>conftest.$ac_ext <<_ACEOF
12217 /* end confdefs.h.  */
12218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12219    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12220 #define $ac_func innocuous_$ac_func
12221
12222 /* System header to define __stub macros and hopefully few prototypes,
12223     which can conflict with char $ac_func (); below.
12224     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12225     <limits.h> exists even on freestanding compilers.  */
12226
12227 #ifdef __STDC__
12228 # include <limits.h>
12229 #else
12230 # include <assert.h>
12231 #endif
12232
12233 #undef $ac_func
12234
12235 /* Override any gcc2 internal prototype to avoid an error.  */
12236 #ifdef __cplusplus
12237 extern "C"
12238 {
12239 #endif
12240 /* We use char because int might match the return type of a gcc2
12241    builtin and then its argument prototype would still apply.  */
12242 char $ac_func ();
12243 /* The GNU C library defines this for functions which it implements
12244     to always fail with ENOSYS.  Some functions are actually named
12245     something starting with __ and the normal name is an alias.  */
12246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12247 choke me
12248 #else
12249 char (*f) () = $ac_func;
12250 #endif
12251 #ifdef __cplusplus
12252 }
12253 #endif
12254
12255 int
12256 main ()
12257 {
12258 return f != $ac_func;
12259   ;
12260   return 0;
12261 }
12262 _ACEOF
12263 rm -f conftest.$ac_objext conftest$ac_exeext
12264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12265   (eval $ac_link) 2>conftest.er1
12266   ac_status=$?
12267   grep -v '^ *+' conftest.er1 >conftest.err
12268   rm -f conftest.er1
12269   cat conftest.err >&5
12270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271   (exit $ac_status); } &&
12272          { ac_try='test -z "$ac_c_werror_flag"
12273                          || test ! -s conftest.err'
12274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12275   (eval $ac_try) 2>&5
12276   ac_status=$?
12277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12278   (exit $ac_status); }; } &&
12279          { ac_try='test -s conftest$ac_exeext'
12280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12281   (eval $ac_try) 2>&5
12282   ac_status=$?
12283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12284   (exit $ac_status); }; }; then
12285   eval "$as_ac_var=yes"
12286 else
12287   echo "$as_me: failed program was:" >&5
12288 sed 's/^/| /' conftest.$ac_ext >&5
12289
12290 eval "$as_ac_var=no"
12291 fi
12292 rm -f conftest.err conftest.$ac_objext \
12293       conftest$ac_exeext conftest.$ac_ext
12294 fi
12295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12297 if test `eval echo '${'$as_ac_var'}'` = yes; then
12298   cat >>confdefs.h <<_ACEOF
12299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12300 _ACEOF
12301
12302 fi
12303 done
12304
12305   else
12306
12307   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12308 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12309   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12310     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12311   echo $ECHO_N "(cached) $ECHO_C" >&6
12312 else
12313
12314
12315
12316       ac_ext=cc
12317 ac_cpp='$CXXCPP $CPPFLAGS'
12318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12321
12322       cat >conftest.$ac_ext <<_ACEOF
12323 /* confdefs.h.  */
12324 _ACEOF
12325 cat confdefs.h >>conftest.$ac_ext
12326 cat >>conftest.$ac_ext <<_ACEOF
12327 /* end confdefs.h.  */
12328 #include <math.h>
12329                       #ifdef HAVE_IEEEFP_H
12330                       #include <ieeefp.h>
12331                       #endif
12332
12333 int
12334 main ()
12335 {
12336  _isnanf(0);
12337   ;
12338   return 0;
12339 }
12340 _ACEOF
12341 rm -f conftest.$ac_objext
12342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12343   (eval $ac_compile) 2>conftest.er1
12344   ac_status=$?
12345   grep -v '^ *+' conftest.er1 >conftest.err
12346   rm -f conftest.er1
12347   cat conftest.err >&5
12348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12349   (exit $ac_status); } &&
12350          { ac_try='test -z "$ac_cxx_werror_flag"
12351                          || test ! -s conftest.err'
12352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12353   (eval $ac_try) 2>&5
12354   ac_status=$?
12355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12356   (exit $ac_status); }; } &&
12357          { ac_try='test -s conftest.$ac_objext'
12358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12359   (eval $ac_try) 2>&5
12360   ac_status=$?
12361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12362   (exit $ac_status); }; }; then
12363   glibcxx_cv_func__isnanf_use=yes
12364 else
12365   echo "$as_me: failed program was:" >&5
12366 sed 's/^/| /' conftest.$ac_ext >&5
12367
12368 glibcxx_cv_func__isnanf_use=no
12369 fi
12370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12371       ac_ext=c
12372 ac_cpp='$CPP $CPPFLAGS'
12373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12376
12377
12378 fi
12379
12380   fi
12381   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12382 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12383
12384     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12385
12386 for ac_func in _isnanf
12387 do
12388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12389 echo "$as_me:$LINENO: checking for $ac_func" >&5
12390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12391 if eval "test \"\${$as_ac_var+set}\" = set"; then
12392   echo $ECHO_N "(cached) $ECHO_C" >&6
12393 else
12394   if test x$gcc_no_link = xyes; then
12395   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12397    { (exit 1); exit 1; }; }
12398 fi
12399 cat >conftest.$ac_ext <<_ACEOF
12400 /* confdefs.h.  */
12401 _ACEOF
12402 cat confdefs.h >>conftest.$ac_ext
12403 cat >>conftest.$ac_ext <<_ACEOF
12404 /* end confdefs.h.  */
12405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12406    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12407 #define $ac_func innocuous_$ac_func
12408
12409 /* System header to define __stub macros and hopefully few prototypes,
12410     which can conflict with char $ac_func (); below.
12411     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12412     <limits.h> exists even on freestanding compilers.  */
12413
12414 #ifdef __STDC__
12415 # include <limits.h>
12416 #else
12417 # include <assert.h>
12418 #endif
12419
12420 #undef $ac_func
12421
12422 /* Override any gcc2 internal prototype to avoid an error.  */
12423 #ifdef __cplusplus
12424 extern "C"
12425 {
12426 #endif
12427 /* We use char because int might match the return type of a gcc2
12428    builtin and then its argument prototype would still apply.  */
12429 char $ac_func ();
12430 /* The GNU C library defines this for functions which it implements
12431     to always fail with ENOSYS.  Some functions are actually named
12432     something starting with __ and the normal name is an alias.  */
12433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12434 choke me
12435 #else
12436 char (*f) () = $ac_func;
12437 #endif
12438 #ifdef __cplusplus
12439 }
12440 #endif
12441
12442 int
12443 main ()
12444 {
12445 return f != $ac_func;
12446   ;
12447   return 0;
12448 }
12449 _ACEOF
12450 rm -f conftest.$ac_objext conftest$ac_exeext
12451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12452   (eval $ac_link) 2>conftest.er1
12453   ac_status=$?
12454   grep -v '^ *+' conftest.er1 >conftest.err
12455   rm -f conftest.er1
12456   cat conftest.err >&5
12457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12458   (exit $ac_status); } &&
12459          { ac_try='test -z "$ac_c_werror_flag"
12460                          || test ! -s conftest.err'
12461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12462   (eval $ac_try) 2>&5
12463   ac_status=$?
12464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12465   (exit $ac_status); }; } &&
12466          { ac_try='test -s conftest$ac_exeext'
12467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12468   (eval $ac_try) 2>&5
12469   ac_status=$?
12470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12471   (exit $ac_status); }; }; then
12472   eval "$as_ac_var=yes"
12473 else
12474   echo "$as_me: failed program was:" >&5
12475 sed 's/^/| /' conftest.$ac_ext >&5
12476
12477 eval "$as_ac_var=no"
12478 fi
12479 rm -f conftest.err conftest.$ac_objext \
12480       conftest$ac_exeext conftest.$ac_ext
12481 fi
12482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12484 if test `eval echo '${'$as_ac_var'}'` = yes; then
12485   cat >>confdefs.h <<_ACEOF
12486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12487 _ACEOF
12488
12489 fi
12490 done
12491
12492     fi
12493   fi
12494
12495
12496
12497   echo "$as_me:$LINENO: checking for isinff declaration" >&5
12498 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12499   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12500     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12501   echo $ECHO_N "(cached) $ECHO_C" >&6
12502 else
12503
12504
12505
12506       ac_ext=cc
12507 ac_cpp='$CXXCPP $CPPFLAGS'
12508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12511
12512       cat >conftest.$ac_ext <<_ACEOF
12513 /* confdefs.h.  */
12514 _ACEOF
12515 cat confdefs.h >>conftest.$ac_ext
12516 cat >>conftest.$ac_ext <<_ACEOF
12517 /* end confdefs.h.  */
12518 #include <math.h>
12519                       #ifdef HAVE_IEEEFP_H
12520                       #include <ieeefp.h>
12521                       #endif
12522
12523 int
12524 main ()
12525 {
12526  isinff(0);
12527   ;
12528   return 0;
12529 }
12530 _ACEOF
12531 rm -f conftest.$ac_objext
12532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12533   (eval $ac_compile) 2>conftest.er1
12534   ac_status=$?
12535   grep -v '^ *+' conftest.er1 >conftest.err
12536   rm -f conftest.er1
12537   cat conftest.err >&5
12538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12539   (exit $ac_status); } &&
12540          { ac_try='test -z "$ac_cxx_werror_flag"
12541                          || test ! -s conftest.err'
12542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12543   (eval $ac_try) 2>&5
12544   ac_status=$?
12545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546   (exit $ac_status); }; } &&
12547          { ac_try='test -s conftest.$ac_objext'
12548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12549   (eval $ac_try) 2>&5
12550   ac_status=$?
12551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12552   (exit $ac_status); }; }; then
12553   glibcxx_cv_func_isinff_use=yes
12554 else
12555   echo "$as_me: failed program was:" >&5
12556 sed 's/^/| /' conftest.$ac_ext >&5
12557
12558 glibcxx_cv_func_isinff_use=no
12559 fi
12560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12561       ac_ext=c
12562 ac_cpp='$CPP $CPPFLAGS'
12563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12566
12567
12568 fi
12569
12570   fi
12571   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
12572 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
12573
12574   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
12575
12576 for ac_func in isinff
12577 do
12578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12579 echo "$as_me:$LINENO: checking for $ac_func" >&5
12580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12581 if eval "test \"\${$as_ac_var+set}\" = set"; then
12582   echo $ECHO_N "(cached) $ECHO_C" >&6
12583 else
12584   if test x$gcc_no_link = xyes; then
12585   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12587    { (exit 1); exit 1; }; }
12588 fi
12589 cat >conftest.$ac_ext <<_ACEOF
12590 /* confdefs.h.  */
12591 _ACEOF
12592 cat confdefs.h >>conftest.$ac_ext
12593 cat >>conftest.$ac_ext <<_ACEOF
12594 /* end confdefs.h.  */
12595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12596    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12597 #define $ac_func innocuous_$ac_func
12598
12599 /* System header to define __stub macros and hopefully few prototypes,
12600     which can conflict with char $ac_func (); below.
12601     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12602     <limits.h> exists even on freestanding compilers.  */
12603
12604 #ifdef __STDC__
12605 # include <limits.h>
12606 #else
12607 # include <assert.h>
12608 #endif
12609
12610 #undef $ac_func
12611
12612 /* Override any gcc2 internal prototype to avoid an error.  */
12613 #ifdef __cplusplus
12614 extern "C"
12615 {
12616 #endif
12617 /* We use char because int might match the return type of a gcc2
12618    builtin and then its argument prototype would still apply.  */
12619 char $ac_func ();
12620 /* The GNU C library defines this for functions which it implements
12621     to always fail with ENOSYS.  Some functions are actually named
12622     something starting with __ and the normal name is an alias.  */
12623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12624 choke me
12625 #else
12626 char (*f) () = $ac_func;
12627 #endif
12628 #ifdef __cplusplus
12629 }
12630 #endif
12631
12632 int
12633 main ()
12634 {
12635 return f != $ac_func;
12636   ;
12637   return 0;
12638 }
12639 _ACEOF
12640 rm -f conftest.$ac_objext conftest$ac_exeext
12641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12642   (eval $ac_link) 2>conftest.er1
12643   ac_status=$?
12644   grep -v '^ *+' conftest.er1 >conftest.err
12645   rm -f conftest.er1
12646   cat conftest.err >&5
12647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12648   (exit $ac_status); } &&
12649          { ac_try='test -z "$ac_c_werror_flag"
12650                          || test ! -s conftest.err'
12651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12652   (eval $ac_try) 2>&5
12653   ac_status=$?
12654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655   (exit $ac_status); }; } &&
12656          { ac_try='test -s conftest$ac_exeext'
12657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12658   (eval $ac_try) 2>&5
12659   ac_status=$?
12660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12661   (exit $ac_status); }; }; then
12662   eval "$as_ac_var=yes"
12663 else
12664   echo "$as_me: failed program was:" >&5
12665 sed 's/^/| /' conftest.$ac_ext >&5
12666
12667 eval "$as_ac_var=no"
12668 fi
12669 rm -f conftest.err conftest.$ac_objext \
12670       conftest$ac_exeext conftest.$ac_ext
12671 fi
12672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12674 if test `eval echo '${'$as_ac_var'}'` = yes; then
12675   cat >>confdefs.h <<_ACEOF
12676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12677 _ACEOF
12678
12679 fi
12680 done
12681
12682   else
12683
12684   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
12685 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
12686   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
12687     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
12688   echo $ECHO_N "(cached) $ECHO_C" >&6
12689 else
12690
12691
12692
12693       ac_ext=cc
12694 ac_cpp='$CXXCPP $CPPFLAGS'
12695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12698
12699       cat >conftest.$ac_ext <<_ACEOF
12700 /* confdefs.h.  */
12701 _ACEOF
12702 cat confdefs.h >>conftest.$ac_ext
12703 cat >>conftest.$ac_ext <<_ACEOF
12704 /* end confdefs.h.  */
12705 #include <math.h>
12706                       #ifdef HAVE_IEEEFP_H
12707                       #include <ieeefp.h>
12708                       #endif
12709
12710 int
12711 main ()
12712 {
12713  _isinff(0);
12714   ;
12715   return 0;
12716 }
12717 _ACEOF
12718 rm -f conftest.$ac_objext
12719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12720   (eval $ac_compile) 2>conftest.er1
12721   ac_status=$?
12722   grep -v '^ *+' conftest.er1 >conftest.err
12723   rm -f conftest.er1
12724   cat conftest.err >&5
12725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12726   (exit $ac_status); } &&
12727          { ac_try='test -z "$ac_cxx_werror_flag"
12728                          || test ! -s conftest.err'
12729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12730   (eval $ac_try) 2>&5
12731   ac_status=$?
12732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12733   (exit $ac_status); }; } &&
12734          { ac_try='test -s conftest.$ac_objext'
12735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12736   (eval $ac_try) 2>&5
12737   ac_status=$?
12738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12739   (exit $ac_status); }; }; then
12740   glibcxx_cv_func__isinff_use=yes
12741 else
12742   echo "$as_me: failed program was:" >&5
12743 sed 's/^/| /' conftest.$ac_ext >&5
12744
12745 glibcxx_cv_func__isinff_use=no
12746 fi
12747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12748       ac_ext=c
12749 ac_cpp='$CPP $CPPFLAGS'
12750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12753
12754
12755 fi
12756
12757   fi
12758   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
12759 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
12760
12761     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
12762
12763 for ac_func in _isinff
12764 do
12765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12766 echo "$as_me:$LINENO: checking for $ac_func" >&5
12767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12768 if eval "test \"\${$as_ac_var+set}\" = set"; then
12769   echo $ECHO_N "(cached) $ECHO_C" >&6
12770 else
12771   if test x$gcc_no_link = xyes; then
12772   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12774    { (exit 1); exit 1; }; }
12775 fi
12776 cat >conftest.$ac_ext <<_ACEOF
12777 /* confdefs.h.  */
12778 _ACEOF
12779 cat confdefs.h >>conftest.$ac_ext
12780 cat >>conftest.$ac_ext <<_ACEOF
12781 /* end confdefs.h.  */
12782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12783    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12784 #define $ac_func innocuous_$ac_func
12785
12786 /* System header to define __stub macros and hopefully few prototypes,
12787     which can conflict with char $ac_func (); below.
12788     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12789     <limits.h> exists even on freestanding compilers.  */
12790
12791 #ifdef __STDC__
12792 # include <limits.h>
12793 #else
12794 # include <assert.h>
12795 #endif
12796
12797 #undef $ac_func
12798
12799 /* Override any gcc2 internal prototype to avoid an error.  */
12800 #ifdef __cplusplus
12801 extern "C"
12802 {
12803 #endif
12804 /* We use char because int might match the return type of a gcc2
12805    builtin and then its argument prototype would still apply.  */
12806 char $ac_func ();
12807 /* The GNU C library defines this for functions which it implements
12808     to always fail with ENOSYS.  Some functions are actually named
12809     something starting with __ and the normal name is an alias.  */
12810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12811 choke me
12812 #else
12813 char (*f) () = $ac_func;
12814 #endif
12815 #ifdef __cplusplus
12816 }
12817 #endif
12818
12819 int
12820 main ()
12821 {
12822 return f != $ac_func;
12823   ;
12824   return 0;
12825 }
12826 _ACEOF
12827 rm -f conftest.$ac_objext conftest$ac_exeext
12828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12829   (eval $ac_link) 2>conftest.er1
12830   ac_status=$?
12831   grep -v '^ *+' conftest.er1 >conftest.err
12832   rm -f conftest.er1
12833   cat conftest.err >&5
12834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835   (exit $ac_status); } &&
12836          { ac_try='test -z "$ac_c_werror_flag"
12837                          || test ! -s conftest.err'
12838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12839   (eval $ac_try) 2>&5
12840   ac_status=$?
12841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842   (exit $ac_status); }; } &&
12843          { ac_try='test -s conftest$ac_exeext'
12844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12845   (eval $ac_try) 2>&5
12846   ac_status=$?
12847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12848   (exit $ac_status); }; }; then
12849   eval "$as_ac_var=yes"
12850 else
12851   echo "$as_me: failed program was:" >&5
12852 sed 's/^/| /' conftest.$ac_ext >&5
12853
12854 eval "$as_ac_var=no"
12855 fi
12856 rm -f conftest.err conftest.$ac_objext \
12857       conftest$ac_exeext conftest.$ac_ext
12858 fi
12859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12861 if test `eval echo '${'$as_ac_var'}'` = yes; then
12862   cat >>confdefs.h <<_ACEOF
12863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12864 _ACEOF
12865
12866 fi
12867 done
12868
12869     fi
12870   fi
12871
12872
12873
12874   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
12875 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
12876   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
12877     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
12878   echo $ECHO_N "(cached) $ECHO_C" >&6
12879 else
12880
12881
12882
12883       ac_ext=cc
12884 ac_cpp='$CXXCPP $CPPFLAGS'
12885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12888
12889       cat >conftest.$ac_ext <<_ACEOF
12890 /* confdefs.h.  */
12891 _ACEOF
12892 cat confdefs.h >>conftest.$ac_ext
12893 cat >>conftest.$ac_ext <<_ACEOF
12894 /* end confdefs.h.  */
12895 #include <math.h>
12896 int
12897 main ()
12898 {
12899  atan2f(0, 0);
12900   ;
12901   return 0;
12902 }
12903 _ACEOF
12904 rm -f conftest.$ac_objext
12905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12906   (eval $ac_compile) 2>conftest.er1
12907   ac_status=$?
12908   grep -v '^ *+' conftest.er1 >conftest.err
12909   rm -f conftest.er1
12910   cat conftest.err >&5
12911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12912   (exit $ac_status); } &&
12913          { ac_try='test -z "$ac_cxx_werror_flag"
12914                          || test ! -s conftest.err'
12915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12916   (eval $ac_try) 2>&5
12917   ac_status=$?
12918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12919   (exit $ac_status); }; } &&
12920          { ac_try='test -s conftest.$ac_objext'
12921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12922   (eval $ac_try) 2>&5
12923   ac_status=$?
12924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12925   (exit $ac_status); }; }; then
12926   glibcxx_cv_func_atan2f_use=yes
12927 else
12928   echo "$as_me: failed program was:" >&5
12929 sed 's/^/| /' conftest.$ac_ext >&5
12930
12931 glibcxx_cv_func_atan2f_use=no
12932 fi
12933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12934       ac_ext=c
12935 ac_cpp='$CPP $CPPFLAGS'
12936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12939
12940
12941 fi
12942
12943   fi
12944   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
12945 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
12946
12947   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
12948
12949 for ac_func in atan2f
12950 do
12951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12952 echo "$as_me:$LINENO: checking for $ac_func" >&5
12953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12954 if eval "test \"\${$as_ac_var+set}\" = set"; then
12955   echo $ECHO_N "(cached) $ECHO_C" >&6
12956 else
12957   if test x$gcc_no_link = xyes; then
12958   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12960    { (exit 1); exit 1; }; }
12961 fi
12962 cat >conftest.$ac_ext <<_ACEOF
12963 /* confdefs.h.  */
12964 _ACEOF
12965 cat confdefs.h >>conftest.$ac_ext
12966 cat >>conftest.$ac_ext <<_ACEOF
12967 /* end confdefs.h.  */
12968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12969    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12970 #define $ac_func innocuous_$ac_func
12971
12972 /* System header to define __stub macros and hopefully few prototypes,
12973     which can conflict with char $ac_func (); below.
12974     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12975     <limits.h> exists even on freestanding compilers.  */
12976
12977 #ifdef __STDC__
12978 # include <limits.h>
12979 #else
12980 # include <assert.h>
12981 #endif
12982
12983 #undef $ac_func
12984
12985 /* Override any gcc2 internal prototype to avoid an error.  */
12986 #ifdef __cplusplus
12987 extern "C"
12988 {
12989 #endif
12990 /* We use char because int might match the return type of a gcc2
12991    builtin and then its argument prototype would still apply.  */
12992 char $ac_func ();
12993 /* The GNU C library defines this for functions which it implements
12994     to always fail with ENOSYS.  Some functions are actually named
12995     something starting with __ and the normal name is an alias.  */
12996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12997 choke me
12998 #else
12999 char (*f) () = $ac_func;
13000 #endif
13001 #ifdef __cplusplus
13002 }
13003 #endif
13004
13005 int
13006 main ()
13007 {
13008 return f != $ac_func;
13009   ;
13010   return 0;
13011 }
13012 _ACEOF
13013 rm -f conftest.$ac_objext conftest$ac_exeext
13014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13015   (eval $ac_link) 2>conftest.er1
13016   ac_status=$?
13017   grep -v '^ *+' conftest.er1 >conftest.err
13018   rm -f conftest.er1
13019   cat conftest.err >&5
13020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13021   (exit $ac_status); } &&
13022          { ac_try='test -z "$ac_c_werror_flag"
13023                          || test ! -s conftest.err'
13024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13025   (eval $ac_try) 2>&5
13026   ac_status=$?
13027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13028   (exit $ac_status); }; } &&
13029          { ac_try='test -s conftest$ac_exeext'
13030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13031   (eval $ac_try) 2>&5
13032   ac_status=$?
13033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13034   (exit $ac_status); }; }; then
13035   eval "$as_ac_var=yes"
13036 else
13037   echo "$as_me: failed program was:" >&5
13038 sed 's/^/| /' conftest.$ac_ext >&5
13039
13040 eval "$as_ac_var=no"
13041 fi
13042 rm -f conftest.err conftest.$ac_objext \
13043       conftest$ac_exeext conftest.$ac_ext
13044 fi
13045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13047 if test `eval echo '${'$as_ac_var'}'` = yes; then
13048   cat >>confdefs.h <<_ACEOF
13049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13050 _ACEOF
13051
13052 fi
13053 done
13054
13055   else
13056
13057   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13058 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13059   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13060     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13061   echo $ECHO_N "(cached) $ECHO_C" >&6
13062 else
13063
13064
13065
13066       ac_ext=cc
13067 ac_cpp='$CXXCPP $CPPFLAGS'
13068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13071
13072       cat >conftest.$ac_ext <<_ACEOF
13073 /* confdefs.h.  */
13074 _ACEOF
13075 cat confdefs.h >>conftest.$ac_ext
13076 cat >>conftest.$ac_ext <<_ACEOF
13077 /* end confdefs.h.  */
13078 #include <math.h>
13079 int
13080 main ()
13081 {
13082  _atan2f(0, 0);
13083   ;
13084   return 0;
13085 }
13086 _ACEOF
13087 rm -f conftest.$ac_objext
13088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13089   (eval $ac_compile) 2>conftest.er1
13090   ac_status=$?
13091   grep -v '^ *+' conftest.er1 >conftest.err
13092   rm -f conftest.er1
13093   cat conftest.err >&5
13094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13095   (exit $ac_status); } &&
13096          { ac_try='test -z "$ac_cxx_werror_flag"
13097                          || test ! -s conftest.err'
13098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13099   (eval $ac_try) 2>&5
13100   ac_status=$?
13101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13102   (exit $ac_status); }; } &&
13103          { ac_try='test -s conftest.$ac_objext'
13104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13105   (eval $ac_try) 2>&5
13106   ac_status=$?
13107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13108   (exit $ac_status); }; }; then
13109   glibcxx_cv_func__atan2f_use=yes
13110 else
13111   echo "$as_me: failed program was:" >&5
13112 sed 's/^/| /' conftest.$ac_ext >&5
13113
13114 glibcxx_cv_func__atan2f_use=no
13115 fi
13116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13117       ac_ext=c
13118 ac_cpp='$CPP $CPPFLAGS'
13119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13122
13123
13124 fi
13125
13126   fi
13127   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13128 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13129
13130     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13131
13132 for ac_func in _atan2f
13133 do
13134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13135 echo "$as_me:$LINENO: checking for $ac_func" >&5
13136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13137 if eval "test \"\${$as_ac_var+set}\" = set"; then
13138   echo $ECHO_N "(cached) $ECHO_C" >&6
13139 else
13140   if test x$gcc_no_link = xyes; then
13141   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13143    { (exit 1); exit 1; }; }
13144 fi
13145 cat >conftest.$ac_ext <<_ACEOF
13146 /* confdefs.h.  */
13147 _ACEOF
13148 cat confdefs.h >>conftest.$ac_ext
13149 cat >>conftest.$ac_ext <<_ACEOF
13150 /* end confdefs.h.  */
13151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13152    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13153 #define $ac_func innocuous_$ac_func
13154
13155 /* System header to define __stub macros and hopefully few prototypes,
13156     which can conflict with char $ac_func (); below.
13157     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13158     <limits.h> exists even on freestanding compilers.  */
13159
13160 #ifdef __STDC__
13161 # include <limits.h>
13162 #else
13163 # include <assert.h>
13164 #endif
13165
13166 #undef $ac_func
13167
13168 /* Override any gcc2 internal prototype to avoid an error.  */
13169 #ifdef __cplusplus
13170 extern "C"
13171 {
13172 #endif
13173 /* We use char because int might match the return type of a gcc2
13174    builtin and then its argument prototype would still apply.  */
13175 char $ac_func ();
13176 /* The GNU C library defines this for functions which it implements
13177     to always fail with ENOSYS.  Some functions are actually named
13178     something starting with __ and the normal name is an alias.  */
13179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13180 choke me
13181 #else
13182 char (*f) () = $ac_func;
13183 #endif
13184 #ifdef __cplusplus
13185 }
13186 #endif
13187
13188 int
13189 main ()
13190 {
13191 return f != $ac_func;
13192   ;
13193   return 0;
13194 }
13195 _ACEOF
13196 rm -f conftest.$ac_objext conftest$ac_exeext
13197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13198   (eval $ac_link) 2>conftest.er1
13199   ac_status=$?
13200   grep -v '^ *+' conftest.er1 >conftest.err
13201   rm -f conftest.er1
13202   cat conftest.err >&5
13203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13204   (exit $ac_status); } &&
13205          { ac_try='test -z "$ac_c_werror_flag"
13206                          || test ! -s conftest.err'
13207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13208   (eval $ac_try) 2>&5
13209   ac_status=$?
13210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13211   (exit $ac_status); }; } &&
13212          { ac_try='test -s conftest$ac_exeext'
13213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13214   (eval $ac_try) 2>&5
13215   ac_status=$?
13216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13217   (exit $ac_status); }; }; then
13218   eval "$as_ac_var=yes"
13219 else
13220   echo "$as_me: failed program was:" >&5
13221 sed 's/^/| /' conftest.$ac_ext >&5
13222
13223 eval "$as_ac_var=no"
13224 fi
13225 rm -f conftest.err conftest.$ac_objext \
13226       conftest$ac_exeext conftest.$ac_ext
13227 fi
13228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13230 if test `eval echo '${'$as_ac_var'}'` = yes; then
13231   cat >>confdefs.h <<_ACEOF
13232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13233 _ACEOF
13234
13235 fi
13236 done
13237
13238     fi
13239   fi
13240
13241
13242
13243   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13244 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13245   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13246     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13247   echo $ECHO_N "(cached) $ECHO_C" >&6
13248 else
13249
13250
13251
13252       ac_ext=cc
13253 ac_cpp='$CXXCPP $CPPFLAGS'
13254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13257
13258       cat >conftest.$ac_ext <<_ACEOF
13259 /* confdefs.h.  */
13260 _ACEOF
13261 cat confdefs.h >>conftest.$ac_ext
13262 cat >>conftest.$ac_ext <<_ACEOF
13263 /* end confdefs.h.  */
13264 #include <math.h>
13265                       #ifdef HAVE_IEEEFP_H
13266                       #include <ieeefp.h>
13267                       #endif
13268
13269 int
13270 main ()
13271 {
13272  fabsf(0);
13273   ;
13274   return 0;
13275 }
13276 _ACEOF
13277 rm -f conftest.$ac_objext
13278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13279   (eval $ac_compile) 2>conftest.er1
13280   ac_status=$?
13281   grep -v '^ *+' conftest.er1 >conftest.err
13282   rm -f conftest.er1
13283   cat conftest.err >&5
13284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13285   (exit $ac_status); } &&
13286          { ac_try='test -z "$ac_cxx_werror_flag"
13287                          || test ! -s conftest.err'
13288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13289   (eval $ac_try) 2>&5
13290   ac_status=$?
13291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292   (exit $ac_status); }; } &&
13293          { ac_try='test -s conftest.$ac_objext'
13294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13295   (eval $ac_try) 2>&5
13296   ac_status=$?
13297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298   (exit $ac_status); }; }; then
13299   glibcxx_cv_func_fabsf_use=yes
13300 else
13301   echo "$as_me: failed program was:" >&5
13302 sed 's/^/| /' conftest.$ac_ext >&5
13303
13304 glibcxx_cv_func_fabsf_use=no
13305 fi
13306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13307       ac_ext=c
13308 ac_cpp='$CPP $CPPFLAGS'
13309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13312
13313
13314 fi
13315
13316   fi
13317   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13318 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13319
13320   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13321
13322 for ac_func in fabsf
13323 do
13324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13325 echo "$as_me:$LINENO: checking for $ac_func" >&5
13326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13327 if eval "test \"\${$as_ac_var+set}\" = set"; then
13328   echo $ECHO_N "(cached) $ECHO_C" >&6
13329 else
13330   if test x$gcc_no_link = xyes; then
13331   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13333    { (exit 1); exit 1; }; }
13334 fi
13335 cat >conftest.$ac_ext <<_ACEOF
13336 /* confdefs.h.  */
13337 _ACEOF
13338 cat confdefs.h >>conftest.$ac_ext
13339 cat >>conftest.$ac_ext <<_ACEOF
13340 /* end confdefs.h.  */
13341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13342    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13343 #define $ac_func innocuous_$ac_func
13344
13345 /* System header to define __stub macros and hopefully few prototypes,
13346     which can conflict with char $ac_func (); below.
13347     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13348     <limits.h> exists even on freestanding compilers.  */
13349
13350 #ifdef __STDC__
13351 # include <limits.h>
13352 #else
13353 # include <assert.h>
13354 #endif
13355
13356 #undef $ac_func
13357
13358 /* Override any gcc2 internal prototype to avoid an error.  */
13359 #ifdef __cplusplus
13360 extern "C"
13361 {
13362 #endif
13363 /* We use char because int might match the return type of a gcc2
13364    builtin and then its argument prototype would still apply.  */
13365 char $ac_func ();
13366 /* The GNU C library defines this for functions which it implements
13367     to always fail with ENOSYS.  Some functions are actually named
13368     something starting with __ and the normal name is an alias.  */
13369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13370 choke me
13371 #else
13372 char (*f) () = $ac_func;
13373 #endif
13374 #ifdef __cplusplus
13375 }
13376 #endif
13377
13378 int
13379 main ()
13380 {
13381 return f != $ac_func;
13382   ;
13383   return 0;
13384 }
13385 _ACEOF
13386 rm -f conftest.$ac_objext conftest$ac_exeext
13387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13388   (eval $ac_link) 2>conftest.er1
13389   ac_status=$?
13390   grep -v '^ *+' conftest.er1 >conftest.err
13391   rm -f conftest.er1
13392   cat conftest.err >&5
13393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13394   (exit $ac_status); } &&
13395          { ac_try='test -z "$ac_c_werror_flag"
13396                          || test ! -s conftest.err'
13397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13398   (eval $ac_try) 2>&5
13399   ac_status=$?
13400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13401   (exit $ac_status); }; } &&
13402          { ac_try='test -s conftest$ac_exeext'
13403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13404   (eval $ac_try) 2>&5
13405   ac_status=$?
13406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13407   (exit $ac_status); }; }; then
13408   eval "$as_ac_var=yes"
13409 else
13410   echo "$as_me: failed program was:" >&5
13411 sed 's/^/| /' conftest.$ac_ext >&5
13412
13413 eval "$as_ac_var=no"
13414 fi
13415 rm -f conftest.err conftest.$ac_objext \
13416       conftest$ac_exeext conftest.$ac_ext
13417 fi
13418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13420 if test `eval echo '${'$as_ac_var'}'` = yes; then
13421   cat >>confdefs.h <<_ACEOF
13422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13423 _ACEOF
13424
13425 fi
13426 done
13427
13428   else
13429
13430   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13431 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13432   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13433     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13434   echo $ECHO_N "(cached) $ECHO_C" >&6
13435 else
13436
13437
13438
13439       ac_ext=cc
13440 ac_cpp='$CXXCPP $CPPFLAGS'
13441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13444
13445       cat >conftest.$ac_ext <<_ACEOF
13446 /* confdefs.h.  */
13447 _ACEOF
13448 cat confdefs.h >>conftest.$ac_ext
13449 cat >>conftest.$ac_ext <<_ACEOF
13450 /* end confdefs.h.  */
13451 #include <math.h>
13452                       #ifdef HAVE_IEEEFP_H
13453                       #include <ieeefp.h>
13454                       #endif
13455
13456 int
13457 main ()
13458 {
13459  _fabsf(0);
13460   ;
13461   return 0;
13462 }
13463 _ACEOF
13464 rm -f conftest.$ac_objext
13465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13466   (eval $ac_compile) 2>conftest.er1
13467   ac_status=$?
13468   grep -v '^ *+' conftest.er1 >conftest.err
13469   rm -f conftest.er1
13470   cat conftest.err >&5
13471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13472   (exit $ac_status); } &&
13473          { ac_try='test -z "$ac_cxx_werror_flag"
13474                          || test ! -s conftest.err'
13475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13476   (eval $ac_try) 2>&5
13477   ac_status=$?
13478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13479   (exit $ac_status); }; } &&
13480          { ac_try='test -s conftest.$ac_objext'
13481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13482   (eval $ac_try) 2>&5
13483   ac_status=$?
13484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13485   (exit $ac_status); }; }; then
13486   glibcxx_cv_func__fabsf_use=yes
13487 else
13488   echo "$as_me: failed program was:" >&5
13489 sed 's/^/| /' conftest.$ac_ext >&5
13490
13491 glibcxx_cv_func__fabsf_use=no
13492 fi
13493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13494       ac_ext=c
13495 ac_cpp='$CPP $CPPFLAGS'
13496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13499
13500
13501 fi
13502
13503   fi
13504   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13505 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13506
13507     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13508
13509 for ac_func in _fabsf
13510 do
13511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13512 echo "$as_me:$LINENO: checking for $ac_func" >&5
13513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13514 if eval "test \"\${$as_ac_var+set}\" = set"; then
13515   echo $ECHO_N "(cached) $ECHO_C" >&6
13516 else
13517   if test x$gcc_no_link = xyes; then
13518   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13520    { (exit 1); exit 1; }; }
13521 fi
13522 cat >conftest.$ac_ext <<_ACEOF
13523 /* confdefs.h.  */
13524 _ACEOF
13525 cat confdefs.h >>conftest.$ac_ext
13526 cat >>conftest.$ac_ext <<_ACEOF
13527 /* end confdefs.h.  */
13528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13529    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13530 #define $ac_func innocuous_$ac_func
13531
13532 /* System header to define __stub macros and hopefully few prototypes,
13533     which can conflict with char $ac_func (); below.
13534     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13535     <limits.h> exists even on freestanding compilers.  */
13536
13537 #ifdef __STDC__
13538 # include <limits.h>
13539 #else
13540 # include <assert.h>
13541 #endif
13542
13543 #undef $ac_func
13544
13545 /* Override any gcc2 internal prototype to avoid an error.  */
13546 #ifdef __cplusplus
13547 extern "C"
13548 {
13549 #endif
13550 /* We use char because int might match the return type of a gcc2
13551    builtin and then its argument prototype would still apply.  */
13552 char $ac_func ();
13553 /* The GNU C library defines this for functions which it implements
13554     to always fail with ENOSYS.  Some functions are actually named
13555     something starting with __ and the normal name is an alias.  */
13556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13557 choke me
13558 #else
13559 char (*f) () = $ac_func;
13560 #endif
13561 #ifdef __cplusplus
13562 }
13563 #endif
13564
13565 int
13566 main ()
13567 {
13568 return f != $ac_func;
13569   ;
13570   return 0;
13571 }
13572 _ACEOF
13573 rm -f conftest.$ac_objext conftest$ac_exeext
13574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13575   (eval $ac_link) 2>conftest.er1
13576   ac_status=$?
13577   grep -v '^ *+' conftest.er1 >conftest.err
13578   rm -f conftest.er1
13579   cat conftest.err >&5
13580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13581   (exit $ac_status); } &&
13582          { ac_try='test -z "$ac_c_werror_flag"
13583                          || test ! -s conftest.err'
13584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13585   (eval $ac_try) 2>&5
13586   ac_status=$?
13587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13588   (exit $ac_status); }; } &&
13589          { ac_try='test -s conftest$ac_exeext'
13590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13591   (eval $ac_try) 2>&5
13592   ac_status=$?
13593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13594   (exit $ac_status); }; }; then
13595   eval "$as_ac_var=yes"
13596 else
13597   echo "$as_me: failed program was:" >&5
13598 sed 's/^/| /' conftest.$ac_ext >&5
13599
13600 eval "$as_ac_var=no"
13601 fi
13602 rm -f conftest.err conftest.$ac_objext \
13603       conftest$ac_exeext conftest.$ac_ext
13604 fi
13605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13607 if test `eval echo '${'$as_ac_var'}'` = yes; then
13608   cat >>confdefs.h <<_ACEOF
13609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13610 _ACEOF
13611
13612 fi
13613 done
13614
13615     fi
13616   fi
13617
13618
13619
13620   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
13621 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
13622   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
13623     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
13624   echo $ECHO_N "(cached) $ECHO_C" >&6
13625 else
13626
13627
13628
13629       ac_ext=cc
13630 ac_cpp='$CXXCPP $CPPFLAGS'
13631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13634
13635       cat >conftest.$ac_ext <<_ACEOF
13636 /* confdefs.h.  */
13637 _ACEOF
13638 cat confdefs.h >>conftest.$ac_ext
13639 cat >>conftest.$ac_ext <<_ACEOF
13640 /* end confdefs.h.  */
13641 #include <math.h>
13642 int
13643 main ()
13644 {
13645  fmodf(0, 0);
13646   ;
13647   return 0;
13648 }
13649 _ACEOF
13650 rm -f conftest.$ac_objext
13651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13652   (eval $ac_compile) 2>conftest.er1
13653   ac_status=$?
13654   grep -v '^ *+' conftest.er1 >conftest.err
13655   rm -f conftest.er1
13656   cat conftest.err >&5
13657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13658   (exit $ac_status); } &&
13659          { ac_try='test -z "$ac_cxx_werror_flag"
13660                          || test ! -s conftest.err'
13661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13662   (eval $ac_try) 2>&5
13663   ac_status=$?
13664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665   (exit $ac_status); }; } &&
13666          { ac_try='test -s conftest.$ac_objext'
13667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13668   (eval $ac_try) 2>&5
13669   ac_status=$?
13670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13671   (exit $ac_status); }; }; then
13672   glibcxx_cv_func_fmodf_use=yes
13673 else
13674   echo "$as_me: failed program was:" >&5
13675 sed 's/^/| /' conftest.$ac_ext >&5
13676
13677 glibcxx_cv_func_fmodf_use=no
13678 fi
13679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13680       ac_ext=c
13681 ac_cpp='$CPP $CPPFLAGS'
13682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13685
13686
13687 fi
13688
13689   fi
13690   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
13691 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
13692
13693   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
13694
13695 for ac_func in fmodf
13696 do
13697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13698 echo "$as_me:$LINENO: checking for $ac_func" >&5
13699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13700 if eval "test \"\${$as_ac_var+set}\" = set"; then
13701   echo $ECHO_N "(cached) $ECHO_C" >&6
13702 else
13703   if test x$gcc_no_link = xyes; then
13704   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13706    { (exit 1); exit 1; }; }
13707 fi
13708 cat >conftest.$ac_ext <<_ACEOF
13709 /* confdefs.h.  */
13710 _ACEOF
13711 cat confdefs.h >>conftest.$ac_ext
13712 cat >>conftest.$ac_ext <<_ACEOF
13713 /* end confdefs.h.  */
13714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13715    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13716 #define $ac_func innocuous_$ac_func
13717
13718 /* System header to define __stub macros and hopefully few prototypes,
13719     which can conflict with char $ac_func (); below.
13720     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13721     <limits.h> exists even on freestanding compilers.  */
13722
13723 #ifdef __STDC__
13724 # include <limits.h>
13725 #else
13726 # include <assert.h>
13727 #endif
13728
13729 #undef $ac_func
13730
13731 /* Override any gcc2 internal prototype to avoid an error.  */
13732 #ifdef __cplusplus
13733 extern "C"
13734 {
13735 #endif
13736 /* We use char because int might match the return type of a gcc2
13737    builtin and then its argument prototype would still apply.  */
13738 char $ac_func ();
13739 /* The GNU C library defines this for functions which it implements
13740     to always fail with ENOSYS.  Some functions are actually named
13741     something starting with __ and the normal name is an alias.  */
13742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13743 choke me
13744 #else
13745 char (*f) () = $ac_func;
13746 #endif
13747 #ifdef __cplusplus
13748 }
13749 #endif
13750
13751 int
13752 main ()
13753 {
13754 return f != $ac_func;
13755   ;
13756   return 0;
13757 }
13758 _ACEOF
13759 rm -f conftest.$ac_objext conftest$ac_exeext
13760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13761   (eval $ac_link) 2>conftest.er1
13762   ac_status=$?
13763   grep -v '^ *+' conftest.er1 >conftest.err
13764   rm -f conftest.er1
13765   cat conftest.err >&5
13766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767   (exit $ac_status); } &&
13768          { ac_try='test -z "$ac_c_werror_flag"
13769                          || test ! -s conftest.err'
13770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13771   (eval $ac_try) 2>&5
13772   ac_status=$?
13773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13774   (exit $ac_status); }; } &&
13775          { ac_try='test -s conftest$ac_exeext'
13776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13777   (eval $ac_try) 2>&5
13778   ac_status=$?
13779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13780   (exit $ac_status); }; }; then
13781   eval "$as_ac_var=yes"
13782 else
13783   echo "$as_me: failed program was:" >&5
13784 sed 's/^/| /' conftest.$ac_ext >&5
13785
13786 eval "$as_ac_var=no"
13787 fi
13788 rm -f conftest.err conftest.$ac_objext \
13789       conftest$ac_exeext conftest.$ac_ext
13790 fi
13791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13793 if test `eval echo '${'$as_ac_var'}'` = yes; then
13794   cat >>confdefs.h <<_ACEOF
13795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13796 _ACEOF
13797
13798 fi
13799 done
13800
13801   else
13802
13803   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
13804 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
13805   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
13806     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
13807   echo $ECHO_N "(cached) $ECHO_C" >&6
13808 else
13809
13810
13811
13812       ac_ext=cc
13813 ac_cpp='$CXXCPP $CPPFLAGS'
13814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13817
13818       cat >conftest.$ac_ext <<_ACEOF
13819 /* confdefs.h.  */
13820 _ACEOF
13821 cat confdefs.h >>conftest.$ac_ext
13822 cat >>conftest.$ac_ext <<_ACEOF
13823 /* end confdefs.h.  */
13824 #include <math.h>
13825 int
13826 main ()
13827 {
13828  _fmodf(0, 0);
13829   ;
13830   return 0;
13831 }
13832 _ACEOF
13833 rm -f conftest.$ac_objext
13834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13835   (eval $ac_compile) 2>conftest.er1
13836   ac_status=$?
13837   grep -v '^ *+' conftest.er1 >conftest.err
13838   rm -f conftest.er1
13839   cat conftest.err >&5
13840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13841   (exit $ac_status); } &&
13842          { ac_try='test -z "$ac_cxx_werror_flag"
13843                          || test ! -s conftest.err'
13844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13845   (eval $ac_try) 2>&5
13846   ac_status=$?
13847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13848   (exit $ac_status); }; } &&
13849          { ac_try='test -s conftest.$ac_objext'
13850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13851   (eval $ac_try) 2>&5
13852   ac_status=$?
13853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13854   (exit $ac_status); }; }; then
13855   glibcxx_cv_func__fmodf_use=yes
13856 else
13857   echo "$as_me: failed program was:" >&5
13858 sed 's/^/| /' conftest.$ac_ext >&5
13859
13860 glibcxx_cv_func__fmodf_use=no
13861 fi
13862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13863       ac_ext=c
13864 ac_cpp='$CPP $CPPFLAGS'
13865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13868
13869
13870 fi
13871
13872   fi
13873   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
13874 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
13875
13876     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
13877
13878 for ac_func in _fmodf
13879 do
13880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13881 echo "$as_me:$LINENO: checking for $ac_func" >&5
13882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13883 if eval "test \"\${$as_ac_var+set}\" = set"; then
13884   echo $ECHO_N "(cached) $ECHO_C" >&6
13885 else
13886   if test x$gcc_no_link = xyes; then
13887   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13889    { (exit 1); exit 1; }; }
13890 fi
13891 cat >conftest.$ac_ext <<_ACEOF
13892 /* confdefs.h.  */
13893 _ACEOF
13894 cat confdefs.h >>conftest.$ac_ext
13895 cat >>conftest.$ac_ext <<_ACEOF
13896 /* end confdefs.h.  */
13897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13898    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13899 #define $ac_func innocuous_$ac_func
13900
13901 /* System header to define __stub macros and hopefully few prototypes,
13902     which can conflict with char $ac_func (); below.
13903     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13904     <limits.h> exists even on freestanding compilers.  */
13905
13906 #ifdef __STDC__
13907 # include <limits.h>
13908 #else
13909 # include <assert.h>
13910 #endif
13911
13912 #undef $ac_func
13913
13914 /* Override any gcc2 internal prototype to avoid an error.  */
13915 #ifdef __cplusplus
13916 extern "C"
13917 {
13918 #endif
13919 /* We use char because int might match the return type of a gcc2
13920    builtin and then its argument prototype would still apply.  */
13921 char $ac_func ();
13922 /* The GNU C library defines this for functions which it implements
13923     to always fail with ENOSYS.  Some functions are actually named
13924     something starting with __ and the normal name is an alias.  */
13925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13926 choke me
13927 #else
13928 char (*f) () = $ac_func;
13929 #endif
13930 #ifdef __cplusplus
13931 }
13932 #endif
13933
13934 int
13935 main ()
13936 {
13937 return f != $ac_func;
13938   ;
13939   return 0;
13940 }
13941 _ACEOF
13942 rm -f conftest.$ac_objext conftest$ac_exeext
13943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13944   (eval $ac_link) 2>conftest.er1
13945   ac_status=$?
13946   grep -v '^ *+' conftest.er1 >conftest.err
13947   rm -f conftest.er1
13948   cat conftest.err >&5
13949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13950   (exit $ac_status); } &&
13951          { ac_try='test -z "$ac_c_werror_flag"
13952                          || test ! -s conftest.err'
13953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13954   (eval $ac_try) 2>&5
13955   ac_status=$?
13956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13957   (exit $ac_status); }; } &&
13958          { ac_try='test -s conftest$ac_exeext'
13959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13960   (eval $ac_try) 2>&5
13961   ac_status=$?
13962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13963   (exit $ac_status); }; }; then
13964   eval "$as_ac_var=yes"
13965 else
13966   echo "$as_me: failed program was:" >&5
13967 sed 's/^/| /' conftest.$ac_ext >&5
13968
13969 eval "$as_ac_var=no"
13970 fi
13971 rm -f conftest.err conftest.$ac_objext \
13972       conftest$ac_exeext conftest.$ac_ext
13973 fi
13974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13976 if test `eval echo '${'$as_ac_var'}'` = yes; then
13977   cat >>confdefs.h <<_ACEOF
13978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13979 _ACEOF
13980
13981 fi
13982 done
13983
13984     fi
13985   fi
13986
13987
13988
13989   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
13990 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
13991   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
13992     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
13993   echo $ECHO_N "(cached) $ECHO_C" >&6
13994 else
13995
13996
13997
13998       ac_ext=cc
13999 ac_cpp='$CXXCPP $CPPFLAGS'
14000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14003
14004       cat >conftest.$ac_ext <<_ACEOF
14005 /* confdefs.h.  */
14006 _ACEOF
14007 cat confdefs.h >>conftest.$ac_ext
14008 cat >>conftest.$ac_ext <<_ACEOF
14009 /* end confdefs.h.  */
14010 #include <math.h>
14011 int
14012 main ()
14013 {
14014  frexpf(0, 0);
14015   ;
14016   return 0;
14017 }
14018 _ACEOF
14019 rm -f conftest.$ac_objext
14020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14021   (eval $ac_compile) 2>conftest.er1
14022   ac_status=$?
14023   grep -v '^ *+' conftest.er1 >conftest.err
14024   rm -f conftest.er1
14025   cat conftest.err >&5
14026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14027   (exit $ac_status); } &&
14028          { ac_try='test -z "$ac_cxx_werror_flag"
14029                          || test ! -s conftest.err'
14030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14031   (eval $ac_try) 2>&5
14032   ac_status=$?
14033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034   (exit $ac_status); }; } &&
14035          { ac_try='test -s conftest.$ac_objext'
14036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14037   (eval $ac_try) 2>&5
14038   ac_status=$?
14039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14040   (exit $ac_status); }; }; then
14041   glibcxx_cv_func_frexpf_use=yes
14042 else
14043   echo "$as_me: failed program was:" >&5
14044 sed 's/^/| /' conftest.$ac_ext >&5
14045
14046 glibcxx_cv_func_frexpf_use=no
14047 fi
14048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14049       ac_ext=c
14050 ac_cpp='$CPP $CPPFLAGS'
14051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14054
14055
14056 fi
14057
14058   fi
14059   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14060 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14061
14062   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14063
14064 for ac_func in frexpf
14065 do
14066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14067 echo "$as_me:$LINENO: checking for $ac_func" >&5
14068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14069 if eval "test \"\${$as_ac_var+set}\" = set"; then
14070   echo $ECHO_N "(cached) $ECHO_C" >&6
14071 else
14072   if test x$gcc_no_link = xyes; then
14073   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14075    { (exit 1); exit 1; }; }
14076 fi
14077 cat >conftest.$ac_ext <<_ACEOF
14078 /* confdefs.h.  */
14079 _ACEOF
14080 cat confdefs.h >>conftest.$ac_ext
14081 cat >>conftest.$ac_ext <<_ACEOF
14082 /* end confdefs.h.  */
14083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14084    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14085 #define $ac_func innocuous_$ac_func
14086
14087 /* System header to define __stub macros and hopefully few prototypes,
14088     which can conflict with char $ac_func (); below.
14089     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14090     <limits.h> exists even on freestanding compilers.  */
14091
14092 #ifdef __STDC__
14093 # include <limits.h>
14094 #else
14095 # include <assert.h>
14096 #endif
14097
14098 #undef $ac_func
14099
14100 /* Override any gcc2 internal prototype to avoid an error.  */
14101 #ifdef __cplusplus
14102 extern "C"
14103 {
14104 #endif
14105 /* We use char because int might match the return type of a gcc2
14106    builtin and then its argument prototype would still apply.  */
14107 char $ac_func ();
14108 /* The GNU C library defines this for functions which it implements
14109     to always fail with ENOSYS.  Some functions are actually named
14110     something starting with __ and the normal name is an alias.  */
14111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14112 choke me
14113 #else
14114 char (*f) () = $ac_func;
14115 #endif
14116 #ifdef __cplusplus
14117 }
14118 #endif
14119
14120 int
14121 main ()
14122 {
14123 return f != $ac_func;
14124   ;
14125   return 0;
14126 }
14127 _ACEOF
14128 rm -f conftest.$ac_objext conftest$ac_exeext
14129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14130   (eval $ac_link) 2>conftest.er1
14131   ac_status=$?
14132   grep -v '^ *+' conftest.er1 >conftest.err
14133   rm -f conftest.er1
14134   cat conftest.err >&5
14135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14136   (exit $ac_status); } &&
14137          { ac_try='test -z "$ac_c_werror_flag"
14138                          || test ! -s conftest.err'
14139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14140   (eval $ac_try) 2>&5
14141   ac_status=$?
14142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14143   (exit $ac_status); }; } &&
14144          { ac_try='test -s conftest$ac_exeext'
14145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14146   (eval $ac_try) 2>&5
14147   ac_status=$?
14148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149   (exit $ac_status); }; }; then
14150   eval "$as_ac_var=yes"
14151 else
14152   echo "$as_me: failed program was:" >&5
14153 sed 's/^/| /' conftest.$ac_ext >&5
14154
14155 eval "$as_ac_var=no"
14156 fi
14157 rm -f conftest.err conftest.$ac_objext \
14158       conftest$ac_exeext conftest.$ac_ext
14159 fi
14160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14162 if test `eval echo '${'$as_ac_var'}'` = yes; then
14163   cat >>confdefs.h <<_ACEOF
14164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14165 _ACEOF
14166
14167 fi
14168 done
14169
14170   else
14171
14172   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14173 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14174   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14175     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14176   echo $ECHO_N "(cached) $ECHO_C" >&6
14177 else
14178
14179
14180
14181       ac_ext=cc
14182 ac_cpp='$CXXCPP $CPPFLAGS'
14183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14186
14187       cat >conftest.$ac_ext <<_ACEOF
14188 /* confdefs.h.  */
14189 _ACEOF
14190 cat confdefs.h >>conftest.$ac_ext
14191 cat >>conftest.$ac_ext <<_ACEOF
14192 /* end confdefs.h.  */
14193 #include <math.h>
14194 int
14195 main ()
14196 {
14197  _frexpf(0, 0);
14198   ;
14199   return 0;
14200 }
14201 _ACEOF
14202 rm -f conftest.$ac_objext
14203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14204   (eval $ac_compile) 2>conftest.er1
14205   ac_status=$?
14206   grep -v '^ *+' conftest.er1 >conftest.err
14207   rm -f conftest.er1
14208   cat conftest.err >&5
14209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14210   (exit $ac_status); } &&
14211          { ac_try='test -z "$ac_cxx_werror_flag"
14212                          || test ! -s conftest.err'
14213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14214   (eval $ac_try) 2>&5
14215   ac_status=$?
14216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14217   (exit $ac_status); }; } &&
14218          { ac_try='test -s conftest.$ac_objext'
14219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14220   (eval $ac_try) 2>&5
14221   ac_status=$?
14222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14223   (exit $ac_status); }; }; then
14224   glibcxx_cv_func__frexpf_use=yes
14225 else
14226   echo "$as_me: failed program was:" >&5
14227 sed 's/^/| /' conftest.$ac_ext >&5
14228
14229 glibcxx_cv_func__frexpf_use=no
14230 fi
14231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14232       ac_ext=c
14233 ac_cpp='$CPP $CPPFLAGS'
14234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14237
14238
14239 fi
14240
14241   fi
14242   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14243 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14244
14245     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14246
14247 for ac_func in _frexpf
14248 do
14249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14250 echo "$as_me:$LINENO: checking for $ac_func" >&5
14251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14252 if eval "test \"\${$as_ac_var+set}\" = set"; then
14253   echo $ECHO_N "(cached) $ECHO_C" >&6
14254 else
14255   if test x$gcc_no_link = xyes; then
14256   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14258    { (exit 1); exit 1; }; }
14259 fi
14260 cat >conftest.$ac_ext <<_ACEOF
14261 /* confdefs.h.  */
14262 _ACEOF
14263 cat confdefs.h >>conftest.$ac_ext
14264 cat >>conftest.$ac_ext <<_ACEOF
14265 /* end confdefs.h.  */
14266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14267    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14268 #define $ac_func innocuous_$ac_func
14269
14270 /* System header to define __stub macros and hopefully few prototypes,
14271     which can conflict with char $ac_func (); below.
14272     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14273     <limits.h> exists even on freestanding compilers.  */
14274
14275 #ifdef __STDC__
14276 # include <limits.h>
14277 #else
14278 # include <assert.h>
14279 #endif
14280
14281 #undef $ac_func
14282
14283 /* Override any gcc2 internal prototype to avoid an error.  */
14284 #ifdef __cplusplus
14285 extern "C"
14286 {
14287 #endif
14288 /* We use char because int might match the return type of a gcc2
14289    builtin and then its argument prototype would still apply.  */
14290 char $ac_func ();
14291 /* The GNU C library defines this for functions which it implements
14292     to always fail with ENOSYS.  Some functions are actually named
14293     something starting with __ and the normal name is an alias.  */
14294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14295 choke me
14296 #else
14297 char (*f) () = $ac_func;
14298 #endif
14299 #ifdef __cplusplus
14300 }
14301 #endif
14302
14303 int
14304 main ()
14305 {
14306 return f != $ac_func;
14307   ;
14308   return 0;
14309 }
14310 _ACEOF
14311 rm -f conftest.$ac_objext conftest$ac_exeext
14312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14313   (eval $ac_link) 2>conftest.er1
14314   ac_status=$?
14315   grep -v '^ *+' conftest.er1 >conftest.err
14316   rm -f conftest.er1
14317   cat conftest.err >&5
14318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14319   (exit $ac_status); } &&
14320          { ac_try='test -z "$ac_c_werror_flag"
14321                          || test ! -s conftest.err'
14322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14323   (eval $ac_try) 2>&5
14324   ac_status=$?
14325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14326   (exit $ac_status); }; } &&
14327          { ac_try='test -s conftest$ac_exeext'
14328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14329   (eval $ac_try) 2>&5
14330   ac_status=$?
14331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14332   (exit $ac_status); }; }; then
14333   eval "$as_ac_var=yes"
14334 else
14335   echo "$as_me: failed program was:" >&5
14336 sed 's/^/| /' conftest.$ac_ext >&5
14337
14338 eval "$as_ac_var=no"
14339 fi
14340 rm -f conftest.err conftest.$ac_objext \
14341       conftest$ac_exeext conftest.$ac_ext
14342 fi
14343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14345 if test `eval echo '${'$as_ac_var'}'` = yes; then
14346   cat >>confdefs.h <<_ACEOF
14347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14348 _ACEOF
14349
14350 fi
14351 done
14352
14353     fi
14354   fi
14355
14356
14357
14358   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14359 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14360   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14361     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14362   echo $ECHO_N "(cached) $ECHO_C" >&6
14363 else
14364
14365
14366
14367       ac_ext=cc
14368 ac_cpp='$CXXCPP $CPPFLAGS'
14369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14372
14373       cat >conftest.$ac_ext <<_ACEOF
14374 /* confdefs.h.  */
14375 _ACEOF
14376 cat confdefs.h >>conftest.$ac_ext
14377 cat >>conftest.$ac_ext <<_ACEOF
14378 /* end confdefs.h.  */
14379 #include <math.h>
14380 int
14381 main ()
14382 {
14383  hypotf(0, 0);
14384   ;
14385   return 0;
14386 }
14387 _ACEOF
14388 rm -f conftest.$ac_objext
14389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14390   (eval $ac_compile) 2>conftest.er1
14391   ac_status=$?
14392   grep -v '^ *+' conftest.er1 >conftest.err
14393   rm -f conftest.er1
14394   cat conftest.err >&5
14395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14396   (exit $ac_status); } &&
14397          { ac_try='test -z "$ac_cxx_werror_flag"
14398                          || test ! -s conftest.err'
14399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14400   (eval $ac_try) 2>&5
14401   ac_status=$?
14402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14403   (exit $ac_status); }; } &&
14404          { ac_try='test -s conftest.$ac_objext'
14405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14406   (eval $ac_try) 2>&5
14407   ac_status=$?
14408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14409   (exit $ac_status); }; }; then
14410   glibcxx_cv_func_hypotf_use=yes
14411 else
14412   echo "$as_me: failed program was:" >&5
14413 sed 's/^/| /' conftest.$ac_ext >&5
14414
14415 glibcxx_cv_func_hypotf_use=no
14416 fi
14417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14418       ac_ext=c
14419 ac_cpp='$CPP $CPPFLAGS'
14420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14423
14424
14425 fi
14426
14427   fi
14428   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14429 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14430
14431   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14432
14433 for ac_func in hypotf
14434 do
14435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14436 echo "$as_me:$LINENO: checking for $ac_func" >&5
14437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14438 if eval "test \"\${$as_ac_var+set}\" = set"; then
14439   echo $ECHO_N "(cached) $ECHO_C" >&6
14440 else
14441   if test x$gcc_no_link = xyes; then
14442   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14444    { (exit 1); exit 1; }; }
14445 fi
14446 cat >conftest.$ac_ext <<_ACEOF
14447 /* confdefs.h.  */
14448 _ACEOF
14449 cat confdefs.h >>conftest.$ac_ext
14450 cat >>conftest.$ac_ext <<_ACEOF
14451 /* end confdefs.h.  */
14452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14453    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14454 #define $ac_func innocuous_$ac_func
14455
14456 /* System header to define __stub macros and hopefully few prototypes,
14457     which can conflict with char $ac_func (); below.
14458     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14459     <limits.h> exists even on freestanding compilers.  */
14460
14461 #ifdef __STDC__
14462 # include <limits.h>
14463 #else
14464 # include <assert.h>
14465 #endif
14466
14467 #undef $ac_func
14468
14469 /* Override any gcc2 internal prototype to avoid an error.  */
14470 #ifdef __cplusplus
14471 extern "C"
14472 {
14473 #endif
14474 /* We use char because int might match the return type of a gcc2
14475    builtin and then its argument prototype would still apply.  */
14476 char $ac_func ();
14477 /* The GNU C library defines this for functions which it implements
14478     to always fail with ENOSYS.  Some functions are actually named
14479     something starting with __ and the normal name is an alias.  */
14480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14481 choke me
14482 #else
14483 char (*f) () = $ac_func;
14484 #endif
14485 #ifdef __cplusplus
14486 }
14487 #endif
14488
14489 int
14490 main ()
14491 {
14492 return f != $ac_func;
14493   ;
14494   return 0;
14495 }
14496 _ACEOF
14497 rm -f conftest.$ac_objext conftest$ac_exeext
14498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14499   (eval $ac_link) 2>conftest.er1
14500   ac_status=$?
14501   grep -v '^ *+' conftest.er1 >conftest.err
14502   rm -f conftest.er1
14503   cat conftest.err >&5
14504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505   (exit $ac_status); } &&
14506          { ac_try='test -z "$ac_c_werror_flag"
14507                          || test ! -s conftest.err'
14508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14509   (eval $ac_try) 2>&5
14510   ac_status=$?
14511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512   (exit $ac_status); }; } &&
14513          { ac_try='test -s conftest$ac_exeext'
14514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14515   (eval $ac_try) 2>&5
14516   ac_status=$?
14517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14518   (exit $ac_status); }; }; then
14519   eval "$as_ac_var=yes"
14520 else
14521   echo "$as_me: failed program was:" >&5
14522 sed 's/^/| /' conftest.$ac_ext >&5
14523
14524 eval "$as_ac_var=no"
14525 fi
14526 rm -f conftest.err conftest.$ac_objext \
14527       conftest$ac_exeext conftest.$ac_ext
14528 fi
14529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14531 if test `eval echo '${'$as_ac_var'}'` = yes; then
14532   cat >>confdefs.h <<_ACEOF
14533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14534 _ACEOF
14535
14536 fi
14537 done
14538
14539   else
14540
14541   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
14542 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
14543   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14544     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
14545   echo $ECHO_N "(cached) $ECHO_C" >&6
14546 else
14547
14548
14549
14550       ac_ext=cc
14551 ac_cpp='$CXXCPP $CPPFLAGS'
14552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14555
14556       cat >conftest.$ac_ext <<_ACEOF
14557 /* confdefs.h.  */
14558 _ACEOF
14559 cat confdefs.h >>conftest.$ac_ext
14560 cat >>conftest.$ac_ext <<_ACEOF
14561 /* end confdefs.h.  */
14562 #include <math.h>
14563 int
14564 main ()
14565 {
14566  _hypotf(0, 0);
14567   ;
14568   return 0;
14569 }
14570 _ACEOF
14571 rm -f conftest.$ac_objext
14572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14573   (eval $ac_compile) 2>conftest.er1
14574   ac_status=$?
14575   grep -v '^ *+' conftest.er1 >conftest.err
14576   rm -f conftest.er1
14577   cat conftest.err >&5
14578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579   (exit $ac_status); } &&
14580          { ac_try='test -z "$ac_cxx_werror_flag"
14581                          || test ! -s conftest.err'
14582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14583   (eval $ac_try) 2>&5
14584   ac_status=$?
14585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14586   (exit $ac_status); }; } &&
14587          { ac_try='test -s conftest.$ac_objext'
14588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14589   (eval $ac_try) 2>&5
14590   ac_status=$?
14591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14592   (exit $ac_status); }; }; then
14593   glibcxx_cv_func__hypotf_use=yes
14594 else
14595   echo "$as_me: failed program was:" >&5
14596 sed 's/^/| /' conftest.$ac_ext >&5
14597
14598 glibcxx_cv_func__hypotf_use=no
14599 fi
14600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14601       ac_ext=c
14602 ac_cpp='$CPP $CPPFLAGS'
14603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14606
14607
14608 fi
14609
14610   fi
14611   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
14612 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
14613
14614     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
14615
14616 for ac_func in _hypotf
14617 do
14618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14619 echo "$as_me:$LINENO: checking for $ac_func" >&5
14620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14621 if eval "test \"\${$as_ac_var+set}\" = set"; then
14622   echo $ECHO_N "(cached) $ECHO_C" >&6
14623 else
14624   if test x$gcc_no_link = xyes; then
14625   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14627    { (exit 1); exit 1; }; }
14628 fi
14629 cat >conftest.$ac_ext <<_ACEOF
14630 /* confdefs.h.  */
14631 _ACEOF
14632 cat confdefs.h >>conftest.$ac_ext
14633 cat >>conftest.$ac_ext <<_ACEOF
14634 /* end confdefs.h.  */
14635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14636    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14637 #define $ac_func innocuous_$ac_func
14638
14639 /* System header to define __stub macros and hopefully few prototypes,
14640     which can conflict with char $ac_func (); below.
14641     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14642     <limits.h> exists even on freestanding compilers.  */
14643
14644 #ifdef __STDC__
14645 # include <limits.h>
14646 #else
14647 # include <assert.h>
14648 #endif
14649
14650 #undef $ac_func
14651
14652 /* Override any gcc2 internal prototype to avoid an error.  */
14653 #ifdef __cplusplus
14654 extern "C"
14655 {
14656 #endif
14657 /* We use char because int might match the return type of a gcc2
14658    builtin and then its argument prototype would still apply.  */
14659 char $ac_func ();
14660 /* The GNU C library defines this for functions which it implements
14661     to always fail with ENOSYS.  Some functions are actually named
14662     something starting with __ and the normal name is an alias.  */
14663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14664 choke me
14665 #else
14666 char (*f) () = $ac_func;
14667 #endif
14668 #ifdef __cplusplus
14669 }
14670 #endif
14671
14672 int
14673 main ()
14674 {
14675 return f != $ac_func;
14676   ;
14677   return 0;
14678 }
14679 _ACEOF
14680 rm -f conftest.$ac_objext conftest$ac_exeext
14681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14682   (eval $ac_link) 2>conftest.er1
14683   ac_status=$?
14684   grep -v '^ *+' conftest.er1 >conftest.err
14685   rm -f conftest.er1
14686   cat conftest.err >&5
14687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14688   (exit $ac_status); } &&
14689          { ac_try='test -z "$ac_c_werror_flag"
14690                          || test ! -s conftest.err'
14691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14692   (eval $ac_try) 2>&5
14693   ac_status=$?
14694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14695   (exit $ac_status); }; } &&
14696          { ac_try='test -s conftest$ac_exeext'
14697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14698   (eval $ac_try) 2>&5
14699   ac_status=$?
14700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701   (exit $ac_status); }; }; then
14702   eval "$as_ac_var=yes"
14703 else
14704   echo "$as_me: failed program was:" >&5
14705 sed 's/^/| /' conftest.$ac_ext >&5
14706
14707 eval "$as_ac_var=no"
14708 fi
14709 rm -f conftest.err conftest.$ac_objext \
14710       conftest$ac_exeext conftest.$ac_ext
14711 fi
14712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14714 if test `eval echo '${'$as_ac_var'}'` = yes; then
14715   cat >>confdefs.h <<_ACEOF
14716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14717 _ACEOF
14718
14719 fi
14720 done
14721
14722     fi
14723   fi
14724
14725
14726
14727   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
14728 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
14729   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
14730     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
14731   echo $ECHO_N "(cached) $ECHO_C" >&6
14732 else
14733
14734
14735
14736       ac_ext=cc
14737 ac_cpp='$CXXCPP $CPPFLAGS'
14738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14741
14742       cat >conftest.$ac_ext <<_ACEOF
14743 /* confdefs.h.  */
14744 _ACEOF
14745 cat confdefs.h >>conftest.$ac_ext
14746 cat >>conftest.$ac_ext <<_ACEOF
14747 /* end confdefs.h.  */
14748 #include <math.h>
14749 int
14750 main ()
14751 {
14752  ldexpf(0, 0);
14753   ;
14754   return 0;
14755 }
14756 _ACEOF
14757 rm -f conftest.$ac_objext
14758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14759   (eval $ac_compile) 2>conftest.er1
14760   ac_status=$?
14761   grep -v '^ *+' conftest.er1 >conftest.err
14762   rm -f conftest.er1
14763   cat conftest.err >&5
14764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14765   (exit $ac_status); } &&
14766          { ac_try='test -z "$ac_cxx_werror_flag"
14767                          || test ! -s conftest.err'
14768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14769   (eval $ac_try) 2>&5
14770   ac_status=$?
14771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14772   (exit $ac_status); }; } &&
14773          { ac_try='test -s conftest.$ac_objext'
14774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14775   (eval $ac_try) 2>&5
14776   ac_status=$?
14777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14778   (exit $ac_status); }; }; then
14779   glibcxx_cv_func_ldexpf_use=yes
14780 else
14781   echo "$as_me: failed program was:" >&5
14782 sed 's/^/| /' conftest.$ac_ext >&5
14783
14784 glibcxx_cv_func_ldexpf_use=no
14785 fi
14786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14787       ac_ext=c
14788 ac_cpp='$CPP $CPPFLAGS'
14789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14792
14793
14794 fi
14795
14796   fi
14797   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
14798 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
14799
14800   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
14801
14802 for ac_func in ldexpf
14803 do
14804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14805 echo "$as_me:$LINENO: checking for $ac_func" >&5
14806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14807 if eval "test \"\${$as_ac_var+set}\" = set"; then
14808   echo $ECHO_N "(cached) $ECHO_C" >&6
14809 else
14810   if test x$gcc_no_link = xyes; then
14811   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14813    { (exit 1); exit 1; }; }
14814 fi
14815 cat >conftest.$ac_ext <<_ACEOF
14816 /* confdefs.h.  */
14817 _ACEOF
14818 cat confdefs.h >>conftest.$ac_ext
14819 cat >>conftest.$ac_ext <<_ACEOF
14820 /* end confdefs.h.  */
14821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14822    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14823 #define $ac_func innocuous_$ac_func
14824
14825 /* System header to define __stub macros and hopefully few prototypes,
14826     which can conflict with char $ac_func (); below.
14827     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14828     <limits.h> exists even on freestanding compilers.  */
14829
14830 #ifdef __STDC__
14831 # include <limits.h>
14832 #else
14833 # include <assert.h>
14834 #endif
14835
14836 #undef $ac_func
14837
14838 /* Override any gcc2 internal prototype to avoid an error.  */
14839 #ifdef __cplusplus
14840 extern "C"
14841 {
14842 #endif
14843 /* We use char because int might match the return type of a gcc2
14844    builtin and then its argument prototype would still apply.  */
14845 char $ac_func ();
14846 /* The GNU C library defines this for functions which it implements
14847     to always fail with ENOSYS.  Some functions are actually named
14848     something starting with __ and the normal name is an alias.  */
14849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14850 choke me
14851 #else
14852 char (*f) () = $ac_func;
14853 #endif
14854 #ifdef __cplusplus
14855 }
14856 #endif
14857
14858 int
14859 main ()
14860 {
14861 return f != $ac_func;
14862   ;
14863   return 0;
14864 }
14865 _ACEOF
14866 rm -f conftest.$ac_objext conftest$ac_exeext
14867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14868   (eval $ac_link) 2>conftest.er1
14869   ac_status=$?
14870   grep -v '^ *+' conftest.er1 >conftest.err
14871   rm -f conftest.er1
14872   cat conftest.err >&5
14873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14874   (exit $ac_status); } &&
14875          { ac_try='test -z "$ac_c_werror_flag"
14876                          || test ! -s conftest.err'
14877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14878   (eval $ac_try) 2>&5
14879   ac_status=$?
14880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14881   (exit $ac_status); }; } &&
14882          { ac_try='test -s conftest$ac_exeext'
14883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14884   (eval $ac_try) 2>&5
14885   ac_status=$?
14886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14887   (exit $ac_status); }; }; then
14888   eval "$as_ac_var=yes"
14889 else
14890   echo "$as_me: failed program was:" >&5
14891 sed 's/^/| /' conftest.$ac_ext >&5
14892
14893 eval "$as_ac_var=no"
14894 fi
14895 rm -f conftest.err conftest.$ac_objext \
14896       conftest$ac_exeext conftest.$ac_ext
14897 fi
14898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14899 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14900 if test `eval echo '${'$as_ac_var'}'` = yes; then
14901   cat >>confdefs.h <<_ACEOF
14902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14903 _ACEOF
14904
14905 fi
14906 done
14907
14908   else
14909
14910   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
14911 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
14912   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
14913     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
14914   echo $ECHO_N "(cached) $ECHO_C" >&6
14915 else
14916
14917
14918
14919       ac_ext=cc
14920 ac_cpp='$CXXCPP $CPPFLAGS'
14921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14924
14925       cat >conftest.$ac_ext <<_ACEOF
14926 /* confdefs.h.  */
14927 _ACEOF
14928 cat confdefs.h >>conftest.$ac_ext
14929 cat >>conftest.$ac_ext <<_ACEOF
14930 /* end confdefs.h.  */
14931 #include <math.h>
14932 int
14933 main ()
14934 {
14935  _ldexpf(0, 0);
14936   ;
14937   return 0;
14938 }
14939 _ACEOF
14940 rm -f conftest.$ac_objext
14941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14942   (eval $ac_compile) 2>conftest.er1
14943   ac_status=$?
14944   grep -v '^ *+' conftest.er1 >conftest.err
14945   rm -f conftest.er1
14946   cat conftest.err >&5
14947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948   (exit $ac_status); } &&
14949          { ac_try='test -z "$ac_cxx_werror_flag"
14950                          || test ! -s conftest.err'
14951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14952   (eval $ac_try) 2>&5
14953   ac_status=$?
14954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14955   (exit $ac_status); }; } &&
14956          { ac_try='test -s conftest.$ac_objext'
14957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14958   (eval $ac_try) 2>&5
14959   ac_status=$?
14960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14961   (exit $ac_status); }; }; then
14962   glibcxx_cv_func__ldexpf_use=yes
14963 else
14964   echo "$as_me: failed program was:" >&5
14965 sed 's/^/| /' conftest.$ac_ext >&5
14966
14967 glibcxx_cv_func__ldexpf_use=no
14968 fi
14969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14970       ac_ext=c
14971 ac_cpp='$CPP $CPPFLAGS'
14972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14975
14976
14977 fi
14978
14979   fi
14980   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
14981 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
14982
14983     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
14984
14985 for ac_func in _ldexpf
14986 do
14987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14988 echo "$as_me:$LINENO: checking for $ac_func" >&5
14989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14990 if eval "test \"\${$as_ac_var+set}\" = set"; then
14991   echo $ECHO_N "(cached) $ECHO_C" >&6
14992 else
14993   if test x$gcc_no_link = xyes; then
14994   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14996    { (exit 1); exit 1; }; }
14997 fi
14998 cat >conftest.$ac_ext <<_ACEOF
14999 /* confdefs.h.  */
15000 _ACEOF
15001 cat confdefs.h >>conftest.$ac_ext
15002 cat >>conftest.$ac_ext <<_ACEOF
15003 /* end confdefs.h.  */
15004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15005    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15006 #define $ac_func innocuous_$ac_func
15007
15008 /* System header to define __stub macros and hopefully few prototypes,
15009     which can conflict with char $ac_func (); below.
15010     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15011     <limits.h> exists even on freestanding compilers.  */
15012
15013 #ifdef __STDC__
15014 # include <limits.h>
15015 #else
15016 # include <assert.h>
15017 #endif
15018
15019 #undef $ac_func
15020
15021 /* Override any gcc2 internal prototype to avoid an error.  */
15022 #ifdef __cplusplus
15023 extern "C"
15024 {
15025 #endif
15026 /* We use char because int might match the return type of a gcc2
15027    builtin and then its argument prototype would still apply.  */
15028 char $ac_func ();
15029 /* The GNU C library defines this for functions which it implements
15030     to always fail with ENOSYS.  Some functions are actually named
15031     something starting with __ and the normal name is an alias.  */
15032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15033 choke me
15034 #else
15035 char (*f) () = $ac_func;
15036 #endif
15037 #ifdef __cplusplus
15038 }
15039 #endif
15040
15041 int
15042 main ()
15043 {
15044 return f != $ac_func;
15045   ;
15046   return 0;
15047 }
15048 _ACEOF
15049 rm -f conftest.$ac_objext conftest$ac_exeext
15050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15051   (eval $ac_link) 2>conftest.er1
15052   ac_status=$?
15053   grep -v '^ *+' conftest.er1 >conftest.err
15054   rm -f conftest.er1
15055   cat conftest.err >&5
15056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057   (exit $ac_status); } &&
15058          { ac_try='test -z "$ac_c_werror_flag"
15059                          || test ! -s conftest.err'
15060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15061   (eval $ac_try) 2>&5
15062   ac_status=$?
15063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15064   (exit $ac_status); }; } &&
15065          { ac_try='test -s conftest$ac_exeext'
15066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15067   (eval $ac_try) 2>&5
15068   ac_status=$?
15069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15070   (exit $ac_status); }; }; then
15071   eval "$as_ac_var=yes"
15072 else
15073   echo "$as_me: failed program was:" >&5
15074 sed 's/^/| /' conftest.$ac_ext >&5
15075
15076 eval "$as_ac_var=no"
15077 fi
15078 rm -f conftest.err conftest.$ac_objext \
15079       conftest$ac_exeext conftest.$ac_ext
15080 fi
15081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15083 if test `eval echo '${'$as_ac_var'}'` = yes; then
15084   cat >>confdefs.h <<_ACEOF
15085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15086 _ACEOF
15087
15088 fi
15089 done
15090
15091     fi
15092   fi
15093
15094
15095
15096   echo "$as_me:$LINENO: checking for logf declaration" >&5
15097 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15098   if test x${glibcxx_cv_func_logf_use+set} != xset; then
15099     if test "${glibcxx_cv_func_logf_use+set}" = set; then
15100   echo $ECHO_N "(cached) $ECHO_C" >&6
15101 else
15102
15103
15104
15105       ac_ext=cc
15106 ac_cpp='$CXXCPP $CPPFLAGS'
15107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15110
15111       cat >conftest.$ac_ext <<_ACEOF
15112 /* confdefs.h.  */
15113 _ACEOF
15114 cat confdefs.h >>conftest.$ac_ext
15115 cat >>conftest.$ac_ext <<_ACEOF
15116 /* end confdefs.h.  */
15117 #include <math.h>
15118                       #ifdef HAVE_IEEEFP_H
15119                       #include <ieeefp.h>
15120                       #endif
15121
15122 int
15123 main ()
15124 {
15125  logf(0);
15126   ;
15127   return 0;
15128 }
15129 _ACEOF
15130 rm -f conftest.$ac_objext
15131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15132   (eval $ac_compile) 2>conftest.er1
15133   ac_status=$?
15134   grep -v '^ *+' conftest.er1 >conftest.err
15135   rm -f conftest.er1
15136   cat conftest.err >&5
15137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15138   (exit $ac_status); } &&
15139          { ac_try='test -z "$ac_cxx_werror_flag"
15140                          || test ! -s conftest.err'
15141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15142   (eval $ac_try) 2>&5
15143   ac_status=$?
15144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15145   (exit $ac_status); }; } &&
15146          { ac_try='test -s conftest.$ac_objext'
15147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15148   (eval $ac_try) 2>&5
15149   ac_status=$?
15150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15151   (exit $ac_status); }; }; then
15152   glibcxx_cv_func_logf_use=yes
15153 else
15154   echo "$as_me: failed program was:" >&5
15155 sed 's/^/| /' conftest.$ac_ext >&5
15156
15157 glibcxx_cv_func_logf_use=no
15158 fi
15159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15160       ac_ext=c
15161 ac_cpp='$CPP $CPPFLAGS'
15162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15165
15166
15167 fi
15168
15169   fi
15170   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15171 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15172
15173   if test x$glibcxx_cv_func_logf_use = x"yes"; then
15174
15175 for ac_func in logf
15176 do
15177 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15178 echo "$as_me:$LINENO: checking for $ac_func" >&5
15179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15180 if eval "test \"\${$as_ac_var+set}\" = set"; then
15181   echo $ECHO_N "(cached) $ECHO_C" >&6
15182 else
15183   if test x$gcc_no_link = xyes; then
15184   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15186    { (exit 1); exit 1; }; }
15187 fi
15188 cat >conftest.$ac_ext <<_ACEOF
15189 /* confdefs.h.  */
15190 _ACEOF
15191 cat confdefs.h >>conftest.$ac_ext
15192 cat >>conftest.$ac_ext <<_ACEOF
15193 /* end confdefs.h.  */
15194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15195    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15196 #define $ac_func innocuous_$ac_func
15197
15198 /* System header to define __stub macros and hopefully few prototypes,
15199     which can conflict with char $ac_func (); below.
15200     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15201     <limits.h> exists even on freestanding compilers.  */
15202
15203 #ifdef __STDC__
15204 # include <limits.h>
15205 #else
15206 # include <assert.h>
15207 #endif
15208
15209 #undef $ac_func
15210
15211 /* Override any gcc2 internal prototype to avoid an error.  */
15212 #ifdef __cplusplus
15213 extern "C"
15214 {
15215 #endif
15216 /* We use char because int might match the return type of a gcc2
15217    builtin and then its argument prototype would still apply.  */
15218 char $ac_func ();
15219 /* The GNU C library defines this for functions which it implements
15220     to always fail with ENOSYS.  Some functions are actually named
15221     something starting with __ and the normal name is an alias.  */
15222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15223 choke me
15224 #else
15225 char (*f) () = $ac_func;
15226 #endif
15227 #ifdef __cplusplus
15228 }
15229 #endif
15230
15231 int
15232 main ()
15233 {
15234 return f != $ac_func;
15235   ;
15236   return 0;
15237 }
15238 _ACEOF
15239 rm -f conftest.$ac_objext conftest$ac_exeext
15240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15241   (eval $ac_link) 2>conftest.er1
15242   ac_status=$?
15243   grep -v '^ *+' conftest.er1 >conftest.err
15244   rm -f conftest.er1
15245   cat conftest.err >&5
15246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15247   (exit $ac_status); } &&
15248          { ac_try='test -z "$ac_c_werror_flag"
15249                          || test ! -s conftest.err'
15250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15251   (eval $ac_try) 2>&5
15252   ac_status=$?
15253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15254   (exit $ac_status); }; } &&
15255          { ac_try='test -s conftest$ac_exeext'
15256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15257   (eval $ac_try) 2>&5
15258   ac_status=$?
15259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15260   (exit $ac_status); }; }; then
15261   eval "$as_ac_var=yes"
15262 else
15263   echo "$as_me: failed program was:" >&5
15264 sed 's/^/| /' conftest.$ac_ext >&5
15265
15266 eval "$as_ac_var=no"
15267 fi
15268 rm -f conftest.err conftest.$ac_objext \
15269       conftest$ac_exeext conftest.$ac_ext
15270 fi
15271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15273 if test `eval echo '${'$as_ac_var'}'` = yes; then
15274   cat >>confdefs.h <<_ACEOF
15275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15276 _ACEOF
15277
15278 fi
15279 done
15280
15281   else
15282
15283   echo "$as_me:$LINENO: checking for _logf declaration" >&5
15284 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15285   if test x${glibcxx_cv_func__logf_use+set} != xset; then
15286     if test "${glibcxx_cv_func__logf_use+set}" = set; then
15287   echo $ECHO_N "(cached) $ECHO_C" >&6
15288 else
15289
15290
15291
15292       ac_ext=cc
15293 ac_cpp='$CXXCPP $CPPFLAGS'
15294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15297
15298       cat >conftest.$ac_ext <<_ACEOF
15299 /* confdefs.h.  */
15300 _ACEOF
15301 cat confdefs.h >>conftest.$ac_ext
15302 cat >>conftest.$ac_ext <<_ACEOF
15303 /* end confdefs.h.  */
15304 #include <math.h>
15305                       #ifdef HAVE_IEEEFP_H
15306                       #include <ieeefp.h>
15307                       #endif
15308
15309 int
15310 main ()
15311 {
15312  _logf(0);
15313   ;
15314   return 0;
15315 }
15316 _ACEOF
15317 rm -f conftest.$ac_objext
15318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15319   (eval $ac_compile) 2>conftest.er1
15320   ac_status=$?
15321   grep -v '^ *+' conftest.er1 >conftest.err
15322   rm -f conftest.er1
15323   cat conftest.err >&5
15324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15325   (exit $ac_status); } &&
15326          { ac_try='test -z "$ac_cxx_werror_flag"
15327                          || test ! -s conftest.err'
15328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15329   (eval $ac_try) 2>&5
15330   ac_status=$?
15331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15332   (exit $ac_status); }; } &&
15333          { ac_try='test -s conftest.$ac_objext'
15334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15335   (eval $ac_try) 2>&5
15336   ac_status=$?
15337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15338   (exit $ac_status); }; }; then
15339   glibcxx_cv_func__logf_use=yes
15340 else
15341   echo "$as_me: failed program was:" >&5
15342 sed 's/^/| /' conftest.$ac_ext >&5
15343
15344 glibcxx_cv_func__logf_use=no
15345 fi
15346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15347       ac_ext=c
15348 ac_cpp='$CPP $CPPFLAGS'
15349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15352
15353
15354 fi
15355
15356   fi
15357   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15358 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15359
15360     if test x$glibcxx_cv_func__logf_use = x"yes"; then
15361
15362 for ac_func in _logf
15363 do
15364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15365 echo "$as_me:$LINENO: checking for $ac_func" >&5
15366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15367 if eval "test \"\${$as_ac_var+set}\" = set"; then
15368   echo $ECHO_N "(cached) $ECHO_C" >&6
15369 else
15370   if test x$gcc_no_link = xyes; then
15371   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15373    { (exit 1); exit 1; }; }
15374 fi
15375 cat >conftest.$ac_ext <<_ACEOF
15376 /* confdefs.h.  */
15377 _ACEOF
15378 cat confdefs.h >>conftest.$ac_ext
15379 cat >>conftest.$ac_ext <<_ACEOF
15380 /* end confdefs.h.  */
15381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15382    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15383 #define $ac_func innocuous_$ac_func
15384
15385 /* System header to define __stub macros and hopefully few prototypes,
15386     which can conflict with char $ac_func (); below.
15387     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15388     <limits.h> exists even on freestanding compilers.  */
15389
15390 #ifdef __STDC__
15391 # include <limits.h>
15392 #else
15393 # include <assert.h>
15394 #endif
15395
15396 #undef $ac_func
15397
15398 /* Override any gcc2 internal prototype to avoid an error.  */
15399 #ifdef __cplusplus
15400 extern "C"
15401 {
15402 #endif
15403 /* We use char because int might match the return type of a gcc2
15404    builtin and then its argument prototype would still apply.  */
15405 char $ac_func ();
15406 /* The GNU C library defines this for functions which it implements
15407     to always fail with ENOSYS.  Some functions are actually named
15408     something starting with __ and the normal name is an alias.  */
15409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15410 choke me
15411 #else
15412 char (*f) () = $ac_func;
15413 #endif
15414 #ifdef __cplusplus
15415 }
15416 #endif
15417
15418 int
15419 main ()
15420 {
15421 return f != $ac_func;
15422   ;
15423   return 0;
15424 }
15425 _ACEOF
15426 rm -f conftest.$ac_objext conftest$ac_exeext
15427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15428   (eval $ac_link) 2>conftest.er1
15429   ac_status=$?
15430   grep -v '^ *+' conftest.er1 >conftest.err
15431   rm -f conftest.er1
15432   cat conftest.err >&5
15433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15434   (exit $ac_status); } &&
15435          { ac_try='test -z "$ac_c_werror_flag"
15436                          || test ! -s conftest.err'
15437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15438   (eval $ac_try) 2>&5
15439   ac_status=$?
15440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15441   (exit $ac_status); }; } &&
15442          { ac_try='test -s conftest$ac_exeext'
15443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15444   (eval $ac_try) 2>&5
15445   ac_status=$?
15446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15447   (exit $ac_status); }; }; then
15448   eval "$as_ac_var=yes"
15449 else
15450   echo "$as_me: failed program was:" >&5
15451 sed 's/^/| /' conftest.$ac_ext >&5
15452
15453 eval "$as_ac_var=no"
15454 fi
15455 rm -f conftest.err conftest.$ac_objext \
15456       conftest$ac_exeext conftest.$ac_ext
15457 fi
15458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15460 if test `eval echo '${'$as_ac_var'}'` = yes; then
15461   cat >>confdefs.h <<_ACEOF
15462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15463 _ACEOF
15464
15465 fi
15466 done
15467
15468     fi
15469   fi
15470
15471
15472
15473   echo "$as_me:$LINENO: checking for log10f declaration" >&5
15474 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15475   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15476     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15477   echo $ECHO_N "(cached) $ECHO_C" >&6
15478 else
15479
15480
15481
15482       ac_ext=cc
15483 ac_cpp='$CXXCPP $CPPFLAGS'
15484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15487
15488       cat >conftest.$ac_ext <<_ACEOF
15489 /* confdefs.h.  */
15490 _ACEOF
15491 cat confdefs.h >>conftest.$ac_ext
15492 cat >>conftest.$ac_ext <<_ACEOF
15493 /* end confdefs.h.  */
15494 #include <math.h>
15495                       #ifdef HAVE_IEEEFP_H
15496                       #include <ieeefp.h>
15497                       #endif
15498
15499 int
15500 main ()
15501 {
15502  log10f(0);
15503   ;
15504   return 0;
15505 }
15506 _ACEOF
15507 rm -f conftest.$ac_objext
15508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15509   (eval $ac_compile) 2>conftest.er1
15510   ac_status=$?
15511   grep -v '^ *+' conftest.er1 >conftest.err
15512   rm -f conftest.er1
15513   cat conftest.err >&5
15514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15515   (exit $ac_status); } &&
15516          { ac_try='test -z "$ac_cxx_werror_flag"
15517                          || test ! -s conftest.err'
15518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15519   (eval $ac_try) 2>&5
15520   ac_status=$?
15521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15522   (exit $ac_status); }; } &&
15523          { ac_try='test -s conftest.$ac_objext'
15524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15525   (eval $ac_try) 2>&5
15526   ac_status=$?
15527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15528   (exit $ac_status); }; }; then
15529   glibcxx_cv_func_log10f_use=yes
15530 else
15531   echo "$as_me: failed program was:" >&5
15532 sed 's/^/| /' conftest.$ac_ext >&5
15533
15534 glibcxx_cv_func_log10f_use=no
15535 fi
15536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15537       ac_ext=c
15538 ac_cpp='$CPP $CPPFLAGS'
15539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15542
15543
15544 fi
15545
15546   fi
15547   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
15548 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
15549
15550   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
15551
15552 for ac_func in log10f
15553 do
15554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15555 echo "$as_me:$LINENO: checking for $ac_func" >&5
15556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15557 if eval "test \"\${$as_ac_var+set}\" = set"; then
15558   echo $ECHO_N "(cached) $ECHO_C" >&6
15559 else
15560   if test x$gcc_no_link = xyes; then
15561   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15563    { (exit 1); exit 1; }; }
15564 fi
15565 cat >conftest.$ac_ext <<_ACEOF
15566 /* confdefs.h.  */
15567 _ACEOF
15568 cat confdefs.h >>conftest.$ac_ext
15569 cat >>conftest.$ac_ext <<_ACEOF
15570 /* end confdefs.h.  */
15571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15572    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15573 #define $ac_func innocuous_$ac_func
15574
15575 /* System header to define __stub macros and hopefully few prototypes,
15576     which can conflict with char $ac_func (); below.
15577     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15578     <limits.h> exists even on freestanding compilers.  */
15579
15580 #ifdef __STDC__
15581 # include <limits.h>
15582 #else
15583 # include <assert.h>
15584 #endif
15585
15586 #undef $ac_func
15587
15588 /* Override any gcc2 internal prototype to avoid an error.  */
15589 #ifdef __cplusplus
15590 extern "C"
15591 {
15592 #endif
15593 /* We use char because int might match the return type of a gcc2
15594    builtin and then its argument prototype would still apply.  */
15595 char $ac_func ();
15596 /* The GNU C library defines this for functions which it implements
15597     to always fail with ENOSYS.  Some functions are actually named
15598     something starting with __ and the normal name is an alias.  */
15599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15600 choke me
15601 #else
15602 char (*f) () = $ac_func;
15603 #endif
15604 #ifdef __cplusplus
15605 }
15606 #endif
15607
15608 int
15609 main ()
15610 {
15611 return f != $ac_func;
15612   ;
15613   return 0;
15614 }
15615 _ACEOF
15616 rm -f conftest.$ac_objext conftest$ac_exeext
15617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15618   (eval $ac_link) 2>conftest.er1
15619   ac_status=$?
15620   grep -v '^ *+' conftest.er1 >conftest.err
15621   rm -f conftest.er1
15622   cat conftest.err >&5
15623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15624   (exit $ac_status); } &&
15625          { ac_try='test -z "$ac_c_werror_flag"
15626                          || test ! -s conftest.err'
15627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15628   (eval $ac_try) 2>&5
15629   ac_status=$?
15630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631   (exit $ac_status); }; } &&
15632          { ac_try='test -s conftest$ac_exeext'
15633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15634   (eval $ac_try) 2>&5
15635   ac_status=$?
15636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15637   (exit $ac_status); }; }; then
15638   eval "$as_ac_var=yes"
15639 else
15640   echo "$as_me: failed program was:" >&5
15641 sed 's/^/| /' conftest.$ac_ext >&5
15642
15643 eval "$as_ac_var=no"
15644 fi
15645 rm -f conftest.err conftest.$ac_objext \
15646       conftest$ac_exeext conftest.$ac_ext
15647 fi
15648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15650 if test `eval echo '${'$as_ac_var'}'` = yes; then
15651   cat >>confdefs.h <<_ACEOF
15652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15653 _ACEOF
15654
15655 fi
15656 done
15657
15658   else
15659
15660   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
15661 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
15662   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
15663     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
15664   echo $ECHO_N "(cached) $ECHO_C" >&6
15665 else
15666
15667
15668
15669       ac_ext=cc
15670 ac_cpp='$CXXCPP $CPPFLAGS'
15671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15674
15675       cat >conftest.$ac_ext <<_ACEOF
15676 /* confdefs.h.  */
15677 _ACEOF
15678 cat confdefs.h >>conftest.$ac_ext
15679 cat >>conftest.$ac_ext <<_ACEOF
15680 /* end confdefs.h.  */
15681 #include <math.h>
15682                       #ifdef HAVE_IEEEFP_H
15683                       #include <ieeefp.h>
15684                       #endif
15685
15686 int
15687 main ()
15688 {
15689  _log10f(0);
15690   ;
15691   return 0;
15692 }
15693 _ACEOF
15694 rm -f conftest.$ac_objext
15695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15696   (eval $ac_compile) 2>conftest.er1
15697   ac_status=$?
15698   grep -v '^ *+' conftest.er1 >conftest.err
15699   rm -f conftest.er1
15700   cat conftest.err >&5
15701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15702   (exit $ac_status); } &&
15703          { ac_try='test -z "$ac_cxx_werror_flag"
15704                          || test ! -s conftest.err'
15705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15706   (eval $ac_try) 2>&5
15707   ac_status=$?
15708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15709   (exit $ac_status); }; } &&
15710          { ac_try='test -s conftest.$ac_objext'
15711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15712   (eval $ac_try) 2>&5
15713   ac_status=$?
15714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15715   (exit $ac_status); }; }; then
15716   glibcxx_cv_func__log10f_use=yes
15717 else
15718   echo "$as_me: failed program was:" >&5
15719 sed 's/^/| /' conftest.$ac_ext >&5
15720
15721 glibcxx_cv_func__log10f_use=no
15722 fi
15723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15724       ac_ext=c
15725 ac_cpp='$CPP $CPPFLAGS'
15726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15729
15730
15731 fi
15732
15733   fi
15734   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
15735 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
15736
15737     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
15738
15739 for ac_func in _log10f
15740 do
15741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15742 echo "$as_me:$LINENO: checking for $ac_func" >&5
15743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15744 if eval "test \"\${$as_ac_var+set}\" = set"; then
15745   echo $ECHO_N "(cached) $ECHO_C" >&6
15746 else
15747   if test x$gcc_no_link = xyes; then
15748   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15750    { (exit 1); exit 1; }; }
15751 fi
15752 cat >conftest.$ac_ext <<_ACEOF
15753 /* confdefs.h.  */
15754 _ACEOF
15755 cat confdefs.h >>conftest.$ac_ext
15756 cat >>conftest.$ac_ext <<_ACEOF
15757 /* end confdefs.h.  */
15758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15759    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15760 #define $ac_func innocuous_$ac_func
15761
15762 /* System header to define __stub macros and hopefully few prototypes,
15763     which can conflict with char $ac_func (); below.
15764     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15765     <limits.h> exists even on freestanding compilers.  */
15766
15767 #ifdef __STDC__
15768 # include <limits.h>
15769 #else
15770 # include <assert.h>
15771 #endif
15772
15773 #undef $ac_func
15774
15775 /* Override any gcc2 internal prototype to avoid an error.  */
15776 #ifdef __cplusplus
15777 extern "C"
15778 {
15779 #endif
15780 /* We use char because int might match the return type of a gcc2
15781    builtin and then its argument prototype would still apply.  */
15782 char $ac_func ();
15783 /* The GNU C library defines this for functions which it implements
15784     to always fail with ENOSYS.  Some functions are actually named
15785     something starting with __ and the normal name is an alias.  */
15786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15787 choke me
15788 #else
15789 char (*f) () = $ac_func;
15790 #endif
15791 #ifdef __cplusplus
15792 }
15793 #endif
15794
15795 int
15796 main ()
15797 {
15798 return f != $ac_func;
15799   ;
15800   return 0;
15801 }
15802 _ACEOF
15803 rm -f conftest.$ac_objext conftest$ac_exeext
15804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15805   (eval $ac_link) 2>conftest.er1
15806   ac_status=$?
15807   grep -v '^ *+' conftest.er1 >conftest.err
15808   rm -f conftest.er1
15809   cat conftest.err >&5
15810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15811   (exit $ac_status); } &&
15812          { ac_try='test -z "$ac_c_werror_flag"
15813                          || test ! -s conftest.err'
15814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15815   (eval $ac_try) 2>&5
15816   ac_status=$?
15817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15818   (exit $ac_status); }; } &&
15819          { ac_try='test -s conftest$ac_exeext'
15820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15821   (eval $ac_try) 2>&5
15822   ac_status=$?
15823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15824   (exit $ac_status); }; }; then
15825   eval "$as_ac_var=yes"
15826 else
15827   echo "$as_me: failed program was:" >&5
15828 sed 's/^/| /' conftest.$ac_ext >&5
15829
15830 eval "$as_ac_var=no"
15831 fi
15832 rm -f conftest.err conftest.$ac_objext \
15833       conftest$ac_exeext conftest.$ac_ext
15834 fi
15835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15837 if test `eval echo '${'$as_ac_var'}'` = yes; then
15838   cat >>confdefs.h <<_ACEOF
15839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15840 _ACEOF
15841
15842 fi
15843 done
15844
15845     fi
15846   fi
15847
15848
15849
15850   echo "$as_me:$LINENO: checking for modff declaration" >&5
15851 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
15852   if test x${glibcxx_cv_func_modff_use+set} != xset; then
15853     if test "${glibcxx_cv_func_modff_use+set}" = set; then
15854   echo $ECHO_N "(cached) $ECHO_C" >&6
15855 else
15856
15857
15858
15859       ac_ext=cc
15860 ac_cpp='$CXXCPP $CPPFLAGS'
15861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15864
15865       cat >conftest.$ac_ext <<_ACEOF
15866 /* confdefs.h.  */
15867 _ACEOF
15868 cat confdefs.h >>conftest.$ac_ext
15869 cat >>conftest.$ac_ext <<_ACEOF
15870 /* end confdefs.h.  */
15871 #include <math.h>
15872 int
15873 main ()
15874 {
15875  modff(0, 0);
15876   ;
15877   return 0;
15878 }
15879 _ACEOF
15880 rm -f conftest.$ac_objext
15881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15882   (eval $ac_compile) 2>conftest.er1
15883   ac_status=$?
15884   grep -v '^ *+' conftest.er1 >conftest.err
15885   rm -f conftest.er1
15886   cat conftest.err >&5
15887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888   (exit $ac_status); } &&
15889          { ac_try='test -z "$ac_cxx_werror_flag"
15890                          || test ! -s conftest.err'
15891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15892   (eval $ac_try) 2>&5
15893   ac_status=$?
15894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15895   (exit $ac_status); }; } &&
15896          { ac_try='test -s conftest.$ac_objext'
15897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15898   (eval $ac_try) 2>&5
15899   ac_status=$?
15900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15901   (exit $ac_status); }; }; then
15902   glibcxx_cv_func_modff_use=yes
15903 else
15904   echo "$as_me: failed program was:" >&5
15905 sed 's/^/| /' conftest.$ac_ext >&5
15906
15907 glibcxx_cv_func_modff_use=no
15908 fi
15909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15910       ac_ext=c
15911 ac_cpp='$CPP $CPPFLAGS'
15912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15915
15916
15917 fi
15918
15919   fi
15920   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
15921 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
15922
15923   if test x$glibcxx_cv_func_modff_use = x"yes"; then
15924
15925 for ac_func in modff
15926 do
15927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15928 echo "$as_me:$LINENO: checking for $ac_func" >&5
15929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15930 if eval "test \"\${$as_ac_var+set}\" = set"; then
15931   echo $ECHO_N "(cached) $ECHO_C" >&6
15932 else
15933   if test x$gcc_no_link = xyes; then
15934   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15936    { (exit 1); exit 1; }; }
15937 fi
15938 cat >conftest.$ac_ext <<_ACEOF
15939 /* confdefs.h.  */
15940 _ACEOF
15941 cat confdefs.h >>conftest.$ac_ext
15942 cat >>conftest.$ac_ext <<_ACEOF
15943 /* end confdefs.h.  */
15944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15945    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15946 #define $ac_func innocuous_$ac_func
15947
15948 /* System header to define __stub macros and hopefully few prototypes,
15949     which can conflict with char $ac_func (); below.
15950     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15951     <limits.h> exists even on freestanding compilers.  */
15952
15953 #ifdef __STDC__
15954 # include <limits.h>
15955 #else
15956 # include <assert.h>
15957 #endif
15958
15959 #undef $ac_func
15960
15961 /* Override any gcc2 internal prototype to avoid an error.  */
15962 #ifdef __cplusplus
15963 extern "C"
15964 {
15965 #endif
15966 /* We use char because int might match the return type of a gcc2
15967    builtin and then its argument prototype would still apply.  */
15968 char $ac_func ();
15969 /* The GNU C library defines this for functions which it implements
15970     to always fail with ENOSYS.  Some functions are actually named
15971     something starting with __ and the normal name is an alias.  */
15972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15973 choke me
15974 #else
15975 char (*f) () = $ac_func;
15976 #endif
15977 #ifdef __cplusplus
15978 }
15979 #endif
15980
15981 int
15982 main ()
15983 {
15984 return f != $ac_func;
15985   ;
15986   return 0;
15987 }
15988 _ACEOF
15989 rm -f conftest.$ac_objext conftest$ac_exeext
15990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15991   (eval $ac_link) 2>conftest.er1
15992   ac_status=$?
15993   grep -v '^ *+' conftest.er1 >conftest.err
15994   rm -f conftest.er1
15995   cat conftest.err >&5
15996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15997   (exit $ac_status); } &&
15998          { ac_try='test -z "$ac_c_werror_flag"
15999                          || test ! -s conftest.err'
16000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16001   (eval $ac_try) 2>&5
16002   ac_status=$?
16003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16004   (exit $ac_status); }; } &&
16005          { ac_try='test -s conftest$ac_exeext'
16006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16007   (eval $ac_try) 2>&5
16008   ac_status=$?
16009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16010   (exit $ac_status); }; }; then
16011   eval "$as_ac_var=yes"
16012 else
16013   echo "$as_me: failed program was:" >&5
16014 sed 's/^/| /' conftest.$ac_ext >&5
16015
16016 eval "$as_ac_var=no"
16017 fi
16018 rm -f conftest.err conftest.$ac_objext \
16019       conftest$ac_exeext conftest.$ac_ext
16020 fi
16021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16023 if test `eval echo '${'$as_ac_var'}'` = yes; then
16024   cat >>confdefs.h <<_ACEOF
16025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16026 _ACEOF
16027
16028 fi
16029 done
16030
16031   else
16032
16033   echo "$as_me:$LINENO: checking for _modff declaration" >&5
16034 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16035   if test x${glibcxx_cv_func__modff_use+set} != xset; then
16036     if test "${glibcxx_cv_func__modff_use+set}" = set; then
16037   echo $ECHO_N "(cached) $ECHO_C" >&6
16038 else
16039
16040
16041
16042       ac_ext=cc
16043 ac_cpp='$CXXCPP $CPPFLAGS'
16044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16047
16048       cat >conftest.$ac_ext <<_ACEOF
16049 /* confdefs.h.  */
16050 _ACEOF
16051 cat confdefs.h >>conftest.$ac_ext
16052 cat >>conftest.$ac_ext <<_ACEOF
16053 /* end confdefs.h.  */
16054 #include <math.h>
16055 int
16056 main ()
16057 {
16058  _modff(0, 0);
16059   ;
16060   return 0;
16061 }
16062 _ACEOF
16063 rm -f conftest.$ac_objext
16064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16065   (eval $ac_compile) 2>conftest.er1
16066   ac_status=$?
16067   grep -v '^ *+' conftest.er1 >conftest.err
16068   rm -f conftest.er1
16069   cat conftest.err >&5
16070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071   (exit $ac_status); } &&
16072          { ac_try='test -z "$ac_cxx_werror_flag"
16073                          || test ! -s conftest.err'
16074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16075   (eval $ac_try) 2>&5
16076   ac_status=$?
16077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16078   (exit $ac_status); }; } &&
16079          { ac_try='test -s conftest.$ac_objext'
16080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16081   (eval $ac_try) 2>&5
16082   ac_status=$?
16083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084   (exit $ac_status); }; }; then
16085   glibcxx_cv_func__modff_use=yes
16086 else
16087   echo "$as_me: failed program was:" >&5
16088 sed 's/^/| /' conftest.$ac_ext >&5
16089
16090 glibcxx_cv_func__modff_use=no
16091 fi
16092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16093       ac_ext=c
16094 ac_cpp='$CPP $CPPFLAGS'
16095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16098
16099
16100 fi
16101
16102   fi
16103   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16104 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16105
16106     if test x$glibcxx_cv_func__modff_use = x"yes"; then
16107
16108 for ac_func in _modff
16109 do
16110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16111 echo "$as_me:$LINENO: checking for $ac_func" >&5
16112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16113 if eval "test \"\${$as_ac_var+set}\" = set"; then
16114   echo $ECHO_N "(cached) $ECHO_C" >&6
16115 else
16116   if test x$gcc_no_link = xyes; then
16117   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16119    { (exit 1); exit 1; }; }
16120 fi
16121 cat >conftest.$ac_ext <<_ACEOF
16122 /* confdefs.h.  */
16123 _ACEOF
16124 cat confdefs.h >>conftest.$ac_ext
16125 cat >>conftest.$ac_ext <<_ACEOF
16126 /* end confdefs.h.  */
16127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16128    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16129 #define $ac_func innocuous_$ac_func
16130
16131 /* System header to define __stub macros and hopefully few prototypes,
16132     which can conflict with char $ac_func (); below.
16133     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16134     <limits.h> exists even on freestanding compilers.  */
16135
16136 #ifdef __STDC__
16137 # include <limits.h>
16138 #else
16139 # include <assert.h>
16140 #endif
16141
16142 #undef $ac_func
16143
16144 /* Override any gcc2 internal prototype to avoid an error.  */
16145 #ifdef __cplusplus
16146 extern "C"
16147 {
16148 #endif
16149 /* We use char because int might match the return type of a gcc2
16150    builtin and then its argument prototype would still apply.  */
16151 char $ac_func ();
16152 /* The GNU C library defines this for functions which it implements
16153     to always fail with ENOSYS.  Some functions are actually named
16154     something starting with __ and the normal name is an alias.  */
16155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16156 choke me
16157 #else
16158 char (*f) () = $ac_func;
16159 #endif
16160 #ifdef __cplusplus
16161 }
16162 #endif
16163
16164 int
16165 main ()
16166 {
16167 return f != $ac_func;
16168   ;
16169   return 0;
16170 }
16171 _ACEOF
16172 rm -f conftest.$ac_objext conftest$ac_exeext
16173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16174   (eval $ac_link) 2>conftest.er1
16175   ac_status=$?
16176   grep -v '^ *+' conftest.er1 >conftest.err
16177   rm -f conftest.er1
16178   cat conftest.err >&5
16179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180   (exit $ac_status); } &&
16181          { ac_try='test -z "$ac_c_werror_flag"
16182                          || test ! -s conftest.err'
16183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16184   (eval $ac_try) 2>&5
16185   ac_status=$?
16186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187   (exit $ac_status); }; } &&
16188          { ac_try='test -s conftest$ac_exeext'
16189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16190   (eval $ac_try) 2>&5
16191   ac_status=$?
16192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16193   (exit $ac_status); }; }; then
16194   eval "$as_ac_var=yes"
16195 else
16196   echo "$as_me: failed program was:" >&5
16197 sed 's/^/| /' conftest.$ac_ext >&5
16198
16199 eval "$as_ac_var=no"
16200 fi
16201 rm -f conftest.err conftest.$ac_objext \
16202       conftest$ac_exeext conftest.$ac_ext
16203 fi
16204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16206 if test `eval echo '${'$as_ac_var'}'` = yes; then
16207   cat >>confdefs.h <<_ACEOF
16208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16209 _ACEOF
16210
16211 fi
16212 done
16213
16214     fi
16215   fi
16216
16217
16218
16219   echo "$as_me:$LINENO: checking for powf declaration" >&5
16220 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
16221   if test x${glibcxx_cv_func_powf_use+set} != xset; then
16222     if test "${glibcxx_cv_func_powf_use+set}" = set; then
16223   echo $ECHO_N "(cached) $ECHO_C" >&6
16224 else
16225
16226
16227
16228       ac_ext=cc
16229 ac_cpp='$CXXCPP $CPPFLAGS'
16230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16233
16234       cat >conftest.$ac_ext <<_ACEOF
16235 /* confdefs.h.  */
16236 _ACEOF
16237 cat confdefs.h >>conftest.$ac_ext
16238 cat >>conftest.$ac_ext <<_ACEOF
16239 /* end confdefs.h.  */
16240 #include <math.h>
16241 int
16242 main ()
16243 {
16244  powf(0, 0);
16245   ;
16246   return 0;
16247 }
16248 _ACEOF
16249 rm -f conftest.$ac_objext
16250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16251   (eval $ac_compile) 2>conftest.er1
16252   ac_status=$?
16253   grep -v '^ *+' conftest.er1 >conftest.err
16254   rm -f conftest.er1
16255   cat conftest.err >&5
16256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257   (exit $ac_status); } &&
16258          { ac_try='test -z "$ac_cxx_werror_flag"
16259                          || test ! -s conftest.err'
16260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16261   (eval $ac_try) 2>&5
16262   ac_status=$?
16263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16264   (exit $ac_status); }; } &&
16265          { ac_try='test -s conftest.$ac_objext'
16266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16267   (eval $ac_try) 2>&5
16268   ac_status=$?
16269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16270   (exit $ac_status); }; }; then
16271   glibcxx_cv_func_powf_use=yes
16272 else
16273   echo "$as_me: failed program was:" >&5
16274 sed 's/^/| /' conftest.$ac_ext >&5
16275
16276 glibcxx_cv_func_powf_use=no
16277 fi
16278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16279       ac_ext=c
16280 ac_cpp='$CPP $CPPFLAGS'
16281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16284
16285
16286 fi
16287
16288   fi
16289   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
16290 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
16291
16292   if test x$glibcxx_cv_func_powf_use = x"yes"; then
16293
16294 for ac_func in powf
16295 do
16296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16297 echo "$as_me:$LINENO: checking for $ac_func" >&5
16298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16299 if eval "test \"\${$as_ac_var+set}\" = set"; then
16300   echo $ECHO_N "(cached) $ECHO_C" >&6
16301 else
16302   if test x$gcc_no_link = xyes; then
16303   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16305    { (exit 1); exit 1; }; }
16306 fi
16307 cat >conftest.$ac_ext <<_ACEOF
16308 /* confdefs.h.  */
16309 _ACEOF
16310 cat confdefs.h >>conftest.$ac_ext
16311 cat >>conftest.$ac_ext <<_ACEOF
16312 /* end confdefs.h.  */
16313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16314    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16315 #define $ac_func innocuous_$ac_func
16316
16317 /* System header to define __stub macros and hopefully few prototypes,
16318     which can conflict with char $ac_func (); below.
16319     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16320     <limits.h> exists even on freestanding compilers.  */
16321
16322 #ifdef __STDC__
16323 # include <limits.h>
16324 #else
16325 # include <assert.h>
16326 #endif
16327
16328 #undef $ac_func
16329
16330 /* Override any gcc2 internal prototype to avoid an error.  */
16331 #ifdef __cplusplus
16332 extern "C"
16333 {
16334 #endif
16335 /* We use char because int might match the return type of a gcc2
16336    builtin and then its argument prototype would still apply.  */
16337 char $ac_func ();
16338 /* The GNU C library defines this for functions which it implements
16339     to always fail with ENOSYS.  Some functions are actually named
16340     something starting with __ and the normal name is an alias.  */
16341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16342 choke me
16343 #else
16344 char (*f) () = $ac_func;
16345 #endif
16346 #ifdef __cplusplus
16347 }
16348 #endif
16349
16350 int
16351 main ()
16352 {
16353 return f != $ac_func;
16354   ;
16355   return 0;
16356 }
16357 _ACEOF
16358 rm -f conftest.$ac_objext conftest$ac_exeext
16359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16360   (eval $ac_link) 2>conftest.er1
16361   ac_status=$?
16362   grep -v '^ *+' conftest.er1 >conftest.err
16363   rm -f conftest.er1
16364   cat conftest.err >&5
16365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16366   (exit $ac_status); } &&
16367          { ac_try='test -z "$ac_c_werror_flag"
16368                          || test ! -s conftest.err'
16369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16370   (eval $ac_try) 2>&5
16371   ac_status=$?
16372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16373   (exit $ac_status); }; } &&
16374          { ac_try='test -s conftest$ac_exeext'
16375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16376   (eval $ac_try) 2>&5
16377   ac_status=$?
16378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16379   (exit $ac_status); }; }; then
16380   eval "$as_ac_var=yes"
16381 else
16382   echo "$as_me: failed program was:" >&5
16383 sed 's/^/| /' conftest.$ac_ext >&5
16384
16385 eval "$as_ac_var=no"
16386 fi
16387 rm -f conftest.err conftest.$ac_objext \
16388       conftest$ac_exeext conftest.$ac_ext
16389 fi
16390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16392 if test `eval echo '${'$as_ac_var'}'` = yes; then
16393   cat >>confdefs.h <<_ACEOF
16394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16395 _ACEOF
16396
16397 fi
16398 done
16399
16400   else
16401
16402   echo "$as_me:$LINENO: checking for _powf declaration" >&5
16403 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
16404   if test x${glibcxx_cv_func__powf_use+set} != xset; then
16405     if test "${glibcxx_cv_func__powf_use+set}" = set; then
16406   echo $ECHO_N "(cached) $ECHO_C" >&6
16407 else
16408
16409
16410
16411       ac_ext=cc
16412 ac_cpp='$CXXCPP $CPPFLAGS'
16413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16416
16417       cat >conftest.$ac_ext <<_ACEOF
16418 /* confdefs.h.  */
16419 _ACEOF
16420 cat confdefs.h >>conftest.$ac_ext
16421 cat >>conftest.$ac_ext <<_ACEOF
16422 /* end confdefs.h.  */
16423 #include <math.h>
16424 int
16425 main ()
16426 {
16427  _powf(0, 0);
16428   ;
16429   return 0;
16430 }
16431 _ACEOF
16432 rm -f conftest.$ac_objext
16433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16434   (eval $ac_compile) 2>conftest.er1
16435   ac_status=$?
16436   grep -v '^ *+' conftest.er1 >conftest.err
16437   rm -f conftest.er1
16438   cat conftest.err >&5
16439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440   (exit $ac_status); } &&
16441          { ac_try='test -z "$ac_cxx_werror_flag"
16442                          || test ! -s conftest.err'
16443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16444   (eval $ac_try) 2>&5
16445   ac_status=$?
16446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447   (exit $ac_status); }; } &&
16448          { ac_try='test -s conftest.$ac_objext'
16449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16450   (eval $ac_try) 2>&5
16451   ac_status=$?
16452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453   (exit $ac_status); }; }; then
16454   glibcxx_cv_func__powf_use=yes
16455 else
16456   echo "$as_me: failed program was:" >&5
16457 sed 's/^/| /' conftest.$ac_ext >&5
16458
16459 glibcxx_cv_func__powf_use=no
16460 fi
16461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16462       ac_ext=c
16463 ac_cpp='$CPP $CPPFLAGS'
16464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16467
16468
16469 fi
16470
16471   fi
16472   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
16473 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
16474
16475     if test x$glibcxx_cv_func__powf_use = x"yes"; then
16476
16477 for ac_func in _powf
16478 do
16479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16480 echo "$as_me:$LINENO: checking for $ac_func" >&5
16481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16482 if eval "test \"\${$as_ac_var+set}\" = set"; then
16483   echo $ECHO_N "(cached) $ECHO_C" >&6
16484 else
16485   if test x$gcc_no_link = xyes; then
16486   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16488    { (exit 1); exit 1; }; }
16489 fi
16490 cat >conftest.$ac_ext <<_ACEOF
16491 /* confdefs.h.  */
16492 _ACEOF
16493 cat confdefs.h >>conftest.$ac_ext
16494 cat >>conftest.$ac_ext <<_ACEOF
16495 /* end confdefs.h.  */
16496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16497    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16498 #define $ac_func innocuous_$ac_func
16499
16500 /* System header to define __stub macros and hopefully few prototypes,
16501     which can conflict with char $ac_func (); below.
16502     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16503     <limits.h> exists even on freestanding compilers.  */
16504
16505 #ifdef __STDC__
16506 # include <limits.h>
16507 #else
16508 # include <assert.h>
16509 #endif
16510
16511 #undef $ac_func
16512
16513 /* Override any gcc2 internal prototype to avoid an error.  */
16514 #ifdef __cplusplus
16515 extern "C"
16516 {
16517 #endif
16518 /* We use char because int might match the return type of a gcc2
16519    builtin and then its argument prototype would still apply.  */
16520 char $ac_func ();
16521 /* The GNU C library defines this for functions which it implements
16522     to always fail with ENOSYS.  Some functions are actually named
16523     something starting with __ and the normal name is an alias.  */
16524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16525 choke me
16526 #else
16527 char (*f) () = $ac_func;
16528 #endif
16529 #ifdef __cplusplus
16530 }
16531 #endif
16532
16533 int
16534 main ()
16535 {
16536 return f != $ac_func;
16537   ;
16538   return 0;
16539 }
16540 _ACEOF
16541 rm -f conftest.$ac_objext conftest$ac_exeext
16542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16543   (eval $ac_link) 2>conftest.er1
16544   ac_status=$?
16545   grep -v '^ *+' conftest.er1 >conftest.err
16546   rm -f conftest.er1
16547   cat conftest.err >&5
16548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549   (exit $ac_status); } &&
16550          { ac_try='test -z "$ac_c_werror_flag"
16551                          || test ! -s conftest.err'
16552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16553   (eval $ac_try) 2>&5
16554   ac_status=$?
16555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16556   (exit $ac_status); }; } &&
16557          { ac_try='test -s conftest$ac_exeext'
16558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16559   (eval $ac_try) 2>&5
16560   ac_status=$?
16561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16562   (exit $ac_status); }; }; then
16563   eval "$as_ac_var=yes"
16564 else
16565   echo "$as_me: failed program was:" >&5
16566 sed 's/^/| /' conftest.$ac_ext >&5
16567
16568 eval "$as_ac_var=no"
16569 fi
16570 rm -f conftest.err conftest.$ac_objext \
16571       conftest$ac_exeext conftest.$ac_ext
16572 fi
16573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16575 if test `eval echo '${'$as_ac_var'}'` = yes; then
16576   cat >>confdefs.h <<_ACEOF
16577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16578 _ACEOF
16579
16580 fi
16581 done
16582
16583     fi
16584   fi
16585
16586
16587
16588   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
16589 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
16590   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
16591     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
16592   echo $ECHO_N "(cached) $ECHO_C" >&6
16593 else
16594
16595
16596
16597       ac_ext=cc
16598 ac_cpp='$CXXCPP $CPPFLAGS'
16599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16602
16603       cat >conftest.$ac_ext <<_ACEOF
16604 /* confdefs.h.  */
16605 _ACEOF
16606 cat confdefs.h >>conftest.$ac_ext
16607 cat >>conftest.$ac_ext <<_ACEOF
16608 /* end confdefs.h.  */
16609 #include <math.h>
16610                       #ifdef HAVE_IEEEFP_H
16611                       #include <ieeefp.h>
16612                       #endif
16613
16614 int
16615 main ()
16616 {
16617  sqrtf(0);
16618   ;
16619   return 0;
16620 }
16621 _ACEOF
16622 rm -f conftest.$ac_objext
16623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16624   (eval $ac_compile) 2>conftest.er1
16625   ac_status=$?
16626   grep -v '^ *+' conftest.er1 >conftest.err
16627   rm -f conftest.er1
16628   cat conftest.err >&5
16629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16630   (exit $ac_status); } &&
16631          { ac_try='test -z "$ac_cxx_werror_flag"
16632                          || test ! -s conftest.err'
16633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16634   (eval $ac_try) 2>&5
16635   ac_status=$?
16636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16637   (exit $ac_status); }; } &&
16638          { ac_try='test -s conftest.$ac_objext'
16639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16640   (eval $ac_try) 2>&5
16641   ac_status=$?
16642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16643   (exit $ac_status); }; }; then
16644   glibcxx_cv_func_sqrtf_use=yes
16645 else
16646   echo "$as_me: failed program was:" >&5
16647 sed 's/^/| /' conftest.$ac_ext >&5
16648
16649 glibcxx_cv_func_sqrtf_use=no
16650 fi
16651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16652       ac_ext=c
16653 ac_cpp='$CPP $CPPFLAGS'
16654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16657
16658
16659 fi
16660
16661   fi
16662   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
16663 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
16664
16665   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
16666
16667 for ac_func in sqrtf
16668 do
16669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16670 echo "$as_me:$LINENO: checking for $ac_func" >&5
16671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16672 if eval "test \"\${$as_ac_var+set}\" = set"; then
16673   echo $ECHO_N "(cached) $ECHO_C" >&6
16674 else
16675   if test x$gcc_no_link = xyes; then
16676   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16678    { (exit 1); exit 1; }; }
16679 fi
16680 cat >conftest.$ac_ext <<_ACEOF
16681 /* confdefs.h.  */
16682 _ACEOF
16683 cat confdefs.h >>conftest.$ac_ext
16684 cat >>conftest.$ac_ext <<_ACEOF
16685 /* end confdefs.h.  */
16686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16687    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16688 #define $ac_func innocuous_$ac_func
16689
16690 /* System header to define __stub macros and hopefully few prototypes,
16691     which can conflict with char $ac_func (); below.
16692     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16693     <limits.h> exists even on freestanding compilers.  */
16694
16695 #ifdef __STDC__
16696 # include <limits.h>
16697 #else
16698 # include <assert.h>
16699 #endif
16700
16701 #undef $ac_func
16702
16703 /* Override any gcc2 internal prototype to avoid an error.  */
16704 #ifdef __cplusplus
16705 extern "C"
16706 {
16707 #endif
16708 /* We use char because int might match the return type of a gcc2
16709    builtin and then its argument prototype would still apply.  */
16710 char $ac_func ();
16711 /* The GNU C library defines this for functions which it implements
16712     to always fail with ENOSYS.  Some functions are actually named
16713     something starting with __ and the normal name is an alias.  */
16714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16715 choke me
16716 #else
16717 char (*f) () = $ac_func;
16718 #endif
16719 #ifdef __cplusplus
16720 }
16721 #endif
16722
16723 int
16724 main ()
16725 {
16726 return f != $ac_func;
16727   ;
16728   return 0;
16729 }
16730 _ACEOF
16731 rm -f conftest.$ac_objext conftest$ac_exeext
16732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16733   (eval $ac_link) 2>conftest.er1
16734   ac_status=$?
16735   grep -v '^ *+' conftest.er1 >conftest.err
16736   rm -f conftest.er1
16737   cat conftest.err >&5
16738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16739   (exit $ac_status); } &&
16740          { ac_try='test -z "$ac_c_werror_flag"
16741                          || test ! -s conftest.err'
16742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16743   (eval $ac_try) 2>&5
16744   ac_status=$?
16745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16746   (exit $ac_status); }; } &&
16747          { ac_try='test -s conftest$ac_exeext'
16748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16749   (eval $ac_try) 2>&5
16750   ac_status=$?
16751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16752   (exit $ac_status); }; }; then
16753   eval "$as_ac_var=yes"
16754 else
16755   echo "$as_me: failed program was:" >&5
16756 sed 's/^/| /' conftest.$ac_ext >&5
16757
16758 eval "$as_ac_var=no"
16759 fi
16760 rm -f conftest.err conftest.$ac_objext \
16761       conftest$ac_exeext conftest.$ac_ext
16762 fi
16763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16765 if test `eval echo '${'$as_ac_var'}'` = yes; then
16766   cat >>confdefs.h <<_ACEOF
16767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16768 _ACEOF
16769
16770 fi
16771 done
16772
16773   else
16774
16775   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
16776 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
16777   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
16778     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
16779   echo $ECHO_N "(cached) $ECHO_C" >&6
16780 else
16781
16782
16783
16784       ac_ext=cc
16785 ac_cpp='$CXXCPP $CPPFLAGS'
16786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16789
16790       cat >conftest.$ac_ext <<_ACEOF
16791 /* confdefs.h.  */
16792 _ACEOF
16793 cat confdefs.h >>conftest.$ac_ext
16794 cat >>conftest.$ac_ext <<_ACEOF
16795 /* end confdefs.h.  */
16796 #include <math.h>
16797                       #ifdef HAVE_IEEEFP_H
16798                       #include <ieeefp.h>
16799                       #endif
16800
16801 int
16802 main ()
16803 {
16804  _sqrtf(0);
16805   ;
16806   return 0;
16807 }
16808 _ACEOF
16809 rm -f conftest.$ac_objext
16810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16811   (eval $ac_compile) 2>conftest.er1
16812   ac_status=$?
16813   grep -v '^ *+' conftest.er1 >conftest.err
16814   rm -f conftest.er1
16815   cat conftest.err >&5
16816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16817   (exit $ac_status); } &&
16818          { ac_try='test -z "$ac_cxx_werror_flag"
16819                          || test ! -s conftest.err'
16820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16821   (eval $ac_try) 2>&5
16822   ac_status=$?
16823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16824   (exit $ac_status); }; } &&
16825          { ac_try='test -s conftest.$ac_objext'
16826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16827   (eval $ac_try) 2>&5
16828   ac_status=$?
16829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16830   (exit $ac_status); }; }; then
16831   glibcxx_cv_func__sqrtf_use=yes
16832 else
16833   echo "$as_me: failed program was:" >&5
16834 sed 's/^/| /' conftest.$ac_ext >&5
16835
16836 glibcxx_cv_func__sqrtf_use=no
16837 fi
16838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16839       ac_ext=c
16840 ac_cpp='$CPP $CPPFLAGS'
16841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16844
16845
16846 fi
16847
16848   fi
16849   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
16850 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
16851
16852     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
16853
16854 for ac_func in _sqrtf
16855 do
16856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16857 echo "$as_me:$LINENO: checking for $ac_func" >&5
16858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16859 if eval "test \"\${$as_ac_var+set}\" = set"; then
16860   echo $ECHO_N "(cached) $ECHO_C" >&6
16861 else
16862   if test x$gcc_no_link = xyes; then
16863   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16865    { (exit 1); exit 1; }; }
16866 fi
16867 cat >conftest.$ac_ext <<_ACEOF
16868 /* confdefs.h.  */
16869 _ACEOF
16870 cat confdefs.h >>conftest.$ac_ext
16871 cat >>conftest.$ac_ext <<_ACEOF
16872 /* end confdefs.h.  */
16873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16874    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16875 #define $ac_func innocuous_$ac_func
16876
16877 /* System header to define __stub macros and hopefully few prototypes,
16878     which can conflict with char $ac_func (); below.
16879     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16880     <limits.h> exists even on freestanding compilers.  */
16881
16882 #ifdef __STDC__
16883 # include <limits.h>
16884 #else
16885 # include <assert.h>
16886 #endif
16887
16888 #undef $ac_func
16889
16890 /* Override any gcc2 internal prototype to avoid an error.  */
16891 #ifdef __cplusplus
16892 extern "C"
16893 {
16894 #endif
16895 /* We use char because int might match the return type of a gcc2
16896    builtin and then its argument prototype would still apply.  */
16897 char $ac_func ();
16898 /* The GNU C library defines this for functions which it implements
16899     to always fail with ENOSYS.  Some functions are actually named
16900     something starting with __ and the normal name is an alias.  */
16901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16902 choke me
16903 #else
16904 char (*f) () = $ac_func;
16905 #endif
16906 #ifdef __cplusplus
16907 }
16908 #endif
16909
16910 int
16911 main ()
16912 {
16913 return f != $ac_func;
16914   ;
16915   return 0;
16916 }
16917 _ACEOF
16918 rm -f conftest.$ac_objext conftest$ac_exeext
16919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16920   (eval $ac_link) 2>conftest.er1
16921   ac_status=$?
16922   grep -v '^ *+' conftest.er1 >conftest.err
16923   rm -f conftest.er1
16924   cat conftest.err >&5
16925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926   (exit $ac_status); } &&
16927          { ac_try='test -z "$ac_c_werror_flag"
16928                          || test ! -s conftest.err'
16929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16930   (eval $ac_try) 2>&5
16931   ac_status=$?
16932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16933   (exit $ac_status); }; } &&
16934          { ac_try='test -s conftest$ac_exeext'
16935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16936   (eval $ac_try) 2>&5
16937   ac_status=$?
16938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16939   (exit $ac_status); }; }; then
16940   eval "$as_ac_var=yes"
16941 else
16942   echo "$as_me: failed program was:" >&5
16943 sed 's/^/| /' conftest.$ac_ext >&5
16944
16945 eval "$as_ac_var=no"
16946 fi
16947 rm -f conftest.err conftest.$ac_objext \
16948       conftest$ac_exeext conftest.$ac_ext
16949 fi
16950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16952 if test `eval echo '${'$as_ac_var'}'` = yes; then
16953   cat >>confdefs.h <<_ACEOF
16954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16955 _ACEOF
16956
16957 fi
16958 done
16959
16960     fi
16961   fi
16962
16963
16964
16965   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
16966 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
16967   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
16968     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
16969   echo $ECHO_N "(cached) $ECHO_C" >&6
16970 else
16971
16972
16973
16974       ac_ext=cc
16975 ac_cpp='$CXXCPP $CPPFLAGS'
16976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16979
16980       cat >conftest.$ac_ext <<_ACEOF
16981 /* confdefs.h.  */
16982 _ACEOF
16983 cat confdefs.h >>conftest.$ac_ext
16984 cat >>conftest.$ac_ext <<_ACEOF
16985 /* end confdefs.h.  */
16986 #include <math.h>
16987 int
16988 main ()
16989 {
16990  sincosf(0, 0, 0);
16991   ;
16992   return 0;
16993 }
16994 _ACEOF
16995 rm -f conftest.$ac_objext
16996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16997   (eval $ac_compile) 2>conftest.er1
16998   ac_status=$?
16999   grep -v '^ *+' conftest.er1 >conftest.err
17000   rm -f conftest.er1
17001   cat conftest.err >&5
17002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17003   (exit $ac_status); } &&
17004          { ac_try='test -z "$ac_cxx_werror_flag"
17005                          || test ! -s conftest.err'
17006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17007   (eval $ac_try) 2>&5
17008   ac_status=$?
17009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17010   (exit $ac_status); }; } &&
17011          { ac_try='test -s conftest.$ac_objext'
17012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17013   (eval $ac_try) 2>&5
17014   ac_status=$?
17015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17016   (exit $ac_status); }; }; then
17017   glibcxx_cv_func_sincosf_use=yes
17018 else
17019   echo "$as_me: failed program was:" >&5
17020 sed 's/^/| /' conftest.$ac_ext >&5
17021
17022 glibcxx_cv_func_sincosf_use=no
17023 fi
17024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17025       ac_ext=c
17026 ac_cpp='$CPP $CPPFLAGS'
17027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17030
17031
17032 fi
17033
17034   fi
17035   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
17036 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
17037
17038   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
17039
17040 for ac_func in sincosf
17041 do
17042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17043 echo "$as_me:$LINENO: checking for $ac_func" >&5
17044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17045 if eval "test \"\${$as_ac_var+set}\" = set"; then
17046   echo $ECHO_N "(cached) $ECHO_C" >&6
17047 else
17048   if test x$gcc_no_link = xyes; then
17049   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17051    { (exit 1); exit 1; }; }
17052 fi
17053 cat >conftest.$ac_ext <<_ACEOF
17054 /* confdefs.h.  */
17055 _ACEOF
17056 cat confdefs.h >>conftest.$ac_ext
17057 cat >>conftest.$ac_ext <<_ACEOF
17058 /* end confdefs.h.  */
17059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17060    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17061 #define $ac_func innocuous_$ac_func
17062
17063 /* System header to define __stub macros and hopefully few prototypes,
17064     which can conflict with char $ac_func (); below.
17065     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17066     <limits.h> exists even on freestanding compilers.  */
17067
17068 #ifdef __STDC__
17069 # include <limits.h>
17070 #else
17071 # include <assert.h>
17072 #endif
17073
17074 #undef $ac_func
17075
17076 /* Override any gcc2 internal prototype to avoid an error.  */
17077 #ifdef __cplusplus
17078 extern "C"
17079 {
17080 #endif
17081 /* We use char because int might match the return type of a gcc2
17082    builtin and then its argument prototype would still apply.  */
17083 char $ac_func ();
17084 /* The GNU C library defines this for functions which it implements
17085     to always fail with ENOSYS.  Some functions are actually named
17086     something starting with __ and the normal name is an alias.  */
17087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17088 choke me
17089 #else
17090 char (*f) () = $ac_func;
17091 #endif
17092 #ifdef __cplusplus
17093 }
17094 #endif
17095
17096 int
17097 main ()
17098 {
17099 return f != $ac_func;
17100   ;
17101   return 0;
17102 }
17103 _ACEOF
17104 rm -f conftest.$ac_objext conftest$ac_exeext
17105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17106   (eval $ac_link) 2>conftest.er1
17107   ac_status=$?
17108   grep -v '^ *+' conftest.er1 >conftest.err
17109   rm -f conftest.er1
17110   cat conftest.err >&5
17111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17112   (exit $ac_status); } &&
17113          { ac_try='test -z "$ac_c_werror_flag"
17114                          || test ! -s conftest.err'
17115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17116   (eval $ac_try) 2>&5
17117   ac_status=$?
17118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17119   (exit $ac_status); }; } &&
17120          { ac_try='test -s conftest$ac_exeext'
17121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17122   (eval $ac_try) 2>&5
17123   ac_status=$?
17124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125   (exit $ac_status); }; }; then
17126   eval "$as_ac_var=yes"
17127 else
17128   echo "$as_me: failed program was:" >&5
17129 sed 's/^/| /' conftest.$ac_ext >&5
17130
17131 eval "$as_ac_var=no"
17132 fi
17133 rm -f conftest.err conftest.$ac_objext \
17134       conftest$ac_exeext conftest.$ac_ext
17135 fi
17136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17138 if test `eval echo '${'$as_ac_var'}'` = yes; then
17139   cat >>confdefs.h <<_ACEOF
17140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17141 _ACEOF
17142
17143 fi
17144 done
17145
17146   else
17147
17148   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
17149 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
17150   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
17151     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
17152   echo $ECHO_N "(cached) $ECHO_C" >&6
17153 else
17154
17155
17156
17157       ac_ext=cc
17158 ac_cpp='$CXXCPP $CPPFLAGS'
17159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17162
17163       cat >conftest.$ac_ext <<_ACEOF
17164 /* confdefs.h.  */
17165 _ACEOF
17166 cat confdefs.h >>conftest.$ac_ext
17167 cat >>conftest.$ac_ext <<_ACEOF
17168 /* end confdefs.h.  */
17169 #include <math.h>
17170 int
17171 main ()
17172 {
17173  _sincosf(0, 0, 0);
17174   ;
17175   return 0;
17176 }
17177 _ACEOF
17178 rm -f conftest.$ac_objext
17179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17180   (eval $ac_compile) 2>conftest.er1
17181   ac_status=$?
17182   grep -v '^ *+' conftest.er1 >conftest.err
17183   rm -f conftest.er1
17184   cat conftest.err >&5
17185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17186   (exit $ac_status); } &&
17187          { ac_try='test -z "$ac_cxx_werror_flag"
17188                          || test ! -s conftest.err'
17189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17190   (eval $ac_try) 2>&5
17191   ac_status=$?
17192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193   (exit $ac_status); }; } &&
17194          { ac_try='test -s conftest.$ac_objext'
17195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17196   (eval $ac_try) 2>&5
17197   ac_status=$?
17198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199   (exit $ac_status); }; }; then
17200   glibcxx_cv_func__sincosf_use=yes
17201 else
17202   echo "$as_me: failed program was:" >&5
17203 sed 's/^/| /' conftest.$ac_ext >&5
17204
17205 glibcxx_cv_func__sincosf_use=no
17206 fi
17207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17208       ac_ext=c
17209 ac_cpp='$CPP $CPPFLAGS'
17210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17213
17214
17215 fi
17216
17217   fi
17218   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
17219 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
17220
17221     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
17222
17223 for ac_func in _sincosf
17224 do
17225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17226 echo "$as_me:$LINENO: checking for $ac_func" >&5
17227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17228 if eval "test \"\${$as_ac_var+set}\" = set"; then
17229   echo $ECHO_N "(cached) $ECHO_C" >&6
17230 else
17231   if test x$gcc_no_link = xyes; then
17232   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17234    { (exit 1); exit 1; }; }
17235 fi
17236 cat >conftest.$ac_ext <<_ACEOF
17237 /* confdefs.h.  */
17238 _ACEOF
17239 cat confdefs.h >>conftest.$ac_ext
17240 cat >>conftest.$ac_ext <<_ACEOF
17241 /* end confdefs.h.  */
17242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17243    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17244 #define $ac_func innocuous_$ac_func
17245
17246 /* System header to define __stub macros and hopefully few prototypes,
17247     which can conflict with char $ac_func (); below.
17248     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17249     <limits.h> exists even on freestanding compilers.  */
17250
17251 #ifdef __STDC__
17252 # include <limits.h>
17253 #else
17254 # include <assert.h>
17255 #endif
17256
17257 #undef $ac_func
17258
17259 /* Override any gcc2 internal prototype to avoid an error.  */
17260 #ifdef __cplusplus
17261 extern "C"
17262 {
17263 #endif
17264 /* We use char because int might match the return type of a gcc2
17265    builtin and then its argument prototype would still apply.  */
17266 char $ac_func ();
17267 /* The GNU C library defines this for functions which it implements
17268     to always fail with ENOSYS.  Some functions are actually named
17269     something starting with __ and the normal name is an alias.  */
17270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17271 choke me
17272 #else
17273 char (*f) () = $ac_func;
17274 #endif
17275 #ifdef __cplusplus
17276 }
17277 #endif
17278
17279 int
17280 main ()
17281 {
17282 return f != $ac_func;
17283   ;
17284   return 0;
17285 }
17286 _ACEOF
17287 rm -f conftest.$ac_objext conftest$ac_exeext
17288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17289   (eval $ac_link) 2>conftest.er1
17290   ac_status=$?
17291   grep -v '^ *+' conftest.er1 >conftest.err
17292   rm -f conftest.er1
17293   cat conftest.err >&5
17294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17295   (exit $ac_status); } &&
17296          { ac_try='test -z "$ac_c_werror_flag"
17297                          || test ! -s conftest.err'
17298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17299   (eval $ac_try) 2>&5
17300   ac_status=$?
17301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17302   (exit $ac_status); }; } &&
17303          { ac_try='test -s conftest$ac_exeext'
17304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17305   (eval $ac_try) 2>&5
17306   ac_status=$?
17307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308   (exit $ac_status); }; }; then
17309   eval "$as_ac_var=yes"
17310 else
17311   echo "$as_me: failed program was:" >&5
17312 sed 's/^/| /' conftest.$ac_ext >&5
17313
17314 eval "$as_ac_var=no"
17315 fi
17316 rm -f conftest.err conftest.$ac_objext \
17317       conftest$ac_exeext conftest.$ac_ext
17318 fi
17319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17321 if test `eval echo '${'$as_ac_var'}'` = yes; then
17322   cat >>confdefs.h <<_ACEOF
17323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17324 _ACEOF
17325
17326 fi
17327 done
17328
17329     fi
17330   fi
17331
17332
17333
17334   echo "$as_me:$LINENO: checking for finitef declaration" >&5
17335 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
17336   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
17337     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
17338   echo $ECHO_N "(cached) $ECHO_C" >&6
17339 else
17340
17341
17342
17343       ac_ext=cc
17344 ac_cpp='$CXXCPP $CPPFLAGS'
17345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17348
17349       cat >conftest.$ac_ext <<_ACEOF
17350 /* confdefs.h.  */
17351 _ACEOF
17352 cat confdefs.h >>conftest.$ac_ext
17353 cat >>conftest.$ac_ext <<_ACEOF
17354 /* end confdefs.h.  */
17355 #include <math.h>
17356                       #ifdef HAVE_IEEEFP_H
17357                       #include <ieeefp.h>
17358                       #endif
17359
17360 int
17361 main ()
17362 {
17363  finitef(0);
17364   ;
17365   return 0;
17366 }
17367 _ACEOF
17368 rm -f conftest.$ac_objext
17369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17370   (eval $ac_compile) 2>conftest.er1
17371   ac_status=$?
17372   grep -v '^ *+' conftest.er1 >conftest.err
17373   rm -f conftest.er1
17374   cat conftest.err >&5
17375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376   (exit $ac_status); } &&
17377          { ac_try='test -z "$ac_cxx_werror_flag"
17378                          || test ! -s conftest.err'
17379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17380   (eval $ac_try) 2>&5
17381   ac_status=$?
17382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17383   (exit $ac_status); }; } &&
17384          { ac_try='test -s conftest.$ac_objext'
17385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17386   (eval $ac_try) 2>&5
17387   ac_status=$?
17388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17389   (exit $ac_status); }; }; then
17390   glibcxx_cv_func_finitef_use=yes
17391 else
17392   echo "$as_me: failed program was:" >&5
17393 sed 's/^/| /' conftest.$ac_ext >&5
17394
17395 glibcxx_cv_func_finitef_use=no
17396 fi
17397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17398       ac_ext=c
17399 ac_cpp='$CPP $CPPFLAGS'
17400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17403
17404
17405 fi
17406
17407   fi
17408   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
17409 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
17410
17411   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
17412
17413 for ac_func in finitef
17414 do
17415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17416 echo "$as_me:$LINENO: checking for $ac_func" >&5
17417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17418 if eval "test \"\${$as_ac_var+set}\" = set"; then
17419   echo $ECHO_N "(cached) $ECHO_C" >&6
17420 else
17421   if test x$gcc_no_link = xyes; then
17422   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17424    { (exit 1); exit 1; }; }
17425 fi
17426 cat >conftest.$ac_ext <<_ACEOF
17427 /* confdefs.h.  */
17428 _ACEOF
17429 cat confdefs.h >>conftest.$ac_ext
17430 cat >>conftest.$ac_ext <<_ACEOF
17431 /* end confdefs.h.  */
17432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17433    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17434 #define $ac_func innocuous_$ac_func
17435
17436 /* System header to define __stub macros and hopefully few prototypes,
17437     which can conflict with char $ac_func (); below.
17438     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17439     <limits.h> exists even on freestanding compilers.  */
17440
17441 #ifdef __STDC__
17442 # include <limits.h>
17443 #else
17444 # include <assert.h>
17445 #endif
17446
17447 #undef $ac_func
17448
17449 /* Override any gcc2 internal prototype to avoid an error.  */
17450 #ifdef __cplusplus
17451 extern "C"
17452 {
17453 #endif
17454 /* We use char because int might match the return type of a gcc2
17455    builtin and then its argument prototype would still apply.  */
17456 char $ac_func ();
17457 /* The GNU C library defines this for functions which it implements
17458     to always fail with ENOSYS.  Some functions are actually named
17459     something starting with __ and the normal name is an alias.  */
17460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17461 choke me
17462 #else
17463 char (*f) () = $ac_func;
17464 #endif
17465 #ifdef __cplusplus
17466 }
17467 #endif
17468
17469 int
17470 main ()
17471 {
17472 return f != $ac_func;
17473   ;
17474   return 0;
17475 }
17476 _ACEOF
17477 rm -f conftest.$ac_objext conftest$ac_exeext
17478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17479   (eval $ac_link) 2>conftest.er1
17480   ac_status=$?
17481   grep -v '^ *+' conftest.er1 >conftest.err
17482   rm -f conftest.er1
17483   cat conftest.err >&5
17484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485   (exit $ac_status); } &&
17486          { ac_try='test -z "$ac_c_werror_flag"
17487                          || test ! -s conftest.err'
17488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17489   (eval $ac_try) 2>&5
17490   ac_status=$?
17491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492   (exit $ac_status); }; } &&
17493          { ac_try='test -s conftest$ac_exeext'
17494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17495   (eval $ac_try) 2>&5
17496   ac_status=$?
17497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17498   (exit $ac_status); }; }; then
17499   eval "$as_ac_var=yes"
17500 else
17501   echo "$as_me: failed program was:" >&5
17502 sed 's/^/| /' conftest.$ac_ext >&5
17503
17504 eval "$as_ac_var=no"
17505 fi
17506 rm -f conftest.err conftest.$ac_objext \
17507       conftest$ac_exeext conftest.$ac_ext
17508 fi
17509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17511 if test `eval echo '${'$as_ac_var'}'` = yes; then
17512   cat >>confdefs.h <<_ACEOF
17513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17514 _ACEOF
17515
17516 fi
17517 done
17518
17519   else
17520
17521   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
17522 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
17523   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
17524     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
17525   echo $ECHO_N "(cached) $ECHO_C" >&6
17526 else
17527
17528
17529
17530       ac_ext=cc
17531 ac_cpp='$CXXCPP $CPPFLAGS'
17532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17535
17536       cat >conftest.$ac_ext <<_ACEOF
17537 /* confdefs.h.  */
17538 _ACEOF
17539 cat confdefs.h >>conftest.$ac_ext
17540 cat >>conftest.$ac_ext <<_ACEOF
17541 /* end confdefs.h.  */
17542 #include <math.h>
17543                       #ifdef HAVE_IEEEFP_H
17544                       #include <ieeefp.h>
17545                       #endif
17546
17547 int
17548 main ()
17549 {
17550  _finitef(0);
17551   ;
17552   return 0;
17553 }
17554 _ACEOF
17555 rm -f conftest.$ac_objext
17556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17557   (eval $ac_compile) 2>conftest.er1
17558   ac_status=$?
17559   grep -v '^ *+' conftest.er1 >conftest.err
17560   rm -f conftest.er1
17561   cat conftest.err >&5
17562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563   (exit $ac_status); } &&
17564          { ac_try='test -z "$ac_cxx_werror_flag"
17565                          || test ! -s conftest.err'
17566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17567   (eval $ac_try) 2>&5
17568   ac_status=$?
17569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17570   (exit $ac_status); }; } &&
17571          { ac_try='test -s conftest.$ac_objext'
17572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17573   (eval $ac_try) 2>&5
17574   ac_status=$?
17575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576   (exit $ac_status); }; }; then
17577   glibcxx_cv_func__finitef_use=yes
17578 else
17579   echo "$as_me: failed program was:" >&5
17580 sed 's/^/| /' conftest.$ac_ext >&5
17581
17582 glibcxx_cv_func__finitef_use=no
17583 fi
17584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17585       ac_ext=c
17586 ac_cpp='$CPP $CPPFLAGS'
17587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17590
17591
17592 fi
17593
17594   fi
17595   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
17596 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
17597
17598     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
17599
17600 for ac_func in _finitef
17601 do
17602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17603 echo "$as_me:$LINENO: checking for $ac_func" >&5
17604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17605 if eval "test \"\${$as_ac_var+set}\" = set"; then
17606   echo $ECHO_N "(cached) $ECHO_C" >&6
17607 else
17608   if test x$gcc_no_link = xyes; then
17609   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17611    { (exit 1); exit 1; }; }
17612 fi
17613 cat >conftest.$ac_ext <<_ACEOF
17614 /* confdefs.h.  */
17615 _ACEOF
17616 cat confdefs.h >>conftest.$ac_ext
17617 cat >>conftest.$ac_ext <<_ACEOF
17618 /* end confdefs.h.  */
17619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17620    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17621 #define $ac_func innocuous_$ac_func
17622
17623 /* System header to define __stub macros and hopefully few prototypes,
17624     which can conflict with char $ac_func (); below.
17625     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17626     <limits.h> exists even on freestanding compilers.  */
17627
17628 #ifdef __STDC__
17629 # include <limits.h>
17630 #else
17631 # include <assert.h>
17632 #endif
17633
17634 #undef $ac_func
17635
17636 /* Override any gcc2 internal prototype to avoid an error.  */
17637 #ifdef __cplusplus
17638 extern "C"
17639 {
17640 #endif
17641 /* We use char because int might match the return type of a gcc2
17642    builtin and then its argument prototype would still apply.  */
17643 char $ac_func ();
17644 /* The GNU C library defines this for functions which it implements
17645     to always fail with ENOSYS.  Some functions are actually named
17646     something starting with __ and the normal name is an alias.  */
17647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17648 choke me
17649 #else
17650 char (*f) () = $ac_func;
17651 #endif
17652 #ifdef __cplusplus
17653 }
17654 #endif
17655
17656 int
17657 main ()
17658 {
17659 return f != $ac_func;
17660   ;
17661   return 0;
17662 }
17663 _ACEOF
17664 rm -f conftest.$ac_objext conftest$ac_exeext
17665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17666   (eval $ac_link) 2>conftest.er1
17667   ac_status=$?
17668   grep -v '^ *+' conftest.er1 >conftest.err
17669   rm -f conftest.er1
17670   cat conftest.err >&5
17671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17672   (exit $ac_status); } &&
17673          { ac_try='test -z "$ac_c_werror_flag"
17674                          || test ! -s conftest.err'
17675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17676   (eval $ac_try) 2>&5
17677   ac_status=$?
17678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17679   (exit $ac_status); }; } &&
17680          { ac_try='test -s conftest$ac_exeext'
17681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17682   (eval $ac_try) 2>&5
17683   ac_status=$?
17684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685   (exit $ac_status); }; }; then
17686   eval "$as_ac_var=yes"
17687 else
17688   echo "$as_me: failed program was:" >&5
17689 sed 's/^/| /' conftest.$ac_ext >&5
17690
17691 eval "$as_ac_var=no"
17692 fi
17693 rm -f conftest.err conftest.$ac_objext \
17694       conftest$ac_exeext conftest.$ac_ext
17695 fi
17696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17698 if test `eval echo '${'$as_ac_var'}'` = yes; then
17699   cat >>confdefs.h <<_ACEOF
17700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17701 _ACEOF
17702
17703 fi
17704 done
17705
17706     fi
17707   fi
17708
17709
17710
17711   echo "$as_me:$LINENO: checking for long double trig functions" >&5
17712 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
17713   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
17714   echo $ECHO_N "(cached) $ECHO_C" >&6
17715 else
17716
17717
17718
17719     ac_ext=cc
17720 ac_cpp='$CXXCPP $CPPFLAGS'
17721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17724
17725     cat >conftest.$ac_ext <<_ACEOF
17726 /* confdefs.h.  */
17727 _ACEOF
17728 cat confdefs.h >>conftest.$ac_ext
17729 cat >>conftest.$ac_ext <<_ACEOF
17730 /* end confdefs.h.  */
17731 #include <math.h>
17732 int
17733 main ()
17734 {
17735  `for x in acosl asinl atanl \
17736                                           cosl sinl tanl \
17737                                           coshl sinhl tanhl; do echo "$x (0);"; done`
17738   ;
17739   return 0;
17740 }
17741 _ACEOF
17742 rm -f conftest.$ac_objext
17743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17744   (eval $ac_compile) 2>conftest.er1
17745   ac_status=$?
17746   grep -v '^ *+' conftest.er1 >conftest.err
17747   rm -f conftest.er1
17748   cat conftest.err >&5
17749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17750   (exit $ac_status); } &&
17751          { ac_try='test -z "$ac_cxx_werror_flag"
17752                          || test ! -s conftest.err'
17753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17754   (eval $ac_try) 2>&5
17755   ac_status=$?
17756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757   (exit $ac_status); }; } &&
17758          { ac_try='test -s conftest.$ac_objext'
17759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17760   (eval $ac_try) 2>&5
17761   ac_status=$?
17762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763   (exit $ac_status); }; }; then
17764   glibcxx_cv_func_long_double_trig_use=yes
17765 else
17766   echo "$as_me: failed program was:" >&5
17767 sed 's/^/| /' conftest.$ac_ext >&5
17768
17769 glibcxx_cv_func_long_double_trig_use=no
17770 fi
17771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17772     ac_ext=c
17773 ac_cpp='$CPP $CPPFLAGS'
17774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17777
17778 fi
17779
17780   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
17781 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
17782   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
17783
17784
17785
17786
17787
17788
17789
17790
17791
17792 for ac_func in acosl asinl atanl \
17793                                           cosl sinl tanl \
17794                                           coshl sinhl tanhl
17795 do
17796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17797 echo "$as_me:$LINENO: checking for $ac_func" >&5
17798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17799 if eval "test \"\${$as_ac_var+set}\" = set"; then
17800   echo $ECHO_N "(cached) $ECHO_C" >&6
17801 else
17802   if test x$gcc_no_link = xyes; then
17803   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17805    { (exit 1); exit 1; }; }
17806 fi
17807 cat >conftest.$ac_ext <<_ACEOF
17808 /* confdefs.h.  */
17809 _ACEOF
17810 cat confdefs.h >>conftest.$ac_ext
17811 cat >>conftest.$ac_ext <<_ACEOF
17812 /* end confdefs.h.  */
17813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17814    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17815 #define $ac_func innocuous_$ac_func
17816
17817 /* System header to define __stub macros and hopefully few prototypes,
17818     which can conflict with char $ac_func (); below.
17819     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17820     <limits.h> exists even on freestanding compilers.  */
17821
17822 #ifdef __STDC__
17823 # include <limits.h>
17824 #else
17825 # include <assert.h>
17826 #endif
17827
17828 #undef $ac_func
17829
17830 /* Override any gcc2 internal prototype to avoid an error.  */
17831 #ifdef __cplusplus
17832 extern "C"
17833 {
17834 #endif
17835 /* We use char because int might match the return type of a gcc2
17836    builtin and then its argument prototype would still apply.  */
17837 char $ac_func ();
17838 /* The GNU C library defines this for functions which it implements
17839     to always fail with ENOSYS.  Some functions are actually named
17840     something starting with __ and the normal name is an alias.  */
17841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17842 choke me
17843 #else
17844 char (*f) () = $ac_func;
17845 #endif
17846 #ifdef __cplusplus
17847 }
17848 #endif
17849
17850 int
17851 main ()
17852 {
17853 return f != $ac_func;
17854   ;
17855   return 0;
17856 }
17857 _ACEOF
17858 rm -f conftest.$ac_objext conftest$ac_exeext
17859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17860   (eval $ac_link) 2>conftest.er1
17861   ac_status=$?
17862   grep -v '^ *+' conftest.er1 >conftest.err
17863   rm -f conftest.er1
17864   cat conftest.err >&5
17865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17866   (exit $ac_status); } &&
17867          { ac_try='test -z "$ac_c_werror_flag"
17868                          || test ! -s conftest.err'
17869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17870   (eval $ac_try) 2>&5
17871   ac_status=$?
17872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873   (exit $ac_status); }; } &&
17874          { ac_try='test -s conftest$ac_exeext'
17875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17876   (eval $ac_try) 2>&5
17877   ac_status=$?
17878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879   (exit $ac_status); }; }; then
17880   eval "$as_ac_var=yes"
17881 else
17882   echo "$as_me: failed program was:" >&5
17883 sed 's/^/| /' conftest.$ac_ext >&5
17884
17885 eval "$as_ac_var=no"
17886 fi
17887 rm -f conftest.err conftest.$ac_objext \
17888       conftest$ac_exeext conftest.$ac_ext
17889 fi
17890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17892 if test `eval echo '${'$as_ac_var'}'` = yes; then
17893   cat >>confdefs.h <<_ACEOF
17894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17895 _ACEOF
17896
17897 fi
17898 done
17899
17900   fi
17901
17902
17903   echo "$as_me:$LINENO: checking for long double round functions" >&5
17904 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
17905   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
17906   echo $ECHO_N "(cached) $ECHO_C" >&6
17907 else
17908
17909
17910
17911     ac_ext=cc
17912 ac_cpp='$CXXCPP $CPPFLAGS'
17913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17916
17917     cat >conftest.$ac_ext <<_ACEOF
17918 /* confdefs.h.  */
17919 _ACEOF
17920 cat confdefs.h >>conftest.$ac_ext
17921 cat >>conftest.$ac_ext <<_ACEOF
17922 /* end confdefs.h.  */
17923 #include <math.h>
17924 int
17925 main ()
17926 {
17927  `for x in ceill floorl; do echo "$x (0);"; done`
17928   ;
17929   return 0;
17930 }
17931 _ACEOF
17932 rm -f conftest.$ac_objext
17933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17934   (eval $ac_compile) 2>conftest.er1
17935   ac_status=$?
17936   grep -v '^ *+' conftest.er1 >conftest.err
17937   rm -f conftest.er1
17938   cat conftest.err >&5
17939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17940   (exit $ac_status); } &&
17941          { ac_try='test -z "$ac_cxx_werror_flag"
17942                          || test ! -s conftest.err'
17943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17944   (eval $ac_try) 2>&5
17945   ac_status=$?
17946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947   (exit $ac_status); }; } &&
17948          { ac_try='test -s conftest.$ac_objext'
17949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17950   (eval $ac_try) 2>&5
17951   ac_status=$?
17952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17953   (exit $ac_status); }; }; then
17954   glibcxx_cv_func_long_double_round_use=yes
17955 else
17956   echo "$as_me: failed program was:" >&5
17957 sed 's/^/| /' conftest.$ac_ext >&5
17958
17959 glibcxx_cv_func_long_double_round_use=no
17960 fi
17961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17962     ac_ext=c
17963 ac_cpp='$CPP $CPPFLAGS'
17964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17967
17968 fi
17969
17970   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
17971 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
17972   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
17973
17974
17975 for ac_func in ceill floorl
17976 do
17977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17978 echo "$as_me:$LINENO: checking for $ac_func" >&5
17979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17980 if eval "test \"\${$as_ac_var+set}\" = set"; then
17981   echo $ECHO_N "(cached) $ECHO_C" >&6
17982 else
17983   if test x$gcc_no_link = xyes; then
17984   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17986    { (exit 1); exit 1; }; }
17987 fi
17988 cat >conftest.$ac_ext <<_ACEOF
17989 /* confdefs.h.  */
17990 _ACEOF
17991 cat confdefs.h >>conftest.$ac_ext
17992 cat >>conftest.$ac_ext <<_ACEOF
17993 /* end confdefs.h.  */
17994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17995    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17996 #define $ac_func innocuous_$ac_func
17997
17998 /* System header to define __stub macros and hopefully few prototypes,
17999     which can conflict with char $ac_func (); below.
18000     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18001     <limits.h> exists even on freestanding compilers.  */
18002
18003 #ifdef __STDC__
18004 # include <limits.h>
18005 #else
18006 # include <assert.h>
18007 #endif
18008
18009 #undef $ac_func
18010
18011 /* Override any gcc2 internal prototype to avoid an error.  */
18012 #ifdef __cplusplus
18013 extern "C"
18014 {
18015 #endif
18016 /* We use char because int might match the return type of a gcc2
18017    builtin and then its argument prototype would still apply.  */
18018 char $ac_func ();
18019 /* The GNU C library defines this for functions which it implements
18020     to always fail with ENOSYS.  Some functions are actually named
18021     something starting with __ and the normal name is an alias.  */
18022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18023 choke me
18024 #else
18025 char (*f) () = $ac_func;
18026 #endif
18027 #ifdef __cplusplus
18028 }
18029 #endif
18030
18031 int
18032 main ()
18033 {
18034 return f != $ac_func;
18035   ;
18036   return 0;
18037 }
18038 _ACEOF
18039 rm -f conftest.$ac_objext conftest$ac_exeext
18040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18041   (eval $ac_link) 2>conftest.er1
18042   ac_status=$?
18043   grep -v '^ *+' conftest.er1 >conftest.err
18044   rm -f conftest.er1
18045   cat conftest.err >&5
18046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18047   (exit $ac_status); } &&
18048          { ac_try='test -z "$ac_c_werror_flag"
18049                          || test ! -s conftest.err'
18050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18051   (eval $ac_try) 2>&5
18052   ac_status=$?
18053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18054   (exit $ac_status); }; } &&
18055          { ac_try='test -s conftest$ac_exeext'
18056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18057   (eval $ac_try) 2>&5
18058   ac_status=$?
18059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18060   (exit $ac_status); }; }; then
18061   eval "$as_ac_var=yes"
18062 else
18063   echo "$as_me: failed program was:" >&5
18064 sed 's/^/| /' conftest.$ac_ext >&5
18065
18066 eval "$as_ac_var=no"
18067 fi
18068 rm -f conftest.err conftest.$ac_objext \
18069       conftest$ac_exeext conftest.$ac_ext
18070 fi
18071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18073 if test `eval echo '${'$as_ac_var'}'` = yes; then
18074   cat >>confdefs.h <<_ACEOF
18075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18076 _ACEOF
18077
18078 fi
18079 done
18080
18081   fi
18082
18083
18084
18085   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
18086 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
18087   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
18088     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
18089   echo $ECHO_N "(cached) $ECHO_C" >&6
18090 else
18091
18092
18093
18094       ac_ext=cc
18095 ac_cpp='$CXXCPP $CPPFLAGS'
18096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18099
18100       cat >conftest.$ac_ext <<_ACEOF
18101 /* confdefs.h.  */
18102 _ACEOF
18103 cat confdefs.h >>conftest.$ac_ext
18104 cat >>conftest.$ac_ext <<_ACEOF
18105 /* end confdefs.h.  */
18106 #include <math.h>
18107                       #ifdef HAVE_IEEEFP_H
18108                       #include <ieeefp.h>
18109                       #endif
18110
18111 int
18112 main ()
18113 {
18114  isnanl(0);
18115   ;
18116   return 0;
18117 }
18118 _ACEOF
18119 rm -f conftest.$ac_objext
18120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18121   (eval $ac_compile) 2>conftest.er1
18122   ac_status=$?
18123   grep -v '^ *+' conftest.er1 >conftest.err
18124   rm -f conftest.er1
18125   cat conftest.err >&5
18126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127   (exit $ac_status); } &&
18128          { ac_try='test -z "$ac_cxx_werror_flag"
18129                          || test ! -s conftest.err'
18130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18131   (eval $ac_try) 2>&5
18132   ac_status=$?
18133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18134   (exit $ac_status); }; } &&
18135          { ac_try='test -s conftest.$ac_objext'
18136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18137   (eval $ac_try) 2>&5
18138   ac_status=$?
18139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18140   (exit $ac_status); }; }; then
18141   glibcxx_cv_func_isnanl_use=yes
18142 else
18143   echo "$as_me: failed program was:" >&5
18144 sed 's/^/| /' conftest.$ac_ext >&5
18145
18146 glibcxx_cv_func_isnanl_use=no
18147 fi
18148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18149       ac_ext=c
18150 ac_cpp='$CPP $CPPFLAGS'
18151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18154
18155
18156 fi
18157
18158   fi
18159   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
18160 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
18161
18162   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
18163
18164 for ac_func in isnanl
18165 do
18166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18167 echo "$as_me:$LINENO: checking for $ac_func" >&5
18168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18169 if eval "test \"\${$as_ac_var+set}\" = set"; then
18170   echo $ECHO_N "(cached) $ECHO_C" >&6
18171 else
18172   if test x$gcc_no_link = xyes; then
18173   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18175    { (exit 1); exit 1; }; }
18176 fi
18177 cat >conftest.$ac_ext <<_ACEOF
18178 /* confdefs.h.  */
18179 _ACEOF
18180 cat confdefs.h >>conftest.$ac_ext
18181 cat >>conftest.$ac_ext <<_ACEOF
18182 /* end confdefs.h.  */
18183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18184    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18185 #define $ac_func innocuous_$ac_func
18186
18187 /* System header to define __stub macros and hopefully few prototypes,
18188     which can conflict with char $ac_func (); below.
18189     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18190     <limits.h> exists even on freestanding compilers.  */
18191
18192 #ifdef __STDC__
18193 # include <limits.h>
18194 #else
18195 # include <assert.h>
18196 #endif
18197
18198 #undef $ac_func
18199
18200 /* Override any gcc2 internal prototype to avoid an error.  */
18201 #ifdef __cplusplus
18202 extern "C"
18203 {
18204 #endif
18205 /* We use char because int might match the return type of a gcc2
18206    builtin and then its argument prototype would still apply.  */
18207 char $ac_func ();
18208 /* The GNU C library defines this for functions which it implements
18209     to always fail with ENOSYS.  Some functions are actually named
18210     something starting with __ and the normal name is an alias.  */
18211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18212 choke me
18213 #else
18214 char (*f) () = $ac_func;
18215 #endif
18216 #ifdef __cplusplus
18217 }
18218 #endif
18219
18220 int
18221 main ()
18222 {
18223 return f != $ac_func;
18224   ;
18225   return 0;
18226 }
18227 _ACEOF
18228 rm -f conftest.$ac_objext conftest$ac_exeext
18229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18230   (eval $ac_link) 2>conftest.er1
18231   ac_status=$?
18232   grep -v '^ *+' conftest.er1 >conftest.err
18233   rm -f conftest.er1
18234   cat conftest.err >&5
18235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18236   (exit $ac_status); } &&
18237          { ac_try='test -z "$ac_c_werror_flag"
18238                          || test ! -s conftest.err'
18239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18240   (eval $ac_try) 2>&5
18241   ac_status=$?
18242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18243   (exit $ac_status); }; } &&
18244          { ac_try='test -s conftest$ac_exeext'
18245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18246   (eval $ac_try) 2>&5
18247   ac_status=$?
18248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18249   (exit $ac_status); }; }; then
18250   eval "$as_ac_var=yes"
18251 else
18252   echo "$as_me: failed program was:" >&5
18253 sed 's/^/| /' conftest.$ac_ext >&5
18254
18255 eval "$as_ac_var=no"
18256 fi
18257 rm -f conftest.err conftest.$ac_objext \
18258       conftest$ac_exeext conftest.$ac_ext
18259 fi
18260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18262 if test `eval echo '${'$as_ac_var'}'` = yes; then
18263   cat >>confdefs.h <<_ACEOF
18264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18265 _ACEOF
18266
18267 fi
18268 done
18269
18270   else
18271
18272   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
18273 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
18274   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
18275     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
18276   echo $ECHO_N "(cached) $ECHO_C" >&6
18277 else
18278
18279
18280
18281       ac_ext=cc
18282 ac_cpp='$CXXCPP $CPPFLAGS'
18283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18286
18287       cat >conftest.$ac_ext <<_ACEOF
18288 /* confdefs.h.  */
18289 _ACEOF
18290 cat confdefs.h >>conftest.$ac_ext
18291 cat >>conftest.$ac_ext <<_ACEOF
18292 /* end confdefs.h.  */
18293 #include <math.h>
18294                       #ifdef HAVE_IEEEFP_H
18295                       #include <ieeefp.h>
18296                       #endif
18297
18298 int
18299 main ()
18300 {
18301  _isnanl(0);
18302   ;
18303   return 0;
18304 }
18305 _ACEOF
18306 rm -f conftest.$ac_objext
18307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18308   (eval $ac_compile) 2>conftest.er1
18309   ac_status=$?
18310   grep -v '^ *+' conftest.er1 >conftest.err
18311   rm -f conftest.er1
18312   cat conftest.err >&5
18313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18314   (exit $ac_status); } &&
18315          { ac_try='test -z "$ac_cxx_werror_flag"
18316                          || test ! -s conftest.err'
18317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18318   (eval $ac_try) 2>&5
18319   ac_status=$?
18320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321   (exit $ac_status); }; } &&
18322          { ac_try='test -s conftest.$ac_objext'
18323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18324   (eval $ac_try) 2>&5
18325   ac_status=$?
18326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327   (exit $ac_status); }; }; then
18328   glibcxx_cv_func__isnanl_use=yes
18329 else
18330   echo "$as_me: failed program was:" >&5
18331 sed 's/^/| /' conftest.$ac_ext >&5
18332
18333 glibcxx_cv_func__isnanl_use=no
18334 fi
18335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18336       ac_ext=c
18337 ac_cpp='$CPP $CPPFLAGS'
18338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18341
18342
18343 fi
18344
18345   fi
18346   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
18347 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
18348
18349     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
18350
18351 for ac_func in _isnanl
18352 do
18353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18354 echo "$as_me:$LINENO: checking for $ac_func" >&5
18355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18356 if eval "test \"\${$as_ac_var+set}\" = set"; then
18357   echo $ECHO_N "(cached) $ECHO_C" >&6
18358 else
18359   if test x$gcc_no_link = xyes; then
18360   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18362    { (exit 1); exit 1; }; }
18363 fi
18364 cat >conftest.$ac_ext <<_ACEOF
18365 /* confdefs.h.  */
18366 _ACEOF
18367 cat confdefs.h >>conftest.$ac_ext
18368 cat >>conftest.$ac_ext <<_ACEOF
18369 /* end confdefs.h.  */
18370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18371    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18372 #define $ac_func innocuous_$ac_func
18373
18374 /* System header to define __stub macros and hopefully few prototypes,
18375     which can conflict with char $ac_func (); below.
18376     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18377     <limits.h> exists even on freestanding compilers.  */
18378
18379 #ifdef __STDC__
18380 # include <limits.h>
18381 #else
18382 # include <assert.h>
18383 #endif
18384
18385 #undef $ac_func
18386
18387 /* Override any gcc2 internal prototype to avoid an error.  */
18388 #ifdef __cplusplus
18389 extern "C"
18390 {
18391 #endif
18392 /* We use char because int might match the return type of a gcc2
18393    builtin and then its argument prototype would still apply.  */
18394 char $ac_func ();
18395 /* The GNU C library defines this for functions which it implements
18396     to always fail with ENOSYS.  Some functions are actually named
18397     something starting with __ and the normal name is an alias.  */
18398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18399 choke me
18400 #else
18401 char (*f) () = $ac_func;
18402 #endif
18403 #ifdef __cplusplus
18404 }
18405 #endif
18406
18407 int
18408 main ()
18409 {
18410 return f != $ac_func;
18411   ;
18412   return 0;
18413 }
18414 _ACEOF
18415 rm -f conftest.$ac_objext conftest$ac_exeext
18416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18417   (eval $ac_link) 2>conftest.er1
18418   ac_status=$?
18419   grep -v '^ *+' conftest.er1 >conftest.err
18420   rm -f conftest.er1
18421   cat conftest.err >&5
18422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423   (exit $ac_status); } &&
18424          { ac_try='test -z "$ac_c_werror_flag"
18425                          || test ! -s conftest.err'
18426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18427   (eval $ac_try) 2>&5
18428   ac_status=$?
18429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430   (exit $ac_status); }; } &&
18431          { ac_try='test -s conftest$ac_exeext'
18432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18433   (eval $ac_try) 2>&5
18434   ac_status=$?
18435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436   (exit $ac_status); }; }; then
18437   eval "$as_ac_var=yes"
18438 else
18439   echo "$as_me: failed program was:" >&5
18440 sed 's/^/| /' conftest.$ac_ext >&5
18441
18442 eval "$as_ac_var=no"
18443 fi
18444 rm -f conftest.err conftest.$ac_objext \
18445       conftest$ac_exeext conftest.$ac_ext
18446 fi
18447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18449 if test `eval echo '${'$as_ac_var'}'` = yes; then
18450   cat >>confdefs.h <<_ACEOF
18451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18452 _ACEOF
18453
18454 fi
18455 done
18456
18457     fi
18458   fi
18459
18460
18461
18462   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
18463 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
18464   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
18465     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
18466   echo $ECHO_N "(cached) $ECHO_C" >&6
18467 else
18468
18469
18470
18471       ac_ext=cc
18472 ac_cpp='$CXXCPP $CPPFLAGS'
18473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18476
18477       cat >conftest.$ac_ext <<_ACEOF
18478 /* confdefs.h.  */
18479 _ACEOF
18480 cat confdefs.h >>conftest.$ac_ext
18481 cat >>conftest.$ac_ext <<_ACEOF
18482 /* end confdefs.h.  */
18483 #include <math.h>
18484                       #ifdef HAVE_IEEEFP_H
18485                       #include <ieeefp.h>
18486                       #endif
18487
18488 int
18489 main ()
18490 {
18491  isinfl(0);
18492   ;
18493   return 0;
18494 }
18495 _ACEOF
18496 rm -f conftest.$ac_objext
18497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18498   (eval $ac_compile) 2>conftest.er1
18499   ac_status=$?
18500   grep -v '^ *+' conftest.er1 >conftest.err
18501   rm -f conftest.er1
18502   cat conftest.err >&5
18503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18504   (exit $ac_status); } &&
18505          { ac_try='test -z "$ac_cxx_werror_flag"
18506                          || test ! -s conftest.err'
18507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18508   (eval $ac_try) 2>&5
18509   ac_status=$?
18510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18511   (exit $ac_status); }; } &&
18512          { ac_try='test -s conftest.$ac_objext'
18513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18514   (eval $ac_try) 2>&5
18515   ac_status=$?
18516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18517   (exit $ac_status); }; }; then
18518   glibcxx_cv_func_isinfl_use=yes
18519 else
18520   echo "$as_me: failed program was:" >&5
18521 sed 's/^/| /' conftest.$ac_ext >&5
18522
18523 glibcxx_cv_func_isinfl_use=no
18524 fi
18525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18526       ac_ext=c
18527 ac_cpp='$CPP $CPPFLAGS'
18528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18531
18532
18533 fi
18534
18535   fi
18536   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
18537 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
18538
18539   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
18540
18541 for ac_func in isinfl
18542 do
18543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18544 echo "$as_me:$LINENO: checking for $ac_func" >&5
18545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18546 if eval "test \"\${$as_ac_var+set}\" = set"; then
18547   echo $ECHO_N "(cached) $ECHO_C" >&6
18548 else
18549   if test x$gcc_no_link = xyes; then
18550   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18552    { (exit 1); exit 1; }; }
18553 fi
18554 cat >conftest.$ac_ext <<_ACEOF
18555 /* confdefs.h.  */
18556 _ACEOF
18557 cat confdefs.h >>conftest.$ac_ext
18558 cat >>conftest.$ac_ext <<_ACEOF
18559 /* end confdefs.h.  */
18560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18561    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18562 #define $ac_func innocuous_$ac_func
18563
18564 /* System header to define __stub macros and hopefully few prototypes,
18565     which can conflict with char $ac_func (); below.
18566     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18567     <limits.h> exists even on freestanding compilers.  */
18568
18569 #ifdef __STDC__
18570 # include <limits.h>
18571 #else
18572 # include <assert.h>
18573 #endif
18574
18575 #undef $ac_func
18576
18577 /* Override any gcc2 internal prototype to avoid an error.  */
18578 #ifdef __cplusplus
18579 extern "C"
18580 {
18581 #endif
18582 /* We use char because int might match the return type of a gcc2
18583    builtin and then its argument prototype would still apply.  */
18584 char $ac_func ();
18585 /* The GNU C library defines this for functions which it implements
18586     to always fail with ENOSYS.  Some functions are actually named
18587     something starting with __ and the normal name is an alias.  */
18588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18589 choke me
18590 #else
18591 char (*f) () = $ac_func;
18592 #endif
18593 #ifdef __cplusplus
18594 }
18595 #endif
18596
18597 int
18598 main ()
18599 {
18600 return f != $ac_func;
18601   ;
18602   return 0;
18603 }
18604 _ACEOF
18605 rm -f conftest.$ac_objext conftest$ac_exeext
18606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18607   (eval $ac_link) 2>conftest.er1
18608   ac_status=$?
18609   grep -v '^ *+' conftest.er1 >conftest.err
18610   rm -f conftest.er1
18611   cat conftest.err >&5
18612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18613   (exit $ac_status); } &&
18614          { ac_try='test -z "$ac_c_werror_flag"
18615                          || test ! -s conftest.err'
18616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18617   (eval $ac_try) 2>&5
18618   ac_status=$?
18619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18620   (exit $ac_status); }; } &&
18621          { ac_try='test -s conftest$ac_exeext'
18622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18623   (eval $ac_try) 2>&5
18624   ac_status=$?
18625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626   (exit $ac_status); }; }; then
18627   eval "$as_ac_var=yes"
18628 else
18629   echo "$as_me: failed program was:" >&5
18630 sed 's/^/| /' conftest.$ac_ext >&5
18631
18632 eval "$as_ac_var=no"
18633 fi
18634 rm -f conftest.err conftest.$ac_objext \
18635       conftest$ac_exeext conftest.$ac_ext
18636 fi
18637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18639 if test `eval echo '${'$as_ac_var'}'` = yes; then
18640   cat >>confdefs.h <<_ACEOF
18641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18642 _ACEOF
18643
18644 fi
18645 done
18646
18647   else
18648
18649   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
18650 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
18651   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
18652     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
18653   echo $ECHO_N "(cached) $ECHO_C" >&6
18654 else
18655
18656
18657
18658       ac_ext=cc
18659 ac_cpp='$CXXCPP $CPPFLAGS'
18660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18663
18664       cat >conftest.$ac_ext <<_ACEOF
18665 /* confdefs.h.  */
18666 _ACEOF
18667 cat confdefs.h >>conftest.$ac_ext
18668 cat >>conftest.$ac_ext <<_ACEOF
18669 /* end confdefs.h.  */
18670 #include <math.h>
18671                       #ifdef HAVE_IEEEFP_H
18672                       #include <ieeefp.h>
18673                       #endif
18674
18675 int
18676 main ()
18677 {
18678  _isinfl(0);
18679   ;
18680   return 0;
18681 }
18682 _ACEOF
18683 rm -f conftest.$ac_objext
18684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18685   (eval $ac_compile) 2>conftest.er1
18686   ac_status=$?
18687   grep -v '^ *+' conftest.er1 >conftest.err
18688   rm -f conftest.er1
18689   cat conftest.err >&5
18690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691   (exit $ac_status); } &&
18692          { ac_try='test -z "$ac_cxx_werror_flag"
18693                          || test ! -s conftest.err'
18694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18695   (eval $ac_try) 2>&5
18696   ac_status=$?
18697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18698   (exit $ac_status); }; } &&
18699          { ac_try='test -s conftest.$ac_objext'
18700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18701   (eval $ac_try) 2>&5
18702   ac_status=$?
18703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704   (exit $ac_status); }; }; then
18705   glibcxx_cv_func__isinfl_use=yes
18706 else
18707   echo "$as_me: failed program was:" >&5
18708 sed 's/^/| /' conftest.$ac_ext >&5
18709
18710 glibcxx_cv_func__isinfl_use=no
18711 fi
18712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18713       ac_ext=c
18714 ac_cpp='$CPP $CPPFLAGS'
18715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18718
18719
18720 fi
18721
18722   fi
18723   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
18724 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
18725
18726     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
18727
18728 for ac_func in _isinfl
18729 do
18730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18731 echo "$as_me:$LINENO: checking for $ac_func" >&5
18732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18733 if eval "test \"\${$as_ac_var+set}\" = set"; then
18734   echo $ECHO_N "(cached) $ECHO_C" >&6
18735 else
18736   if test x$gcc_no_link = xyes; then
18737   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18739    { (exit 1); exit 1; }; }
18740 fi
18741 cat >conftest.$ac_ext <<_ACEOF
18742 /* confdefs.h.  */
18743 _ACEOF
18744 cat confdefs.h >>conftest.$ac_ext
18745 cat >>conftest.$ac_ext <<_ACEOF
18746 /* end confdefs.h.  */
18747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18748    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18749 #define $ac_func innocuous_$ac_func
18750
18751 /* System header to define __stub macros and hopefully few prototypes,
18752     which can conflict with char $ac_func (); below.
18753     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18754     <limits.h> exists even on freestanding compilers.  */
18755
18756 #ifdef __STDC__
18757 # include <limits.h>
18758 #else
18759 # include <assert.h>
18760 #endif
18761
18762 #undef $ac_func
18763
18764 /* Override any gcc2 internal prototype to avoid an error.  */
18765 #ifdef __cplusplus
18766 extern "C"
18767 {
18768 #endif
18769 /* We use char because int might match the return type of a gcc2
18770    builtin and then its argument prototype would still apply.  */
18771 char $ac_func ();
18772 /* The GNU C library defines this for functions which it implements
18773     to always fail with ENOSYS.  Some functions are actually named
18774     something starting with __ and the normal name is an alias.  */
18775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18776 choke me
18777 #else
18778 char (*f) () = $ac_func;
18779 #endif
18780 #ifdef __cplusplus
18781 }
18782 #endif
18783
18784 int
18785 main ()
18786 {
18787 return f != $ac_func;
18788   ;
18789   return 0;
18790 }
18791 _ACEOF
18792 rm -f conftest.$ac_objext conftest$ac_exeext
18793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18794   (eval $ac_link) 2>conftest.er1
18795   ac_status=$?
18796   grep -v '^ *+' conftest.er1 >conftest.err
18797   rm -f conftest.er1
18798   cat conftest.err >&5
18799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800   (exit $ac_status); } &&
18801          { ac_try='test -z "$ac_c_werror_flag"
18802                          || test ! -s conftest.err'
18803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18804   (eval $ac_try) 2>&5
18805   ac_status=$?
18806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18807   (exit $ac_status); }; } &&
18808          { ac_try='test -s conftest$ac_exeext'
18809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18810   (eval $ac_try) 2>&5
18811   ac_status=$?
18812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18813   (exit $ac_status); }; }; then
18814   eval "$as_ac_var=yes"
18815 else
18816   echo "$as_me: failed program was:" >&5
18817 sed 's/^/| /' conftest.$ac_ext >&5
18818
18819 eval "$as_ac_var=no"
18820 fi
18821 rm -f conftest.err conftest.$ac_objext \
18822       conftest$ac_exeext conftest.$ac_ext
18823 fi
18824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18826 if test `eval echo '${'$as_ac_var'}'` = yes; then
18827   cat >>confdefs.h <<_ACEOF
18828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18829 _ACEOF
18830
18831 fi
18832 done
18833
18834     fi
18835   fi
18836
18837
18838
18839   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
18840 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
18841   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
18842     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
18843   echo $ECHO_N "(cached) $ECHO_C" >&6
18844 else
18845
18846
18847
18848       ac_ext=cc
18849 ac_cpp='$CXXCPP $CPPFLAGS'
18850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18853
18854       cat >conftest.$ac_ext <<_ACEOF
18855 /* confdefs.h.  */
18856 _ACEOF
18857 cat confdefs.h >>conftest.$ac_ext
18858 cat >>conftest.$ac_ext <<_ACEOF
18859 /* end confdefs.h.  */
18860 #include <math.h>
18861 int
18862 main ()
18863 {
18864  copysignl(0, 0);
18865   ;
18866   return 0;
18867 }
18868 _ACEOF
18869 rm -f conftest.$ac_objext
18870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18871   (eval $ac_compile) 2>conftest.er1
18872   ac_status=$?
18873   grep -v '^ *+' conftest.er1 >conftest.err
18874   rm -f conftest.er1
18875   cat conftest.err >&5
18876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18877   (exit $ac_status); } &&
18878          { ac_try='test -z "$ac_cxx_werror_flag"
18879                          || test ! -s conftest.err'
18880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18881   (eval $ac_try) 2>&5
18882   ac_status=$?
18883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884   (exit $ac_status); }; } &&
18885          { ac_try='test -s conftest.$ac_objext'
18886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18887   (eval $ac_try) 2>&5
18888   ac_status=$?
18889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18890   (exit $ac_status); }; }; then
18891   glibcxx_cv_func_copysignl_use=yes
18892 else
18893   echo "$as_me: failed program was:" >&5
18894 sed 's/^/| /' conftest.$ac_ext >&5
18895
18896 glibcxx_cv_func_copysignl_use=no
18897 fi
18898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18899       ac_ext=c
18900 ac_cpp='$CPP $CPPFLAGS'
18901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18904
18905
18906 fi
18907
18908   fi
18909   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
18910 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
18911
18912   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
18913
18914 for ac_func in copysignl
18915 do
18916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18917 echo "$as_me:$LINENO: checking for $ac_func" >&5
18918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18919 if eval "test \"\${$as_ac_var+set}\" = set"; then
18920   echo $ECHO_N "(cached) $ECHO_C" >&6
18921 else
18922   if test x$gcc_no_link = xyes; then
18923   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18925    { (exit 1); exit 1; }; }
18926 fi
18927 cat >conftest.$ac_ext <<_ACEOF
18928 /* confdefs.h.  */
18929 _ACEOF
18930 cat confdefs.h >>conftest.$ac_ext
18931 cat >>conftest.$ac_ext <<_ACEOF
18932 /* end confdefs.h.  */
18933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18934    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18935 #define $ac_func innocuous_$ac_func
18936
18937 /* System header to define __stub macros and hopefully few prototypes,
18938     which can conflict with char $ac_func (); below.
18939     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18940     <limits.h> exists even on freestanding compilers.  */
18941
18942 #ifdef __STDC__
18943 # include <limits.h>
18944 #else
18945 # include <assert.h>
18946 #endif
18947
18948 #undef $ac_func
18949
18950 /* Override any gcc2 internal prototype to avoid an error.  */
18951 #ifdef __cplusplus
18952 extern "C"
18953 {
18954 #endif
18955 /* We use char because int might match the return type of a gcc2
18956    builtin and then its argument prototype would still apply.  */
18957 char $ac_func ();
18958 /* The GNU C library defines this for functions which it implements
18959     to always fail with ENOSYS.  Some functions are actually named
18960     something starting with __ and the normal name is an alias.  */
18961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18962 choke me
18963 #else
18964 char (*f) () = $ac_func;
18965 #endif
18966 #ifdef __cplusplus
18967 }
18968 #endif
18969
18970 int
18971 main ()
18972 {
18973 return f != $ac_func;
18974   ;
18975   return 0;
18976 }
18977 _ACEOF
18978 rm -f conftest.$ac_objext conftest$ac_exeext
18979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18980   (eval $ac_link) 2>conftest.er1
18981   ac_status=$?
18982   grep -v '^ *+' conftest.er1 >conftest.err
18983   rm -f conftest.er1
18984   cat conftest.err >&5
18985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18986   (exit $ac_status); } &&
18987          { ac_try='test -z "$ac_c_werror_flag"
18988                          || test ! -s conftest.err'
18989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18990   (eval $ac_try) 2>&5
18991   ac_status=$?
18992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18993   (exit $ac_status); }; } &&
18994          { ac_try='test -s conftest$ac_exeext'
18995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18996   (eval $ac_try) 2>&5
18997   ac_status=$?
18998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18999   (exit $ac_status); }; }; then
19000   eval "$as_ac_var=yes"
19001 else
19002   echo "$as_me: failed program was:" >&5
19003 sed 's/^/| /' conftest.$ac_ext >&5
19004
19005 eval "$as_ac_var=no"
19006 fi
19007 rm -f conftest.err conftest.$ac_objext \
19008       conftest$ac_exeext conftest.$ac_ext
19009 fi
19010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19012 if test `eval echo '${'$as_ac_var'}'` = yes; then
19013   cat >>confdefs.h <<_ACEOF
19014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19015 _ACEOF
19016
19017 fi
19018 done
19019
19020   else
19021
19022   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
19023 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
19024   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
19025     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
19026   echo $ECHO_N "(cached) $ECHO_C" >&6
19027 else
19028
19029
19030
19031       ac_ext=cc
19032 ac_cpp='$CXXCPP $CPPFLAGS'
19033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19036
19037       cat >conftest.$ac_ext <<_ACEOF
19038 /* confdefs.h.  */
19039 _ACEOF
19040 cat confdefs.h >>conftest.$ac_ext
19041 cat >>conftest.$ac_ext <<_ACEOF
19042 /* end confdefs.h.  */
19043 #include <math.h>
19044 int
19045 main ()
19046 {
19047  _copysignl(0, 0);
19048   ;
19049   return 0;
19050 }
19051 _ACEOF
19052 rm -f conftest.$ac_objext
19053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19054   (eval $ac_compile) 2>conftest.er1
19055   ac_status=$?
19056   grep -v '^ *+' conftest.er1 >conftest.err
19057   rm -f conftest.er1
19058   cat conftest.err >&5
19059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19060   (exit $ac_status); } &&
19061          { ac_try='test -z "$ac_cxx_werror_flag"
19062                          || test ! -s conftest.err'
19063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19064   (eval $ac_try) 2>&5
19065   ac_status=$?
19066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067   (exit $ac_status); }; } &&
19068          { ac_try='test -s conftest.$ac_objext'
19069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19070   (eval $ac_try) 2>&5
19071   ac_status=$?
19072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19073   (exit $ac_status); }; }; then
19074   glibcxx_cv_func__copysignl_use=yes
19075 else
19076   echo "$as_me: failed program was:" >&5
19077 sed 's/^/| /' conftest.$ac_ext >&5
19078
19079 glibcxx_cv_func__copysignl_use=no
19080 fi
19081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19082       ac_ext=c
19083 ac_cpp='$CPP $CPPFLAGS'
19084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19087
19088
19089 fi
19090
19091   fi
19092   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
19093 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
19094
19095     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
19096
19097 for ac_func in _copysignl
19098 do
19099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19100 echo "$as_me:$LINENO: checking for $ac_func" >&5
19101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19102 if eval "test \"\${$as_ac_var+set}\" = set"; then
19103   echo $ECHO_N "(cached) $ECHO_C" >&6
19104 else
19105   if test x$gcc_no_link = xyes; then
19106   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19108    { (exit 1); exit 1; }; }
19109 fi
19110 cat >conftest.$ac_ext <<_ACEOF
19111 /* confdefs.h.  */
19112 _ACEOF
19113 cat confdefs.h >>conftest.$ac_ext
19114 cat >>conftest.$ac_ext <<_ACEOF
19115 /* end confdefs.h.  */
19116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19117    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19118 #define $ac_func innocuous_$ac_func
19119
19120 /* System header to define __stub macros and hopefully few prototypes,
19121     which can conflict with char $ac_func (); below.
19122     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19123     <limits.h> exists even on freestanding compilers.  */
19124
19125 #ifdef __STDC__
19126 # include <limits.h>
19127 #else
19128 # include <assert.h>
19129 #endif
19130
19131 #undef $ac_func
19132
19133 /* Override any gcc2 internal prototype to avoid an error.  */
19134 #ifdef __cplusplus
19135 extern "C"
19136 {
19137 #endif
19138 /* We use char because int might match the return type of a gcc2
19139    builtin and then its argument prototype would still apply.  */
19140 char $ac_func ();
19141 /* The GNU C library defines this for functions which it implements
19142     to always fail with ENOSYS.  Some functions are actually named
19143     something starting with __ and the normal name is an alias.  */
19144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19145 choke me
19146 #else
19147 char (*f) () = $ac_func;
19148 #endif
19149 #ifdef __cplusplus
19150 }
19151 #endif
19152
19153 int
19154 main ()
19155 {
19156 return f != $ac_func;
19157   ;
19158   return 0;
19159 }
19160 _ACEOF
19161 rm -f conftest.$ac_objext conftest$ac_exeext
19162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19163   (eval $ac_link) 2>conftest.er1
19164   ac_status=$?
19165   grep -v '^ *+' conftest.er1 >conftest.err
19166   rm -f conftest.er1
19167   cat conftest.err >&5
19168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169   (exit $ac_status); } &&
19170          { ac_try='test -z "$ac_c_werror_flag"
19171                          || test ! -s conftest.err'
19172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19173   (eval $ac_try) 2>&5
19174   ac_status=$?
19175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176   (exit $ac_status); }; } &&
19177          { ac_try='test -s conftest$ac_exeext'
19178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19179   (eval $ac_try) 2>&5
19180   ac_status=$?
19181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19182   (exit $ac_status); }; }; then
19183   eval "$as_ac_var=yes"
19184 else
19185   echo "$as_me: failed program was:" >&5
19186 sed 's/^/| /' conftest.$ac_ext >&5
19187
19188 eval "$as_ac_var=no"
19189 fi
19190 rm -f conftest.err conftest.$ac_objext \
19191       conftest$ac_exeext conftest.$ac_ext
19192 fi
19193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19195 if test `eval echo '${'$as_ac_var'}'` = yes; then
19196   cat >>confdefs.h <<_ACEOF
19197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19198 _ACEOF
19199
19200 fi
19201 done
19202
19203     fi
19204   fi
19205
19206
19207
19208   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
19209 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
19210   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
19211     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
19212   echo $ECHO_N "(cached) $ECHO_C" >&6
19213 else
19214
19215
19216
19217       ac_ext=cc
19218 ac_cpp='$CXXCPP $CPPFLAGS'
19219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19222
19223       cat >conftest.$ac_ext <<_ACEOF
19224 /* confdefs.h.  */
19225 _ACEOF
19226 cat confdefs.h >>conftest.$ac_ext
19227 cat >>conftest.$ac_ext <<_ACEOF
19228 /* end confdefs.h.  */
19229 #include <math.h>
19230 int
19231 main ()
19232 {
19233  atan2l(0, 0);
19234   ;
19235   return 0;
19236 }
19237 _ACEOF
19238 rm -f conftest.$ac_objext
19239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19240   (eval $ac_compile) 2>conftest.er1
19241   ac_status=$?
19242   grep -v '^ *+' conftest.er1 >conftest.err
19243   rm -f conftest.er1
19244   cat conftest.err >&5
19245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19246   (exit $ac_status); } &&
19247          { ac_try='test -z "$ac_cxx_werror_flag"
19248                          || test ! -s conftest.err'
19249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19250   (eval $ac_try) 2>&5
19251   ac_status=$?
19252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19253   (exit $ac_status); }; } &&
19254          { ac_try='test -s conftest.$ac_objext'
19255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19256   (eval $ac_try) 2>&5
19257   ac_status=$?
19258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19259   (exit $ac_status); }; }; then
19260   glibcxx_cv_func_atan2l_use=yes
19261 else
19262   echo "$as_me: failed program was:" >&5
19263 sed 's/^/| /' conftest.$ac_ext >&5
19264
19265 glibcxx_cv_func_atan2l_use=no
19266 fi
19267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19268       ac_ext=c
19269 ac_cpp='$CPP $CPPFLAGS'
19270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19273
19274
19275 fi
19276
19277   fi
19278   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
19279 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
19280
19281   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
19282
19283 for ac_func in atan2l
19284 do
19285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19286 echo "$as_me:$LINENO: checking for $ac_func" >&5
19287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19288 if eval "test \"\${$as_ac_var+set}\" = set"; then
19289   echo $ECHO_N "(cached) $ECHO_C" >&6
19290 else
19291   if test x$gcc_no_link = xyes; then
19292   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19294    { (exit 1); exit 1; }; }
19295 fi
19296 cat >conftest.$ac_ext <<_ACEOF
19297 /* confdefs.h.  */
19298 _ACEOF
19299 cat confdefs.h >>conftest.$ac_ext
19300 cat >>conftest.$ac_ext <<_ACEOF
19301 /* end confdefs.h.  */
19302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19303    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19304 #define $ac_func innocuous_$ac_func
19305
19306 /* System header to define __stub macros and hopefully few prototypes,
19307     which can conflict with char $ac_func (); below.
19308     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19309     <limits.h> exists even on freestanding compilers.  */
19310
19311 #ifdef __STDC__
19312 # include <limits.h>
19313 #else
19314 # include <assert.h>
19315 #endif
19316
19317 #undef $ac_func
19318
19319 /* Override any gcc2 internal prototype to avoid an error.  */
19320 #ifdef __cplusplus
19321 extern "C"
19322 {
19323 #endif
19324 /* We use char because int might match the return type of a gcc2
19325    builtin and then its argument prototype would still apply.  */
19326 char $ac_func ();
19327 /* The GNU C library defines this for functions which it implements
19328     to always fail with ENOSYS.  Some functions are actually named
19329     something starting with __ and the normal name is an alias.  */
19330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19331 choke me
19332 #else
19333 char (*f) () = $ac_func;
19334 #endif
19335 #ifdef __cplusplus
19336 }
19337 #endif
19338
19339 int
19340 main ()
19341 {
19342 return f != $ac_func;
19343   ;
19344   return 0;
19345 }
19346 _ACEOF
19347 rm -f conftest.$ac_objext conftest$ac_exeext
19348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19349   (eval $ac_link) 2>conftest.er1
19350   ac_status=$?
19351   grep -v '^ *+' conftest.er1 >conftest.err
19352   rm -f conftest.er1
19353   cat conftest.err >&5
19354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355   (exit $ac_status); } &&
19356          { ac_try='test -z "$ac_c_werror_flag"
19357                          || test ! -s conftest.err'
19358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19359   (eval $ac_try) 2>&5
19360   ac_status=$?
19361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19362   (exit $ac_status); }; } &&
19363          { ac_try='test -s conftest$ac_exeext'
19364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19365   (eval $ac_try) 2>&5
19366   ac_status=$?
19367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19368   (exit $ac_status); }; }; then
19369   eval "$as_ac_var=yes"
19370 else
19371   echo "$as_me: failed program was:" >&5
19372 sed 's/^/| /' conftest.$ac_ext >&5
19373
19374 eval "$as_ac_var=no"
19375 fi
19376 rm -f conftest.err conftest.$ac_objext \
19377       conftest$ac_exeext conftest.$ac_ext
19378 fi
19379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19381 if test `eval echo '${'$as_ac_var'}'` = yes; then
19382   cat >>confdefs.h <<_ACEOF
19383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19384 _ACEOF
19385
19386 fi
19387 done
19388
19389   else
19390
19391   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
19392 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
19393   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
19394     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
19395   echo $ECHO_N "(cached) $ECHO_C" >&6
19396 else
19397
19398
19399
19400       ac_ext=cc
19401 ac_cpp='$CXXCPP $CPPFLAGS'
19402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19405
19406       cat >conftest.$ac_ext <<_ACEOF
19407 /* confdefs.h.  */
19408 _ACEOF
19409 cat confdefs.h >>conftest.$ac_ext
19410 cat >>conftest.$ac_ext <<_ACEOF
19411 /* end confdefs.h.  */
19412 #include <math.h>
19413 int
19414 main ()
19415 {
19416  _atan2l(0, 0);
19417   ;
19418   return 0;
19419 }
19420 _ACEOF
19421 rm -f conftest.$ac_objext
19422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19423   (eval $ac_compile) 2>conftest.er1
19424   ac_status=$?
19425   grep -v '^ *+' conftest.er1 >conftest.err
19426   rm -f conftest.er1
19427   cat conftest.err >&5
19428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19429   (exit $ac_status); } &&
19430          { ac_try='test -z "$ac_cxx_werror_flag"
19431                          || test ! -s conftest.err'
19432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19433   (eval $ac_try) 2>&5
19434   ac_status=$?
19435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19436   (exit $ac_status); }; } &&
19437          { ac_try='test -s conftest.$ac_objext'
19438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19439   (eval $ac_try) 2>&5
19440   ac_status=$?
19441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442   (exit $ac_status); }; }; then
19443   glibcxx_cv_func__atan2l_use=yes
19444 else
19445   echo "$as_me: failed program was:" >&5
19446 sed 's/^/| /' conftest.$ac_ext >&5
19447
19448 glibcxx_cv_func__atan2l_use=no
19449 fi
19450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19451       ac_ext=c
19452 ac_cpp='$CPP $CPPFLAGS'
19453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19456
19457
19458 fi
19459
19460   fi
19461   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
19462 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
19463
19464     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
19465
19466 for ac_func in _atan2l
19467 do
19468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19469 echo "$as_me:$LINENO: checking for $ac_func" >&5
19470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19471 if eval "test \"\${$as_ac_var+set}\" = set"; then
19472   echo $ECHO_N "(cached) $ECHO_C" >&6
19473 else
19474   if test x$gcc_no_link = xyes; then
19475   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19477    { (exit 1); exit 1; }; }
19478 fi
19479 cat >conftest.$ac_ext <<_ACEOF
19480 /* confdefs.h.  */
19481 _ACEOF
19482 cat confdefs.h >>conftest.$ac_ext
19483 cat >>conftest.$ac_ext <<_ACEOF
19484 /* end confdefs.h.  */
19485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19486    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19487 #define $ac_func innocuous_$ac_func
19488
19489 /* System header to define __stub macros and hopefully few prototypes,
19490     which can conflict with char $ac_func (); below.
19491     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19492     <limits.h> exists even on freestanding compilers.  */
19493
19494 #ifdef __STDC__
19495 # include <limits.h>
19496 #else
19497 # include <assert.h>
19498 #endif
19499
19500 #undef $ac_func
19501
19502 /* Override any gcc2 internal prototype to avoid an error.  */
19503 #ifdef __cplusplus
19504 extern "C"
19505 {
19506 #endif
19507 /* We use char because int might match the return type of a gcc2
19508    builtin and then its argument prototype would still apply.  */
19509 char $ac_func ();
19510 /* The GNU C library defines this for functions which it implements
19511     to always fail with ENOSYS.  Some functions are actually named
19512     something starting with __ and the normal name is an alias.  */
19513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19514 choke me
19515 #else
19516 char (*f) () = $ac_func;
19517 #endif
19518 #ifdef __cplusplus
19519 }
19520 #endif
19521
19522 int
19523 main ()
19524 {
19525 return f != $ac_func;
19526   ;
19527   return 0;
19528 }
19529 _ACEOF
19530 rm -f conftest.$ac_objext conftest$ac_exeext
19531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19532   (eval $ac_link) 2>conftest.er1
19533   ac_status=$?
19534   grep -v '^ *+' conftest.er1 >conftest.err
19535   rm -f conftest.er1
19536   cat conftest.err >&5
19537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538   (exit $ac_status); } &&
19539          { ac_try='test -z "$ac_c_werror_flag"
19540                          || test ! -s conftest.err'
19541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19542   (eval $ac_try) 2>&5
19543   ac_status=$?
19544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545   (exit $ac_status); }; } &&
19546          { ac_try='test -s conftest$ac_exeext'
19547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19548   (eval $ac_try) 2>&5
19549   ac_status=$?
19550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551   (exit $ac_status); }; }; then
19552   eval "$as_ac_var=yes"
19553 else
19554   echo "$as_me: failed program was:" >&5
19555 sed 's/^/| /' conftest.$ac_ext >&5
19556
19557 eval "$as_ac_var=no"
19558 fi
19559 rm -f conftest.err conftest.$ac_objext \
19560       conftest$ac_exeext conftest.$ac_ext
19561 fi
19562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19564 if test `eval echo '${'$as_ac_var'}'` = yes; then
19565   cat >>confdefs.h <<_ACEOF
19566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19567 _ACEOF
19568
19569 fi
19570 done
19571
19572     fi
19573   fi
19574
19575
19576
19577   echo "$as_me:$LINENO: checking for expl declaration" >&5
19578 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
19579   if test x${glibcxx_cv_func_expl_use+set} != xset; then
19580     if test "${glibcxx_cv_func_expl_use+set}" = set; then
19581   echo $ECHO_N "(cached) $ECHO_C" >&6
19582 else
19583
19584
19585
19586       ac_ext=cc
19587 ac_cpp='$CXXCPP $CPPFLAGS'
19588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19591
19592       cat >conftest.$ac_ext <<_ACEOF
19593 /* confdefs.h.  */
19594 _ACEOF
19595 cat confdefs.h >>conftest.$ac_ext
19596 cat >>conftest.$ac_ext <<_ACEOF
19597 /* end confdefs.h.  */
19598 #include <math.h>
19599                       #ifdef HAVE_IEEEFP_H
19600                       #include <ieeefp.h>
19601                       #endif
19602
19603 int
19604 main ()
19605 {
19606  expl(0);
19607   ;
19608   return 0;
19609 }
19610 _ACEOF
19611 rm -f conftest.$ac_objext
19612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19613   (eval $ac_compile) 2>conftest.er1
19614   ac_status=$?
19615   grep -v '^ *+' conftest.er1 >conftest.err
19616   rm -f conftest.er1
19617   cat conftest.err >&5
19618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19619   (exit $ac_status); } &&
19620          { ac_try='test -z "$ac_cxx_werror_flag"
19621                          || test ! -s conftest.err'
19622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19623   (eval $ac_try) 2>&5
19624   ac_status=$?
19625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19626   (exit $ac_status); }; } &&
19627          { ac_try='test -s conftest.$ac_objext'
19628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19629   (eval $ac_try) 2>&5
19630   ac_status=$?
19631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19632   (exit $ac_status); }; }; then
19633   glibcxx_cv_func_expl_use=yes
19634 else
19635   echo "$as_me: failed program was:" >&5
19636 sed 's/^/| /' conftest.$ac_ext >&5
19637
19638 glibcxx_cv_func_expl_use=no
19639 fi
19640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19641       ac_ext=c
19642 ac_cpp='$CPP $CPPFLAGS'
19643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19646
19647
19648 fi
19649
19650   fi
19651   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
19652 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
19653
19654   if test x$glibcxx_cv_func_expl_use = x"yes"; then
19655
19656 for ac_func in expl
19657 do
19658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19659 echo "$as_me:$LINENO: checking for $ac_func" >&5
19660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19661 if eval "test \"\${$as_ac_var+set}\" = set"; then
19662   echo $ECHO_N "(cached) $ECHO_C" >&6
19663 else
19664   if test x$gcc_no_link = xyes; then
19665   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19667    { (exit 1); exit 1; }; }
19668 fi
19669 cat >conftest.$ac_ext <<_ACEOF
19670 /* confdefs.h.  */
19671 _ACEOF
19672 cat confdefs.h >>conftest.$ac_ext
19673 cat >>conftest.$ac_ext <<_ACEOF
19674 /* end confdefs.h.  */
19675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19676    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19677 #define $ac_func innocuous_$ac_func
19678
19679 /* System header to define __stub macros and hopefully few prototypes,
19680     which can conflict with char $ac_func (); below.
19681     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19682     <limits.h> exists even on freestanding compilers.  */
19683
19684 #ifdef __STDC__
19685 # include <limits.h>
19686 #else
19687 # include <assert.h>
19688 #endif
19689
19690 #undef $ac_func
19691
19692 /* Override any gcc2 internal prototype to avoid an error.  */
19693 #ifdef __cplusplus
19694 extern "C"
19695 {
19696 #endif
19697 /* We use char because int might match the return type of a gcc2
19698    builtin and then its argument prototype would still apply.  */
19699 char $ac_func ();
19700 /* The GNU C library defines this for functions which it implements
19701     to always fail with ENOSYS.  Some functions are actually named
19702     something starting with __ and the normal name is an alias.  */
19703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19704 choke me
19705 #else
19706 char (*f) () = $ac_func;
19707 #endif
19708 #ifdef __cplusplus
19709 }
19710 #endif
19711
19712 int
19713 main ()
19714 {
19715 return f != $ac_func;
19716   ;
19717   return 0;
19718 }
19719 _ACEOF
19720 rm -f conftest.$ac_objext conftest$ac_exeext
19721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19722   (eval $ac_link) 2>conftest.er1
19723   ac_status=$?
19724   grep -v '^ *+' conftest.er1 >conftest.err
19725   rm -f conftest.er1
19726   cat conftest.err >&5
19727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19728   (exit $ac_status); } &&
19729          { ac_try='test -z "$ac_c_werror_flag"
19730                          || test ! -s conftest.err'
19731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19732   (eval $ac_try) 2>&5
19733   ac_status=$?
19734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19735   (exit $ac_status); }; } &&
19736          { ac_try='test -s conftest$ac_exeext'
19737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19738   (eval $ac_try) 2>&5
19739   ac_status=$?
19740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19741   (exit $ac_status); }; }; then
19742   eval "$as_ac_var=yes"
19743 else
19744   echo "$as_me: failed program was:" >&5
19745 sed 's/^/| /' conftest.$ac_ext >&5
19746
19747 eval "$as_ac_var=no"
19748 fi
19749 rm -f conftest.err conftest.$ac_objext \
19750       conftest$ac_exeext conftest.$ac_ext
19751 fi
19752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19754 if test `eval echo '${'$as_ac_var'}'` = yes; then
19755   cat >>confdefs.h <<_ACEOF
19756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19757 _ACEOF
19758
19759 fi
19760 done
19761
19762   else
19763
19764   echo "$as_me:$LINENO: checking for _expl declaration" >&5
19765 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
19766   if test x${glibcxx_cv_func__expl_use+set} != xset; then
19767     if test "${glibcxx_cv_func__expl_use+set}" = set; then
19768   echo $ECHO_N "(cached) $ECHO_C" >&6
19769 else
19770
19771
19772
19773       ac_ext=cc
19774 ac_cpp='$CXXCPP $CPPFLAGS'
19775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19778
19779       cat >conftest.$ac_ext <<_ACEOF
19780 /* confdefs.h.  */
19781 _ACEOF
19782 cat confdefs.h >>conftest.$ac_ext
19783 cat >>conftest.$ac_ext <<_ACEOF
19784 /* end confdefs.h.  */
19785 #include <math.h>
19786                       #ifdef HAVE_IEEEFP_H
19787                       #include <ieeefp.h>
19788                       #endif
19789
19790 int
19791 main ()
19792 {
19793  _expl(0);
19794   ;
19795   return 0;
19796 }
19797 _ACEOF
19798 rm -f conftest.$ac_objext
19799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19800   (eval $ac_compile) 2>conftest.er1
19801   ac_status=$?
19802   grep -v '^ *+' conftest.er1 >conftest.err
19803   rm -f conftest.er1
19804   cat conftest.err >&5
19805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19806   (exit $ac_status); } &&
19807          { ac_try='test -z "$ac_cxx_werror_flag"
19808                          || test ! -s conftest.err'
19809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19810   (eval $ac_try) 2>&5
19811   ac_status=$?
19812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19813   (exit $ac_status); }; } &&
19814          { ac_try='test -s conftest.$ac_objext'
19815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19816   (eval $ac_try) 2>&5
19817   ac_status=$?
19818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19819   (exit $ac_status); }; }; then
19820   glibcxx_cv_func__expl_use=yes
19821 else
19822   echo "$as_me: failed program was:" >&5
19823 sed 's/^/| /' conftest.$ac_ext >&5
19824
19825 glibcxx_cv_func__expl_use=no
19826 fi
19827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19828       ac_ext=c
19829 ac_cpp='$CPP $CPPFLAGS'
19830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19833
19834
19835 fi
19836
19837   fi
19838   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
19839 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
19840
19841     if test x$glibcxx_cv_func__expl_use = x"yes"; then
19842
19843 for ac_func in _expl
19844 do
19845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19846 echo "$as_me:$LINENO: checking for $ac_func" >&5
19847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19848 if eval "test \"\${$as_ac_var+set}\" = set"; then
19849   echo $ECHO_N "(cached) $ECHO_C" >&6
19850 else
19851   if test x$gcc_no_link = xyes; then
19852   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19854    { (exit 1); exit 1; }; }
19855 fi
19856 cat >conftest.$ac_ext <<_ACEOF
19857 /* confdefs.h.  */
19858 _ACEOF
19859 cat confdefs.h >>conftest.$ac_ext
19860 cat >>conftest.$ac_ext <<_ACEOF
19861 /* end confdefs.h.  */
19862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19863    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19864 #define $ac_func innocuous_$ac_func
19865
19866 /* System header to define __stub macros and hopefully few prototypes,
19867     which can conflict with char $ac_func (); below.
19868     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19869     <limits.h> exists even on freestanding compilers.  */
19870
19871 #ifdef __STDC__
19872 # include <limits.h>
19873 #else
19874 # include <assert.h>
19875 #endif
19876
19877 #undef $ac_func
19878
19879 /* Override any gcc2 internal prototype to avoid an error.  */
19880 #ifdef __cplusplus
19881 extern "C"
19882 {
19883 #endif
19884 /* We use char because int might match the return type of a gcc2
19885    builtin and then its argument prototype would still apply.  */
19886 char $ac_func ();
19887 /* The GNU C library defines this for functions which it implements
19888     to always fail with ENOSYS.  Some functions are actually named
19889     something starting with __ and the normal name is an alias.  */
19890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19891 choke me
19892 #else
19893 char (*f) () = $ac_func;
19894 #endif
19895 #ifdef __cplusplus
19896 }
19897 #endif
19898
19899 int
19900 main ()
19901 {
19902 return f != $ac_func;
19903   ;
19904   return 0;
19905 }
19906 _ACEOF
19907 rm -f conftest.$ac_objext conftest$ac_exeext
19908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19909   (eval $ac_link) 2>conftest.er1
19910   ac_status=$?
19911   grep -v '^ *+' conftest.er1 >conftest.err
19912   rm -f conftest.er1
19913   cat conftest.err >&5
19914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19915   (exit $ac_status); } &&
19916          { ac_try='test -z "$ac_c_werror_flag"
19917                          || test ! -s conftest.err'
19918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19919   (eval $ac_try) 2>&5
19920   ac_status=$?
19921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922   (exit $ac_status); }; } &&
19923          { ac_try='test -s conftest$ac_exeext'
19924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19925   (eval $ac_try) 2>&5
19926   ac_status=$?
19927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19928   (exit $ac_status); }; }; then
19929   eval "$as_ac_var=yes"
19930 else
19931   echo "$as_me: failed program was:" >&5
19932 sed 's/^/| /' conftest.$ac_ext >&5
19933
19934 eval "$as_ac_var=no"
19935 fi
19936 rm -f conftest.err conftest.$ac_objext \
19937       conftest$ac_exeext conftest.$ac_ext
19938 fi
19939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19941 if test `eval echo '${'$as_ac_var'}'` = yes; then
19942   cat >>confdefs.h <<_ACEOF
19943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19944 _ACEOF
19945
19946 fi
19947 done
19948
19949     fi
19950   fi
19951
19952
19953
19954   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
19955 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
19956   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
19957     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
19958   echo $ECHO_N "(cached) $ECHO_C" >&6
19959 else
19960
19961
19962
19963       ac_ext=cc
19964 ac_cpp='$CXXCPP $CPPFLAGS'
19965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19968
19969       cat >conftest.$ac_ext <<_ACEOF
19970 /* confdefs.h.  */
19971 _ACEOF
19972 cat confdefs.h >>conftest.$ac_ext
19973 cat >>conftest.$ac_ext <<_ACEOF
19974 /* end confdefs.h.  */
19975 #include <math.h>
19976                       #ifdef HAVE_IEEEFP_H
19977                       #include <ieeefp.h>
19978                       #endif
19979
19980 int
19981 main ()
19982 {
19983  fabsl(0);
19984   ;
19985   return 0;
19986 }
19987 _ACEOF
19988 rm -f conftest.$ac_objext
19989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19990   (eval $ac_compile) 2>conftest.er1
19991   ac_status=$?
19992   grep -v '^ *+' conftest.er1 >conftest.err
19993   rm -f conftest.er1
19994   cat conftest.err >&5
19995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996   (exit $ac_status); } &&
19997          { ac_try='test -z "$ac_cxx_werror_flag"
19998                          || test ! -s conftest.err'
19999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20000   (eval $ac_try) 2>&5
20001   ac_status=$?
20002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20003   (exit $ac_status); }; } &&
20004          { ac_try='test -s conftest.$ac_objext'
20005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20006   (eval $ac_try) 2>&5
20007   ac_status=$?
20008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20009   (exit $ac_status); }; }; then
20010   glibcxx_cv_func_fabsl_use=yes
20011 else
20012   echo "$as_me: failed program was:" >&5
20013 sed 's/^/| /' conftest.$ac_ext >&5
20014
20015 glibcxx_cv_func_fabsl_use=no
20016 fi
20017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20018       ac_ext=c
20019 ac_cpp='$CPP $CPPFLAGS'
20020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20023
20024
20025 fi
20026
20027   fi
20028   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
20029 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
20030
20031   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
20032
20033 for ac_func in fabsl
20034 do
20035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20036 echo "$as_me:$LINENO: checking for $ac_func" >&5
20037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20038 if eval "test \"\${$as_ac_var+set}\" = set"; then
20039   echo $ECHO_N "(cached) $ECHO_C" >&6
20040 else
20041   if test x$gcc_no_link = xyes; then
20042   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20044    { (exit 1); exit 1; }; }
20045 fi
20046 cat >conftest.$ac_ext <<_ACEOF
20047 /* confdefs.h.  */
20048 _ACEOF
20049 cat confdefs.h >>conftest.$ac_ext
20050 cat >>conftest.$ac_ext <<_ACEOF
20051 /* end confdefs.h.  */
20052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20053    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20054 #define $ac_func innocuous_$ac_func
20055
20056 /* System header to define __stub macros and hopefully few prototypes,
20057     which can conflict with char $ac_func (); below.
20058     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20059     <limits.h> exists even on freestanding compilers.  */
20060
20061 #ifdef __STDC__
20062 # include <limits.h>
20063 #else
20064 # include <assert.h>
20065 #endif
20066
20067 #undef $ac_func
20068
20069 /* Override any gcc2 internal prototype to avoid an error.  */
20070 #ifdef __cplusplus
20071 extern "C"
20072 {
20073 #endif
20074 /* We use char because int might match the return type of a gcc2
20075    builtin and then its argument prototype would still apply.  */
20076 char $ac_func ();
20077 /* The GNU C library defines this for functions which it implements
20078     to always fail with ENOSYS.  Some functions are actually named
20079     something starting with __ and the normal name is an alias.  */
20080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20081 choke me
20082 #else
20083 char (*f) () = $ac_func;
20084 #endif
20085 #ifdef __cplusplus
20086 }
20087 #endif
20088
20089 int
20090 main ()
20091 {
20092 return f != $ac_func;
20093   ;
20094   return 0;
20095 }
20096 _ACEOF
20097 rm -f conftest.$ac_objext conftest$ac_exeext
20098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20099   (eval $ac_link) 2>conftest.er1
20100   ac_status=$?
20101   grep -v '^ *+' conftest.er1 >conftest.err
20102   rm -f conftest.er1
20103   cat conftest.err >&5
20104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105   (exit $ac_status); } &&
20106          { ac_try='test -z "$ac_c_werror_flag"
20107                          || test ! -s conftest.err'
20108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20109   (eval $ac_try) 2>&5
20110   ac_status=$?
20111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112   (exit $ac_status); }; } &&
20113          { ac_try='test -s conftest$ac_exeext'
20114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20115   (eval $ac_try) 2>&5
20116   ac_status=$?
20117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118   (exit $ac_status); }; }; then
20119   eval "$as_ac_var=yes"
20120 else
20121   echo "$as_me: failed program was:" >&5
20122 sed 's/^/| /' conftest.$ac_ext >&5
20123
20124 eval "$as_ac_var=no"
20125 fi
20126 rm -f conftest.err conftest.$ac_objext \
20127       conftest$ac_exeext conftest.$ac_ext
20128 fi
20129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20131 if test `eval echo '${'$as_ac_var'}'` = yes; then
20132   cat >>confdefs.h <<_ACEOF
20133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20134 _ACEOF
20135
20136 fi
20137 done
20138
20139   else
20140
20141   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
20142 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
20143   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
20144     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
20145   echo $ECHO_N "(cached) $ECHO_C" >&6
20146 else
20147
20148
20149
20150       ac_ext=cc
20151 ac_cpp='$CXXCPP $CPPFLAGS'
20152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20155
20156       cat >conftest.$ac_ext <<_ACEOF
20157 /* confdefs.h.  */
20158 _ACEOF
20159 cat confdefs.h >>conftest.$ac_ext
20160 cat >>conftest.$ac_ext <<_ACEOF
20161 /* end confdefs.h.  */
20162 #include <math.h>
20163                       #ifdef HAVE_IEEEFP_H
20164                       #include <ieeefp.h>
20165                       #endif
20166
20167 int
20168 main ()
20169 {
20170  _fabsl(0);
20171   ;
20172   return 0;
20173 }
20174 _ACEOF
20175 rm -f conftest.$ac_objext
20176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20177   (eval $ac_compile) 2>conftest.er1
20178   ac_status=$?
20179   grep -v '^ *+' conftest.er1 >conftest.err
20180   rm -f conftest.er1
20181   cat conftest.err >&5
20182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20183   (exit $ac_status); } &&
20184          { ac_try='test -z "$ac_cxx_werror_flag"
20185                          || test ! -s conftest.err'
20186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20187   (eval $ac_try) 2>&5
20188   ac_status=$?
20189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190   (exit $ac_status); }; } &&
20191          { ac_try='test -s conftest.$ac_objext'
20192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20193   (eval $ac_try) 2>&5
20194   ac_status=$?
20195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196   (exit $ac_status); }; }; then
20197   glibcxx_cv_func__fabsl_use=yes
20198 else
20199   echo "$as_me: failed program was:" >&5
20200 sed 's/^/| /' conftest.$ac_ext >&5
20201
20202 glibcxx_cv_func__fabsl_use=no
20203 fi
20204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20205       ac_ext=c
20206 ac_cpp='$CPP $CPPFLAGS'
20207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20210
20211
20212 fi
20213
20214   fi
20215   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
20216 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
20217
20218     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
20219
20220 for ac_func in _fabsl
20221 do
20222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20223 echo "$as_me:$LINENO: checking for $ac_func" >&5
20224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20225 if eval "test \"\${$as_ac_var+set}\" = set"; then
20226   echo $ECHO_N "(cached) $ECHO_C" >&6
20227 else
20228   if test x$gcc_no_link = xyes; then
20229   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20231    { (exit 1); exit 1; }; }
20232 fi
20233 cat >conftest.$ac_ext <<_ACEOF
20234 /* confdefs.h.  */
20235 _ACEOF
20236 cat confdefs.h >>conftest.$ac_ext
20237 cat >>conftest.$ac_ext <<_ACEOF
20238 /* end confdefs.h.  */
20239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20240    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20241 #define $ac_func innocuous_$ac_func
20242
20243 /* System header to define __stub macros and hopefully few prototypes,
20244     which can conflict with char $ac_func (); below.
20245     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20246     <limits.h> exists even on freestanding compilers.  */
20247
20248 #ifdef __STDC__
20249 # include <limits.h>
20250 #else
20251 # include <assert.h>
20252 #endif
20253
20254 #undef $ac_func
20255
20256 /* Override any gcc2 internal prototype to avoid an error.  */
20257 #ifdef __cplusplus
20258 extern "C"
20259 {
20260 #endif
20261 /* We use char because int might match the return type of a gcc2
20262    builtin and then its argument prototype would still apply.  */
20263 char $ac_func ();
20264 /* The GNU C library defines this for functions which it implements
20265     to always fail with ENOSYS.  Some functions are actually named
20266     something starting with __ and the normal name is an alias.  */
20267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20268 choke me
20269 #else
20270 char (*f) () = $ac_func;
20271 #endif
20272 #ifdef __cplusplus
20273 }
20274 #endif
20275
20276 int
20277 main ()
20278 {
20279 return f != $ac_func;
20280   ;
20281   return 0;
20282 }
20283 _ACEOF
20284 rm -f conftest.$ac_objext conftest$ac_exeext
20285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20286   (eval $ac_link) 2>conftest.er1
20287   ac_status=$?
20288   grep -v '^ *+' conftest.er1 >conftest.err
20289   rm -f conftest.er1
20290   cat conftest.err >&5
20291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292   (exit $ac_status); } &&
20293          { ac_try='test -z "$ac_c_werror_flag"
20294                          || test ! -s conftest.err'
20295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20296   (eval $ac_try) 2>&5
20297   ac_status=$?
20298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299   (exit $ac_status); }; } &&
20300          { ac_try='test -s conftest$ac_exeext'
20301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20302   (eval $ac_try) 2>&5
20303   ac_status=$?
20304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20305   (exit $ac_status); }; }; then
20306   eval "$as_ac_var=yes"
20307 else
20308   echo "$as_me: failed program was:" >&5
20309 sed 's/^/| /' conftest.$ac_ext >&5
20310
20311 eval "$as_ac_var=no"
20312 fi
20313 rm -f conftest.err conftest.$ac_objext \
20314       conftest$ac_exeext conftest.$ac_ext
20315 fi
20316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20318 if test `eval echo '${'$as_ac_var'}'` = yes; then
20319   cat >>confdefs.h <<_ACEOF
20320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20321 _ACEOF
20322
20323 fi
20324 done
20325
20326     fi
20327   fi
20328
20329
20330
20331   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
20332 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
20333   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
20334     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
20335   echo $ECHO_N "(cached) $ECHO_C" >&6
20336 else
20337
20338
20339
20340       ac_ext=cc
20341 ac_cpp='$CXXCPP $CPPFLAGS'
20342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20345
20346       cat >conftest.$ac_ext <<_ACEOF
20347 /* confdefs.h.  */
20348 _ACEOF
20349 cat confdefs.h >>conftest.$ac_ext
20350 cat >>conftest.$ac_ext <<_ACEOF
20351 /* end confdefs.h.  */
20352 #include <math.h>
20353 int
20354 main ()
20355 {
20356  fmodl(0, 0);
20357   ;
20358   return 0;
20359 }
20360 _ACEOF
20361 rm -f conftest.$ac_objext
20362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20363   (eval $ac_compile) 2>conftest.er1
20364   ac_status=$?
20365   grep -v '^ *+' conftest.er1 >conftest.err
20366   rm -f conftest.er1
20367   cat conftest.err >&5
20368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20369   (exit $ac_status); } &&
20370          { ac_try='test -z "$ac_cxx_werror_flag"
20371                          || test ! -s conftest.err'
20372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20373   (eval $ac_try) 2>&5
20374   ac_status=$?
20375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20376   (exit $ac_status); }; } &&
20377          { ac_try='test -s conftest.$ac_objext'
20378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20379   (eval $ac_try) 2>&5
20380   ac_status=$?
20381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20382   (exit $ac_status); }; }; then
20383   glibcxx_cv_func_fmodl_use=yes
20384 else
20385   echo "$as_me: failed program was:" >&5
20386 sed 's/^/| /' conftest.$ac_ext >&5
20387
20388 glibcxx_cv_func_fmodl_use=no
20389 fi
20390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20391       ac_ext=c
20392 ac_cpp='$CPP $CPPFLAGS'
20393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20396
20397
20398 fi
20399
20400   fi
20401   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
20402 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
20403
20404   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
20405
20406 for ac_func in fmodl
20407 do
20408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20409 echo "$as_me:$LINENO: checking for $ac_func" >&5
20410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20411 if eval "test \"\${$as_ac_var+set}\" = set"; then
20412   echo $ECHO_N "(cached) $ECHO_C" >&6
20413 else
20414   if test x$gcc_no_link = xyes; then
20415   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20417    { (exit 1); exit 1; }; }
20418 fi
20419 cat >conftest.$ac_ext <<_ACEOF
20420 /* confdefs.h.  */
20421 _ACEOF
20422 cat confdefs.h >>conftest.$ac_ext
20423 cat >>conftest.$ac_ext <<_ACEOF
20424 /* end confdefs.h.  */
20425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20426    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20427 #define $ac_func innocuous_$ac_func
20428
20429 /* System header to define __stub macros and hopefully few prototypes,
20430     which can conflict with char $ac_func (); below.
20431     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20432     <limits.h> exists even on freestanding compilers.  */
20433
20434 #ifdef __STDC__
20435 # include <limits.h>
20436 #else
20437 # include <assert.h>
20438 #endif
20439
20440 #undef $ac_func
20441
20442 /* Override any gcc2 internal prototype to avoid an error.  */
20443 #ifdef __cplusplus
20444 extern "C"
20445 {
20446 #endif
20447 /* We use char because int might match the return type of a gcc2
20448    builtin and then its argument prototype would still apply.  */
20449 char $ac_func ();
20450 /* The GNU C library defines this for functions which it implements
20451     to always fail with ENOSYS.  Some functions are actually named
20452     something starting with __ and the normal name is an alias.  */
20453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20454 choke me
20455 #else
20456 char (*f) () = $ac_func;
20457 #endif
20458 #ifdef __cplusplus
20459 }
20460 #endif
20461
20462 int
20463 main ()
20464 {
20465 return f != $ac_func;
20466   ;
20467   return 0;
20468 }
20469 _ACEOF
20470 rm -f conftest.$ac_objext conftest$ac_exeext
20471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20472   (eval $ac_link) 2>conftest.er1
20473   ac_status=$?
20474   grep -v '^ *+' conftest.er1 >conftest.err
20475   rm -f conftest.er1
20476   cat conftest.err >&5
20477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20478   (exit $ac_status); } &&
20479          { ac_try='test -z "$ac_c_werror_flag"
20480                          || test ! -s conftest.err'
20481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20482   (eval $ac_try) 2>&5
20483   ac_status=$?
20484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20485   (exit $ac_status); }; } &&
20486          { ac_try='test -s conftest$ac_exeext'
20487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20488   (eval $ac_try) 2>&5
20489   ac_status=$?
20490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491   (exit $ac_status); }; }; then
20492   eval "$as_ac_var=yes"
20493 else
20494   echo "$as_me: failed program was:" >&5
20495 sed 's/^/| /' conftest.$ac_ext >&5
20496
20497 eval "$as_ac_var=no"
20498 fi
20499 rm -f conftest.err conftest.$ac_objext \
20500       conftest$ac_exeext conftest.$ac_ext
20501 fi
20502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20504 if test `eval echo '${'$as_ac_var'}'` = yes; then
20505   cat >>confdefs.h <<_ACEOF
20506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20507 _ACEOF
20508
20509 fi
20510 done
20511
20512   else
20513
20514   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
20515 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
20516   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
20517     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
20518   echo $ECHO_N "(cached) $ECHO_C" >&6
20519 else
20520
20521
20522
20523       ac_ext=cc
20524 ac_cpp='$CXXCPP $CPPFLAGS'
20525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20528
20529       cat >conftest.$ac_ext <<_ACEOF
20530 /* confdefs.h.  */
20531 _ACEOF
20532 cat confdefs.h >>conftest.$ac_ext
20533 cat >>conftest.$ac_ext <<_ACEOF
20534 /* end confdefs.h.  */
20535 #include <math.h>
20536 int
20537 main ()
20538 {
20539  _fmodl(0, 0);
20540   ;
20541   return 0;
20542 }
20543 _ACEOF
20544 rm -f conftest.$ac_objext
20545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20546   (eval $ac_compile) 2>conftest.er1
20547   ac_status=$?
20548   grep -v '^ *+' conftest.er1 >conftest.err
20549   rm -f conftest.er1
20550   cat conftest.err >&5
20551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20552   (exit $ac_status); } &&
20553          { ac_try='test -z "$ac_cxx_werror_flag"
20554                          || test ! -s conftest.err'
20555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20556   (eval $ac_try) 2>&5
20557   ac_status=$?
20558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20559   (exit $ac_status); }; } &&
20560          { ac_try='test -s conftest.$ac_objext'
20561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20562   (eval $ac_try) 2>&5
20563   ac_status=$?
20564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20565   (exit $ac_status); }; }; then
20566   glibcxx_cv_func__fmodl_use=yes
20567 else
20568   echo "$as_me: failed program was:" >&5
20569 sed 's/^/| /' conftest.$ac_ext >&5
20570
20571 glibcxx_cv_func__fmodl_use=no
20572 fi
20573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20574       ac_ext=c
20575 ac_cpp='$CPP $CPPFLAGS'
20576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20579
20580
20581 fi
20582
20583   fi
20584   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
20585 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
20586
20587     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
20588
20589 for ac_func in _fmodl
20590 do
20591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20592 echo "$as_me:$LINENO: checking for $ac_func" >&5
20593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20594 if eval "test \"\${$as_ac_var+set}\" = set"; then
20595   echo $ECHO_N "(cached) $ECHO_C" >&6
20596 else
20597   if test x$gcc_no_link = xyes; then
20598   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20600    { (exit 1); exit 1; }; }
20601 fi
20602 cat >conftest.$ac_ext <<_ACEOF
20603 /* confdefs.h.  */
20604 _ACEOF
20605 cat confdefs.h >>conftest.$ac_ext
20606 cat >>conftest.$ac_ext <<_ACEOF
20607 /* end confdefs.h.  */
20608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20609    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20610 #define $ac_func innocuous_$ac_func
20611
20612 /* System header to define __stub macros and hopefully few prototypes,
20613     which can conflict with char $ac_func (); below.
20614     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20615     <limits.h> exists even on freestanding compilers.  */
20616
20617 #ifdef __STDC__
20618 # include <limits.h>
20619 #else
20620 # include <assert.h>
20621 #endif
20622
20623 #undef $ac_func
20624
20625 /* Override any gcc2 internal prototype to avoid an error.  */
20626 #ifdef __cplusplus
20627 extern "C"
20628 {
20629 #endif
20630 /* We use char because int might match the return type of a gcc2
20631    builtin and then its argument prototype would still apply.  */
20632 char $ac_func ();
20633 /* The GNU C library defines this for functions which it implements
20634     to always fail with ENOSYS.  Some functions are actually named
20635     something starting with __ and the normal name is an alias.  */
20636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20637 choke me
20638 #else
20639 char (*f) () = $ac_func;
20640 #endif
20641 #ifdef __cplusplus
20642 }
20643 #endif
20644
20645 int
20646 main ()
20647 {
20648 return f != $ac_func;
20649   ;
20650   return 0;
20651 }
20652 _ACEOF
20653 rm -f conftest.$ac_objext conftest$ac_exeext
20654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20655   (eval $ac_link) 2>conftest.er1
20656   ac_status=$?
20657   grep -v '^ *+' conftest.er1 >conftest.err
20658   rm -f conftest.er1
20659   cat conftest.err >&5
20660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20661   (exit $ac_status); } &&
20662          { ac_try='test -z "$ac_c_werror_flag"
20663                          || test ! -s conftest.err'
20664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20665   (eval $ac_try) 2>&5
20666   ac_status=$?
20667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20668   (exit $ac_status); }; } &&
20669          { ac_try='test -s conftest$ac_exeext'
20670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20671   (eval $ac_try) 2>&5
20672   ac_status=$?
20673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674   (exit $ac_status); }; }; then
20675   eval "$as_ac_var=yes"
20676 else
20677   echo "$as_me: failed program was:" >&5
20678 sed 's/^/| /' conftest.$ac_ext >&5
20679
20680 eval "$as_ac_var=no"
20681 fi
20682 rm -f conftest.err conftest.$ac_objext \
20683       conftest$ac_exeext conftest.$ac_ext
20684 fi
20685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20687 if test `eval echo '${'$as_ac_var'}'` = yes; then
20688   cat >>confdefs.h <<_ACEOF
20689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20690 _ACEOF
20691
20692 fi
20693 done
20694
20695     fi
20696   fi
20697
20698
20699
20700   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
20701 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
20702   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
20703     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
20704   echo $ECHO_N "(cached) $ECHO_C" >&6
20705 else
20706
20707
20708
20709       ac_ext=cc
20710 ac_cpp='$CXXCPP $CPPFLAGS'
20711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20714
20715       cat >conftest.$ac_ext <<_ACEOF
20716 /* confdefs.h.  */
20717 _ACEOF
20718 cat confdefs.h >>conftest.$ac_ext
20719 cat >>conftest.$ac_ext <<_ACEOF
20720 /* end confdefs.h.  */
20721 #include <math.h>
20722 int
20723 main ()
20724 {
20725  frexpl(0, 0);
20726   ;
20727   return 0;
20728 }
20729 _ACEOF
20730 rm -f conftest.$ac_objext
20731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20732   (eval $ac_compile) 2>conftest.er1
20733   ac_status=$?
20734   grep -v '^ *+' conftest.er1 >conftest.err
20735   rm -f conftest.er1
20736   cat conftest.err >&5
20737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20738   (exit $ac_status); } &&
20739          { ac_try='test -z "$ac_cxx_werror_flag"
20740                          || test ! -s conftest.err'
20741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20742   (eval $ac_try) 2>&5
20743   ac_status=$?
20744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20745   (exit $ac_status); }; } &&
20746          { ac_try='test -s conftest.$ac_objext'
20747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20748   (eval $ac_try) 2>&5
20749   ac_status=$?
20750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20751   (exit $ac_status); }; }; then
20752   glibcxx_cv_func_frexpl_use=yes
20753 else
20754   echo "$as_me: failed program was:" >&5
20755 sed 's/^/| /' conftest.$ac_ext >&5
20756
20757 glibcxx_cv_func_frexpl_use=no
20758 fi
20759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20760       ac_ext=c
20761 ac_cpp='$CPP $CPPFLAGS'
20762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20765
20766
20767 fi
20768
20769   fi
20770   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
20771 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
20772
20773   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
20774
20775 for ac_func in frexpl
20776 do
20777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20778 echo "$as_me:$LINENO: checking for $ac_func" >&5
20779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20780 if eval "test \"\${$as_ac_var+set}\" = set"; then
20781   echo $ECHO_N "(cached) $ECHO_C" >&6
20782 else
20783   if test x$gcc_no_link = xyes; then
20784   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20786    { (exit 1); exit 1; }; }
20787 fi
20788 cat >conftest.$ac_ext <<_ACEOF
20789 /* confdefs.h.  */
20790 _ACEOF
20791 cat confdefs.h >>conftest.$ac_ext
20792 cat >>conftest.$ac_ext <<_ACEOF
20793 /* end confdefs.h.  */
20794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20795    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20796 #define $ac_func innocuous_$ac_func
20797
20798 /* System header to define __stub macros and hopefully few prototypes,
20799     which can conflict with char $ac_func (); below.
20800     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20801     <limits.h> exists even on freestanding compilers.  */
20802
20803 #ifdef __STDC__
20804 # include <limits.h>
20805 #else
20806 # include <assert.h>
20807 #endif
20808
20809 #undef $ac_func
20810
20811 /* Override any gcc2 internal prototype to avoid an error.  */
20812 #ifdef __cplusplus
20813 extern "C"
20814 {
20815 #endif
20816 /* We use char because int might match the return type of a gcc2
20817    builtin and then its argument prototype would still apply.  */
20818 char $ac_func ();
20819 /* The GNU C library defines this for functions which it implements
20820     to always fail with ENOSYS.  Some functions are actually named
20821     something starting with __ and the normal name is an alias.  */
20822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20823 choke me
20824 #else
20825 char (*f) () = $ac_func;
20826 #endif
20827 #ifdef __cplusplus
20828 }
20829 #endif
20830
20831 int
20832 main ()
20833 {
20834 return f != $ac_func;
20835   ;
20836   return 0;
20837 }
20838 _ACEOF
20839 rm -f conftest.$ac_objext conftest$ac_exeext
20840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20841   (eval $ac_link) 2>conftest.er1
20842   ac_status=$?
20843   grep -v '^ *+' conftest.er1 >conftest.err
20844   rm -f conftest.er1
20845   cat conftest.err >&5
20846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20847   (exit $ac_status); } &&
20848          { ac_try='test -z "$ac_c_werror_flag"
20849                          || test ! -s conftest.err'
20850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20851   (eval $ac_try) 2>&5
20852   ac_status=$?
20853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20854   (exit $ac_status); }; } &&
20855          { ac_try='test -s conftest$ac_exeext'
20856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20857   (eval $ac_try) 2>&5
20858   ac_status=$?
20859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20860   (exit $ac_status); }; }; then
20861   eval "$as_ac_var=yes"
20862 else
20863   echo "$as_me: failed program was:" >&5
20864 sed 's/^/| /' conftest.$ac_ext >&5
20865
20866 eval "$as_ac_var=no"
20867 fi
20868 rm -f conftest.err conftest.$ac_objext \
20869       conftest$ac_exeext conftest.$ac_ext
20870 fi
20871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20873 if test `eval echo '${'$as_ac_var'}'` = yes; then
20874   cat >>confdefs.h <<_ACEOF
20875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20876 _ACEOF
20877
20878 fi
20879 done
20880
20881   else
20882
20883   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
20884 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
20885   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
20886     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
20887   echo $ECHO_N "(cached) $ECHO_C" >&6
20888 else
20889
20890
20891
20892       ac_ext=cc
20893 ac_cpp='$CXXCPP $CPPFLAGS'
20894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20897
20898       cat >conftest.$ac_ext <<_ACEOF
20899 /* confdefs.h.  */
20900 _ACEOF
20901 cat confdefs.h >>conftest.$ac_ext
20902 cat >>conftest.$ac_ext <<_ACEOF
20903 /* end confdefs.h.  */
20904 #include <math.h>
20905 int
20906 main ()
20907 {
20908  _frexpl(0, 0);
20909   ;
20910   return 0;
20911 }
20912 _ACEOF
20913 rm -f conftest.$ac_objext
20914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20915   (eval $ac_compile) 2>conftest.er1
20916   ac_status=$?
20917   grep -v '^ *+' conftest.er1 >conftest.err
20918   rm -f conftest.er1
20919   cat conftest.err >&5
20920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921   (exit $ac_status); } &&
20922          { ac_try='test -z "$ac_cxx_werror_flag"
20923                          || test ! -s conftest.err'
20924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20925   (eval $ac_try) 2>&5
20926   ac_status=$?
20927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20928   (exit $ac_status); }; } &&
20929          { ac_try='test -s conftest.$ac_objext'
20930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20931   (eval $ac_try) 2>&5
20932   ac_status=$?
20933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20934   (exit $ac_status); }; }; then
20935   glibcxx_cv_func__frexpl_use=yes
20936 else
20937   echo "$as_me: failed program was:" >&5
20938 sed 's/^/| /' conftest.$ac_ext >&5
20939
20940 glibcxx_cv_func__frexpl_use=no
20941 fi
20942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20943       ac_ext=c
20944 ac_cpp='$CPP $CPPFLAGS'
20945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20948
20949
20950 fi
20951
20952   fi
20953   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
20954 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
20955
20956     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
20957
20958 for ac_func in _frexpl
20959 do
20960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20961 echo "$as_me:$LINENO: checking for $ac_func" >&5
20962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20963 if eval "test \"\${$as_ac_var+set}\" = set"; then
20964   echo $ECHO_N "(cached) $ECHO_C" >&6
20965 else
20966   if test x$gcc_no_link = xyes; then
20967   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20969    { (exit 1); exit 1; }; }
20970 fi
20971 cat >conftest.$ac_ext <<_ACEOF
20972 /* confdefs.h.  */
20973 _ACEOF
20974 cat confdefs.h >>conftest.$ac_ext
20975 cat >>conftest.$ac_ext <<_ACEOF
20976 /* end confdefs.h.  */
20977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20978    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20979 #define $ac_func innocuous_$ac_func
20980
20981 /* System header to define __stub macros and hopefully few prototypes,
20982     which can conflict with char $ac_func (); below.
20983     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20984     <limits.h> exists even on freestanding compilers.  */
20985
20986 #ifdef __STDC__
20987 # include <limits.h>
20988 #else
20989 # include <assert.h>
20990 #endif
20991
20992 #undef $ac_func
20993
20994 /* Override any gcc2 internal prototype to avoid an error.  */
20995 #ifdef __cplusplus
20996 extern "C"
20997 {
20998 #endif
20999 /* We use char because int might match the return type of a gcc2
21000    builtin and then its argument prototype would still apply.  */
21001 char $ac_func ();
21002 /* The GNU C library defines this for functions which it implements
21003     to always fail with ENOSYS.  Some functions are actually named
21004     something starting with __ and the normal name is an alias.  */
21005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21006 choke me
21007 #else
21008 char (*f) () = $ac_func;
21009 #endif
21010 #ifdef __cplusplus
21011 }
21012 #endif
21013
21014 int
21015 main ()
21016 {
21017 return f != $ac_func;
21018   ;
21019   return 0;
21020 }
21021 _ACEOF
21022 rm -f conftest.$ac_objext conftest$ac_exeext
21023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21024   (eval $ac_link) 2>conftest.er1
21025   ac_status=$?
21026   grep -v '^ *+' conftest.er1 >conftest.err
21027   rm -f conftest.er1
21028   cat conftest.err >&5
21029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21030   (exit $ac_status); } &&
21031          { ac_try='test -z "$ac_c_werror_flag"
21032                          || test ! -s conftest.err'
21033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21034   (eval $ac_try) 2>&5
21035   ac_status=$?
21036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037   (exit $ac_status); }; } &&
21038          { ac_try='test -s conftest$ac_exeext'
21039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21040   (eval $ac_try) 2>&5
21041   ac_status=$?
21042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043   (exit $ac_status); }; }; then
21044   eval "$as_ac_var=yes"
21045 else
21046   echo "$as_me: failed program was:" >&5
21047 sed 's/^/| /' conftest.$ac_ext >&5
21048
21049 eval "$as_ac_var=no"
21050 fi
21051 rm -f conftest.err conftest.$ac_objext \
21052       conftest$ac_exeext conftest.$ac_ext
21053 fi
21054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21056 if test `eval echo '${'$as_ac_var'}'` = yes; then
21057   cat >>confdefs.h <<_ACEOF
21058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21059 _ACEOF
21060
21061 fi
21062 done
21063
21064     fi
21065   fi
21066
21067
21068
21069   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
21070 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
21071   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
21072     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
21073   echo $ECHO_N "(cached) $ECHO_C" >&6
21074 else
21075
21076
21077
21078       ac_ext=cc
21079 ac_cpp='$CXXCPP $CPPFLAGS'
21080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21083
21084       cat >conftest.$ac_ext <<_ACEOF
21085 /* confdefs.h.  */
21086 _ACEOF
21087 cat confdefs.h >>conftest.$ac_ext
21088 cat >>conftest.$ac_ext <<_ACEOF
21089 /* end confdefs.h.  */
21090 #include <math.h>
21091 int
21092 main ()
21093 {
21094  hypotl(0, 0);
21095   ;
21096   return 0;
21097 }
21098 _ACEOF
21099 rm -f conftest.$ac_objext
21100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21101   (eval $ac_compile) 2>conftest.er1
21102   ac_status=$?
21103   grep -v '^ *+' conftest.er1 >conftest.err
21104   rm -f conftest.er1
21105   cat conftest.err >&5
21106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107   (exit $ac_status); } &&
21108          { ac_try='test -z "$ac_cxx_werror_flag"
21109                          || test ! -s conftest.err'
21110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21111   (eval $ac_try) 2>&5
21112   ac_status=$?
21113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21114   (exit $ac_status); }; } &&
21115          { ac_try='test -s conftest.$ac_objext'
21116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21117   (eval $ac_try) 2>&5
21118   ac_status=$?
21119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21120   (exit $ac_status); }; }; then
21121   glibcxx_cv_func_hypotl_use=yes
21122 else
21123   echo "$as_me: failed program was:" >&5
21124 sed 's/^/| /' conftest.$ac_ext >&5
21125
21126 glibcxx_cv_func_hypotl_use=no
21127 fi
21128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21129       ac_ext=c
21130 ac_cpp='$CPP $CPPFLAGS'
21131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21134
21135
21136 fi
21137
21138   fi
21139   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
21140 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
21141
21142   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
21143
21144 for ac_func in hypotl
21145 do
21146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21147 echo "$as_me:$LINENO: checking for $ac_func" >&5
21148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21149 if eval "test \"\${$as_ac_var+set}\" = set"; then
21150   echo $ECHO_N "(cached) $ECHO_C" >&6
21151 else
21152   if test x$gcc_no_link = xyes; then
21153   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21155    { (exit 1); exit 1; }; }
21156 fi
21157 cat >conftest.$ac_ext <<_ACEOF
21158 /* confdefs.h.  */
21159 _ACEOF
21160 cat confdefs.h >>conftest.$ac_ext
21161 cat >>conftest.$ac_ext <<_ACEOF
21162 /* end confdefs.h.  */
21163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21164    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21165 #define $ac_func innocuous_$ac_func
21166
21167 /* System header to define __stub macros and hopefully few prototypes,
21168     which can conflict with char $ac_func (); below.
21169     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21170     <limits.h> exists even on freestanding compilers.  */
21171
21172 #ifdef __STDC__
21173 # include <limits.h>
21174 #else
21175 # include <assert.h>
21176 #endif
21177
21178 #undef $ac_func
21179
21180 /* Override any gcc2 internal prototype to avoid an error.  */
21181 #ifdef __cplusplus
21182 extern "C"
21183 {
21184 #endif
21185 /* We use char because int might match the return type of a gcc2
21186    builtin and then its argument prototype would still apply.  */
21187 char $ac_func ();
21188 /* The GNU C library defines this for functions which it implements
21189     to always fail with ENOSYS.  Some functions are actually named
21190     something starting with __ and the normal name is an alias.  */
21191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21192 choke me
21193 #else
21194 char (*f) () = $ac_func;
21195 #endif
21196 #ifdef __cplusplus
21197 }
21198 #endif
21199
21200 int
21201 main ()
21202 {
21203 return f != $ac_func;
21204   ;
21205   return 0;
21206 }
21207 _ACEOF
21208 rm -f conftest.$ac_objext conftest$ac_exeext
21209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21210   (eval $ac_link) 2>conftest.er1
21211   ac_status=$?
21212   grep -v '^ *+' conftest.er1 >conftest.err
21213   rm -f conftest.er1
21214   cat conftest.err >&5
21215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21216   (exit $ac_status); } &&
21217          { ac_try='test -z "$ac_c_werror_flag"
21218                          || test ! -s conftest.err'
21219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21220   (eval $ac_try) 2>&5
21221   ac_status=$?
21222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21223   (exit $ac_status); }; } &&
21224          { ac_try='test -s conftest$ac_exeext'
21225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21226   (eval $ac_try) 2>&5
21227   ac_status=$?
21228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21229   (exit $ac_status); }; }; then
21230   eval "$as_ac_var=yes"
21231 else
21232   echo "$as_me: failed program was:" >&5
21233 sed 's/^/| /' conftest.$ac_ext >&5
21234
21235 eval "$as_ac_var=no"
21236 fi
21237 rm -f conftest.err conftest.$ac_objext \
21238       conftest$ac_exeext conftest.$ac_ext
21239 fi
21240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21242 if test `eval echo '${'$as_ac_var'}'` = yes; then
21243   cat >>confdefs.h <<_ACEOF
21244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21245 _ACEOF
21246
21247 fi
21248 done
21249
21250   else
21251
21252   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
21253 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
21254   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
21255     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
21256   echo $ECHO_N "(cached) $ECHO_C" >&6
21257 else
21258
21259
21260
21261       ac_ext=cc
21262 ac_cpp='$CXXCPP $CPPFLAGS'
21263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21266
21267       cat >conftest.$ac_ext <<_ACEOF
21268 /* confdefs.h.  */
21269 _ACEOF
21270 cat confdefs.h >>conftest.$ac_ext
21271 cat >>conftest.$ac_ext <<_ACEOF
21272 /* end confdefs.h.  */
21273 #include <math.h>
21274 int
21275 main ()
21276 {
21277  _hypotl(0, 0);
21278   ;
21279   return 0;
21280 }
21281 _ACEOF
21282 rm -f conftest.$ac_objext
21283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21284   (eval $ac_compile) 2>conftest.er1
21285   ac_status=$?
21286   grep -v '^ *+' conftest.er1 >conftest.err
21287   rm -f conftest.er1
21288   cat conftest.err >&5
21289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290   (exit $ac_status); } &&
21291          { ac_try='test -z "$ac_cxx_werror_flag"
21292                          || test ! -s conftest.err'
21293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21294   (eval $ac_try) 2>&5
21295   ac_status=$?
21296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21297   (exit $ac_status); }; } &&
21298          { ac_try='test -s conftest.$ac_objext'
21299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21300   (eval $ac_try) 2>&5
21301   ac_status=$?
21302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21303   (exit $ac_status); }; }; then
21304   glibcxx_cv_func__hypotl_use=yes
21305 else
21306   echo "$as_me: failed program was:" >&5
21307 sed 's/^/| /' conftest.$ac_ext >&5
21308
21309 glibcxx_cv_func__hypotl_use=no
21310 fi
21311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21312       ac_ext=c
21313 ac_cpp='$CPP $CPPFLAGS'
21314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21317
21318
21319 fi
21320
21321   fi
21322   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
21323 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
21324
21325     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
21326
21327 for ac_func in _hypotl
21328 do
21329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21330 echo "$as_me:$LINENO: checking for $ac_func" >&5
21331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21332 if eval "test \"\${$as_ac_var+set}\" = set"; then
21333   echo $ECHO_N "(cached) $ECHO_C" >&6
21334 else
21335   if test x$gcc_no_link = xyes; then
21336   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21338    { (exit 1); exit 1; }; }
21339 fi
21340 cat >conftest.$ac_ext <<_ACEOF
21341 /* confdefs.h.  */
21342 _ACEOF
21343 cat confdefs.h >>conftest.$ac_ext
21344 cat >>conftest.$ac_ext <<_ACEOF
21345 /* end confdefs.h.  */
21346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21347    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21348 #define $ac_func innocuous_$ac_func
21349
21350 /* System header to define __stub macros and hopefully few prototypes,
21351     which can conflict with char $ac_func (); below.
21352     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21353     <limits.h> exists even on freestanding compilers.  */
21354
21355 #ifdef __STDC__
21356 # include <limits.h>
21357 #else
21358 # include <assert.h>
21359 #endif
21360
21361 #undef $ac_func
21362
21363 /* Override any gcc2 internal prototype to avoid an error.  */
21364 #ifdef __cplusplus
21365 extern "C"
21366 {
21367 #endif
21368 /* We use char because int might match the return type of a gcc2
21369    builtin and then its argument prototype would still apply.  */
21370 char $ac_func ();
21371 /* The GNU C library defines this for functions which it implements
21372     to always fail with ENOSYS.  Some functions are actually named
21373     something starting with __ and the normal name is an alias.  */
21374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21375 choke me
21376 #else
21377 char (*f) () = $ac_func;
21378 #endif
21379 #ifdef __cplusplus
21380 }
21381 #endif
21382
21383 int
21384 main ()
21385 {
21386 return f != $ac_func;
21387   ;
21388   return 0;
21389 }
21390 _ACEOF
21391 rm -f conftest.$ac_objext conftest$ac_exeext
21392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21393   (eval $ac_link) 2>conftest.er1
21394   ac_status=$?
21395   grep -v '^ *+' conftest.er1 >conftest.err
21396   rm -f conftest.er1
21397   cat conftest.err >&5
21398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21399   (exit $ac_status); } &&
21400          { ac_try='test -z "$ac_c_werror_flag"
21401                          || test ! -s conftest.err'
21402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21403   (eval $ac_try) 2>&5
21404   ac_status=$?
21405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21406   (exit $ac_status); }; } &&
21407          { ac_try='test -s conftest$ac_exeext'
21408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21409   (eval $ac_try) 2>&5
21410   ac_status=$?
21411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21412   (exit $ac_status); }; }; then
21413   eval "$as_ac_var=yes"
21414 else
21415   echo "$as_me: failed program was:" >&5
21416 sed 's/^/| /' conftest.$ac_ext >&5
21417
21418 eval "$as_ac_var=no"
21419 fi
21420 rm -f conftest.err conftest.$ac_objext \
21421       conftest$ac_exeext conftest.$ac_ext
21422 fi
21423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21425 if test `eval echo '${'$as_ac_var'}'` = yes; then
21426   cat >>confdefs.h <<_ACEOF
21427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21428 _ACEOF
21429
21430 fi
21431 done
21432
21433     fi
21434   fi
21435
21436
21437
21438   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
21439 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
21440   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
21441     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
21442   echo $ECHO_N "(cached) $ECHO_C" >&6
21443 else
21444
21445
21446
21447       ac_ext=cc
21448 ac_cpp='$CXXCPP $CPPFLAGS'
21449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21452
21453       cat >conftest.$ac_ext <<_ACEOF
21454 /* confdefs.h.  */
21455 _ACEOF
21456 cat confdefs.h >>conftest.$ac_ext
21457 cat >>conftest.$ac_ext <<_ACEOF
21458 /* end confdefs.h.  */
21459 #include <math.h>
21460 int
21461 main ()
21462 {
21463  ldexpl(0, 0);
21464   ;
21465   return 0;
21466 }
21467 _ACEOF
21468 rm -f conftest.$ac_objext
21469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21470   (eval $ac_compile) 2>conftest.er1
21471   ac_status=$?
21472   grep -v '^ *+' conftest.er1 >conftest.err
21473   rm -f conftest.er1
21474   cat conftest.err >&5
21475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21476   (exit $ac_status); } &&
21477          { ac_try='test -z "$ac_cxx_werror_flag"
21478                          || test ! -s conftest.err'
21479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21480   (eval $ac_try) 2>&5
21481   ac_status=$?
21482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21483   (exit $ac_status); }; } &&
21484          { ac_try='test -s conftest.$ac_objext'
21485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21486   (eval $ac_try) 2>&5
21487   ac_status=$?
21488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21489   (exit $ac_status); }; }; then
21490   glibcxx_cv_func_ldexpl_use=yes
21491 else
21492   echo "$as_me: failed program was:" >&5
21493 sed 's/^/| /' conftest.$ac_ext >&5
21494
21495 glibcxx_cv_func_ldexpl_use=no
21496 fi
21497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21498       ac_ext=c
21499 ac_cpp='$CPP $CPPFLAGS'
21500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21503
21504
21505 fi
21506
21507   fi
21508   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
21509 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
21510
21511   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
21512
21513 for ac_func in ldexpl
21514 do
21515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21516 echo "$as_me:$LINENO: checking for $ac_func" >&5
21517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21518 if eval "test \"\${$as_ac_var+set}\" = set"; then
21519   echo $ECHO_N "(cached) $ECHO_C" >&6
21520 else
21521   if test x$gcc_no_link = xyes; then
21522   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21524    { (exit 1); exit 1; }; }
21525 fi
21526 cat >conftest.$ac_ext <<_ACEOF
21527 /* confdefs.h.  */
21528 _ACEOF
21529 cat confdefs.h >>conftest.$ac_ext
21530 cat >>conftest.$ac_ext <<_ACEOF
21531 /* end confdefs.h.  */
21532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21533    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21534 #define $ac_func innocuous_$ac_func
21535
21536 /* System header to define __stub macros and hopefully few prototypes,
21537     which can conflict with char $ac_func (); below.
21538     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21539     <limits.h> exists even on freestanding compilers.  */
21540
21541 #ifdef __STDC__
21542 # include <limits.h>
21543 #else
21544 # include <assert.h>
21545 #endif
21546
21547 #undef $ac_func
21548
21549 /* Override any gcc2 internal prototype to avoid an error.  */
21550 #ifdef __cplusplus
21551 extern "C"
21552 {
21553 #endif
21554 /* We use char because int might match the return type of a gcc2
21555    builtin and then its argument prototype would still apply.  */
21556 char $ac_func ();
21557 /* The GNU C library defines this for functions which it implements
21558     to always fail with ENOSYS.  Some functions are actually named
21559     something starting with __ and the normal name is an alias.  */
21560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21561 choke me
21562 #else
21563 char (*f) () = $ac_func;
21564 #endif
21565 #ifdef __cplusplus
21566 }
21567 #endif
21568
21569 int
21570 main ()
21571 {
21572 return f != $ac_func;
21573   ;
21574   return 0;
21575 }
21576 _ACEOF
21577 rm -f conftest.$ac_objext conftest$ac_exeext
21578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21579   (eval $ac_link) 2>conftest.er1
21580   ac_status=$?
21581   grep -v '^ *+' conftest.er1 >conftest.err
21582   rm -f conftest.er1
21583   cat conftest.err >&5
21584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21585   (exit $ac_status); } &&
21586          { ac_try='test -z "$ac_c_werror_flag"
21587                          || test ! -s conftest.err'
21588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21589   (eval $ac_try) 2>&5
21590   ac_status=$?
21591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21592   (exit $ac_status); }; } &&
21593          { ac_try='test -s conftest$ac_exeext'
21594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21595   (eval $ac_try) 2>&5
21596   ac_status=$?
21597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598   (exit $ac_status); }; }; then
21599   eval "$as_ac_var=yes"
21600 else
21601   echo "$as_me: failed program was:" >&5
21602 sed 's/^/| /' conftest.$ac_ext >&5
21603
21604 eval "$as_ac_var=no"
21605 fi
21606 rm -f conftest.err conftest.$ac_objext \
21607       conftest$ac_exeext conftest.$ac_ext
21608 fi
21609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21611 if test `eval echo '${'$as_ac_var'}'` = yes; then
21612   cat >>confdefs.h <<_ACEOF
21613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21614 _ACEOF
21615
21616 fi
21617 done
21618
21619   else
21620
21621   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
21622 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
21623   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
21624     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
21625   echo $ECHO_N "(cached) $ECHO_C" >&6
21626 else
21627
21628
21629
21630       ac_ext=cc
21631 ac_cpp='$CXXCPP $CPPFLAGS'
21632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21635
21636       cat >conftest.$ac_ext <<_ACEOF
21637 /* confdefs.h.  */
21638 _ACEOF
21639 cat confdefs.h >>conftest.$ac_ext
21640 cat >>conftest.$ac_ext <<_ACEOF
21641 /* end confdefs.h.  */
21642 #include <math.h>
21643 int
21644 main ()
21645 {
21646  _ldexpl(0, 0);
21647   ;
21648   return 0;
21649 }
21650 _ACEOF
21651 rm -f conftest.$ac_objext
21652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21653   (eval $ac_compile) 2>conftest.er1
21654   ac_status=$?
21655   grep -v '^ *+' conftest.er1 >conftest.err
21656   rm -f conftest.er1
21657   cat conftest.err >&5
21658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659   (exit $ac_status); } &&
21660          { ac_try='test -z "$ac_cxx_werror_flag"
21661                          || test ! -s conftest.err'
21662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21663   (eval $ac_try) 2>&5
21664   ac_status=$?
21665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21666   (exit $ac_status); }; } &&
21667          { ac_try='test -s conftest.$ac_objext'
21668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21669   (eval $ac_try) 2>&5
21670   ac_status=$?
21671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21672   (exit $ac_status); }; }; then
21673   glibcxx_cv_func__ldexpl_use=yes
21674 else
21675   echo "$as_me: failed program was:" >&5
21676 sed 's/^/| /' conftest.$ac_ext >&5
21677
21678 glibcxx_cv_func__ldexpl_use=no
21679 fi
21680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21681       ac_ext=c
21682 ac_cpp='$CPP $CPPFLAGS'
21683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21686
21687
21688 fi
21689
21690   fi
21691   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
21692 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
21693
21694     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
21695
21696 for ac_func in _ldexpl
21697 do
21698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21699 echo "$as_me:$LINENO: checking for $ac_func" >&5
21700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21701 if eval "test \"\${$as_ac_var+set}\" = set"; then
21702   echo $ECHO_N "(cached) $ECHO_C" >&6
21703 else
21704   if test x$gcc_no_link = xyes; then
21705   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21707    { (exit 1); exit 1; }; }
21708 fi
21709 cat >conftest.$ac_ext <<_ACEOF
21710 /* confdefs.h.  */
21711 _ACEOF
21712 cat confdefs.h >>conftest.$ac_ext
21713 cat >>conftest.$ac_ext <<_ACEOF
21714 /* end confdefs.h.  */
21715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21716    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21717 #define $ac_func innocuous_$ac_func
21718
21719 /* System header to define __stub macros and hopefully few prototypes,
21720     which can conflict with char $ac_func (); below.
21721     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21722     <limits.h> exists even on freestanding compilers.  */
21723
21724 #ifdef __STDC__
21725 # include <limits.h>
21726 #else
21727 # include <assert.h>
21728 #endif
21729
21730 #undef $ac_func
21731
21732 /* Override any gcc2 internal prototype to avoid an error.  */
21733 #ifdef __cplusplus
21734 extern "C"
21735 {
21736 #endif
21737 /* We use char because int might match the return type of a gcc2
21738    builtin and then its argument prototype would still apply.  */
21739 char $ac_func ();
21740 /* The GNU C library defines this for functions which it implements
21741     to always fail with ENOSYS.  Some functions are actually named
21742     something starting with __ and the normal name is an alias.  */
21743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21744 choke me
21745 #else
21746 char (*f) () = $ac_func;
21747 #endif
21748 #ifdef __cplusplus
21749 }
21750 #endif
21751
21752 int
21753 main ()
21754 {
21755 return f != $ac_func;
21756   ;
21757   return 0;
21758 }
21759 _ACEOF
21760 rm -f conftest.$ac_objext conftest$ac_exeext
21761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21762   (eval $ac_link) 2>conftest.er1
21763   ac_status=$?
21764   grep -v '^ *+' conftest.er1 >conftest.err
21765   rm -f conftest.er1
21766   cat conftest.err >&5
21767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21768   (exit $ac_status); } &&
21769          { ac_try='test -z "$ac_c_werror_flag"
21770                          || test ! -s conftest.err'
21771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21772   (eval $ac_try) 2>&5
21773   ac_status=$?
21774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21775   (exit $ac_status); }; } &&
21776          { ac_try='test -s conftest$ac_exeext'
21777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21778   (eval $ac_try) 2>&5
21779   ac_status=$?
21780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21781   (exit $ac_status); }; }; then
21782   eval "$as_ac_var=yes"
21783 else
21784   echo "$as_me: failed program was:" >&5
21785 sed 's/^/| /' conftest.$ac_ext >&5
21786
21787 eval "$as_ac_var=no"
21788 fi
21789 rm -f conftest.err conftest.$ac_objext \
21790       conftest$ac_exeext conftest.$ac_ext
21791 fi
21792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21794 if test `eval echo '${'$as_ac_var'}'` = yes; then
21795   cat >>confdefs.h <<_ACEOF
21796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21797 _ACEOF
21798
21799 fi
21800 done
21801
21802     fi
21803   fi
21804
21805
21806
21807   echo "$as_me:$LINENO: checking for logl declaration" >&5
21808 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
21809   if test x${glibcxx_cv_func_logl_use+set} != xset; then
21810     if test "${glibcxx_cv_func_logl_use+set}" = set; then
21811   echo $ECHO_N "(cached) $ECHO_C" >&6
21812 else
21813
21814
21815
21816       ac_ext=cc
21817 ac_cpp='$CXXCPP $CPPFLAGS'
21818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21821
21822       cat >conftest.$ac_ext <<_ACEOF
21823 /* confdefs.h.  */
21824 _ACEOF
21825 cat confdefs.h >>conftest.$ac_ext
21826 cat >>conftest.$ac_ext <<_ACEOF
21827 /* end confdefs.h.  */
21828 #include <math.h>
21829                       #ifdef HAVE_IEEEFP_H
21830                       #include <ieeefp.h>
21831                       #endif
21832
21833 int
21834 main ()
21835 {
21836  logl(0);
21837   ;
21838   return 0;
21839 }
21840 _ACEOF
21841 rm -f conftest.$ac_objext
21842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21843   (eval $ac_compile) 2>conftest.er1
21844   ac_status=$?
21845   grep -v '^ *+' conftest.er1 >conftest.err
21846   rm -f conftest.er1
21847   cat conftest.err >&5
21848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21849   (exit $ac_status); } &&
21850          { ac_try='test -z "$ac_cxx_werror_flag"
21851                          || test ! -s conftest.err'
21852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21853   (eval $ac_try) 2>&5
21854   ac_status=$?
21855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21856   (exit $ac_status); }; } &&
21857          { ac_try='test -s conftest.$ac_objext'
21858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21859   (eval $ac_try) 2>&5
21860   ac_status=$?
21861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21862   (exit $ac_status); }; }; then
21863   glibcxx_cv_func_logl_use=yes
21864 else
21865   echo "$as_me: failed program was:" >&5
21866 sed 's/^/| /' conftest.$ac_ext >&5
21867
21868 glibcxx_cv_func_logl_use=no
21869 fi
21870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21871       ac_ext=c
21872 ac_cpp='$CPP $CPPFLAGS'
21873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21876
21877
21878 fi
21879
21880   fi
21881   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
21882 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
21883
21884   if test x$glibcxx_cv_func_logl_use = x"yes"; then
21885
21886 for ac_func in logl
21887 do
21888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21889 echo "$as_me:$LINENO: checking for $ac_func" >&5
21890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21891 if eval "test \"\${$as_ac_var+set}\" = set"; then
21892   echo $ECHO_N "(cached) $ECHO_C" >&6
21893 else
21894   if test x$gcc_no_link = xyes; then
21895   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21897    { (exit 1); exit 1; }; }
21898 fi
21899 cat >conftest.$ac_ext <<_ACEOF
21900 /* confdefs.h.  */
21901 _ACEOF
21902 cat confdefs.h >>conftest.$ac_ext
21903 cat >>conftest.$ac_ext <<_ACEOF
21904 /* end confdefs.h.  */
21905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21906    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21907 #define $ac_func innocuous_$ac_func
21908
21909 /* System header to define __stub macros and hopefully few prototypes,
21910     which can conflict with char $ac_func (); below.
21911     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21912     <limits.h> exists even on freestanding compilers.  */
21913
21914 #ifdef __STDC__
21915 # include <limits.h>
21916 #else
21917 # include <assert.h>
21918 #endif
21919
21920 #undef $ac_func
21921
21922 /* Override any gcc2 internal prototype to avoid an error.  */
21923 #ifdef __cplusplus
21924 extern "C"
21925 {
21926 #endif
21927 /* We use char because int might match the return type of a gcc2
21928    builtin and then its argument prototype would still apply.  */
21929 char $ac_func ();
21930 /* The GNU C library defines this for functions which it implements
21931     to always fail with ENOSYS.  Some functions are actually named
21932     something starting with __ and the normal name is an alias.  */
21933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21934 choke me
21935 #else
21936 char (*f) () = $ac_func;
21937 #endif
21938 #ifdef __cplusplus
21939 }
21940 #endif
21941
21942 int
21943 main ()
21944 {
21945 return f != $ac_func;
21946   ;
21947   return 0;
21948 }
21949 _ACEOF
21950 rm -f conftest.$ac_objext conftest$ac_exeext
21951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21952   (eval $ac_link) 2>conftest.er1
21953   ac_status=$?
21954   grep -v '^ *+' conftest.er1 >conftest.err
21955   rm -f conftest.er1
21956   cat conftest.err >&5
21957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21958   (exit $ac_status); } &&
21959          { ac_try='test -z "$ac_c_werror_flag"
21960                          || test ! -s conftest.err'
21961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21962   (eval $ac_try) 2>&5
21963   ac_status=$?
21964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21965   (exit $ac_status); }; } &&
21966          { ac_try='test -s conftest$ac_exeext'
21967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21968   (eval $ac_try) 2>&5
21969   ac_status=$?
21970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21971   (exit $ac_status); }; }; then
21972   eval "$as_ac_var=yes"
21973 else
21974   echo "$as_me: failed program was:" >&5
21975 sed 's/^/| /' conftest.$ac_ext >&5
21976
21977 eval "$as_ac_var=no"
21978 fi
21979 rm -f conftest.err conftest.$ac_objext \
21980       conftest$ac_exeext conftest.$ac_ext
21981 fi
21982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21984 if test `eval echo '${'$as_ac_var'}'` = yes; then
21985   cat >>confdefs.h <<_ACEOF
21986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21987 _ACEOF
21988
21989 fi
21990 done
21991
21992   else
21993
21994   echo "$as_me:$LINENO: checking for _logl declaration" >&5
21995 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
21996   if test x${glibcxx_cv_func__logl_use+set} != xset; then
21997     if test "${glibcxx_cv_func__logl_use+set}" = set; then
21998   echo $ECHO_N "(cached) $ECHO_C" >&6
21999 else
22000
22001
22002
22003       ac_ext=cc
22004 ac_cpp='$CXXCPP $CPPFLAGS'
22005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22008
22009       cat >conftest.$ac_ext <<_ACEOF
22010 /* confdefs.h.  */
22011 _ACEOF
22012 cat confdefs.h >>conftest.$ac_ext
22013 cat >>conftest.$ac_ext <<_ACEOF
22014 /* end confdefs.h.  */
22015 #include <math.h>
22016                       #ifdef HAVE_IEEEFP_H
22017                       #include <ieeefp.h>
22018                       #endif
22019
22020 int
22021 main ()
22022 {
22023  _logl(0);
22024   ;
22025   return 0;
22026 }
22027 _ACEOF
22028 rm -f conftest.$ac_objext
22029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22030   (eval $ac_compile) 2>conftest.er1
22031   ac_status=$?
22032   grep -v '^ *+' conftest.er1 >conftest.err
22033   rm -f conftest.er1
22034   cat conftest.err >&5
22035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22036   (exit $ac_status); } &&
22037          { ac_try='test -z "$ac_cxx_werror_flag"
22038                          || test ! -s conftest.err'
22039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22040   (eval $ac_try) 2>&5
22041   ac_status=$?
22042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22043   (exit $ac_status); }; } &&
22044          { ac_try='test -s conftest.$ac_objext'
22045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22046   (eval $ac_try) 2>&5
22047   ac_status=$?
22048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049   (exit $ac_status); }; }; then
22050   glibcxx_cv_func__logl_use=yes
22051 else
22052   echo "$as_me: failed program was:" >&5
22053 sed 's/^/| /' conftest.$ac_ext >&5
22054
22055 glibcxx_cv_func__logl_use=no
22056 fi
22057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22058       ac_ext=c
22059 ac_cpp='$CPP $CPPFLAGS'
22060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22063
22064
22065 fi
22066
22067   fi
22068   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
22069 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
22070
22071     if test x$glibcxx_cv_func__logl_use = x"yes"; then
22072
22073 for ac_func in _logl
22074 do
22075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22076 echo "$as_me:$LINENO: checking for $ac_func" >&5
22077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22078 if eval "test \"\${$as_ac_var+set}\" = set"; then
22079   echo $ECHO_N "(cached) $ECHO_C" >&6
22080 else
22081   if test x$gcc_no_link = xyes; then
22082   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22084    { (exit 1); exit 1; }; }
22085 fi
22086 cat >conftest.$ac_ext <<_ACEOF
22087 /* confdefs.h.  */
22088 _ACEOF
22089 cat confdefs.h >>conftest.$ac_ext
22090 cat >>conftest.$ac_ext <<_ACEOF
22091 /* end confdefs.h.  */
22092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22093    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22094 #define $ac_func innocuous_$ac_func
22095
22096 /* System header to define __stub macros and hopefully few prototypes,
22097     which can conflict with char $ac_func (); below.
22098     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22099     <limits.h> exists even on freestanding compilers.  */
22100
22101 #ifdef __STDC__
22102 # include <limits.h>
22103 #else
22104 # include <assert.h>
22105 #endif
22106
22107 #undef $ac_func
22108
22109 /* Override any gcc2 internal prototype to avoid an error.  */
22110 #ifdef __cplusplus
22111 extern "C"
22112 {
22113 #endif
22114 /* We use char because int might match the return type of a gcc2
22115    builtin and then its argument prototype would still apply.  */
22116 char $ac_func ();
22117 /* The GNU C library defines this for functions which it implements
22118     to always fail with ENOSYS.  Some functions are actually named
22119     something starting with __ and the normal name is an alias.  */
22120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22121 choke me
22122 #else
22123 char (*f) () = $ac_func;
22124 #endif
22125 #ifdef __cplusplus
22126 }
22127 #endif
22128
22129 int
22130 main ()
22131 {
22132 return f != $ac_func;
22133   ;
22134   return 0;
22135 }
22136 _ACEOF
22137 rm -f conftest.$ac_objext conftest$ac_exeext
22138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22139   (eval $ac_link) 2>conftest.er1
22140   ac_status=$?
22141   grep -v '^ *+' conftest.er1 >conftest.err
22142   rm -f conftest.er1
22143   cat conftest.err >&5
22144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145   (exit $ac_status); } &&
22146          { ac_try='test -z "$ac_c_werror_flag"
22147                          || test ! -s conftest.err'
22148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22149   (eval $ac_try) 2>&5
22150   ac_status=$?
22151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22152   (exit $ac_status); }; } &&
22153          { ac_try='test -s conftest$ac_exeext'
22154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22155   (eval $ac_try) 2>&5
22156   ac_status=$?
22157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158   (exit $ac_status); }; }; then
22159   eval "$as_ac_var=yes"
22160 else
22161   echo "$as_me: failed program was:" >&5
22162 sed 's/^/| /' conftest.$ac_ext >&5
22163
22164 eval "$as_ac_var=no"
22165 fi
22166 rm -f conftest.err conftest.$ac_objext \
22167       conftest$ac_exeext conftest.$ac_ext
22168 fi
22169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22171 if test `eval echo '${'$as_ac_var'}'` = yes; then
22172   cat >>confdefs.h <<_ACEOF
22173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22174 _ACEOF
22175
22176 fi
22177 done
22178
22179     fi
22180   fi
22181
22182
22183
22184   echo "$as_me:$LINENO: checking for log10l declaration" >&5
22185 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
22186   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
22187     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
22188   echo $ECHO_N "(cached) $ECHO_C" >&6
22189 else
22190
22191
22192
22193       ac_ext=cc
22194 ac_cpp='$CXXCPP $CPPFLAGS'
22195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22198
22199       cat >conftest.$ac_ext <<_ACEOF
22200 /* confdefs.h.  */
22201 _ACEOF
22202 cat confdefs.h >>conftest.$ac_ext
22203 cat >>conftest.$ac_ext <<_ACEOF
22204 /* end confdefs.h.  */
22205 #include <math.h>
22206                       #ifdef HAVE_IEEEFP_H
22207                       #include <ieeefp.h>
22208                       #endif
22209
22210 int
22211 main ()
22212 {
22213  log10l(0);
22214   ;
22215   return 0;
22216 }
22217 _ACEOF
22218 rm -f conftest.$ac_objext
22219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22220   (eval $ac_compile) 2>conftest.er1
22221   ac_status=$?
22222   grep -v '^ *+' conftest.er1 >conftest.err
22223   rm -f conftest.er1
22224   cat conftest.err >&5
22225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226   (exit $ac_status); } &&
22227          { ac_try='test -z "$ac_cxx_werror_flag"
22228                          || test ! -s conftest.err'
22229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22230   (eval $ac_try) 2>&5
22231   ac_status=$?
22232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22233   (exit $ac_status); }; } &&
22234          { ac_try='test -s conftest.$ac_objext'
22235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22236   (eval $ac_try) 2>&5
22237   ac_status=$?
22238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239   (exit $ac_status); }; }; then
22240   glibcxx_cv_func_log10l_use=yes
22241 else
22242   echo "$as_me: failed program was:" >&5
22243 sed 's/^/| /' conftest.$ac_ext >&5
22244
22245 glibcxx_cv_func_log10l_use=no
22246 fi
22247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22248       ac_ext=c
22249 ac_cpp='$CPP $CPPFLAGS'
22250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22253
22254
22255 fi
22256
22257   fi
22258   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
22259 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
22260
22261   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
22262
22263 for ac_func in log10l
22264 do
22265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22266 echo "$as_me:$LINENO: checking for $ac_func" >&5
22267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22268 if eval "test \"\${$as_ac_var+set}\" = set"; then
22269   echo $ECHO_N "(cached) $ECHO_C" >&6
22270 else
22271   if test x$gcc_no_link = xyes; then
22272   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22274    { (exit 1); exit 1; }; }
22275 fi
22276 cat >conftest.$ac_ext <<_ACEOF
22277 /* confdefs.h.  */
22278 _ACEOF
22279 cat confdefs.h >>conftest.$ac_ext
22280 cat >>conftest.$ac_ext <<_ACEOF
22281 /* end confdefs.h.  */
22282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22283    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22284 #define $ac_func innocuous_$ac_func
22285
22286 /* System header to define __stub macros and hopefully few prototypes,
22287     which can conflict with char $ac_func (); below.
22288     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22289     <limits.h> exists even on freestanding compilers.  */
22290
22291 #ifdef __STDC__
22292 # include <limits.h>
22293 #else
22294 # include <assert.h>
22295 #endif
22296
22297 #undef $ac_func
22298
22299 /* Override any gcc2 internal prototype to avoid an error.  */
22300 #ifdef __cplusplus
22301 extern "C"
22302 {
22303 #endif
22304 /* We use char because int might match the return type of a gcc2
22305    builtin and then its argument prototype would still apply.  */
22306 char $ac_func ();
22307 /* The GNU C library defines this for functions which it implements
22308     to always fail with ENOSYS.  Some functions are actually named
22309     something starting with __ and the normal name is an alias.  */
22310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22311 choke me
22312 #else
22313 char (*f) () = $ac_func;
22314 #endif
22315 #ifdef __cplusplus
22316 }
22317 #endif
22318
22319 int
22320 main ()
22321 {
22322 return f != $ac_func;
22323   ;
22324   return 0;
22325 }
22326 _ACEOF
22327 rm -f conftest.$ac_objext conftest$ac_exeext
22328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22329   (eval $ac_link) 2>conftest.er1
22330   ac_status=$?
22331   grep -v '^ *+' conftest.er1 >conftest.err
22332   rm -f conftest.er1
22333   cat conftest.err >&5
22334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22335   (exit $ac_status); } &&
22336          { ac_try='test -z "$ac_c_werror_flag"
22337                          || test ! -s conftest.err'
22338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22339   (eval $ac_try) 2>&5
22340   ac_status=$?
22341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22342   (exit $ac_status); }; } &&
22343          { ac_try='test -s conftest$ac_exeext'
22344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22345   (eval $ac_try) 2>&5
22346   ac_status=$?
22347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22348   (exit $ac_status); }; }; then
22349   eval "$as_ac_var=yes"
22350 else
22351   echo "$as_me: failed program was:" >&5
22352 sed 's/^/| /' conftest.$ac_ext >&5
22353
22354 eval "$as_ac_var=no"
22355 fi
22356 rm -f conftest.err conftest.$ac_objext \
22357       conftest$ac_exeext conftest.$ac_ext
22358 fi
22359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22361 if test `eval echo '${'$as_ac_var'}'` = yes; then
22362   cat >>confdefs.h <<_ACEOF
22363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22364 _ACEOF
22365
22366 fi
22367 done
22368
22369   else
22370
22371   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
22372 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
22373   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
22374     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
22375   echo $ECHO_N "(cached) $ECHO_C" >&6
22376 else
22377
22378
22379
22380       ac_ext=cc
22381 ac_cpp='$CXXCPP $CPPFLAGS'
22382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22385
22386       cat >conftest.$ac_ext <<_ACEOF
22387 /* confdefs.h.  */
22388 _ACEOF
22389 cat confdefs.h >>conftest.$ac_ext
22390 cat >>conftest.$ac_ext <<_ACEOF
22391 /* end confdefs.h.  */
22392 #include <math.h>
22393                       #ifdef HAVE_IEEEFP_H
22394                       #include <ieeefp.h>
22395                       #endif
22396
22397 int
22398 main ()
22399 {
22400  _log10l(0);
22401   ;
22402   return 0;
22403 }
22404 _ACEOF
22405 rm -f conftest.$ac_objext
22406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22407   (eval $ac_compile) 2>conftest.er1
22408   ac_status=$?
22409   grep -v '^ *+' conftest.er1 >conftest.err
22410   rm -f conftest.er1
22411   cat conftest.err >&5
22412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22413   (exit $ac_status); } &&
22414          { ac_try='test -z "$ac_cxx_werror_flag"
22415                          || test ! -s conftest.err'
22416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22417   (eval $ac_try) 2>&5
22418   ac_status=$?
22419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22420   (exit $ac_status); }; } &&
22421          { ac_try='test -s conftest.$ac_objext'
22422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22423   (eval $ac_try) 2>&5
22424   ac_status=$?
22425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22426   (exit $ac_status); }; }; then
22427   glibcxx_cv_func__log10l_use=yes
22428 else
22429   echo "$as_me: failed program was:" >&5
22430 sed 's/^/| /' conftest.$ac_ext >&5
22431
22432 glibcxx_cv_func__log10l_use=no
22433 fi
22434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22435       ac_ext=c
22436 ac_cpp='$CPP $CPPFLAGS'
22437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22440
22441
22442 fi
22443
22444   fi
22445   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
22446 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
22447
22448     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
22449
22450 for ac_func in _log10l
22451 do
22452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22453 echo "$as_me:$LINENO: checking for $ac_func" >&5
22454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22455 if eval "test \"\${$as_ac_var+set}\" = set"; then
22456   echo $ECHO_N "(cached) $ECHO_C" >&6
22457 else
22458   if test x$gcc_no_link = xyes; then
22459   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22461    { (exit 1); exit 1; }; }
22462 fi
22463 cat >conftest.$ac_ext <<_ACEOF
22464 /* confdefs.h.  */
22465 _ACEOF
22466 cat confdefs.h >>conftest.$ac_ext
22467 cat >>conftest.$ac_ext <<_ACEOF
22468 /* end confdefs.h.  */
22469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22470    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22471 #define $ac_func innocuous_$ac_func
22472
22473 /* System header to define __stub macros and hopefully few prototypes,
22474     which can conflict with char $ac_func (); below.
22475     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22476     <limits.h> exists even on freestanding compilers.  */
22477
22478 #ifdef __STDC__
22479 # include <limits.h>
22480 #else
22481 # include <assert.h>
22482 #endif
22483
22484 #undef $ac_func
22485
22486 /* Override any gcc2 internal prototype to avoid an error.  */
22487 #ifdef __cplusplus
22488 extern "C"
22489 {
22490 #endif
22491 /* We use char because int might match the return type of a gcc2
22492    builtin and then its argument prototype would still apply.  */
22493 char $ac_func ();
22494 /* The GNU C library defines this for functions which it implements
22495     to always fail with ENOSYS.  Some functions are actually named
22496     something starting with __ and the normal name is an alias.  */
22497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22498 choke me
22499 #else
22500 char (*f) () = $ac_func;
22501 #endif
22502 #ifdef __cplusplus
22503 }
22504 #endif
22505
22506 int
22507 main ()
22508 {
22509 return f != $ac_func;
22510   ;
22511   return 0;
22512 }
22513 _ACEOF
22514 rm -f conftest.$ac_objext conftest$ac_exeext
22515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22516   (eval $ac_link) 2>conftest.er1
22517   ac_status=$?
22518   grep -v '^ *+' conftest.er1 >conftest.err
22519   rm -f conftest.er1
22520   cat conftest.err >&5
22521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522   (exit $ac_status); } &&
22523          { ac_try='test -z "$ac_c_werror_flag"
22524                          || test ! -s conftest.err'
22525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22526   (eval $ac_try) 2>&5
22527   ac_status=$?
22528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22529   (exit $ac_status); }; } &&
22530          { ac_try='test -s conftest$ac_exeext'
22531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22532   (eval $ac_try) 2>&5
22533   ac_status=$?
22534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22535   (exit $ac_status); }; }; then
22536   eval "$as_ac_var=yes"
22537 else
22538   echo "$as_me: failed program was:" >&5
22539 sed 's/^/| /' conftest.$ac_ext >&5
22540
22541 eval "$as_ac_var=no"
22542 fi
22543 rm -f conftest.err conftest.$ac_objext \
22544       conftest$ac_exeext conftest.$ac_ext
22545 fi
22546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22548 if test `eval echo '${'$as_ac_var'}'` = yes; then
22549   cat >>confdefs.h <<_ACEOF
22550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22551 _ACEOF
22552
22553 fi
22554 done
22555
22556     fi
22557   fi
22558
22559
22560
22561   echo "$as_me:$LINENO: checking for modfl declaration" >&5
22562 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
22563   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
22564     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
22565   echo $ECHO_N "(cached) $ECHO_C" >&6
22566 else
22567
22568
22569
22570       ac_ext=cc
22571 ac_cpp='$CXXCPP $CPPFLAGS'
22572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22575
22576       cat >conftest.$ac_ext <<_ACEOF
22577 /* confdefs.h.  */
22578 _ACEOF
22579 cat confdefs.h >>conftest.$ac_ext
22580 cat >>conftest.$ac_ext <<_ACEOF
22581 /* end confdefs.h.  */
22582 #include <math.h>
22583 int
22584 main ()
22585 {
22586  modfl(0, 0);
22587   ;
22588   return 0;
22589 }
22590 _ACEOF
22591 rm -f conftest.$ac_objext
22592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22593   (eval $ac_compile) 2>conftest.er1
22594   ac_status=$?
22595   grep -v '^ *+' conftest.er1 >conftest.err
22596   rm -f conftest.er1
22597   cat conftest.err >&5
22598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22599   (exit $ac_status); } &&
22600          { ac_try='test -z "$ac_cxx_werror_flag"
22601                          || test ! -s conftest.err'
22602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22603   (eval $ac_try) 2>&5
22604   ac_status=$?
22605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22606   (exit $ac_status); }; } &&
22607          { ac_try='test -s conftest.$ac_objext'
22608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22609   (eval $ac_try) 2>&5
22610   ac_status=$?
22611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22612   (exit $ac_status); }; }; then
22613   glibcxx_cv_func_modfl_use=yes
22614 else
22615   echo "$as_me: failed program was:" >&5
22616 sed 's/^/| /' conftest.$ac_ext >&5
22617
22618 glibcxx_cv_func_modfl_use=no
22619 fi
22620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22621       ac_ext=c
22622 ac_cpp='$CPP $CPPFLAGS'
22623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22626
22627
22628 fi
22629
22630   fi
22631   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
22632 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
22633
22634   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
22635
22636 for ac_func in modfl
22637 do
22638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22639 echo "$as_me:$LINENO: checking for $ac_func" >&5
22640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22641 if eval "test \"\${$as_ac_var+set}\" = set"; then
22642   echo $ECHO_N "(cached) $ECHO_C" >&6
22643 else
22644   if test x$gcc_no_link = xyes; then
22645   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22647    { (exit 1); exit 1; }; }
22648 fi
22649 cat >conftest.$ac_ext <<_ACEOF
22650 /* confdefs.h.  */
22651 _ACEOF
22652 cat confdefs.h >>conftest.$ac_ext
22653 cat >>conftest.$ac_ext <<_ACEOF
22654 /* end confdefs.h.  */
22655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22656    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22657 #define $ac_func innocuous_$ac_func
22658
22659 /* System header to define __stub macros and hopefully few prototypes,
22660     which can conflict with char $ac_func (); below.
22661     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22662     <limits.h> exists even on freestanding compilers.  */
22663
22664 #ifdef __STDC__
22665 # include <limits.h>
22666 #else
22667 # include <assert.h>
22668 #endif
22669
22670 #undef $ac_func
22671
22672 /* Override any gcc2 internal prototype to avoid an error.  */
22673 #ifdef __cplusplus
22674 extern "C"
22675 {
22676 #endif
22677 /* We use char because int might match the return type of a gcc2
22678    builtin and then its argument prototype would still apply.  */
22679 char $ac_func ();
22680 /* The GNU C library defines this for functions which it implements
22681     to always fail with ENOSYS.  Some functions are actually named
22682     something starting with __ and the normal name is an alias.  */
22683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22684 choke me
22685 #else
22686 char (*f) () = $ac_func;
22687 #endif
22688 #ifdef __cplusplus
22689 }
22690 #endif
22691
22692 int
22693 main ()
22694 {
22695 return f != $ac_func;
22696   ;
22697   return 0;
22698 }
22699 _ACEOF
22700 rm -f conftest.$ac_objext conftest$ac_exeext
22701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22702   (eval $ac_link) 2>conftest.er1
22703   ac_status=$?
22704   grep -v '^ *+' conftest.er1 >conftest.err
22705   rm -f conftest.er1
22706   cat conftest.err >&5
22707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22708   (exit $ac_status); } &&
22709          { ac_try='test -z "$ac_c_werror_flag"
22710                          || test ! -s conftest.err'
22711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22712   (eval $ac_try) 2>&5
22713   ac_status=$?
22714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22715   (exit $ac_status); }; } &&
22716          { ac_try='test -s conftest$ac_exeext'
22717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22718   (eval $ac_try) 2>&5
22719   ac_status=$?
22720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22721   (exit $ac_status); }; }; then
22722   eval "$as_ac_var=yes"
22723 else
22724   echo "$as_me: failed program was:" >&5
22725 sed 's/^/| /' conftest.$ac_ext >&5
22726
22727 eval "$as_ac_var=no"
22728 fi
22729 rm -f conftest.err conftest.$ac_objext \
22730       conftest$ac_exeext conftest.$ac_ext
22731 fi
22732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22734 if test `eval echo '${'$as_ac_var'}'` = yes; then
22735   cat >>confdefs.h <<_ACEOF
22736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22737 _ACEOF
22738
22739 fi
22740 done
22741
22742   else
22743
22744   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
22745 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
22746   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
22747     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
22748   echo $ECHO_N "(cached) $ECHO_C" >&6
22749 else
22750
22751
22752
22753       ac_ext=cc
22754 ac_cpp='$CXXCPP $CPPFLAGS'
22755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22758
22759       cat >conftest.$ac_ext <<_ACEOF
22760 /* confdefs.h.  */
22761 _ACEOF
22762 cat confdefs.h >>conftest.$ac_ext
22763 cat >>conftest.$ac_ext <<_ACEOF
22764 /* end confdefs.h.  */
22765 #include <math.h>
22766 int
22767 main ()
22768 {
22769  _modfl(0, 0);
22770   ;
22771   return 0;
22772 }
22773 _ACEOF
22774 rm -f conftest.$ac_objext
22775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22776   (eval $ac_compile) 2>conftest.er1
22777   ac_status=$?
22778   grep -v '^ *+' conftest.er1 >conftest.err
22779   rm -f conftest.er1
22780   cat conftest.err >&5
22781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782   (exit $ac_status); } &&
22783          { ac_try='test -z "$ac_cxx_werror_flag"
22784                          || test ! -s conftest.err'
22785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22786   (eval $ac_try) 2>&5
22787   ac_status=$?
22788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789   (exit $ac_status); }; } &&
22790          { ac_try='test -s conftest.$ac_objext'
22791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22792   (eval $ac_try) 2>&5
22793   ac_status=$?
22794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22795   (exit $ac_status); }; }; then
22796   glibcxx_cv_func__modfl_use=yes
22797 else
22798   echo "$as_me: failed program was:" >&5
22799 sed 's/^/| /' conftest.$ac_ext >&5
22800
22801 glibcxx_cv_func__modfl_use=no
22802 fi
22803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22804       ac_ext=c
22805 ac_cpp='$CPP $CPPFLAGS'
22806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22809
22810
22811 fi
22812
22813   fi
22814   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
22815 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
22816
22817     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
22818
22819 for ac_func in _modfl
22820 do
22821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22822 echo "$as_me:$LINENO: checking for $ac_func" >&5
22823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22824 if eval "test \"\${$as_ac_var+set}\" = set"; then
22825   echo $ECHO_N "(cached) $ECHO_C" >&6
22826 else
22827   if test x$gcc_no_link = xyes; then
22828   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22830    { (exit 1); exit 1; }; }
22831 fi
22832 cat >conftest.$ac_ext <<_ACEOF
22833 /* confdefs.h.  */
22834 _ACEOF
22835 cat confdefs.h >>conftest.$ac_ext
22836 cat >>conftest.$ac_ext <<_ACEOF
22837 /* end confdefs.h.  */
22838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22839    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22840 #define $ac_func innocuous_$ac_func
22841
22842 /* System header to define __stub macros and hopefully few prototypes,
22843     which can conflict with char $ac_func (); below.
22844     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22845     <limits.h> exists even on freestanding compilers.  */
22846
22847 #ifdef __STDC__
22848 # include <limits.h>
22849 #else
22850 # include <assert.h>
22851 #endif
22852
22853 #undef $ac_func
22854
22855 /* Override any gcc2 internal prototype to avoid an error.  */
22856 #ifdef __cplusplus
22857 extern "C"
22858 {
22859 #endif
22860 /* We use char because int might match the return type of a gcc2
22861    builtin and then its argument prototype would still apply.  */
22862 char $ac_func ();
22863 /* The GNU C library defines this for functions which it implements
22864     to always fail with ENOSYS.  Some functions are actually named
22865     something starting with __ and the normal name is an alias.  */
22866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22867 choke me
22868 #else
22869 char (*f) () = $ac_func;
22870 #endif
22871 #ifdef __cplusplus
22872 }
22873 #endif
22874
22875 int
22876 main ()
22877 {
22878 return f != $ac_func;
22879   ;
22880   return 0;
22881 }
22882 _ACEOF
22883 rm -f conftest.$ac_objext conftest$ac_exeext
22884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22885   (eval $ac_link) 2>conftest.er1
22886   ac_status=$?
22887   grep -v '^ *+' conftest.er1 >conftest.err
22888   rm -f conftest.er1
22889   cat conftest.err >&5
22890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22891   (exit $ac_status); } &&
22892          { ac_try='test -z "$ac_c_werror_flag"
22893                          || test ! -s conftest.err'
22894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22895   (eval $ac_try) 2>&5
22896   ac_status=$?
22897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22898   (exit $ac_status); }; } &&
22899          { ac_try='test -s conftest$ac_exeext'
22900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22901   (eval $ac_try) 2>&5
22902   ac_status=$?
22903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22904   (exit $ac_status); }; }; then
22905   eval "$as_ac_var=yes"
22906 else
22907   echo "$as_me: failed program was:" >&5
22908 sed 's/^/| /' conftest.$ac_ext >&5
22909
22910 eval "$as_ac_var=no"
22911 fi
22912 rm -f conftest.err conftest.$ac_objext \
22913       conftest$ac_exeext conftest.$ac_ext
22914 fi
22915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22917 if test `eval echo '${'$as_ac_var'}'` = yes; then
22918   cat >>confdefs.h <<_ACEOF
22919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22920 _ACEOF
22921
22922 fi
22923 done
22924
22925     fi
22926   fi
22927
22928
22929
22930   echo "$as_me:$LINENO: checking for powl declaration" >&5
22931 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
22932   if test x${glibcxx_cv_func_powl_use+set} != xset; then
22933     if test "${glibcxx_cv_func_powl_use+set}" = set; then
22934   echo $ECHO_N "(cached) $ECHO_C" >&6
22935 else
22936
22937
22938
22939       ac_ext=cc
22940 ac_cpp='$CXXCPP $CPPFLAGS'
22941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22944
22945       cat >conftest.$ac_ext <<_ACEOF
22946 /* confdefs.h.  */
22947 _ACEOF
22948 cat confdefs.h >>conftest.$ac_ext
22949 cat >>conftest.$ac_ext <<_ACEOF
22950 /* end confdefs.h.  */
22951 #include <math.h>
22952 int
22953 main ()
22954 {
22955  powl(0, 0);
22956   ;
22957   return 0;
22958 }
22959 _ACEOF
22960 rm -f conftest.$ac_objext
22961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22962   (eval $ac_compile) 2>conftest.er1
22963   ac_status=$?
22964   grep -v '^ *+' conftest.er1 >conftest.err
22965   rm -f conftest.er1
22966   cat conftest.err >&5
22967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22968   (exit $ac_status); } &&
22969          { ac_try='test -z "$ac_cxx_werror_flag"
22970                          || test ! -s conftest.err'
22971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22972   (eval $ac_try) 2>&5
22973   ac_status=$?
22974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22975   (exit $ac_status); }; } &&
22976          { ac_try='test -s conftest.$ac_objext'
22977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22978   (eval $ac_try) 2>&5
22979   ac_status=$?
22980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22981   (exit $ac_status); }; }; then
22982   glibcxx_cv_func_powl_use=yes
22983 else
22984   echo "$as_me: failed program was:" >&5
22985 sed 's/^/| /' conftest.$ac_ext >&5
22986
22987 glibcxx_cv_func_powl_use=no
22988 fi
22989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22990       ac_ext=c
22991 ac_cpp='$CPP $CPPFLAGS'
22992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22995
22996
22997 fi
22998
22999   fi
23000   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
23001 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
23002
23003   if test x$glibcxx_cv_func_powl_use = x"yes"; then
23004
23005 for ac_func in powl
23006 do
23007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23008 echo "$as_me:$LINENO: checking for $ac_func" >&5
23009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23010 if eval "test \"\${$as_ac_var+set}\" = set"; then
23011   echo $ECHO_N "(cached) $ECHO_C" >&6
23012 else
23013   if test x$gcc_no_link = xyes; then
23014   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23016    { (exit 1); exit 1; }; }
23017 fi
23018 cat >conftest.$ac_ext <<_ACEOF
23019 /* confdefs.h.  */
23020 _ACEOF
23021 cat confdefs.h >>conftest.$ac_ext
23022 cat >>conftest.$ac_ext <<_ACEOF
23023 /* end confdefs.h.  */
23024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23025    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23026 #define $ac_func innocuous_$ac_func
23027
23028 /* System header to define __stub macros and hopefully few prototypes,
23029     which can conflict with char $ac_func (); below.
23030     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23031     <limits.h> exists even on freestanding compilers.  */
23032
23033 #ifdef __STDC__
23034 # include <limits.h>
23035 #else
23036 # include <assert.h>
23037 #endif
23038
23039 #undef $ac_func
23040
23041 /* Override any gcc2 internal prototype to avoid an error.  */
23042 #ifdef __cplusplus
23043 extern "C"
23044 {
23045 #endif
23046 /* We use char because int might match the return type of a gcc2
23047    builtin and then its argument prototype would still apply.  */
23048 char $ac_func ();
23049 /* The GNU C library defines this for functions which it implements
23050     to always fail with ENOSYS.  Some functions are actually named
23051     something starting with __ and the normal name is an alias.  */
23052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23053 choke me
23054 #else
23055 char (*f) () = $ac_func;
23056 #endif
23057 #ifdef __cplusplus
23058 }
23059 #endif
23060
23061 int
23062 main ()
23063 {
23064 return f != $ac_func;
23065   ;
23066   return 0;
23067 }
23068 _ACEOF
23069 rm -f conftest.$ac_objext conftest$ac_exeext
23070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23071   (eval $ac_link) 2>conftest.er1
23072   ac_status=$?
23073   grep -v '^ *+' conftest.er1 >conftest.err
23074   rm -f conftest.er1
23075   cat conftest.err >&5
23076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23077   (exit $ac_status); } &&
23078          { ac_try='test -z "$ac_c_werror_flag"
23079                          || test ! -s conftest.err'
23080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23081   (eval $ac_try) 2>&5
23082   ac_status=$?
23083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084   (exit $ac_status); }; } &&
23085          { ac_try='test -s conftest$ac_exeext'
23086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23087   (eval $ac_try) 2>&5
23088   ac_status=$?
23089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23090   (exit $ac_status); }; }; then
23091   eval "$as_ac_var=yes"
23092 else
23093   echo "$as_me: failed program was:" >&5
23094 sed 's/^/| /' conftest.$ac_ext >&5
23095
23096 eval "$as_ac_var=no"
23097 fi
23098 rm -f conftest.err conftest.$ac_objext \
23099       conftest$ac_exeext conftest.$ac_ext
23100 fi
23101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23103 if test `eval echo '${'$as_ac_var'}'` = yes; then
23104   cat >>confdefs.h <<_ACEOF
23105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23106 _ACEOF
23107
23108 fi
23109 done
23110
23111   else
23112
23113   echo "$as_me:$LINENO: checking for _powl declaration" >&5
23114 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
23115   if test x${glibcxx_cv_func__powl_use+set} != xset; then
23116     if test "${glibcxx_cv_func__powl_use+set}" = set; then
23117   echo $ECHO_N "(cached) $ECHO_C" >&6
23118 else
23119
23120
23121
23122       ac_ext=cc
23123 ac_cpp='$CXXCPP $CPPFLAGS'
23124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23127
23128       cat >conftest.$ac_ext <<_ACEOF
23129 /* confdefs.h.  */
23130 _ACEOF
23131 cat confdefs.h >>conftest.$ac_ext
23132 cat >>conftest.$ac_ext <<_ACEOF
23133 /* end confdefs.h.  */
23134 #include <math.h>
23135 int
23136 main ()
23137 {
23138  _powl(0, 0);
23139   ;
23140   return 0;
23141 }
23142 _ACEOF
23143 rm -f conftest.$ac_objext
23144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23145   (eval $ac_compile) 2>conftest.er1
23146   ac_status=$?
23147   grep -v '^ *+' conftest.er1 >conftest.err
23148   rm -f conftest.er1
23149   cat conftest.err >&5
23150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23151   (exit $ac_status); } &&
23152          { ac_try='test -z "$ac_cxx_werror_flag"
23153                          || test ! -s conftest.err'
23154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23155   (eval $ac_try) 2>&5
23156   ac_status=$?
23157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23158   (exit $ac_status); }; } &&
23159          { ac_try='test -s conftest.$ac_objext'
23160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23161   (eval $ac_try) 2>&5
23162   ac_status=$?
23163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23164   (exit $ac_status); }; }; then
23165   glibcxx_cv_func__powl_use=yes
23166 else
23167   echo "$as_me: failed program was:" >&5
23168 sed 's/^/| /' conftest.$ac_ext >&5
23169
23170 glibcxx_cv_func__powl_use=no
23171 fi
23172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23173       ac_ext=c
23174 ac_cpp='$CPP $CPPFLAGS'
23175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23178
23179
23180 fi
23181
23182   fi
23183   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
23184 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
23185
23186     if test x$glibcxx_cv_func__powl_use = x"yes"; then
23187
23188 for ac_func in _powl
23189 do
23190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23191 echo "$as_me:$LINENO: checking for $ac_func" >&5
23192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23193 if eval "test \"\${$as_ac_var+set}\" = set"; then
23194   echo $ECHO_N "(cached) $ECHO_C" >&6
23195 else
23196   if test x$gcc_no_link = xyes; then
23197   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23199    { (exit 1); exit 1; }; }
23200 fi
23201 cat >conftest.$ac_ext <<_ACEOF
23202 /* confdefs.h.  */
23203 _ACEOF
23204 cat confdefs.h >>conftest.$ac_ext
23205 cat >>conftest.$ac_ext <<_ACEOF
23206 /* end confdefs.h.  */
23207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23208    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23209 #define $ac_func innocuous_$ac_func
23210
23211 /* System header to define __stub macros and hopefully few prototypes,
23212     which can conflict with char $ac_func (); below.
23213     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23214     <limits.h> exists even on freestanding compilers.  */
23215
23216 #ifdef __STDC__
23217 # include <limits.h>
23218 #else
23219 # include <assert.h>
23220 #endif
23221
23222 #undef $ac_func
23223
23224 /* Override any gcc2 internal prototype to avoid an error.  */
23225 #ifdef __cplusplus
23226 extern "C"
23227 {
23228 #endif
23229 /* We use char because int might match the return type of a gcc2
23230    builtin and then its argument prototype would still apply.  */
23231 char $ac_func ();
23232 /* The GNU C library defines this for functions which it implements
23233     to always fail with ENOSYS.  Some functions are actually named
23234     something starting with __ and the normal name is an alias.  */
23235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23236 choke me
23237 #else
23238 char (*f) () = $ac_func;
23239 #endif
23240 #ifdef __cplusplus
23241 }
23242 #endif
23243
23244 int
23245 main ()
23246 {
23247 return f != $ac_func;
23248   ;
23249   return 0;
23250 }
23251 _ACEOF
23252 rm -f conftest.$ac_objext conftest$ac_exeext
23253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23254   (eval $ac_link) 2>conftest.er1
23255   ac_status=$?
23256   grep -v '^ *+' conftest.er1 >conftest.err
23257   rm -f conftest.er1
23258   cat conftest.err >&5
23259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23260   (exit $ac_status); } &&
23261          { ac_try='test -z "$ac_c_werror_flag"
23262                          || test ! -s conftest.err'
23263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23264   (eval $ac_try) 2>&5
23265   ac_status=$?
23266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23267   (exit $ac_status); }; } &&
23268          { ac_try='test -s conftest$ac_exeext'
23269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23270   (eval $ac_try) 2>&5
23271   ac_status=$?
23272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23273   (exit $ac_status); }; }; then
23274   eval "$as_ac_var=yes"
23275 else
23276   echo "$as_me: failed program was:" >&5
23277 sed 's/^/| /' conftest.$ac_ext >&5
23278
23279 eval "$as_ac_var=no"
23280 fi
23281 rm -f conftest.err conftest.$ac_objext \
23282       conftest$ac_exeext conftest.$ac_ext
23283 fi
23284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23286 if test `eval echo '${'$as_ac_var'}'` = yes; then
23287   cat >>confdefs.h <<_ACEOF
23288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23289 _ACEOF
23290
23291 fi
23292 done
23293
23294     fi
23295   fi
23296
23297
23298
23299   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
23300 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
23301   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
23302     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
23303   echo $ECHO_N "(cached) $ECHO_C" >&6
23304 else
23305
23306
23307
23308       ac_ext=cc
23309 ac_cpp='$CXXCPP $CPPFLAGS'
23310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23313
23314       cat >conftest.$ac_ext <<_ACEOF
23315 /* confdefs.h.  */
23316 _ACEOF
23317 cat confdefs.h >>conftest.$ac_ext
23318 cat >>conftest.$ac_ext <<_ACEOF
23319 /* end confdefs.h.  */
23320 #include <math.h>
23321                       #ifdef HAVE_IEEEFP_H
23322                       #include <ieeefp.h>
23323                       #endif
23324
23325 int
23326 main ()
23327 {
23328  sqrtl(0);
23329   ;
23330   return 0;
23331 }
23332 _ACEOF
23333 rm -f conftest.$ac_objext
23334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23335   (eval $ac_compile) 2>conftest.er1
23336   ac_status=$?
23337   grep -v '^ *+' conftest.er1 >conftest.err
23338   rm -f conftest.er1
23339   cat conftest.err >&5
23340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23341   (exit $ac_status); } &&
23342          { ac_try='test -z "$ac_cxx_werror_flag"
23343                          || test ! -s conftest.err'
23344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23345   (eval $ac_try) 2>&5
23346   ac_status=$?
23347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23348   (exit $ac_status); }; } &&
23349          { ac_try='test -s conftest.$ac_objext'
23350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23351   (eval $ac_try) 2>&5
23352   ac_status=$?
23353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23354   (exit $ac_status); }; }; then
23355   glibcxx_cv_func_sqrtl_use=yes
23356 else
23357   echo "$as_me: failed program was:" >&5
23358 sed 's/^/| /' conftest.$ac_ext >&5
23359
23360 glibcxx_cv_func_sqrtl_use=no
23361 fi
23362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23363       ac_ext=c
23364 ac_cpp='$CPP $CPPFLAGS'
23365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23368
23369
23370 fi
23371
23372   fi
23373   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
23374 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
23375
23376   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
23377
23378 for ac_func in sqrtl
23379 do
23380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23381 echo "$as_me:$LINENO: checking for $ac_func" >&5
23382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23383 if eval "test \"\${$as_ac_var+set}\" = set"; then
23384   echo $ECHO_N "(cached) $ECHO_C" >&6
23385 else
23386   if test x$gcc_no_link = xyes; then
23387   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23389    { (exit 1); exit 1; }; }
23390 fi
23391 cat >conftest.$ac_ext <<_ACEOF
23392 /* confdefs.h.  */
23393 _ACEOF
23394 cat confdefs.h >>conftest.$ac_ext
23395 cat >>conftest.$ac_ext <<_ACEOF
23396 /* end confdefs.h.  */
23397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23398    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23399 #define $ac_func innocuous_$ac_func
23400
23401 /* System header to define __stub macros and hopefully few prototypes,
23402     which can conflict with char $ac_func (); below.
23403     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23404     <limits.h> exists even on freestanding compilers.  */
23405
23406 #ifdef __STDC__
23407 # include <limits.h>
23408 #else
23409 # include <assert.h>
23410 #endif
23411
23412 #undef $ac_func
23413
23414 /* Override any gcc2 internal prototype to avoid an error.  */
23415 #ifdef __cplusplus
23416 extern "C"
23417 {
23418 #endif
23419 /* We use char because int might match the return type of a gcc2
23420    builtin and then its argument prototype would still apply.  */
23421 char $ac_func ();
23422 /* The GNU C library defines this for functions which it implements
23423     to always fail with ENOSYS.  Some functions are actually named
23424     something starting with __ and the normal name is an alias.  */
23425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23426 choke me
23427 #else
23428 char (*f) () = $ac_func;
23429 #endif
23430 #ifdef __cplusplus
23431 }
23432 #endif
23433
23434 int
23435 main ()
23436 {
23437 return f != $ac_func;
23438   ;
23439   return 0;
23440 }
23441 _ACEOF
23442 rm -f conftest.$ac_objext conftest$ac_exeext
23443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23444   (eval $ac_link) 2>conftest.er1
23445   ac_status=$?
23446   grep -v '^ *+' conftest.er1 >conftest.err
23447   rm -f conftest.er1
23448   cat conftest.err >&5
23449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23450   (exit $ac_status); } &&
23451          { ac_try='test -z "$ac_c_werror_flag"
23452                          || test ! -s conftest.err'
23453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23454   (eval $ac_try) 2>&5
23455   ac_status=$?
23456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23457   (exit $ac_status); }; } &&
23458          { ac_try='test -s conftest$ac_exeext'
23459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23460   (eval $ac_try) 2>&5
23461   ac_status=$?
23462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23463   (exit $ac_status); }; }; then
23464   eval "$as_ac_var=yes"
23465 else
23466   echo "$as_me: failed program was:" >&5
23467 sed 's/^/| /' conftest.$ac_ext >&5
23468
23469 eval "$as_ac_var=no"
23470 fi
23471 rm -f conftest.err conftest.$ac_objext \
23472       conftest$ac_exeext conftest.$ac_ext
23473 fi
23474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23476 if test `eval echo '${'$as_ac_var'}'` = yes; then
23477   cat >>confdefs.h <<_ACEOF
23478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23479 _ACEOF
23480
23481 fi
23482 done
23483
23484   else
23485
23486   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
23487 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
23488   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
23489     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
23490   echo $ECHO_N "(cached) $ECHO_C" >&6
23491 else
23492
23493
23494
23495       ac_ext=cc
23496 ac_cpp='$CXXCPP $CPPFLAGS'
23497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23500
23501       cat >conftest.$ac_ext <<_ACEOF
23502 /* confdefs.h.  */
23503 _ACEOF
23504 cat confdefs.h >>conftest.$ac_ext
23505 cat >>conftest.$ac_ext <<_ACEOF
23506 /* end confdefs.h.  */
23507 #include <math.h>
23508                       #ifdef HAVE_IEEEFP_H
23509                       #include <ieeefp.h>
23510                       #endif
23511
23512 int
23513 main ()
23514 {
23515  _sqrtl(0);
23516   ;
23517   return 0;
23518 }
23519 _ACEOF
23520 rm -f conftest.$ac_objext
23521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23522   (eval $ac_compile) 2>conftest.er1
23523   ac_status=$?
23524   grep -v '^ *+' conftest.er1 >conftest.err
23525   rm -f conftest.er1
23526   cat conftest.err >&5
23527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23528   (exit $ac_status); } &&
23529          { ac_try='test -z "$ac_cxx_werror_flag"
23530                          || test ! -s conftest.err'
23531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23532   (eval $ac_try) 2>&5
23533   ac_status=$?
23534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23535   (exit $ac_status); }; } &&
23536          { ac_try='test -s conftest.$ac_objext'
23537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23538   (eval $ac_try) 2>&5
23539   ac_status=$?
23540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23541   (exit $ac_status); }; }; then
23542   glibcxx_cv_func__sqrtl_use=yes
23543 else
23544   echo "$as_me: failed program was:" >&5
23545 sed 's/^/| /' conftest.$ac_ext >&5
23546
23547 glibcxx_cv_func__sqrtl_use=no
23548 fi
23549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23550       ac_ext=c
23551 ac_cpp='$CPP $CPPFLAGS'
23552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23555
23556
23557 fi
23558
23559   fi
23560   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
23561 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
23562
23563     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
23564
23565 for ac_func in _sqrtl
23566 do
23567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23568 echo "$as_me:$LINENO: checking for $ac_func" >&5
23569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23570 if eval "test \"\${$as_ac_var+set}\" = set"; then
23571   echo $ECHO_N "(cached) $ECHO_C" >&6
23572 else
23573   if test x$gcc_no_link = xyes; then
23574   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23576    { (exit 1); exit 1; }; }
23577 fi
23578 cat >conftest.$ac_ext <<_ACEOF
23579 /* confdefs.h.  */
23580 _ACEOF
23581 cat confdefs.h >>conftest.$ac_ext
23582 cat >>conftest.$ac_ext <<_ACEOF
23583 /* end confdefs.h.  */
23584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23585    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23586 #define $ac_func innocuous_$ac_func
23587
23588 /* System header to define __stub macros and hopefully few prototypes,
23589     which can conflict with char $ac_func (); below.
23590     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23591     <limits.h> exists even on freestanding compilers.  */
23592
23593 #ifdef __STDC__
23594 # include <limits.h>
23595 #else
23596 # include <assert.h>
23597 #endif
23598
23599 #undef $ac_func
23600
23601 /* Override any gcc2 internal prototype to avoid an error.  */
23602 #ifdef __cplusplus
23603 extern "C"
23604 {
23605 #endif
23606 /* We use char because int might match the return type of a gcc2
23607    builtin and then its argument prototype would still apply.  */
23608 char $ac_func ();
23609 /* The GNU C library defines this for functions which it implements
23610     to always fail with ENOSYS.  Some functions are actually named
23611     something starting with __ and the normal name is an alias.  */
23612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23613 choke me
23614 #else
23615 char (*f) () = $ac_func;
23616 #endif
23617 #ifdef __cplusplus
23618 }
23619 #endif
23620
23621 int
23622 main ()
23623 {
23624 return f != $ac_func;
23625   ;
23626   return 0;
23627 }
23628 _ACEOF
23629 rm -f conftest.$ac_objext conftest$ac_exeext
23630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23631   (eval $ac_link) 2>conftest.er1
23632   ac_status=$?
23633   grep -v '^ *+' conftest.er1 >conftest.err
23634   rm -f conftest.er1
23635   cat conftest.err >&5
23636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23637   (exit $ac_status); } &&
23638          { ac_try='test -z "$ac_c_werror_flag"
23639                          || test ! -s conftest.err'
23640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23641   (eval $ac_try) 2>&5
23642   ac_status=$?
23643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23644   (exit $ac_status); }; } &&
23645          { ac_try='test -s conftest$ac_exeext'
23646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23647   (eval $ac_try) 2>&5
23648   ac_status=$?
23649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23650   (exit $ac_status); }; }; then
23651   eval "$as_ac_var=yes"
23652 else
23653   echo "$as_me: failed program was:" >&5
23654 sed 's/^/| /' conftest.$ac_ext >&5
23655
23656 eval "$as_ac_var=no"
23657 fi
23658 rm -f conftest.err conftest.$ac_objext \
23659       conftest$ac_exeext conftest.$ac_ext
23660 fi
23661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23663 if test `eval echo '${'$as_ac_var'}'` = yes; then
23664   cat >>confdefs.h <<_ACEOF
23665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23666 _ACEOF
23667
23668 fi
23669 done
23670
23671     fi
23672   fi
23673
23674
23675
23676   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
23677 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
23678   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
23679     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
23680   echo $ECHO_N "(cached) $ECHO_C" >&6
23681 else
23682
23683
23684
23685       ac_ext=cc
23686 ac_cpp='$CXXCPP $CPPFLAGS'
23687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23690
23691       cat >conftest.$ac_ext <<_ACEOF
23692 /* confdefs.h.  */
23693 _ACEOF
23694 cat confdefs.h >>conftest.$ac_ext
23695 cat >>conftest.$ac_ext <<_ACEOF
23696 /* end confdefs.h.  */
23697 #include <math.h>
23698 int
23699 main ()
23700 {
23701  sincosl(0, 0, 0);
23702   ;
23703   return 0;
23704 }
23705 _ACEOF
23706 rm -f conftest.$ac_objext
23707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23708   (eval $ac_compile) 2>conftest.er1
23709   ac_status=$?
23710   grep -v '^ *+' conftest.er1 >conftest.err
23711   rm -f conftest.er1
23712   cat conftest.err >&5
23713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23714   (exit $ac_status); } &&
23715          { ac_try='test -z "$ac_cxx_werror_flag"
23716                          || test ! -s conftest.err'
23717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23718   (eval $ac_try) 2>&5
23719   ac_status=$?
23720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23721   (exit $ac_status); }; } &&
23722          { ac_try='test -s conftest.$ac_objext'
23723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23724   (eval $ac_try) 2>&5
23725   ac_status=$?
23726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727   (exit $ac_status); }; }; then
23728   glibcxx_cv_func_sincosl_use=yes
23729 else
23730   echo "$as_me: failed program was:" >&5
23731 sed 's/^/| /' conftest.$ac_ext >&5
23732
23733 glibcxx_cv_func_sincosl_use=no
23734 fi
23735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23736       ac_ext=c
23737 ac_cpp='$CPP $CPPFLAGS'
23738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23741
23742
23743 fi
23744
23745   fi
23746   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
23747 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
23748
23749   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
23750
23751 for ac_func in sincosl
23752 do
23753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23754 echo "$as_me:$LINENO: checking for $ac_func" >&5
23755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23756 if eval "test \"\${$as_ac_var+set}\" = set"; then
23757   echo $ECHO_N "(cached) $ECHO_C" >&6
23758 else
23759   if test x$gcc_no_link = xyes; then
23760   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23762    { (exit 1); exit 1; }; }
23763 fi
23764 cat >conftest.$ac_ext <<_ACEOF
23765 /* confdefs.h.  */
23766 _ACEOF
23767 cat confdefs.h >>conftest.$ac_ext
23768 cat >>conftest.$ac_ext <<_ACEOF
23769 /* end confdefs.h.  */
23770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23771    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23772 #define $ac_func innocuous_$ac_func
23773
23774 /* System header to define __stub macros and hopefully few prototypes,
23775     which can conflict with char $ac_func (); below.
23776     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23777     <limits.h> exists even on freestanding compilers.  */
23778
23779 #ifdef __STDC__
23780 # include <limits.h>
23781 #else
23782 # include <assert.h>
23783 #endif
23784
23785 #undef $ac_func
23786
23787 /* Override any gcc2 internal prototype to avoid an error.  */
23788 #ifdef __cplusplus
23789 extern "C"
23790 {
23791 #endif
23792 /* We use char because int might match the return type of a gcc2
23793    builtin and then its argument prototype would still apply.  */
23794 char $ac_func ();
23795 /* The GNU C library defines this for functions which it implements
23796     to always fail with ENOSYS.  Some functions are actually named
23797     something starting with __ and the normal name is an alias.  */
23798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23799 choke me
23800 #else
23801 char (*f) () = $ac_func;
23802 #endif
23803 #ifdef __cplusplus
23804 }
23805 #endif
23806
23807 int
23808 main ()
23809 {
23810 return f != $ac_func;
23811   ;
23812   return 0;
23813 }
23814 _ACEOF
23815 rm -f conftest.$ac_objext conftest$ac_exeext
23816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23817   (eval $ac_link) 2>conftest.er1
23818   ac_status=$?
23819   grep -v '^ *+' conftest.er1 >conftest.err
23820   rm -f conftest.er1
23821   cat conftest.err >&5
23822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23823   (exit $ac_status); } &&
23824          { ac_try='test -z "$ac_c_werror_flag"
23825                          || test ! -s conftest.err'
23826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23827   (eval $ac_try) 2>&5
23828   ac_status=$?
23829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23830   (exit $ac_status); }; } &&
23831          { ac_try='test -s conftest$ac_exeext'
23832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23833   (eval $ac_try) 2>&5
23834   ac_status=$?
23835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23836   (exit $ac_status); }; }; then
23837   eval "$as_ac_var=yes"
23838 else
23839   echo "$as_me: failed program was:" >&5
23840 sed 's/^/| /' conftest.$ac_ext >&5
23841
23842 eval "$as_ac_var=no"
23843 fi
23844 rm -f conftest.err conftest.$ac_objext \
23845       conftest$ac_exeext conftest.$ac_ext
23846 fi
23847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23849 if test `eval echo '${'$as_ac_var'}'` = yes; then
23850   cat >>confdefs.h <<_ACEOF
23851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23852 _ACEOF
23853
23854 fi
23855 done
23856
23857   else
23858
23859   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
23860 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
23861   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
23862     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
23863   echo $ECHO_N "(cached) $ECHO_C" >&6
23864 else
23865
23866
23867
23868       ac_ext=cc
23869 ac_cpp='$CXXCPP $CPPFLAGS'
23870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23873
23874       cat >conftest.$ac_ext <<_ACEOF
23875 /* confdefs.h.  */
23876 _ACEOF
23877 cat confdefs.h >>conftest.$ac_ext
23878 cat >>conftest.$ac_ext <<_ACEOF
23879 /* end confdefs.h.  */
23880 #include <math.h>
23881 int
23882 main ()
23883 {
23884  _sincosl(0, 0, 0);
23885   ;
23886   return 0;
23887 }
23888 _ACEOF
23889 rm -f conftest.$ac_objext
23890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23891   (eval $ac_compile) 2>conftest.er1
23892   ac_status=$?
23893   grep -v '^ *+' conftest.er1 >conftest.err
23894   rm -f conftest.er1
23895   cat conftest.err >&5
23896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23897   (exit $ac_status); } &&
23898          { ac_try='test -z "$ac_cxx_werror_flag"
23899                          || test ! -s conftest.err'
23900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23901   (eval $ac_try) 2>&5
23902   ac_status=$?
23903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23904   (exit $ac_status); }; } &&
23905          { ac_try='test -s conftest.$ac_objext'
23906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23907   (eval $ac_try) 2>&5
23908   ac_status=$?
23909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23910   (exit $ac_status); }; }; then
23911   glibcxx_cv_func__sincosl_use=yes
23912 else
23913   echo "$as_me: failed program was:" >&5
23914 sed 's/^/| /' conftest.$ac_ext >&5
23915
23916 glibcxx_cv_func__sincosl_use=no
23917 fi
23918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23919       ac_ext=c
23920 ac_cpp='$CPP $CPPFLAGS'
23921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23924
23925
23926 fi
23927
23928   fi
23929   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
23930 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
23931
23932     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
23933
23934 for ac_func in _sincosl
23935 do
23936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23937 echo "$as_me:$LINENO: checking for $ac_func" >&5
23938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23939 if eval "test \"\${$as_ac_var+set}\" = set"; then
23940   echo $ECHO_N "(cached) $ECHO_C" >&6
23941 else
23942   if test x$gcc_no_link = xyes; then
23943   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23945    { (exit 1); exit 1; }; }
23946 fi
23947 cat >conftest.$ac_ext <<_ACEOF
23948 /* confdefs.h.  */
23949 _ACEOF
23950 cat confdefs.h >>conftest.$ac_ext
23951 cat >>conftest.$ac_ext <<_ACEOF
23952 /* end confdefs.h.  */
23953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23954    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23955 #define $ac_func innocuous_$ac_func
23956
23957 /* System header to define __stub macros and hopefully few prototypes,
23958     which can conflict with char $ac_func (); below.
23959     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23960     <limits.h> exists even on freestanding compilers.  */
23961
23962 #ifdef __STDC__
23963 # include <limits.h>
23964 #else
23965 # include <assert.h>
23966 #endif
23967
23968 #undef $ac_func
23969
23970 /* Override any gcc2 internal prototype to avoid an error.  */
23971 #ifdef __cplusplus
23972 extern "C"
23973 {
23974 #endif
23975 /* We use char because int might match the return type of a gcc2
23976    builtin and then its argument prototype would still apply.  */
23977 char $ac_func ();
23978 /* The GNU C library defines this for functions which it implements
23979     to always fail with ENOSYS.  Some functions are actually named
23980     something starting with __ and the normal name is an alias.  */
23981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23982 choke me
23983 #else
23984 char (*f) () = $ac_func;
23985 #endif
23986 #ifdef __cplusplus
23987 }
23988 #endif
23989
23990 int
23991 main ()
23992 {
23993 return f != $ac_func;
23994   ;
23995   return 0;
23996 }
23997 _ACEOF
23998 rm -f conftest.$ac_objext conftest$ac_exeext
23999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24000   (eval $ac_link) 2>conftest.er1
24001   ac_status=$?
24002   grep -v '^ *+' conftest.er1 >conftest.err
24003   rm -f conftest.er1
24004   cat conftest.err >&5
24005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24006   (exit $ac_status); } &&
24007          { ac_try='test -z "$ac_c_werror_flag"
24008                          || test ! -s conftest.err'
24009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24010   (eval $ac_try) 2>&5
24011   ac_status=$?
24012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24013   (exit $ac_status); }; } &&
24014          { ac_try='test -s conftest$ac_exeext'
24015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24016   (eval $ac_try) 2>&5
24017   ac_status=$?
24018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24019   (exit $ac_status); }; }; then
24020   eval "$as_ac_var=yes"
24021 else
24022   echo "$as_me: failed program was:" >&5
24023 sed 's/^/| /' conftest.$ac_ext >&5
24024
24025 eval "$as_ac_var=no"
24026 fi
24027 rm -f conftest.err conftest.$ac_objext \
24028       conftest$ac_exeext conftest.$ac_ext
24029 fi
24030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24032 if test `eval echo '${'$as_ac_var'}'` = yes; then
24033   cat >>confdefs.h <<_ACEOF
24034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24035 _ACEOF
24036
24037 fi
24038 done
24039
24040     fi
24041   fi
24042
24043
24044
24045   echo "$as_me:$LINENO: checking for finitel declaration" >&5
24046 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
24047   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
24048     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
24049   echo $ECHO_N "(cached) $ECHO_C" >&6
24050 else
24051
24052
24053
24054       ac_ext=cc
24055 ac_cpp='$CXXCPP $CPPFLAGS'
24056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24059
24060       cat >conftest.$ac_ext <<_ACEOF
24061 /* confdefs.h.  */
24062 _ACEOF
24063 cat confdefs.h >>conftest.$ac_ext
24064 cat >>conftest.$ac_ext <<_ACEOF
24065 /* end confdefs.h.  */
24066 #include <math.h>
24067                       #ifdef HAVE_IEEEFP_H
24068                       #include <ieeefp.h>
24069                       #endif
24070
24071 int
24072 main ()
24073 {
24074  finitel(0);
24075   ;
24076   return 0;
24077 }
24078 _ACEOF
24079 rm -f conftest.$ac_objext
24080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24081   (eval $ac_compile) 2>conftest.er1
24082   ac_status=$?
24083   grep -v '^ *+' conftest.er1 >conftest.err
24084   rm -f conftest.er1
24085   cat conftest.err >&5
24086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24087   (exit $ac_status); } &&
24088          { ac_try='test -z "$ac_cxx_werror_flag"
24089                          || test ! -s conftest.err'
24090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24091   (eval $ac_try) 2>&5
24092   ac_status=$?
24093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24094   (exit $ac_status); }; } &&
24095          { ac_try='test -s conftest.$ac_objext'
24096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24097   (eval $ac_try) 2>&5
24098   ac_status=$?
24099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24100   (exit $ac_status); }; }; then
24101   glibcxx_cv_func_finitel_use=yes
24102 else
24103   echo "$as_me: failed program was:" >&5
24104 sed 's/^/| /' conftest.$ac_ext >&5
24105
24106 glibcxx_cv_func_finitel_use=no
24107 fi
24108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24109       ac_ext=c
24110 ac_cpp='$CPP $CPPFLAGS'
24111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24114
24115
24116 fi
24117
24118   fi
24119   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
24120 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
24121
24122   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
24123
24124 for ac_func in finitel
24125 do
24126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24127 echo "$as_me:$LINENO: checking for $ac_func" >&5
24128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24129 if eval "test \"\${$as_ac_var+set}\" = set"; then
24130   echo $ECHO_N "(cached) $ECHO_C" >&6
24131 else
24132   if test x$gcc_no_link = xyes; then
24133   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24135    { (exit 1); exit 1; }; }
24136 fi
24137 cat >conftest.$ac_ext <<_ACEOF
24138 /* confdefs.h.  */
24139 _ACEOF
24140 cat confdefs.h >>conftest.$ac_ext
24141 cat >>conftest.$ac_ext <<_ACEOF
24142 /* end confdefs.h.  */
24143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24144    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24145 #define $ac_func innocuous_$ac_func
24146
24147 /* System header to define __stub macros and hopefully few prototypes,
24148     which can conflict with char $ac_func (); below.
24149     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24150     <limits.h> exists even on freestanding compilers.  */
24151
24152 #ifdef __STDC__
24153 # include <limits.h>
24154 #else
24155 # include <assert.h>
24156 #endif
24157
24158 #undef $ac_func
24159
24160 /* Override any gcc2 internal prototype to avoid an error.  */
24161 #ifdef __cplusplus
24162 extern "C"
24163 {
24164 #endif
24165 /* We use char because int might match the return type of a gcc2
24166    builtin and then its argument prototype would still apply.  */
24167 char $ac_func ();
24168 /* The GNU C library defines this for functions which it implements
24169     to always fail with ENOSYS.  Some functions are actually named
24170     something starting with __ and the normal name is an alias.  */
24171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24172 choke me
24173 #else
24174 char (*f) () = $ac_func;
24175 #endif
24176 #ifdef __cplusplus
24177 }
24178 #endif
24179
24180 int
24181 main ()
24182 {
24183 return f != $ac_func;
24184   ;
24185   return 0;
24186 }
24187 _ACEOF
24188 rm -f conftest.$ac_objext conftest$ac_exeext
24189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24190   (eval $ac_link) 2>conftest.er1
24191   ac_status=$?
24192   grep -v '^ *+' conftest.er1 >conftest.err
24193   rm -f conftest.er1
24194   cat conftest.err >&5
24195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24196   (exit $ac_status); } &&
24197          { ac_try='test -z "$ac_c_werror_flag"
24198                          || test ! -s conftest.err'
24199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24200   (eval $ac_try) 2>&5
24201   ac_status=$?
24202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24203   (exit $ac_status); }; } &&
24204          { ac_try='test -s conftest$ac_exeext'
24205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24206   (eval $ac_try) 2>&5
24207   ac_status=$?
24208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24209   (exit $ac_status); }; }; then
24210   eval "$as_ac_var=yes"
24211 else
24212   echo "$as_me: failed program was:" >&5
24213 sed 's/^/| /' conftest.$ac_ext >&5
24214
24215 eval "$as_ac_var=no"
24216 fi
24217 rm -f conftest.err conftest.$ac_objext \
24218       conftest$ac_exeext conftest.$ac_ext
24219 fi
24220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24222 if test `eval echo '${'$as_ac_var'}'` = yes; then
24223   cat >>confdefs.h <<_ACEOF
24224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24225 _ACEOF
24226
24227 fi
24228 done
24229
24230   else
24231
24232   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
24233 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
24234   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
24235     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
24236   echo $ECHO_N "(cached) $ECHO_C" >&6
24237 else
24238
24239
24240
24241       ac_ext=cc
24242 ac_cpp='$CXXCPP $CPPFLAGS'
24243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24246
24247       cat >conftest.$ac_ext <<_ACEOF
24248 /* confdefs.h.  */
24249 _ACEOF
24250 cat confdefs.h >>conftest.$ac_ext
24251 cat >>conftest.$ac_ext <<_ACEOF
24252 /* end confdefs.h.  */
24253 #include <math.h>
24254                       #ifdef HAVE_IEEEFP_H
24255                       #include <ieeefp.h>
24256                       #endif
24257
24258 int
24259 main ()
24260 {
24261  _finitel(0);
24262   ;
24263   return 0;
24264 }
24265 _ACEOF
24266 rm -f conftest.$ac_objext
24267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24268   (eval $ac_compile) 2>conftest.er1
24269   ac_status=$?
24270   grep -v '^ *+' conftest.er1 >conftest.err
24271   rm -f conftest.er1
24272   cat conftest.err >&5
24273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24274   (exit $ac_status); } &&
24275          { ac_try='test -z "$ac_cxx_werror_flag"
24276                          || test ! -s conftest.err'
24277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24278   (eval $ac_try) 2>&5
24279   ac_status=$?
24280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24281   (exit $ac_status); }; } &&
24282          { ac_try='test -s conftest.$ac_objext'
24283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24284   (eval $ac_try) 2>&5
24285   ac_status=$?
24286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24287   (exit $ac_status); }; }; then
24288   glibcxx_cv_func__finitel_use=yes
24289 else
24290   echo "$as_me: failed program was:" >&5
24291 sed 's/^/| /' conftest.$ac_ext >&5
24292
24293 glibcxx_cv_func__finitel_use=no
24294 fi
24295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24296       ac_ext=c
24297 ac_cpp='$CPP $CPPFLAGS'
24298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24301
24302
24303 fi
24304
24305   fi
24306   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
24307 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
24308
24309     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
24310
24311 for ac_func in _finitel
24312 do
24313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24314 echo "$as_me:$LINENO: checking for $ac_func" >&5
24315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24316 if eval "test \"\${$as_ac_var+set}\" = set"; then
24317   echo $ECHO_N "(cached) $ECHO_C" >&6
24318 else
24319   if test x$gcc_no_link = xyes; then
24320   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24322    { (exit 1); exit 1; }; }
24323 fi
24324 cat >conftest.$ac_ext <<_ACEOF
24325 /* confdefs.h.  */
24326 _ACEOF
24327 cat confdefs.h >>conftest.$ac_ext
24328 cat >>conftest.$ac_ext <<_ACEOF
24329 /* end confdefs.h.  */
24330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24331    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24332 #define $ac_func innocuous_$ac_func
24333
24334 /* System header to define __stub macros and hopefully few prototypes,
24335     which can conflict with char $ac_func (); below.
24336     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24337     <limits.h> exists even on freestanding compilers.  */
24338
24339 #ifdef __STDC__
24340 # include <limits.h>
24341 #else
24342 # include <assert.h>
24343 #endif
24344
24345 #undef $ac_func
24346
24347 /* Override any gcc2 internal prototype to avoid an error.  */
24348 #ifdef __cplusplus
24349 extern "C"
24350 {
24351 #endif
24352 /* We use char because int might match the return type of a gcc2
24353    builtin and then its argument prototype would still apply.  */
24354 char $ac_func ();
24355 /* The GNU C library defines this for functions which it implements
24356     to always fail with ENOSYS.  Some functions are actually named
24357     something starting with __ and the normal name is an alias.  */
24358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24359 choke me
24360 #else
24361 char (*f) () = $ac_func;
24362 #endif
24363 #ifdef __cplusplus
24364 }
24365 #endif
24366
24367 int
24368 main ()
24369 {
24370 return f != $ac_func;
24371   ;
24372   return 0;
24373 }
24374 _ACEOF
24375 rm -f conftest.$ac_objext conftest$ac_exeext
24376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24377   (eval $ac_link) 2>conftest.er1
24378   ac_status=$?
24379   grep -v '^ *+' conftest.er1 >conftest.err
24380   rm -f conftest.er1
24381   cat conftest.err >&5
24382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24383   (exit $ac_status); } &&
24384          { ac_try='test -z "$ac_c_werror_flag"
24385                          || test ! -s conftest.err'
24386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24387   (eval $ac_try) 2>&5
24388   ac_status=$?
24389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24390   (exit $ac_status); }; } &&
24391          { ac_try='test -s conftest$ac_exeext'
24392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24393   (eval $ac_try) 2>&5
24394   ac_status=$?
24395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24396   (exit $ac_status); }; }; then
24397   eval "$as_ac_var=yes"
24398 else
24399   echo "$as_me: failed program was:" >&5
24400 sed 's/^/| /' conftest.$ac_ext >&5
24401
24402 eval "$as_ac_var=no"
24403 fi
24404 rm -f conftest.err conftest.$ac_objext \
24405       conftest$ac_exeext conftest.$ac_ext
24406 fi
24407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24409 if test `eval echo '${'$as_ac_var'}'` = yes; then
24410   cat >>confdefs.h <<_ACEOF
24411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24412 _ACEOF
24413
24414 fi
24415 done
24416
24417     fi
24418   fi
24419
24420
24421
24422
24423   echo "$as_me:$LINENO: checking for _float trig functions" >&5
24424 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
24425   if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
24426   echo $ECHO_N "(cached) $ECHO_C" >&6
24427 else
24428
24429
24430
24431     ac_ext=cc
24432 ac_cpp='$CXXCPP $CPPFLAGS'
24433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24436
24437     cat >conftest.$ac_ext <<_ACEOF
24438 /* confdefs.h.  */
24439 _ACEOF
24440 cat confdefs.h >>conftest.$ac_ext
24441 cat >>conftest.$ac_ext <<_ACEOF
24442 /* end confdefs.h.  */
24443 #include <math.h>
24444 int
24445 main ()
24446 {
24447  `for x in _acosf _asinf _atanf \
24448                                           _cosf _sinf _tanf \
24449                                           _coshf _sinhf _tanhf; do echo "$x (0);"; done`
24450   ;
24451   return 0;
24452 }
24453 _ACEOF
24454 rm -f conftest.$ac_objext
24455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24456   (eval $ac_compile) 2>conftest.er1
24457   ac_status=$?
24458   grep -v '^ *+' conftest.er1 >conftest.err
24459   rm -f conftest.er1
24460   cat conftest.err >&5
24461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24462   (exit $ac_status); } &&
24463          { ac_try='test -z "$ac_cxx_werror_flag"
24464                          || test ! -s conftest.err'
24465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24466   (eval $ac_try) 2>&5
24467   ac_status=$?
24468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24469   (exit $ac_status); }; } &&
24470          { ac_try='test -s conftest.$ac_objext'
24471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24472   (eval $ac_try) 2>&5
24473   ac_status=$?
24474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24475   (exit $ac_status); }; }; then
24476   glibcxx_cv_func__float_trig_use=yes
24477 else
24478   echo "$as_me: failed program was:" >&5
24479 sed 's/^/| /' conftest.$ac_ext >&5
24480
24481 glibcxx_cv_func__float_trig_use=no
24482 fi
24483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24484     ac_ext=c
24485 ac_cpp='$CPP $CPPFLAGS'
24486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24489
24490 fi
24491
24492   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
24493 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
24494   if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
24495
24496
24497
24498
24499
24500
24501
24502
24503
24504 for ac_func in _acosf _asinf _atanf \
24505                                           _cosf _sinf _tanf \
24506                                           _coshf _sinhf _tanhf
24507 do
24508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24509 echo "$as_me:$LINENO: checking for $ac_func" >&5
24510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24511 if eval "test \"\${$as_ac_var+set}\" = set"; then
24512   echo $ECHO_N "(cached) $ECHO_C" >&6
24513 else
24514   if test x$gcc_no_link = xyes; then
24515   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24517    { (exit 1); exit 1; }; }
24518 fi
24519 cat >conftest.$ac_ext <<_ACEOF
24520 /* confdefs.h.  */
24521 _ACEOF
24522 cat confdefs.h >>conftest.$ac_ext
24523 cat >>conftest.$ac_ext <<_ACEOF
24524 /* end confdefs.h.  */
24525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24526    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24527 #define $ac_func innocuous_$ac_func
24528
24529 /* System header to define __stub macros and hopefully few prototypes,
24530     which can conflict with char $ac_func (); below.
24531     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24532     <limits.h> exists even on freestanding compilers.  */
24533
24534 #ifdef __STDC__
24535 # include <limits.h>
24536 #else
24537 # include <assert.h>
24538 #endif
24539
24540 #undef $ac_func
24541
24542 /* Override any gcc2 internal prototype to avoid an error.  */
24543 #ifdef __cplusplus
24544 extern "C"
24545 {
24546 #endif
24547 /* We use char because int might match the return type of a gcc2
24548    builtin and then its argument prototype would still apply.  */
24549 char $ac_func ();
24550 /* The GNU C library defines this for functions which it implements
24551     to always fail with ENOSYS.  Some functions are actually named
24552     something starting with __ and the normal name is an alias.  */
24553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24554 choke me
24555 #else
24556 char (*f) () = $ac_func;
24557 #endif
24558 #ifdef __cplusplus
24559 }
24560 #endif
24561
24562 int
24563 main ()
24564 {
24565 return f != $ac_func;
24566   ;
24567   return 0;
24568 }
24569 _ACEOF
24570 rm -f conftest.$ac_objext conftest$ac_exeext
24571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24572   (eval $ac_link) 2>conftest.er1
24573   ac_status=$?
24574   grep -v '^ *+' conftest.er1 >conftest.err
24575   rm -f conftest.er1
24576   cat conftest.err >&5
24577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24578   (exit $ac_status); } &&
24579          { ac_try='test -z "$ac_c_werror_flag"
24580                          || test ! -s conftest.err'
24581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24582   (eval $ac_try) 2>&5
24583   ac_status=$?
24584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24585   (exit $ac_status); }; } &&
24586          { ac_try='test -s conftest$ac_exeext'
24587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24588   (eval $ac_try) 2>&5
24589   ac_status=$?
24590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24591   (exit $ac_status); }; }; then
24592   eval "$as_ac_var=yes"
24593 else
24594   echo "$as_me: failed program was:" >&5
24595 sed 's/^/| /' conftest.$ac_ext >&5
24596
24597 eval "$as_ac_var=no"
24598 fi
24599 rm -f conftest.err conftest.$ac_objext \
24600       conftest$ac_exeext conftest.$ac_ext
24601 fi
24602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24604 if test `eval echo '${'$as_ac_var'}'` = yes; then
24605   cat >>confdefs.h <<_ACEOF
24606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24607 _ACEOF
24608
24609 fi
24610 done
24611
24612   fi
24613
24614
24615   echo "$as_me:$LINENO: checking for _float round functions" >&5
24616 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
24617   if test "${glibcxx_cv_func__float_round_use+set}" = set; then
24618   echo $ECHO_N "(cached) $ECHO_C" >&6
24619 else
24620
24621
24622
24623     ac_ext=cc
24624 ac_cpp='$CXXCPP $CPPFLAGS'
24625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24628
24629     cat >conftest.$ac_ext <<_ACEOF
24630 /* confdefs.h.  */
24631 _ACEOF
24632 cat confdefs.h >>conftest.$ac_ext
24633 cat >>conftest.$ac_ext <<_ACEOF
24634 /* end confdefs.h.  */
24635 #include <math.h>
24636 int
24637 main ()
24638 {
24639  `for x in _ceilf _floorf; do echo "$x (0);"; done`
24640   ;
24641   return 0;
24642 }
24643 _ACEOF
24644 rm -f conftest.$ac_objext
24645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24646   (eval $ac_compile) 2>conftest.er1
24647   ac_status=$?
24648   grep -v '^ *+' conftest.er1 >conftest.err
24649   rm -f conftest.er1
24650   cat conftest.err >&5
24651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24652   (exit $ac_status); } &&
24653          { ac_try='test -z "$ac_cxx_werror_flag"
24654                          || test ! -s conftest.err'
24655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24656   (eval $ac_try) 2>&5
24657   ac_status=$?
24658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24659   (exit $ac_status); }; } &&
24660          { ac_try='test -s conftest.$ac_objext'
24661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24662   (eval $ac_try) 2>&5
24663   ac_status=$?
24664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24665   (exit $ac_status); }; }; then
24666   glibcxx_cv_func__float_round_use=yes
24667 else
24668   echo "$as_me: failed program was:" >&5
24669 sed 's/^/| /' conftest.$ac_ext >&5
24670
24671 glibcxx_cv_func__float_round_use=no
24672 fi
24673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24674     ac_ext=c
24675 ac_cpp='$CPP $CPPFLAGS'
24676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24679
24680 fi
24681
24682   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
24683 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
24684   if test x$glibcxx_cv_func__float_round_use = x"yes"; then
24685
24686
24687 for ac_func in _ceilf _floorf
24688 do
24689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24690 echo "$as_me:$LINENO: checking for $ac_func" >&5
24691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24692 if eval "test \"\${$as_ac_var+set}\" = set"; then
24693   echo $ECHO_N "(cached) $ECHO_C" >&6
24694 else
24695   if test x$gcc_no_link = xyes; then
24696   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24698    { (exit 1); exit 1; }; }
24699 fi
24700 cat >conftest.$ac_ext <<_ACEOF
24701 /* confdefs.h.  */
24702 _ACEOF
24703 cat confdefs.h >>conftest.$ac_ext
24704 cat >>conftest.$ac_ext <<_ACEOF
24705 /* end confdefs.h.  */
24706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24707    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24708 #define $ac_func innocuous_$ac_func
24709
24710 /* System header to define __stub macros and hopefully few prototypes,
24711     which can conflict with char $ac_func (); below.
24712     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24713     <limits.h> exists even on freestanding compilers.  */
24714
24715 #ifdef __STDC__
24716 # include <limits.h>
24717 #else
24718 # include <assert.h>
24719 #endif
24720
24721 #undef $ac_func
24722
24723 /* Override any gcc2 internal prototype to avoid an error.  */
24724 #ifdef __cplusplus
24725 extern "C"
24726 {
24727 #endif
24728 /* We use char because int might match the return type of a gcc2
24729    builtin and then its argument prototype would still apply.  */
24730 char $ac_func ();
24731 /* The GNU C library defines this for functions which it implements
24732     to always fail with ENOSYS.  Some functions are actually named
24733     something starting with __ and the normal name is an alias.  */
24734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24735 choke me
24736 #else
24737 char (*f) () = $ac_func;
24738 #endif
24739 #ifdef __cplusplus
24740 }
24741 #endif
24742
24743 int
24744 main ()
24745 {
24746 return f != $ac_func;
24747   ;
24748   return 0;
24749 }
24750 _ACEOF
24751 rm -f conftest.$ac_objext conftest$ac_exeext
24752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24753   (eval $ac_link) 2>conftest.er1
24754   ac_status=$?
24755   grep -v '^ *+' conftest.er1 >conftest.err
24756   rm -f conftest.er1
24757   cat conftest.err >&5
24758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24759   (exit $ac_status); } &&
24760          { ac_try='test -z "$ac_c_werror_flag"
24761                          || test ! -s conftest.err'
24762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24763   (eval $ac_try) 2>&5
24764   ac_status=$?
24765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24766   (exit $ac_status); }; } &&
24767          { ac_try='test -s conftest$ac_exeext'
24768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24769   (eval $ac_try) 2>&5
24770   ac_status=$?
24771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24772   (exit $ac_status); }; }; then
24773   eval "$as_ac_var=yes"
24774 else
24775   echo "$as_me: failed program was:" >&5
24776 sed 's/^/| /' conftest.$ac_ext >&5
24777
24778 eval "$as_ac_var=no"
24779 fi
24780 rm -f conftest.err conftest.$ac_objext \
24781       conftest$ac_exeext conftest.$ac_ext
24782 fi
24783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24785 if test `eval echo '${'$as_ac_var'}'` = yes; then
24786   cat >>confdefs.h <<_ACEOF
24787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24788 _ACEOF
24789
24790 fi
24791 done
24792
24793   fi
24794
24795
24796
24797   echo "$as_me:$LINENO: checking for _long double trig functions" >&5
24798 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
24799   if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
24800   echo $ECHO_N "(cached) $ECHO_C" >&6
24801 else
24802
24803
24804
24805     ac_ext=cc
24806 ac_cpp='$CXXCPP $CPPFLAGS'
24807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24810
24811     cat >conftest.$ac_ext <<_ACEOF
24812 /* confdefs.h.  */
24813 _ACEOF
24814 cat confdefs.h >>conftest.$ac_ext
24815 cat >>conftest.$ac_ext <<_ACEOF
24816 /* end confdefs.h.  */
24817 #include <math.h>
24818 int
24819 main ()
24820 {
24821  `for x in _acosl _asinl _atanl \
24822                                           _cosl _sinl _tanl \
24823                                           _coshl _sinhl _tanhl; do echo "$x (0);"; done`
24824   ;
24825   return 0;
24826 }
24827 _ACEOF
24828 rm -f conftest.$ac_objext
24829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24830   (eval $ac_compile) 2>conftest.er1
24831   ac_status=$?
24832   grep -v '^ *+' conftest.er1 >conftest.err
24833   rm -f conftest.er1
24834   cat conftest.err >&5
24835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24836   (exit $ac_status); } &&
24837          { ac_try='test -z "$ac_cxx_werror_flag"
24838                          || test ! -s conftest.err'
24839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24840   (eval $ac_try) 2>&5
24841   ac_status=$?
24842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24843   (exit $ac_status); }; } &&
24844          { ac_try='test -s conftest.$ac_objext'
24845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24846   (eval $ac_try) 2>&5
24847   ac_status=$?
24848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24849   (exit $ac_status); }; }; then
24850   glibcxx_cv_func__long_double_trig_use=yes
24851 else
24852   echo "$as_me: failed program was:" >&5
24853 sed 's/^/| /' conftest.$ac_ext >&5
24854
24855 glibcxx_cv_func__long_double_trig_use=no
24856 fi
24857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24858     ac_ext=c
24859 ac_cpp='$CPP $CPPFLAGS'
24860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24863
24864 fi
24865
24866   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
24867 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
24868   if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24869
24870
24871
24872
24873
24874
24875
24876
24877
24878 for ac_func in _acosl _asinl _atanl \
24879                                           _cosl _sinl _tanl \
24880                                           _coshl _sinhl _tanhl
24881 do
24882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24883 echo "$as_me:$LINENO: checking for $ac_func" >&5
24884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24885 if eval "test \"\${$as_ac_var+set}\" = set"; then
24886   echo $ECHO_N "(cached) $ECHO_C" >&6
24887 else
24888   if test x$gcc_no_link = xyes; then
24889   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24891    { (exit 1); exit 1; }; }
24892 fi
24893 cat >conftest.$ac_ext <<_ACEOF
24894 /* confdefs.h.  */
24895 _ACEOF
24896 cat confdefs.h >>conftest.$ac_ext
24897 cat >>conftest.$ac_ext <<_ACEOF
24898 /* end confdefs.h.  */
24899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24900    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24901 #define $ac_func innocuous_$ac_func
24902
24903 /* System header to define __stub macros and hopefully few prototypes,
24904     which can conflict with char $ac_func (); below.
24905     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24906     <limits.h> exists even on freestanding compilers.  */
24907
24908 #ifdef __STDC__
24909 # include <limits.h>
24910 #else
24911 # include <assert.h>
24912 #endif
24913
24914 #undef $ac_func
24915
24916 /* Override any gcc2 internal prototype to avoid an error.  */
24917 #ifdef __cplusplus
24918 extern "C"
24919 {
24920 #endif
24921 /* We use char because int might match the return type of a gcc2
24922    builtin and then its argument prototype would still apply.  */
24923 char $ac_func ();
24924 /* The GNU C library defines this for functions which it implements
24925     to always fail with ENOSYS.  Some functions are actually named
24926     something starting with __ and the normal name is an alias.  */
24927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24928 choke me
24929 #else
24930 char (*f) () = $ac_func;
24931 #endif
24932 #ifdef __cplusplus
24933 }
24934 #endif
24935
24936 int
24937 main ()
24938 {
24939 return f != $ac_func;
24940   ;
24941   return 0;
24942 }
24943 _ACEOF
24944 rm -f conftest.$ac_objext conftest$ac_exeext
24945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24946   (eval $ac_link) 2>conftest.er1
24947   ac_status=$?
24948   grep -v '^ *+' conftest.er1 >conftest.err
24949   rm -f conftest.er1
24950   cat conftest.err >&5
24951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24952   (exit $ac_status); } &&
24953          { ac_try='test -z "$ac_c_werror_flag"
24954                          || test ! -s conftest.err'
24955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24956   (eval $ac_try) 2>&5
24957   ac_status=$?
24958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24959   (exit $ac_status); }; } &&
24960          { ac_try='test -s conftest$ac_exeext'
24961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24962   (eval $ac_try) 2>&5
24963   ac_status=$?
24964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24965   (exit $ac_status); }; }; then
24966   eval "$as_ac_var=yes"
24967 else
24968   echo "$as_me: failed program was:" >&5
24969 sed 's/^/| /' conftest.$ac_ext >&5
24970
24971 eval "$as_ac_var=no"
24972 fi
24973 rm -f conftest.err conftest.$ac_objext \
24974       conftest$ac_exeext conftest.$ac_ext
24975 fi
24976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24978 if test `eval echo '${'$as_ac_var'}'` = yes; then
24979   cat >>confdefs.h <<_ACEOF
24980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24981 _ACEOF
24982
24983 fi
24984 done
24985
24986   fi
24987
24988
24989   echo "$as_me:$LINENO: checking for _long double round functions" >&5
24990 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
24991   if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
24992   echo $ECHO_N "(cached) $ECHO_C" >&6
24993 else
24994
24995
24996
24997     ac_ext=cc
24998 ac_cpp='$CXXCPP $CPPFLAGS'
24999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25002
25003     cat >conftest.$ac_ext <<_ACEOF
25004 /* confdefs.h.  */
25005 _ACEOF
25006 cat confdefs.h >>conftest.$ac_ext
25007 cat >>conftest.$ac_ext <<_ACEOF
25008 /* end confdefs.h.  */
25009 #include <math.h>
25010 int
25011 main ()
25012 {
25013  `for x in _ceill _floorl; do echo "$x (0);"; done`
25014   ;
25015   return 0;
25016 }
25017 _ACEOF
25018 rm -f conftest.$ac_objext
25019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25020   (eval $ac_compile) 2>conftest.er1
25021   ac_status=$?
25022   grep -v '^ *+' conftest.er1 >conftest.err
25023   rm -f conftest.er1
25024   cat conftest.err >&5
25025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25026   (exit $ac_status); } &&
25027          { ac_try='test -z "$ac_cxx_werror_flag"
25028                          || test ! -s conftest.err'
25029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25030   (eval $ac_try) 2>&5
25031   ac_status=$?
25032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25033   (exit $ac_status); }; } &&
25034          { ac_try='test -s conftest.$ac_objext'
25035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25036   (eval $ac_try) 2>&5
25037   ac_status=$?
25038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25039   (exit $ac_status); }; }; then
25040   glibcxx_cv_func__long_double_round_use=yes
25041 else
25042   echo "$as_me: failed program was:" >&5
25043 sed 's/^/| /' conftest.$ac_ext >&5
25044
25045 glibcxx_cv_func__long_double_round_use=no
25046 fi
25047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25048     ac_ext=c
25049 ac_cpp='$CPP $CPPFLAGS'
25050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25053
25054 fi
25055
25056   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
25057 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
25058   if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25059
25060
25061 for ac_func in _ceill _floorl
25062 do
25063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25064 echo "$as_me:$LINENO: checking for $ac_func" >&5
25065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25066 if eval "test \"\${$as_ac_var+set}\" = set"; then
25067   echo $ECHO_N "(cached) $ECHO_C" >&6
25068 else
25069   if test x$gcc_no_link = xyes; then
25070   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25072    { (exit 1); exit 1; }; }
25073 fi
25074 cat >conftest.$ac_ext <<_ACEOF
25075 /* confdefs.h.  */
25076 _ACEOF
25077 cat confdefs.h >>conftest.$ac_ext
25078 cat >>conftest.$ac_ext <<_ACEOF
25079 /* end confdefs.h.  */
25080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25081    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25082 #define $ac_func innocuous_$ac_func
25083
25084 /* System header to define __stub macros and hopefully few prototypes,
25085     which can conflict with char $ac_func (); below.
25086     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25087     <limits.h> exists even on freestanding compilers.  */
25088
25089 #ifdef __STDC__
25090 # include <limits.h>
25091 #else
25092 # include <assert.h>
25093 #endif
25094
25095 #undef $ac_func
25096
25097 /* Override any gcc2 internal prototype to avoid an error.  */
25098 #ifdef __cplusplus
25099 extern "C"
25100 {
25101 #endif
25102 /* We use char because int might match the return type of a gcc2
25103    builtin and then its argument prototype would still apply.  */
25104 char $ac_func ();
25105 /* The GNU C library defines this for functions which it implements
25106     to always fail with ENOSYS.  Some functions are actually named
25107     something starting with __ and the normal name is an alias.  */
25108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25109 choke me
25110 #else
25111 char (*f) () = $ac_func;
25112 #endif
25113 #ifdef __cplusplus
25114 }
25115 #endif
25116
25117 int
25118 main ()
25119 {
25120 return f != $ac_func;
25121   ;
25122   return 0;
25123 }
25124 _ACEOF
25125 rm -f conftest.$ac_objext conftest$ac_exeext
25126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25127   (eval $ac_link) 2>conftest.er1
25128   ac_status=$?
25129   grep -v '^ *+' conftest.er1 >conftest.err
25130   rm -f conftest.er1
25131   cat conftest.err >&5
25132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25133   (exit $ac_status); } &&
25134          { ac_try='test -z "$ac_c_werror_flag"
25135                          || test ! -s conftest.err'
25136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25137   (eval $ac_try) 2>&5
25138   ac_status=$?
25139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25140   (exit $ac_status); }; } &&
25141          { ac_try='test -s conftest$ac_exeext'
25142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25143   (eval $ac_try) 2>&5
25144   ac_status=$?
25145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25146   (exit $ac_status); }; }; then
25147   eval "$as_ac_var=yes"
25148 else
25149   echo "$as_me: failed program was:" >&5
25150 sed 's/^/| /' conftest.$ac_ext >&5
25151
25152 eval "$as_ac_var=no"
25153 fi
25154 rm -f conftest.err conftest.$ac_objext \
25155       conftest$ac_exeext conftest.$ac_ext
25156 fi
25157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25159 if test `eval echo '${'$as_ac_var'}'` = yes; then
25160   cat >>confdefs.h <<_ACEOF
25161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25162 _ACEOF
25163
25164 fi
25165 done
25166
25167   fi
25168
25169
25170   LIBS="$ac_save_LIBS"
25171   CXXFLAGS="$ac_save_CXXFLAGS"
25172
25173
25174
25175   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25176 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25177   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25178     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25179   echo $ECHO_N "(cached) $ECHO_C" >&6
25180 else
25181
25182
25183
25184       ac_ext=cc
25185 ac_cpp='$CXXCPP $CPPFLAGS'
25186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25189
25190       cat >conftest.$ac_ext <<_ACEOF
25191 /* confdefs.h.  */
25192 _ACEOF
25193 cat confdefs.h >>conftest.$ac_ext
25194 cat >>conftest.$ac_ext <<_ACEOF
25195 /* end confdefs.h.  */
25196 #include <math.h>
25197 int
25198 main ()
25199 {
25200  __builtin_abs(0);
25201   ;
25202   return 0;
25203 }
25204 _ACEOF
25205 rm -f conftest.$ac_objext
25206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25207   (eval $ac_compile) 2>conftest.er1
25208   ac_status=$?
25209   grep -v '^ *+' conftest.er1 >conftest.err
25210   rm -f conftest.er1
25211   cat conftest.err >&5
25212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25213   (exit $ac_status); } &&
25214          { ac_try='test -z "$ac_cxx_werror_flag"
25215                          || test ! -s conftest.err'
25216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25217   (eval $ac_try) 2>&5
25218   ac_status=$?
25219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25220   (exit $ac_status); }; } &&
25221          { ac_try='test -s conftest.$ac_objext'
25222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25223   (eval $ac_try) 2>&5
25224   ac_status=$?
25225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25226   (exit $ac_status); }; }; then
25227   glibcxx_cv_func___builtin_abs_use=yes
25228 else
25229   echo "$as_me: failed program was:" >&5
25230 sed 's/^/| /' conftest.$ac_ext >&5
25231
25232 glibcxx_cv_func___builtin_abs_use=no
25233 fi
25234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25235       ac_ext=c
25236 ac_cpp='$CPP $CPPFLAGS'
25237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25240
25241
25242 fi
25243
25244   fi
25245   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25246 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25247   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25248     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25249 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25250     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25251       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25252   echo $ECHO_N "(cached) $ECHO_C" >&6
25253 else
25254
25255         if test x$gcc_no_link = xyes; then
25256   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25258    { (exit 1); exit 1; }; }
25259 fi
25260 cat >conftest.$ac_ext <<_ACEOF
25261 /* confdefs.h.  */
25262 _ACEOF
25263 cat confdefs.h >>conftest.$ac_ext
25264 cat >>conftest.$ac_ext <<_ACEOF
25265 /* end confdefs.h.  */
25266 #include <math.h>
25267 int
25268 main ()
25269 {
25270  __builtin_abs(0);
25271   ;
25272   return 0;
25273 }
25274 _ACEOF
25275 rm -f conftest.$ac_objext conftest$ac_exeext
25276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25277   (eval $ac_link) 2>conftest.er1
25278   ac_status=$?
25279   grep -v '^ *+' conftest.er1 >conftest.err
25280   rm -f conftest.er1
25281   cat conftest.err >&5
25282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25283   (exit $ac_status); } &&
25284          { ac_try='test -z "$ac_c_werror_flag"
25285                          || test ! -s conftest.err'
25286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25287   (eval $ac_try) 2>&5
25288   ac_status=$?
25289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25290   (exit $ac_status); }; } &&
25291          { ac_try='test -s conftest$ac_exeext'
25292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25293   (eval $ac_try) 2>&5
25294   ac_status=$?
25295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25296   (exit $ac_status); }; }; then
25297   glibcxx_cv_func___builtin_abs_link=yes
25298 else
25299   echo "$as_me: failed program was:" >&5
25300 sed 's/^/| /' conftest.$ac_ext >&5
25301
25302 glibcxx_cv_func___builtin_abs_link=no
25303 fi
25304 rm -f conftest.err conftest.$ac_objext \
25305       conftest$ac_exeext conftest.$ac_ext
25306
25307 fi
25308
25309     fi
25310     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25311 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25312     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25313       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25314
25315 cat >>confdefs.h <<_ACEOF
25316 #define ${ac_tr_func} 1
25317 _ACEOF
25318
25319     fi
25320   fi
25321
25322
25323   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25324 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25325   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25326     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25327   echo $ECHO_N "(cached) $ECHO_C" >&6
25328 else
25329
25330
25331
25332       ac_ext=cc
25333 ac_cpp='$CXXCPP $CPPFLAGS'
25334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25337
25338       cat >conftest.$ac_ext <<_ACEOF
25339 /* confdefs.h.  */
25340 _ACEOF
25341 cat confdefs.h >>conftest.$ac_ext
25342 cat >>conftest.$ac_ext <<_ACEOF
25343 /* end confdefs.h.  */
25344 #include <math.h>
25345 int
25346 main ()
25347 {
25348  __builtin_fabsf(0);
25349   ;
25350   return 0;
25351 }
25352 _ACEOF
25353 rm -f conftest.$ac_objext
25354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25355   (eval $ac_compile) 2>conftest.er1
25356   ac_status=$?
25357   grep -v '^ *+' conftest.er1 >conftest.err
25358   rm -f conftest.er1
25359   cat conftest.err >&5
25360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25361   (exit $ac_status); } &&
25362          { ac_try='test -z "$ac_cxx_werror_flag"
25363                          || test ! -s conftest.err'
25364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25365   (eval $ac_try) 2>&5
25366   ac_status=$?
25367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25368   (exit $ac_status); }; } &&
25369          { ac_try='test -s conftest.$ac_objext'
25370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25371   (eval $ac_try) 2>&5
25372   ac_status=$?
25373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25374   (exit $ac_status); }; }; then
25375   glibcxx_cv_func___builtin_fabsf_use=yes
25376 else
25377   echo "$as_me: failed program was:" >&5
25378 sed 's/^/| /' conftest.$ac_ext >&5
25379
25380 glibcxx_cv_func___builtin_fabsf_use=no
25381 fi
25382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25383       ac_ext=c
25384 ac_cpp='$CPP $CPPFLAGS'
25385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25388
25389
25390 fi
25391
25392   fi
25393   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25394 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25395   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25396     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25397 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25398     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25399       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25400   echo $ECHO_N "(cached) $ECHO_C" >&6
25401 else
25402
25403         if test x$gcc_no_link = xyes; then
25404   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25406    { (exit 1); exit 1; }; }
25407 fi
25408 cat >conftest.$ac_ext <<_ACEOF
25409 /* confdefs.h.  */
25410 _ACEOF
25411 cat confdefs.h >>conftest.$ac_ext
25412 cat >>conftest.$ac_ext <<_ACEOF
25413 /* end confdefs.h.  */
25414 #include <math.h>
25415 int
25416 main ()
25417 {
25418  __builtin_fabsf(0);
25419   ;
25420   return 0;
25421 }
25422 _ACEOF
25423 rm -f conftest.$ac_objext conftest$ac_exeext
25424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25425   (eval $ac_link) 2>conftest.er1
25426   ac_status=$?
25427   grep -v '^ *+' conftest.er1 >conftest.err
25428   rm -f conftest.er1
25429   cat conftest.err >&5
25430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25431   (exit $ac_status); } &&
25432          { ac_try='test -z "$ac_c_werror_flag"
25433                          || test ! -s conftest.err'
25434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25435   (eval $ac_try) 2>&5
25436   ac_status=$?
25437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25438   (exit $ac_status); }; } &&
25439          { ac_try='test -s conftest$ac_exeext'
25440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25441   (eval $ac_try) 2>&5
25442   ac_status=$?
25443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25444   (exit $ac_status); }; }; then
25445   glibcxx_cv_func___builtin_fabsf_link=yes
25446 else
25447   echo "$as_me: failed program was:" >&5
25448 sed 's/^/| /' conftest.$ac_ext >&5
25449
25450 glibcxx_cv_func___builtin_fabsf_link=no
25451 fi
25452 rm -f conftest.err conftest.$ac_objext \
25453       conftest$ac_exeext conftest.$ac_ext
25454
25455 fi
25456
25457     fi
25458     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25459 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25460     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25461       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25462
25463 cat >>confdefs.h <<_ACEOF
25464 #define ${ac_tr_func} 1
25465 _ACEOF
25466
25467     fi
25468   fi
25469
25470
25471   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25472 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25473   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
25474     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
25475   echo $ECHO_N "(cached) $ECHO_C" >&6
25476 else
25477
25478
25479
25480       ac_ext=cc
25481 ac_cpp='$CXXCPP $CPPFLAGS'
25482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25485
25486       cat >conftest.$ac_ext <<_ACEOF
25487 /* confdefs.h.  */
25488 _ACEOF
25489 cat confdefs.h >>conftest.$ac_ext
25490 cat >>conftest.$ac_ext <<_ACEOF
25491 /* end confdefs.h.  */
25492 #include <math.h>
25493 int
25494 main ()
25495 {
25496  __builtin_fabs(0);
25497   ;
25498   return 0;
25499 }
25500 _ACEOF
25501 rm -f conftest.$ac_objext
25502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25503   (eval $ac_compile) 2>conftest.er1
25504   ac_status=$?
25505   grep -v '^ *+' conftest.er1 >conftest.err
25506   rm -f conftest.er1
25507   cat conftest.err >&5
25508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25509   (exit $ac_status); } &&
25510          { ac_try='test -z "$ac_cxx_werror_flag"
25511                          || test ! -s conftest.err'
25512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25513   (eval $ac_try) 2>&5
25514   ac_status=$?
25515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25516   (exit $ac_status); }; } &&
25517          { ac_try='test -s conftest.$ac_objext'
25518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25519   (eval $ac_try) 2>&5
25520   ac_status=$?
25521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25522   (exit $ac_status); }; }; then
25523   glibcxx_cv_func___builtin_fabs_use=yes
25524 else
25525   echo "$as_me: failed program was:" >&5
25526 sed 's/^/| /' conftest.$ac_ext >&5
25527
25528 glibcxx_cv_func___builtin_fabs_use=no
25529 fi
25530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25531       ac_ext=c
25532 ac_cpp='$CPP $CPPFLAGS'
25533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25536
25537
25538 fi
25539
25540   fi
25541   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
25542 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
25543   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
25544     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
25545 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
25546     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
25547       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
25548   echo $ECHO_N "(cached) $ECHO_C" >&6
25549 else
25550
25551         if test x$gcc_no_link = xyes; then
25552   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25554    { (exit 1); exit 1; }; }
25555 fi
25556 cat >conftest.$ac_ext <<_ACEOF
25557 /* confdefs.h.  */
25558 _ACEOF
25559 cat confdefs.h >>conftest.$ac_ext
25560 cat >>conftest.$ac_ext <<_ACEOF
25561 /* end confdefs.h.  */
25562 #include <math.h>
25563 int
25564 main ()
25565 {
25566  __builtin_fabs(0);
25567   ;
25568   return 0;
25569 }
25570 _ACEOF
25571 rm -f conftest.$ac_objext conftest$ac_exeext
25572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25573   (eval $ac_link) 2>conftest.er1
25574   ac_status=$?
25575   grep -v '^ *+' conftest.er1 >conftest.err
25576   rm -f conftest.er1
25577   cat conftest.err >&5
25578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25579   (exit $ac_status); } &&
25580          { ac_try='test -z "$ac_c_werror_flag"
25581                          || test ! -s conftest.err'
25582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25583   (eval $ac_try) 2>&5
25584   ac_status=$?
25585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25586   (exit $ac_status); }; } &&
25587          { ac_try='test -s conftest$ac_exeext'
25588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25589   (eval $ac_try) 2>&5
25590   ac_status=$?
25591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25592   (exit $ac_status); }; }; then
25593   glibcxx_cv_func___builtin_fabs_link=yes
25594 else
25595   echo "$as_me: failed program was:" >&5
25596 sed 's/^/| /' conftest.$ac_ext >&5
25597
25598 glibcxx_cv_func___builtin_fabs_link=no
25599 fi
25600 rm -f conftest.err conftest.$ac_objext \
25601       conftest$ac_exeext conftest.$ac_ext
25602
25603 fi
25604
25605     fi
25606     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
25607 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
25608     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
25609       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25610
25611 cat >>confdefs.h <<_ACEOF
25612 #define ${ac_tr_func} 1
25613 _ACEOF
25614
25615     fi
25616   fi
25617
25618
25619   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
25620 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
25621   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
25622     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
25623   echo $ECHO_N "(cached) $ECHO_C" >&6
25624 else
25625
25626
25627
25628       ac_ext=cc
25629 ac_cpp='$CXXCPP $CPPFLAGS'
25630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25633
25634       cat >conftest.$ac_ext <<_ACEOF
25635 /* confdefs.h.  */
25636 _ACEOF
25637 cat confdefs.h >>conftest.$ac_ext
25638 cat >>conftest.$ac_ext <<_ACEOF
25639 /* end confdefs.h.  */
25640 #include <math.h>
25641 int
25642 main ()
25643 {
25644  __builtin_fabsl(0);
25645   ;
25646   return 0;
25647 }
25648 _ACEOF
25649 rm -f conftest.$ac_objext
25650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25651   (eval $ac_compile) 2>conftest.er1
25652   ac_status=$?
25653   grep -v '^ *+' conftest.er1 >conftest.err
25654   rm -f conftest.er1
25655   cat conftest.err >&5
25656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25657   (exit $ac_status); } &&
25658          { ac_try='test -z "$ac_cxx_werror_flag"
25659                          || test ! -s conftest.err'
25660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25661   (eval $ac_try) 2>&5
25662   ac_status=$?
25663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25664   (exit $ac_status); }; } &&
25665          { ac_try='test -s conftest.$ac_objext'
25666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25667   (eval $ac_try) 2>&5
25668   ac_status=$?
25669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25670   (exit $ac_status); }; }; then
25671   glibcxx_cv_func___builtin_fabsl_use=yes
25672 else
25673   echo "$as_me: failed program was:" >&5
25674 sed 's/^/| /' conftest.$ac_ext >&5
25675
25676 glibcxx_cv_func___builtin_fabsl_use=no
25677 fi
25678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25679       ac_ext=c
25680 ac_cpp='$CPP $CPPFLAGS'
25681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25684
25685
25686 fi
25687
25688   fi
25689   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
25690 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
25691   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
25692     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
25693 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
25694     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
25695       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
25696   echo $ECHO_N "(cached) $ECHO_C" >&6
25697 else
25698
25699         if test x$gcc_no_link = xyes; then
25700   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25702    { (exit 1); exit 1; }; }
25703 fi
25704 cat >conftest.$ac_ext <<_ACEOF
25705 /* confdefs.h.  */
25706 _ACEOF
25707 cat confdefs.h >>conftest.$ac_ext
25708 cat >>conftest.$ac_ext <<_ACEOF
25709 /* end confdefs.h.  */
25710 #include <math.h>
25711 int
25712 main ()
25713 {
25714  __builtin_fabsl(0);
25715   ;
25716   return 0;
25717 }
25718 _ACEOF
25719 rm -f conftest.$ac_objext conftest$ac_exeext
25720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25721   (eval $ac_link) 2>conftest.er1
25722   ac_status=$?
25723   grep -v '^ *+' conftest.er1 >conftest.err
25724   rm -f conftest.er1
25725   cat conftest.err >&5
25726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25727   (exit $ac_status); } &&
25728          { ac_try='test -z "$ac_c_werror_flag"
25729                          || test ! -s conftest.err'
25730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25731   (eval $ac_try) 2>&5
25732   ac_status=$?
25733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25734   (exit $ac_status); }; } &&
25735          { ac_try='test -s conftest$ac_exeext'
25736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25737   (eval $ac_try) 2>&5
25738   ac_status=$?
25739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25740   (exit $ac_status); }; }; then
25741   glibcxx_cv_func___builtin_fabsl_link=yes
25742 else
25743   echo "$as_me: failed program was:" >&5
25744 sed 's/^/| /' conftest.$ac_ext >&5
25745
25746 glibcxx_cv_func___builtin_fabsl_link=no
25747 fi
25748 rm -f conftest.err conftest.$ac_objext \
25749       conftest$ac_exeext conftest.$ac_ext
25750
25751 fi
25752
25753     fi
25754     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
25755 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
25756     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
25757       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25758
25759 cat >>confdefs.h <<_ACEOF
25760 #define ${ac_tr_func} 1
25761 _ACEOF
25762
25763     fi
25764   fi
25765
25766
25767   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
25768 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
25769   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
25770     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
25771   echo $ECHO_N "(cached) $ECHO_C" >&6
25772 else
25773
25774
25775
25776       ac_ext=cc
25777 ac_cpp='$CXXCPP $CPPFLAGS'
25778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25781
25782       cat >conftest.$ac_ext <<_ACEOF
25783 /* confdefs.h.  */
25784 _ACEOF
25785 cat confdefs.h >>conftest.$ac_ext
25786 cat >>conftest.$ac_ext <<_ACEOF
25787 /* end confdefs.h.  */
25788 #include <math.h>
25789 int
25790 main ()
25791 {
25792  __builtin_labs(0);
25793   ;
25794   return 0;
25795 }
25796 _ACEOF
25797 rm -f conftest.$ac_objext
25798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25799   (eval $ac_compile) 2>conftest.er1
25800   ac_status=$?
25801   grep -v '^ *+' conftest.er1 >conftest.err
25802   rm -f conftest.er1
25803   cat conftest.err >&5
25804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25805   (exit $ac_status); } &&
25806          { ac_try='test -z "$ac_cxx_werror_flag"
25807                          || test ! -s conftest.err'
25808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25809   (eval $ac_try) 2>&5
25810   ac_status=$?
25811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25812   (exit $ac_status); }; } &&
25813          { ac_try='test -s conftest.$ac_objext'
25814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25815   (eval $ac_try) 2>&5
25816   ac_status=$?
25817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25818   (exit $ac_status); }; }; then
25819   glibcxx_cv_func___builtin_labs_use=yes
25820 else
25821   echo "$as_me: failed program was:" >&5
25822 sed 's/^/| /' conftest.$ac_ext >&5
25823
25824 glibcxx_cv_func___builtin_labs_use=no
25825 fi
25826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25827       ac_ext=c
25828 ac_cpp='$CPP $CPPFLAGS'
25829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25832
25833
25834 fi
25835
25836   fi
25837   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
25838 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
25839   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
25840     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
25841 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
25842     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
25843       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
25844   echo $ECHO_N "(cached) $ECHO_C" >&6
25845 else
25846
25847         if test x$gcc_no_link = xyes; then
25848   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25850    { (exit 1); exit 1; }; }
25851 fi
25852 cat >conftest.$ac_ext <<_ACEOF
25853 /* confdefs.h.  */
25854 _ACEOF
25855 cat confdefs.h >>conftest.$ac_ext
25856 cat >>conftest.$ac_ext <<_ACEOF
25857 /* end confdefs.h.  */
25858 #include <math.h>
25859 int
25860 main ()
25861 {
25862  __builtin_labs(0);
25863   ;
25864   return 0;
25865 }
25866 _ACEOF
25867 rm -f conftest.$ac_objext conftest$ac_exeext
25868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25869   (eval $ac_link) 2>conftest.er1
25870   ac_status=$?
25871   grep -v '^ *+' conftest.er1 >conftest.err
25872   rm -f conftest.er1
25873   cat conftest.err >&5
25874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25875   (exit $ac_status); } &&
25876          { ac_try='test -z "$ac_c_werror_flag"
25877                          || test ! -s conftest.err'
25878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25879   (eval $ac_try) 2>&5
25880   ac_status=$?
25881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25882   (exit $ac_status); }; } &&
25883          { ac_try='test -s conftest$ac_exeext'
25884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25885   (eval $ac_try) 2>&5
25886   ac_status=$?
25887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25888   (exit $ac_status); }; }; then
25889   glibcxx_cv_func___builtin_labs_link=yes
25890 else
25891   echo "$as_me: failed program was:" >&5
25892 sed 's/^/| /' conftest.$ac_ext >&5
25893
25894 glibcxx_cv_func___builtin_labs_link=no
25895 fi
25896 rm -f conftest.err conftest.$ac_objext \
25897       conftest$ac_exeext conftest.$ac_ext
25898
25899 fi
25900
25901     fi
25902     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
25903 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
25904     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
25905       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25906
25907 cat >>confdefs.h <<_ACEOF
25908 #define ${ac_tr_func} 1
25909 _ACEOF
25910
25911     fi
25912   fi
25913
25914
25915
25916   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
25917 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
25918   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
25919     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
25920   echo $ECHO_N "(cached) $ECHO_C" >&6
25921 else
25922
25923
25924
25925       ac_ext=cc
25926 ac_cpp='$CXXCPP $CPPFLAGS'
25927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25930
25931       cat >conftest.$ac_ext <<_ACEOF
25932 /* confdefs.h.  */
25933 _ACEOF
25934 cat confdefs.h >>conftest.$ac_ext
25935 cat >>conftest.$ac_ext <<_ACEOF
25936 /* end confdefs.h.  */
25937 #include <math.h>
25938 int
25939 main ()
25940 {
25941  __builtin_sqrtf(0);
25942   ;
25943   return 0;
25944 }
25945 _ACEOF
25946 rm -f conftest.$ac_objext
25947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25948   (eval $ac_compile) 2>conftest.er1
25949   ac_status=$?
25950   grep -v '^ *+' conftest.er1 >conftest.err
25951   rm -f conftest.er1
25952   cat conftest.err >&5
25953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25954   (exit $ac_status); } &&
25955          { ac_try='test -z "$ac_cxx_werror_flag"
25956                          || test ! -s conftest.err'
25957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25958   (eval $ac_try) 2>&5
25959   ac_status=$?
25960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25961   (exit $ac_status); }; } &&
25962          { ac_try='test -s conftest.$ac_objext'
25963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25964   (eval $ac_try) 2>&5
25965   ac_status=$?
25966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25967   (exit $ac_status); }; }; then
25968   glibcxx_cv_func___builtin_sqrtf_use=yes
25969 else
25970   echo "$as_me: failed program was:" >&5
25971 sed 's/^/| /' conftest.$ac_ext >&5
25972
25973 glibcxx_cv_func___builtin_sqrtf_use=no
25974 fi
25975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25976       ac_ext=c
25977 ac_cpp='$CPP $CPPFLAGS'
25978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25981
25982
25983 fi
25984
25985   fi
25986   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
25987 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
25988   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
25989     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
25990 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
25991     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
25992       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
25993   echo $ECHO_N "(cached) $ECHO_C" >&6
25994 else
25995
25996         if test x$gcc_no_link = xyes; then
25997   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25999    { (exit 1); exit 1; }; }
26000 fi
26001 cat >conftest.$ac_ext <<_ACEOF
26002 /* confdefs.h.  */
26003 _ACEOF
26004 cat confdefs.h >>conftest.$ac_ext
26005 cat >>conftest.$ac_ext <<_ACEOF
26006 /* end confdefs.h.  */
26007 #include <math.h>
26008 int
26009 main ()
26010 {
26011  __builtin_sqrtf(0);
26012   ;
26013   return 0;
26014 }
26015 _ACEOF
26016 rm -f conftest.$ac_objext conftest$ac_exeext
26017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26018   (eval $ac_link) 2>conftest.er1
26019   ac_status=$?
26020   grep -v '^ *+' conftest.er1 >conftest.err
26021   rm -f conftest.er1
26022   cat conftest.err >&5
26023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26024   (exit $ac_status); } &&
26025          { ac_try='test -z "$ac_c_werror_flag"
26026                          || test ! -s conftest.err'
26027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26028   (eval $ac_try) 2>&5
26029   ac_status=$?
26030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26031   (exit $ac_status); }; } &&
26032          { ac_try='test -s conftest$ac_exeext'
26033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26034   (eval $ac_try) 2>&5
26035   ac_status=$?
26036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26037   (exit $ac_status); }; }; then
26038   glibcxx_cv_func___builtin_sqrtf_link=yes
26039 else
26040   echo "$as_me: failed program was:" >&5
26041 sed 's/^/| /' conftest.$ac_ext >&5
26042
26043 glibcxx_cv_func___builtin_sqrtf_link=no
26044 fi
26045 rm -f conftest.err conftest.$ac_objext \
26046       conftest$ac_exeext conftest.$ac_ext
26047
26048 fi
26049
26050     fi
26051     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26052 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26053     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26054       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26055
26056 cat >>confdefs.h <<_ACEOF
26057 #define ${ac_tr_func} 1
26058 _ACEOF
26059
26060     fi
26061   fi
26062
26063
26064   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26065 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26066   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26067     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26068   echo $ECHO_N "(cached) $ECHO_C" >&6
26069 else
26070
26071
26072
26073       ac_ext=cc
26074 ac_cpp='$CXXCPP $CPPFLAGS'
26075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26078
26079       cat >conftest.$ac_ext <<_ACEOF
26080 /* confdefs.h.  */
26081 _ACEOF
26082 cat confdefs.h >>conftest.$ac_ext
26083 cat >>conftest.$ac_ext <<_ACEOF
26084 /* end confdefs.h.  */
26085 #include <math.h>
26086 int
26087 main ()
26088 {
26089  __builtin_sqrt(0);
26090   ;
26091   return 0;
26092 }
26093 _ACEOF
26094 rm -f conftest.$ac_objext
26095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26096   (eval $ac_compile) 2>conftest.er1
26097   ac_status=$?
26098   grep -v '^ *+' conftest.er1 >conftest.err
26099   rm -f conftest.er1
26100   cat conftest.err >&5
26101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26102   (exit $ac_status); } &&
26103          { ac_try='test -z "$ac_cxx_werror_flag"
26104                          || test ! -s conftest.err'
26105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26106   (eval $ac_try) 2>&5
26107   ac_status=$?
26108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26109   (exit $ac_status); }; } &&
26110          { ac_try='test -s conftest.$ac_objext'
26111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26112   (eval $ac_try) 2>&5
26113   ac_status=$?
26114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26115   (exit $ac_status); }; }; then
26116   glibcxx_cv_func___builtin_sqrt_use=yes
26117 else
26118   echo "$as_me: failed program was:" >&5
26119 sed 's/^/| /' conftest.$ac_ext >&5
26120
26121 glibcxx_cv_func___builtin_sqrt_use=no
26122 fi
26123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26124       ac_ext=c
26125 ac_cpp='$CPP $CPPFLAGS'
26126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26129
26130
26131 fi
26132
26133   fi
26134   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26135 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26136   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26137     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26138 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26139     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26140       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26141   echo $ECHO_N "(cached) $ECHO_C" >&6
26142 else
26143
26144         if test x$gcc_no_link = xyes; then
26145   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26147    { (exit 1); exit 1; }; }
26148 fi
26149 cat >conftest.$ac_ext <<_ACEOF
26150 /* confdefs.h.  */
26151 _ACEOF
26152 cat confdefs.h >>conftest.$ac_ext
26153 cat >>conftest.$ac_ext <<_ACEOF
26154 /* end confdefs.h.  */
26155 #include <math.h>
26156 int
26157 main ()
26158 {
26159  __builtin_sqrt(0);
26160   ;
26161   return 0;
26162 }
26163 _ACEOF
26164 rm -f conftest.$ac_objext conftest$ac_exeext
26165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26166   (eval $ac_link) 2>conftest.er1
26167   ac_status=$?
26168   grep -v '^ *+' conftest.er1 >conftest.err
26169   rm -f conftest.er1
26170   cat conftest.err >&5
26171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26172   (exit $ac_status); } &&
26173          { ac_try='test -z "$ac_c_werror_flag"
26174                          || test ! -s conftest.err'
26175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26176   (eval $ac_try) 2>&5
26177   ac_status=$?
26178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26179   (exit $ac_status); }; } &&
26180          { ac_try='test -s conftest$ac_exeext'
26181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26182   (eval $ac_try) 2>&5
26183   ac_status=$?
26184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26185   (exit $ac_status); }; }; then
26186   glibcxx_cv_func___builtin_sqrt_link=yes
26187 else
26188   echo "$as_me: failed program was:" >&5
26189 sed 's/^/| /' conftest.$ac_ext >&5
26190
26191 glibcxx_cv_func___builtin_sqrt_link=no
26192 fi
26193 rm -f conftest.err conftest.$ac_objext \
26194       conftest$ac_exeext conftest.$ac_ext
26195
26196 fi
26197
26198     fi
26199     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26200 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26201     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26202       ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26203
26204 cat >>confdefs.h <<_ACEOF
26205 #define ${ac_tr_func} 1
26206 _ACEOF
26207
26208     fi
26209   fi
26210
26211
26212   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26213 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26214   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26215     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26216   echo $ECHO_N "(cached) $ECHO_C" >&6
26217 else
26218
26219
26220
26221       ac_ext=cc
26222 ac_cpp='$CXXCPP $CPPFLAGS'
26223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26226
26227       cat >conftest.$ac_ext <<_ACEOF
26228 /* confdefs.h.  */
26229 _ACEOF
26230 cat confdefs.h >>conftest.$ac_ext
26231 cat >>conftest.$ac_ext <<_ACEOF
26232 /* end confdefs.h.  */
26233 #include <math.h>
26234 int
26235 main ()
26236 {
26237  __builtin_sqrtl(0);
26238   ;
26239   return 0;
26240 }
26241 _ACEOF
26242 rm -f conftest.$ac_objext
26243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26244   (eval $ac_compile) 2>conftest.er1
26245   ac_status=$?
26246   grep -v '^ *+' conftest.er1 >conftest.err
26247   rm -f conftest.er1
26248   cat conftest.err >&5
26249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26250   (exit $ac_status); } &&
26251          { ac_try='test -z "$ac_cxx_werror_flag"
26252                          || test ! -s conftest.err'
26253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26254   (eval $ac_try) 2>&5
26255   ac_status=$?
26256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26257   (exit $ac_status); }; } &&
26258          { ac_try='test -s conftest.$ac_objext'
26259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26260   (eval $ac_try) 2>&5
26261   ac_status=$?
26262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26263   (exit $ac_status); }; }; then
26264   glibcxx_cv_func___builtin_sqrtl_use=yes
26265 else
26266   echo "$as_me: failed program was:" >&5
26267 sed 's/^/| /' conftest.$ac_ext >&5
26268
26269 glibcxx_cv_func___builtin_sqrtl_use=no
26270 fi
26271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26272       ac_ext=c
26273 ac_cpp='$CPP $CPPFLAGS'
26274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26277
26278
26279 fi
26280
26281   fi
26282   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26283 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26284   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26285     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26286 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26287     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26288       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26289   echo $ECHO_N "(cached) $ECHO_C" >&6
26290 else
26291
26292         if test x$gcc_no_link = xyes; then
26293   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26295    { (exit 1); exit 1; }; }
26296 fi
26297 cat >conftest.$ac_ext <<_ACEOF
26298 /* confdefs.h.  */
26299 _ACEOF
26300 cat confdefs.h >>conftest.$ac_ext
26301 cat >>conftest.$ac_ext <<_ACEOF
26302 /* end confdefs.h.  */
26303 #include <math.h>
26304 int
26305 main ()
26306 {
26307  __builtin_sqrtl(0);
26308   ;
26309   return 0;
26310 }
26311 _ACEOF
26312 rm -f conftest.$ac_objext conftest$ac_exeext
26313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26314   (eval $ac_link) 2>conftest.er1
26315   ac_status=$?
26316   grep -v '^ *+' conftest.er1 >conftest.err
26317   rm -f conftest.er1
26318   cat conftest.err >&5
26319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26320   (exit $ac_status); } &&
26321          { ac_try='test -z "$ac_c_werror_flag"
26322                          || test ! -s conftest.err'
26323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26324   (eval $ac_try) 2>&5
26325   ac_status=$?
26326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26327   (exit $ac_status); }; } &&
26328          { ac_try='test -s conftest$ac_exeext'
26329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26330   (eval $ac_try) 2>&5
26331   ac_status=$?
26332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26333   (exit $ac_status); }; }; then
26334   glibcxx_cv_func___builtin_sqrtl_link=yes
26335 else
26336   echo "$as_me: failed program was:" >&5
26337 sed 's/^/| /' conftest.$ac_ext >&5
26338
26339 glibcxx_cv_func___builtin_sqrtl_link=no
26340 fi
26341 rm -f conftest.err conftest.$ac_objext \
26342       conftest$ac_exeext conftest.$ac_ext
26343
26344 fi
26345
26346     fi
26347     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26348 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26349     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26350       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26351
26352 cat >>confdefs.h <<_ACEOF
26353 #define ${ac_tr_func} 1
26354 _ACEOF
26355
26356     fi
26357   fi
26358
26359
26360
26361   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26362 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26363   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26364     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26365   echo $ECHO_N "(cached) $ECHO_C" >&6
26366 else
26367
26368
26369
26370       ac_ext=cc
26371 ac_cpp='$CXXCPP $CPPFLAGS'
26372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26375
26376       cat >conftest.$ac_ext <<_ACEOF
26377 /* confdefs.h.  */
26378 _ACEOF
26379 cat confdefs.h >>conftest.$ac_ext
26380 cat >>conftest.$ac_ext <<_ACEOF
26381 /* end confdefs.h.  */
26382 #include <math.h>
26383 int
26384 main ()
26385 {
26386  __builtin_sinf(0);
26387   ;
26388   return 0;
26389 }
26390 _ACEOF
26391 rm -f conftest.$ac_objext
26392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26393   (eval $ac_compile) 2>conftest.er1
26394   ac_status=$?
26395   grep -v '^ *+' conftest.er1 >conftest.err
26396   rm -f conftest.er1
26397   cat conftest.err >&5
26398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26399   (exit $ac_status); } &&
26400          { ac_try='test -z "$ac_cxx_werror_flag"
26401                          || test ! -s conftest.err'
26402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26403   (eval $ac_try) 2>&5
26404   ac_status=$?
26405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26406   (exit $ac_status); }; } &&
26407          { ac_try='test -s conftest.$ac_objext'
26408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26409   (eval $ac_try) 2>&5
26410   ac_status=$?
26411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26412   (exit $ac_status); }; }; then
26413   glibcxx_cv_func___builtin_sinf_use=yes
26414 else
26415   echo "$as_me: failed program was:" >&5
26416 sed 's/^/| /' conftest.$ac_ext >&5
26417
26418 glibcxx_cv_func___builtin_sinf_use=no
26419 fi
26420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26421       ac_ext=c
26422 ac_cpp='$CPP $CPPFLAGS'
26423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26426
26427
26428 fi
26429
26430   fi
26431   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26432 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26433   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26434     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26435 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26436     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26437       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26438   echo $ECHO_N "(cached) $ECHO_C" >&6
26439 else
26440
26441         if test x$gcc_no_link = xyes; then
26442   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26444    { (exit 1); exit 1; }; }
26445 fi
26446 cat >conftest.$ac_ext <<_ACEOF
26447 /* confdefs.h.  */
26448 _ACEOF
26449 cat confdefs.h >>conftest.$ac_ext
26450 cat >>conftest.$ac_ext <<_ACEOF
26451 /* end confdefs.h.  */
26452 #include <math.h>
26453 int
26454 main ()
26455 {
26456  __builtin_sinf(0);
26457   ;
26458   return 0;
26459 }
26460 _ACEOF
26461 rm -f conftest.$ac_objext conftest$ac_exeext
26462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26463   (eval $ac_link) 2>conftest.er1
26464   ac_status=$?
26465   grep -v '^ *+' conftest.er1 >conftest.err
26466   rm -f conftest.er1
26467   cat conftest.err >&5
26468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26469   (exit $ac_status); } &&
26470          { ac_try='test -z "$ac_c_werror_flag"
26471                          || test ! -s conftest.err'
26472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26473   (eval $ac_try) 2>&5
26474   ac_status=$?
26475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26476   (exit $ac_status); }; } &&
26477          { ac_try='test -s conftest$ac_exeext'
26478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26479   (eval $ac_try) 2>&5
26480   ac_status=$?
26481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26482   (exit $ac_status); }; }; then
26483   glibcxx_cv_func___builtin_sinf_link=yes
26484 else
26485   echo "$as_me: failed program was:" >&5
26486 sed 's/^/| /' conftest.$ac_ext >&5
26487
26488 glibcxx_cv_func___builtin_sinf_link=no
26489 fi
26490 rm -f conftest.err conftest.$ac_objext \
26491       conftest$ac_exeext conftest.$ac_ext
26492
26493 fi
26494
26495     fi
26496     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
26497 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
26498     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
26499       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26500
26501 cat >>confdefs.h <<_ACEOF
26502 #define ${ac_tr_func} 1
26503 _ACEOF
26504
26505     fi
26506   fi
26507
26508
26509   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
26510 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
26511   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
26512     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
26513   echo $ECHO_N "(cached) $ECHO_C" >&6
26514 else
26515
26516
26517
26518       ac_ext=cc
26519 ac_cpp='$CXXCPP $CPPFLAGS'
26520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26523
26524       cat >conftest.$ac_ext <<_ACEOF
26525 /* confdefs.h.  */
26526 _ACEOF
26527 cat confdefs.h >>conftest.$ac_ext
26528 cat >>conftest.$ac_ext <<_ACEOF
26529 /* end confdefs.h.  */
26530 #include <math.h>
26531 int
26532 main ()
26533 {
26534  __builtin_sin(0);
26535   ;
26536   return 0;
26537 }
26538 _ACEOF
26539 rm -f conftest.$ac_objext
26540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26541   (eval $ac_compile) 2>conftest.er1
26542   ac_status=$?
26543   grep -v '^ *+' conftest.er1 >conftest.err
26544   rm -f conftest.er1
26545   cat conftest.err >&5
26546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26547   (exit $ac_status); } &&
26548          { ac_try='test -z "$ac_cxx_werror_flag"
26549                          || test ! -s conftest.err'
26550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26551   (eval $ac_try) 2>&5
26552   ac_status=$?
26553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26554   (exit $ac_status); }; } &&
26555          { ac_try='test -s conftest.$ac_objext'
26556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26557   (eval $ac_try) 2>&5
26558   ac_status=$?
26559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26560   (exit $ac_status); }; }; then
26561   glibcxx_cv_func___builtin_sin_use=yes
26562 else
26563   echo "$as_me: failed program was:" >&5
26564 sed 's/^/| /' conftest.$ac_ext >&5
26565
26566 glibcxx_cv_func___builtin_sin_use=no
26567 fi
26568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26569       ac_ext=c
26570 ac_cpp='$CPP $CPPFLAGS'
26571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26574
26575
26576 fi
26577
26578   fi
26579   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
26580 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
26581   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
26582     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
26583 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
26584     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
26585       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
26586   echo $ECHO_N "(cached) $ECHO_C" >&6
26587 else
26588
26589         if test x$gcc_no_link = xyes; then
26590   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26592    { (exit 1); exit 1; }; }
26593 fi
26594 cat >conftest.$ac_ext <<_ACEOF
26595 /* confdefs.h.  */
26596 _ACEOF
26597 cat confdefs.h >>conftest.$ac_ext
26598 cat >>conftest.$ac_ext <<_ACEOF
26599 /* end confdefs.h.  */
26600 #include <math.h>
26601 int
26602 main ()
26603 {
26604  __builtin_sin(0);
26605   ;
26606   return 0;
26607 }
26608 _ACEOF
26609 rm -f conftest.$ac_objext conftest$ac_exeext
26610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26611   (eval $ac_link) 2>conftest.er1
26612   ac_status=$?
26613   grep -v '^ *+' conftest.er1 >conftest.err
26614   rm -f conftest.er1
26615   cat conftest.err >&5
26616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26617   (exit $ac_status); } &&
26618          { ac_try='test -z "$ac_c_werror_flag"
26619                          || test ! -s conftest.err'
26620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26621   (eval $ac_try) 2>&5
26622   ac_status=$?
26623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26624   (exit $ac_status); }; } &&
26625          { ac_try='test -s conftest$ac_exeext'
26626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26627   (eval $ac_try) 2>&5
26628   ac_status=$?
26629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26630   (exit $ac_status); }; }; then
26631   glibcxx_cv_func___builtin_sin_link=yes
26632 else
26633   echo "$as_me: failed program was:" >&5
26634 sed 's/^/| /' conftest.$ac_ext >&5
26635
26636 glibcxx_cv_func___builtin_sin_link=no
26637 fi
26638 rm -f conftest.err conftest.$ac_objext \
26639       conftest$ac_exeext conftest.$ac_ext
26640
26641 fi
26642
26643     fi
26644     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
26645 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
26646     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
26647       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26648
26649 cat >>confdefs.h <<_ACEOF
26650 #define ${ac_tr_func} 1
26651 _ACEOF
26652
26653     fi
26654   fi
26655
26656
26657   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
26658 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
26659   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
26660     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
26661   echo $ECHO_N "(cached) $ECHO_C" >&6
26662 else
26663
26664
26665
26666       ac_ext=cc
26667 ac_cpp='$CXXCPP $CPPFLAGS'
26668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26671
26672       cat >conftest.$ac_ext <<_ACEOF
26673 /* confdefs.h.  */
26674 _ACEOF
26675 cat confdefs.h >>conftest.$ac_ext
26676 cat >>conftest.$ac_ext <<_ACEOF
26677 /* end confdefs.h.  */
26678 #include <math.h>
26679 int
26680 main ()
26681 {
26682  __builtin_sinl(0);
26683   ;
26684   return 0;
26685 }
26686 _ACEOF
26687 rm -f conftest.$ac_objext
26688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26689   (eval $ac_compile) 2>conftest.er1
26690   ac_status=$?
26691   grep -v '^ *+' conftest.er1 >conftest.err
26692   rm -f conftest.er1
26693   cat conftest.err >&5
26694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26695   (exit $ac_status); } &&
26696          { ac_try='test -z "$ac_cxx_werror_flag"
26697                          || test ! -s conftest.err'
26698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26699   (eval $ac_try) 2>&5
26700   ac_status=$?
26701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26702   (exit $ac_status); }; } &&
26703          { ac_try='test -s conftest.$ac_objext'
26704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26705   (eval $ac_try) 2>&5
26706   ac_status=$?
26707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26708   (exit $ac_status); }; }; then
26709   glibcxx_cv_func___builtin_sinl_use=yes
26710 else
26711   echo "$as_me: failed program was:" >&5
26712 sed 's/^/| /' conftest.$ac_ext >&5
26713
26714 glibcxx_cv_func___builtin_sinl_use=no
26715 fi
26716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26717       ac_ext=c
26718 ac_cpp='$CPP $CPPFLAGS'
26719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26722
26723
26724 fi
26725
26726   fi
26727   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
26728 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
26729   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
26730     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
26731 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
26732     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
26733       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
26734   echo $ECHO_N "(cached) $ECHO_C" >&6
26735 else
26736
26737         if test x$gcc_no_link = xyes; then
26738   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26740    { (exit 1); exit 1; }; }
26741 fi
26742 cat >conftest.$ac_ext <<_ACEOF
26743 /* confdefs.h.  */
26744 _ACEOF
26745 cat confdefs.h >>conftest.$ac_ext
26746 cat >>conftest.$ac_ext <<_ACEOF
26747 /* end confdefs.h.  */
26748 #include <math.h>
26749 int
26750 main ()
26751 {
26752  __builtin_sinl(0);
26753   ;
26754   return 0;
26755 }
26756 _ACEOF
26757 rm -f conftest.$ac_objext conftest$ac_exeext
26758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26759   (eval $ac_link) 2>conftest.er1
26760   ac_status=$?
26761   grep -v '^ *+' conftest.er1 >conftest.err
26762   rm -f conftest.er1
26763   cat conftest.err >&5
26764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26765   (exit $ac_status); } &&
26766          { ac_try='test -z "$ac_c_werror_flag"
26767                          || test ! -s conftest.err'
26768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26769   (eval $ac_try) 2>&5
26770   ac_status=$?
26771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26772   (exit $ac_status); }; } &&
26773          { ac_try='test -s conftest$ac_exeext'
26774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26775   (eval $ac_try) 2>&5
26776   ac_status=$?
26777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26778   (exit $ac_status); }; }; then
26779   glibcxx_cv_func___builtin_sinl_link=yes
26780 else
26781   echo "$as_me: failed program was:" >&5
26782 sed 's/^/| /' conftest.$ac_ext >&5
26783
26784 glibcxx_cv_func___builtin_sinl_link=no
26785 fi
26786 rm -f conftest.err conftest.$ac_objext \
26787       conftest$ac_exeext conftest.$ac_ext
26788
26789 fi
26790
26791     fi
26792     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
26793 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
26794     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
26795       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26796
26797 cat >>confdefs.h <<_ACEOF
26798 #define ${ac_tr_func} 1
26799 _ACEOF
26800
26801     fi
26802   fi
26803
26804
26805
26806   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
26807 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
26808   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
26809     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
26810   echo $ECHO_N "(cached) $ECHO_C" >&6
26811 else
26812
26813
26814
26815       ac_ext=cc
26816 ac_cpp='$CXXCPP $CPPFLAGS'
26817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26820
26821       cat >conftest.$ac_ext <<_ACEOF
26822 /* confdefs.h.  */
26823 _ACEOF
26824 cat confdefs.h >>conftest.$ac_ext
26825 cat >>conftest.$ac_ext <<_ACEOF
26826 /* end confdefs.h.  */
26827 #include <math.h>
26828 int
26829 main ()
26830 {
26831  __builtin_cosf(0);
26832   ;
26833   return 0;
26834 }
26835 _ACEOF
26836 rm -f conftest.$ac_objext
26837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26838   (eval $ac_compile) 2>conftest.er1
26839   ac_status=$?
26840   grep -v '^ *+' conftest.er1 >conftest.err
26841   rm -f conftest.er1
26842   cat conftest.err >&5
26843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26844   (exit $ac_status); } &&
26845          { ac_try='test -z "$ac_cxx_werror_flag"
26846                          || test ! -s conftest.err'
26847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26848   (eval $ac_try) 2>&5
26849   ac_status=$?
26850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26851   (exit $ac_status); }; } &&
26852          { ac_try='test -s conftest.$ac_objext'
26853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26854   (eval $ac_try) 2>&5
26855   ac_status=$?
26856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26857   (exit $ac_status); }; }; then
26858   glibcxx_cv_func___builtin_cosf_use=yes
26859 else
26860   echo "$as_me: failed program was:" >&5
26861 sed 's/^/| /' conftest.$ac_ext >&5
26862
26863 glibcxx_cv_func___builtin_cosf_use=no
26864 fi
26865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26866       ac_ext=c
26867 ac_cpp='$CPP $CPPFLAGS'
26868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26871
26872
26873 fi
26874
26875   fi
26876   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
26877 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
26878   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
26879     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
26880 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
26881     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
26882       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
26883   echo $ECHO_N "(cached) $ECHO_C" >&6
26884 else
26885
26886         if test x$gcc_no_link = xyes; then
26887   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26889    { (exit 1); exit 1; }; }
26890 fi
26891 cat >conftest.$ac_ext <<_ACEOF
26892 /* confdefs.h.  */
26893 _ACEOF
26894 cat confdefs.h >>conftest.$ac_ext
26895 cat >>conftest.$ac_ext <<_ACEOF
26896 /* end confdefs.h.  */
26897 #include <math.h>
26898 int
26899 main ()
26900 {
26901  __builtin_cosf(0);
26902   ;
26903   return 0;
26904 }
26905 _ACEOF
26906 rm -f conftest.$ac_objext conftest$ac_exeext
26907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26908   (eval $ac_link) 2>conftest.er1
26909   ac_status=$?
26910   grep -v '^ *+' conftest.er1 >conftest.err
26911   rm -f conftest.er1
26912   cat conftest.err >&5
26913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26914   (exit $ac_status); } &&
26915          { ac_try='test -z "$ac_c_werror_flag"
26916                          || test ! -s conftest.err'
26917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26918   (eval $ac_try) 2>&5
26919   ac_status=$?
26920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26921   (exit $ac_status); }; } &&
26922          { ac_try='test -s conftest$ac_exeext'
26923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26924   (eval $ac_try) 2>&5
26925   ac_status=$?
26926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26927   (exit $ac_status); }; }; then
26928   glibcxx_cv_func___builtin_cosf_link=yes
26929 else
26930   echo "$as_me: failed program was:" >&5
26931 sed 's/^/| /' conftest.$ac_ext >&5
26932
26933 glibcxx_cv_func___builtin_cosf_link=no
26934 fi
26935 rm -f conftest.err conftest.$ac_objext \
26936       conftest$ac_exeext conftest.$ac_ext
26937
26938 fi
26939
26940     fi
26941     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
26942 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
26943     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
26944       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26945
26946 cat >>confdefs.h <<_ACEOF
26947 #define ${ac_tr_func} 1
26948 _ACEOF
26949
26950     fi
26951   fi
26952
26953
26954   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
26955 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
26956   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
26957     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
26958   echo $ECHO_N "(cached) $ECHO_C" >&6
26959 else
26960
26961
26962
26963       ac_ext=cc
26964 ac_cpp='$CXXCPP $CPPFLAGS'
26965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26968
26969       cat >conftest.$ac_ext <<_ACEOF
26970 /* confdefs.h.  */
26971 _ACEOF
26972 cat confdefs.h >>conftest.$ac_ext
26973 cat >>conftest.$ac_ext <<_ACEOF
26974 /* end confdefs.h.  */
26975 #include <math.h>
26976 int
26977 main ()
26978 {
26979  __builtin_cos(0);
26980   ;
26981   return 0;
26982 }
26983 _ACEOF
26984 rm -f conftest.$ac_objext
26985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26986   (eval $ac_compile) 2>conftest.er1
26987   ac_status=$?
26988   grep -v '^ *+' conftest.er1 >conftest.err
26989   rm -f conftest.er1
26990   cat conftest.err >&5
26991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26992   (exit $ac_status); } &&
26993          { ac_try='test -z "$ac_cxx_werror_flag"
26994                          || test ! -s conftest.err'
26995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26996   (eval $ac_try) 2>&5
26997   ac_status=$?
26998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26999   (exit $ac_status); }; } &&
27000          { ac_try='test -s conftest.$ac_objext'
27001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27002   (eval $ac_try) 2>&5
27003   ac_status=$?
27004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27005   (exit $ac_status); }; }; then
27006   glibcxx_cv_func___builtin_cos_use=yes
27007 else
27008   echo "$as_me: failed program was:" >&5
27009 sed 's/^/| /' conftest.$ac_ext >&5
27010
27011 glibcxx_cv_func___builtin_cos_use=no
27012 fi
27013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27014       ac_ext=c
27015 ac_cpp='$CPP $CPPFLAGS'
27016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27019
27020
27021 fi
27022
27023   fi
27024   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27025 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27026   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27027     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27028 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27029     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27030       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27031   echo $ECHO_N "(cached) $ECHO_C" >&6
27032 else
27033
27034         if test x$gcc_no_link = xyes; then
27035   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27037    { (exit 1); exit 1; }; }
27038 fi
27039 cat >conftest.$ac_ext <<_ACEOF
27040 /* confdefs.h.  */
27041 _ACEOF
27042 cat confdefs.h >>conftest.$ac_ext
27043 cat >>conftest.$ac_ext <<_ACEOF
27044 /* end confdefs.h.  */
27045 #include <math.h>
27046 int
27047 main ()
27048 {
27049  __builtin_cos(0);
27050   ;
27051   return 0;
27052 }
27053 _ACEOF
27054 rm -f conftest.$ac_objext conftest$ac_exeext
27055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27056   (eval $ac_link) 2>conftest.er1
27057   ac_status=$?
27058   grep -v '^ *+' conftest.er1 >conftest.err
27059   rm -f conftest.er1
27060   cat conftest.err >&5
27061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27062   (exit $ac_status); } &&
27063          { ac_try='test -z "$ac_c_werror_flag"
27064                          || test ! -s conftest.err'
27065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27066   (eval $ac_try) 2>&5
27067   ac_status=$?
27068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27069   (exit $ac_status); }; } &&
27070          { ac_try='test -s conftest$ac_exeext'
27071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27072   (eval $ac_try) 2>&5
27073   ac_status=$?
27074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27075   (exit $ac_status); }; }; then
27076   glibcxx_cv_func___builtin_cos_link=yes
27077 else
27078   echo "$as_me: failed program was:" >&5
27079 sed 's/^/| /' conftest.$ac_ext >&5
27080
27081 glibcxx_cv_func___builtin_cos_link=no
27082 fi
27083 rm -f conftest.err conftest.$ac_objext \
27084       conftest$ac_exeext conftest.$ac_ext
27085
27086 fi
27087
27088     fi
27089     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27090 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27091     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27092       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27093
27094 cat >>confdefs.h <<_ACEOF
27095 #define ${ac_tr_func} 1
27096 _ACEOF
27097
27098     fi
27099   fi
27100
27101
27102   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27103 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27104   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27105     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27106   echo $ECHO_N "(cached) $ECHO_C" >&6
27107 else
27108
27109
27110
27111       ac_ext=cc
27112 ac_cpp='$CXXCPP $CPPFLAGS'
27113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27116
27117       cat >conftest.$ac_ext <<_ACEOF
27118 /* confdefs.h.  */
27119 _ACEOF
27120 cat confdefs.h >>conftest.$ac_ext
27121 cat >>conftest.$ac_ext <<_ACEOF
27122 /* end confdefs.h.  */
27123 #include <math.h>
27124 int
27125 main ()
27126 {
27127  __builtin_cosl(0);
27128   ;
27129   return 0;
27130 }
27131 _ACEOF
27132 rm -f conftest.$ac_objext
27133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27134   (eval $ac_compile) 2>conftest.er1
27135   ac_status=$?
27136   grep -v '^ *+' conftest.er1 >conftest.err
27137   rm -f conftest.er1
27138   cat conftest.err >&5
27139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27140   (exit $ac_status); } &&
27141          { ac_try='test -z "$ac_cxx_werror_flag"
27142                          || test ! -s conftest.err'
27143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27144   (eval $ac_try) 2>&5
27145   ac_status=$?
27146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27147   (exit $ac_status); }; } &&
27148          { ac_try='test -s conftest.$ac_objext'
27149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27150   (eval $ac_try) 2>&5
27151   ac_status=$?
27152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27153   (exit $ac_status); }; }; then
27154   glibcxx_cv_func___builtin_cosl_use=yes
27155 else
27156   echo "$as_me: failed program was:" >&5
27157 sed 's/^/| /' conftest.$ac_ext >&5
27158
27159 glibcxx_cv_func___builtin_cosl_use=no
27160 fi
27161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27162       ac_ext=c
27163 ac_cpp='$CPP $CPPFLAGS'
27164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27167
27168
27169 fi
27170
27171   fi
27172   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27173 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27174   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27175     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27176 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27177     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27178       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27179   echo $ECHO_N "(cached) $ECHO_C" >&6
27180 else
27181
27182         if test x$gcc_no_link = xyes; then
27183   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27185    { (exit 1); exit 1; }; }
27186 fi
27187 cat >conftest.$ac_ext <<_ACEOF
27188 /* confdefs.h.  */
27189 _ACEOF
27190 cat confdefs.h >>conftest.$ac_ext
27191 cat >>conftest.$ac_ext <<_ACEOF
27192 /* end confdefs.h.  */
27193 #include <math.h>
27194 int
27195 main ()
27196 {
27197  __builtin_cosl(0);
27198   ;
27199   return 0;
27200 }
27201 _ACEOF
27202 rm -f conftest.$ac_objext conftest$ac_exeext
27203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27204   (eval $ac_link) 2>conftest.er1
27205   ac_status=$?
27206   grep -v '^ *+' conftest.er1 >conftest.err
27207   rm -f conftest.er1
27208   cat conftest.err >&5
27209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27210   (exit $ac_status); } &&
27211          { ac_try='test -z "$ac_c_werror_flag"
27212                          || test ! -s conftest.err'
27213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27214   (eval $ac_try) 2>&5
27215   ac_status=$?
27216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27217   (exit $ac_status); }; } &&
27218          { ac_try='test -s conftest$ac_exeext'
27219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27220   (eval $ac_try) 2>&5
27221   ac_status=$?
27222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27223   (exit $ac_status); }; }; then
27224   glibcxx_cv_func___builtin_cosl_link=yes
27225 else
27226   echo "$as_me: failed program was:" >&5
27227 sed 's/^/| /' conftest.$ac_ext >&5
27228
27229 glibcxx_cv_func___builtin_cosl_link=no
27230 fi
27231 rm -f conftest.err conftest.$ac_objext \
27232       conftest$ac_exeext conftest.$ac_ext
27233
27234 fi
27235
27236     fi
27237     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27238 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27239     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27240       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27241
27242 cat >>confdefs.h <<_ACEOF
27243 #define ${ac_tr_func} 1
27244 _ACEOF
27245
27246     fi
27247   fi
27248
27249
27250
27251
27252 echo "$as_me:$LINENO: checking for main in -lm" >&5
27253 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27254 if test "${ac_cv_lib_m_main+set}" = set; then
27255   echo $ECHO_N "(cached) $ECHO_C" >&6
27256 else
27257   ac_check_lib_save_LIBS=$LIBS
27258 LIBS="-lm  $LIBS"
27259 if test x$gcc_no_link = xyes; then
27260   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27262    { (exit 1); exit 1; }; }
27263 fi
27264 cat >conftest.$ac_ext <<_ACEOF
27265 /* confdefs.h.  */
27266 _ACEOF
27267 cat confdefs.h >>conftest.$ac_ext
27268 cat >>conftest.$ac_ext <<_ACEOF
27269 /* end confdefs.h.  */
27270
27271
27272 int
27273 main ()
27274 {
27275 main ();
27276   ;
27277   return 0;
27278 }
27279 _ACEOF
27280 rm -f conftest.$ac_objext conftest$ac_exeext
27281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27282   (eval $ac_link) 2>conftest.er1
27283   ac_status=$?
27284   grep -v '^ *+' conftest.er1 >conftest.err
27285   rm -f conftest.er1
27286   cat conftest.err >&5
27287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27288   (exit $ac_status); } &&
27289          { ac_try='test -z "$ac_c_werror_flag"
27290                          || test ! -s conftest.err'
27291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27292   (eval $ac_try) 2>&5
27293   ac_status=$?
27294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27295   (exit $ac_status); }; } &&
27296          { ac_try='test -s conftest$ac_exeext'
27297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27298   (eval $ac_try) 2>&5
27299   ac_status=$?
27300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27301   (exit $ac_status); }; }; then
27302   ac_cv_lib_m_main=yes
27303 else
27304   echo "$as_me: failed program was:" >&5
27305 sed 's/^/| /' conftest.$ac_ext >&5
27306
27307 ac_cv_lib_m_main=no
27308 fi
27309 rm -f conftest.err conftest.$ac_objext \
27310       conftest$ac_exeext conftest.$ac_ext
27311 LIBS=$ac_check_lib_save_LIBS
27312 fi
27313 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27314 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27315 if test $ac_cv_lib_m_main = yes; then
27316   cat >>confdefs.h <<_ACEOF
27317 #define HAVE_LIBM 1
27318 _ACEOF
27319
27320   LIBS="-lm $LIBS"
27321
27322 fi
27323
27324
27325 for ac_func in copysignf
27326 do
27327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27328 echo "$as_me:$LINENO: checking for $ac_func" >&5
27329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27330 if eval "test \"\${$as_ac_var+set}\" = set"; then
27331   echo $ECHO_N "(cached) $ECHO_C" >&6
27332 else
27333   if test x$gcc_no_link = xyes; then
27334   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27336    { (exit 1); exit 1; }; }
27337 fi
27338 cat >conftest.$ac_ext <<_ACEOF
27339 /* confdefs.h.  */
27340 _ACEOF
27341 cat confdefs.h >>conftest.$ac_ext
27342 cat >>conftest.$ac_ext <<_ACEOF
27343 /* end confdefs.h.  */
27344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27345    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27346 #define $ac_func innocuous_$ac_func
27347
27348 /* System header to define __stub macros and hopefully few prototypes,
27349     which can conflict with char $ac_func (); below.
27350     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27351     <limits.h> exists even on freestanding compilers.  */
27352
27353 #ifdef __STDC__
27354 # include <limits.h>
27355 #else
27356 # include <assert.h>
27357 #endif
27358
27359 #undef $ac_func
27360
27361 /* Override any gcc2 internal prototype to avoid an error.  */
27362 #ifdef __cplusplus
27363 extern "C"
27364 {
27365 #endif
27366 /* We use char because int might match the return type of a gcc2
27367    builtin and then its argument prototype would still apply.  */
27368 char $ac_func ();
27369 /* The GNU C library defines this for functions which it implements
27370     to always fail with ENOSYS.  Some functions are actually named
27371     something starting with __ and the normal name is an alias.  */
27372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27373 choke me
27374 #else
27375 char (*f) () = $ac_func;
27376 #endif
27377 #ifdef __cplusplus
27378 }
27379 #endif
27380
27381 int
27382 main ()
27383 {
27384 return f != $ac_func;
27385   ;
27386   return 0;
27387 }
27388 _ACEOF
27389 rm -f conftest.$ac_objext conftest$ac_exeext
27390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27391   (eval $ac_link) 2>conftest.er1
27392   ac_status=$?
27393   grep -v '^ *+' conftest.er1 >conftest.err
27394   rm -f conftest.er1
27395   cat conftest.err >&5
27396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27397   (exit $ac_status); } &&
27398          { ac_try='test -z "$ac_c_werror_flag"
27399                          || test ! -s conftest.err'
27400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27401   (eval $ac_try) 2>&5
27402   ac_status=$?
27403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27404   (exit $ac_status); }; } &&
27405          { ac_try='test -s conftest$ac_exeext'
27406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27407   (eval $ac_try) 2>&5
27408   ac_status=$?
27409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27410   (exit $ac_status); }; }; then
27411   eval "$as_ac_var=yes"
27412 else
27413   echo "$as_me: failed program was:" >&5
27414 sed 's/^/| /' conftest.$ac_ext >&5
27415
27416 eval "$as_ac_var=no"
27417 fi
27418 rm -f conftest.err conftest.$ac_objext \
27419       conftest$ac_exeext conftest.$ac_ext
27420 fi
27421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27423 if test `eval echo '${'$as_ac_var'}'` = yes; then
27424   cat >>confdefs.h <<_ACEOF
27425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27426 _ACEOF
27427
27428 else
27429   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27430 fi
27431 done
27432
27433
27434
27435 for ac_func in __signbit
27436 do
27437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27438 echo "$as_me:$LINENO: checking for $ac_func" >&5
27439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27440 if eval "test \"\${$as_ac_var+set}\" = set"; then
27441   echo $ECHO_N "(cached) $ECHO_C" >&6
27442 else
27443   if test x$gcc_no_link = xyes; then
27444   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27446    { (exit 1); exit 1; }; }
27447 fi
27448 cat >conftest.$ac_ext <<_ACEOF
27449 /* confdefs.h.  */
27450 _ACEOF
27451 cat confdefs.h >>conftest.$ac_ext
27452 cat >>conftest.$ac_ext <<_ACEOF
27453 /* end confdefs.h.  */
27454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27455    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27456 #define $ac_func innocuous_$ac_func
27457
27458 /* System header to define __stub macros and hopefully few prototypes,
27459     which can conflict with char $ac_func (); below.
27460     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27461     <limits.h> exists even on freestanding compilers.  */
27462
27463 #ifdef __STDC__
27464 # include <limits.h>
27465 #else
27466 # include <assert.h>
27467 #endif
27468
27469 #undef $ac_func
27470
27471 /* Override any gcc2 internal prototype to avoid an error.  */
27472 #ifdef __cplusplus
27473 extern "C"
27474 {
27475 #endif
27476 /* We use char because int might match the return type of a gcc2
27477    builtin and then its argument prototype would still apply.  */
27478 char $ac_func ();
27479 /* The GNU C library defines this for functions which it implements
27480     to always fail with ENOSYS.  Some functions are actually named
27481     something starting with __ and the normal name is an alias.  */
27482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27483 choke me
27484 #else
27485 char (*f) () = $ac_func;
27486 #endif
27487 #ifdef __cplusplus
27488 }
27489 #endif
27490
27491 int
27492 main ()
27493 {
27494 return f != $ac_func;
27495   ;
27496   return 0;
27497 }
27498 _ACEOF
27499 rm -f conftest.$ac_objext conftest$ac_exeext
27500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27501   (eval $ac_link) 2>conftest.er1
27502   ac_status=$?
27503   grep -v '^ *+' conftest.er1 >conftest.err
27504   rm -f conftest.er1
27505   cat conftest.err >&5
27506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27507   (exit $ac_status); } &&
27508          { ac_try='test -z "$ac_c_werror_flag"
27509                          || test ! -s conftest.err'
27510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27511   (eval $ac_try) 2>&5
27512   ac_status=$?
27513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27514   (exit $ac_status); }; } &&
27515          { ac_try='test -s conftest$ac_exeext'
27516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27517   (eval $ac_try) 2>&5
27518   ac_status=$?
27519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27520   (exit $ac_status); }; }; then
27521   eval "$as_ac_var=yes"
27522 else
27523   echo "$as_me: failed program was:" >&5
27524 sed 's/^/| /' conftest.$ac_ext >&5
27525
27526 eval "$as_ac_var=no"
27527 fi
27528 rm -f conftest.err conftest.$ac_objext \
27529       conftest$ac_exeext conftest.$ac_ext
27530 fi
27531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27533 if test `eval echo '${'$as_ac_var'}'` = yes; then
27534   cat >>confdefs.h <<_ACEOF
27535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27536 _ACEOF
27537
27538 else
27539   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
27540 fi
27541 done
27542
27543
27544
27545 for ac_func in __signbitf
27546 do
27547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27548 echo "$as_me:$LINENO: checking for $ac_func" >&5
27549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27550 if eval "test \"\${$as_ac_var+set}\" = set"; then
27551   echo $ECHO_N "(cached) $ECHO_C" >&6
27552 else
27553   if test x$gcc_no_link = xyes; then
27554   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27556    { (exit 1); exit 1; }; }
27557 fi
27558 cat >conftest.$ac_ext <<_ACEOF
27559 /* confdefs.h.  */
27560 _ACEOF
27561 cat confdefs.h >>conftest.$ac_ext
27562 cat >>conftest.$ac_ext <<_ACEOF
27563 /* end confdefs.h.  */
27564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27565    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27566 #define $ac_func innocuous_$ac_func
27567
27568 /* System header to define __stub macros and hopefully few prototypes,
27569     which can conflict with char $ac_func (); below.
27570     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27571     <limits.h> exists even on freestanding compilers.  */
27572
27573 #ifdef __STDC__
27574 # include <limits.h>
27575 #else
27576 # include <assert.h>
27577 #endif
27578
27579 #undef $ac_func
27580
27581 /* Override any gcc2 internal prototype to avoid an error.  */
27582 #ifdef __cplusplus
27583 extern "C"
27584 {
27585 #endif
27586 /* We use char because int might match the return type of a gcc2
27587    builtin and then its argument prototype would still apply.  */
27588 char $ac_func ();
27589 /* The GNU C library defines this for functions which it implements
27590     to always fail with ENOSYS.  Some functions are actually named
27591     something starting with __ and the normal name is an alias.  */
27592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27593 choke me
27594 #else
27595 char (*f) () = $ac_func;
27596 #endif
27597 #ifdef __cplusplus
27598 }
27599 #endif
27600
27601 int
27602 main ()
27603 {
27604 return f != $ac_func;
27605   ;
27606   return 0;
27607 }
27608 _ACEOF
27609 rm -f conftest.$ac_objext conftest$ac_exeext
27610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27611   (eval $ac_link) 2>conftest.er1
27612   ac_status=$?
27613   grep -v '^ *+' conftest.er1 >conftest.err
27614   rm -f conftest.er1
27615   cat conftest.err >&5
27616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27617   (exit $ac_status); } &&
27618          { ac_try='test -z "$ac_c_werror_flag"
27619                          || test ! -s conftest.err'
27620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27621   (eval $ac_try) 2>&5
27622   ac_status=$?
27623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27624   (exit $ac_status); }; } &&
27625          { ac_try='test -s conftest$ac_exeext'
27626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27627   (eval $ac_try) 2>&5
27628   ac_status=$?
27629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27630   (exit $ac_status); }; }; then
27631   eval "$as_ac_var=yes"
27632 else
27633   echo "$as_me: failed program was:" >&5
27634 sed 's/^/| /' conftest.$ac_ext >&5
27635
27636 eval "$as_ac_var=no"
27637 fi
27638 rm -f conftest.err conftest.$ac_objext \
27639       conftest$ac_exeext conftest.$ac_ext
27640 fi
27641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27643 if test `eval echo '${'$as_ac_var'}'` = yes; then
27644   cat >>confdefs.h <<_ACEOF
27645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27646 _ACEOF
27647
27648 else
27649   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
27650 fi
27651 done
27652
27653
27654           if test x$ac_cv_func_copysignl = x"yes"; then
27655
27656 for ac_func in __signbitl
27657 do
27658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27659 echo "$as_me:$LINENO: checking for $ac_func" >&5
27660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27661 if eval "test \"\${$as_ac_var+set}\" = set"; then
27662   echo $ECHO_N "(cached) $ECHO_C" >&6
27663 else
27664   if test x$gcc_no_link = xyes; then
27665   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27667    { (exit 1); exit 1; }; }
27668 fi
27669 cat >conftest.$ac_ext <<_ACEOF
27670 /* confdefs.h.  */
27671 _ACEOF
27672 cat confdefs.h >>conftest.$ac_ext
27673 cat >>conftest.$ac_ext <<_ACEOF
27674 /* end confdefs.h.  */
27675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27676    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27677 #define $ac_func innocuous_$ac_func
27678
27679 /* System header to define __stub macros and hopefully few prototypes,
27680     which can conflict with char $ac_func (); below.
27681     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27682     <limits.h> exists even on freestanding compilers.  */
27683
27684 #ifdef __STDC__
27685 # include <limits.h>
27686 #else
27687 # include <assert.h>
27688 #endif
27689
27690 #undef $ac_func
27691
27692 /* Override any gcc2 internal prototype to avoid an error.  */
27693 #ifdef __cplusplus
27694 extern "C"
27695 {
27696 #endif
27697 /* We use char because int might match the return type of a gcc2
27698    builtin and then its argument prototype would still apply.  */
27699 char $ac_func ();
27700 /* The GNU C library defines this for functions which it implements
27701     to always fail with ENOSYS.  Some functions are actually named
27702     something starting with __ and the normal name is an alias.  */
27703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27704 choke me
27705 #else
27706 char (*f) () = $ac_func;
27707 #endif
27708 #ifdef __cplusplus
27709 }
27710 #endif
27711
27712 int
27713 main ()
27714 {
27715 return f != $ac_func;
27716   ;
27717   return 0;
27718 }
27719 _ACEOF
27720 rm -f conftest.$ac_objext conftest$ac_exeext
27721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27722   (eval $ac_link) 2>conftest.er1
27723   ac_status=$?
27724   grep -v '^ *+' conftest.er1 >conftest.err
27725   rm -f conftest.er1
27726   cat conftest.err >&5
27727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27728   (exit $ac_status); } &&
27729          { ac_try='test -z "$ac_c_werror_flag"
27730                          || test ! -s conftest.err'
27731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27732   (eval $ac_try) 2>&5
27733   ac_status=$?
27734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27735   (exit $ac_status); }; } &&
27736          { ac_try='test -s conftest$ac_exeext'
27737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27738   (eval $ac_try) 2>&5
27739   ac_status=$?
27740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27741   (exit $ac_status); }; }; then
27742   eval "$as_ac_var=yes"
27743 else
27744   echo "$as_me: failed program was:" >&5
27745 sed 's/^/| /' conftest.$ac_ext >&5
27746
27747 eval "$as_ac_var=no"
27748 fi
27749 rm -f conftest.err conftest.$ac_objext \
27750       conftest$ac_exeext conftest.$ac_ext
27751 fi
27752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27754 if test `eval echo '${'$as_ac_var'}'` = yes; then
27755   cat >>confdefs.h <<_ACEOF
27756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27757 _ACEOF
27758
27759 else
27760   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
27761 fi
27762 done
27763
27764   fi
27765
27766   # Used in libmath/Makefile.am.
27767   if test -n "$LIBMATHOBJS"; then
27768     need_libmath=yes
27769   fi
27770
27771
27772
27773   # Test wchar.h for mbstate_t, which is needed for char_traits and
27774   # others even if wchar_t support is not on.
27775   echo "$as_me:$LINENO: checking for mbstate_t" >&5
27776 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
27777   cat >conftest.$ac_ext <<_ACEOF
27778 /* confdefs.h.  */
27779 _ACEOF
27780 cat confdefs.h >>conftest.$ac_ext
27781 cat >>conftest.$ac_ext <<_ACEOF
27782 /* end confdefs.h.  */
27783 #include <wchar.h>
27784 int
27785 main ()
27786 {
27787 mbstate_t teststate;
27788   ;
27789   return 0;
27790 }
27791 _ACEOF
27792 rm -f conftest.$ac_objext
27793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27794   (eval $ac_compile) 2>conftest.er1
27795   ac_status=$?
27796   grep -v '^ *+' conftest.er1 >conftest.err
27797   rm -f conftest.er1
27798   cat conftest.err >&5
27799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27800   (exit $ac_status); } &&
27801          { ac_try='test -z "$ac_c_werror_flag"
27802                          || test ! -s conftest.err'
27803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27804   (eval $ac_try) 2>&5
27805   ac_status=$?
27806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27807   (exit $ac_status); }; } &&
27808          { ac_try='test -s conftest.$ac_objext'
27809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27810   (eval $ac_try) 2>&5
27811   ac_status=$?
27812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813   (exit $ac_status); }; }; then
27814   have_mbstate_t=yes
27815 else
27816   echo "$as_me: failed program was:" >&5
27817 sed 's/^/| /' conftest.$ac_ext >&5
27818
27819 have_mbstate_t=no
27820 fi
27821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27822   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
27823 echo "${ECHO_T}$have_mbstate_t" >&6
27824   if test x"$have_mbstate_t" = xyes; then
27825     cat >>confdefs.h <<\_ACEOF
27826 #define HAVE_MBSTATE_T 1
27827 _ACEOF
27828
27829   fi
27830
27831   # Sanity check for existence of ISO C99 headers for extended encoding.
27832
27833 for ac_header in wchar.h
27834 do
27835 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27837   echo "$as_me:$LINENO: checking for $ac_header" >&5
27838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27840   echo $ECHO_N "(cached) $ECHO_C" >&6
27841 fi
27842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27843 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27844 else
27845   # Is the header compilable?
27846 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27847 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27848 cat >conftest.$ac_ext <<_ACEOF
27849 /* confdefs.h.  */
27850 _ACEOF
27851 cat confdefs.h >>conftest.$ac_ext
27852 cat >>conftest.$ac_ext <<_ACEOF
27853 /* end confdefs.h.  */
27854 $ac_includes_default
27855 #include <$ac_header>
27856 _ACEOF
27857 rm -f conftest.$ac_objext
27858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27859   (eval $ac_compile) 2>conftest.er1
27860   ac_status=$?
27861   grep -v '^ *+' conftest.er1 >conftest.err
27862   rm -f conftest.er1
27863   cat conftest.err >&5
27864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27865   (exit $ac_status); } &&
27866          { ac_try='test -z "$ac_c_werror_flag"
27867                          || test ! -s conftest.err'
27868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27869   (eval $ac_try) 2>&5
27870   ac_status=$?
27871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27872   (exit $ac_status); }; } &&
27873          { ac_try='test -s conftest.$ac_objext'
27874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27875   (eval $ac_try) 2>&5
27876   ac_status=$?
27877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27878   (exit $ac_status); }; }; then
27879   ac_header_compiler=yes
27880 else
27881   echo "$as_me: failed program was:" >&5
27882 sed 's/^/| /' conftest.$ac_ext >&5
27883
27884 ac_header_compiler=no
27885 fi
27886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27887 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27888 echo "${ECHO_T}$ac_header_compiler" >&6
27889
27890 # Is the header present?
27891 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27892 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27893 cat >conftest.$ac_ext <<_ACEOF
27894 /* confdefs.h.  */
27895 _ACEOF
27896 cat confdefs.h >>conftest.$ac_ext
27897 cat >>conftest.$ac_ext <<_ACEOF
27898 /* end confdefs.h.  */
27899 #include <$ac_header>
27900 _ACEOF
27901 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27902   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27903   ac_status=$?
27904   grep -v '^ *+' conftest.er1 >conftest.err
27905   rm -f conftest.er1
27906   cat conftest.err >&5
27907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27908   (exit $ac_status); } >/dev/null; then
27909   if test -s conftest.err; then
27910     ac_cpp_err=$ac_c_preproc_warn_flag
27911     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27912   else
27913     ac_cpp_err=
27914   fi
27915 else
27916   ac_cpp_err=yes
27917 fi
27918 if test -z "$ac_cpp_err"; then
27919   ac_header_preproc=yes
27920 else
27921   echo "$as_me: failed program was:" >&5
27922 sed 's/^/| /' conftest.$ac_ext >&5
27923
27924   ac_header_preproc=no
27925 fi
27926 rm -f conftest.err conftest.$ac_ext
27927 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27928 echo "${ECHO_T}$ac_header_preproc" >&6
27929
27930 # So?  What about this header?
27931 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27932   yes:no: )
27933     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27934 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27935     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27936 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27937     ac_header_preproc=yes
27938     ;;
27939   no:yes:* )
27940     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27941 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27942     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
27943 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
27944     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27945 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27946     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
27947 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
27948     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27949 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27950     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27951 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27952     (
27953       cat <<\_ASBOX
27954 ## ----------------------------------------- ##
27955 ## Report this to the package-unused lists.  ##
27956 ## ----------------------------------------- ##
27957 _ASBOX
27958     ) |
27959       sed "s/^/$as_me: WARNING:     /" >&2
27960     ;;
27961 esac
27962 echo "$as_me:$LINENO: checking for $ac_header" >&5
27963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27965   echo $ECHO_N "(cached) $ECHO_C" >&6
27966 else
27967   eval "$as_ac_Header=\$ac_header_preproc"
27968 fi
27969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27970 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27971
27972 fi
27973 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27974   cat >>confdefs.h <<_ACEOF
27975 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27976 _ACEOF
27977  ac_has_wchar_h=yes
27978 else
27979   ac_has_wchar_h=no
27980 fi
27981
27982 done
27983
27984
27985 for ac_header in wctype.h
27986 do
27987 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27989   echo "$as_me:$LINENO: checking for $ac_header" >&5
27990 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27992   echo $ECHO_N "(cached) $ECHO_C" >&6
27993 fi
27994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27995 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27996 else
27997   # Is the header compilable?
27998 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27999 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28000 cat >conftest.$ac_ext <<_ACEOF
28001 /* confdefs.h.  */
28002 _ACEOF
28003 cat confdefs.h >>conftest.$ac_ext
28004 cat >>conftest.$ac_ext <<_ACEOF
28005 /* end confdefs.h.  */
28006 $ac_includes_default
28007 #include <$ac_header>
28008 _ACEOF
28009 rm -f conftest.$ac_objext
28010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28011   (eval $ac_compile) 2>conftest.er1
28012   ac_status=$?
28013   grep -v '^ *+' conftest.er1 >conftest.err
28014   rm -f conftest.er1
28015   cat conftest.err >&5
28016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28017   (exit $ac_status); } &&
28018          { ac_try='test -z "$ac_c_werror_flag"
28019                          || test ! -s conftest.err'
28020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28021   (eval $ac_try) 2>&5
28022   ac_status=$?
28023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28024   (exit $ac_status); }; } &&
28025          { ac_try='test -s conftest.$ac_objext'
28026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28027   (eval $ac_try) 2>&5
28028   ac_status=$?
28029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28030   (exit $ac_status); }; }; then
28031   ac_header_compiler=yes
28032 else
28033   echo "$as_me: failed program was:" >&5
28034 sed 's/^/| /' conftest.$ac_ext >&5
28035
28036 ac_header_compiler=no
28037 fi
28038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28039 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28040 echo "${ECHO_T}$ac_header_compiler" >&6
28041
28042 # Is the header present?
28043 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28044 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28045 cat >conftest.$ac_ext <<_ACEOF
28046 /* confdefs.h.  */
28047 _ACEOF
28048 cat confdefs.h >>conftest.$ac_ext
28049 cat >>conftest.$ac_ext <<_ACEOF
28050 /* end confdefs.h.  */
28051 #include <$ac_header>
28052 _ACEOF
28053 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28054   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28055   ac_status=$?
28056   grep -v '^ *+' conftest.er1 >conftest.err
28057   rm -f conftest.er1
28058   cat conftest.err >&5
28059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28060   (exit $ac_status); } >/dev/null; then
28061   if test -s conftest.err; then
28062     ac_cpp_err=$ac_c_preproc_warn_flag
28063     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28064   else
28065     ac_cpp_err=
28066   fi
28067 else
28068   ac_cpp_err=yes
28069 fi
28070 if test -z "$ac_cpp_err"; then
28071   ac_header_preproc=yes
28072 else
28073   echo "$as_me: failed program was:" >&5
28074 sed 's/^/| /' conftest.$ac_ext >&5
28075
28076   ac_header_preproc=no
28077 fi
28078 rm -f conftest.err conftest.$ac_ext
28079 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28080 echo "${ECHO_T}$ac_header_preproc" >&6
28081
28082 # So?  What about this header?
28083 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28084   yes:no: )
28085     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28086 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28087     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28088 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28089     ac_header_preproc=yes
28090     ;;
28091   no:yes:* )
28092     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28093 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28094     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
28095 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
28096     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28097 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28098     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
28099 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
28100     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28101 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28102     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28103 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28104     (
28105       cat <<\_ASBOX
28106 ## ----------------------------------------- ##
28107 ## Report this to the package-unused lists.  ##
28108 ## ----------------------------------------- ##
28109 _ASBOX
28110     ) |
28111       sed "s/^/$as_me: WARNING:     /" >&2
28112     ;;
28113 esac
28114 echo "$as_me:$LINENO: checking for $ac_header" >&5
28115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28117   echo $ECHO_N "(cached) $ECHO_C" >&6
28118 else
28119   eval "$as_ac_Header=\$ac_header_preproc"
28120 fi
28121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28122 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28123
28124 fi
28125 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28126   cat >>confdefs.h <<_ACEOF
28127 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28128 _ACEOF
28129  ac_has_wctype_h=yes
28130 else
28131   ac_has_wctype_h=no
28132 fi
28133
28134 done
28135
28136
28137   # Only continue checking if the ISO C99 headers exist and support is on.
28138   if test x"$ac_has_wchar_h" = xyes &&
28139      test x"$ac_has_wctype_h" = xyes &&
28140      test x"$enable_c_mbchar" != xno; then
28141
28142     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
28143     # numeric_limits can instantiate type_traits<wchar_t>
28144     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
28145 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
28146     cat >conftest.$ac_ext <<_ACEOF
28147 /* confdefs.h.  */
28148 _ACEOF
28149 cat confdefs.h >>conftest.$ac_ext
28150 cat >>conftest.$ac_ext <<_ACEOF
28151 /* end confdefs.h.  */
28152 #include <wchar.h>
28153 int
28154 main ()
28155 {
28156 int i = WCHAR_MIN; int j = WCHAR_MAX;
28157   ;
28158   return 0;
28159 }
28160 _ACEOF
28161 rm -f conftest.$ac_objext
28162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28163   (eval $ac_compile) 2>conftest.er1
28164   ac_status=$?
28165   grep -v '^ *+' conftest.er1 >conftest.err
28166   rm -f conftest.er1
28167   cat conftest.err >&5
28168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28169   (exit $ac_status); } &&
28170          { ac_try='test -z "$ac_c_werror_flag"
28171                          || test ! -s conftest.err'
28172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28173   (eval $ac_try) 2>&5
28174   ac_status=$?
28175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28176   (exit $ac_status); }; } &&
28177          { ac_try='test -s conftest.$ac_objext'
28178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28179   (eval $ac_try) 2>&5
28180   ac_status=$?
28181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28182   (exit $ac_status); }; }; then
28183   has_wchar_minmax=yes
28184 else
28185   echo "$as_me: failed program was:" >&5
28186 sed 's/^/| /' conftest.$ac_ext >&5
28187
28188 has_wchar_minmax=no
28189 fi
28190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28191     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
28192 echo "${ECHO_T}$has_wchar_minmax" >&6
28193
28194     # Test wchar.h for WEOF, which is what we use to determine whether
28195     # to specialize for char_traits<wchar_t> or not.
28196     echo "$as_me:$LINENO: checking for WEOF" >&5
28197 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
28198     cat >conftest.$ac_ext <<_ACEOF
28199 /* confdefs.h.  */
28200 _ACEOF
28201 cat confdefs.h >>conftest.$ac_ext
28202 cat >>conftest.$ac_ext <<_ACEOF
28203 /* end confdefs.h.  */
28204
28205       #include <wchar.h>
28206       #include <stddef.h>
28207 int
28208 main ()
28209 {
28210 wint_t i = WEOF;
28211   ;
28212   return 0;
28213 }
28214 _ACEOF
28215 rm -f conftest.$ac_objext
28216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28217   (eval $ac_compile) 2>conftest.er1
28218   ac_status=$?
28219   grep -v '^ *+' conftest.er1 >conftest.err
28220   rm -f conftest.er1
28221   cat conftest.err >&5
28222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28223   (exit $ac_status); } &&
28224          { ac_try='test -z "$ac_c_werror_flag"
28225                          || test ! -s conftest.err'
28226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28227   (eval $ac_try) 2>&5
28228   ac_status=$?
28229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28230   (exit $ac_status); }; } &&
28231          { ac_try='test -s conftest.$ac_objext'
28232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28233   (eval $ac_try) 2>&5
28234   ac_status=$?
28235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28236   (exit $ac_status); }; }; then
28237   has_weof=yes
28238 else
28239   echo "$as_me: failed program was:" >&5
28240 sed 's/^/| /' conftest.$ac_ext >&5
28241
28242 has_weof=no
28243 fi
28244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28245     echo "$as_me:$LINENO: result: $has_weof" >&5
28246 echo "${ECHO_T}$has_weof" >&6
28247
28248     # Tests for wide character functions used in char_traits<wchar_t>.
28249     ac_wfuncs=yes
28250
28251
28252
28253
28254
28255
28256 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
28257 do
28258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28259 echo "$as_me:$LINENO: checking for $ac_func" >&5
28260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28261 if eval "test \"\${$as_ac_var+set}\" = set"; then
28262   echo $ECHO_N "(cached) $ECHO_C" >&6
28263 else
28264   if test x$gcc_no_link = xyes; then
28265   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28267    { (exit 1); exit 1; }; }
28268 fi
28269 cat >conftest.$ac_ext <<_ACEOF
28270 /* confdefs.h.  */
28271 _ACEOF
28272 cat confdefs.h >>conftest.$ac_ext
28273 cat >>conftest.$ac_ext <<_ACEOF
28274 /* end confdefs.h.  */
28275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28276    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28277 #define $ac_func innocuous_$ac_func
28278
28279 /* System header to define __stub macros and hopefully few prototypes,
28280     which can conflict with char $ac_func (); below.
28281     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28282     <limits.h> exists even on freestanding compilers.  */
28283
28284 #ifdef __STDC__
28285 # include <limits.h>
28286 #else
28287 # include <assert.h>
28288 #endif
28289
28290 #undef $ac_func
28291
28292 /* Override any gcc2 internal prototype to avoid an error.  */
28293 #ifdef __cplusplus
28294 extern "C"
28295 {
28296 #endif
28297 /* We use char because int might match the return type of a gcc2
28298    builtin and then its argument prototype would still apply.  */
28299 char $ac_func ();
28300 /* The GNU C library defines this for functions which it implements
28301     to always fail with ENOSYS.  Some functions are actually named
28302     something starting with __ and the normal name is an alias.  */
28303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28304 choke me
28305 #else
28306 char (*f) () = $ac_func;
28307 #endif
28308 #ifdef __cplusplus
28309 }
28310 #endif
28311
28312 int
28313 main ()
28314 {
28315 return f != $ac_func;
28316   ;
28317   return 0;
28318 }
28319 _ACEOF
28320 rm -f conftest.$ac_objext conftest$ac_exeext
28321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28322   (eval $ac_link) 2>conftest.er1
28323   ac_status=$?
28324   grep -v '^ *+' conftest.er1 >conftest.err
28325   rm -f conftest.er1
28326   cat conftest.err >&5
28327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28328   (exit $ac_status); } &&
28329          { ac_try='test -z "$ac_c_werror_flag"
28330                          || test ! -s conftest.err'
28331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28332   (eval $ac_try) 2>&5
28333   ac_status=$?
28334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28335   (exit $ac_status); }; } &&
28336          { ac_try='test -s conftest$ac_exeext'
28337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28338   (eval $ac_try) 2>&5
28339   ac_status=$?
28340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28341   (exit $ac_status); }; }; then
28342   eval "$as_ac_var=yes"
28343 else
28344   echo "$as_me: failed program was:" >&5
28345 sed 's/^/| /' conftest.$ac_ext >&5
28346
28347 eval "$as_ac_var=no"
28348 fi
28349 rm -f conftest.err conftest.$ac_objext \
28350       conftest$ac_exeext conftest.$ac_ext
28351 fi
28352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28354 if test `eval echo '${'$as_ac_var'}'` = yes; then
28355   cat >>confdefs.h <<_ACEOF
28356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28357 _ACEOF
28358
28359 else
28360   ac_wfuncs=no
28361 fi
28362 done
28363
28364
28365     # Checks for names injected into std:: by the c_std headers.
28366
28367
28368
28369
28370
28371
28372
28373
28374
28375
28376
28377
28378
28379
28380
28381
28382
28383
28384
28385
28386
28387
28388
28389
28390
28391
28392
28393
28394
28395
28396
28397
28398
28399
28400
28401
28402
28403
28404
28405
28406
28407
28408
28409
28410
28411
28412 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
28413     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
28414     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
28415     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
28416     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
28417     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
28418 do
28419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28420 echo "$as_me:$LINENO: checking for $ac_func" >&5
28421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28422 if eval "test \"\${$as_ac_var+set}\" = set"; then
28423   echo $ECHO_N "(cached) $ECHO_C" >&6
28424 else
28425   if test x$gcc_no_link = xyes; then
28426   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28428    { (exit 1); exit 1; }; }
28429 fi
28430 cat >conftest.$ac_ext <<_ACEOF
28431 /* confdefs.h.  */
28432 _ACEOF
28433 cat confdefs.h >>conftest.$ac_ext
28434 cat >>conftest.$ac_ext <<_ACEOF
28435 /* end confdefs.h.  */
28436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28437    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28438 #define $ac_func innocuous_$ac_func
28439
28440 /* System header to define __stub macros and hopefully few prototypes,
28441     which can conflict with char $ac_func (); below.
28442     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28443     <limits.h> exists even on freestanding compilers.  */
28444
28445 #ifdef __STDC__
28446 # include <limits.h>
28447 #else
28448 # include <assert.h>
28449 #endif
28450
28451 #undef $ac_func
28452
28453 /* Override any gcc2 internal prototype to avoid an error.  */
28454 #ifdef __cplusplus
28455 extern "C"
28456 {
28457 #endif
28458 /* We use char because int might match the return type of a gcc2
28459    builtin and then its argument prototype would still apply.  */
28460 char $ac_func ();
28461 /* The GNU C library defines this for functions which it implements
28462     to always fail with ENOSYS.  Some functions are actually named
28463     something starting with __ and the normal name is an alias.  */
28464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28465 choke me
28466 #else
28467 char (*f) () = $ac_func;
28468 #endif
28469 #ifdef __cplusplus
28470 }
28471 #endif
28472
28473 int
28474 main ()
28475 {
28476 return f != $ac_func;
28477   ;
28478   return 0;
28479 }
28480 _ACEOF
28481 rm -f conftest.$ac_objext conftest$ac_exeext
28482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28483   (eval $ac_link) 2>conftest.er1
28484   ac_status=$?
28485   grep -v '^ *+' conftest.er1 >conftest.err
28486   rm -f conftest.er1
28487   cat conftest.err >&5
28488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28489   (exit $ac_status); } &&
28490          { ac_try='test -z "$ac_c_werror_flag"
28491                          || test ! -s conftest.err'
28492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28493   (eval $ac_try) 2>&5
28494   ac_status=$?
28495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28496   (exit $ac_status); }; } &&
28497          { ac_try='test -s conftest$ac_exeext'
28498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28499   (eval $ac_try) 2>&5
28500   ac_status=$?
28501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28502   (exit $ac_status); }; }; then
28503   eval "$as_ac_var=yes"
28504 else
28505   echo "$as_me: failed program was:" >&5
28506 sed 's/^/| /' conftest.$ac_ext >&5
28507
28508 eval "$as_ac_var=no"
28509 fi
28510 rm -f conftest.err conftest.$ac_objext \
28511       conftest$ac_exeext conftest.$ac_ext
28512 fi
28513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28515 if test `eval echo '${'$as_ac_var'}'` = yes; then
28516   cat >>confdefs.h <<_ACEOF
28517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28518 _ACEOF
28519
28520 else
28521   ac_wfuncs=no
28522 fi
28523 done
28524
28525
28526     # Checks for wide character functions that are not required
28527     # for basic wchar_t support.  Don't disable support if they are missing.
28528     # Injection of these is wrapped with guard macros.
28529
28530
28531
28532
28533
28534 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
28535 do
28536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28537 echo "$as_me:$LINENO: checking for $ac_func" >&5
28538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28539 if eval "test \"\${$as_ac_var+set}\" = set"; then
28540   echo $ECHO_N "(cached) $ECHO_C" >&6
28541 else
28542   if test x$gcc_no_link = xyes; then
28543   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28545    { (exit 1); exit 1; }; }
28546 fi
28547 cat >conftest.$ac_ext <<_ACEOF
28548 /* confdefs.h.  */
28549 _ACEOF
28550 cat confdefs.h >>conftest.$ac_ext
28551 cat >>conftest.$ac_ext <<_ACEOF
28552 /* end confdefs.h.  */
28553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28554    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28555 #define $ac_func innocuous_$ac_func
28556
28557 /* System header to define __stub macros and hopefully few prototypes,
28558     which can conflict with char $ac_func (); below.
28559     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28560     <limits.h> exists even on freestanding compilers.  */
28561
28562 #ifdef __STDC__
28563 # include <limits.h>
28564 #else
28565 # include <assert.h>
28566 #endif
28567
28568 #undef $ac_func
28569
28570 /* Override any gcc2 internal prototype to avoid an error.  */
28571 #ifdef __cplusplus
28572 extern "C"
28573 {
28574 #endif
28575 /* We use char because int might match the return type of a gcc2
28576    builtin and then its argument prototype would still apply.  */
28577 char $ac_func ();
28578 /* The GNU C library defines this for functions which it implements
28579     to always fail with ENOSYS.  Some functions are actually named
28580     something starting with __ and the normal name is an alias.  */
28581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28582 choke me
28583 #else
28584 char (*f) () = $ac_func;
28585 #endif
28586 #ifdef __cplusplus
28587 }
28588 #endif
28589
28590 int
28591 main ()
28592 {
28593 return f != $ac_func;
28594   ;
28595   return 0;
28596 }
28597 _ACEOF
28598 rm -f conftest.$ac_objext conftest$ac_exeext
28599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28600   (eval $ac_link) 2>conftest.er1
28601   ac_status=$?
28602   grep -v '^ *+' conftest.er1 >conftest.err
28603   rm -f conftest.er1
28604   cat conftest.err >&5
28605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28606   (exit $ac_status); } &&
28607          { ac_try='test -z "$ac_c_werror_flag"
28608                          || test ! -s conftest.err'
28609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28610   (eval $ac_try) 2>&5
28611   ac_status=$?
28612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28613   (exit $ac_status); }; } &&
28614          { ac_try='test -s conftest$ac_exeext'
28615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28616   (eval $ac_try) 2>&5
28617   ac_status=$?
28618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28619   (exit $ac_status); }; }; then
28620   eval "$as_ac_var=yes"
28621 else
28622   echo "$as_me: failed program was:" >&5
28623 sed 's/^/| /' conftest.$ac_ext >&5
28624
28625 eval "$as_ac_var=no"
28626 fi
28627 rm -f conftest.err conftest.$ac_objext \
28628       conftest$ac_exeext conftest.$ac_ext
28629 fi
28630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28632 if test `eval echo '${'$as_ac_var'}'` = yes; then
28633   cat >>confdefs.h <<_ACEOF
28634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28635 _ACEOF
28636
28637 fi
28638 done
28639
28640
28641     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
28642 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
28643     if test x"$has_weof" = xyes &&
28644        test x"$has_wchar_minmax" = xyes &&
28645        test x"$ac_wfuncs" = xyes;
28646     then
28647       ac_isoC99_wchar_t=yes
28648     else
28649       ac_isoC99_wchar_t=no
28650     fi
28651     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
28652 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
28653
28654     # Use iconv for wchar_t to char conversions. As such, check for
28655     # X/Open Portability Guide, version 2 features (XPG2).
28656     if test "${ac_cv_header_iconv_h+set}" = set; then
28657   echo "$as_me:$LINENO: checking for iconv.h" >&5
28658 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28659 if test "${ac_cv_header_iconv_h+set}" = set; then
28660   echo $ECHO_N "(cached) $ECHO_C" >&6
28661 fi
28662 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28663 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28664 else
28665   # Is the header compilable?
28666 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28667 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28668 cat >conftest.$ac_ext <<_ACEOF
28669 /* confdefs.h.  */
28670 _ACEOF
28671 cat confdefs.h >>conftest.$ac_ext
28672 cat >>conftest.$ac_ext <<_ACEOF
28673 /* end confdefs.h.  */
28674 $ac_includes_default
28675 #include <iconv.h>
28676 _ACEOF
28677 rm -f conftest.$ac_objext
28678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28679   (eval $ac_compile) 2>conftest.er1
28680   ac_status=$?
28681   grep -v '^ *+' conftest.er1 >conftest.err
28682   rm -f conftest.er1
28683   cat conftest.err >&5
28684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28685   (exit $ac_status); } &&
28686          { ac_try='test -z "$ac_c_werror_flag"
28687                          || test ! -s conftest.err'
28688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28689   (eval $ac_try) 2>&5
28690   ac_status=$?
28691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28692   (exit $ac_status); }; } &&
28693          { ac_try='test -s conftest.$ac_objext'
28694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28695   (eval $ac_try) 2>&5
28696   ac_status=$?
28697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28698   (exit $ac_status); }; }; then
28699   ac_header_compiler=yes
28700 else
28701   echo "$as_me: failed program was:" >&5
28702 sed 's/^/| /' conftest.$ac_ext >&5
28703
28704 ac_header_compiler=no
28705 fi
28706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28707 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28708 echo "${ECHO_T}$ac_header_compiler" >&6
28709
28710 # Is the header present?
28711 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28712 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28713 cat >conftest.$ac_ext <<_ACEOF
28714 /* confdefs.h.  */
28715 _ACEOF
28716 cat confdefs.h >>conftest.$ac_ext
28717 cat >>conftest.$ac_ext <<_ACEOF
28718 /* end confdefs.h.  */
28719 #include <iconv.h>
28720 _ACEOF
28721 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28722   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28723   ac_status=$?
28724   grep -v '^ *+' conftest.er1 >conftest.err
28725   rm -f conftest.er1
28726   cat conftest.err >&5
28727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28728   (exit $ac_status); } >/dev/null; then
28729   if test -s conftest.err; then
28730     ac_cpp_err=$ac_c_preproc_warn_flag
28731     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28732   else
28733     ac_cpp_err=
28734   fi
28735 else
28736   ac_cpp_err=yes
28737 fi
28738 if test -z "$ac_cpp_err"; then
28739   ac_header_preproc=yes
28740 else
28741   echo "$as_me: failed program was:" >&5
28742 sed 's/^/| /' conftest.$ac_ext >&5
28743
28744   ac_header_preproc=no
28745 fi
28746 rm -f conftest.err conftest.$ac_ext
28747 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28748 echo "${ECHO_T}$ac_header_preproc" >&6
28749
28750 # So?  What about this header?
28751 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28752   yes:no: )
28753     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28754 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28755     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28756 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28757     ac_header_preproc=yes
28758     ;;
28759   no:yes:* )
28760     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28761 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28762     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
28763 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
28764     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28765 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28766     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
28767 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28768     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28769 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28770     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28771 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28772     (
28773       cat <<\_ASBOX
28774 ## ----------------------------------------- ##
28775 ## Report this to the package-unused lists.  ##
28776 ## ----------------------------------------- ##
28777 _ASBOX
28778     ) |
28779       sed "s/^/$as_me: WARNING:     /" >&2
28780     ;;
28781 esac
28782 echo "$as_me:$LINENO: checking for iconv.h" >&5
28783 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28784 if test "${ac_cv_header_iconv_h+set}" = set; then
28785   echo $ECHO_N "(cached) $ECHO_C" >&6
28786 else
28787   ac_cv_header_iconv_h=$ac_header_preproc
28788 fi
28789 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28790 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28791
28792 fi
28793 if test $ac_cv_header_iconv_h = yes; then
28794   ac_has_iconv_h=yes
28795 else
28796   ac_has_iconv_h=no
28797 fi
28798
28799
28800     if test "${ac_cv_header_langinfo_h+set}" = set; then
28801   echo "$as_me:$LINENO: checking for langinfo.h" >&5
28802 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28803 if test "${ac_cv_header_langinfo_h+set}" = set; then
28804   echo $ECHO_N "(cached) $ECHO_C" >&6
28805 fi
28806 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28807 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28808 else
28809   # Is the header compilable?
28810 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28811 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28812 cat >conftest.$ac_ext <<_ACEOF
28813 /* confdefs.h.  */
28814 _ACEOF
28815 cat confdefs.h >>conftest.$ac_ext
28816 cat >>conftest.$ac_ext <<_ACEOF
28817 /* end confdefs.h.  */
28818 $ac_includes_default
28819 #include <langinfo.h>
28820 _ACEOF
28821 rm -f conftest.$ac_objext
28822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28823   (eval $ac_compile) 2>conftest.er1
28824   ac_status=$?
28825   grep -v '^ *+' conftest.er1 >conftest.err
28826   rm -f conftest.er1
28827   cat conftest.err >&5
28828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28829   (exit $ac_status); } &&
28830          { ac_try='test -z "$ac_c_werror_flag"
28831                          || test ! -s conftest.err'
28832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28833   (eval $ac_try) 2>&5
28834   ac_status=$?
28835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28836   (exit $ac_status); }; } &&
28837          { ac_try='test -s conftest.$ac_objext'
28838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28839   (eval $ac_try) 2>&5
28840   ac_status=$?
28841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28842   (exit $ac_status); }; }; then
28843   ac_header_compiler=yes
28844 else
28845   echo "$as_me: failed program was:" >&5
28846 sed 's/^/| /' conftest.$ac_ext >&5
28847
28848 ac_header_compiler=no
28849 fi
28850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28851 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28852 echo "${ECHO_T}$ac_header_compiler" >&6
28853
28854 # Is the header present?
28855 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28856 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28857 cat >conftest.$ac_ext <<_ACEOF
28858 /* confdefs.h.  */
28859 _ACEOF
28860 cat confdefs.h >>conftest.$ac_ext
28861 cat >>conftest.$ac_ext <<_ACEOF
28862 /* end confdefs.h.  */
28863 #include <langinfo.h>
28864 _ACEOF
28865 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28866   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28867   ac_status=$?
28868   grep -v '^ *+' conftest.er1 >conftest.err
28869   rm -f conftest.er1
28870   cat conftest.err >&5
28871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28872   (exit $ac_status); } >/dev/null; then
28873   if test -s conftest.err; then
28874     ac_cpp_err=$ac_c_preproc_warn_flag
28875     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28876   else
28877     ac_cpp_err=
28878   fi
28879 else
28880   ac_cpp_err=yes
28881 fi
28882 if test -z "$ac_cpp_err"; then
28883   ac_header_preproc=yes
28884 else
28885   echo "$as_me: failed program was:" >&5
28886 sed 's/^/| /' conftest.$ac_ext >&5
28887
28888   ac_header_preproc=no
28889 fi
28890 rm -f conftest.err conftest.$ac_ext
28891 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28892 echo "${ECHO_T}$ac_header_preproc" >&6
28893
28894 # So?  What about this header?
28895 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28896   yes:no: )
28897     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28898 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28899     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28900 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28901     ac_header_preproc=yes
28902     ;;
28903   no:yes:* )
28904     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28905 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28906     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
28907 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
28908     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28909 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28910     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
28911 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28912     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28913 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28914     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28915 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28916     (
28917       cat <<\_ASBOX
28918 ## ----------------------------------------- ##
28919 ## Report this to the package-unused lists.  ##
28920 ## ----------------------------------------- ##
28921 _ASBOX
28922     ) |
28923       sed "s/^/$as_me: WARNING:     /" >&2
28924     ;;
28925 esac
28926 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28927 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28928 if test "${ac_cv_header_langinfo_h+set}" = set; then
28929   echo $ECHO_N "(cached) $ECHO_C" >&6
28930 else
28931   ac_cv_header_langinfo_h=$ac_header_preproc
28932 fi
28933 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28934 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28935
28936 fi
28937 if test $ac_cv_header_langinfo_h = yes; then
28938   ac_has_langinfo_h=yes
28939 else
28940   ac_has_langinfo_h=no
28941 fi
28942
28943
28944
28945     # Check for existence of libiconv.a providing XPG2 wchar_t support.
28946     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28947 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28948 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28949   echo $ECHO_N "(cached) $ECHO_C" >&6
28950 else
28951   ac_check_lib_save_LIBS=$LIBS
28952 LIBS="-liconv  $LIBS"
28953 if test x$gcc_no_link = xyes; then
28954   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28956    { (exit 1); exit 1; }; }
28957 fi
28958 cat >conftest.$ac_ext <<_ACEOF
28959 /* confdefs.h.  */
28960 _ACEOF
28961 cat confdefs.h >>conftest.$ac_ext
28962 cat >>conftest.$ac_ext <<_ACEOF
28963 /* end confdefs.h.  */
28964
28965 /* Override any gcc2 internal prototype to avoid an error.  */
28966 #ifdef __cplusplus
28967 extern "C"
28968 #endif
28969 /* We use char because int might match the return type of a gcc2
28970    builtin and then its argument prototype would still apply.  */
28971 char iconv ();
28972 int
28973 main ()
28974 {
28975 iconv ();
28976   ;
28977   return 0;
28978 }
28979 _ACEOF
28980 rm -f conftest.$ac_objext conftest$ac_exeext
28981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28982   (eval $ac_link) 2>conftest.er1
28983   ac_status=$?
28984   grep -v '^ *+' conftest.er1 >conftest.err
28985   rm -f conftest.er1
28986   cat conftest.err >&5
28987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28988   (exit $ac_status); } &&
28989          { ac_try='test -z "$ac_c_werror_flag"
28990                          || test ! -s conftest.err'
28991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28992   (eval $ac_try) 2>&5
28993   ac_status=$?
28994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28995   (exit $ac_status); }; } &&
28996          { ac_try='test -s conftest$ac_exeext'
28997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28998   (eval $ac_try) 2>&5
28999   ac_status=$?
29000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29001   (exit $ac_status); }; }; then
29002   ac_cv_lib_iconv_iconv=yes
29003 else
29004   echo "$as_me: failed program was:" >&5
29005 sed 's/^/| /' conftest.$ac_ext >&5
29006
29007 ac_cv_lib_iconv_iconv=no
29008 fi
29009 rm -f conftest.err conftest.$ac_objext \
29010       conftest$ac_exeext conftest.$ac_ext
29011 LIBS=$ac_check_lib_save_LIBS
29012 fi
29013 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
29014 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
29015 if test $ac_cv_lib_iconv_iconv = yes; then
29016   LIBICONV="-liconv"
29017 fi
29018
29019     ac_save_LIBS="$LIBS"
29020     LIBS="$LIBS $LIBICONV"
29021
29022
29023
29024
29025
29026
29027 for ac_func in iconv_open iconv_close iconv nl_langinfo
29028 do
29029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29030 echo "$as_me:$LINENO: checking for $ac_func" >&5
29031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29032 if eval "test \"\${$as_ac_var+set}\" = set"; then
29033   echo $ECHO_N "(cached) $ECHO_C" >&6
29034 else
29035   if test x$gcc_no_link = xyes; then
29036   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29038    { (exit 1); exit 1; }; }
29039 fi
29040 cat >conftest.$ac_ext <<_ACEOF
29041 /* confdefs.h.  */
29042 _ACEOF
29043 cat confdefs.h >>conftest.$ac_ext
29044 cat >>conftest.$ac_ext <<_ACEOF
29045 /* end confdefs.h.  */
29046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29047    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29048 #define $ac_func innocuous_$ac_func
29049
29050 /* System header to define __stub macros and hopefully few prototypes,
29051     which can conflict with char $ac_func (); below.
29052     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29053     <limits.h> exists even on freestanding compilers.  */
29054
29055 #ifdef __STDC__
29056 # include <limits.h>
29057 #else
29058 # include <assert.h>
29059 #endif
29060
29061 #undef $ac_func
29062
29063 /* Override any gcc2 internal prototype to avoid an error.  */
29064 #ifdef __cplusplus
29065 extern "C"
29066 {
29067 #endif
29068 /* We use char because int might match the return type of a gcc2
29069    builtin and then its argument prototype would still apply.  */
29070 char $ac_func ();
29071 /* The GNU C library defines this for functions which it implements
29072     to always fail with ENOSYS.  Some functions are actually named
29073     something starting with __ and the normal name is an alias.  */
29074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29075 choke me
29076 #else
29077 char (*f) () = $ac_func;
29078 #endif
29079 #ifdef __cplusplus
29080 }
29081 #endif
29082
29083 int
29084 main ()
29085 {
29086 return f != $ac_func;
29087   ;
29088   return 0;
29089 }
29090 _ACEOF
29091 rm -f conftest.$ac_objext conftest$ac_exeext
29092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29093   (eval $ac_link) 2>conftest.er1
29094   ac_status=$?
29095   grep -v '^ *+' conftest.er1 >conftest.err
29096   rm -f conftest.er1
29097   cat conftest.err >&5
29098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29099   (exit $ac_status); } &&
29100          { ac_try='test -z "$ac_c_werror_flag"
29101                          || test ! -s conftest.err'
29102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29103   (eval $ac_try) 2>&5
29104   ac_status=$?
29105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29106   (exit $ac_status); }; } &&
29107          { ac_try='test -s conftest$ac_exeext'
29108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29109   (eval $ac_try) 2>&5
29110   ac_status=$?
29111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29112   (exit $ac_status); }; }; then
29113   eval "$as_ac_var=yes"
29114 else
29115   echo "$as_me: failed program was:" >&5
29116 sed 's/^/| /' conftest.$ac_ext >&5
29117
29118 eval "$as_ac_var=no"
29119 fi
29120 rm -f conftest.err conftest.$ac_objext \
29121       conftest$ac_exeext conftest.$ac_ext
29122 fi
29123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29125 if test `eval echo '${'$as_ac_var'}'` = yes; then
29126   cat >>confdefs.h <<_ACEOF
29127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29128 _ACEOF
29129  ac_XPG2funcs=yes
29130 else
29131   ac_XPG2funcs=no
29132 fi
29133 done
29134
29135
29136     LIBS="$ac_save_LIBS"
29137
29138     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
29139 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
29140     if test x"$ac_has_iconv_h" = xyes &&
29141        test x"$ac_has_langinfo_h" = xyes &&
29142        test x"$ac_XPG2funcs" = xyes;
29143     then
29144       ac_XPG2_wchar_t=yes
29145     else
29146       ac_XPG2_wchar_t=no
29147     fi
29148     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
29149 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
29150
29151     # At the moment, only enable wchar_t specializations if all the
29152     # above support is present.
29153     if test x"$ac_isoC99_wchar_t" = xyes &&
29154        test x"$ac_XPG2_wchar_t" = xyes;
29155     then
29156       cat >>confdefs.h <<\_ACEOF
29157 #define _GLIBCXX_USE_WCHAR_T 1
29158 _ACEOF
29159
29160       enable_wchar_t=yes
29161     fi
29162   fi
29163   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
29164 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
29165   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
29166 echo "${ECHO_T}$enable_wchar_t" >&6
29167
29168
29169   ac_test_CXXFLAGS="${CXXFLAGS+set}"
29170   ac_save_CXXFLAGS="$CXXFLAGS"
29171   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29172
29173
29174   echo "$as_me:$LINENO: checking for strtold declaration" >&5
29175 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
29176   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
29177     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
29178   echo $ECHO_N "(cached) $ECHO_C" >&6
29179 else
29180
29181
29182
29183       ac_ext=cc
29184 ac_cpp='$CXXCPP $CPPFLAGS'
29185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29188
29189       cat >conftest.$ac_ext <<_ACEOF
29190 /* confdefs.h.  */
29191 _ACEOF
29192 cat confdefs.h >>conftest.$ac_ext
29193 cat >>conftest.$ac_ext <<_ACEOF
29194 /* end confdefs.h.  */
29195 #include <stdlib.h>
29196 int
29197 main ()
29198 {
29199  strtold(0, 0);
29200   ;
29201   return 0;
29202 }
29203 _ACEOF
29204 rm -f conftest.$ac_objext
29205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29206   (eval $ac_compile) 2>conftest.er1
29207   ac_status=$?
29208   grep -v '^ *+' conftest.er1 >conftest.err
29209   rm -f conftest.er1
29210   cat conftest.err >&5
29211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29212   (exit $ac_status); } &&
29213          { ac_try='test -z "$ac_cxx_werror_flag"
29214                          || test ! -s conftest.err'
29215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29216   (eval $ac_try) 2>&5
29217   ac_status=$?
29218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29219   (exit $ac_status); }; } &&
29220          { ac_try='test -s conftest.$ac_objext'
29221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29222   (eval $ac_try) 2>&5
29223   ac_status=$?
29224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29225   (exit $ac_status); }; }; then
29226   glibcxx_cv_func_strtold_use=yes
29227 else
29228   echo "$as_me: failed program was:" >&5
29229 sed 's/^/| /' conftest.$ac_ext >&5
29230
29231 glibcxx_cv_func_strtold_use=no
29232 fi
29233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29234       ac_ext=c
29235 ac_cpp='$CPP $CPPFLAGS'
29236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29239
29240
29241 fi
29242
29243   fi
29244   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
29245 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
29246   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
29247
29248 for ac_func in strtold
29249 do
29250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29251 echo "$as_me:$LINENO: checking for $ac_func" >&5
29252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29253 if eval "test \"\${$as_ac_var+set}\" = set"; then
29254   echo $ECHO_N "(cached) $ECHO_C" >&6
29255 else
29256   if test x$gcc_no_link = xyes; then
29257   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29259    { (exit 1); exit 1; }; }
29260 fi
29261 cat >conftest.$ac_ext <<_ACEOF
29262 /* confdefs.h.  */
29263 _ACEOF
29264 cat confdefs.h >>conftest.$ac_ext
29265 cat >>conftest.$ac_ext <<_ACEOF
29266 /* end confdefs.h.  */
29267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29268    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29269 #define $ac_func innocuous_$ac_func
29270
29271 /* System header to define __stub macros and hopefully few prototypes,
29272     which can conflict with char $ac_func (); below.
29273     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29274     <limits.h> exists even on freestanding compilers.  */
29275
29276 #ifdef __STDC__
29277 # include <limits.h>
29278 #else
29279 # include <assert.h>
29280 #endif
29281
29282 #undef $ac_func
29283
29284 /* Override any gcc2 internal prototype to avoid an error.  */
29285 #ifdef __cplusplus
29286 extern "C"
29287 {
29288 #endif
29289 /* We use char because int might match the return type of a gcc2
29290    builtin and then its argument prototype would still apply.  */
29291 char $ac_func ();
29292 /* The GNU C library defines this for functions which it implements
29293     to always fail with ENOSYS.  Some functions are actually named
29294     something starting with __ and the normal name is an alias.  */
29295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29296 choke me
29297 #else
29298 char (*f) () = $ac_func;
29299 #endif
29300 #ifdef __cplusplus
29301 }
29302 #endif
29303
29304 int
29305 main ()
29306 {
29307 return f != $ac_func;
29308   ;
29309   return 0;
29310 }
29311 _ACEOF
29312 rm -f conftest.$ac_objext conftest$ac_exeext
29313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29314   (eval $ac_link) 2>conftest.er1
29315   ac_status=$?
29316   grep -v '^ *+' conftest.er1 >conftest.err
29317   rm -f conftest.er1
29318   cat conftest.err >&5
29319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29320   (exit $ac_status); } &&
29321          { ac_try='test -z "$ac_c_werror_flag"
29322                          || test ! -s conftest.err'
29323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29324   (eval $ac_try) 2>&5
29325   ac_status=$?
29326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29327   (exit $ac_status); }; } &&
29328          { ac_try='test -s conftest$ac_exeext'
29329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29330   (eval $ac_try) 2>&5
29331   ac_status=$?
29332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29333   (exit $ac_status); }; }; then
29334   eval "$as_ac_var=yes"
29335 else
29336   echo "$as_me: failed program was:" >&5
29337 sed 's/^/| /' conftest.$ac_ext >&5
29338
29339 eval "$as_ac_var=no"
29340 fi
29341 rm -f conftest.err conftest.$ac_objext \
29342       conftest$ac_exeext conftest.$ac_ext
29343 fi
29344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29346 if test `eval echo '${'$as_ac_var'}'` = yes; then
29347   cat >>confdefs.h <<_ACEOF
29348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29349 _ACEOF
29350
29351 fi
29352 done
29353
29354   fi
29355
29356
29357   echo "$as_me:$LINENO: checking for strtof declaration" >&5
29358 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
29359   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
29360     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
29361   echo $ECHO_N "(cached) $ECHO_C" >&6
29362 else
29363
29364
29365
29366       ac_ext=cc
29367 ac_cpp='$CXXCPP $CPPFLAGS'
29368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29371
29372       cat >conftest.$ac_ext <<_ACEOF
29373 /* confdefs.h.  */
29374 _ACEOF
29375 cat confdefs.h >>conftest.$ac_ext
29376 cat >>conftest.$ac_ext <<_ACEOF
29377 /* end confdefs.h.  */
29378 #include <stdlib.h>
29379 int
29380 main ()
29381 {
29382  strtof(0, 0);
29383   ;
29384   return 0;
29385 }
29386 _ACEOF
29387 rm -f conftest.$ac_objext
29388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29389   (eval $ac_compile) 2>conftest.er1
29390   ac_status=$?
29391   grep -v '^ *+' conftest.er1 >conftest.err
29392   rm -f conftest.er1
29393   cat conftest.err >&5
29394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29395   (exit $ac_status); } &&
29396          { ac_try='test -z "$ac_cxx_werror_flag"
29397                          || test ! -s conftest.err'
29398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29399   (eval $ac_try) 2>&5
29400   ac_status=$?
29401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29402   (exit $ac_status); }; } &&
29403          { ac_try='test -s conftest.$ac_objext'
29404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29405   (eval $ac_try) 2>&5
29406   ac_status=$?
29407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29408   (exit $ac_status); }; }; then
29409   glibcxx_cv_func_strtof_use=yes
29410 else
29411   echo "$as_me: failed program was:" >&5
29412 sed 's/^/| /' conftest.$ac_ext >&5
29413
29414 glibcxx_cv_func_strtof_use=no
29415 fi
29416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29417       ac_ext=c
29418 ac_cpp='$CPP $CPPFLAGS'
29419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29422
29423
29424 fi
29425
29426   fi
29427   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29428 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29429   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29430
29431 for ac_func in strtof
29432 do
29433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29434 echo "$as_me:$LINENO: checking for $ac_func" >&5
29435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29436 if eval "test \"\${$as_ac_var+set}\" = set"; then
29437   echo $ECHO_N "(cached) $ECHO_C" >&6
29438 else
29439   if test x$gcc_no_link = xyes; then
29440   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29442    { (exit 1); exit 1; }; }
29443 fi
29444 cat >conftest.$ac_ext <<_ACEOF
29445 /* confdefs.h.  */
29446 _ACEOF
29447 cat confdefs.h >>conftest.$ac_ext
29448 cat >>conftest.$ac_ext <<_ACEOF
29449 /* end confdefs.h.  */
29450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29451    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29452 #define $ac_func innocuous_$ac_func
29453
29454 /* System header to define __stub macros and hopefully few prototypes,
29455     which can conflict with char $ac_func (); below.
29456     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29457     <limits.h> exists even on freestanding compilers.  */
29458
29459 #ifdef __STDC__
29460 # include <limits.h>
29461 #else
29462 # include <assert.h>
29463 #endif
29464
29465 #undef $ac_func
29466
29467 /* Override any gcc2 internal prototype to avoid an error.  */
29468 #ifdef __cplusplus
29469 extern "C"
29470 {
29471 #endif
29472 /* We use char because int might match the return type of a gcc2
29473    builtin and then its argument prototype would still apply.  */
29474 char $ac_func ();
29475 /* The GNU C library defines this for functions which it implements
29476     to always fail with ENOSYS.  Some functions are actually named
29477     something starting with __ and the normal name is an alias.  */
29478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29479 choke me
29480 #else
29481 char (*f) () = $ac_func;
29482 #endif
29483 #ifdef __cplusplus
29484 }
29485 #endif
29486
29487 int
29488 main ()
29489 {
29490 return f != $ac_func;
29491   ;
29492   return 0;
29493 }
29494 _ACEOF
29495 rm -f conftest.$ac_objext conftest$ac_exeext
29496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29497   (eval $ac_link) 2>conftest.er1
29498   ac_status=$?
29499   grep -v '^ *+' conftest.er1 >conftest.err
29500   rm -f conftest.er1
29501   cat conftest.err >&5
29502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29503   (exit $ac_status); } &&
29504          { ac_try='test -z "$ac_c_werror_flag"
29505                          || test ! -s conftest.err'
29506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29507   (eval $ac_try) 2>&5
29508   ac_status=$?
29509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29510   (exit $ac_status); }; } &&
29511          { ac_try='test -s conftest$ac_exeext'
29512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29513   (eval $ac_try) 2>&5
29514   ac_status=$?
29515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29516   (exit $ac_status); }; }; then
29517   eval "$as_ac_var=yes"
29518 else
29519   echo "$as_me: failed program was:" >&5
29520 sed 's/^/| /' conftest.$ac_ext >&5
29521
29522 eval "$as_ac_var=no"
29523 fi
29524 rm -f conftest.err conftest.$ac_objext \
29525       conftest$ac_exeext conftest.$ac_ext
29526 fi
29527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29529 if test `eval echo '${'$as_ac_var'}'` = yes; then
29530   cat >>confdefs.h <<_ACEOF
29531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29532 _ACEOF
29533
29534 fi
29535 done
29536
29537   fi
29538
29539
29540   CXXFLAGS="$ac_save_CXXFLAGS"
29541
29542
29543   # For showmanyc_helper().
29544
29545
29546 for ac_header in sys/ioctl.h sys/filio.h
29547 do
29548 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29549 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29550   echo "$as_me:$LINENO: checking for $ac_header" >&5
29551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29552 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29553   echo $ECHO_N "(cached) $ECHO_C" >&6
29554 fi
29555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29556 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29557 else
29558   # Is the header compilable?
29559 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29560 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29561 cat >conftest.$ac_ext <<_ACEOF
29562 /* confdefs.h.  */
29563 _ACEOF
29564 cat confdefs.h >>conftest.$ac_ext
29565 cat >>conftest.$ac_ext <<_ACEOF
29566 /* end confdefs.h.  */
29567 $ac_includes_default
29568 #include <$ac_header>
29569 _ACEOF
29570 rm -f conftest.$ac_objext
29571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29572   (eval $ac_compile) 2>conftest.er1
29573   ac_status=$?
29574   grep -v '^ *+' conftest.er1 >conftest.err
29575   rm -f conftest.er1
29576   cat conftest.err >&5
29577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29578   (exit $ac_status); } &&
29579          { ac_try='test -z "$ac_c_werror_flag"
29580                          || test ! -s conftest.err'
29581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29582   (eval $ac_try) 2>&5
29583   ac_status=$?
29584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29585   (exit $ac_status); }; } &&
29586          { ac_try='test -s conftest.$ac_objext'
29587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29588   (eval $ac_try) 2>&5
29589   ac_status=$?
29590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29591   (exit $ac_status); }; }; then
29592   ac_header_compiler=yes
29593 else
29594   echo "$as_me: failed program was:" >&5
29595 sed 's/^/| /' conftest.$ac_ext >&5
29596
29597 ac_header_compiler=no
29598 fi
29599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29600 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29601 echo "${ECHO_T}$ac_header_compiler" >&6
29602
29603 # Is the header present?
29604 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29605 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29606 cat >conftest.$ac_ext <<_ACEOF
29607 /* confdefs.h.  */
29608 _ACEOF
29609 cat confdefs.h >>conftest.$ac_ext
29610 cat >>conftest.$ac_ext <<_ACEOF
29611 /* end confdefs.h.  */
29612 #include <$ac_header>
29613 _ACEOF
29614 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29615   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29616   ac_status=$?
29617   grep -v '^ *+' conftest.er1 >conftest.err
29618   rm -f conftest.er1
29619   cat conftest.err >&5
29620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29621   (exit $ac_status); } >/dev/null; then
29622   if test -s conftest.err; then
29623     ac_cpp_err=$ac_c_preproc_warn_flag
29624     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29625   else
29626     ac_cpp_err=
29627   fi
29628 else
29629   ac_cpp_err=yes
29630 fi
29631 if test -z "$ac_cpp_err"; then
29632   ac_header_preproc=yes
29633 else
29634   echo "$as_me: failed program was:" >&5
29635 sed 's/^/| /' conftest.$ac_ext >&5
29636
29637   ac_header_preproc=no
29638 fi
29639 rm -f conftest.err conftest.$ac_ext
29640 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29641 echo "${ECHO_T}$ac_header_preproc" >&6
29642
29643 # So?  What about this header?
29644 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29645   yes:no: )
29646     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29647 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29648     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29649 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29650     ac_header_preproc=yes
29651     ;;
29652   no:yes:* )
29653     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29654 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29655     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
29656 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
29657     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29658 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29659     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
29660 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
29661     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29662 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29663     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29664 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29665     (
29666       cat <<\_ASBOX
29667 ## ----------------------------------------- ##
29668 ## Report this to the package-unused lists.  ##
29669 ## ----------------------------------------- ##
29670 _ASBOX
29671     ) |
29672       sed "s/^/$as_me: WARNING:     /" >&2
29673     ;;
29674 esac
29675 echo "$as_me:$LINENO: checking for $ac_header" >&5
29676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29678   echo $ECHO_N "(cached) $ECHO_C" >&6
29679 else
29680   eval "$as_ac_Header=\$ac_header_preproc"
29681 fi
29682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29683 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29684
29685 fi
29686 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29687   cat >>confdefs.h <<_ACEOF
29688 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29689 _ACEOF
29690
29691 fi
29692
29693 done
29694
29695
29696   if test "${glibcxx_cv_POLL+set}" = set; then
29697   echo $ECHO_N "(cached) $ECHO_C" >&6
29698 else
29699
29700     if test x$gcc_no_link = xyes; then
29701   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29703    { (exit 1); exit 1; }; }
29704 fi
29705 cat >conftest.$ac_ext <<_ACEOF
29706 /* confdefs.h.  */
29707 _ACEOF
29708 cat confdefs.h >>conftest.$ac_ext
29709 cat >>conftest.$ac_ext <<_ACEOF
29710 /* end confdefs.h.  */
29711 #include <poll.h>
29712 int
29713 main ()
29714 {
29715 struct pollfd pfd[1];
29716        pfd[0].events = POLLIN;
29717        poll(pfd, 1, 0);
29718   ;
29719   return 0;
29720 }
29721 _ACEOF
29722 rm -f conftest.$ac_objext conftest$ac_exeext
29723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29724   (eval $ac_link) 2>conftest.er1
29725   ac_status=$?
29726   grep -v '^ *+' conftest.er1 >conftest.err
29727   rm -f conftest.er1
29728   cat conftest.err >&5
29729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29730   (exit $ac_status); } &&
29731          { ac_try='test -z "$ac_c_werror_flag"
29732                          || test ! -s conftest.err'
29733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29734   (eval $ac_try) 2>&5
29735   ac_status=$?
29736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29737   (exit $ac_status); }; } &&
29738          { ac_try='test -s conftest$ac_exeext'
29739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29740   (eval $ac_try) 2>&5
29741   ac_status=$?
29742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29743   (exit $ac_status); }; }; then
29744   glibcxx_cv_POLL=yes
29745 else
29746   echo "$as_me: failed program was:" >&5
29747 sed 's/^/| /' conftest.$ac_ext >&5
29748
29749 glibcxx_cv_POLL=no
29750 fi
29751 rm -f conftest.err conftest.$ac_objext \
29752       conftest$ac_exeext conftest.$ac_ext
29753
29754 fi
29755
29756   if test $glibcxx_cv_POLL = yes; then
29757     cat >>confdefs.h <<\_ACEOF
29758 #define HAVE_POLL 1
29759 _ACEOF
29760
29761   fi
29762
29763
29764   if test "${glibcxx_cv_S_ISREG+set}" = set; then
29765   echo $ECHO_N "(cached) $ECHO_C" >&6
29766 else
29767
29768     if test x$gcc_no_link = xyes; then
29769   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29771    { (exit 1); exit 1; }; }
29772 fi
29773 cat >conftest.$ac_ext <<_ACEOF
29774 /* confdefs.h.  */
29775 _ACEOF
29776 cat confdefs.h >>conftest.$ac_ext
29777 cat >>conftest.$ac_ext <<_ACEOF
29778 /* end confdefs.h.  */
29779 #include <sys/stat.h>
29780 int
29781 main ()
29782 {
29783 struct stat buffer;
29784        fstat(0, &buffer);
29785        S_ISREG(buffer.st_mode);
29786   ;
29787   return 0;
29788 }
29789 _ACEOF
29790 rm -f conftest.$ac_objext conftest$ac_exeext
29791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29792   (eval $ac_link) 2>conftest.er1
29793   ac_status=$?
29794   grep -v '^ *+' conftest.er1 >conftest.err
29795   rm -f conftest.er1
29796   cat conftest.err >&5
29797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29798   (exit $ac_status); } &&
29799          { ac_try='test -z "$ac_c_werror_flag"
29800                          || test ! -s conftest.err'
29801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29802   (eval $ac_try) 2>&5
29803   ac_status=$?
29804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29805   (exit $ac_status); }; } &&
29806          { ac_try='test -s conftest$ac_exeext'
29807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29808   (eval $ac_try) 2>&5
29809   ac_status=$?
29810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29811   (exit $ac_status); }; }; then
29812   glibcxx_cv_S_ISREG=yes
29813 else
29814   echo "$as_me: failed program was:" >&5
29815 sed 's/^/| /' conftest.$ac_ext >&5
29816
29817 glibcxx_cv_S_ISREG=no
29818 fi
29819 rm -f conftest.err conftest.$ac_objext \
29820       conftest$ac_exeext conftest.$ac_ext
29821
29822 fi
29823
29824   if test "${glibcxx_cv_S_IFREG+set}" = set; then
29825   echo $ECHO_N "(cached) $ECHO_C" >&6
29826 else
29827
29828     if test x$gcc_no_link = xyes; then
29829   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29831    { (exit 1); exit 1; }; }
29832 fi
29833 cat >conftest.$ac_ext <<_ACEOF
29834 /* confdefs.h.  */
29835 _ACEOF
29836 cat confdefs.h >>conftest.$ac_ext
29837 cat >>conftest.$ac_ext <<_ACEOF
29838 /* end confdefs.h.  */
29839 #include <sys/stat.h>
29840 int
29841 main ()
29842 {
29843 struct stat buffer;
29844        fstat(0, &buffer);
29845        S_IFREG & buffer.st_mode;
29846   ;
29847   return 0;
29848 }
29849 _ACEOF
29850 rm -f conftest.$ac_objext conftest$ac_exeext
29851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29852   (eval $ac_link) 2>conftest.er1
29853   ac_status=$?
29854   grep -v '^ *+' conftest.er1 >conftest.err
29855   rm -f conftest.er1
29856   cat conftest.err >&5
29857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29858   (exit $ac_status); } &&
29859          { ac_try='test -z "$ac_c_werror_flag"
29860                          || test ! -s conftest.err'
29861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29862   (eval $ac_try) 2>&5
29863   ac_status=$?
29864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29865   (exit $ac_status); }; } &&
29866          { ac_try='test -s conftest$ac_exeext'
29867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29868   (eval $ac_try) 2>&5
29869   ac_status=$?
29870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29871   (exit $ac_status); }; }; then
29872   glibcxx_cv_S_IFREG=yes
29873 else
29874   echo "$as_me: failed program was:" >&5
29875 sed 's/^/| /' conftest.$ac_ext >&5
29876
29877 glibcxx_cv_S_IFREG=no
29878 fi
29879 rm -f conftest.err conftest.$ac_objext \
29880       conftest$ac_exeext conftest.$ac_ext
29881
29882 fi
29883
29884   if test $glibcxx_cv_S_ISREG = yes; then
29885     cat >>confdefs.h <<\_ACEOF
29886 #define HAVE_S_ISREG 1
29887 _ACEOF
29888
29889   elif test $glibcxx_cv_S_IFREG = yes; then
29890     cat >>confdefs.h <<\_ACEOF
29891 #define HAVE_S_IFREG 1
29892 _ACEOF
29893
29894   fi
29895
29896
29897   # For xsputn_2().
29898
29899 for ac_header in sys/uio.h
29900 do
29901 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29903   echo "$as_me:$LINENO: checking for $ac_header" >&5
29904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29906   echo $ECHO_N "(cached) $ECHO_C" >&6
29907 fi
29908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29909 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29910 else
29911   # Is the header compilable?
29912 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29913 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29914 cat >conftest.$ac_ext <<_ACEOF
29915 /* confdefs.h.  */
29916 _ACEOF
29917 cat confdefs.h >>conftest.$ac_ext
29918 cat >>conftest.$ac_ext <<_ACEOF
29919 /* end confdefs.h.  */
29920 $ac_includes_default
29921 #include <$ac_header>
29922 _ACEOF
29923 rm -f conftest.$ac_objext
29924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29925   (eval $ac_compile) 2>conftest.er1
29926   ac_status=$?
29927   grep -v '^ *+' conftest.er1 >conftest.err
29928   rm -f conftest.er1
29929   cat conftest.err >&5
29930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29931   (exit $ac_status); } &&
29932          { ac_try='test -z "$ac_c_werror_flag"
29933                          || test ! -s conftest.err'
29934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29935   (eval $ac_try) 2>&5
29936   ac_status=$?
29937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29938   (exit $ac_status); }; } &&
29939          { ac_try='test -s conftest.$ac_objext'
29940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29941   (eval $ac_try) 2>&5
29942   ac_status=$?
29943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29944   (exit $ac_status); }; }; then
29945   ac_header_compiler=yes
29946 else
29947   echo "$as_me: failed program was:" >&5
29948 sed 's/^/| /' conftest.$ac_ext >&5
29949
29950 ac_header_compiler=no
29951 fi
29952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29953 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29954 echo "${ECHO_T}$ac_header_compiler" >&6
29955
29956 # Is the header present?
29957 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29958 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29959 cat >conftest.$ac_ext <<_ACEOF
29960 /* confdefs.h.  */
29961 _ACEOF
29962 cat confdefs.h >>conftest.$ac_ext
29963 cat >>conftest.$ac_ext <<_ACEOF
29964 /* end confdefs.h.  */
29965 #include <$ac_header>
29966 _ACEOF
29967 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29968   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29969   ac_status=$?
29970   grep -v '^ *+' conftest.er1 >conftest.err
29971   rm -f conftest.er1
29972   cat conftest.err >&5
29973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29974   (exit $ac_status); } >/dev/null; then
29975   if test -s conftest.err; then
29976     ac_cpp_err=$ac_c_preproc_warn_flag
29977     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29978   else
29979     ac_cpp_err=
29980   fi
29981 else
29982   ac_cpp_err=yes
29983 fi
29984 if test -z "$ac_cpp_err"; then
29985   ac_header_preproc=yes
29986 else
29987   echo "$as_me: failed program was:" >&5
29988 sed 's/^/| /' conftest.$ac_ext >&5
29989
29990   ac_header_preproc=no
29991 fi
29992 rm -f conftest.err conftest.$ac_ext
29993 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29994 echo "${ECHO_T}$ac_header_preproc" >&6
29995
29996 # So?  What about this header?
29997 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29998   yes:no: )
29999     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30000 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30001     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30002 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30003     ac_header_preproc=yes
30004     ;;
30005   no:yes:* )
30006     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30007 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30008     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
30009 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
30010     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30011 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30012     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
30013 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
30014     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30015 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30016     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30017 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30018     (
30019       cat <<\_ASBOX
30020 ## ----------------------------------------- ##
30021 ## Report this to the package-unused lists.  ##
30022 ## ----------------------------------------- ##
30023 _ASBOX
30024     ) |
30025       sed "s/^/$as_me: WARNING:     /" >&2
30026     ;;
30027 esac
30028 echo "$as_me:$LINENO: checking for $ac_header" >&5
30029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30030 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30031   echo $ECHO_N "(cached) $ECHO_C" >&6
30032 else
30033   eval "$as_ac_Header=\$ac_header_preproc"
30034 fi
30035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30036 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30037
30038 fi
30039 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30040   cat >>confdefs.h <<_ACEOF
30041 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30042 _ACEOF
30043
30044 fi
30045
30046 done
30047
30048
30049   if test "${glibcxx_cv_WRITEV+set}" = set; then
30050   echo $ECHO_N "(cached) $ECHO_C" >&6
30051 else
30052
30053     if test x$gcc_no_link = xyes; then
30054   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30056    { (exit 1); exit 1; }; }
30057 fi
30058 cat >conftest.$ac_ext <<_ACEOF
30059 /* confdefs.h.  */
30060 _ACEOF
30061 cat confdefs.h >>conftest.$ac_ext
30062 cat >>conftest.$ac_ext <<_ACEOF
30063 /* end confdefs.h.  */
30064 #include <sys/uio.h>
30065 int
30066 main ()
30067 {
30068 struct iovec iov[2];
30069        writev(0, iov, 0);
30070   ;
30071   return 0;
30072 }
30073 _ACEOF
30074 rm -f conftest.$ac_objext conftest$ac_exeext
30075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30076   (eval $ac_link) 2>conftest.er1
30077   ac_status=$?
30078   grep -v '^ *+' conftest.er1 >conftest.err
30079   rm -f conftest.er1
30080   cat conftest.err >&5
30081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30082   (exit $ac_status); } &&
30083          { ac_try='test -z "$ac_c_werror_flag"
30084                          || test ! -s conftest.err'
30085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30086   (eval $ac_try) 2>&5
30087   ac_status=$?
30088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30089   (exit $ac_status); }; } &&
30090          { ac_try='test -s conftest$ac_exeext'
30091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30092   (eval $ac_try) 2>&5
30093   ac_status=$?
30094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30095   (exit $ac_status); }; }; then
30096   glibcxx_cv_WRITEV=yes
30097 else
30098   echo "$as_me: failed program was:" >&5
30099 sed 's/^/| /' conftest.$ac_ext >&5
30100
30101 glibcxx_cv_WRITEV=no
30102 fi
30103 rm -f conftest.err conftest.$ac_objext \
30104       conftest$ac_exeext conftest.$ac_ext
30105
30106 fi
30107
30108   if test $glibcxx_cv_WRITEV = yes; then
30109     cat >>confdefs.h <<\_ACEOF
30110 #define HAVE_WRITEV 1
30111 _ACEOF
30112
30113   fi
30114
30115
30116   # For the __streamoff_base_type typedef.
30117
30118   if test "${glibcxx_cv_INT64_T+set}" = set; then
30119   echo $ECHO_N "(cached) $ECHO_C" >&6
30120 else
30121
30122     cat >conftest.$ac_ext <<_ACEOF
30123 /* confdefs.h.  */
30124 _ACEOF
30125 cat confdefs.h >>conftest.$ac_ext
30126 cat >>conftest.$ac_ext <<_ACEOF
30127 /* end confdefs.h.  */
30128 #include <stdint.h>
30129 int
30130 main ()
30131 {
30132 int64_t var;
30133   ;
30134   return 0;
30135 }
30136 _ACEOF
30137 rm -f conftest.$ac_objext
30138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30139   (eval $ac_compile) 2>conftest.er1
30140   ac_status=$?
30141   grep -v '^ *+' conftest.er1 >conftest.err
30142   rm -f conftest.er1
30143   cat conftest.err >&5
30144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30145   (exit $ac_status); } &&
30146          { ac_try='test -z "$ac_c_werror_flag"
30147                          || test ! -s conftest.err'
30148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30149   (eval $ac_try) 2>&5
30150   ac_status=$?
30151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30152   (exit $ac_status); }; } &&
30153          { ac_try='test -s conftest.$ac_objext'
30154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30155   (eval $ac_try) 2>&5
30156   ac_status=$?
30157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30158   (exit $ac_status); }; }; then
30159   glibcxx_cv_INT64_T=yes
30160 else
30161   echo "$as_me: failed program was:" >&5
30162 sed 's/^/| /' conftest.$ac_ext >&5
30163
30164 glibcxx_cv_INT64_T=no
30165 fi
30166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30167
30168 fi
30169
30170   if test $glibcxx_cv_INT64_T = yes; then
30171     cat >>confdefs.h <<\_ACEOF
30172 #define HAVE_INT64_T 1
30173 _ACEOF
30174
30175   fi
30176
30177
30178   # For LFS support.
30179
30180
30181
30182   ac_ext=cc
30183 ac_cpp='$CXXCPP $CPPFLAGS'
30184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30187
30188   ac_save_CXXFLAGS="$CXXFLAGS"
30189   CXXFLAGS="$CXXFLAGS -fno-exceptions"
30190   if test "${glibcxx_cv_LFS+set}" = set; then
30191   echo $ECHO_N "(cached) $ECHO_C" >&6
30192 else
30193
30194     if test x$gcc_no_link = xyes; then
30195   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30197    { (exit 1); exit 1; }; }
30198 fi
30199 cat >conftest.$ac_ext <<_ACEOF
30200 /* confdefs.h.  */
30201 _ACEOF
30202 cat confdefs.h >>conftest.$ac_ext
30203 cat >>conftest.$ac_ext <<_ACEOF
30204 /* end confdefs.h.  */
30205 #include <unistd.h>
30206        #include <stdio.h>
30207        #include <sys/stat.h>
30208
30209 int
30210 main ()
30211 {
30212 FILE* fp;
30213        fopen64("t", "w");
30214        fseeko64(fp, 0, SEEK_CUR);
30215        ftello64(fp);
30216        lseek64(1, 0, SEEK_CUR);
30217        struct stat64 buf;
30218        fstat64(1, &buf);
30219   ;
30220   return 0;
30221 }
30222 _ACEOF
30223 rm -f conftest.$ac_objext conftest$ac_exeext
30224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30225   (eval $ac_link) 2>conftest.er1
30226   ac_status=$?
30227   grep -v '^ *+' conftest.er1 >conftest.err
30228   rm -f conftest.er1
30229   cat conftest.err >&5
30230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30231   (exit $ac_status); } &&
30232          { ac_try='test -z "$ac_cxx_werror_flag"
30233                          || test ! -s conftest.err'
30234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30235   (eval $ac_try) 2>&5
30236   ac_status=$?
30237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30238   (exit $ac_status); }; } &&
30239          { ac_try='test -s conftest$ac_exeext'
30240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30241   (eval $ac_try) 2>&5
30242   ac_status=$?
30243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30244   (exit $ac_status); }; }; then
30245   glibcxx_cv_LFS=yes
30246 else
30247   echo "$as_me: failed program was:" >&5
30248 sed 's/^/| /' conftest.$ac_ext >&5
30249
30250 glibcxx_cv_LFS=no
30251 fi
30252 rm -f conftest.err conftest.$ac_objext \
30253       conftest$ac_exeext conftest.$ac_ext
30254
30255 fi
30256
30257   if test $glibcxx_cv_LFS = yes; then
30258     cat >>confdefs.h <<\_ACEOF
30259 #define _GLIBCXX_USE_LFS 1
30260 _ACEOF
30261
30262   fi
30263   CXXFLAGS="$ac_save_CXXFLAGS"
30264   ac_ext=c
30265 ac_cpp='$CPP $CPPFLAGS'
30266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30269
30270
30271
30272
30273   if test "${ac_cv_header_locale_h+set}" = set; then
30274   echo "$as_me:$LINENO: checking for locale.h" >&5
30275 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30276 if test "${ac_cv_header_locale_h+set}" = set; then
30277   echo $ECHO_N "(cached) $ECHO_C" >&6
30278 fi
30279 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30280 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30281 else
30282   # Is the header compilable?
30283 echo "$as_me:$LINENO: checking locale.h usability" >&5
30284 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
30285 cat >conftest.$ac_ext <<_ACEOF
30286 /* confdefs.h.  */
30287 _ACEOF
30288 cat confdefs.h >>conftest.$ac_ext
30289 cat >>conftest.$ac_ext <<_ACEOF
30290 /* end confdefs.h.  */
30291 $ac_includes_default
30292 #include <locale.h>
30293 _ACEOF
30294 rm -f conftest.$ac_objext
30295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30296   (eval $ac_compile) 2>conftest.er1
30297   ac_status=$?
30298   grep -v '^ *+' conftest.er1 >conftest.err
30299   rm -f conftest.er1
30300   cat conftest.err >&5
30301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30302   (exit $ac_status); } &&
30303          { ac_try='test -z "$ac_c_werror_flag"
30304                          || test ! -s conftest.err'
30305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30306   (eval $ac_try) 2>&5
30307   ac_status=$?
30308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30309   (exit $ac_status); }; } &&
30310          { ac_try='test -s conftest.$ac_objext'
30311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30312   (eval $ac_try) 2>&5
30313   ac_status=$?
30314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30315   (exit $ac_status); }; }; then
30316   ac_header_compiler=yes
30317 else
30318   echo "$as_me: failed program was:" >&5
30319 sed 's/^/| /' conftest.$ac_ext >&5
30320
30321 ac_header_compiler=no
30322 fi
30323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30324 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30325 echo "${ECHO_T}$ac_header_compiler" >&6
30326
30327 # Is the header present?
30328 echo "$as_me:$LINENO: checking locale.h presence" >&5
30329 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
30330 cat >conftest.$ac_ext <<_ACEOF
30331 /* confdefs.h.  */
30332 _ACEOF
30333 cat confdefs.h >>conftest.$ac_ext
30334 cat >>conftest.$ac_ext <<_ACEOF
30335 /* end confdefs.h.  */
30336 #include <locale.h>
30337 _ACEOF
30338 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30339   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30340   ac_status=$?
30341   grep -v '^ *+' conftest.er1 >conftest.err
30342   rm -f conftest.er1
30343   cat conftest.err >&5
30344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30345   (exit $ac_status); } >/dev/null; then
30346   if test -s conftest.err; then
30347     ac_cpp_err=$ac_c_preproc_warn_flag
30348     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30349   else
30350     ac_cpp_err=
30351   fi
30352 else
30353   ac_cpp_err=yes
30354 fi
30355 if test -z "$ac_cpp_err"; then
30356   ac_header_preproc=yes
30357 else
30358   echo "$as_me: failed program was:" >&5
30359 sed 's/^/| /' conftest.$ac_ext >&5
30360
30361   ac_header_preproc=no
30362 fi
30363 rm -f conftest.err conftest.$ac_ext
30364 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30365 echo "${ECHO_T}$ac_header_preproc" >&6
30366
30367 # So?  What about this header?
30368 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30369   yes:no: )
30370     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
30371 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30372     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
30373 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
30374     ac_header_preproc=yes
30375     ;;
30376   no:yes:* )
30377     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
30378 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
30379     { echo "$as_me:$LINENO: WARNING: locale.h:     check for missing prerequisite headers?" >&5
30380 echo "$as_me: WARNING: locale.h:     check for missing prerequisite headers?" >&2;}
30381     { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
30382 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
30383     { echo "$as_me:$LINENO: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&5
30384 echo "$as_me: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&2;}
30385     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
30386 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
30387     { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
30388 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
30389     (
30390       cat <<\_ASBOX
30391 ## ----------------------------------------- ##
30392 ## Report this to the package-unused lists.  ##
30393 ## ----------------------------------------- ##
30394 _ASBOX
30395     ) |
30396       sed "s/^/$as_me: WARNING:     /" >&2
30397     ;;
30398 esac
30399 echo "$as_me:$LINENO: checking for locale.h" >&5
30400 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30401 if test "${ac_cv_header_locale_h+set}" = set; then
30402   echo $ECHO_N "(cached) $ECHO_C" >&6
30403 else
30404   ac_cv_header_locale_h=$ac_header_preproc
30405 fi
30406 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30407 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30408
30409 fi
30410 if test $ac_cv_header_locale_h = yes; then
30411
30412     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
30413 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
30414 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
30415   echo $ECHO_N "(cached) $ECHO_C" >&6
30416 else
30417   if test x$gcc_no_link = xyes; then
30418   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30420    { (exit 1); exit 1; }; }
30421 fi
30422 cat >conftest.$ac_ext <<_ACEOF
30423 /* confdefs.h.  */
30424 _ACEOF
30425 cat confdefs.h >>conftest.$ac_ext
30426 cat >>conftest.$ac_ext <<_ACEOF
30427 /* end confdefs.h.  */
30428 #include <locale.h>
30429 int
30430 main ()
30431 {
30432 return LC_MESSAGES
30433   ;
30434   return 0;
30435 }
30436 _ACEOF
30437 rm -f conftest.$ac_objext conftest$ac_exeext
30438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30439   (eval $ac_link) 2>conftest.er1
30440   ac_status=$?
30441   grep -v '^ *+' conftest.er1 >conftest.err
30442   rm -f conftest.er1
30443   cat conftest.err >&5
30444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30445   (exit $ac_status); } &&
30446          { ac_try='test -z "$ac_c_werror_flag"
30447                          || test ! -s conftest.err'
30448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30449   (eval $ac_try) 2>&5
30450   ac_status=$?
30451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30452   (exit $ac_status); }; } &&
30453          { ac_try='test -s conftest$ac_exeext'
30454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30455   (eval $ac_try) 2>&5
30456   ac_status=$?
30457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30458   (exit $ac_status); }; }; then
30459   ac_cv_val_LC_MESSAGES=yes
30460 else
30461   echo "$as_me: failed program was:" >&5
30462 sed 's/^/| /' conftest.$ac_ext >&5
30463
30464 ac_cv_val_LC_MESSAGES=no
30465 fi
30466 rm -f conftest.err conftest.$ac_objext \
30467       conftest$ac_exeext conftest.$ac_ext
30468 fi
30469 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
30470 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
30471     if test $ac_cv_val_LC_MESSAGES = yes; then
30472       cat >>confdefs.h <<\_ACEOF
30473 #define HAVE_LC_MESSAGES 1
30474 _ACEOF
30475
30476     fi
30477
30478 fi
30479
30480
30481
30482
30483   cat >conftest.$ac_ext <<_ACEOF
30484 /* confdefs.h.  */
30485 _ACEOF
30486 cat confdefs.h >>conftest.$ac_ext
30487 cat >>conftest.$ac_ext <<_ACEOF
30488 /* end confdefs.h.  */
30489 #include <setjmp.h>
30490 int
30491 main ()
30492 {
30493 sigjmp_buf env;
30494      while (! sigsetjmp (env, 1))
30495        siglongjmp (env, 1);
30496
30497   ;
30498   return 0;
30499 }
30500 _ACEOF
30501 rm -f conftest.$ac_objext
30502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30503   (eval $ac_compile) 2>conftest.er1
30504   ac_status=$?
30505   grep -v '^ *+' conftest.er1 >conftest.err
30506   rm -f conftest.er1
30507   cat conftest.err >&5
30508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30509   (exit $ac_status); } &&
30510          { ac_try='test -z "$ac_c_werror_flag"
30511                          || test ! -s conftest.err'
30512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30513   (eval $ac_try) 2>&5
30514   ac_status=$?
30515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30516   (exit $ac_status); }; } &&
30517          { ac_try='test -s conftest.$ac_objext'
30518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30519   (eval $ac_try) 2>&5
30520   ac_status=$?
30521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30522   (exit $ac_status); }; }; then
30523
30524 cat >>confdefs.h <<\_ACEOF
30525 #define HAVE_SIGSETJMP 1
30526 _ACEOF
30527
30528 else
30529   echo "$as_me: failed program was:" >&5
30530 sed 's/^/| /' conftest.$ac_ext >&5
30531
30532 fi
30533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30534
30535   if test x$gcc_no_link = xyes; then
30536   if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30537     ac_cv_func_mmap_fixed_mapped=no
30538   fi
30539 fi
30540 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30541
30542
30543 for ac_header in stdlib.h unistd.h
30544 do
30545 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30546 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30547   echo "$as_me:$LINENO: checking for $ac_header" >&5
30548 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30549 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30550   echo $ECHO_N "(cached) $ECHO_C" >&6
30551 fi
30552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30553 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30554 else
30555   # Is the header compilable?
30556 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30557 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30558 cat >conftest.$ac_ext <<_ACEOF
30559 /* confdefs.h.  */
30560 _ACEOF
30561 cat confdefs.h >>conftest.$ac_ext
30562 cat >>conftest.$ac_ext <<_ACEOF
30563 /* end confdefs.h.  */
30564 $ac_includes_default
30565 #include <$ac_header>
30566 _ACEOF
30567 rm -f conftest.$ac_objext
30568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30569   (eval $ac_compile) 2>conftest.er1
30570   ac_status=$?
30571   grep -v '^ *+' conftest.er1 >conftest.err
30572   rm -f conftest.er1
30573   cat conftest.err >&5
30574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30575   (exit $ac_status); } &&
30576          { ac_try='test -z "$ac_c_werror_flag"
30577                          || test ! -s conftest.err'
30578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30579   (eval $ac_try) 2>&5
30580   ac_status=$?
30581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30582   (exit $ac_status); }; } &&
30583          { ac_try='test -s conftest.$ac_objext'
30584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30585   (eval $ac_try) 2>&5
30586   ac_status=$?
30587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30588   (exit $ac_status); }; }; then
30589   ac_header_compiler=yes
30590 else
30591   echo "$as_me: failed program was:" >&5
30592 sed 's/^/| /' conftest.$ac_ext >&5
30593
30594 ac_header_compiler=no
30595 fi
30596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30597 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30598 echo "${ECHO_T}$ac_header_compiler" >&6
30599
30600 # Is the header present?
30601 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30602 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30603 cat >conftest.$ac_ext <<_ACEOF
30604 /* confdefs.h.  */
30605 _ACEOF
30606 cat confdefs.h >>conftest.$ac_ext
30607 cat >>conftest.$ac_ext <<_ACEOF
30608 /* end confdefs.h.  */
30609 #include <$ac_header>
30610 _ACEOF
30611 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30612   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30613   ac_status=$?
30614   grep -v '^ *+' conftest.er1 >conftest.err
30615   rm -f conftest.er1
30616   cat conftest.err >&5
30617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30618   (exit $ac_status); } >/dev/null; then
30619   if test -s conftest.err; then
30620     ac_cpp_err=$ac_c_preproc_warn_flag
30621     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30622   else
30623     ac_cpp_err=
30624   fi
30625 else
30626   ac_cpp_err=yes
30627 fi
30628 if test -z "$ac_cpp_err"; then
30629   ac_header_preproc=yes
30630 else
30631   echo "$as_me: failed program was:" >&5
30632 sed 's/^/| /' conftest.$ac_ext >&5
30633
30634   ac_header_preproc=no
30635 fi
30636 rm -f conftest.err conftest.$ac_ext
30637 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30638 echo "${ECHO_T}$ac_header_preproc" >&6
30639
30640 # So?  What about this header?
30641 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30642   yes:no: )
30643     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30644 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30645     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30646 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30647     ac_header_preproc=yes
30648     ;;
30649   no:yes:* )
30650     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30651 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30652     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
30653 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
30654     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30655 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30656     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
30657 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
30658     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30659 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30660     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30661 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30662     (
30663       cat <<\_ASBOX
30664 ## ----------------------------------------- ##
30665 ## Report this to the package-unused lists.  ##
30666 ## ----------------------------------------- ##
30667 _ASBOX
30668     ) |
30669       sed "s/^/$as_me: WARNING:     /" >&2
30670     ;;
30671 esac
30672 echo "$as_me:$LINENO: checking for $ac_header" >&5
30673 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30675   echo $ECHO_N "(cached) $ECHO_C" >&6
30676 else
30677   eval "$as_ac_Header=\$ac_header_preproc"
30678 fi
30679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30680 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30681
30682 fi
30683 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30684   cat >>confdefs.h <<_ACEOF
30685 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30686 _ACEOF
30687
30688 fi
30689
30690 done
30691
30692
30693 for ac_func in getpagesize
30694 do
30695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30696 echo "$as_me:$LINENO: checking for $ac_func" >&5
30697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30698 if eval "test \"\${$as_ac_var+set}\" = set"; then
30699   echo $ECHO_N "(cached) $ECHO_C" >&6
30700 else
30701   if test x$gcc_no_link = xyes; then
30702   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30704    { (exit 1); exit 1; }; }
30705 fi
30706 cat >conftest.$ac_ext <<_ACEOF
30707 /* confdefs.h.  */
30708 _ACEOF
30709 cat confdefs.h >>conftest.$ac_ext
30710 cat >>conftest.$ac_ext <<_ACEOF
30711 /* end confdefs.h.  */
30712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30713    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30714 #define $ac_func innocuous_$ac_func
30715
30716 /* System header to define __stub macros and hopefully few prototypes,
30717     which can conflict with char $ac_func (); below.
30718     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30719     <limits.h> exists even on freestanding compilers.  */
30720
30721 #ifdef __STDC__
30722 # include <limits.h>
30723 #else
30724 # include <assert.h>
30725 #endif
30726
30727 #undef $ac_func
30728
30729 /* Override any gcc2 internal prototype to avoid an error.  */
30730 #ifdef __cplusplus
30731 extern "C"
30732 {
30733 #endif
30734 /* We use char because int might match the return type of a gcc2
30735    builtin and then its argument prototype would still apply.  */
30736 char $ac_func ();
30737 /* The GNU C library defines this for functions which it implements
30738     to always fail with ENOSYS.  Some functions are actually named
30739     something starting with __ and the normal name is an alias.  */
30740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30741 choke me
30742 #else
30743 char (*f) () = $ac_func;
30744 #endif
30745 #ifdef __cplusplus
30746 }
30747 #endif
30748
30749 int
30750 main ()
30751 {
30752 return f != $ac_func;
30753   ;
30754   return 0;
30755 }
30756 _ACEOF
30757 rm -f conftest.$ac_objext conftest$ac_exeext
30758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30759   (eval $ac_link) 2>conftest.er1
30760   ac_status=$?
30761   grep -v '^ *+' conftest.er1 >conftest.err
30762   rm -f conftest.er1
30763   cat conftest.err >&5
30764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30765   (exit $ac_status); } &&
30766          { ac_try='test -z "$ac_c_werror_flag"
30767                          || test ! -s conftest.err'
30768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30769   (eval $ac_try) 2>&5
30770   ac_status=$?
30771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30772   (exit $ac_status); }; } &&
30773          { ac_try='test -s conftest$ac_exeext'
30774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30775   (eval $ac_try) 2>&5
30776   ac_status=$?
30777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30778   (exit $ac_status); }; }; then
30779   eval "$as_ac_var=yes"
30780 else
30781   echo "$as_me: failed program was:" >&5
30782 sed 's/^/| /' conftest.$ac_ext >&5
30783
30784 eval "$as_ac_var=no"
30785 fi
30786 rm -f conftest.err conftest.$ac_objext \
30787       conftest$ac_exeext conftest.$ac_ext
30788 fi
30789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30791 if test `eval echo '${'$as_ac_var'}'` = yes; then
30792   cat >>confdefs.h <<_ACEOF
30793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30794 _ACEOF
30795
30796 fi
30797 done
30798
30799 echo "$as_me:$LINENO: checking for working mmap" >&5
30800 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
30801 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
30802   echo $ECHO_N "(cached) $ECHO_C" >&6
30803 else
30804   if test "$cross_compiling" = yes; then
30805   ac_cv_func_mmap_fixed_mapped=no
30806 else
30807   cat >conftest.$ac_ext <<_ACEOF
30808 /* confdefs.h.  */
30809 _ACEOF
30810 cat confdefs.h >>conftest.$ac_ext
30811 cat >>conftest.$ac_ext <<_ACEOF
30812 /* end confdefs.h.  */
30813 $ac_includes_default
30814 /* malloc might have been renamed as rpl_malloc. */
30815 #undef malloc
30816
30817 /* Thanks to Mike Haertel and Jim Avera for this test.
30818    Here is a matrix of mmap possibilities:
30819         mmap private not fixed
30820         mmap private fixed at somewhere currently unmapped
30821         mmap private fixed at somewhere already mapped
30822         mmap shared not fixed
30823         mmap shared fixed at somewhere currently unmapped
30824         mmap shared fixed at somewhere already mapped
30825    For private mappings, we should verify that changes cannot be read()
30826    back from the file, nor mmap's back from the file at a different
30827    address.  (There have been systems where private was not correctly
30828    implemented like the infamous i386 svr4.0, and systems where the
30829    VM page cache was not coherent with the file system buffer cache
30830    like early versions of FreeBSD and possibly contemporary NetBSD.)
30831    For shared mappings, we should conversely verify that changes get
30832    propagated back to all the places they're supposed to be.
30833
30834    Grep wants private fixed already mapped.
30835    The main things grep needs to know about mmap are:
30836    * does it exist and is it safe to write into the mmap'd area
30837    * how to use it (BSD variants)  */
30838
30839 #include <fcntl.h>
30840 #include <sys/mman.h>
30841
30842 #if !STDC_HEADERS && !HAVE_STDLIB_H
30843 char *malloc ();
30844 #endif
30845
30846 /* This mess was copied from the GNU getpagesize.h.  */
30847 #if !HAVE_GETPAGESIZE
30848 /* Assume that all systems that can run configure have sys/param.h.  */
30849 # if !HAVE_SYS_PARAM_H
30850 #  define HAVE_SYS_PARAM_H 1
30851 # endif
30852
30853 # ifdef _SC_PAGESIZE
30854 #  define getpagesize() sysconf(_SC_PAGESIZE)
30855 # else /* no _SC_PAGESIZE */
30856 #  if HAVE_SYS_PARAM_H
30857 #   include <sys/param.h>
30858 #   ifdef EXEC_PAGESIZE
30859 #    define getpagesize() EXEC_PAGESIZE
30860 #   else /* no EXEC_PAGESIZE */
30861 #    ifdef NBPG
30862 #     define getpagesize() NBPG * CLSIZE
30863 #     ifndef CLSIZE
30864 #      define CLSIZE 1
30865 #     endif /* no CLSIZE */
30866 #    else /* no NBPG */
30867 #     ifdef NBPC
30868 #      define getpagesize() NBPC
30869 #     else /* no NBPC */
30870 #      ifdef PAGESIZE
30871 #       define getpagesize() PAGESIZE
30872 #      endif /* PAGESIZE */
30873 #     endif /* no NBPC */
30874 #    endif /* no NBPG */
30875 #   endif /* no EXEC_PAGESIZE */
30876 #  else /* no HAVE_SYS_PARAM_H */
30877 #   define getpagesize() 8192   /* punt totally */
30878 #  endif /* no HAVE_SYS_PARAM_H */
30879 # endif /* no _SC_PAGESIZE */
30880
30881 #endif /* no HAVE_GETPAGESIZE */
30882
30883 int
30884 main ()
30885 {
30886   char *data, *data2, *data3;
30887   int i, pagesize;
30888   int fd;
30889
30890   pagesize = getpagesize ();
30891
30892   /* First, make a file with some known garbage in it. */
30893   data = (char *) malloc (pagesize);
30894   if (!data)
30895     exit (1);
30896   for (i = 0; i < pagesize; ++i)
30897     *(data + i) = rand ();
30898   umask (0);
30899   fd = creat ("conftest.mmap", 0600);
30900   if (fd < 0)
30901     exit (1);
30902   if (write (fd, data, pagesize) != pagesize)
30903     exit (1);
30904   close (fd);
30905
30906   /* Next, try to mmap the file at a fixed address which already has
30907      something else allocated at it.  If we can, also make sure that
30908      we see the same garbage.  */
30909   fd = open ("conftest.mmap", O_RDWR);
30910   if (fd < 0)
30911     exit (1);
30912   data2 = (char *) malloc (2 * pagesize);
30913   if (!data2)
30914     exit (1);
30915   data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
30916   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
30917                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
30918     exit (1);
30919   for (i = 0; i < pagesize; ++i)
30920     if (*(data + i) != *(data2 + i))
30921       exit (1);
30922
30923   /* Finally, make sure that changes to the mapped area do not
30924      percolate back to the file as seen by read().  (This is a bug on
30925      some variants of i386 svr4.0.)  */
30926   for (i = 0; i < pagesize; ++i)
30927     *(data2 + i) = *(data2 + i) + 1;
30928   data3 = (char *) malloc (pagesize);
30929   if (!data3)
30930     exit (1);
30931   if (read (fd, data3, pagesize) != pagesize)
30932     exit (1);
30933   for (i = 0; i < pagesize; ++i)
30934     if (*(data + i) != *(data3 + i))
30935       exit (1);
30936   close (fd);
30937   exit (0);
30938 }
30939 _ACEOF
30940 rm -f conftest$ac_exeext
30941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30942   (eval $ac_link) 2>&5
30943   ac_status=$?
30944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30945   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30947   (eval $ac_try) 2>&5
30948   ac_status=$?
30949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30950   (exit $ac_status); }; }; then
30951   ac_cv_func_mmap_fixed_mapped=yes
30952 else
30953   echo "$as_me: program exited with status $ac_status" >&5
30954 echo "$as_me: failed program was:" >&5
30955 sed 's/^/| /' conftest.$ac_ext >&5
30956
30957 ( exit $ac_status )
30958 ac_cv_func_mmap_fixed_mapped=no
30959 fi
30960 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30961 fi
30962 fi
30963 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
30964 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
30965 if test $ac_cv_func_mmap_fixed_mapped = yes; then
30966
30967 cat >>confdefs.h <<\_ACEOF
30968 #define HAVE_MMAP 1
30969 _ACEOF
30970
30971 fi
30972 rm -f conftest.mmap
30973
30974 fi
30975
30976 else
30977
30978   # This lets us hard-code the functionality we know we'll have in the cross
30979   # target environment.  "Let" is a sugar-coated word placed on an especially
30980   # dull and tedious hack, actually.
30981   #
30982   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
30983   # that involve linking, can't be used:
30984   #    "cannot open sim-crt0.o"
30985   #    "cannot open crt0.o"
30986   # etc.  All this is because there currently exists no unified, consistent
30987   # way for top level CC information to be passed down to target directories:
30988   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
30989   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
30990   # crosses can be removed.
30991
30992   # If Canadian cross, then don't pick up tools from the build directory.
30993   # Used only in GLIBCXX_EXPORT_INCLUDES.
30994   if test -n "$with_cross_host" &&
30995      test x"$build_alias" != x"$with_cross_host" &&
30996      test x"$build" != x"$target";
30997   then
30998     CANADIAN=yes
30999   else
31000     CANADIAN=no
31001   fi
31002
31003   # Construct crosses by hand, eliminating bits that need ld...
31004   # GLIBCXX_CHECK_COMPILER_FEATURES
31005   # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
31006   # GLIBCXX_CHECK_MATH_SUPPORT
31007
31008   # First, test for "known" system libraries.  We may be using newlib even
31009   # on a hosted environment.
31010   if test "x${with_newlib}" = "xyes"; then
31011     os_include_dir="os/newlib"
31012     cat >>confdefs.h <<\_ACEOF
31013 #define HAVE_HYPOT 1
31014 _ACEOF
31015
31016
31017     # GLIBCXX_CHECK_STDLIB_SUPPORT
31018     cat >>confdefs.h <<\_ACEOF
31019 #define HAVE_STRTOF 1
31020 _ACEOF
31021
31022     # AC_FUNC_MMAP
31023     cat >>confdefs.h <<\_ACEOF
31024 #define HAVE_MMAP 1
31025 _ACEOF
31026
31027
31028     cat >>confdefs.h <<\_ACEOF
31029 #define HAVE_ACOSF 1
31030 _ACEOF
31031
31032     cat >>confdefs.h <<\_ACEOF
31033 #define HAVE_ASINF 1
31034 _ACEOF
31035
31036     cat >>confdefs.h <<\_ACEOF
31037 #define HAVE_ATAN2F 1
31038 _ACEOF
31039
31040     cat >>confdefs.h <<\_ACEOF
31041 #define HAVE_ATANF 1
31042 _ACEOF
31043
31044     cat >>confdefs.h <<\_ACEOF
31045 #define HAVE_CEILF 1
31046 _ACEOF
31047
31048     cat >>confdefs.h <<\_ACEOF
31049 #define HAVE_COPYSIGN 1
31050 _ACEOF
31051
31052     cat >>confdefs.h <<\_ACEOF
31053 #define HAVE_COPYSIGNF 1
31054 _ACEOF
31055
31056     cat >>confdefs.h <<\_ACEOF
31057 #define HAVE_COSF 1
31058 _ACEOF
31059
31060     cat >>confdefs.h <<\_ACEOF
31061 #define HAVE_COSHF 1
31062 _ACEOF
31063
31064     cat >>confdefs.h <<\_ACEOF
31065 #define HAVE_EXPF 1
31066 _ACEOF
31067
31068     cat >>confdefs.h <<\_ACEOF
31069 #define HAVE_FABSF 1
31070 _ACEOF
31071
31072     cat >>confdefs.h <<\_ACEOF
31073 #define HAVE_FLOORF 1
31074 _ACEOF
31075
31076     cat >>confdefs.h <<\_ACEOF
31077 #define HAVE_FMODF 1
31078 _ACEOF
31079
31080     cat >>confdefs.h <<\_ACEOF
31081 #define HAVE_FREXPF 1
31082 _ACEOF
31083
31084     cat >>confdefs.h <<\_ACEOF
31085 #define HAVE_LDEXPF 1
31086 _ACEOF
31087
31088     cat >>confdefs.h <<\_ACEOF
31089 #define HAVE_LOG10F 1
31090 _ACEOF
31091
31092     cat >>confdefs.h <<\_ACEOF
31093 #define HAVE_LOGF 1
31094 _ACEOF
31095
31096     cat >>confdefs.h <<\_ACEOF
31097 #define HAVE_MODFF 1
31098 _ACEOF
31099
31100     cat >>confdefs.h <<\_ACEOF
31101 #define HAVE_POWF 1
31102 _ACEOF
31103
31104     cat >>confdefs.h <<\_ACEOF
31105 #define HAVE_SINF 1
31106 _ACEOF
31107
31108     cat >>confdefs.h <<\_ACEOF
31109 #define HAVE_SINHF 1
31110 _ACEOF
31111
31112     cat >>confdefs.h <<\_ACEOF
31113 #define HAVE_SQRTF 1
31114 _ACEOF
31115
31116     cat >>confdefs.h <<\_ACEOF
31117 #define HAVE_TANF 1
31118 _ACEOF
31119
31120     cat >>confdefs.h <<\_ACEOF
31121 #define HAVE_TANHF 1
31122 _ACEOF
31123
31124
31125     cat >>confdefs.h <<\_ACEOF
31126 #define HAVE_S_ISREG 1
31127 _ACEOF
31128
31129     cat >>confdefs.h <<\_ACEOF
31130 #define HAVE_S_IFREG 1
31131 _ACEOF
31132
31133   else
31134
31135 # Base decisions on target environment.
31136 case "${host}" in
31137   arm*-*-symbianelf*)
31138     # This is a freestanding configuration; there is nothing to do here.
31139     ;;
31140
31141   *-darwin*)
31142     # Darwin versions vary, but the linker should work in a cross environment,
31143     # so we just check for all the features here.
31144     # Check for available headers.
31145
31146
31147
31148
31149
31150
31151
31152
31153
31154
31155
31156
31157
31158 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
31159     machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
31160     sys/types.h
31161 do
31162 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31164   echo "$as_me:$LINENO: checking for $ac_header" >&5
31165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31167   echo $ECHO_N "(cached) $ECHO_C" >&6
31168 fi
31169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31171 else
31172   # Is the header compilable?
31173 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31174 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31175 cat >conftest.$ac_ext <<_ACEOF
31176 /* confdefs.h.  */
31177 _ACEOF
31178 cat confdefs.h >>conftest.$ac_ext
31179 cat >>conftest.$ac_ext <<_ACEOF
31180 /* end confdefs.h.  */
31181 $ac_includes_default
31182 #include <$ac_header>
31183 _ACEOF
31184 rm -f conftest.$ac_objext
31185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31186   (eval $ac_compile) 2>conftest.er1
31187   ac_status=$?
31188   grep -v '^ *+' conftest.er1 >conftest.err
31189   rm -f conftest.er1
31190   cat conftest.err >&5
31191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31192   (exit $ac_status); } &&
31193          { ac_try='test -z "$ac_c_werror_flag"
31194                          || test ! -s conftest.err'
31195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31196   (eval $ac_try) 2>&5
31197   ac_status=$?
31198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31199   (exit $ac_status); }; } &&
31200          { ac_try='test -s conftest.$ac_objext'
31201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31202   (eval $ac_try) 2>&5
31203   ac_status=$?
31204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31205   (exit $ac_status); }; }; then
31206   ac_header_compiler=yes
31207 else
31208   echo "$as_me: failed program was:" >&5
31209 sed 's/^/| /' conftest.$ac_ext >&5
31210
31211 ac_header_compiler=no
31212 fi
31213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31214 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31215 echo "${ECHO_T}$ac_header_compiler" >&6
31216
31217 # Is the header present?
31218 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31219 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31220 cat >conftest.$ac_ext <<_ACEOF
31221 /* confdefs.h.  */
31222 _ACEOF
31223 cat confdefs.h >>conftest.$ac_ext
31224 cat >>conftest.$ac_ext <<_ACEOF
31225 /* end confdefs.h.  */
31226 #include <$ac_header>
31227 _ACEOF
31228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31229   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31230   ac_status=$?
31231   grep -v '^ *+' conftest.er1 >conftest.err
31232   rm -f conftest.er1
31233   cat conftest.err >&5
31234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31235   (exit $ac_status); } >/dev/null; then
31236   if test -s conftest.err; then
31237     ac_cpp_err=$ac_c_preproc_warn_flag
31238     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31239   else
31240     ac_cpp_err=
31241   fi
31242 else
31243   ac_cpp_err=yes
31244 fi
31245 if test -z "$ac_cpp_err"; then
31246   ac_header_preproc=yes
31247 else
31248   echo "$as_me: failed program was:" >&5
31249 sed 's/^/| /' conftest.$ac_ext >&5
31250
31251   ac_header_preproc=no
31252 fi
31253 rm -f conftest.err conftest.$ac_ext
31254 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31255 echo "${ECHO_T}$ac_header_preproc" >&6
31256
31257 # So?  What about this header?
31258 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31259   yes:no: )
31260     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31261 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31262     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31263 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31264     ac_header_preproc=yes
31265     ;;
31266   no:yes:* )
31267     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31268 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31269     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
31270 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
31271     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31272 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31273     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
31274 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
31275     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31276 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31277     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31278 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31279     (
31280       cat <<\_ASBOX
31281 ## ----------------------------------------- ##
31282 ## Report this to the package-unused lists.  ##
31283 ## ----------------------------------------- ##
31284 _ASBOX
31285     ) |
31286       sed "s/^/$as_me: WARNING:     /" >&2
31287     ;;
31288 esac
31289 echo "$as_me:$LINENO: checking for $ac_header" >&5
31290 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31292   echo $ECHO_N "(cached) $ECHO_C" >&6
31293 else
31294   eval "$as_ac_Header=\$ac_header_preproc"
31295 fi
31296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31297 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31298
31299 fi
31300 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31301   cat >>confdefs.h <<_ACEOF
31302 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31303 _ACEOF
31304
31305 fi
31306
31307 done
31308
31309
31310
31311   # All these tests are for C++; save the language and the compiler flags.
31312   # The CXXFLAGS thing is suspicious, but based on similar bits previously
31313   # found in GLIBCXX_CONFIGURE.
31314
31315
31316   ac_ext=cc
31317 ac_cpp='$CXXCPP $CPPFLAGS'
31318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31321
31322   ac_test_CXXFLAGS="${CXXFLAGS+set}"
31323   ac_save_CXXFLAGS="$CXXFLAGS"
31324
31325   # Check for maintainer-mode bits.
31326   if test x"$USE_MAINTAINER_MODE" = xno; then
31327     WERROR=''
31328   else
31329     WERROR='-Werror'
31330   fi
31331
31332   # Check for -ffunction-sections -fdata-sections
31333   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
31334 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
31335   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
31336   cat >conftest.$ac_ext <<_ACEOF
31337 /* confdefs.h.  */
31338 _ACEOF
31339 cat confdefs.h >>conftest.$ac_ext
31340 cat >>conftest.$ac_ext <<_ACEOF
31341 /* end confdefs.h.  */
31342
31343 int
31344 main ()
31345 {
31346 int foo;
31347   ;
31348   return 0;
31349 }
31350 _ACEOF
31351 rm -f conftest.$ac_objext
31352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31353   (eval $ac_compile) 2>conftest.er1
31354   ac_status=$?
31355   grep -v '^ *+' conftest.er1 >conftest.err
31356   rm -f conftest.er1
31357   cat conftest.err >&5
31358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31359   (exit $ac_status); } &&
31360          { ac_try='test -z "$ac_cxx_werror_flag"
31361                          || test ! -s conftest.err'
31362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31363   (eval $ac_try) 2>&5
31364   ac_status=$?
31365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31366   (exit $ac_status); }; } &&
31367          { ac_try='test -s conftest.$ac_objext'
31368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31369   (eval $ac_try) 2>&5
31370   ac_status=$?
31371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31372   (exit $ac_status); }; }; then
31373   ac_fdsections=yes
31374 else
31375   echo "$as_me: failed program was:" >&5
31376 sed 's/^/| /' conftest.$ac_ext >&5
31377
31378 ac_fdsections=no
31379 fi
31380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31381   if test "$ac_test_CXXFLAGS" = set; then
31382     CXXFLAGS="$ac_save_CXXFLAGS"
31383   else
31384     # this is the suspicious part
31385     CXXFLAGS=''
31386   fi
31387   if test x"$ac_fdsections" = x"yes"; then
31388     SECTION_FLAGS='-ffunction-sections -fdata-sections'
31389   fi
31390   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
31391 echo "${ECHO_T}$ac_fdsections" >&6
31392
31393   ac_ext=c
31394 ac_cpp='$CPP $CPPFLAGS'
31395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31398
31399
31400
31401
31402     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
31403
31404   ac_test_CXXFLAGS="${CXXFLAGS+set}"
31405   ac_save_CXXFLAGS="$CXXFLAGS"
31406   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31407
31408     echo "$as_me:$LINENO: checking for sin in -lm" >&5
31409 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
31410 if test "${ac_cv_lib_m_sin+set}" = set; then
31411   echo $ECHO_N "(cached) $ECHO_C" >&6
31412 else
31413   ac_check_lib_save_LIBS=$LIBS
31414 LIBS="-lm  $LIBS"
31415 if test x$gcc_no_link = xyes; then
31416   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31418    { (exit 1); exit 1; }; }
31419 fi
31420 cat >conftest.$ac_ext <<_ACEOF
31421 /* confdefs.h.  */
31422 _ACEOF
31423 cat confdefs.h >>conftest.$ac_ext
31424 cat >>conftest.$ac_ext <<_ACEOF
31425 /* end confdefs.h.  */
31426
31427 /* Override any gcc2 internal prototype to avoid an error.  */
31428 #ifdef __cplusplus
31429 extern "C"
31430 #endif
31431 /* We use char because int might match the return type of a gcc2
31432    builtin and then its argument prototype would still apply.  */
31433 char sin ();
31434 int
31435 main ()
31436 {
31437 sin ();
31438   ;
31439   return 0;
31440 }
31441 _ACEOF
31442 rm -f conftest.$ac_objext conftest$ac_exeext
31443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31444   (eval $ac_link) 2>conftest.er1
31445   ac_status=$?
31446   grep -v '^ *+' conftest.er1 >conftest.err
31447   rm -f conftest.er1
31448   cat conftest.err >&5
31449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31450   (exit $ac_status); } &&
31451          { ac_try='test -z "$ac_c_werror_flag"
31452                          || test ! -s conftest.err'
31453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31454   (eval $ac_try) 2>&5
31455   ac_status=$?
31456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31457   (exit $ac_status); }; } &&
31458          { ac_try='test -s conftest$ac_exeext'
31459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31460   (eval $ac_try) 2>&5
31461   ac_status=$?
31462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31463   (exit $ac_status); }; }; then
31464   ac_cv_lib_m_sin=yes
31465 else
31466   echo "$as_me: failed program was:" >&5
31467 sed 's/^/| /' conftest.$ac_ext >&5
31468
31469 ac_cv_lib_m_sin=no
31470 fi
31471 rm -f conftest.err conftest.$ac_objext \
31472       conftest$ac_exeext conftest.$ac_ext
31473 LIBS=$ac_check_lib_save_LIBS
31474 fi
31475 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
31476 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
31477 if test $ac_cv_lib_m_sin = yes; then
31478   libm="-lm"
31479 fi
31480
31481   ac_save_LIBS="$LIBS"
31482   LIBS="$LIBS $libm"
31483
31484
31485
31486   echo "$as_me:$LINENO: checking for isinf declaration" >&5
31487 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
31488   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31489     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
31490   echo $ECHO_N "(cached) $ECHO_C" >&6
31491 else
31492
31493
31494
31495       ac_ext=cc
31496 ac_cpp='$CXXCPP $CPPFLAGS'
31497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31500
31501       cat >conftest.$ac_ext <<_ACEOF
31502 /* confdefs.h.  */
31503 _ACEOF
31504 cat confdefs.h >>conftest.$ac_ext
31505 cat >>conftest.$ac_ext <<_ACEOF
31506 /* end confdefs.h.  */
31507 #include <math.h>
31508                       #ifdef HAVE_IEEEFP_H
31509                       #include <ieeefp.h>
31510                       #endif
31511
31512 int
31513 main ()
31514 {
31515  isinf(0);
31516   ;
31517   return 0;
31518 }
31519 _ACEOF
31520 rm -f conftest.$ac_objext
31521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31522   (eval $ac_compile) 2>conftest.er1
31523   ac_status=$?
31524   grep -v '^ *+' conftest.er1 >conftest.err
31525   rm -f conftest.er1
31526   cat conftest.err >&5
31527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31528   (exit $ac_status); } &&
31529          { ac_try='test -z "$ac_cxx_werror_flag"
31530                          || test ! -s conftest.err'
31531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31532   (eval $ac_try) 2>&5
31533   ac_status=$?
31534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31535   (exit $ac_status); }; } &&
31536          { ac_try='test -s conftest.$ac_objext'
31537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31538   (eval $ac_try) 2>&5
31539   ac_status=$?
31540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31541   (exit $ac_status); }; }; then
31542   glibcxx_cv_func_isinf_use=yes
31543 else
31544   echo "$as_me: failed program was:" >&5
31545 sed 's/^/| /' conftest.$ac_ext >&5
31546
31547 glibcxx_cv_func_isinf_use=no
31548 fi
31549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31550       ac_ext=c
31551 ac_cpp='$CPP $CPPFLAGS'
31552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31555
31556
31557 fi
31558
31559   fi
31560   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
31561 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
31562
31563   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31564
31565 for ac_func in isinf
31566 do
31567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31568 echo "$as_me:$LINENO: checking for $ac_func" >&5
31569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31570 if eval "test \"\${$as_ac_var+set}\" = set"; then
31571   echo $ECHO_N "(cached) $ECHO_C" >&6
31572 else
31573   if test x$gcc_no_link = xyes; then
31574   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31576    { (exit 1); exit 1; }; }
31577 fi
31578 cat >conftest.$ac_ext <<_ACEOF
31579 /* confdefs.h.  */
31580 _ACEOF
31581 cat confdefs.h >>conftest.$ac_ext
31582 cat >>conftest.$ac_ext <<_ACEOF
31583 /* end confdefs.h.  */
31584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31585    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31586 #define $ac_func innocuous_$ac_func
31587
31588 /* System header to define __stub macros and hopefully few prototypes,
31589     which can conflict with char $ac_func (); below.
31590     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31591     <limits.h> exists even on freestanding compilers.  */
31592
31593 #ifdef __STDC__
31594 # include <limits.h>
31595 #else
31596 # include <assert.h>
31597 #endif
31598
31599 #undef $ac_func
31600
31601 /* Override any gcc2 internal prototype to avoid an error.  */
31602 #ifdef __cplusplus
31603 extern "C"
31604 {
31605 #endif
31606 /* We use char because int might match the return type of a gcc2
31607    builtin and then its argument prototype would still apply.  */
31608 char $ac_func ();
31609 /* The GNU C library defines this for functions which it implements
31610     to always fail with ENOSYS.  Some functions are actually named
31611     something starting with __ and the normal name is an alias.  */
31612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31613 choke me
31614 #else
31615 char (*f) () = $ac_func;
31616 #endif
31617 #ifdef __cplusplus
31618 }
31619 #endif
31620
31621 int
31622 main ()
31623 {
31624 return f != $ac_func;
31625   ;
31626   return 0;
31627 }
31628 _ACEOF
31629 rm -f conftest.$ac_objext conftest$ac_exeext
31630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31631   (eval $ac_link) 2>conftest.er1
31632   ac_status=$?
31633   grep -v '^ *+' conftest.er1 >conftest.err
31634   rm -f conftest.er1
31635   cat conftest.err >&5
31636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31637   (exit $ac_status); } &&
31638          { ac_try='test -z "$ac_c_werror_flag"
31639                          || test ! -s conftest.err'
31640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31641   (eval $ac_try) 2>&5
31642   ac_status=$?
31643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31644   (exit $ac_status); }; } &&
31645          { ac_try='test -s conftest$ac_exeext'
31646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31647   (eval $ac_try) 2>&5
31648   ac_status=$?
31649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31650   (exit $ac_status); }; }; then
31651   eval "$as_ac_var=yes"
31652 else
31653   echo "$as_me: failed program was:" >&5
31654 sed 's/^/| /' conftest.$ac_ext >&5
31655
31656 eval "$as_ac_var=no"
31657 fi
31658 rm -f conftest.err conftest.$ac_objext \
31659       conftest$ac_exeext conftest.$ac_ext
31660 fi
31661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31663 if test `eval echo '${'$as_ac_var'}'` = yes; then
31664   cat >>confdefs.h <<_ACEOF
31665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31666 _ACEOF
31667
31668 fi
31669 done
31670
31671   else
31672
31673   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
31674 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
31675   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31676     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
31677   echo $ECHO_N "(cached) $ECHO_C" >&6
31678 else
31679
31680
31681
31682       ac_ext=cc
31683 ac_cpp='$CXXCPP $CPPFLAGS'
31684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31687
31688       cat >conftest.$ac_ext <<_ACEOF
31689 /* confdefs.h.  */
31690 _ACEOF
31691 cat confdefs.h >>conftest.$ac_ext
31692 cat >>conftest.$ac_ext <<_ACEOF
31693 /* end confdefs.h.  */
31694 #include <math.h>
31695                       #ifdef HAVE_IEEEFP_H
31696                       #include <ieeefp.h>
31697                       #endif
31698
31699 int
31700 main ()
31701 {
31702  _isinf(0);
31703   ;
31704   return 0;
31705 }
31706 _ACEOF
31707 rm -f conftest.$ac_objext
31708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31709   (eval $ac_compile) 2>conftest.er1
31710   ac_status=$?
31711   grep -v '^ *+' conftest.er1 >conftest.err
31712   rm -f conftest.er1
31713   cat conftest.err >&5
31714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31715   (exit $ac_status); } &&
31716          { ac_try='test -z "$ac_cxx_werror_flag"
31717                          || test ! -s conftest.err'
31718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31719   (eval $ac_try) 2>&5
31720   ac_status=$?
31721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31722   (exit $ac_status); }; } &&
31723          { ac_try='test -s conftest.$ac_objext'
31724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31725   (eval $ac_try) 2>&5
31726   ac_status=$?
31727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31728   (exit $ac_status); }; }; then
31729   glibcxx_cv_func__isinf_use=yes
31730 else
31731   echo "$as_me: failed program was:" >&5
31732 sed 's/^/| /' conftest.$ac_ext >&5
31733
31734 glibcxx_cv_func__isinf_use=no
31735 fi
31736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31737       ac_ext=c
31738 ac_cpp='$CPP $CPPFLAGS'
31739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31742
31743
31744 fi
31745
31746   fi
31747   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
31748 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
31749
31750     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31751
31752 for ac_func in _isinf
31753 do
31754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31755 echo "$as_me:$LINENO: checking for $ac_func" >&5
31756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31757 if eval "test \"\${$as_ac_var+set}\" = set"; then
31758   echo $ECHO_N "(cached) $ECHO_C" >&6
31759 else
31760   if test x$gcc_no_link = xyes; then
31761   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31763    { (exit 1); exit 1; }; }
31764 fi
31765 cat >conftest.$ac_ext <<_ACEOF
31766 /* confdefs.h.  */
31767 _ACEOF
31768 cat confdefs.h >>conftest.$ac_ext
31769 cat >>conftest.$ac_ext <<_ACEOF
31770 /* end confdefs.h.  */
31771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31772    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31773 #define $ac_func innocuous_$ac_func
31774
31775 /* System header to define __stub macros and hopefully few prototypes,
31776     which can conflict with char $ac_func (); below.
31777     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31778     <limits.h> exists even on freestanding compilers.  */
31779
31780 #ifdef __STDC__
31781 # include <limits.h>
31782 #else
31783 # include <assert.h>
31784 #endif
31785
31786 #undef $ac_func
31787
31788 /* Override any gcc2 internal prototype to avoid an error.  */
31789 #ifdef __cplusplus
31790 extern "C"
31791 {
31792 #endif
31793 /* We use char because int might match the return type of a gcc2
31794    builtin and then its argument prototype would still apply.  */
31795 char $ac_func ();
31796 /* The GNU C library defines this for functions which it implements
31797     to always fail with ENOSYS.  Some functions are actually named
31798     something starting with __ and the normal name is an alias.  */
31799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31800 choke me
31801 #else
31802 char (*f) () = $ac_func;
31803 #endif
31804 #ifdef __cplusplus
31805 }
31806 #endif
31807
31808 int
31809 main ()
31810 {
31811 return f != $ac_func;
31812   ;
31813   return 0;
31814 }
31815 _ACEOF
31816 rm -f conftest.$ac_objext conftest$ac_exeext
31817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31818   (eval $ac_link) 2>conftest.er1
31819   ac_status=$?
31820   grep -v '^ *+' conftest.er1 >conftest.err
31821   rm -f conftest.er1
31822   cat conftest.err >&5
31823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31824   (exit $ac_status); } &&
31825          { ac_try='test -z "$ac_c_werror_flag"
31826                          || test ! -s conftest.err'
31827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31828   (eval $ac_try) 2>&5
31829   ac_status=$?
31830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31831   (exit $ac_status); }; } &&
31832          { ac_try='test -s conftest$ac_exeext'
31833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31834   (eval $ac_try) 2>&5
31835   ac_status=$?
31836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31837   (exit $ac_status); }; }; then
31838   eval "$as_ac_var=yes"
31839 else
31840   echo "$as_me: failed program was:" >&5
31841 sed 's/^/| /' conftest.$ac_ext >&5
31842
31843 eval "$as_ac_var=no"
31844 fi
31845 rm -f conftest.err conftest.$ac_objext \
31846       conftest$ac_exeext conftest.$ac_ext
31847 fi
31848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31850 if test `eval echo '${'$as_ac_var'}'` = yes; then
31851   cat >>confdefs.h <<_ACEOF
31852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31853 _ACEOF
31854
31855 fi
31856 done
31857
31858     fi
31859   fi
31860
31861
31862
31863   echo "$as_me:$LINENO: checking for isnan declaration" >&5
31864 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
31865   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31866     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
31867   echo $ECHO_N "(cached) $ECHO_C" >&6
31868 else
31869
31870
31871
31872       ac_ext=cc
31873 ac_cpp='$CXXCPP $CPPFLAGS'
31874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31877
31878       cat >conftest.$ac_ext <<_ACEOF
31879 /* confdefs.h.  */
31880 _ACEOF
31881 cat confdefs.h >>conftest.$ac_ext
31882 cat >>conftest.$ac_ext <<_ACEOF
31883 /* end confdefs.h.  */
31884 #include <math.h>
31885                       #ifdef HAVE_IEEEFP_H
31886                       #include <ieeefp.h>
31887                       #endif
31888
31889 int
31890 main ()
31891 {
31892  isnan(0);
31893   ;
31894   return 0;
31895 }
31896 _ACEOF
31897 rm -f conftest.$ac_objext
31898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31899   (eval $ac_compile) 2>conftest.er1
31900   ac_status=$?
31901   grep -v '^ *+' conftest.er1 >conftest.err
31902   rm -f conftest.er1
31903   cat conftest.err >&5
31904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31905   (exit $ac_status); } &&
31906          { ac_try='test -z "$ac_cxx_werror_flag"
31907                          || test ! -s conftest.err'
31908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31909   (eval $ac_try) 2>&5
31910   ac_status=$?
31911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31912   (exit $ac_status); }; } &&
31913          { ac_try='test -s conftest.$ac_objext'
31914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31915   (eval $ac_try) 2>&5
31916   ac_status=$?
31917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31918   (exit $ac_status); }; }; then
31919   glibcxx_cv_func_isnan_use=yes
31920 else
31921   echo "$as_me: failed program was:" >&5
31922 sed 's/^/| /' conftest.$ac_ext >&5
31923
31924 glibcxx_cv_func_isnan_use=no
31925 fi
31926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31927       ac_ext=c
31928 ac_cpp='$CPP $CPPFLAGS'
31929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31932
31933
31934 fi
31935
31936   fi
31937   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
31938 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
31939
31940   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31941
31942 for ac_func in isnan
31943 do
31944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31945 echo "$as_me:$LINENO: checking for $ac_func" >&5
31946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31947 if eval "test \"\${$as_ac_var+set}\" = set"; then
31948   echo $ECHO_N "(cached) $ECHO_C" >&6
31949 else
31950   if test x$gcc_no_link = xyes; then
31951   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31953    { (exit 1); exit 1; }; }
31954 fi
31955 cat >conftest.$ac_ext <<_ACEOF
31956 /* confdefs.h.  */
31957 _ACEOF
31958 cat confdefs.h >>conftest.$ac_ext
31959 cat >>conftest.$ac_ext <<_ACEOF
31960 /* end confdefs.h.  */
31961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31962    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31963 #define $ac_func innocuous_$ac_func
31964
31965 /* System header to define __stub macros and hopefully few prototypes,
31966     which can conflict with char $ac_func (); below.
31967     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31968     <limits.h> exists even on freestanding compilers.  */
31969
31970 #ifdef __STDC__
31971 # include <limits.h>
31972 #else
31973 # include <assert.h>
31974 #endif
31975
31976 #undef $ac_func
31977
31978 /* Override any gcc2 internal prototype to avoid an error.  */
31979 #ifdef __cplusplus
31980 extern "C"
31981 {
31982 #endif
31983 /* We use char because int might match the return type of a gcc2
31984    builtin and then its argument prototype would still apply.  */
31985 char $ac_func ();
31986 /* The GNU C library defines this for functions which it implements
31987     to always fail with ENOSYS.  Some functions are actually named
31988     something starting with __ and the normal name is an alias.  */
31989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31990 choke me
31991 #else
31992 char (*f) () = $ac_func;
31993 #endif
31994 #ifdef __cplusplus
31995 }
31996 #endif
31997
31998 int
31999 main ()
32000 {
32001 return f != $ac_func;
32002   ;
32003   return 0;
32004 }
32005 _ACEOF
32006 rm -f conftest.$ac_objext conftest$ac_exeext
32007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32008   (eval $ac_link) 2>conftest.er1
32009   ac_status=$?
32010   grep -v '^ *+' conftest.er1 >conftest.err
32011   rm -f conftest.er1
32012   cat conftest.err >&5
32013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32014   (exit $ac_status); } &&
32015          { ac_try='test -z "$ac_c_werror_flag"
32016                          || test ! -s conftest.err'
32017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32018   (eval $ac_try) 2>&5
32019   ac_status=$?
32020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32021   (exit $ac_status); }; } &&
32022          { ac_try='test -s conftest$ac_exeext'
32023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32024   (eval $ac_try) 2>&5
32025   ac_status=$?
32026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32027   (exit $ac_status); }; }; then
32028   eval "$as_ac_var=yes"
32029 else
32030   echo "$as_me: failed program was:" >&5
32031 sed 's/^/| /' conftest.$ac_ext >&5
32032
32033 eval "$as_ac_var=no"
32034 fi
32035 rm -f conftest.err conftest.$ac_objext \
32036       conftest$ac_exeext conftest.$ac_ext
32037 fi
32038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32040 if test `eval echo '${'$as_ac_var'}'` = yes; then
32041   cat >>confdefs.h <<_ACEOF
32042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32043 _ACEOF
32044
32045 fi
32046 done
32047
32048   else
32049
32050   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
32051 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
32052   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32053     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
32054   echo $ECHO_N "(cached) $ECHO_C" >&6
32055 else
32056
32057
32058
32059       ac_ext=cc
32060 ac_cpp='$CXXCPP $CPPFLAGS'
32061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32064
32065       cat >conftest.$ac_ext <<_ACEOF
32066 /* confdefs.h.  */
32067 _ACEOF
32068 cat confdefs.h >>conftest.$ac_ext
32069 cat >>conftest.$ac_ext <<_ACEOF
32070 /* end confdefs.h.  */
32071 #include <math.h>
32072                       #ifdef HAVE_IEEEFP_H
32073                       #include <ieeefp.h>
32074                       #endif
32075
32076 int
32077 main ()
32078 {
32079  _isnan(0);
32080   ;
32081   return 0;
32082 }
32083 _ACEOF
32084 rm -f conftest.$ac_objext
32085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32086   (eval $ac_compile) 2>conftest.er1
32087   ac_status=$?
32088   grep -v '^ *+' conftest.er1 >conftest.err
32089   rm -f conftest.er1
32090   cat conftest.err >&5
32091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32092   (exit $ac_status); } &&
32093          { ac_try='test -z "$ac_cxx_werror_flag"
32094                          || test ! -s conftest.err'
32095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32096   (eval $ac_try) 2>&5
32097   ac_status=$?
32098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32099   (exit $ac_status); }; } &&
32100          { ac_try='test -s conftest.$ac_objext'
32101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32102   (eval $ac_try) 2>&5
32103   ac_status=$?
32104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32105   (exit $ac_status); }; }; then
32106   glibcxx_cv_func__isnan_use=yes
32107 else
32108   echo "$as_me: failed program was:" >&5
32109 sed 's/^/| /' conftest.$ac_ext >&5
32110
32111 glibcxx_cv_func__isnan_use=no
32112 fi
32113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32114       ac_ext=c
32115 ac_cpp='$CPP $CPPFLAGS'
32116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32119
32120
32121 fi
32122
32123   fi
32124   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
32125 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
32126
32127     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32128
32129 for ac_func in _isnan
32130 do
32131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32132 echo "$as_me:$LINENO: checking for $ac_func" >&5
32133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32134 if eval "test \"\${$as_ac_var+set}\" = set"; then
32135   echo $ECHO_N "(cached) $ECHO_C" >&6
32136 else
32137   if test x$gcc_no_link = xyes; then
32138   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32140    { (exit 1); exit 1; }; }
32141 fi
32142 cat >conftest.$ac_ext <<_ACEOF
32143 /* confdefs.h.  */
32144 _ACEOF
32145 cat confdefs.h >>conftest.$ac_ext
32146 cat >>conftest.$ac_ext <<_ACEOF
32147 /* end confdefs.h.  */
32148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32149    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32150 #define $ac_func innocuous_$ac_func
32151
32152 /* System header to define __stub macros and hopefully few prototypes,
32153     which can conflict with char $ac_func (); below.
32154     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32155     <limits.h> exists even on freestanding compilers.  */
32156
32157 #ifdef __STDC__
32158 # include <limits.h>
32159 #else
32160 # include <assert.h>
32161 #endif
32162
32163 #undef $ac_func
32164
32165 /* Override any gcc2 internal prototype to avoid an error.  */
32166 #ifdef __cplusplus
32167 extern "C"
32168 {
32169 #endif
32170 /* We use char because int might match the return type of a gcc2
32171    builtin and then its argument prototype would still apply.  */
32172 char $ac_func ();
32173 /* The GNU C library defines this for functions which it implements
32174     to always fail with ENOSYS.  Some functions are actually named
32175     something starting with __ and the normal name is an alias.  */
32176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32177 choke me
32178 #else
32179 char (*f) () = $ac_func;
32180 #endif
32181 #ifdef __cplusplus
32182 }
32183 #endif
32184
32185 int
32186 main ()
32187 {
32188 return f != $ac_func;
32189   ;
32190   return 0;
32191 }
32192 _ACEOF
32193 rm -f conftest.$ac_objext conftest$ac_exeext
32194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32195   (eval $ac_link) 2>conftest.er1
32196   ac_status=$?
32197   grep -v '^ *+' conftest.er1 >conftest.err
32198   rm -f conftest.er1
32199   cat conftest.err >&5
32200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32201   (exit $ac_status); } &&
32202          { ac_try='test -z "$ac_c_werror_flag"
32203                          || test ! -s conftest.err'
32204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32205   (eval $ac_try) 2>&5
32206   ac_status=$?
32207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32208   (exit $ac_status); }; } &&
32209          { ac_try='test -s conftest$ac_exeext'
32210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32211   (eval $ac_try) 2>&5
32212   ac_status=$?
32213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32214   (exit $ac_status); }; }; then
32215   eval "$as_ac_var=yes"
32216 else
32217   echo "$as_me: failed program was:" >&5
32218 sed 's/^/| /' conftest.$ac_ext >&5
32219
32220 eval "$as_ac_var=no"
32221 fi
32222 rm -f conftest.err conftest.$ac_objext \
32223       conftest$ac_exeext conftest.$ac_ext
32224 fi
32225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32227 if test `eval echo '${'$as_ac_var'}'` = yes; then
32228   cat >>confdefs.h <<_ACEOF
32229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32230 _ACEOF
32231
32232 fi
32233 done
32234
32235     fi
32236   fi
32237
32238
32239
32240   echo "$as_me:$LINENO: checking for finite declaration" >&5
32241 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
32242   if test x${glibcxx_cv_func_finite_use+set} != xset; then
32243     if test "${glibcxx_cv_func_finite_use+set}" = set; then
32244   echo $ECHO_N "(cached) $ECHO_C" >&6
32245 else
32246
32247
32248
32249       ac_ext=cc
32250 ac_cpp='$CXXCPP $CPPFLAGS'
32251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32254
32255       cat >conftest.$ac_ext <<_ACEOF
32256 /* confdefs.h.  */
32257 _ACEOF
32258 cat confdefs.h >>conftest.$ac_ext
32259 cat >>conftest.$ac_ext <<_ACEOF
32260 /* end confdefs.h.  */
32261 #include <math.h>
32262                       #ifdef HAVE_IEEEFP_H
32263                       #include <ieeefp.h>
32264                       #endif
32265
32266 int
32267 main ()
32268 {
32269  finite(0);
32270   ;
32271   return 0;
32272 }
32273 _ACEOF
32274 rm -f conftest.$ac_objext
32275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32276   (eval $ac_compile) 2>conftest.er1
32277   ac_status=$?
32278   grep -v '^ *+' conftest.er1 >conftest.err
32279   rm -f conftest.er1
32280   cat conftest.err >&5
32281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32282   (exit $ac_status); } &&
32283          { ac_try='test -z "$ac_cxx_werror_flag"
32284                          || test ! -s conftest.err'
32285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32286   (eval $ac_try) 2>&5
32287   ac_status=$?
32288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32289   (exit $ac_status); }; } &&
32290          { ac_try='test -s conftest.$ac_objext'
32291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32292   (eval $ac_try) 2>&5
32293   ac_status=$?
32294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32295   (exit $ac_status); }; }; then
32296   glibcxx_cv_func_finite_use=yes
32297 else
32298   echo "$as_me: failed program was:" >&5
32299 sed 's/^/| /' conftest.$ac_ext >&5
32300
32301 glibcxx_cv_func_finite_use=no
32302 fi
32303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32304       ac_ext=c
32305 ac_cpp='$CPP $CPPFLAGS'
32306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32309
32310
32311 fi
32312
32313   fi
32314   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
32315 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
32316
32317   if test x$glibcxx_cv_func_finite_use = x"yes"; then
32318
32319 for ac_func in finite
32320 do
32321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32322 echo "$as_me:$LINENO: checking for $ac_func" >&5
32323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32324 if eval "test \"\${$as_ac_var+set}\" = set"; then
32325   echo $ECHO_N "(cached) $ECHO_C" >&6
32326 else
32327   if test x$gcc_no_link = xyes; then
32328   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32330    { (exit 1); exit 1; }; }
32331 fi
32332 cat >conftest.$ac_ext <<_ACEOF
32333 /* confdefs.h.  */
32334 _ACEOF
32335 cat confdefs.h >>conftest.$ac_ext
32336 cat >>conftest.$ac_ext <<_ACEOF
32337 /* end confdefs.h.  */
32338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32339    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32340 #define $ac_func innocuous_$ac_func
32341
32342 /* System header to define __stub macros and hopefully few prototypes,
32343     which can conflict with char $ac_func (); below.
32344     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32345     <limits.h> exists even on freestanding compilers.  */
32346
32347 #ifdef __STDC__
32348 # include <limits.h>
32349 #else
32350 # include <assert.h>
32351 #endif
32352
32353 #undef $ac_func
32354
32355 /* Override any gcc2 internal prototype to avoid an error.  */
32356 #ifdef __cplusplus
32357 extern "C"
32358 {
32359 #endif
32360 /* We use char because int might match the return type of a gcc2
32361    builtin and then its argument prototype would still apply.  */
32362 char $ac_func ();
32363 /* The GNU C library defines this for functions which it implements
32364     to always fail with ENOSYS.  Some functions are actually named
32365     something starting with __ and the normal name is an alias.  */
32366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32367 choke me
32368 #else
32369 char (*f) () = $ac_func;
32370 #endif
32371 #ifdef __cplusplus
32372 }
32373 #endif
32374
32375 int
32376 main ()
32377 {
32378 return f != $ac_func;
32379   ;
32380   return 0;
32381 }
32382 _ACEOF
32383 rm -f conftest.$ac_objext conftest$ac_exeext
32384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32385   (eval $ac_link) 2>conftest.er1
32386   ac_status=$?
32387   grep -v '^ *+' conftest.er1 >conftest.err
32388   rm -f conftest.er1
32389   cat conftest.err >&5
32390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32391   (exit $ac_status); } &&
32392          { ac_try='test -z "$ac_c_werror_flag"
32393                          || test ! -s conftest.err'
32394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32395   (eval $ac_try) 2>&5
32396   ac_status=$?
32397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32398   (exit $ac_status); }; } &&
32399          { ac_try='test -s conftest$ac_exeext'
32400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32401   (eval $ac_try) 2>&5
32402   ac_status=$?
32403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32404   (exit $ac_status); }; }; then
32405   eval "$as_ac_var=yes"
32406 else
32407   echo "$as_me: failed program was:" >&5
32408 sed 's/^/| /' conftest.$ac_ext >&5
32409
32410 eval "$as_ac_var=no"
32411 fi
32412 rm -f conftest.err conftest.$ac_objext \
32413       conftest$ac_exeext conftest.$ac_ext
32414 fi
32415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32417 if test `eval echo '${'$as_ac_var'}'` = yes; then
32418   cat >>confdefs.h <<_ACEOF
32419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32420 _ACEOF
32421
32422 fi
32423 done
32424
32425   else
32426
32427   echo "$as_me:$LINENO: checking for _finite declaration" >&5
32428 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
32429   if test x${glibcxx_cv_func__finite_use+set} != xset; then
32430     if test "${glibcxx_cv_func__finite_use+set}" = set; then
32431   echo $ECHO_N "(cached) $ECHO_C" >&6
32432 else
32433
32434
32435
32436       ac_ext=cc
32437 ac_cpp='$CXXCPP $CPPFLAGS'
32438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32441
32442       cat >conftest.$ac_ext <<_ACEOF
32443 /* confdefs.h.  */
32444 _ACEOF
32445 cat confdefs.h >>conftest.$ac_ext
32446 cat >>conftest.$ac_ext <<_ACEOF
32447 /* end confdefs.h.  */
32448 #include <math.h>
32449                       #ifdef HAVE_IEEEFP_H
32450                       #include <ieeefp.h>
32451                       #endif
32452
32453 int
32454 main ()
32455 {
32456  _finite(0);
32457   ;
32458   return 0;
32459 }
32460 _ACEOF
32461 rm -f conftest.$ac_objext
32462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32463   (eval $ac_compile) 2>conftest.er1
32464   ac_status=$?
32465   grep -v '^ *+' conftest.er1 >conftest.err
32466   rm -f conftest.er1
32467   cat conftest.err >&5
32468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32469   (exit $ac_status); } &&
32470          { ac_try='test -z "$ac_cxx_werror_flag"
32471                          || test ! -s conftest.err'
32472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32473   (eval $ac_try) 2>&5
32474   ac_status=$?
32475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32476   (exit $ac_status); }; } &&
32477          { ac_try='test -s conftest.$ac_objext'
32478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32479   (eval $ac_try) 2>&5
32480   ac_status=$?
32481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32482   (exit $ac_status); }; }; then
32483   glibcxx_cv_func__finite_use=yes
32484 else
32485   echo "$as_me: failed program was:" >&5
32486 sed 's/^/| /' conftest.$ac_ext >&5
32487
32488 glibcxx_cv_func__finite_use=no
32489 fi
32490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32491       ac_ext=c
32492 ac_cpp='$CPP $CPPFLAGS'
32493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32496
32497
32498 fi
32499
32500   fi
32501   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
32502 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
32503
32504     if test x$glibcxx_cv_func__finite_use = x"yes"; then
32505
32506 for ac_func in _finite
32507 do
32508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32509 echo "$as_me:$LINENO: checking for $ac_func" >&5
32510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32511 if eval "test \"\${$as_ac_var+set}\" = set"; then
32512   echo $ECHO_N "(cached) $ECHO_C" >&6
32513 else
32514   if test x$gcc_no_link = xyes; then
32515   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32517    { (exit 1); exit 1; }; }
32518 fi
32519 cat >conftest.$ac_ext <<_ACEOF
32520 /* confdefs.h.  */
32521 _ACEOF
32522 cat confdefs.h >>conftest.$ac_ext
32523 cat >>conftest.$ac_ext <<_ACEOF
32524 /* end confdefs.h.  */
32525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32526    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32527 #define $ac_func innocuous_$ac_func
32528
32529 /* System header to define __stub macros and hopefully few prototypes,
32530     which can conflict with char $ac_func (); below.
32531     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32532     <limits.h> exists even on freestanding compilers.  */
32533
32534 #ifdef __STDC__
32535 # include <limits.h>
32536 #else
32537 # include <assert.h>
32538 #endif
32539
32540 #undef $ac_func
32541
32542 /* Override any gcc2 internal prototype to avoid an error.  */
32543 #ifdef __cplusplus
32544 extern "C"
32545 {
32546 #endif
32547 /* We use char because int might match the return type of a gcc2
32548    builtin and then its argument prototype would still apply.  */
32549 char $ac_func ();
32550 /* The GNU C library defines this for functions which it implements
32551     to always fail with ENOSYS.  Some functions are actually named
32552     something starting with __ and the normal name is an alias.  */
32553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32554 choke me
32555 #else
32556 char (*f) () = $ac_func;
32557 #endif
32558 #ifdef __cplusplus
32559 }
32560 #endif
32561
32562 int
32563 main ()
32564 {
32565 return f != $ac_func;
32566   ;
32567   return 0;
32568 }
32569 _ACEOF
32570 rm -f conftest.$ac_objext conftest$ac_exeext
32571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32572   (eval $ac_link) 2>conftest.er1
32573   ac_status=$?
32574   grep -v '^ *+' conftest.er1 >conftest.err
32575   rm -f conftest.er1
32576   cat conftest.err >&5
32577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32578   (exit $ac_status); } &&
32579          { ac_try='test -z "$ac_c_werror_flag"
32580                          || test ! -s conftest.err'
32581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32582   (eval $ac_try) 2>&5
32583   ac_status=$?
32584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32585   (exit $ac_status); }; } &&
32586          { ac_try='test -s conftest$ac_exeext'
32587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32588   (eval $ac_try) 2>&5
32589   ac_status=$?
32590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32591   (exit $ac_status); }; }; then
32592   eval "$as_ac_var=yes"
32593 else
32594   echo "$as_me: failed program was:" >&5
32595 sed 's/^/| /' conftest.$ac_ext >&5
32596
32597 eval "$as_ac_var=no"
32598 fi
32599 rm -f conftest.err conftest.$ac_objext \
32600       conftest$ac_exeext conftest.$ac_ext
32601 fi
32602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32604 if test `eval echo '${'$as_ac_var'}'` = yes; then
32605   cat >>confdefs.h <<_ACEOF
32606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32607 _ACEOF
32608
32609 fi
32610 done
32611
32612     fi
32613   fi
32614
32615
32616
32617   echo "$as_me:$LINENO: checking for copysign declaration" >&5
32618 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
32619   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
32620     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
32621   echo $ECHO_N "(cached) $ECHO_C" >&6
32622 else
32623
32624
32625
32626       ac_ext=cc
32627 ac_cpp='$CXXCPP $CPPFLAGS'
32628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32631
32632       cat >conftest.$ac_ext <<_ACEOF
32633 /* confdefs.h.  */
32634 _ACEOF
32635 cat confdefs.h >>conftest.$ac_ext
32636 cat >>conftest.$ac_ext <<_ACEOF
32637 /* end confdefs.h.  */
32638 #include <math.h>
32639 int
32640 main ()
32641 {
32642  copysign(0, 0);
32643   ;
32644   return 0;
32645 }
32646 _ACEOF
32647 rm -f conftest.$ac_objext
32648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32649   (eval $ac_compile) 2>conftest.er1
32650   ac_status=$?
32651   grep -v '^ *+' conftest.er1 >conftest.err
32652   rm -f conftest.er1
32653   cat conftest.err >&5
32654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32655   (exit $ac_status); } &&
32656          { ac_try='test -z "$ac_cxx_werror_flag"
32657                          || test ! -s conftest.err'
32658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32659   (eval $ac_try) 2>&5
32660   ac_status=$?
32661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32662   (exit $ac_status); }; } &&
32663          { ac_try='test -s conftest.$ac_objext'
32664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32665   (eval $ac_try) 2>&5
32666   ac_status=$?
32667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32668   (exit $ac_status); }; }; then
32669   glibcxx_cv_func_copysign_use=yes
32670 else
32671   echo "$as_me: failed program was:" >&5
32672 sed 's/^/| /' conftest.$ac_ext >&5
32673
32674 glibcxx_cv_func_copysign_use=no
32675 fi
32676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32677       ac_ext=c
32678 ac_cpp='$CPP $CPPFLAGS'
32679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32682
32683
32684 fi
32685
32686   fi
32687   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
32688 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
32689
32690   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
32691
32692 for ac_func in copysign
32693 do
32694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32695 echo "$as_me:$LINENO: checking for $ac_func" >&5
32696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32697 if eval "test \"\${$as_ac_var+set}\" = set"; then
32698   echo $ECHO_N "(cached) $ECHO_C" >&6
32699 else
32700   if test x$gcc_no_link = xyes; then
32701   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32703    { (exit 1); exit 1; }; }
32704 fi
32705 cat >conftest.$ac_ext <<_ACEOF
32706 /* confdefs.h.  */
32707 _ACEOF
32708 cat confdefs.h >>conftest.$ac_ext
32709 cat >>conftest.$ac_ext <<_ACEOF
32710 /* end confdefs.h.  */
32711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32712    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32713 #define $ac_func innocuous_$ac_func
32714
32715 /* System header to define __stub macros and hopefully few prototypes,
32716     which can conflict with char $ac_func (); below.
32717     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32718     <limits.h> exists even on freestanding compilers.  */
32719
32720 #ifdef __STDC__
32721 # include <limits.h>
32722 #else
32723 # include <assert.h>
32724 #endif
32725
32726 #undef $ac_func
32727
32728 /* Override any gcc2 internal prototype to avoid an error.  */
32729 #ifdef __cplusplus
32730 extern "C"
32731 {
32732 #endif
32733 /* We use char because int might match the return type of a gcc2
32734    builtin and then its argument prototype would still apply.  */
32735 char $ac_func ();
32736 /* The GNU C library defines this for functions which it implements
32737     to always fail with ENOSYS.  Some functions are actually named
32738     something starting with __ and the normal name is an alias.  */
32739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32740 choke me
32741 #else
32742 char (*f) () = $ac_func;
32743 #endif
32744 #ifdef __cplusplus
32745 }
32746 #endif
32747
32748 int
32749 main ()
32750 {
32751 return f != $ac_func;
32752   ;
32753   return 0;
32754 }
32755 _ACEOF
32756 rm -f conftest.$ac_objext conftest$ac_exeext
32757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32758   (eval $ac_link) 2>conftest.er1
32759   ac_status=$?
32760   grep -v '^ *+' conftest.er1 >conftest.err
32761   rm -f conftest.er1
32762   cat conftest.err >&5
32763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32764   (exit $ac_status); } &&
32765          { ac_try='test -z "$ac_c_werror_flag"
32766                          || test ! -s conftest.err'
32767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32768   (eval $ac_try) 2>&5
32769   ac_status=$?
32770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32771   (exit $ac_status); }; } &&
32772          { ac_try='test -s conftest$ac_exeext'
32773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32774   (eval $ac_try) 2>&5
32775   ac_status=$?
32776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32777   (exit $ac_status); }; }; then
32778   eval "$as_ac_var=yes"
32779 else
32780   echo "$as_me: failed program was:" >&5
32781 sed 's/^/| /' conftest.$ac_ext >&5
32782
32783 eval "$as_ac_var=no"
32784 fi
32785 rm -f conftest.err conftest.$ac_objext \
32786       conftest$ac_exeext conftest.$ac_ext
32787 fi
32788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32790 if test `eval echo '${'$as_ac_var'}'` = yes; then
32791   cat >>confdefs.h <<_ACEOF
32792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32793 _ACEOF
32794
32795 fi
32796 done
32797
32798   else
32799
32800   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
32801 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
32802   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
32803     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
32804   echo $ECHO_N "(cached) $ECHO_C" >&6
32805 else
32806
32807
32808
32809       ac_ext=cc
32810 ac_cpp='$CXXCPP $CPPFLAGS'
32811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32814
32815       cat >conftest.$ac_ext <<_ACEOF
32816 /* confdefs.h.  */
32817 _ACEOF
32818 cat confdefs.h >>conftest.$ac_ext
32819 cat >>conftest.$ac_ext <<_ACEOF
32820 /* end confdefs.h.  */
32821 #include <math.h>
32822 int
32823 main ()
32824 {
32825  _copysign(0, 0);
32826   ;
32827   return 0;
32828 }
32829 _ACEOF
32830 rm -f conftest.$ac_objext
32831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32832   (eval $ac_compile) 2>conftest.er1
32833   ac_status=$?
32834   grep -v '^ *+' conftest.er1 >conftest.err
32835   rm -f conftest.er1
32836   cat conftest.err >&5
32837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32838   (exit $ac_status); } &&
32839          { ac_try='test -z "$ac_cxx_werror_flag"
32840                          || test ! -s conftest.err'
32841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32842   (eval $ac_try) 2>&5
32843   ac_status=$?
32844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32845   (exit $ac_status); }; } &&
32846          { ac_try='test -s conftest.$ac_objext'
32847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32848   (eval $ac_try) 2>&5
32849   ac_status=$?
32850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32851   (exit $ac_status); }; }; then
32852   glibcxx_cv_func__copysign_use=yes
32853 else
32854   echo "$as_me: failed program was:" >&5
32855 sed 's/^/| /' conftest.$ac_ext >&5
32856
32857 glibcxx_cv_func__copysign_use=no
32858 fi
32859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32860       ac_ext=c
32861 ac_cpp='$CPP $CPPFLAGS'
32862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32865
32866
32867 fi
32868
32869   fi
32870   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
32871 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
32872
32873     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
32874
32875 for ac_func in _copysign
32876 do
32877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32878 echo "$as_me:$LINENO: checking for $ac_func" >&5
32879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32880 if eval "test \"\${$as_ac_var+set}\" = set"; then
32881   echo $ECHO_N "(cached) $ECHO_C" >&6
32882 else
32883   if test x$gcc_no_link = xyes; then
32884   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32886    { (exit 1); exit 1; }; }
32887 fi
32888 cat >conftest.$ac_ext <<_ACEOF
32889 /* confdefs.h.  */
32890 _ACEOF
32891 cat confdefs.h >>conftest.$ac_ext
32892 cat >>conftest.$ac_ext <<_ACEOF
32893 /* end confdefs.h.  */
32894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32895    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32896 #define $ac_func innocuous_$ac_func
32897
32898 /* System header to define __stub macros and hopefully few prototypes,
32899     which can conflict with char $ac_func (); below.
32900     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32901     <limits.h> exists even on freestanding compilers.  */
32902
32903 #ifdef __STDC__
32904 # include <limits.h>
32905 #else
32906 # include <assert.h>
32907 #endif
32908
32909 #undef $ac_func
32910
32911 /* Override any gcc2 internal prototype to avoid an error.  */
32912 #ifdef __cplusplus
32913 extern "C"
32914 {
32915 #endif
32916 /* We use char because int might match the return type of a gcc2
32917    builtin and then its argument prototype would still apply.  */
32918 char $ac_func ();
32919 /* The GNU C library defines this for functions which it implements
32920     to always fail with ENOSYS.  Some functions are actually named
32921     something starting with __ and the normal name is an alias.  */
32922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32923 choke me
32924 #else
32925 char (*f) () = $ac_func;
32926 #endif
32927 #ifdef __cplusplus
32928 }
32929 #endif
32930
32931 int
32932 main ()
32933 {
32934 return f != $ac_func;
32935   ;
32936   return 0;
32937 }
32938 _ACEOF
32939 rm -f conftest.$ac_objext conftest$ac_exeext
32940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32941   (eval $ac_link) 2>conftest.er1
32942   ac_status=$?
32943   grep -v '^ *+' conftest.er1 >conftest.err
32944   rm -f conftest.er1
32945   cat conftest.err >&5
32946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32947   (exit $ac_status); } &&
32948          { ac_try='test -z "$ac_c_werror_flag"
32949                          || test ! -s conftest.err'
32950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32951   (eval $ac_try) 2>&5
32952   ac_status=$?
32953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32954   (exit $ac_status); }; } &&
32955          { ac_try='test -s conftest$ac_exeext'
32956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32957   (eval $ac_try) 2>&5
32958   ac_status=$?
32959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32960   (exit $ac_status); }; }; then
32961   eval "$as_ac_var=yes"
32962 else
32963   echo "$as_me: failed program was:" >&5
32964 sed 's/^/| /' conftest.$ac_ext >&5
32965
32966 eval "$as_ac_var=no"
32967 fi
32968 rm -f conftest.err conftest.$ac_objext \
32969       conftest$ac_exeext conftest.$ac_ext
32970 fi
32971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32973 if test `eval echo '${'$as_ac_var'}'` = yes; then
32974   cat >>confdefs.h <<_ACEOF
32975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32976 _ACEOF
32977
32978 fi
32979 done
32980
32981     fi
32982   fi
32983
32984
32985
32986   echo "$as_me:$LINENO: checking for sincos declaration" >&5
32987 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
32988   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32989     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
32990   echo $ECHO_N "(cached) $ECHO_C" >&6
32991 else
32992
32993
32994
32995       ac_ext=cc
32996 ac_cpp='$CXXCPP $CPPFLAGS'
32997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33000
33001       cat >conftest.$ac_ext <<_ACEOF
33002 /* confdefs.h.  */
33003 _ACEOF
33004 cat confdefs.h >>conftest.$ac_ext
33005 cat >>conftest.$ac_ext <<_ACEOF
33006 /* end confdefs.h.  */
33007 #include <math.h>
33008 int
33009 main ()
33010 {
33011  sincos(0, 0, 0);
33012   ;
33013   return 0;
33014 }
33015 _ACEOF
33016 rm -f conftest.$ac_objext
33017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33018   (eval $ac_compile) 2>conftest.er1
33019   ac_status=$?
33020   grep -v '^ *+' conftest.er1 >conftest.err
33021   rm -f conftest.er1
33022   cat conftest.err >&5
33023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33024   (exit $ac_status); } &&
33025          { ac_try='test -z "$ac_cxx_werror_flag"
33026                          || test ! -s conftest.err'
33027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33028   (eval $ac_try) 2>&5
33029   ac_status=$?
33030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33031   (exit $ac_status); }; } &&
33032          { ac_try='test -s conftest.$ac_objext'
33033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33034   (eval $ac_try) 2>&5
33035   ac_status=$?
33036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33037   (exit $ac_status); }; }; then
33038   glibcxx_cv_func_sincos_use=yes
33039 else
33040   echo "$as_me: failed program was:" >&5
33041 sed 's/^/| /' conftest.$ac_ext >&5
33042
33043 glibcxx_cv_func_sincos_use=no
33044 fi
33045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33046       ac_ext=c
33047 ac_cpp='$CPP $CPPFLAGS'
33048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33051
33052
33053 fi
33054
33055   fi
33056   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
33057 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
33058
33059   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33060
33061 for ac_func in sincos
33062 do
33063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33064 echo "$as_me:$LINENO: checking for $ac_func" >&5
33065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33066 if eval "test \"\${$as_ac_var+set}\" = set"; then
33067   echo $ECHO_N "(cached) $ECHO_C" >&6
33068 else
33069   if test x$gcc_no_link = xyes; then
33070   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33072    { (exit 1); exit 1; }; }
33073 fi
33074 cat >conftest.$ac_ext <<_ACEOF
33075 /* confdefs.h.  */
33076 _ACEOF
33077 cat confdefs.h >>conftest.$ac_ext
33078 cat >>conftest.$ac_ext <<_ACEOF
33079 /* end confdefs.h.  */
33080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33081    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33082 #define $ac_func innocuous_$ac_func
33083
33084 /* System header to define __stub macros and hopefully few prototypes,
33085     which can conflict with char $ac_func (); below.
33086     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33087     <limits.h> exists even on freestanding compilers.  */
33088
33089 #ifdef __STDC__
33090 # include <limits.h>
33091 #else
33092 # include <assert.h>
33093 #endif
33094
33095 #undef $ac_func
33096
33097 /* Override any gcc2 internal prototype to avoid an error.  */
33098 #ifdef __cplusplus
33099 extern "C"
33100 {
33101 #endif
33102 /* We use char because int might match the return type of a gcc2
33103    builtin and then its argument prototype would still apply.  */
33104 char $ac_func ();
33105 /* The GNU C library defines this for functions which it implements
33106     to always fail with ENOSYS.  Some functions are actually named
33107     something starting with __ and the normal name is an alias.  */
33108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33109 choke me
33110 #else
33111 char (*f) () = $ac_func;
33112 #endif
33113 #ifdef __cplusplus
33114 }
33115 #endif
33116
33117 int
33118 main ()
33119 {
33120 return f != $ac_func;
33121   ;
33122   return 0;
33123 }
33124 _ACEOF
33125 rm -f conftest.$ac_objext conftest$ac_exeext
33126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33127   (eval $ac_link) 2>conftest.er1
33128   ac_status=$?
33129   grep -v '^ *+' conftest.er1 >conftest.err
33130   rm -f conftest.er1
33131   cat conftest.err >&5
33132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33133   (exit $ac_status); } &&
33134          { ac_try='test -z "$ac_c_werror_flag"
33135                          || test ! -s conftest.err'
33136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33137   (eval $ac_try) 2>&5
33138   ac_status=$?
33139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33140   (exit $ac_status); }; } &&
33141          { ac_try='test -s conftest$ac_exeext'
33142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33143   (eval $ac_try) 2>&5
33144   ac_status=$?
33145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33146   (exit $ac_status); }; }; then
33147   eval "$as_ac_var=yes"
33148 else
33149   echo "$as_me: failed program was:" >&5
33150 sed 's/^/| /' conftest.$ac_ext >&5
33151
33152 eval "$as_ac_var=no"
33153 fi
33154 rm -f conftest.err conftest.$ac_objext \
33155       conftest$ac_exeext conftest.$ac_ext
33156 fi
33157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33159 if test `eval echo '${'$as_ac_var'}'` = yes; then
33160   cat >>confdefs.h <<_ACEOF
33161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33162 _ACEOF
33163
33164 fi
33165 done
33166
33167   else
33168
33169   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
33170 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
33171   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33172     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
33173   echo $ECHO_N "(cached) $ECHO_C" >&6
33174 else
33175
33176
33177
33178       ac_ext=cc
33179 ac_cpp='$CXXCPP $CPPFLAGS'
33180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33183
33184       cat >conftest.$ac_ext <<_ACEOF
33185 /* confdefs.h.  */
33186 _ACEOF
33187 cat confdefs.h >>conftest.$ac_ext
33188 cat >>conftest.$ac_ext <<_ACEOF
33189 /* end confdefs.h.  */
33190 #include <math.h>
33191 int
33192 main ()
33193 {
33194  _sincos(0, 0, 0);
33195   ;
33196   return 0;
33197 }
33198 _ACEOF
33199 rm -f conftest.$ac_objext
33200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33201   (eval $ac_compile) 2>conftest.er1
33202   ac_status=$?
33203   grep -v '^ *+' conftest.er1 >conftest.err
33204   rm -f conftest.er1
33205   cat conftest.err >&5
33206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33207   (exit $ac_status); } &&
33208          { ac_try='test -z "$ac_cxx_werror_flag"
33209                          || test ! -s conftest.err'
33210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33211   (eval $ac_try) 2>&5
33212   ac_status=$?
33213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33214   (exit $ac_status); }; } &&
33215          { ac_try='test -s conftest.$ac_objext'
33216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33217   (eval $ac_try) 2>&5
33218   ac_status=$?
33219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33220   (exit $ac_status); }; }; then
33221   glibcxx_cv_func__sincos_use=yes
33222 else
33223   echo "$as_me: failed program was:" >&5
33224 sed 's/^/| /' conftest.$ac_ext >&5
33225
33226 glibcxx_cv_func__sincos_use=no
33227 fi
33228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33229       ac_ext=c
33230 ac_cpp='$CPP $CPPFLAGS'
33231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33234
33235
33236 fi
33237
33238   fi
33239   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
33240 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
33241
33242     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33243
33244 for ac_func in _sincos
33245 do
33246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33247 echo "$as_me:$LINENO: checking for $ac_func" >&5
33248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33249 if eval "test \"\${$as_ac_var+set}\" = set"; then
33250   echo $ECHO_N "(cached) $ECHO_C" >&6
33251 else
33252   if test x$gcc_no_link = xyes; then
33253   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33255    { (exit 1); exit 1; }; }
33256 fi
33257 cat >conftest.$ac_ext <<_ACEOF
33258 /* confdefs.h.  */
33259 _ACEOF
33260 cat confdefs.h >>conftest.$ac_ext
33261 cat >>conftest.$ac_ext <<_ACEOF
33262 /* end confdefs.h.  */
33263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33264    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33265 #define $ac_func innocuous_$ac_func
33266
33267 /* System header to define __stub macros and hopefully few prototypes,
33268     which can conflict with char $ac_func (); below.
33269     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33270     <limits.h> exists even on freestanding compilers.  */
33271
33272 #ifdef __STDC__
33273 # include <limits.h>
33274 #else
33275 # include <assert.h>
33276 #endif
33277
33278 #undef $ac_func
33279
33280 /* Override any gcc2 internal prototype to avoid an error.  */
33281 #ifdef __cplusplus
33282 extern "C"
33283 {
33284 #endif
33285 /* We use char because int might match the return type of a gcc2
33286    builtin and then its argument prototype would still apply.  */
33287 char $ac_func ();
33288 /* The GNU C library defines this for functions which it implements
33289     to always fail with ENOSYS.  Some functions are actually named
33290     something starting with __ and the normal name is an alias.  */
33291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33292 choke me
33293 #else
33294 char (*f) () = $ac_func;
33295 #endif
33296 #ifdef __cplusplus
33297 }
33298 #endif
33299
33300 int
33301 main ()
33302 {
33303 return f != $ac_func;
33304   ;
33305   return 0;
33306 }
33307 _ACEOF
33308 rm -f conftest.$ac_objext conftest$ac_exeext
33309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33310   (eval $ac_link) 2>conftest.er1
33311   ac_status=$?
33312   grep -v '^ *+' conftest.er1 >conftest.err
33313   rm -f conftest.er1
33314   cat conftest.err >&5
33315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33316   (exit $ac_status); } &&
33317          { ac_try='test -z "$ac_c_werror_flag"
33318                          || test ! -s conftest.err'
33319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33320   (eval $ac_try) 2>&5
33321   ac_status=$?
33322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33323   (exit $ac_status); }; } &&
33324          { ac_try='test -s conftest$ac_exeext'
33325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33326   (eval $ac_try) 2>&5
33327   ac_status=$?
33328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33329   (exit $ac_status); }; }; then
33330   eval "$as_ac_var=yes"
33331 else
33332   echo "$as_me: failed program was:" >&5
33333 sed 's/^/| /' conftest.$ac_ext >&5
33334
33335 eval "$as_ac_var=no"
33336 fi
33337 rm -f conftest.err conftest.$ac_objext \
33338       conftest$ac_exeext conftest.$ac_ext
33339 fi
33340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33342 if test `eval echo '${'$as_ac_var'}'` = yes; then
33343   cat >>confdefs.h <<_ACEOF
33344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33345 _ACEOF
33346
33347 fi
33348 done
33349
33350     fi
33351   fi
33352
33353
33354
33355   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
33356 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
33357   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33358     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
33359   echo $ECHO_N "(cached) $ECHO_C" >&6
33360 else
33361
33362
33363
33364       ac_ext=cc
33365 ac_cpp='$CXXCPP $CPPFLAGS'
33366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33369
33370       cat >conftest.$ac_ext <<_ACEOF
33371 /* confdefs.h.  */
33372 _ACEOF
33373 cat confdefs.h >>conftest.$ac_ext
33374 cat >>conftest.$ac_ext <<_ACEOF
33375 /* end confdefs.h.  */
33376 #include <math.h>
33377                       #ifdef HAVE_IEEEFP_H
33378                       #include <ieeefp.h>
33379                       #endif
33380
33381 int
33382 main ()
33383 {
33384  fpclass(0);
33385   ;
33386   return 0;
33387 }
33388 _ACEOF
33389 rm -f conftest.$ac_objext
33390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33391   (eval $ac_compile) 2>conftest.er1
33392   ac_status=$?
33393   grep -v '^ *+' conftest.er1 >conftest.err
33394   rm -f conftest.er1
33395   cat conftest.err >&5
33396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33397   (exit $ac_status); } &&
33398          { ac_try='test -z "$ac_cxx_werror_flag"
33399                          || test ! -s conftest.err'
33400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33401   (eval $ac_try) 2>&5
33402   ac_status=$?
33403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33404   (exit $ac_status); }; } &&
33405          { ac_try='test -s conftest.$ac_objext'
33406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33407   (eval $ac_try) 2>&5
33408   ac_status=$?
33409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33410   (exit $ac_status); }; }; then
33411   glibcxx_cv_func_fpclass_use=yes
33412 else
33413   echo "$as_me: failed program was:" >&5
33414 sed 's/^/| /' conftest.$ac_ext >&5
33415
33416 glibcxx_cv_func_fpclass_use=no
33417 fi
33418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33419       ac_ext=c
33420 ac_cpp='$CPP $CPPFLAGS'
33421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33424
33425
33426 fi
33427
33428   fi
33429   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
33430 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
33431
33432   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33433
33434 for ac_func in fpclass
33435 do
33436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33437 echo "$as_me:$LINENO: checking for $ac_func" >&5
33438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33439 if eval "test \"\${$as_ac_var+set}\" = set"; then
33440   echo $ECHO_N "(cached) $ECHO_C" >&6
33441 else
33442   if test x$gcc_no_link = xyes; then
33443   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33445    { (exit 1); exit 1; }; }
33446 fi
33447 cat >conftest.$ac_ext <<_ACEOF
33448 /* confdefs.h.  */
33449 _ACEOF
33450 cat confdefs.h >>conftest.$ac_ext
33451 cat >>conftest.$ac_ext <<_ACEOF
33452 /* end confdefs.h.  */
33453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33454    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33455 #define $ac_func innocuous_$ac_func
33456
33457 /* System header to define __stub macros and hopefully few prototypes,
33458     which can conflict with char $ac_func (); below.
33459     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33460     <limits.h> exists even on freestanding compilers.  */
33461
33462 #ifdef __STDC__
33463 # include <limits.h>
33464 #else
33465 # include <assert.h>
33466 #endif
33467
33468 #undef $ac_func
33469
33470 /* Override any gcc2 internal prototype to avoid an error.  */
33471 #ifdef __cplusplus
33472 extern "C"
33473 {
33474 #endif
33475 /* We use char because int might match the return type of a gcc2
33476    builtin and then its argument prototype would still apply.  */
33477 char $ac_func ();
33478 /* The GNU C library defines this for functions which it implements
33479     to always fail with ENOSYS.  Some functions are actually named
33480     something starting with __ and the normal name is an alias.  */
33481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33482 choke me
33483 #else
33484 char (*f) () = $ac_func;
33485 #endif
33486 #ifdef __cplusplus
33487 }
33488 #endif
33489
33490 int
33491 main ()
33492 {
33493 return f != $ac_func;
33494   ;
33495   return 0;
33496 }
33497 _ACEOF
33498 rm -f conftest.$ac_objext conftest$ac_exeext
33499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33500   (eval $ac_link) 2>conftest.er1
33501   ac_status=$?
33502   grep -v '^ *+' conftest.er1 >conftest.err
33503   rm -f conftest.er1
33504   cat conftest.err >&5
33505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33506   (exit $ac_status); } &&
33507          { ac_try='test -z "$ac_c_werror_flag"
33508                          || test ! -s conftest.err'
33509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33510   (eval $ac_try) 2>&5
33511   ac_status=$?
33512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33513   (exit $ac_status); }; } &&
33514          { ac_try='test -s conftest$ac_exeext'
33515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33516   (eval $ac_try) 2>&5
33517   ac_status=$?
33518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33519   (exit $ac_status); }; }; then
33520   eval "$as_ac_var=yes"
33521 else
33522   echo "$as_me: failed program was:" >&5
33523 sed 's/^/| /' conftest.$ac_ext >&5
33524
33525 eval "$as_ac_var=no"
33526 fi
33527 rm -f conftest.err conftest.$ac_objext \
33528       conftest$ac_exeext conftest.$ac_ext
33529 fi
33530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33532 if test `eval echo '${'$as_ac_var'}'` = yes; then
33533   cat >>confdefs.h <<_ACEOF
33534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33535 _ACEOF
33536
33537 fi
33538 done
33539
33540   else
33541
33542   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
33543 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
33544   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33545     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
33546   echo $ECHO_N "(cached) $ECHO_C" >&6
33547 else
33548
33549
33550
33551       ac_ext=cc
33552 ac_cpp='$CXXCPP $CPPFLAGS'
33553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33556
33557       cat >conftest.$ac_ext <<_ACEOF
33558 /* confdefs.h.  */
33559 _ACEOF
33560 cat confdefs.h >>conftest.$ac_ext
33561 cat >>conftest.$ac_ext <<_ACEOF
33562 /* end confdefs.h.  */
33563 #include <math.h>
33564                       #ifdef HAVE_IEEEFP_H
33565                       #include <ieeefp.h>
33566                       #endif
33567
33568 int
33569 main ()
33570 {
33571  _fpclass(0);
33572   ;
33573   return 0;
33574 }
33575 _ACEOF
33576 rm -f conftest.$ac_objext
33577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33578   (eval $ac_compile) 2>conftest.er1
33579   ac_status=$?
33580   grep -v '^ *+' conftest.er1 >conftest.err
33581   rm -f conftest.er1
33582   cat conftest.err >&5
33583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33584   (exit $ac_status); } &&
33585          { ac_try='test -z "$ac_cxx_werror_flag"
33586                          || test ! -s conftest.err'
33587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33588   (eval $ac_try) 2>&5
33589   ac_status=$?
33590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33591   (exit $ac_status); }; } &&
33592          { ac_try='test -s conftest.$ac_objext'
33593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33594   (eval $ac_try) 2>&5
33595   ac_status=$?
33596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33597   (exit $ac_status); }; }; then
33598   glibcxx_cv_func__fpclass_use=yes
33599 else
33600   echo "$as_me: failed program was:" >&5
33601 sed 's/^/| /' conftest.$ac_ext >&5
33602
33603 glibcxx_cv_func__fpclass_use=no
33604 fi
33605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33606       ac_ext=c
33607 ac_cpp='$CPP $CPPFLAGS'
33608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33611
33612
33613 fi
33614
33615   fi
33616   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
33617 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
33618
33619     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33620
33621 for ac_func in _fpclass
33622 do
33623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33624 echo "$as_me:$LINENO: checking for $ac_func" >&5
33625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33626 if eval "test \"\${$as_ac_var+set}\" = set"; then
33627   echo $ECHO_N "(cached) $ECHO_C" >&6
33628 else
33629   if test x$gcc_no_link = xyes; then
33630   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33632    { (exit 1); exit 1; }; }
33633 fi
33634 cat >conftest.$ac_ext <<_ACEOF
33635 /* confdefs.h.  */
33636 _ACEOF
33637 cat confdefs.h >>conftest.$ac_ext
33638 cat >>conftest.$ac_ext <<_ACEOF
33639 /* end confdefs.h.  */
33640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33641    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33642 #define $ac_func innocuous_$ac_func
33643
33644 /* System header to define __stub macros and hopefully few prototypes,
33645     which can conflict with char $ac_func (); below.
33646     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33647     <limits.h> exists even on freestanding compilers.  */
33648
33649 #ifdef __STDC__
33650 # include <limits.h>
33651 #else
33652 # include <assert.h>
33653 #endif
33654
33655 #undef $ac_func
33656
33657 /* Override any gcc2 internal prototype to avoid an error.  */
33658 #ifdef __cplusplus
33659 extern "C"
33660 {
33661 #endif
33662 /* We use char because int might match the return type of a gcc2
33663    builtin and then its argument prototype would still apply.  */
33664 char $ac_func ();
33665 /* The GNU C library defines this for functions which it implements
33666     to always fail with ENOSYS.  Some functions are actually named
33667     something starting with __ and the normal name is an alias.  */
33668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33669 choke me
33670 #else
33671 char (*f) () = $ac_func;
33672 #endif
33673 #ifdef __cplusplus
33674 }
33675 #endif
33676
33677 int
33678 main ()
33679 {
33680 return f != $ac_func;
33681   ;
33682   return 0;
33683 }
33684 _ACEOF
33685 rm -f conftest.$ac_objext conftest$ac_exeext
33686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33687   (eval $ac_link) 2>conftest.er1
33688   ac_status=$?
33689   grep -v '^ *+' conftest.er1 >conftest.err
33690   rm -f conftest.er1
33691   cat conftest.err >&5
33692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33693   (exit $ac_status); } &&
33694          { ac_try='test -z "$ac_c_werror_flag"
33695                          || test ! -s conftest.err'
33696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33697   (eval $ac_try) 2>&5
33698   ac_status=$?
33699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33700   (exit $ac_status); }; } &&
33701          { ac_try='test -s conftest$ac_exeext'
33702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33703   (eval $ac_try) 2>&5
33704   ac_status=$?
33705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33706   (exit $ac_status); }; }; then
33707   eval "$as_ac_var=yes"
33708 else
33709   echo "$as_me: failed program was:" >&5
33710 sed 's/^/| /' conftest.$ac_ext >&5
33711
33712 eval "$as_ac_var=no"
33713 fi
33714 rm -f conftest.err conftest.$ac_objext \
33715       conftest$ac_exeext conftest.$ac_ext
33716 fi
33717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33719 if test `eval echo '${'$as_ac_var'}'` = yes; then
33720   cat >>confdefs.h <<_ACEOF
33721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33722 _ACEOF
33723
33724 fi
33725 done
33726
33727     fi
33728   fi
33729
33730
33731
33732   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
33733 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
33734   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33735     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
33736   echo $ECHO_N "(cached) $ECHO_C" >&6
33737 else
33738
33739
33740
33741       ac_ext=cc
33742 ac_cpp='$CXXCPP $CPPFLAGS'
33743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33746
33747       cat >conftest.$ac_ext <<_ACEOF
33748 /* confdefs.h.  */
33749 _ACEOF
33750 cat confdefs.h >>conftest.$ac_ext
33751 cat >>conftest.$ac_ext <<_ACEOF
33752 /* end confdefs.h.  */
33753 #include <math.h>
33754                       #ifdef HAVE_IEEEFP_H
33755                       #include <ieeefp.h>
33756                       #endif
33757
33758 int
33759 main ()
33760 {
33761  qfpclass(0);
33762   ;
33763   return 0;
33764 }
33765 _ACEOF
33766 rm -f conftest.$ac_objext
33767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33768   (eval $ac_compile) 2>conftest.er1
33769   ac_status=$?
33770   grep -v '^ *+' conftest.er1 >conftest.err
33771   rm -f conftest.er1
33772   cat conftest.err >&5
33773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33774   (exit $ac_status); } &&
33775          { ac_try='test -z "$ac_cxx_werror_flag"
33776                          || test ! -s conftest.err'
33777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33778   (eval $ac_try) 2>&5
33779   ac_status=$?
33780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33781   (exit $ac_status); }; } &&
33782          { ac_try='test -s conftest.$ac_objext'
33783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33784   (eval $ac_try) 2>&5
33785   ac_status=$?
33786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33787   (exit $ac_status); }; }; then
33788   glibcxx_cv_func_qfpclass_use=yes
33789 else
33790   echo "$as_me: failed program was:" >&5
33791 sed 's/^/| /' conftest.$ac_ext >&5
33792
33793 glibcxx_cv_func_qfpclass_use=no
33794 fi
33795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33796       ac_ext=c
33797 ac_cpp='$CPP $CPPFLAGS'
33798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33801
33802
33803 fi
33804
33805   fi
33806   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
33807 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
33808
33809   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33810
33811 for ac_func in qfpclass
33812 do
33813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33814 echo "$as_me:$LINENO: checking for $ac_func" >&5
33815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33816 if eval "test \"\${$as_ac_var+set}\" = set"; then
33817   echo $ECHO_N "(cached) $ECHO_C" >&6
33818 else
33819   if test x$gcc_no_link = xyes; then
33820   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33822    { (exit 1); exit 1; }; }
33823 fi
33824 cat >conftest.$ac_ext <<_ACEOF
33825 /* confdefs.h.  */
33826 _ACEOF
33827 cat confdefs.h >>conftest.$ac_ext
33828 cat >>conftest.$ac_ext <<_ACEOF
33829 /* end confdefs.h.  */
33830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33831    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33832 #define $ac_func innocuous_$ac_func
33833
33834 /* System header to define __stub macros and hopefully few prototypes,
33835     which can conflict with char $ac_func (); below.
33836     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33837     <limits.h> exists even on freestanding compilers.  */
33838
33839 #ifdef __STDC__
33840 # include <limits.h>
33841 #else
33842 # include <assert.h>
33843 #endif
33844
33845 #undef $ac_func
33846
33847 /* Override any gcc2 internal prototype to avoid an error.  */
33848 #ifdef __cplusplus
33849 extern "C"
33850 {
33851 #endif
33852 /* We use char because int might match the return type of a gcc2
33853    builtin and then its argument prototype would still apply.  */
33854 char $ac_func ();
33855 /* The GNU C library defines this for functions which it implements
33856     to always fail with ENOSYS.  Some functions are actually named
33857     something starting with __ and the normal name is an alias.  */
33858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33859 choke me
33860 #else
33861 char (*f) () = $ac_func;
33862 #endif
33863 #ifdef __cplusplus
33864 }
33865 #endif
33866
33867 int
33868 main ()
33869 {
33870 return f != $ac_func;
33871   ;
33872   return 0;
33873 }
33874 _ACEOF
33875 rm -f conftest.$ac_objext conftest$ac_exeext
33876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33877   (eval $ac_link) 2>conftest.er1
33878   ac_status=$?
33879   grep -v '^ *+' conftest.er1 >conftest.err
33880   rm -f conftest.er1
33881   cat conftest.err >&5
33882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33883   (exit $ac_status); } &&
33884          { ac_try='test -z "$ac_c_werror_flag"
33885                          || test ! -s conftest.err'
33886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33887   (eval $ac_try) 2>&5
33888   ac_status=$?
33889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33890   (exit $ac_status); }; } &&
33891          { ac_try='test -s conftest$ac_exeext'
33892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33893   (eval $ac_try) 2>&5
33894   ac_status=$?
33895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33896   (exit $ac_status); }; }; then
33897   eval "$as_ac_var=yes"
33898 else
33899   echo "$as_me: failed program was:" >&5
33900 sed 's/^/| /' conftest.$ac_ext >&5
33901
33902 eval "$as_ac_var=no"
33903 fi
33904 rm -f conftest.err conftest.$ac_objext \
33905       conftest$ac_exeext conftest.$ac_ext
33906 fi
33907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33909 if test `eval echo '${'$as_ac_var'}'` = yes; then
33910   cat >>confdefs.h <<_ACEOF
33911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33912 _ACEOF
33913
33914 fi
33915 done
33916
33917   else
33918
33919   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
33920 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
33921   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33922     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
33923   echo $ECHO_N "(cached) $ECHO_C" >&6
33924 else
33925
33926
33927
33928       ac_ext=cc
33929 ac_cpp='$CXXCPP $CPPFLAGS'
33930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33933
33934       cat >conftest.$ac_ext <<_ACEOF
33935 /* confdefs.h.  */
33936 _ACEOF
33937 cat confdefs.h >>conftest.$ac_ext
33938 cat >>conftest.$ac_ext <<_ACEOF
33939 /* end confdefs.h.  */
33940 #include <math.h>
33941                       #ifdef HAVE_IEEEFP_H
33942                       #include <ieeefp.h>
33943                       #endif
33944
33945 int
33946 main ()
33947 {
33948  _qfpclass(0);
33949   ;
33950   return 0;
33951 }
33952 _ACEOF
33953 rm -f conftest.$ac_objext
33954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33955   (eval $ac_compile) 2>conftest.er1
33956   ac_status=$?
33957   grep -v '^ *+' conftest.er1 >conftest.err
33958   rm -f conftest.er1
33959   cat conftest.err >&5
33960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33961   (exit $ac_status); } &&
33962          { ac_try='test -z "$ac_cxx_werror_flag"
33963                          || test ! -s conftest.err'
33964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33965   (eval $ac_try) 2>&5
33966   ac_status=$?
33967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33968   (exit $ac_status); }; } &&
33969          { ac_try='test -s conftest.$ac_objext'
33970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33971   (eval $ac_try) 2>&5
33972   ac_status=$?
33973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33974   (exit $ac_status); }; }; then
33975   glibcxx_cv_func__qfpclass_use=yes
33976 else
33977   echo "$as_me: failed program was:" >&5
33978 sed 's/^/| /' conftest.$ac_ext >&5
33979
33980 glibcxx_cv_func__qfpclass_use=no
33981 fi
33982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33983       ac_ext=c
33984 ac_cpp='$CPP $CPPFLAGS'
33985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33988
33989
33990 fi
33991
33992   fi
33993   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
33994 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
33995
33996     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33997
33998 for ac_func in _qfpclass
33999 do
34000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34001 echo "$as_me:$LINENO: checking for $ac_func" >&5
34002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34003 if eval "test \"\${$as_ac_var+set}\" = set"; then
34004   echo $ECHO_N "(cached) $ECHO_C" >&6
34005 else
34006   if test x$gcc_no_link = xyes; then
34007   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34009    { (exit 1); exit 1; }; }
34010 fi
34011 cat >conftest.$ac_ext <<_ACEOF
34012 /* confdefs.h.  */
34013 _ACEOF
34014 cat confdefs.h >>conftest.$ac_ext
34015 cat >>conftest.$ac_ext <<_ACEOF
34016 /* end confdefs.h.  */
34017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34018    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34019 #define $ac_func innocuous_$ac_func
34020
34021 /* System header to define __stub macros and hopefully few prototypes,
34022     which can conflict with char $ac_func (); below.
34023     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34024     <limits.h> exists even on freestanding compilers.  */
34025
34026 #ifdef __STDC__
34027 # include <limits.h>
34028 #else
34029 # include <assert.h>
34030 #endif
34031
34032 #undef $ac_func
34033
34034 /* Override any gcc2 internal prototype to avoid an error.  */
34035 #ifdef __cplusplus
34036 extern "C"
34037 {
34038 #endif
34039 /* We use char because int might match the return type of a gcc2
34040    builtin and then its argument prototype would still apply.  */
34041 char $ac_func ();
34042 /* The GNU C library defines this for functions which it implements
34043     to always fail with ENOSYS.  Some functions are actually named
34044     something starting with __ and the normal name is an alias.  */
34045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34046 choke me
34047 #else
34048 char (*f) () = $ac_func;
34049 #endif
34050 #ifdef __cplusplus
34051 }
34052 #endif
34053
34054 int
34055 main ()
34056 {
34057 return f != $ac_func;
34058   ;
34059   return 0;
34060 }
34061 _ACEOF
34062 rm -f conftest.$ac_objext conftest$ac_exeext
34063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34064   (eval $ac_link) 2>conftest.er1
34065   ac_status=$?
34066   grep -v '^ *+' conftest.er1 >conftest.err
34067   rm -f conftest.er1
34068   cat conftest.err >&5
34069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34070   (exit $ac_status); } &&
34071          { ac_try='test -z "$ac_c_werror_flag"
34072                          || test ! -s conftest.err'
34073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34074   (eval $ac_try) 2>&5
34075   ac_status=$?
34076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34077   (exit $ac_status); }; } &&
34078          { ac_try='test -s conftest$ac_exeext'
34079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34080   (eval $ac_try) 2>&5
34081   ac_status=$?
34082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34083   (exit $ac_status); }; }; then
34084   eval "$as_ac_var=yes"
34085 else
34086   echo "$as_me: failed program was:" >&5
34087 sed 's/^/| /' conftest.$ac_ext >&5
34088
34089 eval "$as_ac_var=no"
34090 fi
34091 rm -f conftest.err conftest.$ac_objext \
34092       conftest$ac_exeext conftest.$ac_ext
34093 fi
34094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34096 if test `eval echo '${'$as_ac_var'}'` = yes; then
34097   cat >>confdefs.h <<_ACEOF
34098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34099 _ACEOF
34100
34101 fi
34102 done
34103
34104     fi
34105   fi
34106
34107
34108
34109   echo "$as_me:$LINENO: checking for hypot declaration" >&5
34110 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
34111   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34112     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
34113   echo $ECHO_N "(cached) $ECHO_C" >&6
34114 else
34115
34116
34117
34118       ac_ext=cc
34119 ac_cpp='$CXXCPP $CPPFLAGS'
34120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34123
34124       cat >conftest.$ac_ext <<_ACEOF
34125 /* confdefs.h.  */
34126 _ACEOF
34127 cat confdefs.h >>conftest.$ac_ext
34128 cat >>conftest.$ac_ext <<_ACEOF
34129 /* end confdefs.h.  */
34130 #include <math.h>
34131 int
34132 main ()
34133 {
34134  hypot(0, 0);
34135   ;
34136   return 0;
34137 }
34138 _ACEOF
34139 rm -f conftest.$ac_objext
34140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34141   (eval $ac_compile) 2>conftest.er1
34142   ac_status=$?
34143   grep -v '^ *+' conftest.er1 >conftest.err
34144   rm -f conftest.er1
34145   cat conftest.err >&5
34146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34147   (exit $ac_status); } &&
34148          { ac_try='test -z "$ac_cxx_werror_flag"
34149                          || test ! -s conftest.err'
34150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34151   (eval $ac_try) 2>&5
34152   ac_status=$?
34153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34154   (exit $ac_status); }; } &&
34155          { ac_try='test -s conftest.$ac_objext'
34156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34157   (eval $ac_try) 2>&5
34158   ac_status=$?
34159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34160   (exit $ac_status); }; }; then
34161   glibcxx_cv_func_hypot_use=yes
34162 else
34163   echo "$as_me: failed program was:" >&5
34164 sed 's/^/| /' conftest.$ac_ext >&5
34165
34166 glibcxx_cv_func_hypot_use=no
34167 fi
34168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34169       ac_ext=c
34170 ac_cpp='$CPP $CPPFLAGS'
34171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34174
34175
34176 fi
34177
34178   fi
34179   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
34180 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
34181
34182   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34183
34184 for ac_func in hypot
34185 do
34186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34187 echo "$as_me:$LINENO: checking for $ac_func" >&5
34188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34189 if eval "test \"\${$as_ac_var+set}\" = set"; then
34190   echo $ECHO_N "(cached) $ECHO_C" >&6
34191 else
34192   if test x$gcc_no_link = xyes; then
34193   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34195    { (exit 1); exit 1; }; }
34196 fi
34197 cat >conftest.$ac_ext <<_ACEOF
34198 /* confdefs.h.  */
34199 _ACEOF
34200 cat confdefs.h >>conftest.$ac_ext
34201 cat >>conftest.$ac_ext <<_ACEOF
34202 /* end confdefs.h.  */
34203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34204    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34205 #define $ac_func innocuous_$ac_func
34206
34207 /* System header to define __stub macros and hopefully few prototypes,
34208     which can conflict with char $ac_func (); below.
34209     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34210     <limits.h> exists even on freestanding compilers.  */
34211
34212 #ifdef __STDC__
34213 # include <limits.h>
34214 #else
34215 # include <assert.h>
34216 #endif
34217
34218 #undef $ac_func
34219
34220 /* Override any gcc2 internal prototype to avoid an error.  */
34221 #ifdef __cplusplus
34222 extern "C"
34223 {
34224 #endif
34225 /* We use char because int might match the return type of a gcc2
34226    builtin and then its argument prototype would still apply.  */
34227 char $ac_func ();
34228 /* The GNU C library defines this for functions which it implements
34229     to always fail with ENOSYS.  Some functions are actually named
34230     something starting with __ and the normal name is an alias.  */
34231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34232 choke me
34233 #else
34234 char (*f) () = $ac_func;
34235 #endif
34236 #ifdef __cplusplus
34237 }
34238 #endif
34239
34240 int
34241 main ()
34242 {
34243 return f != $ac_func;
34244   ;
34245   return 0;
34246 }
34247 _ACEOF
34248 rm -f conftest.$ac_objext conftest$ac_exeext
34249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34250   (eval $ac_link) 2>conftest.er1
34251   ac_status=$?
34252   grep -v '^ *+' conftest.er1 >conftest.err
34253   rm -f conftest.er1
34254   cat conftest.err >&5
34255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34256   (exit $ac_status); } &&
34257          { ac_try='test -z "$ac_c_werror_flag"
34258                          || test ! -s conftest.err'
34259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34260   (eval $ac_try) 2>&5
34261   ac_status=$?
34262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34263   (exit $ac_status); }; } &&
34264          { ac_try='test -s conftest$ac_exeext'
34265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34266   (eval $ac_try) 2>&5
34267   ac_status=$?
34268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34269   (exit $ac_status); }; }; then
34270   eval "$as_ac_var=yes"
34271 else
34272   echo "$as_me: failed program was:" >&5
34273 sed 's/^/| /' conftest.$ac_ext >&5
34274
34275 eval "$as_ac_var=no"
34276 fi
34277 rm -f conftest.err conftest.$ac_objext \
34278       conftest$ac_exeext conftest.$ac_ext
34279 fi
34280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34282 if test `eval echo '${'$as_ac_var'}'` = yes; then
34283   cat >>confdefs.h <<_ACEOF
34284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34285 _ACEOF
34286
34287 fi
34288 done
34289
34290   else
34291
34292   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
34293 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
34294   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34295     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
34296   echo $ECHO_N "(cached) $ECHO_C" >&6
34297 else
34298
34299
34300
34301       ac_ext=cc
34302 ac_cpp='$CXXCPP $CPPFLAGS'
34303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34306
34307       cat >conftest.$ac_ext <<_ACEOF
34308 /* confdefs.h.  */
34309 _ACEOF
34310 cat confdefs.h >>conftest.$ac_ext
34311 cat >>conftest.$ac_ext <<_ACEOF
34312 /* end confdefs.h.  */
34313 #include <math.h>
34314 int
34315 main ()
34316 {
34317  _hypot(0, 0);
34318   ;
34319   return 0;
34320 }
34321 _ACEOF
34322 rm -f conftest.$ac_objext
34323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34324   (eval $ac_compile) 2>conftest.er1
34325   ac_status=$?
34326   grep -v '^ *+' conftest.er1 >conftest.err
34327   rm -f conftest.er1
34328   cat conftest.err >&5
34329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34330   (exit $ac_status); } &&
34331          { ac_try='test -z "$ac_cxx_werror_flag"
34332                          || test ! -s conftest.err'
34333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34334   (eval $ac_try) 2>&5
34335   ac_status=$?
34336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34337   (exit $ac_status); }; } &&
34338          { ac_try='test -s conftest.$ac_objext'
34339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34340   (eval $ac_try) 2>&5
34341   ac_status=$?
34342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34343   (exit $ac_status); }; }; then
34344   glibcxx_cv_func__hypot_use=yes
34345 else
34346   echo "$as_me: failed program was:" >&5
34347 sed 's/^/| /' conftest.$ac_ext >&5
34348
34349 glibcxx_cv_func__hypot_use=no
34350 fi
34351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34352       ac_ext=c
34353 ac_cpp='$CPP $CPPFLAGS'
34354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34357
34358
34359 fi
34360
34361   fi
34362   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
34363 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
34364
34365     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34366
34367 for ac_func in _hypot
34368 do
34369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34370 echo "$as_me:$LINENO: checking for $ac_func" >&5
34371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34372 if eval "test \"\${$as_ac_var+set}\" = set"; then
34373   echo $ECHO_N "(cached) $ECHO_C" >&6
34374 else
34375   if test x$gcc_no_link = xyes; then
34376   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34378    { (exit 1); exit 1; }; }
34379 fi
34380 cat >conftest.$ac_ext <<_ACEOF
34381 /* confdefs.h.  */
34382 _ACEOF
34383 cat confdefs.h >>conftest.$ac_ext
34384 cat >>conftest.$ac_ext <<_ACEOF
34385 /* end confdefs.h.  */
34386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34387    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34388 #define $ac_func innocuous_$ac_func
34389
34390 /* System header to define __stub macros and hopefully few prototypes,
34391     which can conflict with char $ac_func (); below.
34392     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34393     <limits.h> exists even on freestanding compilers.  */
34394
34395 #ifdef __STDC__
34396 # include <limits.h>
34397 #else
34398 # include <assert.h>
34399 #endif
34400
34401 #undef $ac_func
34402
34403 /* Override any gcc2 internal prototype to avoid an error.  */
34404 #ifdef __cplusplus
34405 extern "C"
34406 {
34407 #endif
34408 /* We use char because int might match the return type of a gcc2
34409    builtin and then its argument prototype would still apply.  */
34410 char $ac_func ();
34411 /* The GNU C library defines this for functions which it implements
34412     to always fail with ENOSYS.  Some functions are actually named
34413     something starting with __ and the normal name is an alias.  */
34414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34415 choke me
34416 #else
34417 char (*f) () = $ac_func;
34418 #endif
34419 #ifdef __cplusplus
34420 }
34421 #endif
34422
34423 int
34424 main ()
34425 {
34426 return f != $ac_func;
34427   ;
34428   return 0;
34429 }
34430 _ACEOF
34431 rm -f conftest.$ac_objext conftest$ac_exeext
34432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34433   (eval $ac_link) 2>conftest.er1
34434   ac_status=$?
34435   grep -v '^ *+' conftest.er1 >conftest.err
34436   rm -f conftest.er1
34437   cat conftest.err >&5
34438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34439   (exit $ac_status); } &&
34440          { ac_try='test -z "$ac_c_werror_flag"
34441                          || test ! -s conftest.err'
34442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34443   (eval $ac_try) 2>&5
34444   ac_status=$?
34445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34446   (exit $ac_status); }; } &&
34447          { ac_try='test -s conftest$ac_exeext'
34448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34449   (eval $ac_try) 2>&5
34450   ac_status=$?
34451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34452   (exit $ac_status); }; }; then
34453   eval "$as_ac_var=yes"
34454 else
34455   echo "$as_me: failed program was:" >&5
34456 sed 's/^/| /' conftest.$ac_ext >&5
34457
34458 eval "$as_ac_var=no"
34459 fi
34460 rm -f conftest.err conftest.$ac_objext \
34461       conftest$ac_exeext conftest.$ac_ext
34462 fi
34463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34465 if test `eval echo '${'$as_ac_var'}'` = yes; then
34466   cat >>confdefs.h <<_ACEOF
34467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34468 _ACEOF
34469
34470 fi
34471 done
34472
34473     fi
34474   fi
34475
34476
34477
34478   echo "$as_me:$LINENO: checking for float trig functions" >&5
34479 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
34480   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
34481   echo $ECHO_N "(cached) $ECHO_C" >&6
34482 else
34483
34484
34485
34486     ac_ext=cc
34487 ac_cpp='$CXXCPP $CPPFLAGS'
34488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34491
34492     cat >conftest.$ac_ext <<_ACEOF
34493 /* confdefs.h.  */
34494 _ACEOF
34495 cat confdefs.h >>conftest.$ac_ext
34496 cat >>conftest.$ac_ext <<_ACEOF
34497 /* end confdefs.h.  */
34498 #include <math.h>
34499 int
34500 main ()
34501 {
34502  `for x in acosf asinf atanf \
34503                                           cosf sinf tanf \
34504                                           coshf sinhf tanhf; do echo "$x (0);"; done`
34505   ;
34506   return 0;
34507 }
34508 _ACEOF
34509 rm -f conftest.$ac_objext
34510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34511   (eval $ac_compile) 2>conftest.er1
34512   ac_status=$?
34513   grep -v '^ *+' conftest.er1 >conftest.err
34514   rm -f conftest.er1
34515   cat conftest.err >&5
34516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34517   (exit $ac_status); } &&
34518          { ac_try='test -z "$ac_cxx_werror_flag"
34519                          || test ! -s conftest.err'
34520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34521   (eval $ac_try) 2>&5
34522   ac_status=$?
34523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34524   (exit $ac_status); }; } &&
34525          { ac_try='test -s conftest.$ac_objext'
34526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34527   (eval $ac_try) 2>&5
34528   ac_status=$?
34529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34530   (exit $ac_status); }; }; then
34531   glibcxx_cv_func_float_trig_use=yes
34532 else
34533   echo "$as_me: failed program was:" >&5
34534 sed 's/^/| /' conftest.$ac_ext >&5
34535
34536 glibcxx_cv_func_float_trig_use=no
34537 fi
34538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34539     ac_ext=c
34540 ac_cpp='$CPP $CPPFLAGS'
34541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34544
34545 fi
34546
34547   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
34548 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
34549   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34550
34551
34552
34553
34554
34555
34556
34557
34558
34559 for ac_func in acosf asinf atanf \
34560                                           cosf sinf tanf \
34561                                           coshf sinhf tanhf
34562 do
34563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34564 echo "$as_me:$LINENO: checking for $ac_func" >&5
34565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34566 if eval "test \"\${$as_ac_var+set}\" = set"; then
34567   echo $ECHO_N "(cached) $ECHO_C" >&6
34568 else
34569   if test x$gcc_no_link = xyes; then
34570   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34572    { (exit 1); exit 1; }; }
34573 fi
34574 cat >conftest.$ac_ext <<_ACEOF
34575 /* confdefs.h.  */
34576 _ACEOF
34577 cat confdefs.h >>conftest.$ac_ext
34578 cat >>conftest.$ac_ext <<_ACEOF
34579 /* end confdefs.h.  */
34580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34581    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34582 #define $ac_func innocuous_$ac_func
34583
34584 /* System header to define __stub macros and hopefully few prototypes,
34585     which can conflict with char $ac_func (); below.
34586     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34587     <limits.h> exists even on freestanding compilers.  */
34588
34589 #ifdef __STDC__
34590 # include <limits.h>
34591 #else
34592 # include <assert.h>
34593 #endif
34594
34595 #undef $ac_func
34596
34597 /* Override any gcc2 internal prototype to avoid an error.  */
34598 #ifdef __cplusplus
34599 extern "C"
34600 {
34601 #endif
34602 /* We use char because int might match the return type of a gcc2
34603    builtin and then its argument prototype would still apply.  */
34604 char $ac_func ();
34605 /* The GNU C library defines this for functions which it implements
34606     to always fail with ENOSYS.  Some functions are actually named
34607     something starting with __ and the normal name is an alias.  */
34608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34609 choke me
34610 #else
34611 char (*f) () = $ac_func;
34612 #endif
34613 #ifdef __cplusplus
34614 }
34615 #endif
34616
34617 int
34618 main ()
34619 {
34620 return f != $ac_func;
34621   ;
34622   return 0;
34623 }
34624 _ACEOF
34625 rm -f conftest.$ac_objext conftest$ac_exeext
34626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34627   (eval $ac_link) 2>conftest.er1
34628   ac_status=$?
34629   grep -v '^ *+' conftest.er1 >conftest.err
34630   rm -f conftest.er1
34631   cat conftest.err >&5
34632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34633   (exit $ac_status); } &&
34634          { ac_try='test -z "$ac_c_werror_flag"
34635                          || test ! -s conftest.err'
34636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34637   (eval $ac_try) 2>&5
34638   ac_status=$?
34639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34640   (exit $ac_status); }; } &&
34641          { ac_try='test -s conftest$ac_exeext'
34642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34643   (eval $ac_try) 2>&5
34644   ac_status=$?
34645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34646   (exit $ac_status); }; }; then
34647   eval "$as_ac_var=yes"
34648 else
34649   echo "$as_me: failed program was:" >&5
34650 sed 's/^/| /' conftest.$ac_ext >&5
34651
34652 eval "$as_ac_var=no"
34653 fi
34654 rm -f conftest.err conftest.$ac_objext \
34655       conftest$ac_exeext conftest.$ac_ext
34656 fi
34657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34659 if test `eval echo '${'$as_ac_var'}'` = yes; then
34660   cat >>confdefs.h <<_ACEOF
34661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34662 _ACEOF
34663
34664 fi
34665 done
34666
34667   fi
34668
34669
34670   echo "$as_me:$LINENO: checking for float round functions" >&5
34671 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
34672   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
34673   echo $ECHO_N "(cached) $ECHO_C" >&6
34674 else
34675
34676
34677
34678     ac_ext=cc
34679 ac_cpp='$CXXCPP $CPPFLAGS'
34680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34683
34684     cat >conftest.$ac_ext <<_ACEOF
34685 /* confdefs.h.  */
34686 _ACEOF
34687 cat confdefs.h >>conftest.$ac_ext
34688 cat >>conftest.$ac_ext <<_ACEOF
34689 /* end confdefs.h.  */
34690 #include <math.h>
34691 int
34692 main ()
34693 {
34694  `for x in ceilf floorf; do echo "$x (0);"; done`
34695   ;
34696   return 0;
34697 }
34698 _ACEOF
34699 rm -f conftest.$ac_objext
34700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34701   (eval $ac_compile) 2>conftest.er1
34702   ac_status=$?
34703   grep -v '^ *+' conftest.er1 >conftest.err
34704   rm -f conftest.er1
34705   cat conftest.err >&5
34706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34707   (exit $ac_status); } &&
34708          { ac_try='test -z "$ac_cxx_werror_flag"
34709                          || test ! -s conftest.err'
34710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34711   (eval $ac_try) 2>&5
34712   ac_status=$?
34713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34714   (exit $ac_status); }; } &&
34715          { ac_try='test -s conftest.$ac_objext'
34716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34717   (eval $ac_try) 2>&5
34718   ac_status=$?
34719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34720   (exit $ac_status); }; }; then
34721   glibcxx_cv_func_float_round_use=yes
34722 else
34723   echo "$as_me: failed program was:" >&5
34724 sed 's/^/| /' conftest.$ac_ext >&5
34725
34726 glibcxx_cv_func_float_round_use=no
34727 fi
34728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34729     ac_ext=c
34730 ac_cpp='$CPP $CPPFLAGS'
34731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34734
34735 fi
34736
34737   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
34738 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
34739   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34740
34741
34742 for ac_func in ceilf floorf
34743 do
34744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34745 echo "$as_me:$LINENO: checking for $ac_func" >&5
34746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34747 if eval "test \"\${$as_ac_var+set}\" = set"; then
34748   echo $ECHO_N "(cached) $ECHO_C" >&6
34749 else
34750   if test x$gcc_no_link = xyes; then
34751   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34753    { (exit 1); exit 1; }; }
34754 fi
34755 cat >conftest.$ac_ext <<_ACEOF
34756 /* confdefs.h.  */
34757 _ACEOF
34758 cat confdefs.h >>conftest.$ac_ext
34759 cat >>conftest.$ac_ext <<_ACEOF
34760 /* end confdefs.h.  */
34761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34762    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34763 #define $ac_func innocuous_$ac_func
34764
34765 /* System header to define __stub macros and hopefully few prototypes,
34766     which can conflict with char $ac_func (); below.
34767     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34768     <limits.h> exists even on freestanding compilers.  */
34769
34770 #ifdef __STDC__
34771 # include <limits.h>
34772 #else
34773 # include <assert.h>
34774 #endif
34775
34776 #undef $ac_func
34777
34778 /* Override any gcc2 internal prototype to avoid an error.  */
34779 #ifdef __cplusplus
34780 extern "C"
34781 {
34782 #endif
34783 /* We use char because int might match the return type of a gcc2
34784    builtin and then its argument prototype would still apply.  */
34785 char $ac_func ();
34786 /* The GNU C library defines this for functions which it implements
34787     to always fail with ENOSYS.  Some functions are actually named
34788     something starting with __ and the normal name is an alias.  */
34789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34790 choke me
34791 #else
34792 char (*f) () = $ac_func;
34793 #endif
34794 #ifdef __cplusplus
34795 }
34796 #endif
34797
34798 int
34799 main ()
34800 {
34801 return f != $ac_func;
34802   ;
34803   return 0;
34804 }
34805 _ACEOF
34806 rm -f conftest.$ac_objext conftest$ac_exeext
34807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34808   (eval $ac_link) 2>conftest.er1
34809   ac_status=$?
34810   grep -v '^ *+' conftest.er1 >conftest.err
34811   rm -f conftest.er1
34812   cat conftest.err >&5
34813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34814   (exit $ac_status); } &&
34815          { ac_try='test -z "$ac_c_werror_flag"
34816                          || test ! -s conftest.err'
34817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34818   (eval $ac_try) 2>&5
34819   ac_status=$?
34820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34821   (exit $ac_status); }; } &&
34822          { ac_try='test -s conftest$ac_exeext'
34823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34824   (eval $ac_try) 2>&5
34825   ac_status=$?
34826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34827   (exit $ac_status); }; }; then
34828   eval "$as_ac_var=yes"
34829 else
34830   echo "$as_me: failed program was:" >&5
34831 sed 's/^/| /' conftest.$ac_ext >&5
34832
34833 eval "$as_ac_var=no"
34834 fi
34835 rm -f conftest.err conftest.$ac_objext \
34836       conftest$ac_exeext conftest.$ac_ext
34837 fi
34838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34840 if test `eval echo '${'$as_ac_var'}'` = yes; then
34841   cat >>confdefs.h <<_ACEOF
34842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34843 _ACEOF
34844
34845 fi
34846 done
34847
34848   fi
34849
34850
34851
34852   echo "$as_me:$LINENO: checking for expf declaration" >&5
34853 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
34854   if test x${glibcxx_cv_func_expf_use+set} != xset; then
34855     if test "${glibcxx_cv_func_expf_use+set}" = set; then
34856   echo $ECHO_N "(cached) $ECHO_C" >&6
34857 else
34858
34859
34860
34861       ac_ext=cc
34862 ac_cpp='$CXXCPP $CPPFLAGS'
34863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34866
34867       cat >conftest.$ac_ext <<_ACEOF
34868 /* confdefs.h.  */
34869 _ACEOF
34870 cat confdefs.h >>conftest.$ac_ext
34871 cat >>conftest.$ac_ext <<_ACEOF
34872 /* end confdefs.h.  */
34873 #include <math.h>
34874                       #ifdef HAVE_IEEEFP_H
34875                       #include <ieeefp.h>
34876                       #endif
34877
34878 int
34879 main ()
34880 {
34881  expf(0);
34882   ;
34883   return 0;
34884 }
34885 _ACEOF
34886 rm -f conftest.$ac_objext
34887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34888   (eval $ac_compile) 2>conftest.er1
34889   ac_status=$?
34890   grep -v '^ *+' conftest.er1 >conftest.err
34891   rm -f conftest.er1
34892   cat conftest.err >&5
34893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34894   (exit $ac_status); } &&
34895          { ac_try='test -z "$ac_cxx_werror_flag"
34896                          || test ! -s conftest.err'
34897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34898   (eval $ac_try) 2>&5
34899   ac_status=$?
34900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34901   (exit $ac_status); }; } &&
34902          { ac_try='test -s conftest.$ac_objext'
34903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34904   (eval $ac_try) 2>&5
34905   ac_status=$?
34906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34907   (exit $ac_status); }; }; then
34908   glibcxx_cv_func_expf_use=yes
34909 else
34910   echo "$as_me: failed program was:" >&5
34911 sed 's/^/| /' conftest.$ac_ext >&5
34912
34913 glibcxx_cv_func_expf_use=no
34914 fi
34915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34916       ac_ext=c
34917 ac_cpp='$CPP $CPPFLAGS'
34918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34921
34922
34923 fi
34924
34925   fi
34926   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
34927 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
34928
34929   if test x$glibcxx_cv_func_expf_use = x"yes"; then
34930
34931 for ac_func in expf
34932 do
34933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34934 echo "$as_me:$LINENO: checking for $ac_func" >&5
34935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34936 if eval "test \"\${$as_ac_var+set}\" = set"; then
34937   echo $ECHO_N "(cached) $ECHO_C" >&6
34938 else
34939   if test x$gcc_no_link = xyes; then
34940   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34942    { (exit 1); exit 1; }; }
34943 fi
34944 cat >conftest.$ac_ext <<_ACEOF
34945 /* confdefs.h.  */
34946 _ACEOF
34947 cat confdefs.h >>conftest.$ac_ext
34948 cat >>conftest.$ac_ext <<_ACEOF
34949 /* end confdefs.h.  */
34950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34951    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34952 #define $ac_func innocuous_$ac_func
34953
34954 /* System header to define __stub macros and hopefully few prototypes,
34955     which can conflict with char $ac_func (); below.
34956     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34957     <limits.h> exists even on freestanding compilers.  */
34958
34959 #ifdef __STDC__
34960 # include <limits.h>
34961 #else
34962 # include <assert.h>
34963 #endif
34964
34965 #undef $ac_func
34966
34967 /* Override any gcc2 internal prototype to avoid an error.  */
34968 #ifdef __cplusplus
34969 extern "C"
34970 {
34971 #endif
34972 /* We use char because int might match the return type of a gcc2
34973    builtin and then its argument prototype would still apply.  */
34974 char $ac_func ();
34975 /* The GNU C library defines this for functions which it implements
34976     to always fail with ENOSYS.  Some functions are actually named
34977     something starting with __ and the normal name is an alias.  */
34978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34979 choke me
34980 #else
34981 char (*f) () = $ac_func;
34982 #endif
34983 #ifdef __cplusplus
34984 }
34985 #endif
34986
34987 int
34988 main ()
34989 {
34990 return f != $ac_func;
34991   ;
34992   return 0;
34993 }
34994 _ACEOF
34995 rm -f conftest.$ac_objext conftest$ac_exeext
34996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34997   (eval $ac_link) 2>conftest.er1
34998   ac_status=$?
34999   grep -v '^ *+' conftest.er1 >conftest.err
35000   rm -f conftest.er1
35001   cat conftest.err >&5
35002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35003   (exit $ac_status); } &&
35004          { ac_try='test -z "$ac_c_werror_flag"
35005                          || test ! -s conftest.err'
35006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35007   (eval $ac_try) 2>&5
35008   ac_status=$?
35009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35010   (exit $ac_status); }; } &&
35011          { ac_try='test -s conftest$ac_exeext'
35012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35013   (eval $ac_try) 2>&5
35014   ac_status=$?
35015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35016   (exit $ac_status); }; }; then
35017   eval "$as_ac_var=yes"
35018 else
35019   echo "$as_me: failed program was:" >&5
35020 sed 's/^/| /' conftest.$ac_ext >&5
35021
35022 eval "$as_ac_var=no"
35023 fi
35024 rm -f conftest.err conftest.$ac_objext \
35025       conftest$ac_exeext conftest.$ac_ext
35026 fi
35027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35029 if test `eval echo '${'$as_ac_var'}'` = yes; then
35030   cat >>confdefs.h <<_ACEOF
35031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35032 _ACEOF
35033
35034 fi
35035 done
35036
35037   else
35038
35039   echo "$as_me:$LINENO: checking for _expf declaration" >&5
35040 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
35041   if test x${glibcxx_cv_func__expf_use+set} != xset; then
35042     if test "${glibcxx_cv_func__expf_use+set}" = set; then
35043   echo $ECHO_N "(cached) $ECHO_C" >&6
35044 else
35045
35046
35047
35048       ac_ext=cc
35049 ac_cpp='$CXXCPP $CPPFLAGS'
35050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35053
35054       cat >conftest.$ac_ext <<_ACEOF
35055 /* confdefs.h.  */
35056 _ACEOF
35057 cat confdefs.h >>conftest.$ac_ext
35058 cat >>conftest.$ac_ext <<_ACEOF
35059 /* end confdefs.h.  */
35060 #include <math.h>
35061                       #ifdef HAVE_IEEEFP_H
35062                       #include <ieeefp.h>
35063                       #endif
35064
35065 int
35066 main ()
35067 {
35068  _expf(0);
35069   ;
35070   return 0;
35071 }
35072 _ACEOF
35073 rm -f conftest.$ac_objext
35074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35075   (eval $ac_compile) 2>conftest.er1
35076   ac_status=$?
35077   grep -v '^ *+' conftest.er1 >conftest.err
35078   rm -f conftest.er1
35079   cat conftest.err >&5
35080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35081   (exit $ac_status); } &&
35082          { ac_try='test -z "$ac_cxx_werror_flag"
35083                          || test ! -s conftest.err'
35084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35085   (eval $ac_try) 2>&5
35086   ac_status=$?
35087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35088   (exit $ac_status); }; } &&
35089          { ac_try='test -s conftest.$ac_objext'
35090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35091   (eval $ac_try) 2>&5
35092   ac_status=$?
35093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35094   (exit $ac_status); }; }; then
35095   glibcxx_cv_func__expf_use=yes
35096 else
35097   echo "$as_me: failed program was:" >&5
35098 sed 's/^/| /' conftest.$ac_ext >&5
35099
35100 glibcxx_cv_func__expf_use=no
35101 fi
35102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35103       ac_ext=c
35104 ac_cpp='$CPP $CPPFLAGS'
35105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35108
35109
35110 fi
35111
35112   fi
35113   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
35114 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
35115
35116     if test x$glibcxx_cv_func__expf_use = x"yes"; then
35117
35118 for ac_func in _expf
35119 do
35120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35121 echo "$as_me:$LINENO: checking for $ac_func" >&5
35122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35123 if eval "test \"\${$as_ac_var+set}\" = set"; then
35124   echo $ECHO_N "(cached) $ECHO_C" >&6
35125 else
35126   if test x$gcc_no_link = xyes; then
35127   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35129    { (exit 1); exit 1; }; }
35130 fi
35131 cat >conftest.$ac_ext <<_ACEOF
35132 /* confdefs.h.  */
35133 _ACEOF
35134 cat confdefs.h >>conftest.$ac_ext
35135 cat >>conftest.$ac_ext <<_ACEOF
35136 /* end confdefs.h.  */
35137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35138    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35139 #define $ac_func innocuous_$ac_func
35140
35141 /* System header to define __stub macros and hopefully few prototypes,
35142     which can conflict with char $ac_func (); below.
35143     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35144     <limits.h> exists even on freestanding compilers.  */
35145
35146 #ifdef __STDC__
35147 # include <limits.h>
35148 #else
35149 # include <assert.h>
35150 #endif
35151
35152 #undef $ac_func
35153
35154 /* Override any gcc2 internal prototype to avoid an error.  */
35155 #ifdef __cplusplus
35156 extern "C"
35157 {
35158 #endif
35159 /* We use char because int might match the return type of a gcc2
35160    builtin and then its argument prototype would still apply.  */
35161 char $ac_func ();
35162 /* The GNU C library defines this for functions which it implements
35163     to always fail with ENOSYS.  Some functions are actually named
35164     something starting with __ and the normal name is an alias.  */
35165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35166 choke me
35167 #else
35168 char (*f) () = $ac_func;
35169 #endif
35170 #ifdef __cplusplus
35171 }
35172 #endif
35173
35174 int
35175 main ()
35176 {
35177 return f != $ac_func;
35178   ;
35179   return 0;
35180 }
35181 _ACEOF
35182 rm -f conftest.$ac_objext conftest$ac_exeext
35183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35184   (eval $ac_link) 2>conftest.er1
35185   ac_status=$?
35186   grep -v '^ *+' conftest.er1 >conftest.err
35187   rm -f conftest.er1
35188   cat conftest.err >&5
35189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35190   (exit $ac_status); } &&
35191          { ac_try='test -z "$ac_c_werror_flag"
35192                          || test ! -s conftest.err'
35193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35194   (eval $ac_try) 2>&5
35195   ac_status=$?
35196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35197   (exit $ac_status); }; } &&
35198          { ac_try='test -s conftest$ac_exeext'
35199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35200   (eval $ac_try) 2>&5
35201   ac_status=$?
35202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35203   (exit $ac_status); }; }; then
35204   eval "$as_ac_var=yes"
35205 else
35206   echo "$as_me: failed program was:" >&5
35207 sed 's/^/| /' conftest.$ac_ext >&5
35208
35209 eval "$as_ac_var=no"
35210 fi
35211 rm -f conftest.err conftest.$ac_objext \
35212       conftest$ac_exeext conftest.$ac_ext
35213 fi
35214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35216 if test `eval echo '${'$as_ac_var'}'` = yes; then
35217   cat >>confdefs.h <<_ACEOF
35218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35219 _ACEOF
35220
35221 fi
35222 done
35223
35224     fi
35225   fi
35226
35227
35228
35229   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
35230 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
35231   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35232     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
35233   echo $ECHO_N "(cached) $ECHO_C" >&6
35234 else
35235
35236
35237
35238       ac_ext=cc
35239 ac_cpp='$CXXCPP $CPPFLAGS'
35240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35243
35244       cat >conftest.$ac_ext <<_ACEOF
35245 /* confdefs.h.  */
35246 _ACEOF
35247 cat confdefs.h >>conftest.$ac_ext
35248 cat >>conftest.$ac_ext <<_ACEOF
35249 /* end confdefs.h.  */
35250 #include <math.h>
35251                       #ifdef HAVE_IEEEFP_H
35252                       #include <ieeefp.h>
35253                       #endif
35254
35255 int
35256 main ()
35257 {
35258  isnanf(0);
35259   ;
35260   return 0;
35261 }
35262 _ACEOF
35263 rm -f conftest.$ac_objext
35264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35265   (eval $ac_compile) 2>conftest.er1
35266   ac_status=$?
35267   grep -v '^ *+' conftest.er1 >conftest.err
35268   rm -f conftest.er1
35269   cat conftest.err >&5
35270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35271   (exit $ac_status); } &&
35272          { ac_try='test -z "$ac_cxx_werror_flag"
35273                          || test ! -s conftest.err'
35274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35275   (eval $ac_try) 2>&5
35276   ac_status=$?
35277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35278   (exit $ac_status); }; } &&
35279          { ac_try='test -s conftest.$ac_objext'
35280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35281   (eval $ac_try) 2>&5
35282   ac_status=$?
35283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35284   (exit $ac_status); }; }; then
35285   glibcxx_cv_func_isnanf_use=yes
35286 else
35287   echo "$as_me: failed program was:" >&5
35288 sed 's/^/| /' conftest.$ac_ext >&5
35289
35290 glibcxx_cv_func_isnanf_use=no
35291 fi
35292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35293       ac_ext=c
35294 ac_cpp='$CPP $CPPFLAGS'
35295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35298
35299
35300 fi
35301
35302   fi
35303   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
35304 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
35305
35306   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35307
35308 for ac_func in isnanf
35309 do
35310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35311 echo "$as_me:$LINENO: checking for $ac_func" >&5
35312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35313 if eval "test \"\${$as_ac_var+set}\" = set"; then
35314   echo $ECHO_N "(cached) $ECHO_C" >&6
35315 else
35316   if test x$gcc_no_link = xyes; then
35317   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35319    { (exit 1); exit 1; }; }
35320 fi
35321 cat >conftest.$ac_ext <<_ACEOF
35322 /* confdefs.h.  */
35323 _ACEOF
35324 cat confdefs.h >>conftest.$ac_ext
35325 cat >>conftest.$ac_ext <<_ACEOF
35326 /* end confdefs.h.  */
35327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35328    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35329 #define $ac_func innocuous_$ac_func
35330
35331 /* System header to define __stub macros and hopefully few prototypes,
35332     which can conflict with char $ac_func (); below.
35333     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35334     <limits.h> exists even on freestanding compilers.  */
35335
35336 #ifdef __STDC__
35337 # include <limits.h>
35338 #else
35339 # include <assert.h>
35340 #endif
35341
35342 #undef $ac_func
35343
35344 /* Override any gcc2 internal prototype to avoid an error.  */
35345 #ifdef __cplusplus
35346 extern "C"
35347 {
35348 #endif
35349 /* We use char because int might match the return type of a gcc2
35350    builtin and then its argument prototype would still apply.  */
35351 char $ac_func ();
35352 /* The GNU C library defines this for functions which it implements
35353     to always fail with ENOSYS.  Some functions are actually named
35354     something starting with __ and the normal name is an alias.  */
35355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35356 choke me
35357 #else
35358 char (*f) () = $ac_func;
35359 #endif
35360 #ifdef __cplusplus
35361 }
35362 #endif
35363
35364 int
35365 main ()
35366 {
35367 return f != $ac_func;
35368   ;
35369   return 0;
35370 }
35371 _ACEOF
35372 rm -f conftest.$ac_objext conftest$ac_exeext
35373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35374   (eval $ac_link) 2>conftest.er1
35375   ac_status=$?
35376   grep -v '^ *+' conftest.er1 >conftest.err
35377   rm -f conftest.er1
35378   cat conftest.err >&5
35379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35380   (exit $ac_status); } &&
35381          { ac_try='test -z "$ac_c_werror_flag"
35382                          || test ! -s conftest.err'
35383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35384   (eval $ac_try) 2>&5
35385   ac_status=$?
35386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35387   (exit $ac_status); }; } &&
35388          { ac_try='test -s conftest$ac_exeext'
35389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35390   (eval $ac_try) 2>&5
35391   ac_status=$?
35392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35393   (exit $ac_status); }; }; then
35394   eval "$as_ac_var=yes"
35395 else
35396   echo "$as_me: failed program was:" >&5
35397 sed 's/^/| /' conftest.$ac_ext >&5
35398
35399 eval "$as_ac_var=no"
35400 fi
35401 rm -f conftest.err conftest.$ac_objext \
35402       conftest$ac_exeext conftest.$ac_ext
35403 fi
35404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35406 if test `eval echo '${'$as_ac_var'}'` = yes; then
35407   cat >>confdefs.h <<_ACEOF
35408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35409 _ACEOF
35410
35411 fi
35412 done
35413
35414   else
35415
35416   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
35417 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
35418   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35419     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
35420   echo $ECHO_N "(cached) $ECHO_C" >&6
35421 else
35422
35423
35424
35425       ac_ext=cc
35426 ac_cpp='$CXXCPP $CPPFLAGS'
35427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35430
35431       cat >conftest.$ac_ext <<_ACEOF
35432 /* confdefs.h.  */
35433 _ACEOF
35434 cat confdefs.h >>conftest.$ac_ext
35435 cat >>conftest.$ac_ext <<_ACEOF
35436 /* end confdefs.h.  */
35437 #include <math.h>
35438                       #ifdef HAVE_IEEEFP_H
35439                       #include <ieeefp.h>
35440                       #endif
35441
35442 int
35443 main ()
35444 {
35445  _isnanf(0);
35446   ;
35447   return 0;
35448 }
35449 _ACEOF
35450 rm -f conftest.$ac_objext
35451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35452   (eval $ac_compile) 2>conftest.er1
35453   ac_status=$?
35454   grep -v '^ *+' conftest.er1 >conftest.err
35455   rm -f conftest.er1
35456   cat conftest.err >&5
35457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35458   (exit $ac_status); } &&
35459          { ac_try='test -z "$ac_cxx_werror_flag"
35460                          || test ! -s conftest.err'
35461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35462   (eval $ac_try) 2>&5
35463   ac_status=$?
35464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35465   (exit $ac_status); }; } &&
35466          { ac_try='test -s conftest.$ac_objext'
35467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35468   (eval $ac_try) 2>&5
35469   ac_status=$?
35470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35471   (exit $ac_status); }; }; then
35472   glibcxx_cv_func__isnanf_use=yes
35473 else
35474   echo "$as_me: failed program was:" >&5
35475 sed 's/^/| /' conftest.$ac_ext >&5
35476
35477 glibcxx_cv_func__isnanf_use=no
35478 fi
35479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35480       ac_ext=c
35481 ac_cpp='$CPP $CPPFLAGS'
35482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35485
35486
35487 fi
35488
35489   fi
35490   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
35491 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
35492
35493     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35494
35495 for ac_func in _isnanf
35496 do
35497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35498 echo "$as_me:$LINENO: checking for $ac_func" >&5
35499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35500 if eval "test \"\${$as_ac_var+set}\" = set"; then
35501   echo $ECHO_N "(cached) $ECHO_C" >&6
35502 else
35503   if test x$gcc_no_link = xyes; then
35504   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35506    { (exit 1); exit 1; }; }
35507 fi
35508 cat >conftest.$ac_ext <<_ACEOF
35509 /* confdefs.h.  */
35510 _ACEOF
35511 cat confdefs.h >>conftest.$ac_ext
35512 cat >>conftest.$ac_ext <<_ACEOF
35513 /* end confdefs.h.  */
35514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35515    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35516 #define $ac_func innocuous_$ac_func
35517
35518 /* System header to define __stub macros and hopefully few prototypes,
35519     which can conflict with char $ac_func (); below.
35520     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35521     <limits.h> exists even on freestanding compilers.  */
35522
35523 #ifdef __STDC__
35524 # include <limits.h>
35525 #else
35526 # include <assert.h>
35527 #endif
35528
35529 #undef $ac_func
35530
35531 /* Override any gcc2 internal prototype to avoid an error.  */
35532 #ifdef __cplusplus
35533 extern "C"
35534 {
35535 #endif
35536 /* We use char because int might match the return type of a gcc2
35537    builtin and then its argument prototype would still apply.  */
35538 char $ac_func ();
35539 /* The GNU C library defines this for functions which it implements
35540     to always fail with ENOSYS.  Some functions are actually named
35541     something starting with __ and the normal name is an alias.  */
35542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35543 choke me
35544 #else
35545 char (*f) () = $ac_func;
35546 #endif
35547 #ifdef __cplusplus
35548 }
35549 #endif
35550
35551 int
35552 main ()
35553 {
35554 return f != $ac_func;
35555   ;
35556   return 0;
35557 }
35558 _ACEOF
35559 rm -f conftest.$ac_objext conftest$ac_exeext
35560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35561   (eval $ac_link) 2>conftest.er1
35562   ac_status=$?
35563   grep -v '^ *+' conftest.er1 >conftest.err
35564   rm -f conftest.er1
35565   cat conftest.err >&5
35566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35567   (exit $ac_status); } &&
35568          { ac_try='test -z "$ac_c_werror_flag"
35569                          || test ! -s conftest.err'
35570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35571   (eval $ac_try) 2>&5
35572   ac_status=$?
35573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35574   (exit $ac_status); }; } &&
35575          { ac_try='test -s conftest$ac_exeext'
35576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35577   (eval $ac_try) 2>&5
35578   ac_status=$?
35579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35580   (exit $ac_status); }; }; then
35581   eval "$as_ac_var=yes"
35582 else
35583   echo "$as_me: failed program was:" >&5
35584 sed 's/^/| /' conftest.$ac_ext >&5
35585
35586 eval "$as_ac_var=no"
35587 fi
35588 rm -f conftest.err conftest.$ac_objext \
35589       conftest$ac_exeext conftest.$ac_ext
35590 fi
35591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35593 if test `eval echo '${'$as_ac_var'}'` = yes; then
35594   cat >>confdefs.h <<_ACEOF
35595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35596 _ACEOF
35597
35598 fi
35599 done
35600
35601     fi
35602   fi
35603
35604
35605
35606   echo "$as_me:$LINENO: checking for isinff declaration" >&5
35607 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
35608   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35609     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
35610   echo $ECHO_N "(cached) $ECHO_C" >&6
35611 else
35612
35613
35614
35615       ac_ext=cc
35616 ac_cpp='$CXXCPP $CPPFLAGS'
35617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35620
35621       cat >conftest.$ac_ext <<_ACEOF
35622 /* confdefs.h.  */
35623 _ACEOF
35624 cat confdefs.h >>conftest.$ac_ext
35625 cat >>conftest.$ac_ext <<_ACEOF
35626 /* end confdefs.h.  */
35627 #include <math.h>
35628                       #ifdef HAVE_IEEEFP_H
35629                       #include <ieeefp.h>
35630                       #endif
35631
35632 int
35633 main ()
35634 {
35635  isinff(0);
35636   ;
35637   return 0;
35638 }
35639 _ACEOF
35640 rm -f conftest.$ac_objext
35641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35642   (eval $ac_compile) 2>conftest.er1
35643   ac_status=$?
35644   grep -v '^ *+' conftest.er1 >conftest.err
35645   rm -f conftest.er1
35646   cat conftest.err >&5
35647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35648   (exit $ac_status); } &&
35649          { ac_try='test -z "$ac_cxx_werror_flag"
35650                          || test ! -s conftest.err'
35651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35652   (eval $ac_try) 2>&5
35653   ac_status=$?
35654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35655   (exit $ac_status); }; } &&
35656          { ac_try='test -s conftest.$ac_objext'
35657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35658   (eval $ac_try) 2>&5
35659   ac_status=$?
35660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35661   (exit $ac_status); }; }; then
35662   glibcxx_cv_func_isinff_use=yes
35663 else
35664   echo "$as_me: failed program was:" >&5
35665 sed 's/^/| /' conftest.$ac_ext >&5
35666
35667 glibcxx_cv_func_isinff_use=no
35668 fi
35669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35670       ac_ext=c
35671 ac_cpp='$CPP $CPPFLAGS'
35672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35675
35676
35677 fi
35678
35679   fi
35680   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
35681 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
35682
35683   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35684
35685 for ac_func in isinff
35686 do
35687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35688 echo "$as_me:$LINENO: checking for $ac_func" >&5
35689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35690 if eval "test \"\${$as_ac_var+set}\" = set"; then
35691   echo $ECHO_N "(cached) $ECHO_C" >&6
35692 else
35693   if test x$gcc_no_link = xyes; then
35694   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35696    { (exit 1); exit 1; }; }
35697 fi
35698 cat >conftest.$ac_ext <<_ACEOF
35699 /* confdefs.h.  */
35700 _ACEOF
35701 cat confdefs.h >>conftest.$ac_ext
35702 cat >>conftest.$ac_ext <<_ACEOF
35703 /* end confdefs.h.  */
35704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35705    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35706 #define $ac_func innocuous_$ac_func
35707
35708 /* System header to define __stub macros and hopefully few prototypes,
35709     which can conflict with char $ac_func (); below.
35710     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35711     <limits.h> exists even on freestanding compilers.  */
35712
35713 #ifdef __STDC__
35714 # include <limits.h>
35715 #else
35716 # include <assert.h>
35717 #endif
35718
35719 #undef $ac_func
35720
35721 /* Override any gcc2 internal prototype to avoid an error.  */
35722 #ifdef __cplusplus
35723 extern "C"
35724 {
35725 #endif
35726 /* We use char because int might match the return type of a gcc2
35727    builtin and then its argument prototype would still apply.  */
35728 char $ac_func ();
35729 /* The GNU C library defines this for functions which it implements
35730     to always fail with ENOSYS.  Some functions are actually named
35731     something starting with __ and the normal name is an alias.  */
35732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35733 choke me
35734 #else
35735 char (*f) () = $ac_func;
35736 #endif
35737 #ifdef __cplusplus
35738 }
35739 #endif
35740
35741 int
35742 main ()
35743 {
35744 return f != $ac_func;
35745   ;
35746   return 0;
35747 }
35748 _ACEOF
35749 rm -f conftest.$ac_objext conftest$ac_exeext
35750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35751   (eval $ac_link) 2>conftest.er1
35752   ac_status=$?
35753   grep -v '^ *+' conftest.er1 >conftest.err
35754   rm -f conftest.er1
35755   cat conftest.err >&5
35756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35757   (exit $ac_status); } &&
35758          { ac_try='test -z "$ac_c_werror_flag"
35759                          || test ! -s conftest.err'
35760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35761   (eval $ac_try) 2>&5
35762   ac_status=$?
35763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35764   (exit $ac_status); }; } &&
35765          { ac_try='test -s conftest$ac_exeext'
35766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35767   (eval $ac_try) 2>&5
35768   ac_status=$?
35769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35770   (exit $ac_status); }; }; then
35771   eval "$as_ac_var=yes"
35772 else
35773   echo "$as_me: failed program was:" >&5
35774 sed 's/^/| /' conftest.$ac_ext >&5
35775
35776 eval "$as_ac_var=no"
35777 fi
35778 rm -f conftest.err conftest.$ac_objext \
35779       conftest$ac_exeext conftest.$ac_ext
35780 fi
35781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35783 if test `eval echo '${'$as_ac_var'}'` = yes; then
35784   cat >>confdefs.h <<_ACEOF
35785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35786 _ACEOF
35787
35788 fi
35789 done
35790
35791   else
35792
35793   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
35794 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
35795   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35796     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
35797   echo $ECHO_N "(cached) $ECHO_C" >&6
35798 else
35799
35800
35801
35802       ac_ext=cc
35803 ac_cpp='$CXXCPP $CPPFLAGS'
35804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35807
35808       cat >conftest.$ac_ext <<_ACEOF
35809 /* confdefs.h.  */
35810 _ACEOF
35811 cat confdefs.h >>conftest.$ac_ext
35812 cat >>conftest.$ac_ext <<_ACEOF
35813 /* end confdefs.h.  */
35814 #include <math.h>
35815                       #ifdef HAVE_IEEEFP_H
35816                       #include <ieeefp.h>
35817                       #endif
35818
35819 int
35820 main ()
35821 {
35822  _isinff(0);
35823   ;
35824   return 0;
35825 }
35826 _ACEOF
35827 rm -f conftest.$ac_objext
35828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35829   (eval $ac_compile) 2>conftest.er1
35830   ac_status=$?
35831   grep -v '^ *+' conftest.er1 >conftest.err
35832   rm -f conftest.er1
35833   cat conftest.err >&5
35834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35835   (exit $ac_status); } &&
35836          { ac_try='test -z "$ac_cxx_werror_flag"
35837                          || test ! -s conftest.err'
35838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35839   (eval $ac_try) 2>&5
35840   ac_status=$?
35841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35842   (exit $ac_status); }; } &&
35843          { ac_try='test -s conftest.$ac_objext'
35844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35845   (eval $ac_try) 2>&5
35846   ac_status=$?
35847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35848   (exit $ac_status); }; }; then
35849   glibcxx_cv_func__isinff_use=yes
35850 else
35851   echo "$as_me: failed program was:" >&5
35852 sed 's/^/| /' conftest.$ac_ext >&5
35853
35854 glibcxx_cv_func__isinff_use=no
35855 fi
35856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35857       ac_ext=c
35858 ac_cpp='$CPP $CPPFLAGS'
35859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35862
35863
35864 fi
35865
35866   fi
35867   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
35868 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
35869
35870     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35871
35872 for ac_func in _isinff
35873 do
35874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35875 echo "$as_me:$LINENO: checking for $ac_func" >&5
35876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35877 if eval "test \"\${$as_ac_var+set}\" = set"; then
35878   echo $ECHO_N "(cached) $ECHO_C" >&6
35879 else
35880   if test x$gcc_no_link = xyes; then
35881   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35883    { (exit 1); exit 1; }; }
35884 fi
35885 cat >conftest.$ac_ext <<_ACEOF
35886 /* confdefs.h.  */
35887 _ACEOF
35888 cat confdefs.h >>conftest.$ac_ext
35889 cat >>conftest.$ac_ext <<_ACEOF
35890 /* end confdefs.h.  */
35891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35892    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35893 #define $ac_func innocuous_$ac_func
35894
35895 /* System header to define __stub macros and hopefully few prototypes,
35896     which can conflict with char $ac_func (); below.
35897     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35898     <limits.h> exists even on freestanding compilers.  */
35899
35900 #ifdef __STDC__
35901 # include <limits.h>
35902 #else
35903 # include <assert.h>
35904 #endif
35905
35906 #undef $ac_func
35907
35908 /* Override any gcc2 internal prototype to avoid an error.  */
35909 #ifdef __cplusplus
35910 extern "C"
35911 {
35912 #endif
35913 /* We use char because int might match the return type of a gcc2
35914    builtin and then its argument prototype would still apply.  */
35915 char $ac_func ();
35916 /* The GNU C library defines this for functions which it implements
35917     to always fail with ENOSYS.  Some functions are actually named
35918     something starting with __ and the normal name is an alias.  */
35919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35920 choke me
35921 #else
35922 char (*f) () = $ac_func;
35923 #endif
35924 #ifdef __cplusplus
35925 }
35926 #endif
35927
35928 int
35929 main ()
35930 {
35931 return f != $ac_func;
35932   ;
35933   return 0;
35934 }
35935 _ACEOF
35936 rm -f conftest.$ac_objext conftest$ac_exeext
35937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35938   (eval $ac_link) 2>conftest.er1
35939   ac_status=$?
35940   grep -v '^ *+' conftest.er1 >conftest.err
35941   rm -f conftest.er1
35942   cat conftest.err >&5
35943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35944   (exit $ac_status); } &&
35945          { ac_try='test -z "$ac_c_werror_flag"
35946                          || test ! -s conftest.err'
35947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35948   (eval $ac_try) 2>&5
35949   ac_status=$?
35950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35951   (exit $ac_status); }; } &&
35952          { ac_try='test -s conftest$ac_exeext'
35953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35954   (eval $ac_try) 2>&5
35955   ac_status=$?
35956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35957   (exit $ac_status); }; }; then
35958   eval "$as_ac_var=yes"
35959 else
35960   echo "$as_me: failed program was:" >&5
35961 sed 's/^/| /' conftest.$ac_ext >&5
35962
35963 eval "$as_ac_var=no"
35964 fi
35965 rm -f conftest.err conftest.$ac_objext \
35966       conftest$ac_exeext conftest.$ac_ext
35967 fi
35968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35970 if test `eval echo '${'$as_ac_var'}'` = yes; then
35971   cat >>confdefs.h <<_ACEOF
35972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35973 _ACEOF
35974
35975 fi
35976 done
35977
35978     fi
35979   fi
35980
35981
35982
35983   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
35984 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
35985   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35986     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
35987   echo $ECHO_N "(cached) $ECHO_C" >&6
35988 else
35989
35990
35991
35992       ac_ext=cc
35993 ac_cpp='$CXXCPP $CPPFLAGS'
35994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35997
35998       cat >conftest.$ac_ext <<_ACEOF
35999 /* confdefs.h.  */
36000 _ACEOF
36001 cat confdefs.h >>conftest.$ac_ext
36002 cat >>conftest.$ac_ext <<_ACEOF
36003 /* end confdefs.h.  */
36004 #include <math.h>
36005 int
36006 main ()
36007 {
36008  atan2f(0, 0);
36009   ;
36010   return 0;
36011 }
36012 _ACEOF
36013 rm -f conftest.$ac_objext
36014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36015   (eval $ac_compile) 2>conftest.er1
36016   ac_status=$?
36017   grep -v '^ *+' conftest.er1 >conftest.err
36018   rm -f conftest.er1
36019   cat conftest.err >&5
36020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36021   (exit $ac_status); } &&
36022          { ac_try='test -z "$ac_cxx_werror_flag"
36023                          || test ! -s conftest.err'
36024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36025   (eval $ac_try) 2>&5
36026   ac_status=$?
36027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36028   (exit $ac_status); }; } &&
36029          { ac_try='test -s conftest.$ac_objext'
36030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36031   (eval $ac_try) 2>&5
36032   ac_status=$?
36033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36034   (exit $ac_status); }; }; then
36035   glibcxx_cv_func_atan2f_use=yes
36036 else
36037   echo "$as_me: failed program was:" >&5
36038 sed 's/^/| /' conftest.$ac_ext >&5
36039
36040 glibcxx_cv_func_atan2f_use=no
36041 fi
36042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36043       ac_ext=c
36044 ac_cpp='$CPP $CPPFLAGS'
36045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36048
36049
36050 fi
36051
36052   fi
36053   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
36054 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
36055
36056   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36057
36058 for ac_func in atan2f
36059 do
36060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36061 echo "$as_me:$LINENO: checking for $ac_func" >&5
36062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36063 if eval "test \"\${$as_ac_var+set}\" = set"; then
36064   echo $ECHO_N "(cached) $ECHO_C" >&6
36065 else
36066   if test x$gcc_no_link = xyes; then
36067   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36069    { (exit 1); exit 1; }; }
36070 fi
36071 cat >conftest.$ac_ext <<_ACEOF
36072 /* confdefs.h.  */
36073 _ACEOF
36074 cat confdefs.h >>conftest.$ac_ext
36075 cat >>conftest.$ac_ext <<_ACEOF
36076 /* end confdefs.h.  */
36077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36078    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36079 #define $ac_func innocuous_$ac_func
36080
36081 /* System header to define __stub macros and hopefully few prototypes,
36082     which can conflict with char $ac_func (); below.
36083     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36084     <limits.h> exists even on freestanding compilers.  */
36085
36086 #ifdef __STDC__
36087 # include <limits.h>
36088 #else
36089 # include <assert.h>
36090 #endif
36091
36092 #undef $ac_func
36093
36094 /* Override any gcc2 internal prototype to avoid an error.  */
36095 #ifdef __cplusplus
36096 extern "C"
36097 {
36098 #endif
36099 /* We use char because int might match the return type of a gcc2
36100    builtin and then its argument prototype would still apply.  */
36101 char $ac_func ();
36102 /* The GNU C library defines this for functions which it implements
36103     to always fail with ENOSYS.  Some functions are actually named
36104     something starting with __ and the normal name is an alias.  */
36105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36106 choke me
36107 #else
36108 char (*f) () = $ac_func;
36109 #endif
36110 #ifdef __cplusplus
36111 }
36112 #endif
36113
36114 int
36115 main ()
36116 {
36117 return f != $ac_func;
36118   ;
36119   return 0;
36120 }
36121 _ACEOF
36122 rm -f conftest.$ac_objext conftest$ac_exeext
36123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36124   (eval $ac_link) 2>conftest.er1
36125   ac_status=$?
36126   grep -v '^ *+' conftest.er1 >conftest.err
36127   rm -f conftest.er1
36128   cat conftest.err >&5
36129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36130   (exit $ac_status); } &&
36131          { ac_try='test -z "$ac_c_werror_flag"
36132                          || test ! -s conftest.err'
36133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36134   (eval $ac_try) 2>&5
36135   ac_status=$?
36136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36137   (exit $ac_status); }; } &&
36138          { ac_try='test -s conftest$ac_exeext'
36139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36140   (eval $ac_try) 2>&5
36141   ac_status=$?
36142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36143   (exit $ac_status); }; }; then
36144   eval "$as_ac_var=yes"
36145 else
36146   echo "$as_me: failed program was:" >&5
36147 sed 's/^/| /' conftest.$ac_ext >&5
36148
36149 eval "$as_ac_var=no"
36150 fi
36151 rm -f conftest.err conftest.$ac_objext \
36152       conftest$ac_exeext conftest.$ac_ext
36153 fi
36154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36156 if test `eval echo '${'$as_ac_var'}'` = yes; then
36157   cat >>confdefs.h <<_ACEOF
36158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36159 _ACEOF
36160
36161 fi
36162 done
36163
36164   else
36165
36166   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
36167 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
36168   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36169     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
36170   echo $ECHO_N "(cached) $ECHO_C" >&6
36171 else
36172
36173
36174
36175       ac_ext=cc
36176 ac_cpp='$CXXCPP $CPPFLAGS'
36177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36180
36181       cat >conftest.$ac_ext <<_ACEOF
36182 /* confdefs.h.  */
36183 _ACEOF
36184 cat confdefs.h >>conftest.$ac_ext
36185 cat >>conftest.$ac_ext <<_ACEOF
36186 /* end confdefs.h.  */
36187 #include <math.h>
36188 int
36189 main ()
36190 {
36191  _atan2f(0, 0);
36192   ;
36193   return 0;
36194 }
36195 _ACEOF
36196 rm -f conftest.$ac_objext
36197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36198   (eval $ac_compile) 2>conftest.er1
36199   ac_status=$?
36200   grep -v '^ *+' conftest.er1 >conftest.err
36201   rm -f conftest.er1
36202   cat conftest.err >&5
36203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36204   (exit $ac_status); } &&
36205          { ac_try='test -z "$ac_cxx_werror_flag"
36206                          || test ! -s conftest.err'
36207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36208   (eval $ac_try) 2>&5
36209   ac_status=$?
36210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36211   (exit $ac_status); }; } &&
36212          { ac_try='test -s conftest.$ac_objext'
36213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36214   (eval $ac_try) 2>&5
36215   ac_status=$?
36216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36217   (exit $ac_status); }; }; then
36218   glibcxx_cv_func__atan2f_use=yes
36219 else
36220   echo "$as_me: failed program was:" >&5
36221 sed 's/^/| /' conftest.$ac_ext >&5
36222
36223 glibcxx_cv_func__atan2f_use=no
36224 fi
36225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36226       ac_ext=c
36227 ac_cpp='$CPP $CPPFLAGS'
36228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36231
36232
36233 fi
36234
36235   fi
36236   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
36237 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
36238
36239     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36240
36241 for ac_func in _atan2f
36242 do
36243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36244 echo "$as_me:$LINENO: checking for $ac_func" >&5
36245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36246 if eval "test \"\${$as_ac_var+set}\" = set"; then
36247   echo $ECHO_N "(cached) $ECHO_C" >&6
36248 else
36249   if test x$gcc_no_link = xyes; then
36250   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36252    { (exit 1); exit 1; }; }
36253 fi
36254 cat >conftest.$ac_ext <<_ACEOF
36255 /* confdefs.h.  */
36256 _ACEOF
36257 cat confdefs.h >>conftest.$ac_ext
36258 cat >>conftest.$ac_ext <<_ACEOF
36259 /* end confdefs.h.  */
36260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36261    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36262 #define $ac_func innocuous_$ac_func
36263
36264 /* System header to define __stub macros and hopefully few prototypes,
36265     which can conflict with char $ac_func (); below.
36266     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36267     <limits.h> exists even on freestanding compilers.  */
36268
36269 #ifdef __STDC__
36270 # include <limits.h>
36271 #else
36272 # include <assert.h>
36273 #endif
36274
36275 #undef $ac_func
36276
36277 /* Override any gcc2 internal prototype to avoid an error.  */
36278 #ifdef __cplusplus
36279 extern "C"
36280 {
36281 #endif
36282 /* We use char because int might match the return type of a gcc2
36283    builtin and then its argument prototype would still apply.  */
36284 char $ac_func ();
36285 /* The GNU C library defines this for functions which it implements
36286     to always fail with ENOSYS.  Some functions are actually named
36287     something starting with __ and the normal name is an alias.  */
36288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36289 choke me
36290 #else
36291 char (*f) () = $ac_func;
36292 #endif
36293 #ifdef __cplusplus
36294 }
36295 #endif
36296
36297 int
36298 main ()
36299 {
36300 return f != $ac_func;
36301   ;
36302   return 0;
36303 }
36304 _ACEOF
36305 rm -f conftest.$ac_objext conftest$ac_exeext
36306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36307   (eval $ac_link) 2>conftest.er1
36308   ac_status=$?
36309   grep -v '^ *+' conftest.er1 >conftest.err
36310   rm -f conftest.er1
36311   cat conftest.err >&5
36312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36313   (exit $ac_status); } &&
36314          { ac_try='test -z "$ac_c_werror_flag"
36315                          || test ! -s conftest.err'
36316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36317   (eval $ac_try) 2>&5
36318   ac_status=$?
36319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36320   (exit $ac_status); }; } &&
36321          { ac_try='test -s conftest$ac_exeext'
36322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36323   (eval $ac_try) 2>&5
36324   ac_status=$?
36325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36326   (exit $ac_status); }; }; then
36327   eval "$as_ac_var=yes"
36328 else
36329   echo "$as_me: failed program was:" >&5
36330 sed 's/^/| /' conftest.$ac_ext >&5
36331
36332 eval "$as_ac_var=no"
36333 fi
36334 rm -f conftest.err conftest.$ac_objext \
36335       conftest$ac_exeext conftest.$ac_ext
36336 fi
36337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36339 if test `eval echo '${'$as_ac_var'}'` = yes; then
36340   cat >>confdefs.h <<_ACEOF
36341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36342 _ACEOF
36343
36344 fi
36345 done
36346
36347     fi
36348   fi
36349
36350
36351
36352   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
36353 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
36354   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36355     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
36356   echo $ECHO_N "(cached) $ECHO_C" >&6
36357 else
36358
36359
36360
36361       ac_ext=cc
36362 ac_cpp='$CXXCPP $CPPFLAGS'
36363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36366
36367       cat >conftest.$ac_ext <<_ACEOF
36368 /* confdefs.h.  */
36369 _ACEOF
36370 cat confdefs.h >>conftest.$ac_ext
36371 cat >>conftest.$ac_ext <<_ACEOF
36372 /* end confdefs.h.  */
36373 #include <math.h>
36374                       #ifdef HAVE_IEEEFP_H
36375                       #include <ieeefp.h>
36376                       #endif
36377
36378 int
36379 main ()
36380 {
36381  fabsf(0);
36382   ;
36383   return 0;
36384 }
36385 _ACEOF
36386 rm -f conftest.$ac_objext
36387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36388   (eval $ac_compile) 2>conftest.er1
36389   ac_status=$?
36390   grep -v '^ *+' conftest.er1 >conftest.err
36391   rm -f conftest.er1
36392   cat conftest.err >&5
36393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36394   (exit $ac_status); } &&
36395          { ac_try='test -z "$ac_cxx_werror_flag"
36396                          || test ! -s conftest.err'
36397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36398   (eval $ac_try) 2>&5
36399   ac_status=$?
36400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36401   (exit $ac_status); }; } &&
36402          { ac_try='test -s conftest.$ac_objext'
36403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36404   (eval $ac_try) 2>&5
36405   ac_status=$?
36406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36407   (exit $ac_status); }; }; then
36408   glibcxx_cv_func_fabsf_use=yes
36409 else
36410   echo "$as_me: failed program was:" >&5
36411 sed 's/^/| /' conftest.$ac_ext >&5
36412
36413 glibcxx_cv_func_fabsf_use=no
36414 fi
36415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36416       ac_ext=c
36417 ac_cpp='$CPP $CPPFLAGS'
36418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36421
36422
36423 fi
36424
36425   fi
36426   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
36427 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
36428
36429   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36430
36431 for ac_func in fabsf
36432 do
36433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36434 echo "$as_me:$LINENO: checking for $ac_func" >&5
36435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36436 if eval "test \"\${$as_ac_var+set}\" = set"; then
36437   echo $ECHO_N "(cached) $ECHO_C" >&6
36438 else
36439   if test x$gcc_no_link = xyes; then
36440   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36442    { (exit 1); exit 1; }; }
36443 fi
36444 cat >conftest.$ac_ext <<_ACEOF
36445 /* confdefs.h.  */
36446 _ACEOF
36447 cat confdefs.h >>conftest.$ac_ext
36448 cat >>conftest.$ac_ext <<_ACEOF
36449 /* end confdefs.h.  */
36450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36451    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36452 #define $ac_func innocuous_$ac_func
36453
36454 /* System header to define __stub macros and hopefully few prototypes,
36455     which can conflict with char $ac_func (); below.
36456     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36457     <limits.h> exists even on freestanding compilers.  */
36458
36459 #ifdef __STDC__
36460 # include <limits.h>
36461 #else
36462 # include <assert.h>
36463 #endif
36464
36465 #undef $ac_func
36466
36467 /* Override any gcc2 internal prototype to avoid an error.  */
36468 #ifdef __cplusplus
36469 extern "C"
36470 {
36471 #endif
36472 /* We use char because int might match the return type of a gcc2
36473    builtin and then its argument prototype would still apply.  */
36474 char $ac_func ();
36475 /* The GNU C library defines this for functions which it implements
36476     to always fail with ENOSYS.  Some functions are actually named
36477     something starting with __ and the normal name is an alias.  */
36478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36479 choke me
36480 #else
36481 char (*f) () = $ac_func;
36482 #endif
36483 #ifdef __cplusplus
36484 }
36485 #endif
36486
36487 int
36488 main ()
36489 {
36490 return f != $ac_func;
36491   ;
36492   return 0;
36493 }
36494 _ACEOF
36495 rm -f conftest.$ac_objext conftest$ac_exeext
36496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36497   (eval $ac_link) 2>conftest.er1
36498   ac_status=$?
36499   grep -v '^ *+' conftest.er1 >conftest.err
36500   rm -f conftest.er1
36501   cat conftest.err >&5
36502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36503   (exit $ac_status); } &&
36504          { ac_try='test -z "$ac_c_werror_flag"
36505                          || test ! -s conftest.err'
36506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36507   (eval $ac_try) 2>&5
36508   ac_status=$?
36509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36510   (exit $ac_status); }; } &&
36511          { ac_try='test -s conftest$ac_exeext'
36512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36513   (eval $ac_try) 2>&5
36514   ac_status=$?
36515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36516   (exit $ac_status); }; }; then
36517   eval "$as_ac_var=yes"
36518 else
36519   echo "$as_me: failed program was:" >&5
36520 sed 's/^/| /' conftest.$ac_ext >&5
36521
36522 eval "$as_ac_var=no"
36523 fi
36524 rm -f conftest.err conftest.$ac_objext \
36525       conftest$ac_exeext conftest.$ac_ext
36526 fi
36527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36529 if test `eval echo '${'$as_ac_var'}'` = yes; then
36530   cat >>confdefs.h <<_ACEOF
36531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36532 _ACEOF
36533
36534 fi
36535 done
36536
36537   else
36538
36539   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
36540 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
36541   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36542     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
36543   echo $ECHO_N "(cached) $ECHO_C" >&6
36544 else
36545
36546
36547
36548       ac_ext=cc
36549 ac_cpp='$CXXCPP $CPPFLAGS'
36550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36553
36554       cat >conftest.$ac_ext <<_ACEOF
36555 /* confdefs.h.  */
36556 _ACEOF
36557 cat confdefs.h >>conftest.$ac_ext
36558 cat >>conftest.$ac_ext <<_ACEOF
36559 /* end confdefs.h.  */
36560 #include <math.h>
36561                       #ifdef HAVE_IEEEFP_H
36562                       #include <ieeefp.h>
36563                       #endif
36564
36565 int
36566 main ()
36567 {
36568  _fabsf(0);
36569   ;
36570   return 0;
36571 }
36572 _ACEOF
36573 rm -f conftest.$ac_objext
36574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36575   (eval $ac_compile) 2>conftest.er1
36576   ac_status=$?
36577   grep -v '^ *+' conftest.er1 >conftest.err
36578   rm -f conftest.er1
36579   cat conftest.err >&5
36580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36581   (exit $ac_status); } &&
36582          { ac_try='test -z "$ac_cxx_werror_flag"
36583                          || test ! -s conftest.err'
36584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36585   (eval $ac_try) 2>&5
36586   ac_status=$?
36587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36588   (exit $ac_status); }; } &&
36589          { ac_try='test -s conftest.$ac_objext'
36590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36591   (eval $ac_try) 2>&5
36592   ac_status=$?
36593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36594   (exit $ac_status); }; }; then
36595   glibcxx_cv_func__fabsf_use=yes
36596 else
36597   echo "$as_me: failed program was:" >&5
36598 sed 's/^/| /' conftest.$ac_ext >&5
36599
36600 glibcxx_cv_func__fabsf_use=no
36601 fi
36602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36603       ac_ext=c
36604 ac_cpp='$CPP $CPPFLAGS'
36605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36608
36609
36610 fi
36611
36612   fi
36613   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
36614 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
36615
36616     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36617
36618 for ac_func in _fabsf
36619 do
36620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36621 echo "$as_me:$LINENO: checking for $ac_func" >&5
36622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36623 if eval "test \"\${$as_ac_var+set}\" = set"; then
36624   echo $ECHO_N "(cached) $ECHO_C" >&6
36625 else
36626   if test x$gcc_no_link = xyes; then
36627   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36629    { (exit 1); exit 1; }; }
36630 fi
36631 cat >conftest.$ac_ext <<_ACEOF
36632 /* confdefs.h.  */
36633 _ACEOF
36634 cat confdefs.h >>conftest.$ac_ext
36635 cat >>conftest.$ac_ext <<_ACEOF
36636 /* end confdefs.h.  */
36637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36638    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36639 #define $ac_func innocuous_$ac_func
36640
36641 /* System header to define __stub macros and hopefully few prototypes,
36642     which can conflict with char $ac_func (); below.
36643     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36644     <limits.h> exists even on freestanding compilers.  */
36645
36646 #ifdef __STDC__
36647 # include <limits.h>
36648 #else
36649 # include <assert.h>
36650 #endif
36651
36652 #undef $ac_func
36653
36654 /* Override any gcc2 internal prototype to avoid an error.  */
36655 #ifdef __cplusplus
36656 extern "C"
36657 {
36658 #endif
36659 /* We use char because int might match the return type of a gcc2
36660    builtin and then its argument prototype would still apply.  */
36661 char $ac_func ();
36662 /* The GNU C library defines this for functions which it implements
36663     to always fail with ENOSYS.  Some functions are actually named
36664     something starting with __ and the normal name is an alias.  */
36665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36666 choke me
36667 #else
36668 char (*f) () = $ac_func;
36669 #endif
36670 #ifdef __cplusplus
36671 }
36672 #endif
36673
36674 int
36675 main ()
36676 {
36677 return f != $ac_func;
36678   ;
36679   return 0;
36680 }
36681 _ACEOF
36682 rm -f conftest.$ac_objext conftest$ac_exeext
36683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36684   (eval $ac_link) 2>conftest.er1
36685   ac_status=$?
36686   grep -v '^ *+' conftest.er1 >conftest.err
36687   rm -f conftest.er1
36688   cat conftest.err >&5
36689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36690   (exit $ac_status); } &&
36691          { ac_try='test -z "$ac_c_werror_flag"
36692                          || test ! -s conftest.err'
36693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36694   (eval $ac_try) 2>&5
36695   ac_status=$?
36696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36697   (exit $ac_status); }; } &&
36698          { ac_try='test -s conftest$ac_exeext'
36699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36700   (eval $ac_try) 2>&5
36701   ac_status=$?
36702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36703   (exit $ac_status); }; }; then
36704   eval "$as_ac_var=yes"
36705 else
36706   echo "$as_me: failed program was:" >&5
36707 sed 's/^/| /' conftest.$ac_ext >&5
36708
36709 eval "$as_ac_var=no"
36710 fi
36711 rm -f conftest.err conftest.$ac_objext \
36712       conftest$ac_exeext conftest.$ac_ext
36713 fi
36714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36716 if test `eval echo '${'$as_ac_var'}'` = yes; then
36717   cat >>confdefs.h <<_ACEOF
36718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36719 _ACEOF
36720
36721 fi
36722 done
36723
36724     fi
36725   fi
36726
36727
36728
36729   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
36730 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
36731   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36732     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
36733   echo $ECHO_N "(cached) $ECHO_C" >&6
36734 else
36735
36736
36737
36738       ac_ext=cc
36739 ac_cpp='$CXXCPP $CPPFLAGS'
36740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36743
36744       cat >conftest.$ac_ext <<_ACEOF
36745 /* confdefs.h.  */
36746 _ACEOF
36747 cat confdefs.h >>conftest.$ac_ext
36748 cat >>conftest.$ac_ext <<_ACEOF
36749 /* end confdefs.h.  */
36750 #include <math.h>
36751 int
36752 main ()
36753 {
36754  fmodf(0, 0);
36755   ;
36756   return 0;
36757 }
36758 _ACEOF
36759 rm -f conftest.$ac_objext
36760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36761   (eval $ac_compile) 2>conftest.er1
36762   ac_status=$?
36763   grep -v '^ *+' conftest.er1 >conftest.err
36764   rm -f conftest.er1
36765   cat conftest.err >&5
36766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36767   (exit $ac_status); } &&
36768          { ac_try='test -z "$ac_cxx_werror_flag"
36769                          || test ! -s conftest.err'
36770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36771   (eval $ac_try) 2>&5
36772   ac_status=$?
36773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36774   (exit $ac_status); }; } &&
36775          { ac_try='test -s conftest.$ac_objext'
36776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36777   (eval $ac_try) 2>&5
36778   ac_status=$?
36779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36780   (exit $ac_status); }; }; then
36781   glibcxx_cv_func_fmodf_use=yes
36782 else
36783   echo "$as_me: failed program was:" >&5
36784 sed 's/^/| /' conftest.$ac_ext >&5
36785
36786 glibcxx_cv_func_fmodf_use=no
36787 fi
36788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36789       ac_ext=c
36790 ac_cpp='$CPP $CPPFLAGS'
36791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36794
36795
36796 fi
36797
36798   fi
36799   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
36800 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
36801
36802   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36803
36804 for ac_func in fmodf
36805 do
36806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36807 echo "$as_me:$LINENO: checking for $ac_func" >&5
36808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36809 if eval "test \"\${$as_ac_var+set}\" = set"; then
36810   echo $ECHO_N "(cached) $ECHO_C" >&6
36811 else
36812   if test x$gcc_no_link = xyes; then
36813   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36815    { (exit 1); exit 1; }; }
36816 fi
36817 cat >conftest.$ac_ext <<_ACEOF
36818 /* confdefs.h.  */
36819 _ACEOF
36820 cat confdefs.h >>conftest.$ac_ext
36821 cat >>conftest.$ac_ext <<_ACEOF
36822 /* end confdefs.h.  */
36823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36824    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36825 #define $ac_func innocuous_$ac_func
36826
36827 /* System header to define __stub macros and hopefully few prototypes,
36828     which can conflict with char $ac_func (); below.
36829     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36830     <limits.h> exists even on freestanding compilers.  */
36831
36832 #ifdef __STDC__
36833 # include <limits.h>
36834 #else
36835 # include <assert.h>
36836 #endif
36837
36838 #undef $ac_func
36839
36840 /* Override any gcc2 internal prototype to avoid an error.  */
36841 #ifdef __cplusplus
36842 extern "C"
36843 {
36844 #endif
36845 /* We use char because int might match the return type of a gcc2
36846    builtin and then its argument prototype would still apply.  */
36847 char $ac_func ();
36848 /* The GNU C library defines this for functions which it implements
36849     to always fail with ENOSYS.  Some functions are actually named
36850     something starting with __ and the normal name is an alias.  */
36851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36852 choke me
36853 #else
36854 char (*f) () = $ac_func;
36855 #endif
36856 #ifdef __cplusplus
36857 }
36858 #endif
36859
36860 int
36861 main ()
36862 {
36863 return f != $ac_func;
36864   ;
36865   return 0;
36866 }
36867 _ACEOF
36868 rm -f conftest.$ac_objext conftest$ac_exeext
36869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36870   (eval $ac_link) 2>conftest.er1
36871   ac_status=$?
36872   grep -v '^ *+' conftest.er1 >conftest.err
36873   rm -f conftest.er1
36874   cat conftest.err >&5
36875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36876   (exit $ac_status); } &&
36877          { ac_try='test -z "$ac_c_werror_flag"
36878                          || test ! -s conftest.err'
36879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36880   (eval $ac_try) 2>&5
36881   ac_status=$?
36882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36883   (exit $ac_status); }; } &&
36884          { ac_try='test -s conftest$ac_exeext'
36885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36886   (eval $ac_try) 2>&5
36887   ac_status=$?
36888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36889   (exit $ac_status); }; }; then
36890   eval "$as_ac_var=yes"
36891 else
36892   echo "$as_me: failed program was:" >&5
36893 sed 's/^/| /' conftest.$ac_ext >&5
36894
36895 eval "$as_ac_var=no"
36896 fi
36897 rm -f conftest.err conftest.$ac_objext \
36898       conftest$ac_exeext conftest.$ac_ext
36899 fi
36900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36902 if test `eval echo '${'$as_ac_var'}'` = yes; then
36903   cat >>confdefs.h <<_ACEOF
36904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36905 _ACEOF
36906
36907 fi
36908 done
36909
36910   else
36911
36912   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
36913 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
36914   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36915     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
36916   echo $ECHO_N "(cached) $ECHO_C" >&6
36917 else
36918
36919
36920
36921       ac_ext=cc
36922 ac_cpp='$CXXCPP $CPPFLAGS'
36923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36926
36927       cat >conftest.$ac_ext <<_ACEOF
36928 /* confdefs.h.  */
36929 _ACEOF
36930 cat confdefs.h >>conftest.$ac_ext
36931 cat >>conftest.$ac_ext <<_ACEOF
36932 /* end confdefs.h.  */
36933 #include <math.h>
36934 int
36935 main ()
36936 {
36937  _fmodf(0, 0);
36938   ;
36939   return 0;
36940 }
36941 _ACEOF
36942 rm -f conftest.$ac_objext
36943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36944   (eval $ac_compile) 2>conftest.er1
36945   ac_status=$?
36946   grep -v '^ *+' conftest.er1 >conftest.err
36947   rm -f conftest.er1
36948   cat conftest.err >&5
36949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36950   (exit $ac_status); } &&
36951          { ac_try='test -z "$ac_cxx_werror_flag"
36952                          || test ! -s conftest.err'
36953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36954   (eval $ac_try) 2>&5
36955   ac_status=$?
36956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36957   (exit $ac_status); }; } &&
36958          { ac_try='test -s conftest.$ac_objext'
36959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36960   (eval $ac_try) 2>&5
36961   ac_status=$?
36962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36963   (exit $ac_status); }; }; then
36964   glibcxx_cv_func__fmodf_use=yes
36965 else
36966   echo "$as_me: failed program was:" >&5
36967 sed 's/^/| /' conftest.$ac_ext >&5
36968
36969 glibcxx_cv_func__fmodf_use=no
36970 fi
36971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36972       ac_ext=c
36973 ac_cpp='$CPP $CPPFLAGS'
36974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36977
36978
36979 fi
36980
36981   fi
36982   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
36983 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
36984
36985     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36986
36987 for ac_func in _fmodf
36988 do
36989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36990 echo "$as_me:$LINENO: checking for $ac_func" >&5
36991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36992 if eval "test \"\${$as_ac_var+set}\" = set"; then
36993   echo $ECHO_N "(cached) $ECHO_C" >&6
36994 else
36995   if test x$gcc_no_link = xyes; then
36996   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36998    { (exit 1); exit 1; }; }
36999 fi
37000 cat >conftest.$ac_ext <<_ACEOF
37001 /* confdefs.h.  */
37002 _ACEOF
37003 cat confdefs.h >>conftest.$ac_ext
37004 cat >>conftest.$ac_ext <<_ACEOF
37005 /* end confdefs.h.  */
37006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37007    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37008 #define $ac_func innocuous_$ac_func
37009
37010 /* System header to define __stub macros and hopefully few prototypes,
37011     which can conflict with char $ac_func (); below.
37012     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37013     <limits.h> exists even on freestanding compilers.  */
37014
37015 #ifdef __STDC__
37016 # include <limits.h>
37017 #else
37018 # include <assert.h>
37019 #endif
37020
37021 #undef $ac_func
37022
37023 /* Override any gcc2 internal prototype to avoid an error.  */
37024 #ifdef __cplusplus
37025 extern "C"
37026 {
37027 #endif
37028 /* We use char because int might match the return type of a gcc2
37029    builtin and then its argument prototype would still apply.  */
37030 char $ac_func ();
37031 /* The GNU C library defines this for functions which it implements
37032     to always fail with ENOSYS.  Some functions are actually named
37033     something starting with __ and the normal name is an alias.  */
37034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37035 choke me
37036 #else
37037 char (*f) () = $ac_func;
37038 #endif
37039 #ifdef __cplusplus
37040 }
37041 #endif
37042
37043 int
37044 main ()
37045 {
37046 return f != $ac_func;
37047   ;
37048   return 0;
37049 }
37050 _ACEOF
37051 rm -f conftest.$ac_objext conftest$ac_exeext
37052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37053   (eval $ac_link) 2>conftest.er1
37054   ac_status=$?
37055   grep -v '^ *+' conftest.er1 >conftest.err
37056   rm -f conftest.er1
37057   cat conftest.err >&5
37058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37059   (exit $ac_status); } &&
37060          { ac_try='test -z "$ac_c_werror_flag"
37061                          || test ! -s conftest.err'
37062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37063   (eval $ac_try) 2>&5
37064   ac_status=$?
37065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37066   (exit $ac_status); }; } &&
37067          { ac_try='test -s conftest$ac_exeext'
37068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37069   (eval $ac_try) 2>&5
37070   ac_status=$?
37071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37072   (exit $ac_status); }; }; then
37073   eval "$as_ac_var=yes"
37074 else
37075   echo "$as_me: failed program was:" >&5
37076 sed 's/^/| /' conftest.$ac_ext >&5
37077
37078 eval "$as_ac_var=no"
37079 fi
37080 rm -f conftest.err conftest.$ac_objext \
37081       conftest$ac_exeext conftest.$ac_ext
37082 fi
37083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37085 if test `eval echo '${'$as_ac_var'}'` = yes; then
37086   cat >>confdefs.h <<_ACEOF
37087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37088 _ACEOF
37089
37090 fi
37091 done
37092
37093     fi
37094   fi
37095
37096
37097
37098   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
37099 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
37100   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37101     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
37102   echo $ECHO_N "(cached) $ECHO_C" >&6
37103 else
37104
37105
37106
37107       ac_ext=cc
37108 ac_cpp='$CXXCPP $CPPFLAGS'
37109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37112
37113       cat >conftest.$ac_ext <<_ACEOF
37114 /* confdefs.h.  */
37115 _ACEOF
37116 cat confdefs.h >>conftest.$ac_ext
37117 cat >>conftest.$ac_ext <<_ACEOF
37118 /* end confdefs.h.  */
37119 #include <math.h>
37120 int
37121 main ()
37122 {
37123  frexpf(0, 0);
37124   ;
37125   return 0;
37126 }
37127 _ACEOF
37128 rm -f conftest.$ac_objext
37129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37130   (eval $ac_compile) 2>conftest.er1
37131   ac_status=$?
37132   grep -v '^ *+' conftest.er1 >conftest.err
37133   rm -f conftest.er1
37134   cat conftest.err >&5
37135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37136   (exit $ac_status); } &&
37137          { ac_try='test -z "$ac_cxx_werror_flag"
37138                          || test ! -s conftest.err'
37139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37140   (eval $ac_try) 2>&5
37141   ac_status=$?
37142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37143   (exit $ac_status); }; } &&
37144          { ac_try='test -s conftest.$ac_objext'
37145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37146   (eval $ac_try) 2>&5
37147   ac_status=$?
37148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37149   (exit $ac_status); }; }; then
37150   glibcxx_cv_func_frexpf_use=yes
37151 else
37152   echo "$as_me: failed program was:" >&5
37153 sed 's/^/| /' conftest.$ac_ext >&5
37154
37155 glibcxx_cv_func_frexpf_use=no
37156 fi
37157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37158       ac_ext=c
37159 ac_cpp='$CPP $CPPFLAGS'
37160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37163
37164
37165 fi
37166
37167   fi
37168   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
37169 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
37170
37171   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37172
37173 for ac_func in frexpf
37174 do
37175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37176 echo "$as_me:$LINENO: checking for $ac_func" >&5
37177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37178 if eval "test \"\${$as_ac_var+set}\" = set"; then
37179   echo $ECHO_N "(cached) $ECHO_C" >&6
37180 else
37181   if test x$gcc_no_link = xyes; then
37182   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37184    { (exit 1); exit 1; }; }
37185 fi
37186 cat >conftest.$ac_ext <<_ACEOF
37187 /* confdefs.h.  */
37188 _ACEOF
37189 cat confdefs.h >>conftest.$ac_ext
37190 cat >>conftest.$ac_ext <<_ACEOF
37191 /* end confdefs.h.  */
37192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37193    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37194 #define $ac_func innocuous_$ac_func
37195
37196 /* System header to define __stub macros and hopefully few prototypes,
37197     which can conflict with char $ac_func (); below.
37198     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37199     <limits.h> exists even on freestanding compilers.  */
37200
37201 #ifdef __STDC__
37202 # include <limits.h>
37203 #else
37204 # include <assert.h>
37205 #endif
37206
37207 #undef $ac_func
37208
37209 /* Override any gcc2 internal prototype to avoid an error.  */
37210 #ifdef __cplusplus
37211 extern "C"
37212 {
37213 #endif
37214 /* We use char because int might match the return type of a gcc2
37215    builtin and then its argument prototype would still apply.  */
37216 char $ac_func ();
37217 /* The GNU C library defines this for functions which it implements
37218     to always fail with ENOSYS.  Some functions are actually named
37219     something starting with __ and the normal name is an alias.  */
37220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37221 choke me
37222 #else
37223 char (*f) () = $ac_func;
37224 #endif
37225 #ifdef __cplusplus
37226 }
37227 #endif
37228
37229 int
37230 main ()
37231 {
37232 return f != $ac_func;
37233   ;
37234   return 0;
37235 }
37236 _ACEOF
37237 rm -f conftest.$ac_objext conftest$ac_exeext
37238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37239   (eval $ac_link) 2>conftest.er1
37240   ac_status=$?
37241   grep -v '^ *+' conftest.er1 >conftest.err
37242   rm -f conftest.er1
37243   cat conftest.err >&5
37244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37245   (exit $ac_status); } &&
37246          { ac_try='test -z "$ac_c_werror_flag"
37247                          || test ! -s conftest.err'
37248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37249   (eval $ac_try) 2>&5
37250   ac_status=$?
37251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37252   (exit $ac_status); }; } &&
37253          { ac_try='test -s conftest$ac_exeext'
37254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37255   (eval $ac_try) 2>&5
37256   ac_status=$?
37257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37258   (exit $ac_status); }; }; then
37259   eval "$as_ac_var=yes"
37260 else
37261   echo "$as_me: failed program was:" >&5
37262 sed 's/^/| /' conftest.$ac_ext >&5
37263
37264 eval "$as_ac_var=no"
37265 fi
37266 rm -f conftest.err conftest.$ac_objext \
37267       conftest$ac_exeext conftest.$ac_ext
37268 fi
37269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37271 if test `eval echo '${'$as_ac_var'}'` = yes; then
37272   cat >>confdefs.h <<_ACEOF
37273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37274 _ACEOF
37275
37276 fi
37277 done
37278
37279   else
37280
37281   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
37282 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
37283   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37284     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
37285   echo $ECHO_N "(cached) $ECHO_C" >&6
37286 else
37287
37288
37289
37290       ac_ext=cc
37291 ac_cpp='$CXXCPP $CPPFLAGS'
37292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37295
37296       cat >conftest.$ac_ext <<_ACEOF
37297 /* confdefs.h.  */
37298 _ACEOF
37299 cat confdefs.h >>conftest.$ac_ext
37300 cat >>conftest.$ac_ext <<_ACEOF
37301 /* end confdefs.h.  */
37302 #include <math.h>
37303 int
37304 main ()
37305 {
37306  _frexpf(0, 0);
37307   ;
37308   return 0;
37309 }
37310 _ACEOF
37311 rm -f conftest.$ac_objext
37312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37313   (eval $ac_compile) 2>conftest.er1
37314   ac_status=$?
37315   grep -v '^ *+' conftest.er1 >conftest.err
37316   rm -f conftest.er1
37317   cat conftest.err >&5
37318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37319   (exit $ac_status); } &&
37320          { ac_try='test -z "$ac_cxx_werror_flag"
37321                          || test ! -s conftest.err'
37322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37323   (eval $ac_try) 2>&5
37324   ac_status=$?
37325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37326   (exit $ac_status); }; } &&
37327          { ac_try='test -s conftest.$ac_objext'
37328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37329   (eval $ac_try) 2>&5
37330   ac_status=$?
37331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37332   (exit $ac_status); }; }; then
37333   glibcxx_cv_func__frexpf_use=yes
37334 else
37335   echo "$as_me: failed program was:" >&5
37336 sed 's/^/| /' conftest.$ac_ext >&5
37337
37338 glibcxx_cv_func__frexpf_use=no
37339 fi
37340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37341       ac_ext=c
37342 ac_cpp='$CPP $CPPFLAGS'
37343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37346
37347
37348 fi
37349
37350   fi
37351   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
37352 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
37353
37354     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37355
37356 for ac_func in _frexpf
37357 do
37358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37359 echo "$as_me:$LINENO: checking for $ac_func" >&5
37360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37361 if eval "test \"\${$as_ac_var+set}\" = set"; then
37362   echo $ECHO_N "(cached) $ECHO_C" >&6
37363 else
37364   if test x$gcc_no_link = xyes; then
37365   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37367    { (exit 1); exit 1; }; }
37368 fi
37369 cat >conftest.$ac_ext <<_ACEOF
37370 /* confdefs.h.  */
37371 _ACEOF
37372 cat confdefs.h >>conftest.$ac_ext
37373 cat >>conftest.$ac_ext <<_ACEOF
37374 /* end confdefs.h.  */
37375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37376    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37377 #define $ac_func innocuous_$ac_func
37378
37379 /* System header to define __stub macros and hopefully few prototypes,
37380     which can conflict with char $ac_func (); below.
37381     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37382     <limits.h> exists even on freestanding compilers.  */
37383
37384 #ifdef __STDC__
37385 # include <limits.h>
37386 #else
37387 # include <assert.h>
37388 #endif
37389
37390 #undef $ac_func
37391
37392 /* Override any gcc2 internal prototype to avoid an error.  */
37393 #ifdef __cplusplus
37394 extern "C"
37395 {
37396 #endif
37397 /* We use char because int might match the return type of a gcc2
37398    builtin and then its argument prototype would still apply.  */
37399 char $ac_func ();
37400 /* The GNU C library defines this for functions which it implements
37401     to always fail with ENOSYS.  Some functions are actually named
37402     something starting with __ and the normal name is an alias.  */
37403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37404 choke me
37405 #else
37406 char (*f) () = $ac_func;
37407 #endif
37408 #ifdef __cplusplus
37409 }
37410 #endif
37411
37412 int
37413 main ()
37414 {
37415 return f != $ac_func;
37416   ;
37417   return 0;
37418 }
37419 _ACEOF
37420 rm -f conftest.$ac_objext conftest$ac_exeext
37421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37422   (eval $ac_link) 2>conftest.er1
37423   ac_status=$?
37424   grep -v '^ *+' conftest.er1 >conftest.err
37425   rm -f conftest.er1
37426   cat conftest.err >&5
37427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37428   (exit $ac_status); } &&
37429          { ac_try='test -z "$ac_c_werror_flag"
37430                          || test ! -s conftest.err'
37431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37432   (eval $ac_try) 2>&5
37433   ac_status=$?
37434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37435   (exit $ac_status); }; } &&
37436          { ac_try='test -s conftest$ac_exeext'
37437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37438   (eval $ac_try) 2>&5
37439   ac_status=$?
37440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37441   (exit $ac_status); }; }; then
37442   eval "$as_ac_var=yes"
37443 else
37444   echo "$as_me: failed program was:" >&5
37445 sed 's/^/| /' conftest.$ac_ext >&5
37446
37447 eval "$as_ac_var=no"
37448 fi
37449 rm -f conftest.err conftest.$ac_objext \
37450       conftest$ac_exeext conftest.$ac_ext
37451 fi
37452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37454 if test `eval echo '${'$as_ac_var'}'` = yes; then
37455   cat >>confdefs.h <<_ACEOF
37456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37457 _ACEOF
37458
37459 fi
37460 done
37461
37462     fi
37463   fi
37464
37465
37466
37467   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
37468 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
37469   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37470     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
37471   echo $ECHO_N "(cached) $ECHO_C" >&6
37472 else
37473
37474
37475
37476       ac_ext=cc
37477 ac_cpp='$CXXCPP $CPPFLAGS'
37478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37481
37482       cat >conftest.$ac_ext <<_ACEOF
37483 /* confdefs.h.  */
37484 _ACEOF
37485 cat confdefs.h >>conftest.$ac_ext
37486 cat >>conftest.$ac_ext <<_ACEOF
37487 /* end confdefs.h.  */
37488 #include <math.h>
37489 int
37490 main ()
37491 {
37492  hypotf(0, 0);
37493   ;
37494   return 0;
37495 }
37496 _ACEOF
37497 rm -f conftest.$ac_objext
37498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37499   (eval $ac_compile) 2>conftest.er1
37500   ac_status=$?
37501   grep -v '^ *+' conftest.er1 >conftest.err
37502   rm -f conftest.er1
37503   cat conftest.err >&5
37504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37505   (exit $ac_status); } &&
37506          { ac_try='test -z "$ac_cxx_werror_flag"
37507                          || test ! -s conftest.err'
37508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37509   (eval $ac_try) 2>&5
37510   ac_status=$?
37511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37512   (exit $ac_status); }; } &&
37513          { ac_try='test -s conftest.$ac_objext'
37514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37515   (eval $ac_try) 2>&5
37516   ac_status=$?
37517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37518   (exit $ac_status); }; }; then
37519   glibcxx_cv_func_hypotf_use=yes
37520 else
37521   echo "$as_me: failed program was:" >&5
37522 sed 's/^/| /' conftest.$ac_ext >&5
37523
37524 glibcxx_cv_func_hypotf_use=no
37525 fi
37526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37527       ac_ext=c
37528 ac_cpp='$CPP $CPPFLAGS'
37529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37532
37533
37534 fi
37535
37536   fi
37537   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
37538 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
37539
37540   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37541
37542 for ac_func in hypotf
37543 do
37544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37545 echo "$as_me:$LINENO: checking for $ac_func" >&5
37546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37547 if eval "test \"\${$as_ac_var+set}\" = set"; then
37548   echo $ECHO_N "(cached) $ECHO_C" >&6
37549 else
37550   if test x$gcc_no_link = xyes; then
37551   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37553    { (exit 1); exit 1; }; }
37554 fi
37555 cat >conftest.$ac_ext <<_ACEOF
37556 /* confdefs.h.  */
37557 _ACEOF
37558 cat confdefs.h >>conftest.$ac_ext
37559 cat >>conftest.$ac_ext <<_ACEOF
37560 /* end confdefs.h.  */
37561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37562    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37563 #define $ac_func innocuous_$ac_func
37564
37565 /* System header to define __stub macros and hopefully few prototypes,
37566     which can conflict with char $ac_func (); below.
37567     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37568     <limits.h> exists even on freestanding compilers.  */
37569
37570 #ifdef __STDC__
37571 # include <limits.h>
37572 #else
37573 # include <assert.h>
37574 #endif
37575
37576 #undef $ac_func
37577
37578 /* Override any gcc2 internal prototype to avoid an error.  */
37579 #ifdef __cplusplus
37580 extern "C"
37581 {
37582 #endif
37583 /* We use char because int might match the return type of a gcc2
37584    builtin and then its argument prototype would still apply.  */
37585 char $ac_func ();
37586 /* The GNU C library defines this for functions which it implements
37587     to always fail with ENOSYS.  Some functions are actually named
37588     something starting with __ and the normal name is an alias.  */
37589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37590 choke me
37591 #else
37592 char (*f) () = $ac_func;
37593 #endif
37594 #ifdef __cplusplus
37595 }
37596 #endif
37597
37598 int
37599 main ()
37600 {
37601 return f != $ac_func;
37602   ;
37603   return 0;
37604 }
37605 _ACEOF
37606 rm -f conftest.$ac_objext conftest$ac_exeext
37607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37608   (eval $ac_link) 2>conftest.er1
37609   ac_status=$?
37610   grep -v '^ *+' conftest.er1 >conftest.err
37611   rm -f conftest.er1
37612   cat conftest.err >&5
37613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37614   (exit $ac_status); } &&
37615          { ac_try='test -z "$ac_c_werror_flag"
37616                          || test ! -s conftest.err'
37617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37618   (eval $ac_try) 2>&5
37619   ac_status=$?
37620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37621   (exit $ac_status); }; } &&
37622          { ac_try='test -s conftest$ac_exeext'
37623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37624   (eval $ac_try) 2>&5
37625   ac_status=$?
37626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37627   (exit $ac_status); }; }; then
37628   eval "$as_ac_var=yes"
37629 else
37630   echo "$as_me: failed program was:" >&5
37631 sed 's/^/| /' conftest.$ac_ext >&5
37632
37633 eval "$as_ac_var=no"
37634 fi
37635 rm -f conftest.err conftest.$ac_objext \
37636       conftest$ac_exeext conftest.$ac_ext
37637 fi
37638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37640 if test `eval echo '${'$as_ac_var'}'` = yes; then
37641   cat >>confdefs.h <<_ACEOF
37642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37643 _ACEOF
37644
37645 fi
37646 done
37647
37648   else
37649
37650   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
37651 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
37652   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37653     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
37654   echo $ECHO_N "(cached) $ECHO_C" >&6
37655 else
37656
37657
37658
37659       ac_ext=cc
37660 ac_cpp='$CXXCPP $CPPFLAGS'
37661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37664
37665       cat >conftest.$ac_ext <<_ACEOF
37666 /* confdefs.h.  */
37667 _ACEOF
37668 cat confdefs.h >>conftest.$ac_ext
37669 cat >>conftest.$ac_ext <<_ACEOF
37670 /* end confdefs.h.  */
37671 #include <math.h>
37672 int
37673 main ()
37674 {
37675  _hypotf(0, 0);
37676   ;
37677   return 0;
37678 }
37679 _ACEOF
37680 rm -f conftest.$ac_objext
37681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37682   (eval $ac_compile) 2>conftest.er1
37683   ac_status=$?
37684   grep -v '^ *+' conftest.er1 >conftest.err
37685   rm -f conftest.er1
37686   cat conftest.err >&5
37687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37688   (exit $ac_status); } &&
37689          { ac_try='test -z "$ac_cxx_werror_flag"
37690                          || test ! -s conftest.err'
37691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37692   (eval $ac_try) 2>&5
37693   ac_status=$?
37694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37695   (exit $ac_status); }; } &&
37696          { ac_try='test -s conftest.$ac_objext'
37697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37698   (eval $ac_try) 2>&5
37699   ac_status=$?
37700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37701   (exit $ac_status); }; }; then
37702   glibcxx_cv_func__hypotf_use=yes
37703 else
37704   echo "$as_me: failed program was:" >&5
37705 sed 's/^/| /' conftest.$ac_ext >&5
37706
37707 glibcxx_cv_func__hypotf_use=no
37708 fi
37709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37710       ac_ext=c
37711 ac_cpp='$CPP $CPPFLAGS'
37712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37715
37716
37717 fi
37718
37719   fi
37720   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
37721 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
37722
37723     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37724
37725 for ac_func in _hypotf
37726 do
37727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37728 echo "$as_me:$LINENO: checking for $ac_func" >&5
37729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37730 if eval "test \"\${$as_ac_var+set}\" = set"; then
37731   echo $ECHO_N "(cached) $ECHO_C" >&6
37732 else
37733   if test x$gcc_no_link = xyes; then
37734   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37736    { (exit 1); exit 1; }; }
37737 fi
37738 cat >conftest.$ac_ext <<_ACEOF
37739 /* confdefs.h.  */
37740 _ACEOF
37741 cat confdefs.h >>conftest.$ac_ext
37742 cat >>conftest.$ac_ext <<_ACEOF
37743 /* end confdefs.h.  */
37744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37745    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37746 #define $ac_func innocuous_$ac_func
37747
37748 /* System header to define __stub macros and hopefully few prototypes,
37749     which can conflict with char $ac_func (); below.
37750     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37751     <limits.h> exists even on freestanding compilers.  */
37752
37753 #ifdef __STDC__
37754 # include <limits.h>
37755 #else
37756 # include <assert.h>
37757 #endif
37758
37759 #undef $ac_func
37760
37761 /* Override any gcc2 internal prototype to avoid an error.  */
37762 #ifdef __cplusplus
37763 extern "C"
37764 {
37765 #endif
37766 /* We use char because int might match the return type of a gcc2
37767    builtin and then its argument prototype would still apply.  */
37768 char $ac_func ();
37769 /* The GNU C library defines this for functions which it implements
37770     to always fail with ENOSYS.  Some functions are actually named
37771     something starting with __ and the normal name is an alias.  */
37772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37773 choke me
37774 #else
37775 char (*f) () = $ac_func;
37776 #endif
37777 #ifdef __cplusplus
37778 }
37779 #endif
37780
37781 int
37782 main ()
37783 {
37784 return f != $ac_func;
37785   ;
37786   return 0;
37787 }
37788 _ACEOF
37789 rm -f conftest.$ac_objext conftest$ac_exeext
37790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37791   (eval $ac_link) 2>conftest.er1
37792   ac_status=$?
37793   grep -v '^ *+' conftest.er1 >conftest.err
37794   rm -f conftest.er1
37795   cat conftest.err >&5
37796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37797   (exit $ac_status); } &&
37798          { ac_try='test -z "$ac_c_werror_flag"
37799                          || test ! -s conftest.err'
37800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37801   (eval $ac_try) 2>&5
37802   ac_status=$?
37803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37804   (exit $ac_status); }; } &&
37805          { ac_try='test -s conftest$ac_exeext'
37806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37807   (eval $ac_try) 2>&5
37808   ac_status=$?
37809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37810   (exit $ac_status); }; }; then
37811   eval "$as_ac_var=yes"
37812 else
37813   echo "$as_me: failed program was:" >&5
37814 sed 's/^/| /' conftest.$ac_ext >&5
37815
37816 eval "$as_ac_var=no"
37817 fi
37818 rm -f conftest.err conftest.$ac_objext \
37819       conftest$ac_exeext conftest.$ac_ext
37820 fi
37821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37823 if test `eval echo '${'$as_ac_var'}'` = yes; then
37824   cat >>confdefs.h <<_ACEOF
37825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37826 _ACEOF
37827
37828 fi
37829 done
37830
37831     fi
37832   fi
37833
37834
37835
37836   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
37837 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
37838   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37839     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
37840   echo $ECHO_N "(cached) $ECHO_C" >&6
37841 else
37842
37843
37844
37845       ac_ext=cc
37846 ac_cpp='$CXXCPP $CPPFLAGS'
37847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37850
37851       cat >conftest.$ac_ext <<_ACEOF
37852 /* confdefs.h.  */
37853 _ACEOF
37854 cat confdefs.h >>conftest.$ac_ext
37855 cat >>conftest.$ac_ext <<_ACEOF
37856 /* end confdefs.h.  */
37857 #include <math.h>
37858 int
37859 main ()
37860 {
37861  ldexpf(0, 0);
37862   ;
37863   return 0;
37864 }
37865 _ACEOF
37866 rm -f conftest.$ac_objext
37867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37868   (eval $ac_compile) 2>conftest.er1
37869   ac_status=$?
37870   grep -v '^ *+' conftest.er1 >conftest.err
37871   rm -f conftest.er1
37872   cat conftest.err >&5
37873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37874   (exit $ac_status); } &&
37875          { ac_try='test -z "$ac_cxx_werror_flag"
37876                          || test ! -s conftest.err'
37877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37878   (eval $ac_try) 2>&5
37879   ac_status=$?
37880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37881   (exit $ac_status); }; } &&
37882          { ac_try='test -s conftest.$ac_objext'
37883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37884   (eval $ac_try) 2>&5
37885   ac_status=$?
37886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37887   (exit $ac_status); }; }; then
37888   glibcxx_cv_func_ldexpf_use=yes
37889 else
37890   echo "$as_me: failed program was:" >&5
37891 sed 's/^/| /' conftest.$ac_ext >&5
37892
37893 glibcxx_cv_func_ldexpf_use=no
37894 fi
37895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37896       ac_ext=c
37897 ac_cpp='$CPP $CPPFLAGS'
37898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37901
37902
37903 fi
37904
37905   fi
37906   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
37907 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
37908
37909   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37910
37911 for ac_func in ldexpf
37912 do
37913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37914 echo "$as_me:$LINENO: checking for $ac_func" >&5
37915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37916 if eval "test \"\${$as_ac_var+set}\" = set"; then
37917   echo $ECHO_N "(cached) $ECHO_C" >&6
37918 else
37919   if test x$gcc_no_link = xyes; then
37920   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37922    { (exit 1); exit 1; }; }
37923 fi
37924 cat >conftest.$ac_ext <<_ACEOF
37925 /* confdefs.h.  */
37926 _ACEOF
37927 cat confdefs.h >>conftest.$ac_ext
37928 cat >>conftest.$ac_ext <<_ACEOF
37929 /* end confdefs.h.  */
37930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37931    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37932 #define $ac_func innocuous_$ac_func
37933
37934 /* System header to define __stub macros and hopefully few prototypes,
37935     which can conflict with char $ac_func (); below.
37936     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37937     <limits.h> exists even on freestanding compilers.  */
37938
37939 #ifdef __STDC__
37940 # include <limits.h>
37941 #else
37942 # include <assert.h>
37943 #endif
37944
37945 #undef $ac_func
37946
37947 /* Override any gcc2 internal prototype to avoid an error.  */
37948 #ifdef __cplusplus
37949 extern "C"
37950 {
37951 #endif
37952 /* We use char because int might match the return type of a gcc2
37953    builtin and then its argument prototype would still apply.  */
37954 char $ac_func ();
37955 /* The GNU C library defines this for functions which it implements
37956     to always fail with ENOSYS.  Some functions are actually named
37957     something starting with __ and the normal name is an alias.  */
37958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37959 choke me
37960 #else
37961 char (*f) () = $ac_func;
37962 #endif
37963 #ifdef __cplusplus
37964 }
37965 #endif
37966
37967 int
37968 main ()
37969 {
37970 return f != $ac_func;
37971   ;
37972   return 0;
37973 }
37974 _ACEOF
37975 rm -f conftest.$ac_objext conftest$ac_exeext
37976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37977   (eval $ac_link) 2>conftest.er1
37978   ac_status=$?
37979   grep -v '^ *+' conftest.er1 >conftest.err
37980   rm -f conftest.er1
37981   cat conftest.err >&5
37982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37983   (exit $ac_status); } &&
37984          { ac_try='test -z "$ac_c_werror_flag"
37985                          || test ! -s conftest.err'
37986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37987   (eval $ac_try) 2>&5
37988   ac_status=$?
37989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37990   (exit $ac_status); }; } &&
37991          { ac_try='test -s conftest$ac_exeext'
37992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37993   (eval $ac_try) 2>&5
37994   ac_status=$?
37995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37996   (exit $ac_status); }; }; then
37997   eval "$as_ac_var=yes"
37998 else
37999   echo "$as_me: failed program was:" >&5
38000 sed 's/^/| /' conftest.$ac_ext >&5
38001
38002 eval "$as_ac_var=no"
38003 fi
38004 rm -f conftest.err conftest.$ac_objext \
38005       conftest$ac_exeext conftest.$ac_ext
38006 fi
38007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38009 if test `eval echo '${'$as_ac_var'}'` = yes; then
38010   cat >>confdefs.h <<_ACEOF
38011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38012 _ACEOF
38013
38014 fi
38015 done
38016
38017   else
38018
38019   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
38020 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
38021   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
38022     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
38023   echo $ECHO_N "(cached) $ECHO_C" >&6
38024 else
38025
38026
38027
38028       ac_ext=cc
38029 ac_cpp='$CXXCPP $CPPFLAGS'
38030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38033
38034       cat >conftest.$ac_ext <<_ACEOF
38035 /* confdefs.h.  */
38036 _ACEOF
38037 cat confdefs.h >>conftest.$ac_ext
38038 cat >>conftest.$ac_ext <<_ACEOF
38039 /* end confdefs.h.  */
38040 #include <math.h>
38041 int
38042 main ()
38043 {
38044  _ldexpf(0, 0);
38045   ;
38046   return 0;
38047 }
38048 _ACEOF
38049 rm -f conftest.$ac_objext
38050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38051   (eval $ac_compile) 2>conftest.er1
38052   ac_status=$?
38053   grep -v '^ *+' conftest.er1 >conftest.err
38054   rm -f conftest.er1
38055   cat conftest.err >&5
38056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38057   (exit $ac_status); } &&
38058          { ac_try='test -z "$ac_cxx_werror_flag"
38059                          || test ! -s conftest.err'
38060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38061   (eval $ac_try) 2>&5
38062   ac_status=$?
38063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38064   (exit $ac_status); }; } &&
38065          { ac_try='test -s conftest.$ac_objext'
38066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38067   (eval $ac_try) 2>&5
38068   ac_status=$?
38069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38070   (exit $ac_status); }; }; then
38071   glibcxx_cv_func__ldexpf_use=yes
38072 else
38073   echo "$as_me: failed program was:" >&5
38074 sed 's/^/| /' conftest.$ac_ext >&5
38075
38076 glibcxx_cv_func__ldexpf_use=no
38077 fi
38078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38079       ac_ext=c
38080 ac_cpp='$CPP $CPPFLAGS'
38081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38084
38085
38086 fi
38087
38088   fi
38089   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
38090 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
38091
38092     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38093
38094 for ac_func in _ldexpf
38095 do
38096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38097 echo "$as_me:$LINENO: checking for $ac_func" >&5
38098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38099 if eval "test \"\${$as_ac_var+set}\" = set"; then
38100   echo $ECHO_N "(cached) $ECHO_C" >&6
38101 else
38102   if test x$gcc_no_link = xyes; then
38103   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38105    { (exit 1); exit 1; }; }
38106 fi
38107 cat >conftest.$ac_ext <<_ACEOF
38108 /* confdefs.h.  */
38109 _ACEOF
38110 cat confdefs.h >>conftest.$ac_ext
38111 cat >>conftest.$ac_ext <<_ACEOF
38112 /* end confdefs.h.  */
38113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38114    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38115 #define $ac_func innocuous_$ac_func
38116
38117 /* System header to define __stub macros and hopefully few prototypes,
38118     which can conflict with char $ac_func (); below.
38119     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38120     <limits.h> exists even on freestanding compilers.  */
38121
38122 #ifdef __STDC__
38123 # include <limits.h>
38124 #else
38125 # include <assert.h>
38126 #endif
38127
38128 #undef $ac_func
38129
38130 /* Override any gcc2 internal prototype to avoid an error.  */
38131 #ifdef __cplusplus
38132 extern "C"
38133 {
38134 #endif
38135 /* We use char because int might match the return type of a gcc2
38136    builtin and then its argument prototype would still apply.  */
38137 char $ac_func ();
38138 /* The GNU C library defines this for functions which it implements
38139     to always fail with ENOSYS.  Some functions are actually named
38140     something starting with __ and the normal name is an alias.  */
38141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38142 choke me
38143 #else
38144 char (*f) () = $ac_func;
38145 #endif
38146 #ifdef __cplusplus
38147 }
38148 #endif
38149
38150 int
38151 main ()
38152 {
38153 return f != $ac_func;
38154   ;
38155   return 0;
38156 }
38157 _ACEOF
38158 rm -f conftest.$ac_objext conftest$ac_exeext
38159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38160   (eval $ac_link) 2>conftest.er1
38161   ac_status=$?
38162   grep -v '^ *+' conftest.er1 >conftest.err
38163   rm -f conftest.er1
38164   cat conftest.err >&5
38165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38166   (exit $ac_status); } &&
38167          { ac_try='test -z "$ac_c_werror_flag"
38168                          || test ! -s conftest.err'
38169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38170   (eval $ac_try) 2>&5
38171   ac_status=$?
38172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38173   (exit $ac_status); }; } &&
38174          { ac_try='test -s conftest$ac_exeext'
38175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38176   (eval $ac_try) 2>&5
38177   ac_status=$?
38178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38179   (exit $ac_status); }; }; then
38180   eval "$as_ac_var=yes"
38181 else
38182   echo "$as_me: failed program was:" >&5
38183 sed 's/^/| /' conftest.$ac_ext >&5
38184
38185 eval "$as_ac_var=no"
38186 fi
38187 rm -f conftest.err conftest.$ac_objext \
38188       conftest$ac_exeext conftest.$ac_ext
38189 fi
38190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38192 if test `eval echo '${'$as_ac_var'}'` = yes; then
38193   cat >>confdefs.h <<_ACEOF
38194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38195 _ACEOF
38196
38197 fi
38198 done
38199
38200     fi
38201   fi
38202
38203
38204
38205   echo "$as_me:$LINENO: checking for logf declaration" >&5
38206 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
38207   if test x${glibcxx_cv_func_logf_use+set} != xset; then
38208     if test "${glibcxx_cv_func_logf_use+set}" = set; then
38209   echo $ECHO_N "(cached) $ECHO_C" >&6
38210 else
38211
38212
38213
38214       ac_ext=cc
38215 ac_cpp='$CXXCPP $CPPFLAGS'
38216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38219
38220       cat >conftest.$ac_ext <<_ACEOF
38221 /* confdefs.h.  */
38222 _ACEOF
38223 cat confdefs.h >>conftest.$ac_ext
38224 cat >>conftest.$ac_ext <<_ACEOF
38225 /* end confdefs.h.  */
38226 #include <math.h>
38227                       #ifdef HAVE_IEEEFP_H
38228                       #include <ieeefp.h>
38229                       #endif
38230
38231 int
38232 main ()
38233 {
38234  logf(0);
38235   ;
38236   return 0;
38237 }
38238 _ACEOF
38239 rm -f conftest.$ac_objext
38240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38241   (eval $ac_compile) 2>conftest.er1
38242   ac_status=$?
38243   grep -v '^ *+' conftest.er1 >conftest.err
38244   rm -f conftest.er1
38245   cat conftest.err >&5
38246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38247   (exit $ac_status); } &&
38248          { ac_try='test -z "$ac_cxx_werror_flag"
38249                          || test ! -s conftest.err'
38250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38251   (eval $ac_try) 2>&5
38252   ac_status=$?
38253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38254   (exit $ac_status); }; } &&
38255          { ac_try='test -s conftest.$ac_objext'
38256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38257   (eval $ac_try) 2>&5
38258   ac_status=$?
38259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38260   (exit $ac_status); }; }; then
38261   glibcxx_cv_func_logf_use=yes
38262 else
38263   echo "$as_me: failed program was:" >&5
38264 sed 's/^/| /' conftest.$ac_ext >&5
38265
38266 glibcxx_cv_func_logf_use=no
38267 fi
38268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38269       ac_ext=c
38270 ac_cpp='$CPP $CPPFLAGS'
38271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38274
38275
38276 fi
38277
38278   fi
38279   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
38280 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
38281
38282   if test x$glibcxx_cv_func_logf_use = x"yes"; then
38283
38284 for ac_func in logf
38285 do
38286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38287 echo "$as_me:$LINENO: checking for $ac_func" >&5
38288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38289 if eval "test \"\${$as_ac_var+set}\" = set"; then
38290   echo $ECHO_N "(cached) $ECHO_C" >&6
38291 else
38292   if test x$gcc_no_link = xyes; then
38293   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38295    { (exit 1); exit 1; }; }
38296 fi
38297 cat >conftest.$ac_ext <<_ACEOF
38298 /* confdefs.h.  */
38299 _ACEOF
38300 cat confdefs.h >>conftest.$ac_ext
38301 cat >>conftest.$ac_ext <<_ACEOF
38302 /* end confdefs.h.  */
38303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38304    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38305 #define $ac_func innocuous_$ac_func
38306
38307 /* System header to define __stub macros and hopefully few prototypes,
38308     which can conflict with char $ac_func (); below.
38309     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38310     <limits.h> exists even on freestanding compilers.  */
38311
38312 #ifdef __STDC__
38313 # include <limits.h>
38314 #else
38315 # include <assert.h>
38316 #endif
38317
38318 #undef $ac_func
38319
38320 /* Override any gcc2 internal prototype to avoid an error.  */
38321 #ifdef __cplusplus
38322 extern "C"
38323 {
38324 #endif
38325 /* We use char because int might match the return type of a gcc2
38326    builtin and then its argument prototype would still apply.  */
38327 char $ac_func ();
38328 /* The GNU C library defines this for functions which it implements
38329     to always fail with ENOSYS.  Some functions are actually named
38330     something starting with __ and the normal name is an alias.  */
38331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38332 choke me
38333 #else
38334 char (*f) () = $ac_func;
38335 #endif
38336 #ifdef __cplusplus
38337 }
38338 #endif
38339
38340 int
38341 main ()
38342 {
38343 return f != $ac_func;
38344   ;
38345   return 0;
38346 }
38347 _ACEOF
38348 rm -f conftest.$ac_objext conftest$ac_exeext
38349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38350   (eval $ac_link) 2>conftest.er1
38351   ac_status=$?
38352   grep -v '^ *+' conftest.er1 >conftest.err
38353   rm -f conftest.er1
38354   cat conftest.err >&5
38355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38356   (exit $ac_status); } &&
38357          { ac_try='test -z "$ac_c_werror_flag"
38358                          || test ! -s conftest.err'
38359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38360   (eval $ac_try) 2>&5
38361   ac_status=$?
38362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38363   (exit $ac_status); }; } &&
38364          { ac_try='test -s conftest$ac_exeext'
38365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38366   (eval $ac_try) 2>&5
38367   ac_status=$?
38368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38369   (exit $ac_status); }; }; then
38370   eval "$as_ac_var=yes"
38371 else
38372   echo "$as_me: failed program was:" >&5
38373 sed 's/^/| /' conftest.$ac_ext >&5
38374
38375 eval "$as_ac_var=no"
38376 fi
38377 rm -f conftest.err conftest.$ac_objext \
38378       conftest$ac_exeext conftest.$ac_ext
38379 fi
38380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38382 if test `eval echo '${'$as_ac_var'}'` = yes; then
38383   cat >>confdefs.h <<_ACEOF
38384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38385 _ACEOF
38386
38387 fi
38388 done
38389
38390   else
38391
38392   echo "$as_me:$LINENO: checking for _logf declaration" >&5
38393 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
38394   if test x${glibcxx_cv_func__logf_use+set} != xset; then
38395     if test "${glibcxx_cv_func__logf_use+set}" = set; then
38396   echo $ECHO_N "(cached) $ECHO_C" >&6
38397 else
38398
38399
38400
38401       ac_ext=cc
38402 ac_cpp='$CXXCPP $CPPFLAGS'
38403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38406
38407       cat >conftest.$ac_ext <<_ACEOF
38408 /* confdefs.h.  */
38409 _ACEOF
38410 cat confdefs.h >>conftest.$ac_ext
38411 cat >>conftest.$ac_ext <<_ACEOF
38412 /* end confdefs.h.  */
38413 #include <math.h>
38414                       #ifdef HAVE_IEEEFP_H
38415                       #include <ieeefp.h>
38416                       #endif
38417
38418 int
38419 main ()
38420 {
38421  _logf(0);
38422   ;
38423   return 0;
38424 }
38425 _ACEOF
38426 rm -f conftest.$ac_objext
38427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38428   (eval $ac_compile) 2>conftest.er1
38429   ac_status=$?
38430   grep -v '^ *+' conftest.er1 >conftest.err
38431   rm -f conftest.er1
38432   cat conftest.err >&5
38433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38434   (exit $ac_status); } &&
38435          { ac_try='test -z "$ac_cxx_werror_flag"
38436                          || test ! -s conftest.err'
38437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38438   (eval $ac_try) 2>&5
38439   ac_status=$?
38440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38441   (exit $ac_status); }; } &&
38442          { ac_try='test -s conftest.$ac_objext'
38443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38444   (eval $ac_try) 2>&5
38445   ac_status=$?
38446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38447   (exit $ac_status); }; }; then
38448   glibcxx_cv_func__logf_use=yes
38449 else
38450   echo "$as_me: failed program was:" >&5
38451 sed 's/^/| /' conftest.$ac_ext >&5
38452
38453 glibcxx_cv_func__logf_use=no
38454 fi
38455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38456       ac_ext=c
38457 ac_cpp='$CPP $CPPFLAGS'
38458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38461
38462
38463 fi
38464
38465   fi
38466   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
38467 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
38468
38469     if test x$glibcxx_cv_func__logf_use = x"yes"; then
38470
38471 for ac_func in _logf
38472 do
38473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38474 echo "$as_me:$LINENO: checking for $ac_func" >&5
38475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38476 if eval "test \"\${$as_ac_var+set}\" = set"; then
38477   echo $ECHO_N "(cached) $ECHO_C" >&6
38478 else
38479   if test x$gcc_no_link = xyes; then
38480   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38482    { (exit 1); exit 1; }; }
38483 fi
38484 cat >conftest.$ac_ext <<_ACEOF
38485 /* confdefs.h.  */
38486 _ACEOF
38487 cat confdefs.h >>conftest.$ac_ext
38488 cat >>conftest.$ac_ext <<_ACEOF
38489 /* end confdefs.h.  */
38490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38491    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38492 #define $ac_func innocuous_$ac_func
38493
38494 /* System header to define __stub macros and hopefully few prototypes,
38495     which can conflict with char $ac_func (); below.
38496     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38497     <limits.h> exists even on freestanding compilers.  */
38498
38499 #ifdef __STDC__
38500 # include <limits.h>
38501 #else
38502 # include <assert.h>
38503 #endif
38504
38505 #undef $ac_func
38506
38507 /* Override any gcc2 internal prototype to avoid an error.  */
38508 #ifdef __cplusplus
38509 extern "C"
38510 {
38511 #endif
38512 /* We use char because int might match the return type of a gcc2
38513    builtin and then its argument prototype would still apply.  */
38514 char $ac_func ();
38515 /* The GNU C library defines this for functions which it implements
38516     to always fail with ENOSYS.  Some functions are actually named
38517     something starting with __ and the normal name is an alias.  */
38518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38519 choke me
38520 #else
38521 char (*f) () = $ac_func;
38522 #endif
38523 #ifdef __cplusplus
38524 }
38525 #endif
38526
38527 int
38528 main ()
38529 {
38530 return f != $ac_func;
38531   ;
38532   return 0;
38533 }
38534 _ACEOF
38535 rm -f conftest.$ac_objext conftest$ac_exeext
38536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38537   (eval $ac_link) 2>conftest.er1
38538   ac_status=$?
38539   grep -v '^ *+' conftest.er1 >conftest.err
38540   rm -f conftest.er1
38541   cat conftest.err >&5
38542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38543   (exit $ac_status); } &&
38544          { ac_try='test -z "$ac_c_werror_flag"
38545                          || test ! -s conftest.err'
38546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38547   (eval $ac_try) 2>&5
38548   ac_status=$?
38549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38550   (exit $ac_status); }; } &&
38551          { ac_try='test -s conftest$ac_exeext'
38552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38553   (eval $ac_try) 2>&5
38554   ac_status=$?
38555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38556   (exit $ac_status); }; }; then
38557   eval "$as_ac_var=yes"
38558 else
38559   echo "$as_me: failed program was:" >&5
38560 sed 's/^/| /' conftest.$ac_ext >&5
38561
38562 eval "$as_ac_var=no"
38563 fi
38564 rm -f conftest.err conftest.$ac_objext \
38565       conftest$ac_exeext conftest.$ac_ext
38566 fi
38567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38569 if test `eval echo '${'$as_ac_var'}'` = yes; then
38570   cat >>confdefs.h <<_ACEOF
38571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38572 _ACEOF
38573
38574 fi
38575 done
38576
38577     fi
38578   fi
38579
38580
38581
38582   echo "$as_me:$LINENO: checking for log10f declaration" >&5
38583 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
38584   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38585     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
38586   echo $ECHO_N "(cached) $ECHO_C" >&6
38587 else
38588
38589
38590
38591       ac_ext=cc
38592 ac_cpp='$CXXCPP $CPPFLAGS'
38593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38596
38597       cat >conftest.$ac_ext <<_ACEOF
38598 /* confdefs.h.  */
38599 _ACEOF
38600 cat confdefs.h >>conftest.$ac_ext
38601 cat >>conftest.$ac_ext <<_ACEOF
38602 /* end confdefs.h.  */
38603 #include <math.h>
38604                       #ifdef HAVE_IEEEFP_H
38605                       #include <ieeefp.h>
38606                       #endif
38607
38608 int
38609 main ()
38610 {
38611  log10f(0);
38612   ;
38613   return 0;
38614 }
38615 _ACEOF
38616 rm -f conftest.$ac_objext
38617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38618   (eval $ac_compile) 2>conftest.er1
38619   ac_status=$?
38620   grep -v '^ *+' conftest.er1 >conftest.err
38621   rm -f conftest.er1
38622   cat conftest.err >&5
38623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38624   (exit $ac_status); } &&
38625          { ac_try='test -z "$ac_cxx_werror_flag"
38626                          || test ! -s conftest.err'
38627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38628   (eval $ac_try) 2>&5
38629   ac_status=$?
38630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38631   (exit $ac_status); }; } &&
38632          { ac_try='test -s conftest.$ac_objext'
38633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38634   (eval $ac_try) 2>&5
38635   ac_status=$?
38636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38637   (exit $ac_status); }; }; then
38638   glibcxx_cv_func_log10f_use=yes
38639 else
38640   echo "$as_me: failed program was:" >&5
38641 sed 's/^/| /' conftest.$ac_ext >&5
38642
38643 glibcxx_cv_func_log10f_use=no
38644 fi
38645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38646       ac_ext=c
38647 ac_cpp='$CPP $CPPFLAGS'
38648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38651
38652
38653 fi
38654
38655   fi
38656   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
38657 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
38658
38659   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38660
38661 for ac_func in log10f
38662 do
38663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38664 echo "$as_me:$LINENO: checking for $ac_func" >&5
38665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38666 if eval "test \"\${$as_ac_var+set}\" = set"; then
38667   echo $ECHO_N "(cached) $ECHO_C" >&6
38668 else
38669   if test x$gcc_no_link = xyes; then
38670   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38672    { (exit 1); exit 1; }; }
38673 fi
38674 cat >conftest.$ac_ext <<_ACEOF
38675 /* confdefs.h.  */
38676 _ACEOF
38677 cat confdefs.h >>conftest.$ac_ext
38678 cat >>conftest.$ac_ext <<_ACEOF
38679 /* end confdefs.h.  */
38680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38681    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38682 #define $ac_func innocuous_$ac_func
38683
38684 /* System header to define __stub macros and hopefully few prototypes,
38685     which can conflict with char $ac_func (); below.
38686     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38687     <limits.h> exists even on freestanding compilers.  */
38688
38689 #ifdef __STDC__
38690 # include <limits.h>
38691 #else
38692 # include <assert.h>
38693 #endif
38694
38695 #undef $ac_func
38696
38697 /* Override any gcc2 internal prototype to avoid an error.  */
38698 #ifdef __cplusplus
38699 extern "C"
38700 {
38701 #endif
38702 /* We use char because int might match the return type of a gcc2
38703    builtin and then its argument prototype would still apply.  */
38704 char $ac_func ();
38705 /* The GNU C library defines this for functions which it implements
38706     to always fail with ENOSYS.  Some functions are actually named
38707     something starting with __ and the normal name is an alias.  */
38708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38709 choke me
38710 #else
38711 char (*f) () = $ac_func;
38712 #endif
38713 #ifdef __cplusplus
38714 }
38715 #endif
38716
38717 int
38718 main ()
38719 {
38720 return f != $ac_func;
38721   ;
38722   return 0;
38723 }
38724 _ACEOF
38725 rm -f conftest.$ac_objext conftest$ac_exeext
38726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38727   (eval $ac_link) 2>conftest.er1
38728   ac_status=$?
38729   grep -v '^ *+' conftest.er1 >conftest.err
38730   rm -f conftest.er1
38731   cat conftest.err >&5
38732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38733   (exit $ac_status); } &&
38734          { ac_try='test -z "$ac_c_werror_flag"
38735                          || test ! -s conftest.err'
38736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38737   (eval $ac_try) 2>&5
38738   ac_status=$?
38739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38740   (exit $ac_status); }; } &&
38741          { ac_try='test -s conftest$ac_exeext'
38742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38743   (eval $ac_try) 2>&5
38744   ac_status=$?
38745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38746   (exit $ac_status); }; }; then
38747   eval "$as_ac_var=yes"
38748 else
38749   echo "$as_me: failed program was:" >&5
38750 sed 's/^/| /' conftest.$ac_ext >&5
38751
38752 eval "$as_ac_var=no"
38753 fi
38754 rm -f conftest.err conftest.$ac_objext \
38755       conftest$ac_exeext conftest.$ac_ext
38756 fi
38757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38759 if test `eval echo '${'$as_ac_var'}'` = yes; then
38760   cat >>confdefs.h <<_ACEOF
38761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38762 _ACEOF
38763
38764 fi
38765 done
38766
38767   else
38768
38769   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
38770 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
38771   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38772     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
38773   echo $ECHO_N "(cached) $ECHO_C" >&6
38774 else
38775
38776
38777
38778       ac_ext=cc
38779 ac_cpp='$CXXCPP $CPPFLAGS'
38780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38783
38784       cat >conftest.$ac_ext <<_ACEOF
38785 /* confdefs.h.  */
38786 _ACEOF
38787 cat confdefs.h >>conftest.$ac_ext
38788 cat >>conftest.$ac_ext <<_ACEOF
38789 /* end confdefs.h.  */
38790 #include <math.h>
38791                       #ifdef HAVE_IEEEFP_H
38792                       #include <ieeefp.h>
38793                       #endif
38794
38795 int
38796 main ()
38797 {
38798  _log10f(0);
38799   ;
38800   return 0;
38801 }
38802 _ACEOF
38803 rm -f conftest.$ac_objext
38804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38805   (eval $ac_compile) 2>conftest.er1
38806   ac_status=$?
38807   grep -v '^ *+' conftest.er1 >conftest.err
38808   rm -f conftest.er1
38809   cat conftest.err >&5
38810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38811   (exit $ac_status); } &&
38812          { ac_try='test -z "$ac_cxx_werror_flag"
38813                          || test ! -s conftest.err'
38814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38815   (eval $ac_try) 2>&5
38816   ac_status=$?
38817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38818   (exit $ac_status); }; } &&
38819          { ac_try='test -s conftest.$ac_objext'
38820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38821   (eval $ac_try) 2>&5
38822   ac_status=$?
38823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38824   (exit $ac_status); }; }; then
38825   glibcxx_cv_func__log10f_use=yes
38826 else
38827   echo "$as_me: failed program was:" >&5
38828 sed 's/^/| /' conftest.$ac_ext >&5
38829
38830 glibcxx_cv_func__log10f_use=no
38831 fi
38832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38833       ac_ext=c
38834 ac_cpp='$CPP $CPPFLAGS'
38835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38838
38839
38840 fi
38841
38842   fi
38843   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
38844 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
38845
38846     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38847
38848 for ac_func in _log10f
38849 do
38850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38851 echo "$as_me:$LINENO: checking for $ac_func" >&5
38852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38853 if eval "test \"\${$as_ac_var+set}\" = set"; then
38854   echo $ECHO_N "(cached) $ECHO_C" >&6
38855 else
38856   if test x$gcc_no_link = xyes; then
38857   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38859    { (exit 1); exit 1; }; }
38860 fi
38861 cat >conftest.$ac_ext <<_ACEOF
38862 /* confdefs.h.  */
38863 _ACEOF
38864 cat confdefs.h >>conftest.$ac_ext
38865 cat >>conftest.$ac_ext <<_ACEOF
38866 /* end confdefs.h.  */
38867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38868    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38869 #define $ac_func innocuous_$ac_func
38870
38871 /* System header to define __stub macros and hopefully few prototypes,
38872     which can conflict with char $ac_func (); below.
38873     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38874     <limits.h> exists even on freestanding compilers.  */
38875
38876 #ifdef __STDC__
38877 # include <limits.h>
38878 #else
38879 # include <assert.h>
38880 #endif
38881
38882 #undef $ac_func
38883
38884 /* Override any gcc2 internal prototype to avoid an error.  */
38885 #ifdef __cplusplus
38886 extern "C"
38887 {
38888 #endif
38889 /* We use char because int might match the return type of a gcc2
38890    builtin and then its argument prototype would still apply.  */
38891 char $ac_func ();
38892 /* The GNU C library defines this for functions which it implements
38893     to always fail with ENOSYS.  Some functions are actually named
38894     something starting with __ and the normal name is an alias.  */
38895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38896 choke me
38897 #else
38898 char (*f) () = $ac_func;
38899 #endif
38900 #ifdef __cplusplus
38901 }
38902 #endif
38903
38904 int
38905 main ()
38906 {
38907 return f != $ac_func;
38908   ;
38909   return 0;
38910 }
38911 _ACEOF
38912 rm -f conftest.$ac_objext conftest$ac_exeext
38913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38914   (eval $ac_link) 2>conftest.er1
38915   ac_status=$?
38916   grep -v '^ *+' conftest.er1 >conftest.err
38917   rm -f conftest.er1
38918   cat conftest.err >&5
38919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38920   (exit $ac_status); } &&
38921          { ac_try='test -z "$ac_c_werror_flag"
38922                          || test ! -s conftest.err'
38923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38924   (eval $ac_try) 2>&5
38925   ac_status=$?
38926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38927   (exit $ac_status); }; } &&
38928          { ac_try='test -s conftest$ac_exeext'
38929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38930   (eval $ac_try) 2>&5
38931   ac_status=$?
38932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38933   (exit $ac_status); }; }; then
38934   eval "$as_ac_var=yes"
38935 else
38936   echo "$as_me: failed program was:" >&5
38937 sed 's/^/| /' conftest.$ac_ext >&5
38938
38939 eval "$as_ac_var=no"
38940 fi
38941 rm -f conftest.err conftest.$ac_objext \
38942       conftest$ac_exeext conftest.$ac_ext
38943 fi
38944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38946 if test `eval echo '${'$as_ac_var'}'` = yes; then
38947   cat >>confdefs.h <<_ACEOF
38948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38949 _ACEOF
38950
38951 fi
38952 done
38953
38954     fi
38955   fi
38956
38957
38958
38959   echo "$as_me:$LINENO: checking for modff declaration" >&5
38960 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
38961   if test x${glibcxx_cv_func_modff_use+set} != xset; then
38962     if test "${glibcxx_cv_func_modff_use+set}" = set; then
38963   echo $ECHO_N "(cached) $ECHO_C" >&6
38964 else
38965
38966
38967
38968       ac_ext=cc
38969 ac_cpp='$CXXCPP $CPPFLAGS'
38970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38973
38974       cat >conftest.$ac_ext <<_ACEOF
38975 /* confdefs.h.  */
38976 _ACEOF
38977 cat confdefs.h >>conftest.$ac_ext
38978 cat >>conftest.$ac_ext <<_ACEOF
38979 /* end confdefs.h.  */
38980 #include <math.h>
38981 int
38982 main ()
38983 {
38984  modff(0, 0);
38985   ;
38986   return 0;
38987 }
38988 _ACEOF
38989 rm -f conftest.$ac_objext
38990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38991   (eval $ac_compile) 2>conftest.er1
38992   ac_status=$?
38993   grep -v '^ *+' conftest.er1 >conftest.err
38994   rm -f conftest.er1
38995   cat conftest.err >&5
38996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38997   (exit $ac_status); } &&
38998          { ac_try='test -z "$ac_cxx_werror_flag"
38999                          || test ! -s conftest.err'
39000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39001   (eval $ac_try) 2>&5
39002   ac_status=$?
39003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39004   (exit $ac_status); }; } &&
39005          { ac_try='test -s conftest.$ac_objext'
39006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39007   (eval $ac_try) 2>&5
39008   ac_status=$?
39009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39010   (exit $ac_status); }; }; then
39011   glibcxx_cv_func_modff_use=yes
39012 else
39013   echo "$as_me: failed program was:" >&5
39014 sed 's/^/| /' conftest.$ac_ext >&5
39015
39016 glibcxx_cv_func_modff_use=no
39017 fi
39018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39019       ac_ext=c
39020 ac_cpp='$CPP $CPPFLAGS'
39021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39024
39025
39026 fi
39027
39028   fi
39029   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
39030 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
39031
39032   if test x$glibcxx_cv_func_modff_use = x"yes"; then
39033
39034 for ac_func in modff
39035 do
39036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39037 echo "$as_me:$LINENO: checking for $ac_func" >&5
39038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39039 if eval "test \"\${$as_ac_var+set}\" = set"; then
39040   echo $ECHO_N "(cached) $ECHO_C" >&6
39041 else
39042   if test x$gcc_no_link = xyes; then
39043   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39045    { (exit 1); exit 1; }; }
39046 fi
39047 cat >conftest.$ac_ext <<_ACEOF
39048 /* confdefs.h.  */
39049 _ACEOF
39050 cat confdefs.h >>conftest.$ac_ext
39051 cat >>conftest.$ac_ext <<_ACEOF
39052 /* end confdefs.h.  */
39053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39054    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39055 #define $ac_func innocuous_$ac_func
39056
39057 /* System header to define __stub macros and hopefully few prototypes,
39058     which can conflict with char $ac_func (); below.
39059     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39060     <limits.h> exists even on freestanding compilers.  */
39061
39062 #ifdef __STDC__
39063 # include <limits.h>
39064 #else
39065 # include <assert.h>
39066 #endif
39067
39068 #undef $ac_func
39069
39070 /* Override any gcc2 internal prototype to avoid an error.  */
39071 #ifdef __cplusplus
39072 extern "C"
39073 {
39074 #endif
39075 /* We use char because int might match the return type of a gcc2
39076    builtin and then its argument prototype would still apply.  */
39077 char $ac_func ();
39078 /* The GNU C library defines this for functions which it implements
39079     to always fail with ENOSYS.  Some functions are actually named
39080     something starting with __ and the normal name is an alias.  */
39081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39082 choke me
39083 #else
39084 char (*f) () = $ac_func;
39085 #endif
39086 #ifdef __cplusplus
39087 }
39088 #endif
39089
39090 int
39091 main ()
39092 {
39093 return f != $ac_func;
39094   ;
39095   return 0;
39096 }
39097 _ACEOF
39098 rm -f conftest.$ac_objext conftest$ac_exeext
39099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39100   (eval $ac_link) 2>conftest.er1
39101   ac_status=$?
39102   grep -v '^ *+' conftest.er1 >conftest.err
39103   rm -f conftest.er1
39104   cat conftest.err >&5
39105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39106   (exit $ac_status); } &&
39107          { ac_try='test -z "$ac_c_werror_flag"
39108                          || test ! -s conftest.err'
39109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39110   (eval $ac_try) 2>&5
39111   ac_status=$?
39112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39113   (exit $ac_status); }; } &&
39114          { ac_try='test -s conftest$ac_exeext'
39115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39116   (eval $ac_try) 2>&5
39117   ac_status=$?
39118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39119   (exit $ac_status); }; }; then
39120   eval "$as_ac_var=yes"
39121 else
39122   echo "$as_me: failed program was:" >&5
39123 sed 's/^/| /' conftest.$ac_ext >&5
39124
39125 eval "$as_ac_var=no"
39126 fi
39127 rm -f conftest.err conftest.$ac_objext \
39128       conftest$ac_exeext conftest.$ac_ext
39129 fi
39130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39132 if test `eval echo '${'$as_ac_var'}'` = yes; then
39133   cat >>confdefs.h <<_ACEOF
39134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39135 _ACEOF
39136
39137 fi
39138 done
39139
39140   else
39141
39142   echo "$as_me:$LINENO: checking for _modff declaration" >&5
39143 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
39144   if test x${glibcxx_cv_func__modff_use+set} != xset; then
39145     if test "${glibcxx_cv_func__modff_use+set}" = set; then
39146   echo $ECHO_N "(cached) $ECHO_C" >&6
39147 else
39148
39149
39150
39151       ac_ext=cc
39152 ac_cpp='$CXXCPP $CPPFLAGS'
39153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39156
39157       cat >conftest.$ac_ext <<_ACEOF
39158 /* confdefs.h.  */
39159 _ACEOF
39160 cat confdefs.h >>conftest.$ac_ext
39161 cat >>conftest.$ac_ext <<_ACEOF
39162 /* end confdefs.h.  */
39163 #include <math.h>
39164 int
39165 main ()
39166 {
39167  _modff(0, 0);
39168   ;
39169   return 0;
39170 }
39171 _ACEOF
39172 rm -f conftest.$ac_objext
39173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39174   (eval $ac_compile) 2>conftest.er1
39175   ac_status=$?
39176   grep -v '^ *+' conftest.er1 >conftest.err
39177   rm -f conftest.er1
39178   cat conftest.err >&5
39179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39180   (exit $ac_status); } &&
39181          { ac_try='test -z "$ac_cxx_werror_flag"
39182                          || test ! -s conftest.err'
39183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39184   (eval $ac_try) 2>&5
39185   ac_status=$?
39186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39187   (exit $ac_status); }; } &&
39188          { ac_try='test -s conftest.$ac_objext'
39189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39190   (eval $ac_try) 2>&5
39191   ac_status=$?
39192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39193   (exit $ac_status); }; }; then
39194   glibcxx_cv_func__modff_use=yes
39195 else
39196   echo "$as_me: failed program was:" >&5
39197 sed 's/^/| /' conftest.$ac_ext >&5
39198
39199 glibcxx_cv_func__modff_use=no
39200 fi
39201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39202       ac_ext=c
39203 ac_cpp='$CPP $CPPFLAGS'
39204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39207
39208
39209 fi
39210
39211   fi
39212   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
39213 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
39214
39215     if test x$glibcxx_cv_func__modff_use = x"yes"; then
39216
39217 for ac_func in _modff
39218 do
39219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39220 echo "$as_me:$LINENO: checking for $ac_func" >&5
39221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39222 if eval "test \"\${$as_ac_var+set}\" = set"; then
39223   echo $ECHO_N "(cached) $ECHO_C" >&6
39224 else
39225   if test x$gcc_no_link = xyes; then
39226   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39228    { (exit 1); exit 1; }; }
39229 fi
39230 cat >conftest.$ac_ext <<_ACEOF
39231 /* confdefs.h.  */
39232 _ACEOF
39233 cat confdefs.h >>conftest.$ac_ext
39234 cat >>conftest.$ac_ext <<_ACEOF
39235 /* end confdefs.h.  */
39236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39237    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39238 #define $ac_func innocuous_$ac_func
39239
39240 /* System header to define __stub macros and hopefully few prototypes,
39241     which can conflict with char $ac_func (); below.
39242     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39243     <limits.h> exists even on freestanding compilers.  */
39244
39245 #ifdef __STDC__
39246 # include <limits.h>
39247 #else
39248 # include <assert.h>
39249 #endif
39250
39251 #undef $ac_func
39252
39253 /* Override any gcc2 internal prototype to avoid an error.  */
39254 #ifdef __cplusplus
39255 extern "C"
39256 {
39257 #endif
39258 /* We use char because int might match the return type of a gcc2
39259    builtin and then its argument prototype would still apply.  */
39260 char $ac_func ();
39261 /* The GNU C library defines this for functions which it implements
39262     to always fail with ENOSYS.  Some functions are actually named
39263     something starting with __ and the normal name is an alias.  */
39264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39265 choke me
39266 #else
39267 char (*f) () = $ac_func;
39268 #endif
39269 #ifdef __cplusplus
39270 }
39271 #endif
39272
39273 int
39274 main ()
39275 {
39276 return f != $ac_func;
39277   ;
39278   return 0;
39279 }
39280 _ACEOF
39281 rm -f conftest.$ac_objext conftest$ac_exeext
39282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39283   (eval $ac_link) 2>conftest.er1
39284   ac_status=$?
39285   grep -v '^ *+' conftest.er1 >conftest.err
39286   rm -f conftest.er1
39287   cat conftest.err >&5
39288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39289   (exit $ac_status); } &&
39290          { ac_try='test -z "$ac_c_werror_flag"
39291                          || test ! -s conftest.err'
39292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39293   (eval $ac_try) 2>&5
39294   ac_status=$?
39295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39296   (exit $ac_status); }; } &&
39297          { ac_try='test -s conftest$ac_exeext'
39298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39299   (eval $ac_try) 2>&5
39300   ac_status=$?
39301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39302   (exit $ac_status); }; }; then
39303   eval "$as_ac_var=yes"
39304 else
39305   echo "$as_me: failed program was:" >&5
39306 sed 's/^/| /' conftest.$ac_ext >&5
39307
39308 eval "$as_ac_var=no"
39309 fi
39310 rm -f conftest.err conftest.$ac_objext \
39311       conftest$ac_exeext conftest.$ac_ext
39312 fi
39313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39315 if test `eval echo '${'$as_ac_var'}'` = yes; then
39316   cat >>confdefs.h <<_ACEOF
39317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39318 _ACEOF
39319
39320 fi
39321 done
39322
39323     fi
39324   fi
39325
39326
39327
39328   echo "$as_me:$LINENO: checking for powf declaration" >&5
39329 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
39330   if test x${glibcxx_cv_func_powf_use+set} != xset; then
39331     if test "${glibcxx_cv_func_powf_use+set}" = set; then
39332   echo $ECHO_N "(cached) $ECHO_C" >&6
39333 else
39334
39335
39336
39337       ac_ext=cc
39338 ac_cpp='$CXXCPP $CPPFLAGS'
39339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39342
39343       cat >conftest.$ac_ext <<_ACEOF
39344 /* confdefs.h.  */
39345 _ACEOF
39346 cat confdefs.h >>conftest.$ac_ext
39347 cat >>conftest.$ac_ext <<_ACEOF
39348 /* end confdefs.h.  */
39349 #include <math.h>
39350 int
39351 main ()
39352 {
39353  powf(0, 0);
39354   ;
39355   return 0;
39356 }
39357 _ACEOF
39358 rm -f conftest.$ac_objext
39359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39360   (eval $ac_compile) 2>conftest.er1
39361   ac_status=$?
39362   grep -v '^ *+' conftest.er1 >conftest.err
39363   rm -f conftest.er1
39364   cat conftest.err >&5
39365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39366   (exit $ac_status); } &&
39367          { ac_try='test -z "$ac_cxx_werror_flag"
39368                          || test ! -s conftest.err'
39369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39370   (eval $ac_try) 2>&5
39371   ac_status=$?
39372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39373   (exit $ac_status); }; } &&
39374          { ac_try='test -s conftest.$ac_objext'
39375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39376   (eval $ac_try) 2>&5
39377   ac_status=$?
39378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39379   (exit $ac_status); }; }; then
39380   glibcxx_cv_func_powf_use=yes
39381 else
39382   echo "$as_me: failed program was:" >&5
39383 sed 's/^/| /' conftest.$ac_ext >&5
39384
39385 glibcxx_cv_func_powf_use=no
39386 fi
39387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39388       ac_ext=c
39389 ac_cpp='$CPP $CPPFLAGS'
39390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39393
39394
39395 fi
39396
39397   fi
39398   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
39399 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
39400
39401   if test x$glibcxx_cv_func_powf_use = x"yes"; then
39402
39403 for ac_func in powf
39404 do
39405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39406 echo "$as_me:$LINENO: checking for $ac_func" >&5
39407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39408 if eval "test \"\${$as_ac_var+set}\" = set"; then
39409   echo $ECHO_N "(cached) $ECHO_C" >&6
39410 else
39411   if test x$gcc_no_link = xyes; then
39412   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39414    { (exit 1); exit 1; }; }
39415 fi
39416 cat >conftest.$ac_ext <<_ACEOF
39417 /* confdefs.h.  */
39418 _ACEOF
39419 cat confdefs.h >>conftest.$ac_ext
39420 cat >>conftest.$ac_ext <<_ACEOF
39421 /* end confdefs.h.  */
39422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39423    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39424 #define $ac_func innocuous_$ac_func
39425
39426 /* System header to define __stub macros and hopefully few prototypes,
39427     which can conflict with char $ac_func (); below.
39428     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39429     <limits.h> exists even on freestanding compilers.  */
39430
39431 #ifdef __STDC__
39432 # include <limits.h>
39433 #else
39434 # include <assert.h>
39435 #endif
39436
39437 #undef $ac_func
39438
39439 /* Override any gcc2 internal prototype to avoid an error.  */
39440 #ifdef __cplusplus
39441 extern "C"
39442 {
39443 #endif
39444 /* We use char because int might match the return type of a gcc2
39445    builtin and then its argument prototype would still apply.  */
39446 char $ac_func ();
39447 /* The GNU C library defines this for functions which it implements
39448     to always fail with ENOSYS.  Some functions are actually named
39449     something starting with __ and the normal name is an alias.  */
39450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39451 choke me
39452 #else
39453 char (*f) () = $ac_func;
39454 #endif
39455 #ifdef __cplusplus
39456 }
39457 #endif
39458
39459 int
39460 main ()
39461 {
39462 return f != $ac_func;
39463   ;
39464   return 0;
39465 }
39466 _ACEOF
39467 rm -f conftest.$ac_objext conftest$ac_exeext
39468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39469   (eval $ac_link) 2>conftest.er1
39470   ac_status=$?
39471   grep -v '^ *+' conftest.er1 >conftest.err
39472   rm -f conftest.er1
39473   cat conftest.err >&5
39474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39475   (exit $ac_status); } &&
39476          { ac_try='test -z "$ac_c_werror_flag"
39477                          || test ! -s conftest.err'
39478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39479   (eval $ac_try) 2>&5
39480   ac_status=$?
39481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39482   (exit $ac_status); }; } &&
39483          { ac_try='test -s conftest$ac_exeext'
39484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39485   (eval $ac_try) 2>&5
39486   ac_status=$?
39487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39488   (exit $ac_status); }; }; then
39489   eval "$as_ac_var=yes"
39490 else
39491   echo "$as_me: failed program was:" >&5
39492 sed 's/^/| /' conftest.$ac_ext >&5
39493
39494 eval "$as_ac_var=no"
39495 fi
39496 rm -f conftest.err conftest.$ac_objext \
39497       conftest$ac_exeext conftest.$ac_ext
39498 fi
39499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39501 if test `eval echo '${'$as_ac_var'}'` = yes; then
39502   cat >>confdefs.h <<_ACEOF
39503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39504 _ACEOF
39505
39506 fi
39507 done
39508
39509   else
39510
39511   echo "$as_me:$LINENO: checking for _powf declaration" >&5
39512 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
39513   if test x${glibcxx_cv_func__powf_use+set} != xset; then
39514     if test "${glibcxx_cv_func__powf_use+set}" = set; then
39515   echo $ECHO_N "(cached) $ECHO_C" >&6
39516 else
39517
39518
39519
39520       ac_ext=cc
39521 ac_cpp='$CXXCPP $CPPFLAGS'
39522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39525
39526       cat >conftest.$ac_ext <<_ACEOF
39527 /* confdefs.h.  */
39528 _ACEOF
39529 cat confdefs.h >>conftest.$ac_ext
39530 cat >>conftest.$ac_ext <<_ACEOF
39531 /* end confdefs.h.  */
39532 #include <math.h>
39533 int
39534 main ()
39535 {
39536  _powf(0, 0);
39537   ;
39538   return 0;
39539 }
39540 _ACEOF
39541 rm -f conftest.$ac_objext
39542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39543   (eval $ac_compile) 2>conftest.er1
39544   ac_status=$?
39545   grep -v '^ *+' conftest.er1 >conftest.err
39546   rm -f conftest.er1
39547   cat conftest.err >&5
39548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39549   (exit $ac_status); } &&
39550          { ac_try='test -z "$ac_cxx_werror_flag"
39551                          || test ! -s conftest.err'
39552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39553   (eval $ac_try) 2>&5
39554   ac_status=$?
39555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39556   (exit $ac_status); }; } &&
39557          { ac_try='test -s conftest.$ac_objext'
39558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39559   (eval $ac_try) 2>&5
39560   ac_status=$?
39561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39562   (exit $ac_status); }; }; then
39563   glibcxx_cv_func__powf_use=yes
39564 else
39565   echo "$as_me: failed program was:" >&5
39566 sed 's/^/| /' conftest.$ac_ext >&5
39567
39568 glibcxx_cv_func__powf_use=no
39569 fi
39570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39571       ac_ext=c
39572 ac_cpp='$CPP $CPPFLAGS'
39573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39576
39577
39578 fi
39579
39580   fi
39581   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
39582 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
39583
39584     if test x$glibcxx_cv_func__powf_use = x"yes"; then
39585
39586 for ac_func in _powf
39587 do
39588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39589 echo "$as_me:$LINENO: checking for $ac_func" >&5
39590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39591 if eval "test \"\${$as_ac_var+set}\" = set"; then
39592   echo $ECHO_N "(cached) $ECHO_C" >&6
39593 else
39594   if test x$gcc_no_link = xyes; then
39595   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39597    { (exit 1); exit 1; }; }
39598 fi
39599 cat >conftest.$ac_ext <<_ACEOF
39600 /* confdefs.h.  */
39601 _ACEOF
39602 cat confdefs.h >>conftest.$ac_ext
39603 cat >>conftest.$ac_ext <<_ACEOF
39604 /* end confdefs.h.  */
39605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39606    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39607 #define $ac_func innocuous_$ac_func
39608
39609 /* System header to define __stub macros and hopefully few prototypes,
39610     which can conflict with char $ac_func (); below.
39611     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39612     <limits.h> exists even on freestanding compilers.  */
39613
39614 #ifdef __STDC__
39615 # include <limits.h>
39616 #else
39617 # include <assert.h>
39618 #endif
39619
39620 #undef $ac_func
39621
39622 /* Override any gcc2 internal prototype to avoid an error.  */
39623 #ifdef __cplusplus
39624 extern "C"
39625 {
39626 #endif
39627 /* We use char because int might match the return type of a gcc2
39628    builtin and then its argument prototype would still apply.  */
39629 char $ac_func ();
39630 /* The GNU C library defines this for functions which it implements
39631     to always fail with ENOSYS.  Some functions are actually named
39632     something starting with __ and the normal name is an alias.  */
39633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39634 choke me
39635 #else
39636 char (*f) () = $ac_func;
39637 #endif
39638 #ifdef __cplusplus
39639 }
39640 #endif
39641
39642 int
39643 main ()
39644 {
39645 return f != $ac_func;
39646   ;
39647   return 0;
39648 }
39649 _ACEOF
39650 rm -f conftest.$ac_objext conftest$ac_exeext
39651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39652   (eval $ac_link) 2>conftest.er1
39653   ac_status=$?
39654   grep -v '^ *+' conftest.er1 >conftest.err
39655   rm -f conftest.er1
39656   cat conftest.err >&5
39657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39658   (exit $ac_status); } &&
39659          { ac_try='test -z "$ac_c_werror_flag"
39660                          || test ! -s conftest.err'
39661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39662   (eval $ac_try) 2>&5
39663   ac_status=$?
39664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39665   (exit $ac_status); }; } &&
39666          { ac_try='test -s conftest$ac_exeext'
39667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39668   (eval $ac_try) 2>&5
39669   ac_status=$?
39670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39671   (exit $ac_status); }; }; then
39672   eval "$as_ac_var=yes"
39673 else
39674   echo "$as_me: failed program was:" >&5
39675 sed 's/^/| /' conftest.$ac_ext >&5
39676
39677 eval "$as_ac_var=no"
39678 fi
39679 rm -f conftest.err conftest.$ac_objext \
39680       conftest$ac_exeext conftest.$ac_ext
39681 fi
39682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39684 if test `eval echo '${'$as_ac_var'}'` = yes; then
39685   cat >>confdefs.h <<_ACEOF
39686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39687 _ACEOF
39688
39689 fi
39690 done
39691
39692     fi
39693   fi
39694
39695
39696
39697   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
39698 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
39699   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
39700     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
39701   echo $ECHO_N "(cached) $ECHO_C" >&6
39702 else
39703
39704
39705
39706       ac_ext=cc
39707 ac_cpp='$CXXCPP $CPPFLAGS'
39708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39711
39712       cat >conftest.$ac_ext <<_ACEOF
39713 /* confdefs.h.  */
39714 _ACEOF
39715 cat confdefs.h >>conftest.$ac_ext
39716 cat >>conftest.$ac_ext <<_ACEOF
39717 /* end confdefs.h.  */
39718 #include <math.h>
39719                       #ifdef HAVE_IEEEFP_H
39720                       #include <ieeefp.h>
39721                       #endif
39722
39723 int
39724 main ()
39725 {
39726  sqrtf(0);
39727   ;
39728   return 0;
39729 }
39730 _ACEOF
39731 rm -f conftest.$ac_objext
39732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39733   (eval $ac_compile) 2>conftest.er1
39734   ac_status=$?
39735   grep -v '^ *+' conftest.er1 >conftest.err
39736   rm -f conftest.er1
39737   cat conftest.err >&5
39738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39739   (exit $ac_status); } &&
39740          { ac_try='test -z "$ac_cxx_werror_flag"
39741                          || test ! -s conftest.err'
39742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39743   (eval $ac_try) 2>&5
39744   ac_status=$?
39745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39746   (exit $ac_status); }; } &&
39747          { ac_try='test -s conftest.$ac_objext'
39748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39749   (eval $ac_try) 2>&5
39750   ac_status=$?
39751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39752   (exit $ac_status); }; }; then
39753   glibcxx_cv_func_sqrtf_use=yes
39754 else
39755   echo "$as_me: failed program was:" >&5
39756 sed 's/^/| /' conftest.$ac_ext >&5
39757
39758 glibcxx_cv_func_sqrtf_use=no
39759 fi
39760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39761       ac_ext=c
39762 ac_cpp='$CPP $CPPFLAGS'
39763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39766
39767
39768 fi
39769
39770   fi
39771   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
39772 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
39773
39774   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
39775
39776 for ac_func in sqrtf
39777 do
39778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39779 echo "$as_me:$LINENO: checking for $ac_func" >&5
39780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39781 if eval "test \"\${$as_ac_var+set}\" = set"; then
39782   echo $ECHO_N "(cached) $ECHO_C" >&6
39783 else
39784   if test x$gcc_no_link = xyes; then
39785   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39787    { (exit 1); exit 1; }; }
39788 fi
39789 cat >conftest.$ac_ext <<_ACEOF
39790 /* confdefs.h.  */
39791 _ACEOF
39792 cat confdefs.h >>conftest.$ac_ext
39793 cat >>conftest.$ac_ext <<_ACEOF
39794 /* end confdefs.h.  */
39795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39796    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39797 #define $ac_func innocuous_$ac_func
39798
39799 /* System header to define __stub macros and hopefully few prototypes,
39800     which can conflict with char $ac_func (); below.
39801     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39802     <limits.h> exists even on freestanding compilers.  */
39803
39804 #ifdef __STDC__
39805 # include <limits.h>
39806 #else
39807 # include <assert.h>
39808 #endif
39809
39810 #undef $ac_func
39811
39812 /* Override any gcc2 internal prototype to avoid an error.  */
39813 #ifdef __cplusplus
39814 extern "C"
39815 {
39816 #endif
39817 /* We use char because int might match the return type of a gcc2
39818    builtin and then its argument prototype would still apply.  */
39819 char $ac_func ();
39820 /* The GNU C library defines this for functions which it implements
39821     to always fail with ENOSYS.  Some functions are actually named
39822     something starting with __ and the normal name is an alias.  */
39823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39824 choke me
39825 #else
39826 char (*f) () = $ac_func;
39827 #endif
39828 #ifdef __cplusplus
39829 }
39830 #endif
39831
39832 int
39833 main ()
39834 {
39835 return f != $ac_func;
39836   ;
39837   return 0;
39838 }
39839 _ACEOF
39840 rm -f conftest.$ac_objext conftest$ac_exeext
39841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39842   (eval $ac_link) 2>conftest.er1
39843   ac_status=$?
39844   grep -v '^ *+' conftest.er1 >conftest.err
39845   rm -f conftest.er1
39846   cat conftest.err >&5
39847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39848   (exit $ac_status); } &&
39849          { ac_try='test -z "$ac_c_werror_flag"
39850                          || test ! -s conftest.err'
39851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39852   (eval $ac_try) 2>&5
39853   ac_status=$?
39854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39855   (exit $ac_status); }; } &&
39856          { ac_try='test -s conftest$ac_exeext'
39857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39858   (eval $ac_try) 2>&5
39859   ac_status=$?
39860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39861   (exit $ac_status); }; }; then
39862   eval "$as_ac_var=yes"
39863 else
39864   echo "$as_me: failed program was:" >&5
39865 sed 's/^/| /' conftest.$ac_ext >&5
39866
39867 eval "$as_ac_var=no"
39868 fi
39869 rm -f conftest.err conftest.$ac_objext \
39870       conftest$ac_exeext conftest.$ac_ext
39871 fi
39872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39874 if test `eval echo '${'$as_ac_var'}'` = yes; then
39875   cat >>confdefs.h <<_ACEOF
39876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39877 _ACEOF
39878
39879 fi
39880 done
39881
39882   else
39883
39884   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
39885 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
39886   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
39887     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
39888   echo $ECHO_N "(cached) $ECHO_C" >&6
39889 else
39890
39891
39892
39893       ac_ext=cc
39894 ac_cpp='$CXXCPP $CPPFLAGS'
39895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39898
39899       cat >conftest.$ac_ext <<_ACEOF
39900 /* confdefs.h.  */
39901 _ACEOF
39902 cat confdefs.h >>conftest.$ac_ext
39903 cat >>conftest.$ac_ext <<_ACEOF
39904 /* end confdefs.h.  */
39905 #include <math.h>
39906                       #ifdef HAVE_IEEEFP_H
39907                       #include <ieeefp.h>
39908                       #endif
39909
39910 int
39911 main ()
39912 {
39913  _sqrtf(0);
39914   ;
39915   return 0;
39916 }
39917 _ACEOF
39918 rm -f conftest.$ac_objext
39919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39920   (eval $ac_compile) 2>conftest.er1
39921   ac_status=$?
39922   grep -v '^ *+' conftest.er1 >conftest.err
39923   rm -f conftest.er1
39924   cat conftest.err >&5
39925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39926   (exit $ac_status); } &&
39927          { ac_try='test -z "$ac_cxx_werror_flag"
39928                          || test ! -s conftest.err'
39929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39930   (eval $ac_try) 2>&5
39931   ac_status=$?
39932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39933   (exit $ac_status); }; } &&
39934          { ac_try='test -s conftest.$ac_objext'
39935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39936   (eval $ac_try) 2>&5
39937   ac_status=$?
39938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39939   (exit $ac_status); }; }; then
39940   glibcxx_cv_func__sqrtf_use=yes
39941 else
39942   echo "$as_me: failed program was:" >&5
39943 sed 's/^/| /' conftest.$ac_ext >&5
39944
39945 glibcxx_cv_func__sqrtf_use=no
39946 fi
39947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39948       ac_ext=c
39949 ac_cpp='$CPP $CPPFLAGS'
39950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39953
39954
39955 fi
39956
39957   fi
39958   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
39959 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
39960
39961     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
39962
39963 for ac_func in _sqrtf
39964 do
39965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39966 echo "$as_me:$LINENO: checking for $ac_func" >&5
39967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39968 if eval "test \"\${$as_ac_var+set}\" = set"; then
39969   echo $ECHO_N "(cached) $ECHO_C" >&6
39970 else
39971   if test x$gcc_no_link = xyes; then
39972   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39974    { (exit 1); exit 1; }; }
39975 fi
39976 cat >conftest.$ac_ext <<_ACEOF
39977 /* confdefs.h.  */
39978 _ACEOF
39979 cat confdefs.h >>conftest.$ac_ext
39980 cat >>conftest.$ac_ext <<_ACEOF
39981 /* end confdefs.h.  */
39982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39983    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39984 #define $ac_func innocuous_$ac_func
39985
39986 /* System header to define __stub macros and hopefully few prototypes,
39987     which can conflict with char $ac_func (); below.
39988     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39989     <limits.h> exists even on freestanding compilers.  */
39990
39991 #ifdef __STDC__
39992 # include <limits.h>
39993 #else
39994 # include <assert.h>
39995 #endif
39996
39997 #undef $ac_func
39998
39999 /* Override any gcc2 internal prototype to avoid an error.  */
40000 #ifdef __cplusplus
40001 extern "C"
40002 {
40003 #endif
40004 /* We use char because int might match the return type of a gcc2
40005    builtin and then its argument prototype would still apply.  */
40006 char $ac_func ();
40007 /* The GNU C library defines this for functions which it implements
40008     to always fail with ENOSYS.  Some functions are actually named
40009     something starting with __ and the normal name is an alias.  */
40010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40011 choke me
40012 #else
40013 char (*f) () = $ac_func;
40014 #endif
40015 #ifdef __cplusplus
40016 }
40017 #endif
40018
40019 int
40020 main ()
40021 {
40022 return f != $ac_func;
40023   ;
40024   return 0;
40025 }
40026 _ACEOF
40027 rm -f conftest.$ac_objext conftest$ac_exeext
40028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40029   (eval $ac_link) 2>conftest.er1
40030   ac_status=$?
40031   grep -v '^ *+' conftest.er1 >conftest.err
40032   rm -f conftest.er1
40033   cat conftest.err >&5
40034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40035   (exit $ac_status); } &&
40036          { ac_try='test -z "$ac_c_werror_flag"
40037                          || test ! -s conftest.err'
40038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40039   (eval $ac_try) 2>&5
40040   ac_status=$?
40041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40042   (exit $ac_status); }; } &&
40043          { ac_try='test -s conftest$ac_exeext'
40044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40045   (eval $ac_try) 2>&5
40046   ac_status=$?
40047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40048   (exit $ac_status); }; }; then
40049   eval "$as_ac_var=yes"
40050 else
40051   echo "$as_me: failed program was:" >&5
40052 sed 's/^/| /' conftest.$ac_ext >&5
40053
40054 eval "$as_ac_var=no"
40055 fi
40056 rm -f conftest.err conftest.$ac_objext \
40057       conftest$ac_exeext conftest.$ac_ext
40058 fi
40059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40061 if test `eval echo '${'$as_ac_var'}'` = yes; then
40062   cat >>confdefs.h <<_ACEOF
40063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40064 _ACEOF
40065
40066 fi
40067 done
40068
40069     fi
40070   fi
40071
40072
40073
40074   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
40075 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
40076   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
40077     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
40078   echo $ECHO_N "(cached) $ECHO_C" >&6
40079 else
40080
40081
40082
40083       ac_ext=cc
40084 ac_cpp='$CXXCPP $CPPFLAGS'
40085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40088
40089       cat >conftest.$ac_ext <<_ACEOF
40090 /* confdefs.h.  */
40091 _ACEOF
40092 cat confdefs.h >>conftest.$ac_ext
40093 cat >>conftest.$ac_ext <<_ACEOF
40094 /* end confdefs.h.  */
40095 #include <math.h>
40096 int
40097 main ()
40098 {
40099  sincosf(0, 0, 0);
40100   ;
40101   return 0;
40102 }
40103 _ACEOF
40104 rm -f conftest.$ac_objext
40105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40106   (eval $ac_compile) 2>conftest.er1
40107   ac_status=$?
40108   grep -v '^ *+' conftest.er1 >conftest.err
40109   rm -f conftest.er1
40110   cat conftest.err >&5
40111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40112   (exit $ac_status); } &&
40113          { ac_try='test -z "$ac_cxx_werror_flag"
40114                          || test ! -s conftest.err'
40115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40116   (eval $ac_try) 2>&5
40117   ac_status=$?
40118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40119   (exit $ac_status); }; } &&
40120          { ac_try='test -s conftest.$ac_objext'
40121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40122   (eval $ac_try) 2>&5
40123   ac_status=$?
40124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40125   (exit $ac_status); }; }; then
40126   glibcxx_cv_func_sincosf_use=yes
40127 else
40128   echo "$as_me: failed program was:" >&5
40129 sed 's/^/| /' conftest.$ac_ext >&5
40130
40131 glibcxx_cv_func_sincosf_use=no
40132 fi
40133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40134       ac_ext=c
40135 ac_cpp='$CPP $CPPFLAGS'
40136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40139
40140
40141 fi
40142
40143   fi
40144   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
40145 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
40146
40147   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
40148
40149 for ac_func in sincosf
40150 do
40151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40152 echo "$as_me:$LINENO: checking for $ac_func" >&5
40153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40154 if eval "test \"\${$as_ac_var+set}\" = set"; then
40155   echo $ECHO_N "(cached) $ECHO_C" >&6
40156 else
40157   if test x$gcc_no_link = xyes; then
40158   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40160    { (exit 1); exit 1; }; }
40161 fi
40162 cat >conftest.$ac_ext <<_ACEOF
40163 /* confdefs.h.  */
40164 _ACEOF
40165 cat confdefs.h >>conftest.$ac_ext
40166 cat >>conftest.$ac_ext <<_ACEOF
40167 /* end confdefs.h.  */
40168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40169    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40170 #define $ac_func innocuous_$ac_func
40171
40172 /* System header to define __stub macros and hopefully few prototypes,
40173     which can conflict with char $ac_func (); below.
40174     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40175     <limits.h> exists even on freestanding compilers.  */
40176
40177 #ifdef __STDC__
40178 # include <limits.h>
40179 #else
40180 # include <assert.h>
40181 #endif
40182
40183 #undef $ac_func
40184
40185 /* Override any gcc2 internal prototype to avoid an error.  */
40186 #ifdef __cplusplus
40187 extern "C"
40188 {
40189 #endif
40190 /* We use char because int might match the return type of a gcc2
40191    builtin and then its argument prototype would still apply.  */
40192 char $ac_func ();
40193 /* The GNU C library defines this for functions which it implements
40194     to always fail with ENOSYS.  Some functions are actually named
40195     something starting with __ and the normal name is an alias.  */
40196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40197 choke me
40198 #else
40199 char (*f) () = $ac_func;
40200 #endif
40201 #ifdef __cplusplus
40202 }
40203 #endif
40204
40205 int
40206 main ()
40207 {
40208 return f != $ac_func;
40209   ;
40210   return 0;
40211 }
40212 _ACEOF
40213 rm -f conftest.$ac_objext conftest$ac_exeext
40214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40215   (eval $ac_link) 2>conftest.er1
40216   ac_status=$?
40217   grep -v '^ *+' conftest.er1 >conftest.err
40218   rm -f conftest.er1
40219   cat conftest.err >&5
40220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40221   (exit $ac_status); } &&
40222          { ac_try='test -z "$ac_c_werror_flag"
40223                          || test ! -s conftest.err'
40224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40225   (eval $ac_try) 2>&5
40226   ac_status=$?
40227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40228   (exit $ac_status); }; } &&
40229          { ac_try='test -s conftest$ac_exeext'
40230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40231   (eval $ac_try) 2>&5
40232   ac_status=$?
40233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40234   (exit $ac_status); }; }; then
40235   eval "$as_ac_var=yes"
40236 else
40237   echo "$as_me: failed program was:" >&5
40238 sed 's/^/| /' conftest.$ac_ext >&5
40239
40240 eval "$as_ac_var=no"
40241 fi
40242 rm -f conftest.err conftest.$ac_objext \
40243       conftest$ac_exeext conftest.$ac_ext
40244 fi
40245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40247 if test `eval echo '${'$as_ac_var'}'` = yes; then
40248   cat >>confdefs.h <<_ACEOF
40249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40250 _ACEOF
40251
40252 fi
40253 done
40254
40255   else
40256
40257   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
40258 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
40259   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40260     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
40261   echo $ECHO_N "(cached) $ECHO_C" >&6
40262 else
40263
40264
40265
40266       ac_ext=cc
40267 ac_cpp='$CXXCPP $CPPFLAGS'
40268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40271
40272       cat >conftest.$ac_ext <<_ACEOF
40273 /* confdefs.h.  */
40274 _ACEOF
40275 cat confdefs.h >>conftest.$ac_ext
40276 cat >>conftest.$ac_ext <<_ACEOF
40277 /* end confdefs.h.  */
40278 #include <math.h>
40279 int
40280 main ()
40281 {
40282  _sincosf(0, 0, 0);
40283   ;
40284   return 0;
40285 }
40286 _ACEOF
40287 rm -f conftest.$ac_objext
40288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40289   (eval $ac_compile) 2>conftest.er1
40290   ac_status=$?
40291   grep -v '^ *+' conftest.er1 >conftest.err
40292   rm -f conftest.er1
40293   cat conftest.err >&5
40294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40295   (exit $ac_status); } &&
40296          { ac_try='test -z "$ac_cxx_werror_flag"
40297                          || test ! -s conftest.err'
40298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40299   (eval $ac_try) 2>&5
40300   ac_status=$?
40301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40302   (exit $ac_status); }; } &&
40303          { ac_try='test -s conftest.$ac_objext'
40304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40305   (eval $ac_try) 2>&5
40306   ac_status=$?
40307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40308   (exit $ac_status); }; }; then
40309   glibcxx_cv_func__sincosf_use=yes
40310 else
40311   echo "$as_me: failed program was:" >&5
40312 sed 's/^/| /' conftest.$ac_ext >&5
40313
40314 glibcxx_cv_func__sincosf_use=no
40315 fi
40316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40317       ac_ext=c
40318 ac_cpp='$CPP $CPPFLAGS'
40319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40322
40323
40324 fi
40325
40326   fi
40327   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
40328 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
40329
40330     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40331
40332 for ac_func in _sincosf
40333 do
40334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40335 echo "$as_me:$LINENO: checking for $ac_func" >&5
40336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40337 if eval "test \"\${$as_ac_var+set}\" = set"; then
40338   echo $ECHO_N "(cached) $ECHO_C" >&6
40339 else
40340   if test x$gcc_no_link = xyes; then
40341   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40343    { (exit 1); exit 1; }; }
40344 fi
40345 cat >conftest.$ac_ext <<_ACEOF
40346 /* confdefs.h.  */
40347 _ACEOF
40348 cat confdefs.h >>conftest.$ac_ext
40349 cat >>conftest.$ac_ext <<_ACEOF
40350 /* end confdefs.h.  */
40351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40352    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40353 #define $ac_func innocuous_$ac_func
40354
40355 /* System header to define __stub macros and hopefully few prototypes,
40356     which can conflict with char $ac_func (); below.
40357     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40358     <limits.h> exists even on freestanding compilers.  */
40359
40360 #ifdef __STDC__
40361 # include <limits.h>
40362 #else
40363 # include <assert.h>
40364 #endif
40365
40366 #undef $ac_func
40367
40368 /* Override any gcc2 internal prototype to avoid an error.  */
40369 #ifdef __cplusplus
40370 extern "C"
40371 {
40372 #endif
40373 /* We use char because int might match the return type of a gcc2
40374    builtin and then its argument prototype would still apply.  */
40375 char $ac_func ();
40376 /* The GNU C library defines this for functions which it implements
40377     to always fail with ENOSYS.  Some functions are actually named
40378     something starting with __ and the normal name is an alias.  */
40379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40380 choke me
40381 #else
40382 char (*f) () = $ac_func;
40383 #endif
40384 #ifdef __cplusplus
40385 }
40386 #endif
40387
40388 int
40389 main ()
40390 {
40391 return f != $ac_func;
40392   ;
40393   return 0;
40394 }
40395 _ACEOF
40396 rm -f conftest.$ac_objext conftest$ac_exeext
40397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40398   (eval $ac_link) 2>conftest.er1
40399   ac_status=$?
40400   grep -v '^ *+' conftest.er1 >conftest.err
40401   rm -f conftest.er1
40402   cat conftest.err >&5
40403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40404   (exit $ac_status); } &&
40405          { ac_try='test -z "$ac_c_werror_flag"
40406                          || test ! -s conftest.err'
40407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40408   (eval $ac_try) 2>&5
40409   ac_status=$?
40410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40411   (exit $ac_status); }; } &&
40412          { ac_try='test -s conftest$ac_exeext'
40413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40414   (eval $ac_try) 2>&5
40415   ac_status=$?
40416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40417   (exit $ac_status); }; }; then
40418   eval "$as_ac_var=yes"
40419 else
40420   echo "$as_me: failed program was:" >&5
40421 sed 's/^/| /' conftest.$ac_ext >&5
40422
40423 eval "$as_ac_var=no"
40424 fi
40425 rm -f conftest.err conftest.$ac_objext \
40426       conftest$ac_exeext conftest.$ac_ext
40427 fi
40428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40430 if test `eval echo '${'$as_ac_var'}'` = yes; then
40431   cat >>confdefs.h <<_ACEOF
40432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40433 _ACEOF
40434
40435 fi
40436 done
40437
40438     fi
40439   fi
40440
40441
40442
40443   echo "$as_me:$LINENO: checking for finitef declaration" >&5
40444 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
40445   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
40446     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
40447   echo $ECHO_N "(cached) $ECHO_C" >&6
40448 else
40449
40450
40451
40452       ac_ext=cc
40453 ac_cpp='$CXXCPP $CPPFLAGS'
40454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40457
40458       cat >conftest.$ac_ext <<_ACEOF
40459 /* confdefs.h.  */
40460 _ACEOF
40461 cat confdefs.h >>conftest.$ac_ext
40462 cat >>conftest.$ac_ext <<_ACEOF
40463 /* end confdefs.h.  */
40464 #include <math.h>
40465                       #ifdef HAVE_IEEEFP_H
40466                       #include <ieeefp.h>
40467                       #endif
40468
40469 int
40470 main ()
40471 {
40472  finitef(0);
40473   ;
40474   return 0;
40475 }
40476 _ACEOF
40477 rm -f conftest.$ac_objext
40478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40479   (eval $ac_compile) 2>conftest.er1
40480   ac_status=$?
40481   grep -v '^ *+' conftest.er1 >conftest.err
40482   rm -f conftest.er1
40483   cat conftest.err >&5
40484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40485   (exit $ac_status); } &&
40486          { ac_try='test -z "$ac_cxx_werror_flag"
40487                          || test ! -s conftest.err'
40488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40489   (eval $ac_try) 2>&5
40490   ac_status=$?
40491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40492   (exit $ac_status); }; } &&
40493          { ac_try='test -s conftest.$ac_objext'
40494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40495   (eval $ac_try) 2>&5
40496   ac_status=$?
40497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40498   (exit $ac_status); }; }; then
40499   glibcxx_cv_func_finitef_use=yes
40500 else
40501   echo "$as_me: failed program was:" >&5
40502 sed 's/^/| /' conftest.$ac_ext >&5
40503
40504 glibcxx_cv_func_finitef_use=no
40505 fi
40506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40507       ac_ext=c
40508 ac_cpp='$CPP $CPPFLAGS'
40509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40512
40513
40514 fi
40515
40516   fi
40517   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
40518 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
40519
40520   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
40521
40522 for ac_func in finitef
40523 do
40524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40525 echo "$as_me:$LINENO: checking for $ac_func" >&5
40526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40527 if eval "test \"\${$as_ac_var+set}\" = set"; then
40528   echo $ECHO_N "(cached) $ECHO_C" >&6
40529 else
40530   if test x$gcc_no_link = xyes; then
40531   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40533    { (exit 1); exit 1; }; }
40534 fi
40535 cat >conftest.$ac_ext <<_ACEOF
40536 /* confdefs.h.  */
40537 _ACEOF
40538 cat confdefs.h >>conftest.$ac_ext
40539 cat >>conftest.$ac_ext <<_ACEOF
40540 /* end confdefs.h.  */
40541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40542    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40543 #define $ac_func innocuous_$ac_func
40544
40545 /* System header to define __stub macros and hopefully few prototypes,
40546     which can conflict with char $ac_func (); below.
40547     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40548     <limits.h> exists even on freestanding compilers.  */
40549
40550 #ifdef __STDC__
40551 # include <limits.h>
40552 #else
40553 # include <assert.h>
40554 #endif
40555
40556 #undef $ac_func
40557
40558 /* Override any gcc2 internal prototype to avoid an error.  */
40559 #ifdef __cplusplus
40560 extern "C"
40561 {
40562 #endif
40563 /* We use char because int might match the return type of a gcc2
40564    builtin and then its argument prototype would still apply.  */
40565 char $ac_func ();
40566 /* The GNU C library defines this for functions which it implements
40567     to always fail with ENOSYS.  Some functions are actually named
40568     something starting with __ and the normal name is an alias.  */
40569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40570 choke me
40571 #else
40572 char (*f) () = $ac_func;
40573 #endif
40574 #ifdef __cplusplus
40575 }
40576 #endif
40577
40578 int
40579 main ()
40580 {
40581 return f != $ac_func;
40582   ;
40583   return 0;
40584 }
40585 _ACEOF
40586 rm -f conftest.$ac_objext conftest$ac_exeext
40587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40588   (eval $ac_link) 2>conftest.er1
40589   ac_status=$?
40590   grep -v '^ *+' conftest.er1 >conftest.err
40591   rm -f conftest.er1
40592   cat conftest.err >&5
40593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40594   (exit $ac_status); } &&
40595          { ac_try='test -z "$ac_c_werror_flag"
40596                          || test ! -s conftest.err'
40597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40598   (eval $ac_try) 2>&5
40599   ac_status=$?
40600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40601   (exit $ac_status); }; } &&
40602          { ac_try='test -s conftest$ac_exeext'
40603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40604   (eval $ac_try) 2>&5
40605   ac_status=$?
40606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40607   (exit $ac_status); }; }; then
40608   eval "$as_ac_var=yes"
40609 else
40610   echo "$as_me: failed program was:" >&5
40611 sed 's/^/| /' conftest.$ac_ext >&5
40612
40613 eval "$as_ac_var=no"
40614 fi
40615 rm -f conftest.err conftest.$ac_objext \
40616       conftest$ac_exeext conftest.$ac_ext
40617 fi
40618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40620 if test `eval echo '${'$as_ac_var'}'` = yes; then
40621   cat >>confdefs.h <<_ACEOF
40622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40623 _ACEOF
40624
40625 fi
40626 done
40627
40628   else
40629
40630   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
40631 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
40632   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
40633     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
40634   echo $ECHO_N "(cached) $ECHO_C" >&6
40635 else
40636
40637
40638
40639       ac_ext=cc
40640 ac_cpp='$CXXCPP $CPPFLAGS'
40641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40644
40645       cat >conftest.$ac_ext <<_ACEOF
40646 /* confdefs.h.  */
40647 _ACEOF
40648 cat confdefs.h >>conftest.$ac_ext
40649 cat >>conftest.$ac_ext <<_ACEOF
40650 /* end confdefs.h.  */
40651 #include <math.h>
40652                       #ifdef HAVE_IEEEFP_H
40653                       #include <ieeefp.h>
40654                       #endif
40655
40656 int
40657 main ()
40658 {
40659  _finitef(0);
40660   ;
40661   return 0;
40662 }
40663 _ACEOF
40664 rm -f conftest.$ac_objext
40665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40666   (eval $ac_compile) 2>conftest.er1
40667   ac_status=$?
40668   grep -v '^ *+' conftest.er1 >conftest.err
40669   rm -f conftest.er1
40670   cat conftest.err >&5
40671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40672   (exit $ac_status); } &&
40673          { ac_try='test -z "$ac_cxx_werror_flag"
40674                          || test ! -s conftest.err'
40675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40676   (eval $ac_try) 2>&5
40677   ac_status=$?
40678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40679   (exit $ac_status); }; } &&
40680          { ac_try='test -s conftest.$ac_objext'
40681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40682   (eval $ac_try) 2>&5
40683   ac_status=$?
40684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40685   (exit $ac_status); }; }; then
40686   glibcxx_cv_func__finitef_use=yes
40687 else
40688   echo "$as_me: failed program was:" >&5
40689 sed 's/^/| /' conftest.$ac_ext >&5
40690
40691 glibcxx_cv_func__finitef_use=no
40692 fi
40693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40694       ac_ext=c
40695 ac_cpp='$CPP $CPPFLAGS'
40696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40699
40700
40701 fi
40702
40703   fi
40704   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
40705 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
40706
40707     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
40708
40709 for ac_func in _finitef
40710 do
40711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40712 echo "$as_me:$LINENO: checking for $ac_func" >&5
40713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40714 if eval "test \"\${$as_ac_var+set}\" = set"; then
40715   echo $ECHO_N "(cached) $ECHO_C" >&6
40716 else
40717   if test x$gcc_no_link = xyes; then
40718   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40720    { (exit 1); exit 1; }; }
40721 fi
40722 cat >conftest.$ac_ext <<_ACEOF
40723 /* confdefs.h.  */
40724 _ACEOF
40725 cat confdefs.h >>conftest.$ac_ext
40726 cat >>conftest.$ac_ext <<_ACEOF
40727 /* end confdefs.h.  */
40728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40729    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40730 #define $ac_func innocuous_$ac_func
40731
40732 /* System header to define __stub macros and hopefully few prototypes,
40733     which can conflict with char $ac_func (); below.
40734     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40735     <limits.h> exists even on freestanding compilers.  */
40736
40737 #ifdef __STDC__
40738 # include <limits.h>
40739 #else
40740 # include <assert.h>
40741 #endif
40742
40743 #undef $ac_func
40744
40745 /* Override any gcc2 internal prototype to avoid an error.  */
40746 #ifdef __cplusplus
40747 extern "C"
40748 {
40749 #endif
40750 /* We use char because int might match the return type of a gcc2
40751    builtin and then its argument prototype would still apply.  */
40752 char $ac_func ();
40753 /* The GNU C library defines this for functions which it implements
40754     to always fail with ENOSYS.  Some functions are actually named
40755     something starting with __ and the normal name is an alias.  */
40756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40757 choke me
40758 #else
40759 char (*f) () = $ac_func;
40760 #endif
40761 #ifdef __cplusplus
40762 }
40763 #endif
40764
40765 int
40766 main ()
40767 {
40768 return f != $ac_func;
40769   ;
40770   return 0;
40771 }
40772 _ACEOF
40773 rm -f conftest.$ac_objext conftest$ac_exeext
40774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40775   (eval $ac_link) 2>conftest.er1
40776   ac_status=$?
40777   grep -v '^ *+' conftest.er1 >conftest.err
40778   rm -f conftest.er1
40779   cat conftest.err >&5
40780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40781   (exit $ac_status); } &&
40782          { ac_try='test -z "$ac_c_werror_flag"
40783                          || test ! -s conftest.err'
40784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40785   (eval $ac_try) 2>&5
40786   ac_status=$?
40787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40788   (exit $ac_status); }; } &&
40789          { ac_try='test -s conftest$ac_exeext'
40790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40791   (eval $ac_try) 2>&5
40792   ac_status=$?
40793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40794   (exit $ac_status); }; }; then
40795   eval "$as_ac_var=yes"
40796 else
40797   echo "$as_me: failed program was:" >&5
40798 sed 's/^/| /' conftest.$ac_ext >&5
40799
40800 eval "$as_ac_var=no"
40801 fi
40802 rm -f conftest.err conftest.$ac_objext \
40803       conftest$ac_exeext conftest.$ac_ext
40804 fi
40805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40807 if test `eval echo '${'$as_ac_var'}'` = yes; then
40808   cat >>confdefs.h <<_ACEOF
40809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40810 _ACEOF
40811
40812 fi
40813 done
40814
40815     fi
40816   fi
40817
40818
40819
40820   echo "$as_me:$LINENO: checking for long double trig functions" >&5
40821 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
40822   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
40823   echo $ECHO_N "(cached) $ECHO_C" >&6
40824 else
40825
40826
40827
40828     ac_ext=cc
40829 ac_cpp='$CXXCPP $CPPFLAGS'
40830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40833
40834     cat >conftest.$ac_ext <<_ACEOF
40835 /* confdefs.h.  */
40836 _ACEOF
40837 cat confdefs.h >>conftest.$ac_ext
40838 cat >>conftest.$ac_ext <<_ACEOF
40839 /* end confdefs.h.  */
40840 #include <math.h>
40841 int
40842 main ()
40843 {
40844  `for x in acosl asinl atanl \
40845                                           cosl sinl tanl \
40846                                           coshl sinhl tanhl; do echo "$x (0);"; done`
40847   ;
40848   return 0;
40849 }
40850 _ACEOF
40851 rm -f conftest.$ac_objext
40852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40853   (eval $ac_compile) 2>conftest.er1
40854   ac_status=$?
40855   grep -v '^ *+' conftest.er1 >conftest.err
40856   rm -f conftest.er1
40857   cat conftest.err >&5
40858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40859   (exit $ac_status); } &&
40860          { ac_try='test -z "$ac_cxx_werror_flag"
40861                          || test ! -s conftest.err'
40862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40863   (eval $ac_try) 2>&5
40864   ac_status=$?
40865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40866   (exit $ac_status); }; } &&
40867          { ac_try='test -s conftest.$ac_objext'
40868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40869   (eval $ac_try) 2>&5
40870   ac_status=$?
40871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40872   (exit $ac_status); }; }; then
40873   glibcxx_cv_func_long_double_trig_use=yes
40874 else
40875   echo "$as_me: failed program was:" >&5
40876 sed 's/^/| /' conftest.$ac_ext >&5
40877
40878 glibcxx_cv_func_long_double_trig_use=no
40879 fi
40880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40881     ac_ext=c
40882 ac_cpp='$CPP $CPPFLAGS'
40883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40886
40887 fi
40888
40889   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
40890 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
40891   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
40892
40893
40894
40895
40896
40897
40898
40899
40900
40901 for ac_func in acosl asinl atanl \
40902                                           cosl sinl tanl \
40903                                           coshl sinhl tanhl
40904 do
40905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40906 echo "$as_me:$LINENO: checking for $ac_func" >&5
40907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40908 if eval "test \"\${$as_ac_var+set}\" = set"; then
40909   echo $ECHO_N "(cached) $ECHO_C" >&6
40910 else
40911   if test x$gcc_no_link = xyes; then
40912   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40914    { (exit 1); exit 1; }; }
40915 fi
40916 cat >conftest.$ac_ext <<_ACEOF
40917 /* confdefs.h.  */
40918 _ACEOF
40919 cat confdefs.h >>conftest.$ac_ext
40920 cat >>conftest.$ac_ext <<_ACEOF
40921 /* end confdefs.h.  */
40922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40923    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40924 #define $ac_func innocuous_$ac_func
40925
40926 /* System header to define __stub macros and hopefully few prototypes,
40927     which can conflict with char $ac_func (); below.
40928     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40929     <limits.h> exists even on freestanding compilers.  */
40930
40931 #ifdef __STDC__
40932 # include <limits.h>
40933 #else
40934 # include <assert.h>
40935 #endif
40936
40937 #undef $ac_func
40938
40939 /* Override any gcc2 internal prototype to avoid an error.  */
40940 #ifdef __cplusplus
40941 extern "C"
40942 {
40943 #endif
40944 /* We use char because int might match the return type of a gcc2
40945    builtin and then its argument prototype would still apply.  */
40946 char $ac_func ();
40947 /* The GNU C library defines this for functions which it implements
40948     to always fail with ENOSYS.  Some functions are actually named
40949     something starting with __ and the normal name is an alias.  */
40950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40951 choke me
40952 #else
40953 char (*f) () = $ac_func;
40954 #endif
40955 #ifdef __cplusplus
40956 }
40957 #endif
40958
40959 int
40960 main ()
40961 {
40962 return f != $ac_func;
40963   ;
40964   return 0;
40965 }
40966 _ACEOF
40967 rm -f conftest.$ac_objext conftest$ac_exeext
40968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40969   (eval $ac_link) 2>conftest.er1
40970   ac_status=$?
40971   grep -v '^ *+' conftest.er1 >conftest.err
40972   rm -f conftest.er1
40973   cat conftest.err >&5
40974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40975   (exit $ac_status); } &&
40976          { ac_try='test -z "$ac_c_werror_flag"
40977                          || test ! -s conftest.err'
40978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40979   (eval $ac_try) 2>&5
40980   ac_status=$?
40981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40982   (exit $ac_status); }; } &&
40983          { ac_try='test -s conftest$ac_exeext'
40984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40985   (eval $ac_try) 2>&5
40986   ac_status=$?
40987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40988   (exit $ac_status); }; }; then
40989   eval "$as_ac_var=yes"
40990 else
40991   echo "$as_me: failed program was:" >&5
40992 sed 's/^/| /' conftest.$ac_ext >&5
40993
40994 eval "$as_ac_var=no"
40995 fi
40996 rm -f conftest.err conftest.$ac_objext \
40997       conftest$ac_exeext conftest.$ac_ext
40998 fi
40999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41001 if test `eval echo '${'$as_ac_var'}'` = yes; then
41002   cat >>confdefs.h <<_ACEOF
41003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41004 _ACEOF
41005
41006 fi
41007 done
41008
41009   fi
41010
41011
41012   echo "$as_me:$LINENO: checking for long double round functions" >&5
41013 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
41014   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
41015   echo $ECHO_N "(cached) $ECHO_C" >&6
41016 else
41017
41018
41019
41020     ac_ext=cc
41021 ac_cpp='$CXXCPP $CPPFLAGS'
41022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41025
41026     cat >conftest.$ac_ext <<_ACEOF
41027 /* confdefs.h.  */
41028 _ACEOF
41029 cat confdefs.h >>conftest.$ac_ext
41030 cat >>conftest.$ac_ext <<_ACEOF
41031 /* end confdefs.h.  */
41032 #include <math.h>
41033 int
41034 main ()
41035 {
41036  `for x in ceill floorl; do echo "$x (0);"; done`
41037   ;
41038   return 0;
41039 }
41040 _ACEOF
41041 rm -f conftest.$ac_objext
41042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41043   (eval $ac_compile) 2>conftest.er1
41044   ac_status=$?
41045   grep -v '^ *+' conftest.er1 >conftest.err
41046   rm -f conftest.er1
41047   cat conftest.err >&5
41048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41049   (exit $ac_status); } &&
41050          { ac_try='test -z "$ac_cxx_werror_flag"
41051                          || test ! -s conftest.err'
41052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41053   (eval $ac_try) 2>&5
41054   ac_status=$?
41055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41056   (exit $ac_status); }; } &&
41057          { ac_try='test -s conftest.$ac_objext'
41058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41059   (eval $ac_try) 2>&5
41060   ac_status=$?
41061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41062   (exit $ac_status); }; }; then
41063   glibcxx_cv_func_long_double_round_use=yes
41064 else
41065   echo "$as_me: failed program was:" >&5
41066 sed 's/^/| /' conftest.$ac_ext >&5
41067
41068 glibcxx_cv_func_long_double_round_use=no
41069 fi
41070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41071     ac_ext=c
41072 ac_cpp='$CPP $CPPFLAGS'
41073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41076
41077 fi
41078
41079   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
41080 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
41081   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41082
41083
41084 for ac_func in ceill floorl
41085 do
41086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41087 echo "$as_me:$LINENO: checking for $ac_func" >&5
41088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41089 if eval "test \"\${$as_ac_var+set}\" = set"; then
41090   echo $ECHO_N "(cached) $ECHO_C" >&6
41091 else
41092   if test x$gcc_no_link = xyes; then
41093   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41095    { (exit 1); exit 1; }; }
41096 fi
41097 cat >conftest.$ac_ext <<_ACEOF
41098 /* confdefs.h.  */
41099 _ACEOF
41100 cat confdefs.h >>conftest.$ac_ext
41101 cat >>conftest.$ac_ext <<_ACEOF
41102 /* end confdefs.h.  */
41103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41104    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41105 #define $ac_func innocuous_$ac_func
41106
41107 /* System header to define __stub macros and hopefully few prototypes,
41108     which can conflict with char $ac_func (); below.
41109     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41110     <limits.h> exists even on freestanding compilers.  */
41111
41112 #ifdef __STDC__
41113 # include <limits.h>
41114 #else
41115 # include <assert.h>
41116 #endif
41117
41118 #undef $ac_func
41119
41120 /* Override any gcc2 internal prototype to avoid an error.  */
41121 #ifdef __cplusplus
41122 extern "C"
41123 {
41124 #endif
41125 /* We use char because int might match the return type of a gcc2
41126    builtin and then its argument prototype would still apply.  */
41127 char $ac_func ();
41128 /* The GNU C library defines this for functions which it implements
41129     to always fail with ENOSYS.  Some functions are actually named
41130     something starting with __ and the normal name is an alias.  */
41131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41132 choke me
41133 #else
41134 char (*f) () = $ac_func;
41135 #endif
41136 #ifdef __cplusplus
41137 }
41138 #endif
41139
41140 int
41141 main ()
41142 {
41143 return f != $ac_func;
41144   ;
41145   return 0;
41146 }
41147 _ACEOF
41148 rm -f conftest.$ac_objext conftest$ac_exeext
41149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41150   (eval $ac_link) 2>conftest.er1
41151   ac_status=$?
41152   grep -v '^ *+' conftest.er1 >conftest.err
41153   rm -f conftest.er1
41154   cat conftest.err >&5
41155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41156   (exit $ac_status); } &&
41157          { ac_try='test -z "$ac_c_werror_flag"
41158                          || test ! -s conftest.err'
41159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41160   (eval $ac_try) 2>&5
41161   ac_status=$?
41162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41163   (exit $ac_status); }; } &&
41164          { ac_try='test -s conftest$ac_exeext'
41165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41166   (eval $ac_try) 2>&5
41167   ac_status=$?
41168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41169   (exit $ac_status); }; }; then
41170   eval "$as_ac_var=yes"
41171 else
41172   echo "$as_me: failed program was:" >&5
41173 sed 's/^/| /' conftest.$ac_ext >&5
41174
41175 eval "$as_ac_var=no"
41176 fi
41177 rm -f conftest.err conftest.$ac_objext \
41178       conftest$ac_exeext conftest.$ac_ext
41179 fi
41180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41182 if test `eval echo '${'$as_ac_var'}'` = yes; then
41183   cat >>confdefs.h <<_ACEOF
41184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41185 _ACEOF
41186
41187 fi
41188 done
41189
41190   fi
41191
41192
41193
41194   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
41195 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
41196   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41197     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
41198   echo $ECHO_N "(cached) $ECHO_C" >&6
41199 else
41200
41201
41202
41203       ac_ext=cc
41204 ac_cpp='$CXXCPP $CPPFLAGS'
41205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41208
41209       cat >conftest.$ac_ext <<_ACEOF
41210 /* confdefs.h.  */
41211 _ACEOF
41212 cat confdefs.h >>conftest.$ac_ext
41213 cat >>conftest.$ac_ext <<_ACEOF
41214 /* end confdefs.h.  */
41215 #include <math.h>
41216                       #ifdef HAVE_IEEEFP_H
41217                       #include <ieeefp.h>
41218                       #endif
41219
41220 int
41221 main ()
41222 {
41223  isnanl(0);
41224   ;
41225   return 0;
41226 }
41227 _ACEOF
41228 rm -f conftest.$ac_objext
41229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41230   (eval $ac_compile) 2>conftest.er1
41231   ac_status=$?
41232   grep -v '^ *+' conftest.er1 >conftest.err
41233   rm -f conftest.er1
41234   cat conftest.err >&5
41235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41236   (exit $ac_status); } &&
41237          { ac_try='test -z "$ac_cxx_werror_flag"
41238                          || test ! -s conftest.err'
41239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41240   (eval $ac_try) 2>&5
41241   ac_status=$?
41242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41243   (exit $ac_status); }; } &&
41244          { ac_try='test -s conftest.$ac_objext'
41245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41246   (eval $ac_try) 2>&5
41247   ac_status=$?
41248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41249   (exit $ac_status); }; }; then
41250   glibcxx_cv_func_isnanl_use=yes
41251 else
41252   echo "$as_me: failed program was:" >&5
41253 sed 's/^/| /' conftest.$ac_ext >&5
41254
41255 glibcxx_cv_func_isnanl_use=no
41256 fi
41257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41258       ac_ext=c
41259 ac_cpp='$CPP $CPPFLAGS'
41260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41263
41264
41265 fi
41266
41267   fi
41268   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
41269 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
41270
41271   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41272
41273 for ac_func in isnanl
41274 do
41275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41276 echo "$as_me:$LINENO: checking for $ac_func" >&5
41277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41278 if eval "test \"\${$as_ac_var+set}\" = set"; then
41279   echo $ECHO_N "(cached) $ECHO_C" >&6
41280 else
41281   if test x$gcc_no_link = xyes; then
41282   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41284    { (exit 1); exit 1; }; }
41285 fi
41286 cat >conftest.$ac_ext <<_ACEOF
41287 /* confdefs.h.  */
41288 _ACEOF
41289 cat confdefs.h >>conftest.$ac_ext
41290 cat >>conftest.$ac_ext <<_ACEOF
41291 /* end confdefs.h.  */
41292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41293    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41294 #define $ac_func innocuous_$ac_func
41295
41296 /* System header to define __stub macros and hopefully few prototypes,
41297     which can conflict with char $ac_func (); below.
41298     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41299     <limits.h> exists even on freestanding compilers.  */
41300
41301 #ifdef __STDC__
41302 # include <limits.h>
41303 #else
41304 # include <assert.h>
41305 #endif
41306
41307 #undef $ac_func
41308
41309 /* Override any gcc2 internal prototype to avoid an error.  */
41310 #ifdef __cplusplus
41311 extern "C"
41312 {
41313 #endif
41314 /* We use char because int might match the return type of a gcc2
41315    builtin and then its argument prototype would still apply.  */
41316 char $ac_func ();
41317 /* The GNU C library defines this for functions which it implements
41318     to always fail with ENOSYS.  Some functions are actually named
41319     something starting with __ and the normal name is an alias.  */
41320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41321 choke me
41322 #else
41323 char (*f) () = $ac_func;
41324 #endif
41325 #ifdef __cplusplus
41326 }
41327 #endif
41328
41329 int
41330 main ()
41331 {
41332 return f != $ac_func;
41333   ;
41334   return 0;
41335 }
41336 _ACEOF
41337 rm -f conftest.$ac_objext conftest$ac_exeext
41338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41339   (eval $ac_link) 2>conftest.er1
41340   ac_status=$?
41341   grep -v '^ *+' conftest.er1 >conftest.err
41342   rm -f conftest.er1
41343   cat conftest.err >&5
41344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41345   (exit $ac_status); } &&
41346          { ac_try='test -z "$ac_c_werror_flag"
41347                          || test ! -s conftest.err'
41348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41349   (eval $ac_try) 2>&5
41350   ac_status=$?
41351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41352   (exit $ac_status); }; } &&
41353          { ac_try='test -s conftest$ac_exeext'
41354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41355   (eval $ac_try) 2>&5
41356   ac_status=$?
41357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41358   (exit $ac_status); }; }; then
41359   eval "$as_ac_var=yes"
41360 else
41361   echo "$as_me: failed program was:" >&5
41362 sed 's/^/| /' conftest.$ac_ext >&5
41363
41364 eval "$as_ac_var=no"
41365 fi
41366 rm -f conftest.err conftest.$ac_objext \
41367       conftest$ac_exeext conftest.$ac_ext
41368 fi
41369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41371 if test `eval echo '${'$as_ac_var'}'` = yes; then
41372   cat >>confdefs.h <<_ACEOF
41373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41374 _ACEOF
41375
41376 fi
41377 done
41378
41379   else
41380
41381   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
41382 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
41383   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41384     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
41385   echo $ECHO_N "(cached) $ECHO_C" >&6
41386 else
41387
41388
41389
41390       ac_ext=cc
41391 ac_cpp='$CXXCPP $CPPFLAGS'
41392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41395
41396       cat >conftest.$ac_ext <<_ACEOF
41397 /* confdefs.h.  */
41398 _ACEOF
41399 cat confdefs.h >>conftest.$ac_ext
41400 cat >>conftest.$ac_ext <<_ACEOF
41401 /* end confdefs.h.  */
41402 #include <math.h>
41403                       #ifdef HAVE_IEEEFP_H
41404                       #include <ieeefp.h>
41405                       #endif
41406
41407 int
41408 main ()
41409 {
41410  _isnanl(0);
41411   ;
41412   return 0;
41413 }
41414 _ACEOF
41415 rm -f conftest.$ac_objext
41416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41417   (eval $ac_compile) 2>conftest.er1
41418   ac_status=$?
41419   grep -v '^ *+' conftest.er1 >conftest.err
41420   rm -f conftest.er1
41421   cat conftest.err >&5
41422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41423   (exit $ac_status); } &&
41424          { ac_try='test -z "$ac_cxx_werror_flag"
41425                          || test ! -s conftest.err'
41426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41427   (eval $ac_try) 2>&5
41428   ac_status=$?
41429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41430   (exit $ac_status); }; } &&
41431          { ac_try='test -s conftest.$ac_objext'
41432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41433   (eval $ac_try) 2>&5
41434   ac_status=$?
41435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41436   (exit $ac_status); }; }; then
41437   glibcxx_cv_func__isnanl_use=yes
41438 else
41439   echo "$as_me: failed program was:" >&5
41440 sed 's/^/| /' conftest.$ac_ext >&5
41441
41442 glibcxx_cv_func__isnanl_use=no
41443 fi
41444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41445       ac_ext=c
41446 ac_cpp='$CPP $CPPFLAGS'
41447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41450
41451
41452 fi
41453
41454   fi
41455   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
41456 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
41457
41458     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41459
41460 for ac_func in _isnanl
41461 do
41462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41463 echo "$as_me:$LINENO: checking for $ac_func" >&5
41464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41465 if eval "test \"\${$as_ac_var+set}\" = set"; then
41466   echo $ECHO_N "(cached) $ECHO_C" >&6
41467 else
41468   if test x$gcc_no_link = xyes; then
41469   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41471    { (exit 1); exit 1; }; }
41472 fi
41473 cat >conftest.$ac_ext <<_ACEOF
41474 /* confdefs.h.  */
41475 _ACEOF
41476 cat confdefs.h >>conftest.$ac_ext
41477 cat >>conftest.$ac_ext <<_ACEOF
41478 /* end confdefs.h.  */
41479 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41480    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41481 #define $ac_func innocuous_$ac_func
41482
41483 /* System header to define __stub macros and hopefully few prototypes,
41484     which can conflict with char $ac_func (); below.
41485     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41486     <limits.h> exists even on freestanding compilers.  */
41487
41488 #ifdef __STDC__
41489 # include <limits.h>
41490 #else
41491 # include <assert.h>
41492 #endif
41493
41494 #undef $ac_func
41495
41496 /* Override any gcc2 internal prototype to avoid an error.  */
41497 #ifdef __cplusplus
41498 extern "C"
41499 {
41500 #endif
41501 /* We use char because int might match the return type of a gcc2
41502    builtin and then its argument prototype would still apply.  */
41503 char $ac_func ();
41504 /* The GNU C library defines this for functions which it implements
41505     to always fail with ENOSYS.  Some functions are actually named
41506     something starting with __ and the normal name is an alias.  */
41507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41508 choke me
41509 #else
41510 char (*f) () = $ac_func;
41511 #endif
41512 #ifdef __cplusplus
41513 }
41514 #endif
41515
41516 int
41517 main ()
41518 {
41519 return f != $ac_func;
41520   ;
41521   return 0;
41522 }
41523 _ACEOF
41524 rm -f conftest.$ac_objext conftest$ac_exeext
41525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41526   (eval $ac_link) 2>conftest.er1
41527   ac_status=$?
41528   grep -v '^ *+' conftest.er1 >conftest.err
41529   rm -f conftest.er1
41530   cat conftest.err >&5
41531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41532   (exit $ac_status); } &&
41533          { ac_try='test -z "$ac_c_werror_flag"
41534                          || test ! -s conftest.err'
41535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41536   (eval $ac_try) 2>&5
41537   ac_status=$?
41538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41539   (exit $ac_status); }; } &&
41540          { ac_try='test -s conftest$ac_exeext'
41541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41542   (eval $ac_try) 2>&5
41543   ac_status=$?
41544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41545   (exit $ac_status); }; }; then
41546   eval "$as_ac_var=yes"
41547 else
41548   echo "$as_me: failed program was:" >&5
41549 sed 's/^/| /' conftest.$ac_ext >&5
41550
41551 eval "$as_ac_var=no"
41552 fi
41553 rm -f conftest.err conftest.$ac_objext \
41554       conftest$ac_exeext conftest.$ac_ext
41555 fi
41556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41558 if test `eval echo '${'$as_ac_var'}'` = yes; then
41559   cat >>confdefs.h <<_ACEOF
41560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41561 _ACEOF
41562
41563 fi
41564 done
41565
41566     fi
41567   fi
41568
41569
41570
41571   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
41572 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
41573   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41574     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
41575   echo $ECHO_N "(cached) $ECHO_C" >&6
41576 else
41577
41578
41579
41580       ac_ext=cc
41581 ac_cpp='$CXXCPP $CPPFLAGS'
41582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41585
41586       cat >conftest.$ac_ext <<_ACEOF
41587 /* confdefs.h.  */
41588 _ACEOF
41589 cat confdefs.h >>conftest.$ac_ext
41590 cat >>conftest.$ac_ext <<_ACEOF
41591 /* end confdefs.h.  */
41592 #include <math.h>
41593                       #ifdef HAVE_IEEEFP_H
41594                       #include <ieeefp.h>
41595                       #endif
41596
41597 int
41598 main ()
41599 {
41600  isinfl(0);
41601   ;
41602   return 0;
41603 }
41604 _ACEOF
41605 rm -f conftest.$ac_objext
41606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41607   (eval $ac_compile) 2>conftest.er1
41608   ac_status=$?
41609   grep -v '^ *+' conftest.er1 >conftest.err
41610   rm -f conftest.er1
41611   cat conftest.err >&5
41612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41613   (exit $ac_status); } &&
41614          { ac_try='test -z "$ac_cxx_werror_flag"
41615                          || test ! -s conftest.err'
41616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41617   (eval $ac_try) 2>&5
41618   ac_status=$?
41619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41620   (exit $ac_status); }; } &&
41621          { ac_try='test -s conftest.$ac_objext'
41622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41623   (eval $ac_try) 2>&5
41624   ac_status=$?
41625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41626   (exit $ac_status); }; }; then
41627   glibcxx_cv_func_isinfl_use=yes
41628 else
41629   echo "$as_me: failed program was:" >&5
41630 sed 's/^/| /' conftest.$ac_ext >&5
41631
41632 glibcxx_cv_func_isinfl_use=no
41633 fi
41634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41635       ac_ext=c
41636 ac_cpp='$CPP $CPPFLAGS'
41637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41640
41641
41642 fi
41643
41644   fi
41645   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
41646 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
41647
41648   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41649
41650 for ac_func in isinfl
41651 do
41652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41653 echo "$as_me:$LINENO: checking for $ac_func" >&5
41654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41655 if eval "test \"\${$as_ac_var+set}\" = set"; then
41656   echo $ECHO_N "(cached) $ECHO_C" >&6
41657 else
41658   if test x$gcc_no_link = xyes; then
41659   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41661    { (exit 1); exit 1; }; }
41662 fi
41663 cat >conftest.$ac_ext <<_ACEOF
41664 /* confdefs.h.  */
41665 _ACEOF
41666 cat confdefs.h >>conftest.$ac_ext
41667 cat >>conftest.$ac_ext <<_ACEOF
41668 /* end confdefs.h.  */
41669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41670    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41671 #define $ac_func innocuous_$ac_func
41672
41673 /* System header to define __stub macros and hopefully few prototypes,
41674     which can conflict with char $ac_func (); below.
41675     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41676     <limits.h> exists even on freestanding compilers.  */
41677
41678 #ifdef __STDC__
41679 # include <limits.h>
41680 #else
41681 # include <assert.h>
41682 #endif
41683
41684 #undef $ac_func
41685
41686 /* Override any gcc2 internal prototype to avoid an error.  */
41687 #ifdef __cplusplus
41688 extern "C"
41689 {
41690 #endif
41691 /* We use char because int might match the return type of a gcc2
41692    builtin and then its argument prototype would still apply.  */
41693 char $ac_func ();
41694 /* The GNU C library defines this for functions which it implements
41695     to always fail with ENOSYS.  Some functions are actually named
41696     something starting with __ and the normal name is an alias.  */
41697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41698 choke me
41699 #else
41700 char (*f) () = $ac_func;
41701 #endif
41702 #ifdef __cplusplus
41703 }
41704 #endif
41705
41706 int
41707 main ()
41708 {
41709 return f != $ac_func;
41710   ;
41711   return 0;
41712 }
41713 _ACEOF
41714 rm -f conftest.$ac_objext conftest$ac_exeext
41715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41716   (eval $ac_link) 2>conftest.er1
41717   ac_status=$?
41718   grep -v '^ *+' conftest.er1 >conftest.err
41719   rm -f conftest.er1
41720   cat conftest.err >&5
41721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41722   (exit $ac_status); } &&
41723          { ac_try='test -z "$ac_c_werror_flag"
41724                          || test ! -s conftest.err'
41725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41726   (eval $ac_try) 2>&5
41727   ac_status=$?
41728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41729   (exit $ac_status); }; } &&
41730          { ac_try='test -s conftest$ac_exeext'
41731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41732   (eval $ac_try) 2>&5
41733   ac_status=$?
41734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41735   (exit $ac_status); }; }; then
41736   eval "$as_ac_var=yes"
41737 else
41738   echo "$as_me: failed program was:" >&5
41739 sed 's/^/| /' conftest.$ac_ext >&5
41740
41741 eval "$as_ac_var=no"
41742 fi
41743 rm -f conftest.err conftest.$ac_objext \
41744       conftest$ac_exeext conftest.$ac_ext
41745 fi
41746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41748 if test `eval echo '${'$as_ac_var'}'` = yes; then
41749   cat >>confdefs.h <<_ACEOF
41750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41751 _ACEOF
41752
41753 fi
41754 done
41755
41756   else
41757
41758   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
41759 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
41760   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41761     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
41762   echo $ECHO_N "(cached) $ECHO_C" >&6
41763 else
41764
41765
41766
41767       ac_ext=cc
41768 ac_cpp='$CXXCPP $CPPFLAGS'
41769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41772
41773       cat >conftest.$ac_ext <<_ACEOF
41774 /* confdefs.h.  */
41775 _ACEOF
41776 cat confdefs.h >>conftest.$ac_ext
41777 cat >>conftest.$ac_ext <<_ACEOF
41778 /* end confdefs.h.  */
41779 #include <math.h>
41780                       #ifdef HAVE_IEEEFP_H
41781                       #include <ieeefp.h>
41782                       #endif
41783
41784 int
41785 main ()
41786 {
41787  _isinfl(0);
41788   ;
41789   return 0;
41790 }
41791 _ACEOF
41792 rm -f conftest.$ac_objext
41793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41794   (eval $ac_compile) 2>conftest.er1
41795   ac_status=$?
41796   grep -v '^ *+' conftest.er1 >conftest.err
41797   rm -f conftest.er1
41798   cat conftest.err >&5
41799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41800   (exit $ac_status); } &&
41801          { ac_try='test -z "$ac_cxx_werror_flag"
41802                          || test ! -s conftest.err'
41803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41804   (eval $ac_try) 2>&5
41805   ac_status=$?
41806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41807   (exit $ac_status); }; } &&
41808          { ac_try='test -s conftest.$ac_objext'
41809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41810   (eval $ac_try) 2>&5
41811   ac_status=$?
41812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41813   (exit $ac_status); }; }; then
41814   glibcxx_cv_func__isinfl_use=yes
41815 else
41816   echo "$as_me: failed program was:" >&5
41817 sed 's/^/| /' conftest.$ac_ext >&5
41818
41819 glibcxx_cv_func__isinfl_use=no
41820 fi
41821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41822       ac_ext=c
41823 ac_cpp='$CPP $CPPFLAGS'
41824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41827
41828
41829 fi
41830
41831   fi
41832   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
41833 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
41834
41835     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
41836
41837 for ac_func in _isinfl
41838 do
41839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41840 echo "$as_me:$LINENO: checking for $ac_func" >&5
41841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41842 if eval "test \"\${$as_ac_var+set}\" = set"; then
41843   echo $ECHO_N "(cached) $ECHO_C" >&6
41844 else
41845   if test x$gcc_no_link = xyes; then
41846   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41848    { (exit 1); exit 1; }; }
41849 fi
41850 cat >conftest.$ac_ext <<_ACEOF
41851 /* confdefs.h.  */
41852 _ACEOF
41853 cat confdefs.h >>conftest.$ac_ext
41854 cat >>conftest.$ac_ext <<_ACEOF
41855 /* end confdefs.h.  */
41856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41857    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41858 #define $ac_func innocuous_$ac_func
41859
41860 /* System header to define __stub macros and hopefully few prototypes,
41861     which can conflict with char $ac_func (); below.
41862     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41863     <limits.h> exists even on freestanding compilers.  */
41864
41865 #ifdef __STDC__
41866 # include <limits.h>
41867 #else
41868 # include <assert.h>
41869 #endif
41870
41871 #undef $ac_func
41872
41873 /* Override any gcc2 internal prototype to avoid an error.  */
41874 #ifdef __cplusplus
41875 extern "C"
41876 {
41877 #endif
41878 /* We use char because int might match the return type of a gcc2
41879    builtin and then its argument prototype would still apply.  */
41880 char $ac_func ();
41881 /* The GNU C library defines this for functions which it implements
41882     to always fail with ENOSYS.  Some functions are actually named
41883     something starting with __ and the normal name is an alias.  */
41884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41885 choke me
41886 #else
41887 char (*f) () = $ac_func;
41888 #endif
41889 #ifdef __cplusplus
41890 }
41891 #endif
41892
41893 int
41894 main ()
41895 {
41896 return f != $ac_func;
41897   ;
41898   return 0;
41899 }
41900 _ACEOF
41901 rm -f conftest.$ac_objext conftest$ac_exeext
41902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41903   (eval $ac_link) 2>conftest.er1
41904   ac_status=$?
41905   grep -v '^ *+' conftest.er1 >conftest.err
41906   rm -f conftest.er1
41907   cat conftest.err >&5
41908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41909   (exit $ac_status); } &&
41910          { ac_try='test -z "$ac_c_werror_flag"
41911                          || test ! -s conftest.err'
41912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41913   (eval $ac_try) 2>&5
41914   ac_status=$?
41915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41916   (exit $ac_status); }; } &&
41917          { ac_try='test -s conftest$ac_exeext'
41918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41919   (eval $ac_try) 2>&5
41920   ac_status=$?
41921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41922   (exit $ac_status); }; }; then
41923   eval "$as_ac_var=yes"
41924 else
41925   echo "$as_me: failed program was:" >&5
41926 sed 's/^/| /' conftest.$ac_ext >&5
41927
41928 eval "$as_ac_var=no"
41929 fi
41930 rm -f conftest.err conftest.$ac_objext \
41931       conftest$ac_exeext conftest.$ac_ext
41932 fi
41933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41935 if test `eval echo '${'$as_ac_var'}'` = yes; then
41936   cat >>confdefs.h <<_ACEOF
41937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41938 _ACEOF
41939
41940 fi
41941 done
41942
41943     fi
41944   fi
41945
41946
41947
41948   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
41949 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
41950   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
41951     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
41952   echo $ECHO_N "(cached) $ECHO_C" >&6
41953 else
41954
41955
41956
41957       ac_ext=cc
41958 ac_cpp='$CXXCPP $CPPFLAGS'
41959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41962
41963       cat >conftest.$ac_ext <<_ACEOF
41964 /* confdefs.h.  */
41965 _ACEOF
41966 cat confdefs.h >>conftest.$ac_ext
41967 cat >>conftest.$ac_ext <<_ACEOF
41968 /* end confdefs.h.  */
41969 #include <math.h>
41970 int
41971 main ()
41972 {
41973  copysignl(0, 0);
41974   ;
41975   return 0;
41976 }
41977 _ACEOF
41978 rm -f conftest.$ac_objext
41979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41980   (eval $ac_compile) 2>conftest.er1
41981   ac_status=$?
41982   grep -v '^ *+' conftest.er1 >conftest.err
41983   rm -f conftest.er1
41984   cat conftest.err >&5
41985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41986   (exit $ac_status); } &&
41987          { ac_try='test -z "$ac_cxx_werror_flag"
41988                          || test ! -s conftest.err'
41989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41990   (eval $ac_try) 2>&5
41991   ac_status=$?
41992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41993   (exit $ac_status); }; } &&
41994          { ac_try='test -s conftest.$ac_objext'
41995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41996   (eval $ac_try) 2>&5
41997   ac_status=$?
41998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41999   (exit $ac_status); }; }; then
42000   glibcxx_cv_func_copysignl_use=yes
42001 else
42002   echo "$as_me: failed program was:" >&5
42003 sed 's/^/| /' conftest.$ac_ext >&5
42004
42005 glibcxx_cv_func_copysignl_use=no
42006 fi
42007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42008       ac_ext=c
42009 ac_cpp='$CPP $CPPFLAGS'
42010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42013
42014
42015 fi
42016
42017   fi
42018   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
42019 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
42020
42021   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
42022
42023 for ac_func in copysignl
42024 do
42025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42026 echo "$as_me:$LINENO: checking for $ac_func" >&5
42027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42028 if eval "test \"\${$as_ac_var+set}\" = set"; then
42029   echo $ECHO_N "(cached) $ECHO_C" >&6
42030 else
42031   if test x$gcc_no_link = xyes; then
42032   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42034    { (exit 1); exit 1; }; }
42035 fi
42036 cat >conftest.$ac_ext <<_ACEOF
42037 /* confdefs.h.  */
42038 _ACEOF
42039 cat confdefs.h >>conftest.$ac_ext
42040 cat >>conftest.$ac_ext <<_ACEOF
42041 /* end confdefs.h.  */
42042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42043    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42044 #define $ac_func innocuous_$ac_func
42045
42046 /* System header to define __stub macros and hopefully few prototypes,
42047     which can conflict with char $ac_func (); below.
42048     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42049     <limits.h> exists even on freestanding compilers.  */
42050
42051 #ifdef __STDC__
42052 # include <limits.h>
42053 #else
42054 # include <assert.h>
42055 #endif
42056
42057 #undef $ac_func
42058
42059 /* Override any gcc2 internal prototype to avoid an error.  */
42060 #ifdef __cplusplus
42061 extern "C"
42062 {
42063 #endif
42064 /* We use char because int might match the return type of a gcc2
42065    builtin and then its argument prototype would still apply.  */
42066 char $ac_func ();
42067 /* The GNU C library defines this for functions which it implements
42068     to always fail with ENOSYS.  Some functions are actually named
42069     something starting with __ and the normal name is an alias.  */
42070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42071 choke me
42072 #else
42073 char (*f) () = $ac_func;
42074 #endif
42075 #ifdef __cplusplus
42076 }
42077 #endif
42078
42079 int
42080 main ()
42081 {
42082 return f != $ac_func;
42083   ;
42084   return 0;
42085 }
42086 _ACEOF
42087 rm -f conftest.$ac_objext conftest$ac_exeext
42088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42089   (eval $ac_link) 2>conftest.er1
42090   ac_status=$?
42091   grep -v '^ *+' conftest.er1 >conftest.err
42092   rm -f conftest.er1
42093   cat conftest.err >&5
42094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42095   (exit $ac_status); } &&
42096          { ac_try='test -z "$ac_c_werror_flag"
42097                          || test ! -s conftest.err'
42098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42099   (eval $ac_try) 2>&5
42100   ac_status=$?
42101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42102   (exit $ac_status); }; } &&
42103          { ac_try='test -s conftest$ac_exeext'
42104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42105   (eval $ac_try) 2>&5
42106   ac_status=$?
42107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42108   (exit $ac_status); }; }; then
42109   eval "$as_ac_var=yes"
42110 else
42111   echo "$as_me: failed program was:" >&5
42112 sed 's/^/| /' conftest.$ac_ext >&5
42113
42114 eval "$as_ac_var=no"
42115 fi
42116 rm -f conftest.err conftest.$ac_objext \
42117       conftest$ac_exeext conftest.$ac_ext
42118 fi
42119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42121 if test `eval echo '${'$as_ac_var'}'` = yes; then
42122   cat >>confdefs.h <<_ACEOF
42123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42124 _ACEOF
42125
42126 fi
42127 done
42128
42129   else
42130
42131   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
42132 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
42133   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
42134     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
42135   echo $ECHO_N "(cached) $ECHO_C" >&6
42136 else
42137
42138
42139
42140       ac_ext=cc
42141 ac_cpp='$CXXCPP $CPPFLAGS'
42142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42145
42146       cat >conftest.$ac_ext <<_ACEOF
42147 /* confdefs.h.  */
42148 _ACEOF
42149 cat confdefs.h >>conftest.$ac_ext
42150 cat >>conftest.$ac_ext <<_ACEOF
42151 /* end confdefs.h.  */
42152 #include <math.h>
42153 int
42154 main ()
42155 {
42156  _copysignl(0, 0);
42157   ;
42158   return 0;
42159 }
42160 _ACEOF
42161 rm -f conftest.$ac_objext
42162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42163   (eval $ac_compile) 2>conftest.er1
42164   ac_status=$?
42165   grep -v '^ *+' conftest.er1 >conftest.err
42166   rm -f conftest.er1
42167   cat conftest.err >&5
42168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42169   (exit $ac_status); } &&
42170          { ac_try='test -z "$ac_cxx_werror_flag"
42171                          || test ! -s conftest.err'
42172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42173   (eval $ac_try) 2>&5
42174   ac_status=$?
42175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42176   (exit $ac_status); }; } &&
42177          { ac_try='test -s conftest.$ac_objext'
42178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42179   (eval $ac_try) 2>&5
42180   ac_status=$?
42181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42182   (exit $ac_status); }; }; then
42183   glibcxx_cv_func__copysignl_use=yes
42184 else
42185   echo "$as_me: failed program was:" >&5
42186 sed 's/^/| /' conftest.$ac_ext >&5
42187
42188 glibcxx_cv_func__copysignl_use=no
42189 fi
42190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42191       ac_ext=c
42192 ac_cpp='$CPP $CPPFLAGS'
42193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42196
42197
42198 fi
42199
42200   fi
42201   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
42202 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
42203
42204     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
42205
42206 for ac_func in _copysignl
42207 do
42208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42209 echo "$as_me:$LINENO: checking for $ac_func" >&5
42210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42211 if eval "test \"\${$as_ac_var+set}\" = set"; then
42212   echo $ECHO_N "(cached) $ECHO_C" >&6
42213 else
42214   if test x$gcc_no_link = xyes; then
42215   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42217    { (exit 1); exit 1; }; }
42218 fi
42219 cat >conftest.$ac_ext <<_ACEOF
42220 /* confdefs.h.  */
42221 _ACEOF
42222 cat confdefs.h >>conftest.$ac_ext
42223 cat >>conftest.$ac_ext <<_ACEOF
42224 /* end confdefs.h.  */
42225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42226    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42227 #define $ac_func innocuous_$ac_func
42228
42229 /* System header to define __stub macros and hopefully few prototypes,
42230     which can conflict with char $ac_func (); below.
42231     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42232     <limits.h> exists even on freestanding compilers.  */
42233
42234 #ifdef __STDC__
42235 # include <limits.h>
42236 #else
42237 # include <assert.h>
42238 #endif
42239
42240 #undef $ac_func
42241
42242 /* Override any gcc2 internal prototype to avoid an error.  */
42243 #ifdef __cplusplus
42244 extern "C"
42245 {
42246 #endif
42247 /* We use char because int might match the return type of a gcc2
42248    builtin and then its argument prototype would still apply.  */
42249 char $ac_func ();
42250 /* The GNU C library defines this for functions which it implements
42251     to always fail with ENOSYS.  Some functions are actually named
42252     something starting with __ and the normal name is an alias.  */
42253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42254 choke me
42255 #else
42256 char (*f) () = $ac_func;
42257 #endif
42258 #ifdef __cplusplus
42259 }
42260 #endif
42261
42262 int
42263 main ()
42264 {
42265 return f != $ac_func;
42266   ;
42267   return 0;
42268 }
42269 _ACEOF
42270 rm -f conftest.$ac_objext conftest$ac_exeext
42271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42272   (eval $ac_link) 2>conftest.er1
42273   ac_status=$?
42274   grep -v '^ *+' conftest.er1 >conftest.err
42275   rm -f conftest.er1
42276   cat conftest.err >&5
42277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42278   (exit $ac_status); } &&
42279          { ac_try='test -z "$ac_c_werror_flag"
42280                          || test ! -s conftest.err'
42281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42282   (eval $ac_try) 2>&5
42283   ac_status=$?
42284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42285   (exit $ac_status); }; } &&
42286          { ac_try='test -s conftest$ac_exeext'
42287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42288   (eval $ac_try) 2>&5
42289   ac_status=$?
42290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42291   (exit $ac_status); }; }; then
42292   eval "$as_ac_var=yes"
42293 else
42294   echo "$as_me: failed program was:" >&5
42295 sed 's/^/| /' conftest.$ac_ext >&5
42296
42297 eval "$as_ac_var=no"
42298 fi
42299 rm -f conftest.err conftest.$ac_objext \
42300       conftest$ac_exeext conftest.$ac_ext
42301 fi
42302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42304 if test `eval echo '${'$as_ac_var'}'` = yes; then
42305   cat >>confdefs.h <<_ACEOF
42306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42307 _ACEOF
42308
42309 fi
42310 done
42311
42312     fi
42313   fi
42314
42315
42316
42317   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
42318 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
42319   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42320     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
42321   echo $ECHO_N "(cached) $ECHO_C" >&6
42322 else
42323
42324
42325
42326       ac_ext=cc
42327 ac_cpp='$CXXCPP $CPPFLAGS'
42328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42331
42332       cat >conftest.$ac_ext <<_ACEOF
42333 /* confdefs.h.  */
42334 _ACEOF
42335 cat confdefs.h >>conftest.$ac_ext
42336 cat >>conftest.$ac_ext <<_ACEOF
42337 /* end confdefs.h.  */
42338 #include <math.h>
42339 int
42340 main ()
42341 {
42342  atan2l(0, 0);
42343   ;
42344   return 0;
42345 }
42346 _ACEOF
42347 rm -f conftest.$ac_objext
42348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42349   (eval $ac_compile) 2>conftest.er1
42350   ac_status=$?
42351   grep -v '^ *+' conftest.er1 >conftest.err
42352   rm -f conftest.er1
42353   cat conftest.err >&5
42354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42355   (exit $ac_status); } &&
42356          { ac_try='test -z "$ac_cxx_werror_flag"
42357                          || test ! -s conftest.err'
42358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42359   (eval $ac_try) 2>&5
42360   ac_status=$?
42361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42362   (exit $ac_status); }; } &&
42363          { ac_try='test -s conftest.$ac_objext'
42364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42365   (eval $ac_try) 2>&5
42366   ac_status=$?
42367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42368   (exit $ac_status); }; }; then
42369   glibcxx_cv_func_atan2l_use=yes
42370 else
42371   echo "$as_me: failed program was:" >&5
42372 sed 's/^/| /' conftest.$ac_ext >&5
42373
42374 glibcxx_cv_func_atan2l_use=no
42375 fi
42376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42377       ac_ext=c
42378 ac_cpp='$CPP $CPPFLAGS'
42379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42382
42383
42384 fi
42385
42386   fi
42387   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
42388 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
42389
42390   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42391
42392 for ac_func in atan2l
42393 do
42394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42395 echo "$as_me:$LINENO: checking for $ac_func" >&5
42396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42397 if eval "test \"\${$as_ac_var+set}\" = set"; then
42398   echo $ECHO_N "(cached) $ECHO_C" >&6
42399 else
42400   if test x$gcc_no_link = xyes; then
42401   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42403    { (exit 1); exit 1; }; }
42404 fi
42405 cat >conftest.$ac_ext <<_ACEOF
42406 /* confdefs.h.  */
42407 _ACEOF
42408 cat confdefs.h >>conftest.$ac_ext
42409 cat >>conftest.$ac_ext <<_ACEOF
42410 /* end confdefs.h.  */
42411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42412    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42413 #define $ac_func innocuous_$ac_func
42414
42415 /* System header to define __stub macros and hopefully few prototypes,
42416     which can conflict with char $ac_func (); below.
42417     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42418     <limits.h> exists even on freestanding compilers.  */
42419
42420 #ifdef __STDC__
42421 # include <limits.h>
42422 #else
42423 # include <assert.h>
42424 #endif
42425
42426 #undef $ac_func
42427
42428 /* Override any gcc2 internal prototype to avoid an error.  */
42429 #ifdef __cplusplus
42430 extern "C"
42431 {
42432 #endif
42433 /* We use char because int might match the return type of a gcc2
42434    builtin and then its argument prototype would still apply.  */
42435 char $ac_func ();
42436 /* The GNU C library defines this for functions which it implements
42437     to always fail with ENOSYS.  Some functions are actually named
42438     something starting with __ and the normal name is an alias.  */
42439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42440 choke me
42441 #else
42442 char (*f) () = $ac_func;
42443 #endif
42444 #ifdef __cplusplus
42445 }
42446 #endif
42447
42448 int
42449 main ()
42450 {
42451 return f != $ac_func;
42452   ;
42453   return 0;
42454 }
42455 _ACEOF
42456 rm -f conftest.$ac_objext conftest$ac_exeext
42457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42458   (eval $ac_link) 2>conftest.er1
42459   ac_status=$?
42460   grep -v '^ *+' conftest.er1 >conftest.err
42461   rm -f conftest.er1
42462   cat conftest.err >&5
42463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42464   (exit $ac_status); } &&
42465          { ac_try='test -z "$ac_c_werror_flag"
42466                          || test ! -s conftest.err'
42467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42468   (eval $ac_try) 2>&5
42469   ac_status=$?
42470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42471   (exit $ac_status); }; } &&
42472          { ac_try='test -s conftest$ac_exeext'
42473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42474   (eval $ac_try) 2>&5
42475   ac_status=$?
42476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42477   (exit $ac_status); }; }; then
42478   eval "$as_ac_var=yes"
42479 else
42480   echo "$as_me: failed program was:" >&5
42481 sed 's/^/| /' conftest.$ac_ext >&5
42482
42483 eval "$as_ac_var=no"
42484 fi
42485 rm -f conftest.err conftest.$ac_objext \
42486       conftest$ac_exeext conftest.$ac_ext
42487 fi
42488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42490 if test `eval echo '${'$as_ac_var'}'` = yes; then
42491   cat >>confdefs.h <<_ACEOF
42492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42493 _ACEOF
42494
42495 fi
42496 done
42497
42498   else
42499
42500   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
42501 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
42502   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42503     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
42504   echo $ECHO_N "(cached) $ECHO_C" >&6
42505 else
42506
42507
42508
42509       ac_ext=cc
42510 ac_cpp='$CXXCPP $CPPFLAGS'
42511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42514
42515       cat >conftest.$ac_ext <<_ACEOF
42516 /* confdefs.h.  */
42517 _ACEOF
42518 cat confdefs.h >>conftest.$ac_ext
42519 cat >>conftest.$ac_ext <<_ACEOF
42520 /* end confdefs.h.  */
42521 #include <math.h>
42522 int
42523 main ()
42524 {
42525  _atan2l(0, 0);
42526   ;
42527   return 0;
42528 }
42529 _ACEOF
42530 rm -f conftest.$ac_objext
42531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42532   (eval $ac_compile) 2>conftest.er1
42533   ac_status=$?
42534   grep -v '^ *+' conftest.er1 >conftest.err
42535   rm -f conftest.er1
42536   cat conftest.err >&5
42537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42538   (exit $ac_status); } &&
42539          { ac_try='test -z "$ac_cxx_werror_flag"
42540                          || test ! -s conftest.err'
42541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42542   (eval $ac_try) 2>&5
42543   ac_status=$?
42544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42545   (exit $ac_status); }; } &&
42546          { ac_try='test -s conftest.$ac_objext'
42547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42548   (eval $ac_try) 2>&5
42549   ac_status=$?
42550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42551   (exit $ac_status); }; }; then
42552   glibcxx_cv_func__atan2l_use=yes
42553 else
42554   echo "$as_me: failed program was:" >&5
42555 sed 's/^/| /' conftest.$ac_ext >&5
42556
42557 glibcxx_cv_func__atan2l_use=no
42558 fi
42559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42560       ac_ext=c
42561 ac_cpp='$CPP $CPPFLAGS'
42562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42565
42566
42567 fi
42568
42569   fi
42570   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
42571 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
42572
42573     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42574
42575 for ac_func in _atan2l
42576 do
42577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42578 echo "$as_me:$LINENO: checking for $ac_func" >&5
42579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42580 if eval "test \"\${$as_ac_var+set}\" = set"; then
42581   echo $ECHO_N "(cached) $ECHO_C" >&6
42582 else
42583   if test x$gcc_no_link = xyes; then
42584   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42586    { (exit 1); exit 1; }; }
42587 fi
42588 cat >conftest.$ac_ext <<_ACEOF
42589 /* confdefs.h.  */
42590 _ACEOF
42591 cat confdefs.h >>conftest.$ac_ext
42592 cat >>conftest.$ac_ext <<_ACEOF
42593 /* end confdefs.h.  */
42594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42595    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42596 #define $ac_func innocuous_$ac_func
42597
42598 /* System header to define __stub macros and hopefully few prototypes,
42599     which can conflict with char $ac_func (); below.
42600     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42601     <limits.h> exists even on freestanding compilers.  */
42602
42603 #ifdef __STDC__
42604 # include <limits.h>
42605 #else
42606 # include <assert.h>
42607 #endif
42608
42609 #undef $ac_func
42610
42611 /* Override any gcc2 internal prototype to avoid an error.  */
42612 #ifdef __cplusplus
42613 extern "C"
42614 {
42615 #endif
42616 /* We use char because int might match the return type of a gcc2
42617    builtin and then its argument prototype would still apply.  */
42618 char $ac_func ();
42619 /* The GNU C library defines this for functions which it implements
42620     to always fail with ENOSYS.  Some functions are actually named
42621     something starting with __ and the normal name is an alias.  */
42622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42623 choke me
42624 #else
42625 char (*f) () = $ac_func;
42626 #endif
42627 #ifdef __cplusplus
42628 }
42629 #endif
42630
42631 int
42632 main ()
42633 {
42634 return f != $ac_func;
42635   ;
42636   return 0;
42637 }
42638 _ACEOF
42639 rm -f conftest.$ac_objext conftest$ac_exeext
42640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42641   (eval $ac_link) 2>conftest.er1
42642   ac_status=$?
42643   grep -v '^ *+' conftest.er1 >conftest.err
42644   rm -f conftest.er1
42645   cat conftest.err >&5
42646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42647   (exit $ac_status); } &&
42648          { ac_try='test -z "$ac_c_werror_flag"
42649                          || test ! -s conftest.err'
42650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42651   (eval $ac_try) 2>&5
42652   ac_status=$?
42653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42654   (exit $ac_status); }; } &&
42655          { ac_try='test -s conftest$ac_exeext'
42656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42657   (eval $ac_try) 2>&5
42658   ac_status=$?
42659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42660   (exit $ac_status); }; }; then
42661   eval "$as_ac_var=yes"
42662 else
42663   echo "$as_me: failed program was:" >&5
42664 sed 's/^/| /' conftest.$ac_ext >&5
42665
42666 eval "$as_ac_var=no"
42667 fi
42668 rm -f conftest.err conftest.$ac_objext \
42669       conftest$ac_exeext conftest.$ac_ext
42670 fi
42671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42673 if test `eval echo '${'$as_ac_var'}'` = yes; then
42674   cat >>confdefs.h <<_ACEOF
42675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42676 _ACEOF
42677
42678 fi
42679 done
42680
42681     fi
42682   fi
42683
42684
42685
42686   echo "$as_me:$LINENO: checking for expl declaration" >&5
42687 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
42688   if test x${glibcxx_cv_func_expl_use+set} != xset; then
42689     if test "${glibcxx_cv_func_expl_use+set}" = set; then
42690   echo $ECHO_N "(cached) $ECHO_C" >&6
42691 else
42692
42693
42694
42695       ac_ext=cc
42696 ac_cpp='$CXXCPP $CPPFLAGS'
42697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42700
42701       cat >conftest.$ac_ext <<_ACEOF
42702 /* confdefs.h.  */
42703 _ACEOF
42704 cat confdefs.h >>conftest.$ac_ext
42705 cat >>conftest.$ac_ext <<_ACEOF
42706 /* end confdefs.h.  */
42707 #include <math.h>
42708                       #ifdef HAVE_IEEEFP_H
42709                       #include <ieeefp.h>
42710                       #endif
42711
42712 int
42713 main ()
42714 {
42715  expl(0);
42716   ;
42717   return 0;
42718 }
42719 _ACEOF
42720 rm -f conftest.$ac_objext
42721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42722   (eval $ac_compile) 2>conftest.er1
42723   ac_status=$?
42724   grep -v '^ *+' conftest.er1 >conftest.err
42725   rm -f conftest.er1
42726   cat conftest.err >&5
42727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42728   (exit $ac_status); } &&
42729          { ac_try='test -z "$ac_cxx_werror_flag"
42730                          || test ! -s conftest.err'
42731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42732   (eval $ac_try) 2>&5
42733   ac_status=$?
42734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42735   (exit $ac_status); }; } &&
42736          { ac_try='test -s conftest.$ac_objext'
42737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42738   (eval $ac_try) 2>&5
42739   ac_status=$?
42740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42741   (exit $ac_status); }; }; then
42742   glibcxx_cv_func_expl_use=yes
42743 else
42744   echo "$as_me: failed program was:" >&5
42745 sed 's/^/| /' conftest.$ac_ext >&5
42746
42747 glibcxx_cv_func_expl_use=no
42748 fi
42749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42750       ac_ext=c
42751 ac_cpp='$CPP $CPPFLAGS'
42752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42755
42756
42757 fi
42758
42759   fi
42760   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
42761 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
42762
42763   if test x$glibcxx_cv_func_expl_use = x"yes"; then
42764
42765 for ac_func in expl
42766 do
42767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42768 echo "$as_me:$LINENO: checking for $ac_func" >&5
42769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42770 if eval "test \"\${$as_ac_var+set}\" = set"; then
42771   echo $ECHO_N "(cached) $ECHO_C" >&6
42772 else
42773   if test x$gcc_no_link = xyes; then
42774   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42776    { (exit 1); exit 1; }; }
42777 fi
42778 cat >conftest.$ac_ext <<_ACEOF
42779 /* confdefs.h.  */
42780 _ACEOF
42781 cat confdefs.h >>conftest.$ac_ext
42782 cat >>conftest.$ac_ext <<_ACEOF
42783 /* end confdefs.h.  */
42784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42785    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42786 #define $ac_func innocuous_$ac_func
42787
42788 /* System header to define __stub macros and hopefully few prototypes,
42789     which can conflict with char $ac_func (); below.
42790     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42791     <limits.h> exists even on freestanding compilers.  */
42792
42793 #ifdef __STDC__
42794 # include <limits.h>
42795 #else
42796 # include <assert.h>
42797 #endif
42798
42799 #undef $ac_func
42800
42801 /* Override any gcc2 internal prototype to avoid an error.  */
42802 #ifdef __cplusplus
42803 extern "C"
42804 {
42805 #endif
42806 /* We use char because int might match the return type of a gcc2
42807    builtin and then its argument prototype would still apply.  */
42808 char $ac_func ();
42809 /* The GNU C library defines this for functions which it implements
42810     to always fail with ENOSYS.  Some functions are actually named
42811     something starting with __ and the normal name is an alias.  */
42812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42813 choke me
42814 #else
42815 char (*f) () = $ac_func;
42816 #endif
42817 #ifdef __cplusplus
42818 }
42819 #endif
42820
42821 int
42822 main ()
42823 {
42824 return f != $ac_func;
42825   ;
42826   return 0;
42827 }
42828 _ACEOF
42829 rm -f conftest.$ac_objext conftest$ac_exeext
42830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42831   (eval $ac_link) 2>conftest.er1
42832   ac_status=$?
42833   grep -v '^ *+' conftest.er1 >conftest.err
42834   rm -f conftest.er1
42835   cat conftest.err >&5
42836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42837   (exit $ac_status); } &&
42838          { ac_try='test -z "$ac_c_werror_flag"
42839                          || test ! -s conftest.err'
42840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42841   (eval $ac_try) 2>&5
42842   ac_status=$?
42843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42844   (exit $ac_status); }; } &&
42845          { ac_try='test -s conftest$ac_exeext'
42846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42847   (eval $ac_try) 2>&5
42848   ac_status=$?
42849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42850   (exit $ac_status); }; }; then
42851   eval "$as_ac_var=yes"
42852 else
42853   echo "$as_me: failed program was:" >&5
42854 sed 's/^/| /' conftest.$ac_ext >&5
42855
42856 eval "$as_ac_var=no"
42857 fi
42858 rm -f conftest.err conftest.$ac_objext \
42859       conftest$ac_exeext conftest.$ac_ext
42860 fi
42861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42863 if test `eval echo '${'$as_ac_var'}'` = yes; then
42864   cat >>confdefs.h <<_ACEOF
42865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42866 _ACEOF
42867
42868 fi
42869 done
42870
42871   else
42872
42873   echo "$as_me:$LINENO: checking for _expl declaration" >&5
42874 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
42875   if test x${glibcxx_cv_func__expl_use+set} != xset; then
42876     if test "${glibcxx_cv_func__expl_use+set}" = set; then
42877   echo $ECHO_N "(cached) $ECHO_C" >&6
42878 else
42879
42880
42881
42882       ac_ext=cc
42883 ac_cpp='$CXXCPP $CPPFLAGS'
42884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42887
42888       cat >conftest.$ac_ext <<_ACEOF
42889 /* confdefs.h.  */
42890 _ACEOF
42891 cat confdefs.h >>conftest.$ac_ext
42892 cat >>conftest.$ac_ext <<_ACEOF
42893 /* end confdefs.h.  */
42894 #include <math.h>
42895                       #ifdef HAVE_IEEEFP_H
42896                       #include <ieeefp.h>
42897                       #endif
42898
42899 int
42900 main ()
42901 {
42902  _expl(0);
42903   ;
42904   return 0;
42905 }
42906 _ACEOF
42907 rm -f conftest.$ac_objext
42908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42909   (eval $ac_compile) 2>conftest.er1
42910   ac_status=$?
42911   grep -v '^ *+' conftest.er1 >conftest.err
42912   rm -f conftest.er1
42913   cat conftest.err >&5
42914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42915   (exit $ac_status); } &&
42916          { ac_try='test -z "$ac_cxx_werror_flag"
42917                          || test ! -s conftest.err'
42918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42919   (eval $ac_try) 2>&5
42920   ac_status=$?
42921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42922   (exit $ac_status); }; } &&
42923          { ac_try='test -s conftest.$ac_objext'
42924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42925   (eval $ac_try) 2>&5
42926   ac_status=$?
42927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42928   (exit $ac_status); }; }; then
42929   glibcxx_cv_func__expl_use=yes
42930 else
42931   echo "$as_me: failed program was:" >&5
42932 sed 's/^/| /' conftest.$ac_ext >&5
42933
42934 glibcxx_cv_func__expl_use=no
42935 fi
42936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42937       ac_ext=c
42938 ac_cpp='$CPP $CPPFLAGS'
42939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42942
42943
42944 fi
42945
42946   fi
42947   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
42948 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
42949
42950     if test x$glibcxx_cv_func__expl_use = x"yes"; then
42951
42952 for ac_func in _expl
42953 do
42954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42955 echo "$as_me:$LINENO: checking for $ac_func" >&5
42956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42957 if eval "test \"\${$as_ac_var+set}\" = set"; then
42958   echo $ECHO_N "(cached) $ECHO_C" >&6
42959 else
42960   if test x$gcc_no_link = xyes; then
42961   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42963    { (exit 1); exit 1; }; }
42964 fi
42965 cat >conftest.$ac_ext <<_ACEOF
42966 /* confdefs.h.  */
42967 _ACEOF
42968 cat confdefs.h >>conftest.$ac_ext
42969 cat >>conftest.$ac_ext <<_ACEOF
42970 /* end confdefs.h.  */
42971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42972    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42973 #define $ac_func innocuous_$ac_func
42974
42975 /* System header to define __stub macros and hopefully few prototypes,
42976     which can conflict with char $ac_func (); below.
42977     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42978     <limits.h> exists even on freestanding compilers.  */
42979
42980 #ifdef __STDC__
42981 # include <limits.h>
42982 #else
42983 # include <assert.h>
42984 #endif
42985
42986 #undef $ac_func
42987
42988 /* Override any gcc2 internal prototype to avoid an error.  */
42989 #ifdef __cplusplus
42990 extern "C"
42991 {
42992 #endif
42993 /* We use char because int might match the return type of a gcc2
42994    builtin and then its argument prototype would still apply.  */
42995 char $ac_func ();
42996 /* The GNU C library defines this for functions which it implements
42997     to always fail with ENOSYS.  Some functions are actually named
42998     something starting with __ and the normal name is an alias.  */
42999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43000 choke me
43001 #else
43002 char (*f) () = $ac_func;
43003 #endif
43004 #ifdef __cplusplus
43005 }
43006 #endif
43007
43008 int
43009 main ()
43010 {
43011 return f != $ac_func;
43012   ;
43013   return 0;
43014 }
43015 _ACEOF
43016 rm -f conftest.$ac_objext conftest$ac_exeext
43017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43018   (eval $ac_link) 2>conftest.er1
43019   ac_status=$?
43020   grep -v '^ *+' conftest.er1 >conftest.err
43021   rm -f conftest.er1
43022   cat conftest.err >&5
43023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43024   (exit $ac_status); } &&
43025          { ac_try='test -z "$ac_c_werror_flag"
43026                          || test ! -s conftest.err'
43027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43028   (eval $ac_try) 2>&5
43029   ac_status=$?
43030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43031   (exit $ac_status); }; } &&
43032          { ac_try='test -s conftest$ac_exeext'
43033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43034   (eval $ac_try) 2>&5
43035   ac_status=$?
43036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43037   (exit $ac_status); }; }; then
43038   eval "$as_ac_var=yes"
43039 else
43040   echo "$as_me: failed program was:" >&5
43041 sed 's/^/| /' conftest.$ac_ext >&5
43042
43043 eval "$as_ac_var=no"
43044 fi
43045 rm -f conftest.err conftest.$ac_objext \
43046       conftest$ac_exeext conftest.$ac_ext
43047 fi
43048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43050 if test `eval echo '${'$as_ac_var'}'` = yes; then
43051   cat >>confdefs.h <<_ACEOF
43052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43053 _ACEOF
43054
43055 fi
43056 done
43057
43058     fi
43059   fi
43060
43061
43062
43063   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
43064 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
43065   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43066     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
43067   echo $ECHO_N "(cached) $ECHO_C" >&6
43068 else
43069
43070
43071
43072       ac_ext=cc
43073 ac_cpp='$CXXCPP $CPPFLAGS'
43074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43077
43078       cat >conftest.$ac_ext <<_ACEOF
43079 /* confdefs.h.  */
43080 _ACEOF
43081 cat confdefs.h >>conftest.$ac_ext
43082 cat >>conftest.$ac_ext <<_ACEOF
43083 /* end confdefs.h.  */
43084 #include <math.h>
43085                       #ifdef HAVE_IEEEFP_H
43086                       #include <ieeefp.h>
43087                       #endif
43088
43089 int
43090 main ()
43091 {
43092  fabsl(0);
43093   ;
43094   return 0;
43095 }
43096 _ACEOF
43097 rm -f conftest.$ac_objext
43098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43099   (eval $ac_compile) 2>conftest.er1
43100   ac_status=$?
43101   grep -v '^ *+' conftest.er1 >conftest.err
43102   rm -f conftest.er1
43103   cat conftest.err >&5
43104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43105   (exit $ac_status); } &&
43106          { ac_try='test -z "$ac_cxx_werror_flag"
43107                          || test ! -s conftest.err'
43108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43109   (eval $ac_try) 2>&5
43110   ac_status=$?
43111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43112   (exit $ac_status); }; } &&
43113          { ac_try='test -s conftest.$ac_objext'
43114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43115   (eval $ac_try) 2>&5
43116   ac_status=$?
43117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43118   (exit $ac_status); }; }; then
43119   glibcxx_cv_func_fabsl_use=yes
43120 else
43121   echo "$as_me: failed program was:" >&5
43122 sed 's/^/| /' conftest.$ac_ext >&5
43123
43124 glibcxx_cv_func_fabsl_use=no
43125 fi
43126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43127       ac_ext=c
43128 ac_cpp='$CPP $CPPFLAGS'
43129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43132
43133
43134 fi
43135
43136   fi
43137   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
43138 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
43139
43140   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43141
43142 for ac_func in fabsl
43143 do
43144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43145 echo "$as_me:$LINENO: checking for $ac_func" >&5
43146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43147 if eval "test \"\${$as_ac_var+set}\" = set"; then
43148   echo $ECHO_N "(cached) $ECHO_C" >&6
43149 else
43150   if test x$gcc_no_link = xyes; then
43151   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43153    { (exit 1); exit 1; }; }
43154 fi
43155 cat >conftest.$ac_ext <<_ACEOF
43156 /* confdefs.h.  */
43157 _ACEOF
43158 cat confdefs.h >>conftest.$ac_ext
43159 cat >>conftest.$ac_ext <<_ACEOF
43160 /* end confdefs.h.  */
43161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43162    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43163 #define $ac_func innocuous_$ac_func
43164
43165 /* System header to define __stub macros and hopefully few prototypes,
43166     which can conflict with char $ac_func (); below.
43167     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43168     <limits.h> exists even on freestanding compilers.  */
43169
43170 #ifdef __STDC__
43171 # include <limits.h>
43172 #else
43173 # include <assert.h>
43174 #endif
43175
43176 #undef $ac_func
43177
43178 /* Override any gcc2 internal prototype to avoid an error.  */
43179 #ifdef __cplusplus
43180 extern "C"
43181 {
43182 #endif
43183 /* We use char because int might match the return type of a gcc2
43184    builtin and then its argument prototype would still apply.  */
43185 char $ac_func ();
43186 /* The GNU C library defines this for functions which it implements
43187     to always fail with ENOSYS.  Some functions are actually named
43188     something starting with __ and the normal name is an alias.  */
43189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43190 choke me
43191 #else
43192 char (*f) () = $ac_func;
43193 #endif
43194 #ifdef __cplusplus
43195 }
43196 #endif
43197
43198 int
43199 main ()
43200 {
43201 return f != $ac_func;
43202   ;
43203   return 0;
43204 }
43205 _ACEOF
43206 rm -f conftest.$ac_objext conftest$ac_exeext
43207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43208   (eval $ac_link) 2>conftest.er1
43209   ac_status=$?
43210   grep -v '^ *+' conftest.er1 >conftest.err
43211   rm -f conftest.er1
43212   cat conftest.err >&5
43213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43214   (exit $ac_status); } &&
43215          { ac_try='test -z "$ac_c_werror_flag"
43216                          || test ! -s conftest.err'
43217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43218   (eval $ac_try) 2>&5
43219   ac_status=$?
43220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43221   (exit $ac_status); }; } &&
43222          { ac_try='test -s conftest$ac_exeext'
43223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43224   (eval $ac_try) 2>&5
43225   ac_status=$?
43226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43227   (exit $ac_status); }; }; then
43228   eval "$as_ac_var=yes"
43229 else
43230   echo "$as_me: failed program was:" >&5
43231 sed 's/^/| /' conftest.$ac_ext >&5
43232
43233 eval "$as_ac_var=no"
43234 fi
43235 rm -f conftest.err conftest.$ac_objext \
43236       conftest$ac_exeext conftest.$ac_ext
43237 fi
43238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43240 if test `eval echo '${'$as_ac_var'}'` = yes; then
43241   cat >>confdefs.h <<_ACEOF
43242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43243 _ACEOF
43244
43245 fi
43246 done
43247
43248   else
43249
43250   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
43251 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
43252   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43253     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
43254   echo $ECHO_N "(cached) $ECHO_C" >&6
43255 else
43256
43257
43258
43259       ac_ext=cc
43260 ac_cpp='$CXXCPP $CPPFLAGS'
43261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43264
43265       cat >conftest.$ac_ext <<_ACEOF
43266 /* confdefs.h.  */
43267 _ACEOF
43268 cat confdefs.h >>conftest.$ac_ext
43269 cat >>conftest.$ac_ext <<_ACEOF
43270 /* end confdefs.h.  */
43271 #include <math.h>
43272                       #ifdef HAVE_IEEEFP_H
43273                       #include <ieeefp.h>
43274                       #endif
43275
43276 int
43277 main ()
43278 {
43279  _fabsl(0);
43280   ;
43281   return 0;
43282 }
43283 _ACEOF
43284 rm -f conftest.$ac_objext
43285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43286   (eval $ac_compile) 2>conftest.er1
43287   ac_status=$?
43288   grep -v '^ *+' conftest.er1 >conftest.err
43289   rm -f conftest.er1
43290   cat conftest.err >&5
43291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43292   (exit $ac_status); } &&
43293          { ac_try='test -z "$ac_cxx_werror_flag"
43294                          || test ! -s conftest.err'
43295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43296   (eval $ac_try) 2>&5
43297   ac_status=$?
43298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43299   (exit $ac_status); }; } &&
43300          { ac_try='test -s conftest.$ac_objext'
43301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43302   (eval $ac_try) 2>&5
43303   ac_status=$?
43304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43305   (exit $ac_status); }; }; then
43306   glibcxx_cv_func__fabsl_use=yes
43307 else
43308   echo "$as_me: failed program was:" >&5
43309 sed 's/^/| /' conftest.$ac_ext >&5
43310
43311 glibcxx_cv_func__fabsl_use=no
43312 fi
43313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43314       ac_ext=c
43315 ac_cpp='$CPP $CPPFLAGS'
43316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43319
43320
43321 fi
43322
43323   fi
43324   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
43325 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
43326
43327     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43328
43329 for ac_func in _fabsl
43330 do
43331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43332 echo "$as_me:$LINENO: checking for $ac_func" >&5
43333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43334 if eval "test \"\${$as_ac_var+set}\" = set"; then
43335   echo $ECHO_N "(cached) $ECHO_C" >&6
43336 else
43337   if test x$gcc_no_link = xyes; then
43338   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43340    { (exit 1); exit 1; }; }
43341 fi
43342 cat >conftest.$ac_ext <<_ACEOF
43343 /* confdefs.h.  */
43344 _ACEOF
43345 cat confdefs.h >>conftest.$ac_ext
43346 cat >>conftest.$ac_ext <<_ACEOF
43347 /* end confdefs.h.  */
43348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43349    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43350 #define $ac_func innocuous_$ac_func
43351
43352 /* System header to define __stub macros and hopefully few prototypes,
43353     which can conflict with char $ac_func (); below.
43354     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43355     <limits.h> exists even on freestanding compilers.  */
43356
43357 #ifdef __STDC__
43358 # include <limits.h>
43359 #else
43360 # include <assert.h>
43361 #endif
43362
43363 #undef $ac_func
43364
43365 /* Override any gcc2 internal prototype to avoid an error.  */
43366 #ifdef __cplusplus
43367 extern "C"
43368 {
43369 #endif
43370 /* We use char because int might match the return type of a gcc2
43371    builtin and then its argument prototype would still apply.  */
43372 char $ac_func ();
43373 /* The GNU C library defines this for functions which it implements
43374     to always fail with ENOSYS.  Some functions are actually named
43375     something starting with __ and the normal name is an alias.  */
43376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43377 choke me
43378 #else
43379 char (*f) () = $ac_func;
43380 #endif
43381 #ifdef __cplusplus
43382 }
43383 #endif
43384
43385 int
43386 main ()
43387 {
43388 return f != $ac_func;
43389   ;
43390   return 0;
43391 }
43392 _ACEOF
43393 rm -f conftest.$ac_objext conftest$ac_exeext
43394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43395   (eval $ac_link) 2>conftest.er1
43396   ac_status=$?
43397   grep -v '^ *+' conftest.er1 >conftest.err
43398   rm -f conftest.er1
43399   cat conftest.err >&5
43400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43401   (exit $ac_status); } &&
43402          { ac_try='test -z "$ac_c_werror_flag"
43403                          || test ! -s conftest.err'
43404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43405   (eval $ac_try) 2>&5
43406   ac_status=$?
43407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43408   (exit $ac_status); }; } &&
43409          { ac_try='test -s conftest$ac_exeext'
43410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43411   (eval $ac_try) 2>&5
43412   ac_status=$?
43413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43414   (exit $ac_status); }; }; then
43415   eval "$as_ac_var=yes"
43416 else
43417   echo "$as_me: failed program was:" >&5
43418 sed 's/^/| /' conftest.$ac_ext >&5
43419
43420 eval "$as_ac_var=no"
43421 fi
43422 rm -f conftest.err conftest.$ac_objext \
43423       conftest$ac_exeext conftest.$ac_ext
43424 fi
43425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43427 if test `eval echo '${'$as_ac_var'}'` = yes; then
43428   cat >>confdefs.h <<_ACEOF
43429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43430 _ACEOF
43431
43432 fi
43433 done
43434
43435     fi
43436   fi
43437
43438
43439
43440   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
43441 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
43442   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43443     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
43444   echo $ECHO_N "(cached) $ECHO_C" >&6
43445 else
43446
43447
43448
43449       ac_ext=cc
43450 ac_cpp='$CXXCPP $CPPFLAGS'
43451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43454
43455       cat >conftest.$ac_ext <<_ACEOF
43456 /* confdefs.h.  */
43457 _ACEOF
43458 cat confdefs.h >>conftest.$ac_ext
43459 cat >>conftest.$ac_ext <<_ACEOF
43460 /* end confdefs.h.  */
43461 #include <math.h>
43462 int
43463 main ()
43464 {
43465  fmodl(0, 0);
43466   ;
43467   return 0;
43468 }
43469 _ACEOF
43470 rm -f conftest.$ac_objext
43471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43472   (eval $ac_compile) 2>conftest.er1
43473   ac_status=$?
43474   grep -v '^ *+' conftest.er1 >conftest.err
43475   rm -f conftest.er1
43476   cat conftest.err >&5
43477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43478   (exit $ac_status); } &&
43479          { ac_try='test -z "$ac_cxx_werror_flag"
43480                          || test ! -s conftest.err'
43481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43482   (eval $ac_try) 2>&5
43483   ac_status=$?
43484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43485   (exit $ac_status); }; } &&
43486          { ac_try='test -s conftest.$ac_objext'
43487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43488   (eval $ac_try) 2>&5
43489   ac_status=$?
43490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43491   (exit $ac_status); }; }; then
43492   glibcxx_cv_func_fmodl_use=yes
43493 else
43494   echo "$as_me: failed program was:" >&5
43495 sed 's/^/| /' conftest.$ac_ext >&5
43496
43497 glibcxx_cv_func_fmodl_use=no
43498 fi
43499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43500       ac_ext=c
43501 ac_cpp='$CPP $CPPFLAGS'
43502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43505
43506
43507 fi
43508
43509   fi
43510   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
43511 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
43512
43513   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43514
43515 for ac_func in fmodl
43516 do
43517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43518 echo "$as_me:$LINENO: checking for $ac_func" >&5
43519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43520 if eval "test \"\${$as_ac_var+set}\" = set"; then
43521   echo $ECHO_N "(cached) $ECHO_C" >&6
43522 else
43523   if test x$gcc_no_link = xyes; then
43524   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43526    { (exit 1); exit 1; }; }
43527 fi
43528 cat >conftest.$ac_ext <<_ACEOF
43529 /* confdefs.h.  */
43530 _ACEOF
43531 cat confdefs.h >>conftest.$ac_ext
43532 cat >>conftest.$ac_ext <<_ACEOF
43533 /* end confdefs.h.  */
43534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43535    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43536 #define $ac_func innocuous_$ac_func
43537
43538 /* System header to define __stub macros and hopefully few prototypes,
43539     which can conflict with char $ac_func (); below.
43540     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43541     <limits.h> exists even on freestanding compilers.  */
43542
43543 #ifdef __STDC__
43544 # include <limits.h>
43545 #else
43546 # include <assert.h>
43547 #endif
43548
43549 #undef $ac_func
43550
43551 /* Override any gcc2 internal prototype to avoid an error.  */
43552 #ifdef __cplusplus
43553 extern "C"
43554 {
43555 #endif
43556 /* We use char because int might match the return type of a gcc2
43557    builtin and then its argument prototype would still apply.  */
43558 char $ac_func ();
43559 /* The GNU C library defines this for functions which it implements
43560     to always fail with ENOSYS.  Some functions are actually named
43561     something starting with __ and the normal name is an alias.  */
43562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43563 choke me
43564 #else
43565 char (*f) () = $ac_func;
43566 #endif
43567 #ifdef __cplusplus
43568 }
43569 #endif
43570
43571 int
43572 main ()
43573 {
43574 return f != $ac_func;
43575   ;
43576   return 0;
43577 }
43578 _ACEOF
43579 rm -f conftest.$ac_objext conftest$ac_exeext
43580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43581   (eval $ac_link) 2>conftest.er1
43582   ac_status=$?
43583   grep -v '^ *+' conftest.er1 >conftest.err
43584   rm -f conftest.er1
43585   cat conftest.err >&5
43586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43587   (exit $ac_status); } &&
43588          { ac_try='test -z "$ac_c_werror_flag"
43589                          || test ! -s conftest.err'
43590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43591   (eval $ac_try) 2>&5
43592   ac_status=$?
43593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43594   (exit $ac_status); }; } &&
43595          { ac_try='test -s conftest$ac_exeext'
43596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43597   (eval $ac_try) 2>&5
43598   ac_status=$?
43599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43600   (exit $ac_status); }; }; then
43601   eval "$as_ac_var=yes"
43602 else
43603   echo "$as_me: failed program was:" >&5
43604 sed 's/^/| /' conftest.$ac_ext >&5
43605
43606 eval "$as_ac_var=no"
43607 fi
43608 rm -f conftest.err conftest.$ac_objext \
43609       conftest$ac_exeext conftest.$ac_ext
43610 fi
43611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43613 if test `eval echo '${'$as_ac_var'}'` = yes; then
43614   cat >>confdefs.h <<_ACEOF
43615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43616 _ACEOF
43617
43618 fi
43619 done
43620
43621   else
43622
43623   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
43624 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
43625   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43626     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
43627   echo $ECHO_N "(cached) $ECHO_C" >&6
43628 else
43629
43630
43631
43632       ac_ext=cc
43633 ac_cpp='$CXXCPP $CPPFLAGS'
43634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43637
43638       cat >conftest.$ac_ext <<_ACEOF
43639 /* confdefs.h.  */
43640 _ACEOF
43641 cat confdefs.h >>conftest.$ac_ext
43642 cat >>conftest.$ac_ext <<_ACEOF
43643 /* end confdefs.h.  */
43644 #include <math.h>
43645 int
43646 main ()
43647 {
43648  _fmodl(0, 0);
43649   ;
43650   return 0;
43651 }
43652 _ACEOF
43653 rm -f conftest.$ac_objext
43654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43655   (eval $ac_compile) 2>conftest.er1
43656   ac_status=$?
43657   grep -v '^ *+' conftest.er1 >conftest.err
43658   rm -f conftest.er1
43659   cat conftest.err >&5
43660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43661   (exit $ac_status); } &&
43662          { ac_try='test -z "$ac_cxx_werror_flag"
43663                          || test ! -s conftest.err'
43664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43665   (eval $ac_try) 2>&5
43666   ac_status=$?
43667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43668   (exit $ac_status); }; } &&
43669          { ac_try='test -s conftest.$ac_objext'
43670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43671   (eval $ac_try) 2>&5
43672   ac_status=$?
43673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43674   (exit $ac_status); }; }; then
43675   glibcxx_cv_func__fmodl_use=yes
43676 else
43677   echo "$as_me: failed program was:" >&5
43678 sed 's/^/| /' conftest.$ac_ext >&5
43679
43680 glibcxx_cv_func__fmodl_use=no
43681 fi
43682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43683       ac_ext=c
43684 ac_cpp='$CPP $CPPFLAGS'
43685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43688
43689
43690 fi
43691
43692   fi
43693   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
43694 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
43695
43696     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43697
43698 for ac_func in _fmodl
43699 do
43700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43701 echo "$as_me:$LINENO: checking for $ac_func" >&5
43702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43703 if eval "test \"\${$as_ac_var+set}\" = set"; then
43704   echo $ECHO_N "(cached) $ECHO_C" >&6
43705 else
43706   if test x$gcc_no_link = xyes; then
43707   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43709    { (exit 1); exit 1; }; }
43710 fi
43711 cat >conftest.$ac_ext <<_ACEOF
43712 /* confdefs.h.  */
43713 _ACEOF
43714 cat confdefs.h >>conftest.$ac_ext
43715 cat >>conftest.$ac_ext <<_ACEOF
43716 /* end confdefs.h.  */
43717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43718    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43719 #define $ac_func innocuous_$ac_func
43720
43721 /* System header to define __stub macros and hopefully few prototypes,
43722     which can conflict with char $ac_func (); below.
43723     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43724     <limits.h> exists even on freestanding compilers.  */
43725
43726 #ifdef __STDC__
43727 # include <limits.h>
43728 #else
43729 # include <assert.h>
43730 #endif
43731
43732 #undef $ac_func
43733
43734 /* Override any gcc2 internal prototype to avoid an error.  */
43735 #ifdef __cplusplus
43736 extern "C"
43737 {
43738 #endif
43739 /* We use char because int might match the return type of a gcc2
43740    builtin and then its argument prototype would still apply.  */
43741 char $ac_func ();
43742 /* The GNU C library defines this for functions which it implements
43743     to always fail with ENOSYS.  Some functions are actually named
43744     something starting with __ and the normal name is an alias.  */
43745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43746 choke me
43747 #else
43748 char (*f) () = $ac_func;
43749 #endif
43750 #ifdef __cplusplus
43751 }
43752 #endif
43753
43754 int
43755 main ()
43756 {
43757 return f != $ac_func;
43758   ;
43759   return 0;
43760 }
43761 _ACEOF
43762 rm -f conftest.$ac_objext conftest$ac_exeext
43763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43764   (eval $ac_link) 2>conftest.er1
43765   ac_status=$?
43766   grep -v '^ *+' conftest.er1 >conftest.err
43767   rm -f conftest.er1
43768   cat conftest.err >&5
43769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43770   (exit $ac_status); } &&
43771          { ac_try='test -z "$ac_c_werror_flag"
43772                          || test ! -s conftest.err'
43773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43774   (eval $ac_try) 2>&5
43775   ac_status=$?
43776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43777   (exit $ac_status); }; } &&
43778          { ac_try='test -s conftest$ac_exeext'
43779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43780   (eval $ac_try) 2>&5
43781   ac_status=$?
43782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43783   (exit $ac_status); }; }; then
43784   eval "$as_ac_var=yes"
43785 else
43786   echo "$as_me: failed program was:" >&5
43787 sed 's/^/| /' conftest.$ac_ext >&5
43788
43789 eval "$as_ac_var=no"
43790 fi
43791 rm -f conftest.err conftest.$ac_objext \
43792       conftest$ac_exeext conftest.$ac_ext
43793 fi
43794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43796 if test `eval echo '${'$as_ac_var'}'` = yes; then
43797   cat >>confdefs.h <<_ACEOF
43798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43799 _ACEOF
43800
43801 fi
43802 done
43803
43804     fi
43805   fi
43806
43807
43808
43809   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
43810 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
43811   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43812     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
43813   echo $ECHO_N "(cached) $ECHO_C" >&6
43814 else
43815
43816
43817
43818       ac_ext=cc
43819 ac_cpp='$CXXCPP $CPPFLAGS'
43820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43823
43824       cat >conftest.$ac_ext <<_ACEOF
43825 /* confdefs.h.  */
43826 _ACEOF
43827 cat confdefs.h >>conftest.$ac_ext
43828 cat >>conftest.$ac_ext <<_ACEOF
43829 /* end confdefs.h.  */
43830 #include <math.h>
43831 int
43832 main ()
43833 {
43834  frexpl(0, 0);
43835   ;
43836   return 0;
43837 }
43838 _ACEOF
43839 rm -f conftest.$ac_objext
43840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43841   (eval $ac_compile) 2>conftest.er1
43842   ac_status=$?
43843   grep -v '^ *+' conftest.er1 >conftest.err
43844   rm -f conftest.er1
43845   cat conftest.err >&5
43846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43847   (exit $ac_status); } &&
43848          { ac_try='test -z "$ac_cxx_werror_flag"
43849                          || test ! -s conftest.err'
43850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43851   (eval $ac_try) 2>&5
43852   ac_status=$?
43853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43854   (exit $ac_status); }; } &&
43855          { ac_try='test -s conftest.$ac_objext'
43856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43857   (eval $ac_try) 2>&5
43858   ac_status=$?
43859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43860   (exit $ac_status); }; }; then
43861   glibcxx_cv_func_frexpl_use=yes
43862 else
43863   echo "$as_me: failed program was:" >&5
43864 sed 's/^/| /' conftest.$ac_ext >&5
43865
43866 glibcxx_cv_func_frexpl_use=no
43867 fi
43868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43869       ac_ext=c
43870 ac_cpp='$CPP $CPPFLAGS'
43871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43874
43875
43876 fi
43877
43878   fi
43879   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
43880 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
43881
43882   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43883
43884 for ac_func in frexpl
43885 do
43886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43887 echo "$as_me:$LINENO: checking for $ac_func" >&5
43888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43889 if eval "test \"\${$as_ac_var+set}\" = set"; then
43890   echo $ECHO_N "(cached) $ECHO_C" >&6
43891 else
43892   if test x$gcc_no_link = xyes; then
43893   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43895    { (exit 1); exit 1; }; }
43896 fi
43897 cat >conftest.$ac_ext <<_ACEOF
43898 /* confdefs.h.  */
43899 _ACEOF
43900 cat confdefs.h >>conftest.$ac_ext
43901 cat >>conftest.$ac_ext <<_ACEOF
43902 /* end confdefs.h.  */
43903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43904    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43905 #define $ac_func innocuous_$ac_func
43906
43907 /* System header to define __stub macros and hopefully few prototypes,
43908     which can conflict with char $ac_func (); below.
43909     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43910     <limits.h> exists even on freestanding compilers.  */
43911
43912 #ifdef __STDC__
43913 # include <limits.h>
43914 #else
43915 # include <assert.h>
43916 #endif
43917
43918 #undef $ac_func
43919
43920 /* Override any gcc2 internal prototype to avoid an error.  */
43921 #ifdef __cplusplus
43922 extern "C"
43923 {
43924 #endif
43925 /* We use char because int might match the return type of a gcc2
43926    builtin and then its argument prototype would still apply.  */
43927 char $ac_func ();
43928 /* The GNU C library defines this for functions which it implements
43929     to always fail with ENOSYS.  Some functions are actually named
43930     something starting with __ and the normal name is an alias.  */
43931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43932 choke me
43933 #else
43934 char (*f) () = $ac_func;
43935 #endif
43936 #ifdef __cplusplus
43937 }
43938 #endif
43939
43940 int
43941 main ()
43942 {
43943 return f != $ac_func;
43944   ;
43945   return 0;
43946 }
43947 _ACEOF
43948 rm -f conftest.$ac_objext conftest$ac_exeext
43949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43950   (eval $ac_link) 2>conftest.er1
43951   ac_status=$?
43952   grep -v '^ *+' conftest.er1 >conftest.err
43953   rm -f conftest.er1
43954   cat conftest.err >&5
43955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43956   (exit $ac_status); } &&
43957          { ac_try='test -z "$ac_c_werror_flag"
43958                          || test ! -s conftest.err'
43959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43960   (eval $ac_try) 2>&5
43961   ac_status=$?
43962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43963   (exit $ac_status); }; } &&
43964          { ac_try='test -s conftest$ac_exeext'
43965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43966   (eval $ac_try) 2>&5
43967   ac_status=$?
43968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43969   (exit $ac_status); }; }; then
43970   eval "$as_ac_var=yes"
43971 else
43972   echo "$as_me: failed program was:" >&5
43973 sed 's/^/| /' conftest.$ac_ext >&5
43974
43975 eval "$as_ac_var=no"
43976 fi
43977 rm -f conftest.err conftest.$ac_objext \
43978       conftest$ac_exeext conftest.$ac_ext
43979 fi
43980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43982 if test `eval echo '${'$as_ac_var'}'` = yes; then
43983   cat >>confdefs.h <<_ACEOF
43984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43985 _ACEOF
43986
43987 fi
43988 done
43989
43990   else
43991
43992   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
43993 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
43994   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43995     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
43996   echo $ECHO_N "(cached) $ECHO_C" >&6
43997 else
43998
43999
44000
44001       ac_ext=cc
44002 ac_cpp='$CXXCPP $CPPFLAGS'
44003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44006
44007       cat >conftest.$ac_ext <<_ACEOF
44008 /* confdefs.h.  */
44009 _ACEOF
44010 cat confdefs.h >>conftest.$ac_ext
44011 cat >>conftest.$ac_ext <<_ACEOF
44012 /* end confdefs.h.  */
44013 #include <math.h>
44014 int
44015 main ()
44016 {
44017  _frexpl(0, 0);
44018   ;
44019   return 0;
44020 }
44021 _ACEOF
44022 rm -f conftest.$ac_objext
44023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44024   (eval $ac_compile) 2>conftest.er1
44025   ac_status=$?
44026   grep -v '^ *+' conftest.er1 >conftest.err
44027   rm -f conftest.er1
44028   cat conftest.err >&5
44029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44030   (exit $ac_status); } &&
44031          { ac_try='test -z "$ac_cxx_werror_flag"
44032                          || test ! -s conftest.err'
44033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44034   (eval $ac_try) 2>&5
44035   ac_status=$?
44036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44037   (exit $ac_status); }; } &&
44038          { ac_try='test -s conftest.$ac_objext'
44039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44040   (eval $ac_try) 2>&5
44041   ac_status=$?
44042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44043   (exit $ac_status); }; }; then
44044   glibcxx_cv_func__frexpl_use=yes
44045 else
44046   echo "$as_me: failed program was:" >&5
44047 sed 's/^/| /' conftest.$ac_ext >&5
44048
44049 glibcxx_cv_func__frexpl_use=no
44050 fi
44051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44052       ac_ext=c
44053 ac_cpp='$CPP $CPPFLAGS'
44054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44057
44058
44059 fi
44060
44061   fi
44062   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
44063 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
44064
44065     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44066
44067 for ac_func in _frexpl
44068 do
44069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44070 echo "$as_me:$LINENO: checking for $ac_func" >&5
44071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44072 if eval "test \"\${$as_ac_var+set}\" = set"; then
44073   echo $ECHO_N "(cached) $ECHO_C" >&6
44074 else
44075   if test x$gcc_no_link = xyes; then
44076   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44078    { (exit 1); exit 1; }; }
44079 fi
44080 cat >conftest.$ac_ext <<_ACEOF
44081 /* confdefs.h.  */
44082 _ACEOF
44083 cat confdefs.h >>conftest.$ac_ext
44084 cat >>conftest.$ac_ext <<_ACEOF
44085 /* end confdefs.h.  */
44086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44087    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44088 #define $ac_func innocuous_$ac_func
44089
44090 /* System header to define __stub macros and hopefully few prototypes,
44091     which can conflict with char $ac_func (); below.
44092     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44093     <limits.h> exists even on freestanding compilers.  */
44094
44095 #ifdef __STDC__
44096 # include <limits.h>
44097 #else
44098 # include <assert.h>
44099 #endif
44100
44101 #undef $ac_func
44102
44103 /* Override any gcc2 internal prototype to avoid an error.  */
44104 #ifdef __cplusplus
44105 extern "C"
44106 {
44107 #endif
44108 /* We use char because int might match the return type of a gcc2
44109    builtin and then its argument prototype would still apply.  */
44110 char $ac_func ();
44111 /* The GNU C library defines this for functions which it implements
44112     to always fail with ENOSYS.  Some functions are actually named
44113     something starting with __ and the normal name is an alias.  */
44114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44115 choke me
44116 #else
44117 char (*f) () = $ac_func;
44118 #endif
44119 #ifdef __cplusplus
44120 }
44121 #endif
44122
44123 int
44124 main ()
44125 {
44126 return f != $ac_func;
44127   ;
44128   return 0;
44129 }
44130 _ACEOF
44131 rm -f conftest.$ac_objext conftest$ac_exeext
44132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44133   (eval $ac_link) 2>conftest.er1
44134   ac_status=$?
44135   grep -v '^ *+' conftest.er1 >conftest.err
44136   rm -f conftest.er1
44137   cat conftest.err >&5
44138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44139   (exit $ac_status); } &&
44140          { ac_try='test -z "$ac_c_werror_flag"
44141                          || test ! -s conftest.err'
44142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44143   (eval $ac_try) 2>&5
44144   ac_status=$?
44145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44146   (exit $ac_status); }; } &&
44147          { ac_try='test -s conftest$ac_exeext'
44148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44149   (eval $ac_try) 2>&5
44150   ac_status=$?
44151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44152   (exit $ac_status); }; }; then
44153   eval "$as_ac_var=yes"
44154 else
44155   echo "$as_me: failed program was:" >&5
44156 sed 's/^/| /' conftest.$ac_ext >&5
44157
44158 eval "$as_ac_var=no"
44159 fi
44160 rm -f conftest.err conftest.$ac_objext \
44161       conftest$ac_exeext conftest.$ac_ext
44162 fi
44163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44165 if test `eval echo '${'$as_ac_var'}'` = yes; then
44166   cat >>confdefs.h <<_ACEOF
44167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44168 _ACEOF
44169
44170 fi
44171 done
44172
44173     fi
44174   fi
44175
44176
44177
44178   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
44179 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
44180   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44181     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
44182   echo $ECHO_N "(cached) $ECHO_C" >&6
44183 else
44184
44185
44186
44187       ac_ext=cc
44188 ac_cpp='$CXXCPP $CPPFLAGS'
44189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44192
44193       cat >conftest.$ac_ext <<_ACEOF
44194 /* confdefs.h.  */
44195 _ACEOF
44196 cat confdefs.h >>conftest.$ac_ext
44197 cat >>conftest.$ac_ext <<_ACEOF
44198 /* end confdefs.h.  */
44199 #include <math.h>
44200 int
44201 main ()
44202 {
44203  hypotl(0, 0);
44204   ;
44205   return 0;
44206 }
44207 _ACEOF
44208 rm -f conftest.$ac_objext
44209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44210   (eval $ac_compile) 2>conftest.er1
44211   ac_status=$?
44212   grep -v '^ *+' conftest.er1 >conftest.err
44213   rm -f conftest.er1
44214   cat conftest.err >&5
44215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44216   (exit $ac_status); } &&
44217          { ac_try='test -z "$ac_cxx_werror_flag"
44218                          || test ! -s conftest.err'
44219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44220   (eval $ac_try) 2>&5
44221   ac_status=$?
44222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44223   (exit $ac_status); }; } &&
44224          { ac_try='test -s conftest.$ac_objext'
44225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44226   (eval $ac_try) 2>&5
44227   ac_status=$?
44228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44229   (exit $ac_status); }; }; then
44230   glibcxx_cv_func_hypotl_use=yes
44231 else
44232   echo "$as_me: failed program was:" >&5
44233 sed 's/^/| /' conftest.$ac_ext >&5
44234
44235 glibcxx_cv_func_hypotl_use=no
44236 fi
44237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44238       ac_ext=c
44239 ac_cpp='$CPP $CPPFLAGS'
44240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44243
44244
44245 fi
44246
44247   fi
44248   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
44249 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
44250
44251   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44252
44253 for ac_func in hypotl
44254 do
44255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44256 echo "$as_me:$LINENO: checking for $ac_func" >&5
44257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44258 if eval "test \"\${$as_ac_var+set}\" = set"; then
44259   echo $ECHO_N "(cached) $ECHO_C" >&6
44260 else
44261   if test x$gcc_no_link = xyes; then
44262   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44264    { (exit 1); exit 1; }; }
44265 fi
44266 cat >conftest.$ac_ext <<_ACEOF
44267 /* confdefs.h.  */
44268 _ACEOF
44269 cat confdefs.h >>conftest.$ac_ext
44270 cat >>conftest.$ac_ext <<_ACEOF
44271 /* end confdefs.h.  */
44272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44273    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44274 #define $ac_func innocuous_$ac_func
44275
44276 /* System header to define __stub macros and hopefully few prototypes,
44277     which can conflict with char $ac_func (); below.
44278     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44279     <limits.h> exists even on freestanding compilers.  */
44280
44281 #ifdef __STDC__
44282 # include <limits.h>
44283 #else
44284 # include <assert.h>
44285 #endif
44286
44287 #undef $ac_func
44288
44289 /* Override any gcc2 internal prototype to avoid an error.  */
44290 #ifdef __cplusplus
44291 extern "C"
44292 {
44293 #endif
44294 /* We use char because int might match the return type of a gcc2
44295    builtin and then its argument prototype would still apply.  */
44296 char $ac_func ();
44297 /* The GNU C library defines this for functions which it implements
44298     to always fail with ENOSYS.  Some functions are actually named
44299     something starting with __ and the normal name is an alias.  */
44300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44301 choke me
44302 #else
44303 char (*f) () = $ac_func;
44304 #endif
44305 #ifdef __cplusplus
44306 }
44307 #endif
44308
44309 int
44310 main ()
44311 {
44312 return f != $ac_func;
44313   ;
44314   return 0;
44315 }
44316 _ACEOF
44317 rm -f conftest.$ac_objext conftest$ac_exeext
44318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44319   (eval $ac_link) 2>conftest.er1
44320   ac_status=$?
44321   grep -v '^ *+' conftest.er1 >conftest.err
44322   rm -f conftest.er1
44323   cat conftest.err >&5
44324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44325   (exit $ac_status); } &&
44326          { ac_try='test -z "$ac_c_werror_flag"
44327                          || test ! -s conftest.err'
44328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44329   (eval $ac_try) 2>&5
44330   ac_status=$?
44331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44332   (exit $ac_status); }; } &&
44333          { ac_try='test -s conftest$ac_exeext'
44334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44335   (eval $ac_try) 2>&5
44336   ac_status=$?
44337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44338   (exit $ac_status); }; }; then
44339   eval "$as_ac_var=yes"
44340 else
44341   echo "$as_me: failed program was:" >&5
44342 sed 's/^/| /' conftest.$ac_ext >&5
44343
44344 eval "$as_ac_var=no"
44345 fi
44346 rm -f conftest.err conftest.$ac_objext \
44347       conftest$ac_exeext conftest.$ac_ext
44348 fi
44349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44351 if test `eval echo '${'$as_ac_var'}'` = yes; then
44352   cat >>confdefs.h <<_ACEOF
44353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44354 _ACEOF
44355
44356 fi
44357 done
44358
44359   else
44360
44361   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
44362 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
44363   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44364     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
44365   echo $ECHO_N "(cached) $ECHO_C" >&6
44366 else
44367
44368
44369
44370       ac_ext=cc
44371 ac_cpp='$CXXCPP $CPPFLAGS'
44372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44375
44376       cat >conftest.$ac_ext <<_ACEOF
44377 /* confdefs.h.  */
44378 _ACEOF
44379 cat confdefs.h >>conftest.$ac_ext
44380 cat >>conftest.$ac_ext <<_ACEOF
44381 /* end confdefs.h.  */
44382 #include <math.h>
44383 int
44384 main ()
44385 {
44386  _hypotl(0, 0);
44387   ;
44388   return 0;
44389 }
44390 _ACEOF
44391 rm -f conftest.$ac_objext
44392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44393   (eval $ac_compile) 2>conftest.er1
44394   ac_status=$?
44395   grep -v '^ *+' conftest.er1 >conftest.err
44396   rm -f conftest.er1
44397   cat conftest.err >&5
44398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44399   (exit $ac_status); } &&
44400          { ac_try='test -z "$ac_cxx_werror_flag"
44401                          || test ! -s conftest.err'
44402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44403   (eval $ac_try) 2>&5
44404   ac_status=$?
44405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44406   (exit $ac_status); }; } &&
44407          { ac_try='test -s conftest.$ac_objext'
44408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44409   (eval $ac_try) 2>&5
44410   ac_status=$?
44411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44412   (exit $ac_status); }; }; then
44413   glibcxx_cv_func__hypotl_use=yes
44414 else
44415   echo "$as_me: failed program was:" >&5
44416 sed 's/^/| /' conftest.$ac_ext >&5
44417
44418 glibcxx_cv_func__hypotl_use=no
44419 fi
44420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44421       ac_ext=c
44422 ac_cpp='$CPP $CPPFLAGS'
44423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44426
44427
44428 fi
44429
44430   fi
44431   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
44432 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
44433
44434     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44435
44436 for ac_func in _hypotl
44437 do
44438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44439 echo "$as_me:$LINENO: checking for $ac_func" >&5
44440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44441 if eval "test \"\${$as_ac_var+set}\" = set"; then
44442   echo $ECHO_N "(cached) $ECHO_C" >&6
44443 else
44444   if test x$gcc_no_link = xyes; then
44445   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44447    { (exit 1); exit 1; }; }
44448 fi
44449 cat >conftest.$ac_ext <<_ACEOF
44450 /* confdefs.h.  */
44451 _ACEOF
44452 cat confdefs.h >>conftest.$ac_ext
44453 cat >>conftest.$ac_ext <<_ACEOF
44454 /* end confdefs.h.  */
44455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44456    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44457 #define $ac_func innocuous_$ac_func
44458
44459 /* System header to define __stub macros and hopefully few prototypes,
44460     which can conflict with char $ac_func (); below.
44461     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44462     <limits.h> exists even on freestanding compilers.  */
44463
44464 #ifdef __STDC__
44465 # include <limits.h>
44466 #else
44467 # include <assert.h>
44468 #endif
44469
44470 #undef $ac_func
44471
44472 /* Override any gcc2 internal prototype to avoid an error.  */
44473 #ifdef __cplusplus
44474 extern "C"
44475 {
44476 #endif
44477 /* We use char because int might match the return type of a gcc2
44478    builtin and then its argument prototype would still apply.  */
44479 char $ac_func ();
44480 /* The GNU C library defines this for functions which it implements
44481     to always fail with ENOSYS.  Some functions are actually named
44482     something starting with __ and the normal name is an alias.  */
44483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44484 choke me
44485 #else
44486 char (*f) () = $ac_func;
44487 #endif
44488 #ifdef __cplusplus
44489 }
44490 #endif
44491
44492 int
44493 main ()
44494 {
44495 return f != $ac_func;
44496   ;
44497   return 0;
44498 }
44499 _ACEOF
44500 rm -f conftest.$ac_objext conftest$ac_exeext
44501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44502   (eval $ac_link) 2>conftest.er1
44503   ac_status=$?
44504   grep -v '^ *+' conftest.er1 >conftest.err
44505   rm -f conftest.er1
44506   cat conftest.err >&5
44507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44508   (exit $ac_status); } &&
44509          { ac_try='test -z "$ac_c_werror_flag"
44510                          || test ! -s conftest.err'
44511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44512   (eval $ac_try) 2>&5
44513   ac_status=$?
44514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44515   (exit $ac_status); }; } &&
44516          { ac_try='test -s conftest$ac_exeext'
44517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44518   (eval $ac_try) 2>&5
44519   ac_status=$?
44520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44521   (exit $ac_status); }; }; then
44522   eval "$as_ac_var=yes"
44523 else
44524   echo "$as_me: failed program was:" >&5
44525 sed 's/^/| /' conftest.$ac_ext >&5
44526
44527 eval "$as_ac_var=no"
44528 fi
44529 rm -f conftest.err conftest.$ac_objext \
44530       conftest$ac_exeext conftest.$ac_ext
44531 fi
44532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44534 if test `eval echo '${'$as_ac_var'}'` = yes; then
44535   cat >>confdefs.h <<_ACEOF
44536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44537 _ACEOF
44538
44539 fi
44540 done
44541
44542     fi
44543   fi
44544
44545
44546
44547   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
44548 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
44549   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44550     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
44551   echo $ECHO_N "(cached) $ECHO_C" >&6
44552 else
44553
44554
44555
44556       ac_ext=cc
44557 ac_cpp='$CXXCPP $CPPFLAGS'
44558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44561
44562       cat >conftest.$ac_ext <<_ACEOF
44563 /* confdefs.h.  */
44564 _ACEOF
44565 cat confdefs.h >>conftest.$ac_ext
44566 cat >>conftest.$ac_ext <<_ACEOF
44567 /* end confdefs.h.  */
44568 #include <math.h>
44569 int
44570 main ()
44571 {
44572  ldexpl(0, 0);
44573   ;
44574   return 0;
44575 }
44576 _ACEOF
44577 rm -f conftest.$ac_objext
44578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44579   (eval $ac_compile) 2>conftest.er1
44580   ac_status=$?
44581   grep -v '^ *+' conftest.er1 >conftest.err
44582   rm -f conftest.er1
44583   cat conftest.err >&5
44584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44585   (exit $ac_status); } &&
44586          { ac_try='test -z "$ac_cxx_werror_flag"
44587                          || test ! -s conftest.err'
44588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44589   (eval $ac_try) 2>&5
44590   ac_status=$?
44591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44592   (exit $ac_status); }; } &&
44593          { ac_try='test -s conftest.$ac_objext'
44594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44595   (eval $ac_try) 2>&5
44596   ac_status=$?
44597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44598   (exit $ac_status); }; }; then
44599   glibcxx_cv_func_ldexpl_use=yes
44600 else
44601   echo "$as_me: failed program was:" >&5
44602 sed 's/^/| /' conftest.$ac_ext >&5
44603
44604 glibcxx_cv_func_ldexpl_use=no
44605 fi
44606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44607       ac_ext=c
44608 ac_cpp='$CPP $CPPFLAGS'
44609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44612
44613
44614 fi
44615
44616   fi
44617   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
44618 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
44619
44620   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44621
44622 for ac_func in ldexpl
44623 do
44624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44625 echo "$as_me:$LINENO: checking for $ac_func" >&5
44626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44627 if eval "test \"\${$as_ac_var+set}\" = set"; then
44628   echo $ECHO_N "(cached) $ECHO_C" >&6
44629 else
44630   if test x$gcc_no_link = xyes; then
44631   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44633    { (exit 1); exit 1; }; }
44634 fi
44635 cat >conftest.$ac_ext <<_ACEOF
44636 /* confdefs.h.  */
44637 _ACEOF
44638 cat confdefs.h >>conftest.$ac_ext
44639 cat >>conftest.$ac_ext <<_ACEOF
44640 /* end confdefs.h.  */
44641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44642    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44643 #define $ac_func innocuous_$ac_func
44644
44645 /* System header to define __stub macros and hopefully few prototypes,
44646     which can conflict with char $ac_func (); below.
44647     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44648     <limits.h> exists even on freestanding compilers.  */
44649
44650 #ifdef __STDC__
44651 # include <limits.h>
44652 #else
44653 # include <assert.h>
44654 #endif
44655
44656 #undef $ac_func
44657
44658 /* Override any gcc2 internal prototype to avoid an error.  */
44659 #ifdef __cplusplus
44660 extern "C"
44661 {
44662 #endif
44663 /* We use char because int might match the return type of a gcc2
44664    builtin and then its argument prototype would still apply.  */
44665 char $ac_func ();
44666 /* The GNU C library defines this for functions which it implements
44667     to always fail with ENOSYS.  Some functions are actually named
44668     something starting with __ and the normal name is an alias.  */
44669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44670 choke me
44671 #else
44672 char (*f) () = $ac_func;
44673 #endif
44674 #ifdef __cplusplus
44675 }
44676 #endif
44677
44678 int
44679 main ()
44680 {
44681 return f != $ac_func;
44682   ;
44683   return 0;
44684 }
44685 _ACEOF
44686 rm -f conftest.$ac_objext conftest$ac_exeext
44687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44688   (eval $ac_link) 2>conftest.er1
44689   ac_status=$?
44690   grep -v '^ *+' conftest.er1 >conftest.err
44691   rm -f conftest.er1
44692   cat conftest.err >&5
44693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44694   (exit $ac_status); } &&
44695          { ac_try='test -z "$ac_c_werror_flag"
44696                          || test ! -s conftest.err'
44697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44698   (eval $ac_try) 2>&5
44699   ac_status=$?
44700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44701   (exit $ac_status); }; } &&
44702          { ac_try='test -s conftest$ac_exeext'
44703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44704   (eval $ac_try) 2>&5
44705   ac_status=$?
44706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44707   (exit $ac_status); }; }; then
44708   eval "$as_ac_var=yes"
44709 else
44710   echo "$as_me: failed program was:" >&5
44711 sed 's/^/| /' conftest.$ac_ext >&5
44712
44713 eval "$as_ac_var=no"
44714 fi
44715 rm -f conftest.err conftest.$ac_objext \
44716       conftest$ac_exeext conftest.$ac_ext
44717 fi
44718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44720 if test `eval echo '${'$as_ac_var'}'` = yes; then
44721   cat >>confdefs.h <<_ACEOF
44722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44723 _ACEOF
44724
44725 fi
44726 done
44727
44728   else
44729
44730   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
44731 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
44732   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44733     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
44734   echo $ECHO_N "(cached) $ECHO_C" >&6
44735 else
44736
44737
44738
44739       ac_ext=cc
44740 ac_cpp='$CXXCPP $CPPFLAGS'
44741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44744
44745       cat >conftest.$ac_ext <<_ACEOF
44746 /* confdefs.h.  */
44747 _ACEOF
44748 cat confdefs.h >>conftest.$ac_ext
44749 cat >>conftest.$ac_ext <<_ACEOF
44750 /* end confdefs.h.  */
44751 #include <math.h>
44752 int
44753 main ()
44754 {
44755  _ldexpl(0, 0);
44756   ;
44757   return 0;
44758 }
44759 _ACEOF
44760 rm -f conftest.$ac_objext
44761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44762   (eval $ac_compile) 2>conftest.er1
44763   ac_status=$?
44764   grep -v '^ *+' conftest.er1 >conftest.err
44765   rm -f conftest.er1
44766   cat conftest.err >&5
44767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44768   (exit $ac_status); } &&
44769          { ac_try='test -z "$ac_cxx_werror_flag"
44770                          || test ! -s conftest.err'
44771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44772   (eval $ac_try) 2>&5
44773   ac_status=$?
44774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44775   (exit $ac_status); }; } &&
44776          { ac_try='test -s conftest.$ac_objext'
44777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44778   (eval $ac_try) 2>&5
44779   ac_status=$?
44780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44781   (exit $ac_status); }; }; then
44782   glibcxx_cv_func__ldexpl_use=yes
44783 else
44784   echo "$as_me: failed program was:" >&5
44785 sed 's/^/| /' conftest.$ac_ext >&5
44786
44787 glibcxx_cv_func__ldexpl_use=no
44788 fi
44789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44790       ac_ext=c
44791 ac_cpp='$CPP $CPPFLAGS'
44792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44795
44796
44797 fi
44798
44799   fi
44800   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
44801 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
44802
44803     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44804
44805 for ac_func in _ldexpl
44806 do
44807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44808 echo "$as_me:$LINENO: checking for $ac_func" >&5
44809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44810 if eval "test \"\${$as_ac_var+set}\" = set"; then
44811   echo $ECHO_N "(cached) $ECHO_C" >&6
44812 else
44813   if test x$gcc_no_link = xyes; then
44814   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44816    { (exit 1); exit 1; }; }
44817 fi
44818 cat >conftest.$ac_ext <<_ACEOF
44819 /* confdefs.h.  */
44820 _ACEOF
44821 cat confdefs.h >>conftest.$ac_ext
44822 cat >>conftest.$ac_ext <<_ACEOF
44823 /* end confdefs.h.  */
44824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44825    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44826 #define $ac_func innocuous_$ac_func
44827
44828 /* System header to define __stub macros and hopefully few prototypes,
44829     which can conflict with char $ac_func (); below.
44830     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44831     <limits.h> exists even on freestanding compilers.  */
44832
44833 #ifdef __STDC__
44834 # include <limits.h>
44835 #else
44836 # include <assert.h>
44837 #endif
44838
44839 #undef $ac_func
44840
44841 /* Override any gcc2 internal prototype to avoid an error.  */
44842 #ifdef __cplusplus
44843 extern "C"
44844 {
44845 #endif
44846 /* We use char because int might match the return type of a gcc2
44847    builtin and then its argument prototype would still apply.  */
44848 char $ac_func ();
44849 /* The GNU C library defines this for functions which it implements
44850     to always fail with ENOSYS.  Some functions are actually named
44851     something starting with __ and the normal name is an alias.  */
44852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44853 choke me
44854 #else
44855 char (*f) () = $ac_func;
44856 #endif
44857 #ifdef __cplusplus
44858 }
44859 #endif
44860
44861 int
44862 main ()
44863 {
44864 return f != $ac_func;
44865   ;
44866   return 0;
44867 }
44868 _ACEOF
44869 rm -f conftest.$ac_objext conftest$ac_exeext
44870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44871   (eval $ac_link) 2>conftest.er1
44872   ac_status=$?
44873   grep -v '^ *+' conftest.er1 >conftest.err
44874   rm -f conftest.er1
44875   cat conftest.err >&5
44876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44877   (exit $ac_status); } &&
44878          { ac_try='test -z "$ac_c_werror_flag"
44879                          || test ! -s conftest.err'
44880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44881   (eval $ac_try) 2>&5
44882   ac_status=$?
44883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44884   (exit $ac_status); }; } &&
44885          { ac_try='test -s conftest$ac_exeext'
44886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44887   (eval $ac_try) 2>&5
44888   ac_status=$?
44889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44890   (exit $ac_status); }; }; then
44891   eval "$as_ac_var=yes"
44892 else
44893   echo "$as_me: failed program was:" >&5
44894 sed 's/^/| /' conftest.$ac_ext >&5
44895
44896 eval "$as_ac_var=no"
44897 fi
44898 rm -f conftest.err conftest.$ac_objext \
44899       conftest$ac_exeext conftest.$ac_ext
44900 fi
44901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44903 if test `eval echo '${'$as_ac_var'}'` = yes; then
44904   cat >>confdefs.h <<_ACEOF
44905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44906 _ACEOF
44907
44908 fi
44909 done
44910
44911     fi
44912   fi
44913
44914
44915
44916   echo "$as_me:$LINENO: checking for logl declaration" >&5
44917 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
44918   if test x${glibcxx_cv_func_logl_use+set} != xset; then
44919     if test "${glibcxx_cv_func_logl_use+set}" = set; then
44920   echo $ECHO_N "(cached) $ECHO_C" >&6
44921 else
44922
44923
44924
44925       ac_ext=cc
44926 ac_cpp='$CXXCPP $CPPFLAGS'
44927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44930
44931       cat >conftest.$ac_ext <<_ACEOF
44932 /* confdefs.h.  */
44933 _ACEOF
44934 cat confdefs.h >>conftest.$ac_ext
44935 cat >>conftest.$ac_ext <<_ACEOF
44936 /* end confdefs.h.  */
44937 #include <math.h>
44938                       #ifdef HAVE_IEEEFP_H
44939                       #include <ieeefp.h>
44940                       #endif
44941
44942 int
44943 main ()
44944 {
44945  logl(0);
44946   ;
44947   return 0;
44948 }
44949 _ACEOF
44950 rm -f conftest.$ac_objext
44951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44952   (eval $ac_compile) 2>conftest.er1
44953   ac_status=$?
44954   grep -v '^ *+' conftest.er1 >conftest.err
44955   rm -f conftest.er1
44956   cat conftest.err >&5
44957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44958   (exit $ac_status); } &&
44959          { ac_try='test -z "$ac_cxx_werror_flag"
44960                          || test ! -s conftest.err'
44961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44962   (eval $ac_try) 2>&5
44963   ac_status=$?
44964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44965   (exit $ac_status); }; } &&
44966          { ac_try='test -s conftest.$ac_objext'
44967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44968   (eval $ac_try) 2>&5
44969   ac_status=$?
44970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44971   (exit $ac_status); }; }; then
44972   glibcxx_cv_func_logl_use=yes
44973 else
44974   echo "$as_me: failed program was:" >&5
44975 sed 's/^/| /' conftest.$ac_ext >&5
44976
44977 glibcxx_cv_func_logl_use=no
44978 fi
44979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44980       ac_ext=c
44981 ac_cpp='$CPP $CPPFLAGS'
44982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44985
44986
44987 fi
44988
44989   fi
44990   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
44991 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
44992
44993   if test x$glibcxx_cv_func_logl_use = x"yes"; then
44994
44995 for ac_func in logl
44996 do
44997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44998 echo "$as_me:$LINENO: checking for $ac_func" >&5
44999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45000 if eval "test \"\${$as_ac_var+set}\" = set"; then
45001   echo $ECHO_N "(cached) $ECHO_C" >&6
45002 else
45003   if test x$gcc_no_link = xyes; then
45004   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45006    { (exit 1); exit 1; }; }
45007 fi
45008 cat >conftest.$ac_ext <<_ACEOF
45009 /* confdefs.h.  */
45010 _ACEOF
45011 cat confdefs.h >>conftest.$ac_ext
45012 cat >>conftest.$ac_ext <<_ACEOF
45013 /* end confdefs.h.  */
45014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45015    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45016 #define $ac_func innocuous_$ac_func
45017
45018 /* System header to define __stub macros and hopefully few prototypes,
45019     which can conflict with char $ac_func (); below.
45020     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45021     <limits.h> exists even on freestanding compilers.  */
45022
45023 #ifdef __STDC__
45024 # include <limits.h>
45025 #else
45026 # include <assert.h>
45027 #endif
45028
45029 #undef $ac_func
45030
45031 /* Override any gcc2 internal prototype to avoid an error.  */
45032 #ifdef __cplusplus
45033 extern "C"
45034 {
45035 #endif
45036 /* We use char because int might match the return type of a gcc2
45037    builtin and then its argument prototype would still apply.  */
45038 char $ac_func ();
45039 /* The GNU C library defines this for functions which it implements
45040     to always fail with ENOSYS.  Some functions are actually named
45041     something starting with __ and the normal name is an alias.  */
45042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45043 choke me
45044 #else
45045 char (*f) () = $ac_func;
45046 #endif
45047 #ifdef __cplusplus
45048 }
45049 #endif
45050
45051 int
45052 main ()
45053 {
45054 return f != $ac_func;
45055   ;
45056   return 0;
45057 }
45058 _ACEOF
45059 rm -f conftest.$ac_objext conftest$ac_exeext
45060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45061   (eval $ac_link) 2>conftest.er1
45062   ac_status=$?
45063   grep -v '^ *+' conftest.er1 >conftest.err
45064   rm -f conftest.er1
45065   cat conftest.err >&5
45066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45067   (exit $ac_status); } &&
45068          { ac_try='test -z "$ac_c_werror_flag"
45069                          || test ! -s conftest.err'
45070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45071   (eval $ac_try) 2>&5
45072   ac_status=$?
45073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45074   (exit $ac_status); }; } &&
45075          { ac_try='test -s conftest$ac_exeext'
45076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45077   (eval $ac_try) 2>&5
45078   ac_status=$?
45079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45080   (exit $ac_status); }; }; then
45081   eval "$as_ac_var=yes"
45082 else
45083   echo "$as_me: failed program was:" >&5
45084 sed 's/^/| /' conftest.$ac_ext >&5
45085
45086 eval "$as_ac_var=no"
45087 fi
45088 rm -f conftest.err conftest.$ac_objext \
45089       conftest$ac_exeext conftest.$ac_ext
45090 fi
45091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45093 if test `eval echo '${'$as_ac_var'}'` = yes; then
45094   cat >>confdefs.h <<_ACEOF
45095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45096 _ACEOF
45097
45098 fi
45099 done
45100
45101   else
45102
45103   echo "$as_me:$LINENO: checking for _logl declaration" >&5
45104 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
45105   if test x${glibcxx_cv_func__logl_use+set} != xset; then
45106     if test "${glibcxx_cv_func__logl_use+set}" = set; then
45107   echo $ECHO_N "(cached) $ECHO_C" >&6
45108 else
45109
45110
45111
45112       ac_ext=cc
45113 ac_cpp='$CXXCPP $CPPFLAGS'
45114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45117
45118       cat >conftest.$ac_ext <<_ACEOF
45119 /* confdefs.h.  */
45120 _ACEOF
45121 cat confdefs.h >>conftest.$ac_ext
45122 cat >>conftest.$ac_ext <<_ACEOF
45123 /* end confdefs.h.  */
45124 #include <math.h>
45125                       #ifdef HAVE_IEEEFP_H
45126                       #include <ieeefp.h>
45127                       #endif
45128
45129 int
45130 main ()
45131 {
45132  _logl(0);
45133   ;
45134   return 0;
45135 }
45136 _ACEOF
45137 rm -f conftest.$ac_objext
45138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45139   (eval $ac_compile) 2>conftest.er1
45140   ac_status=$?
45141   grep -v '^ *+' conftest.er1 >conftest.err
45142   rm -f conftest.er1
45143   cat conftest.err >&5
45144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45145   (exit $ac_status); } &&
45146          { ac_try='test -z "$ac_cxx_werror_flag"
45147                          || test ! -s conftest.err'
45148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45149   (eval $ac_try) 2>&5
45150   ac_status=$?
45151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45152   (exit $ac_status); }; } &&
45153          { ac_try='test -s conftest.$ac_objext'
45154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45155   (eval $ac_try) 2>&5
45156   ac_status=$?
45157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45158   (exit $ac_status); }; }; then
45159   glibcxx_cv_func__logl_use=yes
45160 else
45161   echo "$as_me: failed program was:" >&5
45162 sed 's/^/| /' conftest.$ac_ext >&5
45163
45164 glibcxx_cv_func__logl_use=no
45165 fi
45166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45167       ac_ext=c
45168 ac_cpp='$CPP $CPPFLAGS'
45169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45172
45173
45174 fi
45175
45176   fi
45177   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
45178 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
45179
45180     if test x$glibcxx_cv_func__logl_use = x"yes"; then
45181
45182 for ac_func in _logl
45183 do
45184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45185 echo "$as_me:$LINENO: checking for $ac_func" >&5
45186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45187 if eval "test \"\${$as_ac_var+set}\" = set"; then
45188   echo $ECHO_N "(cached) $ECHO_C" >&6
45189 else
45190   if test x$gcc_no_link = xyes; then
45191   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45193    { (exit 1); exit 1; }; }
45194 fi
45195 cat >conftest.$ac_ext <<_ACEOF
45196 /* confdefs.h.  */
45197 _ACEOF
45198 cat confdefs.h >>conftest.$ac_ext
45199 cat >>conftest.$ac_ext <<_ACEOF
45200 /* end confdefs.h.  */
45201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45202    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45203 #define $ac_func innocuous_$ac_func
45204
45205 /* System header to define __stub macros and hopefully few prototypes,
45206     which can conflict with char $ac_func (); below.
45207     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45208     <limits.h> exists even on freestanding compilers.  */
45209
45210 #ifdef __STDC__
45211 # include <limits.h>
45212 #else
45213 # include <assert.h>
45214 #endif
45215
45216 #undef $ac_func
45217
45218 /* Override any gcc2 internal prototype to avoid an error.  */
45219 #ifdef __cplusplus
45220 extern "C"
45221 {
45222 #endif
45223 /* We use char because int might match the return type of a gcc2
45224    builtin and then its argument prototype would still apply.  */
45225 char $ac_func ();
45226 /* The GNU C library defines this for functions which it implements
45227     to always fail with ENOSYS.  Some functions are actually named
45228     something starting with __ and the normal name is an alias.  */
45229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45230 choke me
45231 #else
45232 char (*f) () = $ac_func;
45233 #endif
45234 #ifdef __cplusplus
45235 }
45236 #endif
45237
45238 int
45239 main ()
45240 {
45241 return f != $ac_func;
45242   ;
45243   return 0;
45244 }
45245 _ACEOF
45246 rm -f conftest.$ac_objext conftest$ac_exeext
45247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45248   (eval $ac_link) 2>conftest.er1
45249   ac_status=$?
45250   grep -v '^ *+' conftest.er1 >conftest.err
45251   rm -f conftest.er1
45252   cat conftest.err >&5
45253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45254   (exit $ac_status); } &&
45255          { ac_try='test -z "$ac_c_werror_flag"
45256                          || test ! -s conftest.err'
45257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45258   (eval $ac_try) 2>&5
45259   ac_status=$?
45260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45261   (exit $ac_status); }; } &&
45262          { ac_try='test -s conftest$ac_exeext'
45263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45264   (eval $ac_try) 2>&5
45265   ac_status=$?
45266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45267   (exit $ac_status); }; }; then
45268   eval "$as_ac_var=yes"
45269 else
45270   echo "$as_me: failed program was:" >&5
45271 sed 's/^/| /' conftest.$ac_ext >&5
45272
45273 eval "$as_ac_var=no"
45274 fi
45275 rm -f conftest.err conftest.$ac_objext \
45276       conftest$ac_exeext conftest.$ac_ext
45277 fi
45278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45280 if test `eval echo '${'$as_ac_var'}'` = yes; then
45281   cat >>confdefs.h <<_ACEOF
45282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45283 _ACEOF
45284
45285 fi
45286 done
45287
45288     fi
45289   fi
45290
45291
45292
45293   echo "$as_me:$LINENO: checking for log10l declaration" >&5
45294 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
45295   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45296     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
45297   echo $ECHO_N "(cached) $ECHO_C" >&6
45298 else
45299
45300
45301
45302       ac_ext=cc
45303 ac_cpp='$CXXCPP $CPPFLAGS'
45304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45307
45308       cat >conftest.$ac_ext <<_ACEOF
45309 /* confdefs.h.  */
45310 _ACEOF
45311 cat confdefs.h >>conftest.$ac_ext
45312 cat >>conftest.$ac_ext <<_ACEOF
45313 /* end confdefs.h.  */
45314 #include <math.h>
45315                       #ifdef HAVE_IEEEFP_H
45316                       #include <ieeefp.h>
45317                       #endif
45318
45319 int
45320 main ()
45321 {
45322  log10l(0);
45323   ;
45324   return 0;
45325 }
45326 _ACEOF
45327 rm -f conftest.$ac_objext
45328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45329   (eval $ac_compile) 2>conftest.er1
45330   ac_status=$?
45331   grep -v '^ *+' conftest.er1 >conftest.err
45332   rm -f conftest.er1
45333   cat conftest.err >&5
45334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45335   (exit $ac_status); } &&
45336          { ac_try='test -z "$ac_cxx_werror_flag"
45337                          || test ! -s conftest.err'
45338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45339   (eval $ac_try) 2>&5
45340   ac_status=$?
45341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45342   (exit $ac_status); }; } &&
45343          { ac_try='test -s conftest.$ac_objext'
45344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45345   (eval $ac_try) 2>&5
45346   ac_status=$?
45347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45348   (exit $ac_status); }; }; then
45349   glibcxx_cv_func_log10l_use=yes
45350 else
45351   echo "$as_me: failed program was:" >&5
45352 sed 's/^/| /' conftest.$ac_ext >&5
45353
45354 glibcxx_cv_func_log10l_use=no
45355 fi
45356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45357       ac_ext=c
45358 ac_cpp='$CPP $CPPFLAGS'
45359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45362
45363
45364 fi
45365
45366   fi
45367   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
45368 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
45369
45370   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45371
45372 for ac_func in log10l
45373 do
45374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45375 echo "$as_me:$LINENO: checking for $ac_func" >&5
45376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45377 if eval "test \"\${$as_ac_var+set}\" = set"; then
45378   echo $ECHO_N "(cached) $ECHO_C" >&6
45379 else
45380   if test x$gcc_no_link = xyes; then
45381   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45383    { (exit 1); exit 1; }; }
45384 fi
45385 cat >conftest.$ac_ext <<_ACEOF
45386 /* confdefs.h.  */
45387 _ACEOF
45388 cat confdefs.h >>conftest.$ac_ext
45389 cat >>conftest.$ac_ext <<_ACEOF
45390 /* end confdefs.h.  */
45391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45392    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45393 #define $ac_func innocuous_$ac_func
45394
45395 /* System header to define __stub macros and hopefully few prototypes,
45396     which can conflict with char $ac_func (); below.
45397     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45398     <limits.h> exists even on freestanding compilers.  */
45399
45400 #ifdef __STDC__
45401 # include <limits.h>
45402 #else
45403 # include <assert.h>
45404 #endif
45405
45406 #undef $ac_func
45407
45408 /* Override any gcc2 internal prototype to avoid an error.  */
45409 #ifdef __cplusplus
45410 extern "C"
45411 {
45412 #endif
45413 /* We use char because int might match the return type of a gcc2
45414    builtin and then its argument prototype would still apply.  */
45415 char $ac_func ();
45416 /* The GNU C library defines this for functions which it implements
45417     to always fail with ENOSYS.  Some functions are actually named
45418     something starting with __ and the normal name is an alias.  */
45419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45420 choke me
45421 #else
45422 char (*f) () = $ac_func;
45423 #endif
45424 #ifdef __cplusplus
45425 }
45426 #endif
45427
45428 int
45429 main ()
45430 {
45431 return f != $ac_func;
45432   ;
45433   return 0;
45434 }
45435 _ACEOF
45436 rm -f conftest.$ac_objext conftest$ac_exeext
45437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45438   (eval $ac_link) 2>conftest.er1
45439   ac_status=$?
45440   grep -v '^ *+' conftest.er1 >conftest.err
45441   rm -f conftest.er1
45442   cat conftest.err >&5
45443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45444   (exit $ac_status); } &&
45445          { ac_try='test -z "$ac_c_werror_flag"
45446                          || test ! -s conftest.err'
45447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45448   (eval $ac_try) 2>&5
45449   ac_status=$?
45450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45451   (exit $ac_status); }; } &&
45452          { ac_try='test -s conftest$ac_exeext'
45453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45454   (eval $ac_try) 2>&5
45455   ac_status=$?
45456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45457   (exit $ac_status); }; }; then
45458   eval "$as_ac_var=yes"
45459 else
45460   echo "$as_me: failed program was:" >&5
45461 sed 's/^/| /' conftest.$ac_ext >&5
45462
45463 eval "$as_ac_var=no"
45464 fi
45465 rm -f conftest.err conftest.$ac_objext \
45466       conftest$ac_exeext conftest.$ac_ext
45467 fi
45468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45470 if test `eval echo '${'$as_ac_var'}'` = yes; then
45471   cat >>confdefs.h <<_ACEOF
45472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45473 _ACEOF
45474
45475 fi
45476 done
45477
45478   else
45479
45480   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
45481 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
45482   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45483     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
45484   echo $ECHO_N "(cached) $ECHO_C" >&6
45485 else
45486
45487
45488
45489       ac_ext=cc
45490 ac_cpp='$CXXCPP $CPPFLAGS'
45491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45494
45495       cat >conftest.$ac_ext <<_ACEOF
45496 /* confdefs.h.  */
45497 _ACEOF
45498 cat confdefs.h >>conftest.$ac_ext
45499 cat >>conftest.$ac_ext <<_ACEOF
45500 /* end confdefs.h.  */
45501 #include <math.h>
45502                       #ifdef HAVE_IEEEFP_H
45503                       #include <ieeefp.h>
45504                       #endif
45505
45506 int
45507 main ()
45508 {
45509  _log10l(0);
45510   ;
45511   return 0;
45512 }
45513 _ACEOF
45514 rm -f conftest.$ac_objext
45515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45516   (eval $ac_compile) 2>conftest.er1
45517   ac_status=$?
45518   grep -v '^ *+' conftest.er1 >conftest.err
45519   rm -f conftest.er1
45520   cat conftest.err >&5
45521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45522   (exit $ac_status); } &&
45523          { ac_try='test -z "$ac_cxx_werror_flag"
45524                          || test ! -s conftest.err'
45525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45526   (eval $ac_try) 2>&5
45527   ac_status=$?
45528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45529   (exit $ac_status); }; } &&
45530          { ac_try='test -s conftest.$ac_objext'
45531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45532   (eval $ac_try) 2>&5
45533   ac_status=$?
45534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45535   (exit $ac_status); }; }; then
45536   glibcxx_cv_func__log10l_use=yes
45537 else
45538   echo "$as_me: failed program was:" >&5
45539 sed 's/^/| /' conftest.$ac_ext >&5
45540
45541 glibcxx_cv_func__log10l_use=no
45542 fi
45543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45544       ac_ext=c
45545 ac_cpp='$CPP $CPPFLAGS'
45546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45549
45550
45551 fi
45552
45553   fi
45554   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
45555 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
45556
45557     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45558
45559 for ac_func in _log10l
45560 do
45561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45562 echo "$as_me:$LINENO: checking for $ac_func" >&5
45563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45564 if eval "test \"\${$as_ac_var+set}\" = set"; then
45565   echo $ECHO_N "(cached) $ECHO_C" >&6
45566 else
45567   if test x$gcc_no_link = xyes; then
45568   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45570    { (exit 1); exit 1; }; }
45571 fi
45572 cat >conftest.$ac_ext <<_ACEOF
45573 /* confdefs.h.  */
45574 _ACEOF
45575 cat confdefs.h >>conftest.$ac_ext
45576 cat >>conftest.$ac_ext <<_ACEOF
45577 /* end confdefs.h.  */
45578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45579    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45580 #define $ac_func innocuous_$ac_func
45581
45582 /* System header to define __stub macros and hopefully few prototypes,
45583     which can conflict with char $ac_func (); below.
45584     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45585     <limits.h> exists even on freestanding compilers.  */
45586
45587 #ifdef __STDC__
45588 # include <limits.h>
45589 #else
45590 # include <assert.h>
45591 #endif
45592
45593 #undef $ac_func
45594
45595 /* Override any gcc2 internal prototype to avoid an error.  */
45596 #ifdef __cplusplus
45597 extern "C"
45598 {
45599 #endif
45600 /* We use char because int might match the return type of a gcc2
45601    builtin and then its argument prototype would still apply.  */
45602 char $ac_func ();
45603 /* The GNU C library defines this for functions which it implements
45604     to always fail with ENOSYS.  Some functions are actually named
45605     something starting with __ and the normal name is an alias.  */
45606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45607 choke me
45608 #else
45609 char (*f) () = $ac_func;
45610 #endif
45611 #ifdef __cplusplus
45612 }
45613 #endif
45614
45615 int
45616 main ()
45617 {
45618 return f != $ac_func;
45619   ;
45620   return 0;
45621 }
45622 _ACEOF
45623 rm -f conftest.$ac_objext conftest$ac_exeext
45624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45625   (eval $ac_link) 2>conftest.er1
45626   ac_status=$?
45627   grep -v '^ *+' conftest.er1 >conftest.err
45628   rm -f conftest.er1
45629   cat conftest.err >&5
45630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45631   (exit $ac_status); } &&
45632          { ac_try='test -z "$ac_c_werror_flag"
45633                          || test ! -s conftest.err'
45634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45635   (eval $ac_try) 2>&5
45636   ac_status=$?
45637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45638   (exit $ac_status); }; } &&
45639          { ac_try='test -s conftest$ac_exeext'
45640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45641   (eval $ac_try) 2>&5
45642   ac_status=$?
45643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45644   (exit $ac_status); }; }; then
45645   eval "$as_ac_var=yes"
45646 else
45647   echo "$as_me: failed program was:" >&5
45648 sed 's/^/| /' conftest.$ac_ext >&5
45649
45650 eval "$as_ac_var=no"
45651 fi
45652 rm -f conftest.err conftest.$ac_objext \
45653       conftest$ac_exeext conftest.$ac_ext
45654 fi
45655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45657 if test `eval echo '${'$as_ac_var'}'` = yes; then
45658   cat >>confdefs.h <<_ACEOF
45659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45660 _ACEOF
45661
45662 fi
45663 done
45664
45665     fi
45666   fi
45667
45668
45669
45670   echo "$as_me:$LINENO: checking for modfl declaration" >&5
45671 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
45672   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45673     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
45674   echo $ECHO_N "(cached) $ECHO_C" >&6
45675 else
45676
45677
45678
45679       ac_ext=cc
45680 ac_cpp='$CXXCPP $CPPFLAGS'
45681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45684
45685       cat >conftest.$ac_ext <<_ACEOF
45686 /* confdefs.h.  */
45687 _ACEOF
45688 cat confdefs.h >>conftest.$ac_ext
45689 cat >>conftest.$ac_ext <<_ACEOF
45690 /* end confdefs.h.  */
45691 #include <math.h>
45692 int
45693 main ()
45694 {
45695  modfl(0, 0);
45696   ;
45697   return 0;
45698 }
45699 _ACEOF
45700 rm -f conftest.$ac_objext
45701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45702   (eval $ac_compile) 2>conftest.er1
45703   ac_status=$?
45704   grep -v '^ *+' conftest.er1 >conftest.err
45705   rm -f conftest.er1
45706   cat conftest.err >&5
45707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45708   (exit $ac_status); } &&
45709          { ac_try='test -z "$ac_cxx_werror_flag"
45710                          || test ! -s conftest.err'
45711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45712   (eval $ac_try) 2>&5
45713   ac_status=$?
45714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45715   (exit $ac_status); }; } &&
45716          { ac_try='test -s conftest.$ac_objext'
45717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45718   (eval $ac_try) 2>&5
45719   ac_status=$?
45720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45721   (exit $ac_status); }; }; then
45722   glibcxx_cv_func_modfl_use=yes
45723 else
45724   echo "$as_me: failed program was:" >&5
45725 sed 's/^/| /' conftest.$ac_ext >&5
45726
45727 glibcxx_cv_func_modfl_use=no
45728 fi
45729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45730       ac_ext=c
45731 ac_cpp='$CPP $CPPFLAGS'
45732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45735
45736
45737 fi
45738
45739   fi
45740   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
45741 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
45742
45743   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45744
45745 for ac_func in modfl
45746 do
45747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45748 echo "$as_me:$LINENO: checking for $ac_func" >&5
45749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45750 if eval "test \"\${$as_ac_var+set}\" = set"; then
45751   echo $ECHO_N "(cached) $ECHO_C" >&6
45752 else
45753   if test x$gcc_no_link = xyes; then
45754   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45756    { (exit 1); exit 1; }; }
45757 fi
45758 cat >conftest.$ac_ext <<_ACEOF
45759 /* confdefs.h.  */
45760 _ACEOF
45761 cat confdefs.h >>conftest.$ac_ext
45762 cat >>conftest.$ac_ext <<_ACEOF
45763 /* end confdefs.h.  */
45764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45765    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45766 #define $ac_func innocuous_$ac_func
45767
45768 /* System header to define __stub macros and hopefully few prototypes,
45769     which can conflict with char $ac_func (); below.
45770     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45771     <limits.h> exists even on freestanding compilers.  */
45772
45773 #ifdef __STDC__
45774 # include <limits.h>
45775 #else
45776 # include <assert.h>
45777 #endif
45778
45779 #undef $ac_func
45780
45781 /* Override any gcc2 internal prototype to avoid an error.  */
45782 #ifdef __cplusplus
45783 extern "C"
45784 {
45785 #endif
45786 /* We use char because int might match the return type of a gcc2
45787    builtin and then its argument prototype would still apply.  */
45788 char $ac_func ();
45789 /* The GNU C library defines this for functions which it implements
45790     to always fail with ENOSYS.  Some functions are actually named
45791     something starting with __ and the normal name is an alias.  */
45792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45793 choke me
45794 #else
45795 char (*f) () = $ac_func;
45796 #endif
45797 #ifdef __cplusplus
45798 }
45799 #endif
45800
45801 int
45802 main ()
45803 {
45804 return f != $ac_func;
45805   ;
45806   return 0;
45807 }
45808 _ACEOF
45809 rm -f conftest.$ac_objext conftest$ac_exeext
45810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45811   (eval $ac_link) 2>conftest.er1
45812   ac_status=$?
45813   grep -v '^ *+' conftest.er1 >conftest.err
45814   rm -f conftest.er1
45815   cat conftest.err >&5
45816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45817   (exit $ac_status); } &&
45818          { ac_try='test -z "$ac_c_werror_flag"
45819                          || test ! -s conftest.err'
45820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45821   (eval $ac_try) 2>&5
45822   ac_status=$?
45823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45824   (exit $ac_status); }; } &&
45825          { ac_try='test -s conftest$ac_exeext'
45826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45827   (eval $ac_try) 2>&5
45828   ac_status=$?
45829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45830   (exit $ac_status); }; }; then
45831   eval "$as_ac_var=yes"
45832 else
45833   echo "$as_me: failed program was:" >&5
45834 sed 's/^/| /' conftest.$ac_ext >&5
45835
45836 eval "$as_ac_var=no"
45837 fi
45838 rm -f conftest.err conftest.$ac_objext \
45839       conftest$ac_exeext conftest.$ac_ext
45840 fi
45841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45843 if test `eval echo '${'$as_ac_var'}'` = yes; then
45844   cat >>confdefs.h <<_ACEOF
45845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45846 _ACEOF
45847
45848 fi
45849 done
45850
45851   else
45852
45853   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
45854 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
45855   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45856     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
45857   echo $ECHO_N "(cached) $ECHO_C" >&6
45858 else
45859
45860
45861
45862       ac_ext=cc
45863 ac_cpp='$CXXCPP $CPPFLAGS'
45864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45867
45868       cat >conftest.$ac_ext <<_ACEOF
45869 /* confdefs.h.  */
45870 _ACEOF
45871 cat confdefs.h >>conftest.$ac_ext
45872 cat >>conftest.$ac_ext <<_ACEOF
45873 /* end confdefs.h.  */
45874 #include <math.h>
45875 int
45876 main ()
45877 {
45878  _modfl(0, 0);
45879   ;
45880   return 0;
45881 }
45882 _ACEOF
45883 rm -f conftest.$ac_objext
45884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45885   (eval $ac_compile) 2>conftest.er1
45886   ac_status=$?
45887   grep -v '^ *+' conftest.er1 >conftest.err
45888   rm -f conftest.er1
45889   cat conftest.err >&5
45890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45891   (exit $ac_status); } &&
45892          { ac_try='test -z "$ac_cxx_werror_flag"
45893                          || test ! -s conftest.err'
45894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45895   (eval $ac_try) 2>&5
45896   ac_status=$?
45897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45898   (exit $ac_status); }; } &&
45899          { ac_try='test -s conftest.$ac_objext'
45900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45901   (eval $ac_try) 2>&5
45902   ac_status=$?
45903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45904   (exit $ac_status); }; }; then
45905   glibcxx_cv_func__modfl_use=yes
45906 else
45907   echo "$as_me: failed program was:" >&5
45908 sed 's/^/| /' conftest.$ac_ext >&5
45909
45910 glibcxx_cv_func__modfl_use=no
45911 fi
45912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45913       ac_ext=c
45914 ac_cpp='$CPP $CPPFLAGS'
45915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45918
45919
45920 fi
45921
45922   fi
45923   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
45924 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
45925
45926     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45927
45928 for ac_func in _modfl
45929 do
45930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45931 echo "$as_me:$LINENO: checking for $ac_func" >&5
45932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45933 if eval "test \"\${$as_ac_var+set}\" = set"; then
45934   echo $ECHO_N "(cached) $ECHO_C" >&6
45935 else
45936   if test x$gcc_no_link = xyes; then
45937   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45939    { (exit 1); exit 1; }; }
45940 fi
45941 cat >conftest.$ac_ext <<_ACEOF
45942 /* confdefs.h.  */
45943 _ACEOF
45944 cat confdefs.h >>conftest.$ac_ext
45945 cat >>conftest.$ac_ext <<_ACEOF
45946 /* end confdefs.h.  */
45947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45948    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45949 #define $ac_func innocuous_$ac_func
45950
45951 /* System header to define __stub macros and hopefully few prototypes,
45952     which can conflict with char $ac_func (); below.
45953     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45954     <limits.h> exists even on freestanding compilers.  */
45955
45956 #ifdef __STDC__
45957 # include <limits.h>
45958 #else
45959 # include <assert.h>
45960 #endif
45961
45962 #undef $ac_func
45963
45964 /* Override any gcc2 internal prototype to avoid an error.  */
45965 #ifdef __cplusplus
45966 extern "C"
45967 {
45968 #endif
45969 /* We use char because int might match the return type of a gcc2
45970    builtin and then its argument prototype would still apply.  */
45971 char $ac_func ();
45972 /* The GNU C library defines this for functions which it implements
45973     to always fail with ENOSYS.  Some functions are actually named
45974     something starting with __ and the normal name is an alias.  */
45975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45976 choke me
45977 #else
45978 char (*f) () = $ac_func;
45979 #endif
45980 #ifdef __cplusplus
45981 }
45982 #endif
45983
45984 int
45985 main ()
45986 {
45987 return f != $ac_func;
45988   ;
45989   return 0;
45990 }
45991 _ACEOF
45992 rm -f conftest.$ac_objext conftest$ac_exeext
45993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45994   (eval $ac_link) 2>conftest.er1
45995   ac_status=$?
45996   grep -v '^ *+' conftest.er1 >conftest.err
45997   rm -f conftest.er1
45998   cat conftest.err >&5
45999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46000   (exit $ac_status); } &&
46001          { ac_try='test -z "$ac_c_werror_flag"
46002                          || test ! -s conftest.err'
46003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46004   (eval $ac_try) 2>&5
46005   ac_status=$?
46006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46007   (exit $ac_status); }; } &&
46008          { ac_try='test -s conftest$ac_exeext'
46009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46010   (eval $ac_try) 2>&5
46011   ac_status=$?
46012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46013   (exit $ac_status); }; }; then
46014   eval "$as_ac_var=yes"
46015 else
46016   echo "$as_me: failed program was:" >&5
46017 sed 's/^/| /' conftest.$ac_ext >&5
46018
46019 eval "$as_ac_var=no"
46020 fi
46021 rm -f conftest.err conftest.$ac_objext \
46022       conftest$ac_exeext conftest.$ac_ext
46023 fi
46024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46026 if test `eval echo '${'$as_ac_var'}'` = yes; then
46027   cat >>confdefs.h <<_ACEOF
46028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46029 _ACEOF
46030
46031 fi
46032 done
46033
46034     fi
46035   fi
46036
46037
46038
46039   echo "$as_me:$LINENO: checking for powl declaration" >&5
46040 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
46041   if test x${glibcxx_cv_func_powl_use+set} != xset; then
46042     if test "${glibcxx_cv_func_powl_use+set}" = set; then
46043   echo $ECHO_N "(cached) $ECHO_C" >&6
46044 else
46045
46046
46047
46048       ac_ext=cc
46049 ac_cpp='$CXXCPP $CPPFLAGS'
46050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46053
46054       cat >conftest.$ac_ext <<_ACEOF
46055 /* confdefs.h.  */
46056 _ACEOF
46057 cat confdefs.h >>conftest.$ac_ext
46058 cat >>conftest.$ac_ext <<_ACEOF
46059 /* end confdefs.h.  */
46060 #include <math.h>
46061 int
46062 main ()
46063 {
46064  powl(0, 0);
46065   ;
46066   return 0;
46067 }
46068 _ACEOF
46069 rm -f conftest.$ac_objext
46070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46071   (eval $ac_compile) 2>conftest.er1
46072   ac_status=$?
46073   grep -v '^ *+' conftest.er1 >conftest.err
46074   rm -f conftest.er1
46075   cat conftest.err >&5
46076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46077   (exit $ac_status); } &&
46078          { ac_try='test -z "$ac_cxx_werror_flag"
46079                          || test ! -s conftest.err'
46080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46081   (eval $ac_try) 2>&5
46082   ac_status=$?
46083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46084   (exit $ac_status); }; } &&
46085          { ac_try='test -s conftest.$ac_objext'
46086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46087   (eval $ac_try) 2>&5
46088   ac_status=$?
46089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46090   (exit $ac_status); }; }; then
46091   glibcxx_cv_func_powl_use=yes
46092 else
46093   echo "$as_me: failed program was:" >&5
46094 sed 's/^/| /' conftest.$ac_ext >&5
46095
46096 glibcxx_cv_func_powl_use=no
46097 fi
46098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46099       ac_ext=c
46100 ac_cpp='$CPP $CPPFLAGS'
46101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46104
46105
46106 fi
46107
46108   fi
46109   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
46110 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
46111
46112   if test x$glibcxx_cv_func_powl_use = x"yes"; then
46113
46114 for ac_func in powl
46115 do
46116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46117 echo "$as_me:$LINENO: checking for $ac_func" >&5
46118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46119 if eval "test \"\${$as_ac_var+set}\" = set"; then
46120   echo $ECHO_N "(cached) $ECHO_C" >&6
46121 else
46122   if test x$gcc_no_link = xyes; then
46123   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46125    { (exit 1); exit 1; }; }
46126 fi
46127 cat >conftest.$ac_ext <<_ACEOF
46128 /* confdefs.h.  */
46129 _ACEOF
46130 cat confdefs.h >>conftest.$ac_ext
46131 cat >>conftest.$ac_ext <<_ACEOF
46132 /* end confdefs.h.  */
46133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46134    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46135 #define $ac_func innocuous_$ac_func
46136
46137 /* System header to define __stub macros and hopefully few prototypes,
46138     which can conflict with char $ac_func (); below.
46139     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46140     <limits.h> exists even on freestanding compilers.  */
46141
46142 #ifdef __STDC__
46143 # include <limits.h>
46144 #else
46145 # include <assert.h>
46146 #endif
46147
46148 #undef $ac_func
46149
46150 /* Override any gcc2 internal prototype to avoid an error.  */
46151 #ifdef __cplusplus
46152 extern "C"
46153 {
46154 #endif
46155 /* We use char because int might match the return type of a gcc2
46156    builtin and then its argument prototype would still apply.  */
46157 char $ac_func ();
46158 /* The GNU C library defines this for functions which it implements
46159     to always fail with ENOSYS.  Some functions are actually named
46160     something starting with __ and the normal name is an alias.  */
46161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46162 choke me
46163 #else
46164 char (*f) () = $ac_func;
46165 #endif
46166 #ifdef __cplusplus
46167 }
46168 #endif
46169
46170 int
46171 main ()
46172 {
46173 return f != $ac_func;
46174   ;
46175   return 0;
46176 }
46177 _ACEOF
46178 rm -f conftest.$ac_objext conftest$ac_exeext
46179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46180   (eval $ac_link) 2>conftest.er1
46181   ac_status=$?
46182   grep -v '^ *+' conftest.er1 >conftest.err
46183   rm -f conftest.er1
46184   cat conftest.err >&5
46185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46186   (exit $ac_status); } &&
46187          { ac_try='test -z "$ac_c_werror_flag"
46188                          || test ! -s conftest.err'
46189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46190   (eval $ac_try) 2>&5
46191   ac_status=$?
46192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46193   (exit $ac_status); }; } &&
46194          { ac_try='test -s conftest$ac_exeext'
46195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46196   (eval $ac_try) 2>&5
46197   ac_status=$?
46198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46199   (exit $ac_status); }; }; then
46200   eval "$as_ac_var=yes"
46201 else
46202   echo "$as_me: failed program was:" >&5
46203 sed 's/^/| /' conftest.$ac_ext >&5
46204
46205 eval "$as_ac_var=no"
46206 fi
46207 rm -f conftest.err conftest.$ac_objext \
46208       conftest$ac_exeext conftest.$ac_ext
46209 fi
46210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46212 if test `eval echo '${'$as_ac_var'}'` = yes; then
46213   cat >>confdefs.h <<_ACEOF
46214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46215 _ACEOF
46216
46217 fi
46218 done
46219
46220   else
46221
46222   echo "$as_me:$LINENO: checking for _powl declaration" >&5
46223 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
46224   if test x${glibcxx_cv_func__powl_use+set} != xset; then
46225     if test "${glibcxx_cv_func__powl_use+set}" = set; then
46226   echo $ECHO_N "(cached) $ECHO_C" >&6
46227 else
46228
46229
46230
46231       ac_ext=cc
46232 ac_cpp='$CXXCPP $CPPFLAGS'
46233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46236
46237       cat >conftest.$ac_ext <<_ACEOF
46238 /* confdefs.h.  */
46239 _ACEOF
46240 cat confdefs.h >>conftest.$ac_ext
46241 cat >>conftest.$ac_ext <<_ACEOF
46242 /* end confdefs.h.  */
46243 #include <math.h>
46244 int
46245 main ()
46246 {
46247  _powl(0, 0);
46248   ;
46249   return 0;
46250 }
46251 _ACEOF
46252 rm -f conftest.$ac_objext
46253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46254   (eval $ac_compile) 2>conftest.er1
46255   ac_status=$?
46256   grep -v '^ *+' conftest.er1 >conftest.err
46257   rm -f conftest.er1
46258   cat conftest.err >&5
46259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46260   (exit $ac_status); } &&
46261          { ac_try='test -z "$ac_cxx_werror_flag"
46262                          || test ! -s conftest.err'
46263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46264   (eval $ac_try) 2>&5
46265   ac_status=$?
46266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46267   (exit $ac_status); }; } &&
46268          { ac_try='test -s conftest.$ac_objext'
46269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46270   (eval $ac_try) 2>&5
46271   ac_status=$?
46272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46273   (exit $ac_status); }; }; then
46274   glibcxx_cv_func__powl_use=yes
46275 else
46276   echo "$as_me: failed program was:" >&5
46277 sed 's/^/| /' conftest.$ac_ext >&5
46278
46279 glibcxx_cv_func__powl_use=no
46280 fi
46281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46282       ac_ext=c
46283 ac_cpp='$CPP $CPPFLAGS'
46284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46287
46288
46289 fi
46290
46291   fi
46292   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
46293 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
46294
46295     if test x$glibcxx_cv_func__powl_use = x"yes"; then
46296
46297 for ac_func in _powl
46298 do
46299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46300 echo "$as_me:$LINENO: checking for $ac_func" >&5
46301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46302 if eval "test \"\${$as_ac_var+set}\" = set"; then
46303   echo $ECHO_N "(cached) $ECHO_C" >&6
46304 else
46305   if test x$gcc_no_link = xyes; then
46306   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46308    { (exit 1); exit 1; }; }
46309 fi
46310 cat >conftest.$ac_ext <<_ACEOF
46311 /* confdefs.h.  */
46312 _ACEOF
46313 cat confdefs.h >>conftest.$ac_ext
46314 cat >>conftest.$ac_ext <<_ACEOF
46315 /* end confdefs.h.  */
46316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46317    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46318 #define $ac_func innocuous_$ac_func
46319
46320 /* System header to define __stub macros and hopefully few prototypes,
46321     which can conflict with char $ac_func (); below.
46322     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46323     <limits.h> exists even on freestanding compilers.  */
46324
46325 #ifdef __STDC__
46326 # include <limits.h>
46327 #else
46328 # include <assert.h>
46329 #endif
46330
46331 #undef $ac_func
46332
46333 /* Override any gcc2 internal prototype to avoid an error.  */
46334 #ifdef __cplusplus
46335 extern "C"
46336 {
46337 #endif
46338 /* We use char because int might match the return type of a gcc2
46339    builtin and then its argument prototype would still apply.  */
46340 char $ac_func ();
46341 /* The GNU C library defines this for functions which it implements
46342     to always fail with ENOSYS.  Some functions are actually named
46343     something starting with __ and the normal name is an alias.  */
46344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46345 choke me
46346 #else
46347 char (*f) () = $ac_func;
46348 #endif
46349 #ifdef __cplusplus
46350 }
46351 #endif
46352
46353 int
46354 main ()
46355 {
46356 return f != $ac_func;
46357   ;
46358   return 0;
46359 }
46360 _ACEOF
46361 rm -f conftest.$ac_objext conftest$ac_exeext
46362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46363   (eval $ac_link) 2>conftest.er1
46364   ac_status=$?
46365   grep -v '^ *+' conftest.er1 >conftest.err
46366   rm -f conftest.er1
46367   cat conftest.err >&5
46368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46369   (exit $ac_status); } &&
46370          { ac_try='test -z "$ac_c_werror_flag"
46371                          || test ! -s conftest.err'
46372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46373   (eval $ac_try) 2>&5
46374   ac_status=$?
46375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46376   (exit $ac_status); }; } &&
46377          { ac_try='test -s conftest$ac_exeext'
46378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46379   (eval $ac_try) 2>&5
46380   ac_status=$?
46381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46382   (exit $ac_status); }; }; then
46383   eval "$as_ac_var=yes"
46384 else
46385   echo "$as_me: failed program was:" >&5
46386 sed 's/^/| /' conftest.$ac_ext >&5
46387
46388 eval "$as_ac_var=no"
46389 fi
46390 rm -f conftest.err conftest.$ac_objext \
46391       conftest$ac_exeext conftest.$ac_ext
46392 fi
46393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46395 if test `eval echo '${'$as_ac_var'}'` = yes; then
46396   cat >>confdefs.h <<_ACEOF
46397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46398 _ACEOF
46399
46400 fi
46401 done
46402
46403     fi
46404   fi
46405
46406
46407
46408   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
46409 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
46410   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46411     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
46412   echo $ECHO_N "(cached) $ECHO_C" >&6
46413 else
46414
46415
46416
46417       ac_ext=cc
46418 ac_cpp='$CXXCPP $CPPFLAGS'
46419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46422
46423       cat >conftest.$ac_ext <<_ACEOF
46424 /* confdefs.h.  */
46425 _ACEOF
46426 cat confdefs.h >>conftest.$ac_ext
46427 cat >>conftest.$ac_ext <<_ACEOF
46428 /* end confdefs.h.  */
46429 #include <math.h>
46430                       #ifdef HAVE_IEEEFP_H
46431                       #include <ieeefp.h>
46432                       #endif
46433
46434 int
46435 main ()
46436 {
46437  sqrtl(0);
46438   ;
46439   return 0;
46440 }
46441 _ACEOF
46442 rm -f conftest.$ac_objext
46443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46444   (eval $ac_compile) 2>conftest.er1
46445   ac_status=$?
46446   grep -v '^ *+' conftest.er1 >conftest.err
46447   rm -f conftest.er1
46448   cat conftest.err >&5
46449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46450   (exit $ac_status); } &&
46451          { ac_try='test -z "$ac_cxx_werror_flag"
46452                          || test ! -s conftest.err'
46453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46454   (eval $ac_try) 2>&5
46455   ac_status=$?
46456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46457   (exit $ac_status); }; } &&
46458          { ac_try='test -s conftest.$ac_objext'
46459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46460   (eval $ac_try) 2>&5
46461   ac_status=$?
46462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46463   (exit $ac_status); }; }; then
46464   glibcxx_cv_func_sqrtl_use=yes
46465 else
46466   echo "$as_me: failed program was:" >&5
46467 sed 's/^/| /' conftest.$ac_ext >&5
46468
46469 glibcxx_cv_func_sqrtl_use=no
46470 fi
46471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46472       ac_ext=c
46473 ac_cpp='$CPP $CPPFLAGS'
46474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46477
46478
46479 fi
46480
46481   fi
46482   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
46483 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
46484
46485   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46486
46487 for ac_func in sqrtl
46488 do
46489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46490 echo "$as_me:$LINENO: checking for $ac_func" >&5
46491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46492 if eval "test \"\${$as_ac_var+set}\" = set"; then
46493   echo $ECHO_N "(cached) $ECHO_C" >&6
46494 else
46495   if test x$gcc_no_link = xyes; then
46496   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46498    { (exit 1); exit 1; }; }
46499 fi
46500 cat >conftest.$ac_ext <<_ACEOF
46501 /* confdefs.h.  */
46502 _ACEOF
46503 cat confdefs.h >>conftest.$ac_ext
46504 cat >>conftest.$ac_ext <<_ACEOF
46505 /* end confdefs.h.  */
46506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46507    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46508 #define $ac_func innocuous_$ac_func
46509
46510 /* System header to define __stub macros and hopefully few prototypes,
46511     which can conflict with char $ac_func (); below.
46512     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46513     <limits.h> exists even on freestanding compilers.  */
46514
46515 #ifdef __STDC__
46516 # include <limits.h>
46517 #else
46518 # include <assert.h>
46519 #endif
46520
46521 #undef $ac_func
46522
46523 /* Override any gcc2 internal prototype to avoid an error.  */
46524 #ifdef __cplusplus
46525 extern "C"
46526 {
46527 #endif
46528 /* We use char because int might match the return type of a gcc2
46529    builtin and then its argument prototype would still apply.  */
46530 char $ac_func ();
46531 /* The GNU C library defines this for functions which it implements
46532     to always fail with ENOSYS.  Some functions are actually named
46533     something starting with __ and the normal name is an alias.  */
46534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46535 choke me
46536 #else
46537 char (*f) () = $ac_func;
46538 #endif
46539 #ifdef __cplusplus
46540 }
46541 #endif
46542
46543 int
46544 main ()
46545 {
46546 return f != $ac_func;
46547   ;
46548   return 0;
46549 }
46550 _ACEOF
46551 rm -f conftest.$ac_objext conftest$ac_exeext
46552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46553   (eval $ac_link) 2>conftest.er1
46554   ac_status=$?
46555   grep -v '^ *+' conftest.er1 >conftest.err
46556   rm -f conftest.er1
46557   cat conftest.err >&5
46558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46559   (exit $ac_status); } &&
46560          { ac_try='test -z "$ac_c_werror_flag"
46561                          || test ! -s conftest.err'
46562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46563   (eval $ac_try) 2>&5
46564   ac_status=$?
46565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46566   (exit $ac_status); }; } &&
46567          { ac_try='test -s conftest$ac_exeext'
46568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46569   (eval $ac_try) 2>&5
46570   ac_status=$?
46571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46572   (exit $ac_status); }; }; then
46573   eval "$as_ac_var=yes"
46574 else
46575   echo "$as_me: failed program was:" >&5
46576 sed 's/^/| /' conftest.$ac_ext >&5
46577
46578 eval "$as_ac_var=no"
46579 fi
46580 rm -f conftest.err conftest.$ac_objext \
46581       conftest$ac_exeext conftest.$ac_ext
46582 fi
46583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46585 if test `eval echo '${'$as_ac_var'}'` = yes; then
46586   cat >>confdefs.h <<_ACEOF
46587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46588 _ACEOF
46589
46590 fi
46591 done
46592
46593   else
46594
46595   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
46596 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
46597   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46598     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
46599   echo $ECHO_N "(cached) $ECHO_C" >&6
46600 else
46601
46602
46603
46604       ac_ext=cc
46605 ac_cpp='$CXXCPP $CPPFLAGS'
46606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46609
46610       cat >conftest.$ac_ext <<_ACEOF
46611 /* confdefs.h.  */
46612 _ACEOF
46613 cat confdefs.h >>conftest.$ac_ext
46614 cat >>conftest.$ac_ext <<_ACEOF
46615 /* end confdefs.h.  */
46616 #include <math.h>
46617                       #ifdef HAVE_IEEEFP_H
46618                       #include <ieeefp.h>
46619                       #endif
46620
46621 int
46622 main ()
46623 {
46624  _sqrtl(0);
46625   ;
46626   return 0;
46627 }
46628 _ACEOF
46629 rm -f conftest.$ac_objext
46630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46631   (eval $ac_compile) 2>conftest.er1
46632   ac_status=$?
46633   grep -v '^ *+' conftest.er1 >conftest.err
46634   rm -f conftest.er1
46635   cat conftest.err >&5
46636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46637   (exit $ac_status); } &&
46638          { ac_try='test -z "$ac_cxx_werror_flag"
46639                          || test ! -s conftest.err'
46640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46641   (eval $ac_try) 2>&5
46642   ac_status=$?
46643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46644   (exit $ac_status); }; } &&
46645          { ac_try='test -s conftest.$ac_objext'
46646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46647   (eval $ac_try) 2>&5
46648   ac_status=$?
46649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46650   (exit $ac_status); }; }; then
46651   glibcxx_cv_func__sqrtl_use=yes
46652 else
46653   echo "$as_me: failed program was:" >&5
46654 sed 's/^/| /' conftest.$ac_ext >&5
46655
46656 glibcxx_cv_func__sqrtl_use=no
46657 fi
46658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46659       ac_ext=c
46660 ac_cpp='$CPP $CPPFLAGS'
46661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46664
46665
46666 fi
46667
46668   fi
46669   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
46670 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
46671
46672     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46673
46674 for ac_func in _sqrtl
46675 do
46676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46677 echo "$as_me:$LINENO: checking for $ac_func" >&5
46678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46679 if eval "test \"\${$as_ac_var+set}\" = set"; then
46680   echo $ECHO_N "(cached) $ECHO_C" >&6
46681 else
46682   if test x$gcc_no_link = xyes; then
46683   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46685    { (exit 1); exit 1; }; }
46686 fi
46687 cat >conftest.$ac_ext <<_ACEOF
46688 /* confdefs.h.  */
46689 _ACEOF
46690 cat confdefs.h >>conftest.$ac_ext
46691 cat >>conftest.$ac_ext <<_ACEOF
46692 /* end confdefs.h.  */
46693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46694    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46695 #define $ac_func innocuous_$ac_func
46696
46697 /* System header to define __stub macros and hopefully few prototypes,
46698     which can conflict with char $ac_func (); below.
46699     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46700     <limits.h> exists even on freestanding compilers.  */
46701
46702 #ifdef __STDC__
46703 # include <limits.h>
46704 #else
46705 # include <assert.h>
46706 #endif
46707
46708 #undef $ac_func
46709
46710 /* Override any gcc2 internal prototype to avoid an error.  */
46711 #ifdef __cplusplus
46712 extern "C"
46713 {
46714 #endif
46715 /* We use char because int might match the return type of a gcc2
46716    builtin and then its argument prototype would still apply.  */
46717 char $ac_func ();
46718 /* The GNU C library defines this for functions which it implements
46719     to always fail with ENOSYS.  Some functions are actually named
46720     something starting with __ and the normal name is an alias.  */
46721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46722 choke me
46723 #else
46724 char (*f) () = $ac_func;
46725 #endif
46726 #ifdef __cplusplus
46727 }
46728 #endif
46729
46730 int
46731 main ()
46732 {
46733 return f != $ac_func;
46734   ;
46735   return 0;
46736 }
46737 _ACEOF
46738 rm -f conftest.$ac_objext conftest$ac_exeext
46739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46740   (eval $ac_link) 2>conftest.er1
46741   ac_status=$?
46742   grep -v '^ *+' conftest.er1 >conftest.err
46743   rm -f conftest.er1
46744   cat conftest.err >&5
46745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46746   (exit $ac_status); } &&
46747          { ac_try='test -z "$ac_c_werror_flag"
46748                          || test ! -s conftest.err'
46749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46750   (eval $ac_try) 2>&5
46751   ac_status=$?
46752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46753   (exit $ac_status); }; } &&
46754          { ac_try='test -s conftest$ac_exeext'
46755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46756   (eval $ac_try) 2>&5
46757   ac_status=$?
46758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46759   (exit $ac_status); }; }; then
46760   eval "$as_ac_var=yes"
46761 else
46762   echo "$as_me: failed program was:" >&5
46763 sed 's/^/| /' conftest.$ac_ext >&5
46764
46765 eval "$as_ac_var=no"
46766 fi
46767 rm -f conftest.err conftest.$ac_objext \
46768       conftest$ac_exeext conftest.$ac_ext
46769 fi
46770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46772 if test `eval echo '${'$as_ac_var'}'` = yes; then
46773   cat >>confdefs.h <<_ACEOF
46774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46775 _ACEOF
46776
46777 fi
46778 done
46779
46780     fi
46781   fi
46782
46783
46784
46785   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
46786 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
46787   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46788     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
46789   echo $ECHO_N "(cached) $ECHO_C" >&6
46790 else
46791
46792
46793
46794       ac_ext=cc
46795 ac_cpp='$CXXCPP $CPPFLAGS'
46796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46799
46800       cat >conftest.$ac_ext <<_ACEOF
46801 /* confdefs.h.  */
46802 _ACEOF
46803 cat confdefs.h >>conftest.$ac_ext
46804 cat >>conftest.$ac_ext <<_ACEOF
46805 /* end confdefs.h.  */
46806 #include <math.h>
46807 int
46808 main ()
46809 {
46810  sincosl(0, 0, 0);
46811   ;
46812   return 0;
46813 }
46814 _ACEOF
46815 rm -f conftest.$ac_objext
46816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46817   (eval $ac_compile) 2>conftest.er1
46818   ac_status=$?
46819   grep -v '^ *+' conftest.er1 >conftest.err
46820   rm -f conftest.er1
46821   cat conftest.err >&5
46822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46823   (exit $ac_status); } &&
46824          { ac_try='test -z "$ac_cxx_werror_flag"
46825                          || test ! -s conftest.err'
46826   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46827   (eval $ac_try) 2>&5
46828   ac_status=$?
46829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46830   (exit $ac_status); }; } &&
46831          { ac_try='test -s conftest.$ac_objext'
46832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46833   (eval $ac_try) 2>&5
46834   ac_status=$?
46835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46836   (exit $ac_status); }; }; then
46837   glibcxx_cv_func_sincosl_use=yes
46838 else
46839   echo "$as_me: failed program was:" >&5
46840 sed 's/^/| /' conftest.$ac_ext >&5
46841
46842 glibcxx_cv_func_sincosl_use=no
46843 fi
46844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46845       ac_ext=c
46846 ac_cpp='$CPP $CPPFLAGS'
46847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46850
46851
46852 fi
46853
46854   fi
46855   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
46856 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
46857
46858   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46859
46860 for ac_func in sincosl
46861 do
46862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46863 echo "$as_me:$LINENO: checking for $ac_func" >&5
46864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46865 if eval "test \"\${$as_ac_var+set}\" = set"; then
46866   echo $ECHO_N "(cached) $ECHO_C" >&6
46867 else
46868   if test x$gcc_no_link = xyes; then
46869   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46871    { (exit 1); exit 1; }; }
46872 fi
46873 cat >conftest.$ac_ext <<_ACEOF
46874 /* confdefs.h.  */
46875 _ACEOF
46876 cat confdefs.h >>conftest.$ac_ext
46877 cat >>conftest.$ac_ext <<_ACEOF
46878 /* end confdefs.h.  */
46879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46880    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46881 #define $ac_func innocuous_$ac_func
46882
46883 /* System header to define __stub macros and hopefully few prototypes,
46884     which can conflict with char $ac_func (); below.
46885     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46886     <limits.h> exists even on freestanding compilers.  */
46887
46888 #ifdef __STDC__
46889 # include <limits.h>
46890 #else
46891 # include <assert.h>
46892 #endif
46893
46894 #undef $ac_func
46895
46896 /* Override any gcc2 internal prototype to avoid an error.  */
46897 #ifdef __cplusplus
46898 extern "C"
46899 {
46900 #endif
46901 /* We use char because int might match the return type of a gcc2
46902    builtin and then its argument prototype would still apply.  */
46903 char $ac_func ();
46904 /* The GNU C library defines this for functions which it implements
46905     to always fail with ENOSYS.  Some functions are actually named
46906     something starting with __ and the normal name is an alias.  */
46907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46908 choke me
46909 #else
46910 char (*f) () = $ac_func;
46911 #endif
46912 #ifdef __cplusplus
46913 }
46914 #endif
46915
46916 int
46917 main ()
46918 {
46919 return f != $ac_func;
46920   ;
46921   return 0;
46922 }
46923 _ACEOF
46924 rm -f conftest.$ac_objext conftest$ac_exeext
46925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46926   (eval $ac_link) 2>conftest.er1
46927   ac_status=$?
46928   grep -v '^ *+' conftest.er1 >conftest.err
46929   rm -f conftest.er1
46930   cat conftest.err >&5
46931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46932   (exit $ac_status); } &&
46933          { ac_try='test -z "$ac_c_werror_flag"
46934                          || test ! -s conftest.err'
46935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46936   (eval $ac_try) 2>&5
46937   ac_status=$?
46938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46939   (exit $ac_status); }; } &&
46940          { ac_try='test -s conftest$ac_exeext'
46941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46942   (eval $ac_try) 2>&5
46943   ac_status=$?
46944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46945   (exit $ac_status); }; }; then
46946   eval "$as_ac_var=yes"
46947 else
46948   echo "$as_me: failed program was:" >&5
46949 sed 's/^/| /' conftest.$ac_ext >&5
46950
46951 eval "$as_ac_var=no"
46952 fi
46953 rm -f conftest.err conftest.$ac_objext \
46954       conftest$ac_exeext conftest.$ac_ext
46955 fi
46956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46958 if test `eval echo '${'$as_ac_var'}'` = yes; then
46959   cat >>confdefs.h <<_ACEOF
46960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46961 _ACEOF
46962
46963 fi
46964 done
46965
46966   else
46967
46968   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
46969 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
46970   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46971     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
46972   echo $ECHO_N "(cached) $ECHO_C" >&6
46973 else
46974
46975
46976
46977       ac_ext=cc
46978 ac_cpp='$CXXCPP $CPPFLAGS'
46979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46982
46983       cat >conftest.$ac_ext <<_ACEOF
46984 /* confdefs.h.  */
46985 _ACEOF
46986 cat confdefs.h >>conftest.$ac_ext
46987 cat >>conftest.$ac_ext <<_ACEOF
46988 /* end confdefs.h.  */
46989 #include <math.h>
46990 int
46991 main ()
46992 {
46993  _sincosl(0, 0, 0);
46994   ;
46995   return 0;
46996 }
46997 _ACEOF
46998 rm -f conftest.$ac_objext
46999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47000   (eval $ac_compile) 2>conftest.er1
47001   ac_status=$?
47002   grep -v '^ *+' conftest.er1 >conftest.err
47003   rm -f conftest.er1
47004   cat conftest.err >&5
47005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47006   (exit $ac_status); } &&
47007          { ac_try='test -z "$ac_cxx_werror_flag"
47008                          || test ! -s conftest.err'
47009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47010   (eval $ac_try) 2>&5
47011   ac_status=$?
47012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47013   (exit $ac_status); }; } &&
47014          { ac_try='test -s conftest.$ac_objext'
47015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47016   (eval $ac_try) 2>&5
47017   ac_status=$?
47018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47019   (exit $ac_status); }; }; then
47020   glibcxx_cv_func__sincosl_use=yes
47021 else
47022   echo "$as_me: failed program was:" >&5
47023 sed 's/^/| /' conftest.$ac_ext >&5
47024
47025 glibcxx_cv_func__sincosl_use=no
47026 fi
47027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47028       ac_ext=c
47029 ac_cpp='$CPP $CPPFLAGS'
47030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47033
47034
47035 fi
47036
47037   fi
47038   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
47039 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
47040
47041     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
47042
47043 for ac_func in _sincosl
47044 do
47045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47046 echo "$as_me:$LINENO: checking for $ac_func" >&5
47047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47048 if eval "test \"\${$as_ac_var+set}\" = set"; then
47049   echo $ECHO_N "(cached) $ECHO_C" >&6
47050 else
47051   if test x$gcc_no_link = xyes; then
47052   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47054    { (exit 1); exit 1; }; }
47055 fi
47056 cat >conftest.$ac_ext <<_ACEOF
47057 /* confdefs.h.  */
47058 _ACEOF
47059 cat confdefs.h >>conftest.$ac_ext
47060 cat >>conftest.$ac_ext <<_ACEOF
47061 /* end confdefs.h.  */
47062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47063    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47064 #define $ac_func innocuous_$ac_func
47065
47066 /* System header to define __stub macros and hopefully few prototypes,
47067     which can conflict with char $ac_func (); below.
47068     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47069     <limits.h> exists even on freestanding compilers.  */
47070
47071 #ifdef __STDC__
47072 # include <limits.h>
47073 #else
47074 # include <assert.h>
47075 #endif
47076
47077 #undef $ac_func
47078
47079 /* Override any gcc2 internal prototype to avoid an error.  */
47080 #ifdef __cplusplus
47081 extern "C"
47082 {
47083 #endif
47084 /* We use char because int might match the return type of a gcc2
47085    builtin and then its argument prototype would still apply.  */
47086 char $ac_func ();
47087 /* The GNU C library defines this for functions which it implements
47088     to always fail with ENOSYS.  Some functions are actually named
47089     something starting with __ and the normal name is an alias.  */
47090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47091 choke me
47092 #else
47093 char (*f) () = $ac_func;
47094 #endif
47095 #ifdef __cplusplus
47096 }
47097 #endif
47098
47099 int
47100 main ()
47101 {
47102 return f != $ac_func;
47103   ;
47104   return 0;
47105 }
47106 _ACEOF
47107 rm -f conftest.$ac_objext conftest$ac_exeext
47108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47109   (eval $ac_link) 2>conftest.er1
47110   ac_status=$?
47111   grep -v '^ *+' conftest.er1 >conftest.err
47112   rm -f conftest.er1
47113   cat conftest.err >&5
47114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47115   (exit $ac_status); } &&
47116          { ac_try='test -z "$ac_c_werror_flag"
47117                          || test ! -s conftest.err'
47118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47119   (eval $ac_try) 2>&5
47120   ac_status=$?
47121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47122   (exit $ac_status); }; } &&
47123          { ac_try='test -s conftest$ac_exeext'
47124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47125   (eval $ac_try) 2>&5
47126   ac_status=$?
47127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47128   (exit $ac_status); }; }; then
47129   eval "$as_ac_var=yes"
47130 else
47131   echo "$as_me: failed program was:" >&5
47132 sed 's/^/| /' conftest.$ac_ext >&5
47133
47134 eval "$as_ac_var=no"
47135 fi
47136 rm -f conftest.err conftest.$ac_objext \
47137       conftest$ac_exeext conftest.$ac_ext
47138 fi
47139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47141 if test `eval echo '${'$as_ac_var'}'` = yes; then
47142   cat >>confdefs.h <<_ACEOF
47143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47144 _ACEOF
47145
47146 fi
47147 done
47148
47149     fi
47150   fi
47151
47152
47153
47154   echo "$as_me:$LINENO: checking for finitel declaration" >&5
47155 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
47156   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
47157     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
47158   echo $ECHO_N "(cached) $ECHO_C" >&6
47159 else
47160
47161
47162
47163       ac_ext=cc
47164 ac_cpp='$CXXCPP $CPPFLAGS'
47165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47168
47169       cat >conftest.$ac_ext <<_ACEOF
47170 /* confdefs.h.  */
47171 _ACEOF
47172 cat confdefs.h >>conftest.$ac_ext
47173 cat >>conftest.$ac_ext <<_ACEOF
47174 /* end confdefs.h.  */
47175 #include <math.h>
47176                       #ifdef HAVE_IEEEFP_H
47177                       #include <ieeefp.h>
47178                       #endif
47179
47180 int
47181 main ()
47182 {
47183  finitel(0);
47184   ;
47185   return 0;
47186 }
47187 _ACEOF
47188 rm -f conftest.$ac_objext
47189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47190   (eval $ac_compile) 2>conftest.er1
47191   ac_status=$?
47192   grep -v '^ *+' conftest.er1 >conftest.err
47193   rm -f conftest.er1
47194   cat conftest.err >&5
47195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47196   (exit $ac_status); } &&
47197          { ac_try='test -z "$ac_cxx_werror_flag"
47198                          || test ! -s conftest.err'
47199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47200   (eval $ac_try) 2>&5
47201   ac_status=$?
47202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47203   (exit $ac_status); }; } &&
47204          { ac_try='test -s conftest.$ac_objext'
47205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47206   (eval $ac_try) 2>&5
47207   ac_status=$?
47208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47209   (exit $ac_status); }; }; then
47210   glibcxx_cv_func_finitel_use=yes
47211 else
47212   echo "$as_me: failed program was:" >&5
47213 sed 's/^/| /' conftest.$ac_ext >&5
47214
47215 glibcxx_cv_func_finitel_use=no
47216 fi
47217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47218       ac_ext=c
47219 ac_cpp='$CPP $CPPFLAGS'
47220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47223
47224
47225 fi
47226
47227   fi
47228   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
47229 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
47230
47231   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
47232
47233 for ac_func in finitel
47234 do
47235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47236 echo "$as_me:$LINENO: checking for $ac_func" >&5
47237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47238 if eval "test \"\${$as_ac_var+set}\" = set"; then
47239   echo $ECHO_N "(cached) $ECHO_C" >&6
47240 else
47241   if test x$gcc_no_link = xyes; then
47242   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47244    { (exit 1); exit 1; }; }
47245 fi
47246 cat >conftest.$ac_ext <<_ACEOF
47247 /* confdefs.h.  */
47248 _ACEOF
47249 cat confdefs.h >>conftest.$ac_ext
47250 cat >>conftest.$ac_ext <<_ACEOF
47251 /* end confdefs.h.  */
47252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47253    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47254 #define $ac_func innocuous_$ac_func
47255
47256 /* System header to define __stub macros and hopefully few prototypes,
47257     which can conflict with char $ac_func (); below.
47258     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47259     <limits.h> exists even on freestanding compilers.  */
47260
47261 #ifdef __STDC__
47262 # include <limits.h>
47263 #else
47264 # include <assert.h>
47265 #endif
47266
47267 #undef $ac_func
47268
47269 /* Override any gcc2 internal prototype to avoid an error.  */
47270 #ifdef __cplusplus
47271 extern "C"
47272 {
47273 #endif
47274 /* We use char because int might match the return type of a gcc2
47275    builtin and then its argument prototype would still apply.  */
47276 char $ac_func ();
47277 /* The GNU C library defines this for functions which it implements
47278     to always fail with ENOSYS.  Some functions are actually named
47279     something starting with __ and the normal name is an alias.  */
47280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47281 choke me
47282 #else
47283 char (*f) () = $ac_func;
47284 #endif
47285 #ifdef __cplusplus
47286 }
47287 #endif
47288
47289 int
47290 main ()
47291 {
47292 return f != $ac_func;
47293   ;
47294   return 0;
47295 }
47296 _ACEOF
47297 rm -f conftest.$ac_objext conftest$ac_exeext
47298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47299   (eval $ac_link) 2>conftest.er1
47300   ac_status=$?
47301   grep -v '^ *+' conftest.er1 >conftest.err
47302   rm -f conftest.er1
47303   cat conftest.err >&5
47304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47305   (exit $ac_status); } &&
47306          { ac_try='test -z "$ac_c_werror_flag"
47307                          || test ! -s conftest.err'
47308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47309   (eval $ac_try) 2>&5
47310   ac_status=$?
47311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47312   (exit $ac_status); }; } &&
47313          { ac_try='test -s conftest$ac_exeext'
47314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47315   (eval $ac_try) 2>&5
47316   ac_status=$?
47317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47318   (exit $ac_status); }; }; then
47319   eval "$as_ac_var=yes"
47320 else
47321   echo "$as_me: failed program was:" >&5
47322 sed 's/^/| /' conftest.$ac_ext >&5
47323
47324 eval "$as_ac_var=no"
47325 fi
47326 rm -f conftest.err conftest.$ac_objext \
47327       conftest$ac_exeext conftest.$ac_ext
47328 fi
47329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47331 if test `eval echo '${'$as_ac_var'}'` = yes; then
47332   cat >>confdefs.h <<_ACEOF
47333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47334 _ACEOF
47335
47336 fi
47337 done
47338
47339   else
47340
47341   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
47342 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
47343   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47344     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
47345   echo $ECHO_N "(cached) $ECHO_C" >&6
47346 else
47347
47348
47349
47350       ac_ext=cc
47351 ac_cpp='$CXXCPP $CPPFLAGS'
47352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47355
47356       cat >conftest.$ac_ext <<_ACEOF
47357 /* confdefs.h.  */
47358 _ACEOF
47359 cat confdefs.h >>conftest.$ac_ext
47360 cat >>conftest.$ac_ext <<_ACEOF
47361 /* end confdefs.h.  */
47362 #include <math.h>
47363                       #ifdef HAVE_IEEEFP_H
47364                       #include <ieeefp.h>
47365                       #endif
47366
47367 int
47368 main ()
47369 {
47370  _finitel(0);
47371   ;
47372   return 0;
47373 }
47374 _ACEOF
47375 rm -f conftest.$ac_objext
47376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47377   (eval $ac_compile) 2>conftest.er1
47378   ac_status=$?
47379   grep -v '^ *+' conftest.er1 >conftest.err
47380   rm -f conftest.er1
47381   cat conftest.err >&5
47382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47383   (exit $ac_status); } &&
47384          { ac_try='test -z "$ac_cxx_werror_flag"
47385                          || test ! -s conftest.err'
47386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47387   (eval $ac_try) 2>&5
47388   ac_status=$?
47389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47390   (exit $ac_status); }; } &&
47391          { ac_try='test -s conftest.$ac_objext'
47392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47393   (eval $ac_try) 2>&5
47394   ac_status=$?
47395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47396   (exit $ac_status); }; }; then
47397   glibcxx_cv_func__finitel_use=yes
47398 else
47399   echo "$as_me: failed program was:" >&5
47400 sed 's/^/| /' conftest.$ac_ext >&5
47401
47402 glibcxx_cv_func__finitel_use=no
47403 fi
47404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47405       ac_ext=c
47406 ac_cpp='$CPP $CPPFLAGS'
47407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47410
47411
47412 fi
47413
47414   fi
47415   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
47416 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
47417
47418     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47419
47420 for ac_func in _finitel
47421 do
47422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47423 echo "$as_me:$LINENO: checking for $ac_func" >&5
47424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47425 if eval "test \"\${$as_ac_var+set}\" = set"; then
47426   echo $ECHO_N "(cached) $ECHO_C" >&6
47427 else
47428   if test x$gcc_no_link = xyes; then
47429   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47431    { (exit 1); exit 1; }; }
47432 fi
47433 cat >conftest.$ac_ext <<_ACEOF
47434 /* confdefs.h.  */
47435 _ACEOF
47436 cat confdefs.h >>conftest.$ac_ext
47437 cat >>conftest.$ac_ext <<_ACEOF
47438 /* end confdefs.h.  */
47439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47440    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47441 #define $ac_func innocuous_$ac_func
47442
47443 /* System header to define __stub macros and hopefully few prototypes,
47444     which can conflict with char $ac_func (); below.
47445     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47446     <limits.h> exists even on freestanding compilers.  */
47447
47448 #ifdef __STDC__
47449 # include <limits.h>
47450 #else
47451 # include <assert.h>
47452 #endif
47453
47454 #undef $ac_func
47455
47456 /* Override any gcc2 internal prototype to avoid an error.  */
47457 #ifdef __cplusplus
47458 extern "C"
47459 {
47460 #endif
47461 /* We use char because int might match the return type of a gcc2
47462    builtin and then its argument prototype would still apply.  */
47463 char $ac_func ();
47464 /* The GNU C library defines this for functions which it implements
47465     to always fail with ENOSYS.  Some functions are actually named
47466     something starting with __ and the normal name is an alias.  */
47467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47468 choke me
47469 #else
47470 char (*f) () = $ac_func;
47471 #endif
47472 #ifdef __cplusplus
47473 }
47474 #endif
47475
47476 int
47477 main ()
47478 {
47479 return f != $ac_func;
47480   ;
47481   return 0;
47482 }
47483 _ACEOF
47484 rm -f conftest.$ac_objext conftest$ac_exeext
47485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47486   (eval $ac_link) 2>conftest.er1
47487   ac_status=$?
47488   grep -v '^ *+' conftest.er1 >conftest.err
47489   rm -f conftest.er1
47490   cat conftest.err >&5
47491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47492   (exit $ac_status); } &&
47493          { ac_try='test -z "$ac_c_werror_flag"
47494                          || test ! -s conftest.err'
47495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47496   (eval $ac_try) 2>&5
47497   ac_status=$?
47498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47499   (exit $ac_status); }; } &&
47500          { ac_try='test -s conftest$ac_exeext'
47501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47502   (eval $ac_try) 2>&5
47503   ac_status=$?
47504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47505   (exit $ac_status); }; }; then
47506   eval "$as_ac_var=yes"
47507 else
47508   echo "$as_me: failed program was:" >&5
47509 sed 's/^/| /' conftest.$ac_ext >&5
47510
47511 eval "$as_ac_var=no"
47512 fi
47513 rm -f conftest.err conftest.$ac_objext \
47514       conftest$ac_exeext conftest.$ac_ext
47515 fi
47516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47518 if test `eval echo '${'$as_ac_var'}'` = yes; then
47519   cat >>confdefs.h <<_ACEOF
47520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47521 _ACEOF
47522
47523 fi
47524 done
47525
47526     fi
47527   fi
47528
47529
47530
47531
47532   echo "$as_me:$LINENO: checking for _float trig functions" >&5
47533 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
47534   if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
47535   echo $ECHO_N "(cached) $ECHO_C" >&6
47536 else
47537
47538
47539
47540     ac_ext=cc
47541 ac_cpp='$CXXCPP $CPPFLAGS'
47542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47545
47546     cat >conftest.$ac_ext <<_ACEOF
47547 /* confdefs.h.  */
47548 _ACEOF
47549 cat confdefs.h >>conftest.$ac_ext
47550 cat >>conftest.$ac_ext <<_ACEOF
47551 /* end confdefs.h.  */
47552 #include <math.h>
47553 int
47554 main ()
47555 {
47556  `for x in _acosf _asinf _atanf \
47557                                           _cosf _sinf _tanf \
47558                                           _coshf _sinhf _tanhf; do echo "$x (0);"; done`
47559   ;
47560   return 0;
47561 }
47562 _ACEOF
47563 rm -f conftest.$ac_objext
47564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47565   (eval $ac_compile) 2>conftest.er1
47566   ac_status=$?
47567   grep -v '^ *+' conftest.er1 >conftest.err
47568   rm -f conftest.er1
47569   cat conftest.err >&5
47570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47571   (exit $ac_status); } &&
47572          { ac_try='test -z "$ac_cxx_werror_flag"
47573                          || test ! -s conftest.err'
47574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47575   (eval $ac_try) 2>&5
47576   ac_status=$?
47577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47578   (exit $ac_status); }; } &&
47579          { ac_try='test -s conftest.$ac_objext'
47580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47581   (eval $ac_try) 2>&5
47582   ac_status=$?
47583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47584   (exit $ac_status); }; }; then
47585   glibcxx_cv_func__float_trig_use=yes
47586 else
47587   echo "$as_me: failed program was:" >&5
47588 sed 's/^/| /' conftest.$ac_ext >&5
47589
47590 glibcxx_cv_func__float_trig_use=no
47591 fi
47592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47593     ac_ext=c
47594 ac_cpp='$CPP $CPPFLAGS'
47595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47598
47599 fi
47600
47601   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
47602 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
47603   if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47604
47605
47606
47607
47608
47609
47610
47611
47612
47613 for ac_func in _acosf _asinf _atanf \
47614                                           _cosf _sinf _tanf \
47615                                           _coshf _sinhf _tanhf
47616 do
47617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47618 echo "$as_me:$LINENO: checking for $ac_func" >&5
47619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47620 if eval "test \"\${$as_ac_var+set}\" = set"; then
47621   echo $ECHO_N "(cached) $ECHO_C" >&6
47622 else
47623   if test x$gcc_no_link = xyes; then
47624   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47626    { (exit 1); exit 1; }; }
47627 fi
47628 cat >conftest.$ac_ext <<_ACEOF
47629 /* confdefs.h.  */
47630 _ACEOF
47631 cat confdefs.h >>conftest.$ac_ext
47632 cat >>conftest.$ac_ext <<_ACEOF
47633 /* end confdefs.h.  */
47634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47635    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47636 #define $ac_func innocuous_$ac_func
47637
47638 /* System header to define __stub macros and hopefully few prototypes,
47639     which can conflict with char $ac_func (); below.
47640     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47641     <limits.h> exists even on freestanding compilers.  */
47642
47643 #ifdef __STDC__
47644 # include <limits.h>
47645 #else
47646 # include <assert.h>
47647 #endif
47648
47649 #undef $ac_func
47650
47651 /* Override any gcc2 internal prototype to avoid an error.  */
47652 #ifdef __cplusplus
47653 extern "C"
47654 {
47655 #endif
47656 /* We use char because int might match the return type of a gcc2
47657    builtin and then its argument prototype would still apply.  */
47658 char $ac_func ();
47659 /* The GNU C library defines this for functions which it implements
47660     to always fail with ENOSYS.  Some functions are actually named
47661     something starting with __ and the normal name is an alias.  */
47662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47663 choke me
47664 #else
47665 char (*f) () = $ac_func;
47666 #endif
47667 #ifdef __cplusplus
47668 }
47669 #endif
47670
47671 int
47672 main ()
47673 {
47674 return f != $ac_func;
47675   ;
47676   return 0;
47677 }
47678 _ACEOF
47679 rm -f conftest.$ac_objext conftest$ac_exeext
47680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47681   (eval $ac_link) 2>conftest.er1
47682   ac_status=$?
47683   grep -v '^ *+' conftest.er1 >conftest.err
47684   rm -f conftest.er1
47685   cat conftest.err >&5
47686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47687   (exit $ac_status); } &&
47688          { ac_try='test -z "$ac_c_werror_flag"
47689                          || test ! -s conftest.err'
47690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47691   (eval $ac_try) 2>&5
47692   ac_status=$?
47693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47694   (exit $ac_status); }; } &&
47695          { ac_try='test -s conftest$ac_exeext'
47696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47697   (eval $ac_try) 2>&5
47698   ac_status=$?
47699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47700   (exit $ac_status); }; }; then
47701   eval "$as_ac_var=yes"
47702 else
47703   echo "$as_me: failed program was:" >&5
47704 sed 's/^/| /' conftest.$ac_ext >&5
47705
47706 eval "$as_ac_var=no"
47707 fi
47708 rm -f conftest.err conftest.$ac_objext \
47709       conftest$ac_exeext conftest.$ac_ext
47710 fi
47711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47713 if test `eval echo '${'$as_ac_var'}'` = yes; then
47714   cat >>confdefs.h <<_ACEOF
47715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47716 _ACEOF
47717
47718 fi
47719 done
47720
47721   fi
47722
47723
47724   echo "$as_me:$LINENO: checking for _float round functions" >&5
47725 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
47726   if test "${glibcxx_cv_func__float_round_use+set}" = set; then
47727   echo $ECHO_N "(cached) $ECHO_C" >&6
47728 else
47729
47730
47731
47732     ac_ext=cc
47733 ac_cpp='$CXXCPP $CPPFLAGS'
47734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47737
47738     cat >conftest.$ac_ext <<_ACEOF
47739 /* confdefs.h.  */
47740 _ACEOF
47741 cat confdefs.h >>conftest.$ac_ext
47742 cat >>conftest.$ac_ext <<_ACEOF
47743 /* end confdefs.h.  */
47744 #include <math.h>
47745 int
47746 main ()
47747 {
47748  `for x in _ceilf _floorf; do echo "$x (0);"; done`
47749   ;
47750   return 0;
47751 }
47752 _ACEOF
47753 rm -f conftest.$ac_objext
47754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47755   (eval $ac_compile) 2>conftest.er1
47756   ac_status=$?
47757   grep -v '^ *+' conftest.er1 >conftest.err
47758   rm -f conftest.er1
47759   cat conftest.err >&5
47760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47761   (exit $ac_status); } &&
47762          { ac_try='test -z "$ac_cxx_werror_flag"
47763                          || test ! -s conftest.err'
47764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47765   (eval $ac_try) 2>&5
47766   ac_status=$?
47767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47768   (exit $ac_status); }; } &&
47769          { ac_try='test -s conftest.$ac_objext'
47770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47771   (eval $ac_try) 2>&5
47772   ac_status=$?
47773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47774   (exit $ac_status); }; }; then
47775   glibcxx_cv_func__float_round_use=yes
47776 else
47777   echo "$as_me: failed program was:" >&5
47778 sed 's/^/| /' conftest.$ac_ext >&5
47779
47780 glibcxx_cv_func__float_round_use=no
47781 fi
47782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47783     ac_ext=c
47784 ac_cpp='$CPP $CPPFLAGS'
47785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47788
47789 fi
47790
47791   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
47792 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
47793   if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47794
47795
47796 for ac_func in _ceilf _floorf
47797 do
47798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47799 echo "$as_me:$LINENO: checking for $ac_func" >&5
47800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47801 if eval "test \"\${$as_ac_var+set}\" = set"; then
47802   echo $ECHO_N "(cached) $ECHO_C" >&6
47803 else
47804   if test x$gcc_no_link = xyes; then
47805   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47807    { (exit 1); exit 1; }; }
47808 fi
47809 cat >conftest.$ac_ext <<_ACEOF
47810 /* confdefs.h.  */
47811 _ACEOF
47812 cat confdefs.h >>conftest.$ac_ext
47813 cat >>conftest.$ac_ext <<_ACEOF
47814 /* end confdefs.h.  */
47815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47816    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47817 #define $ac_func innocuous_$ac_func
47818
47819 /* System header to define __stub macros and hopefully few prototypes,
47820     which can conflict with char $ac_func (); below.
47821     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47822     <limits.h> exists even on freestanding compilers.  */
47823
47824 #ifdef __STDC__
47825 # include <limits.h>
47826 #else
47827 # include <assert.h>
47828 #endif
47829
47830 #undef $ac_func
47831
47832 /* Override any gcc2 internal prototype to avoid an error.  */
47833 #ifdef __cplusplus
47834 extern "C"
47835 {
47836 #endif
47837 /* We use char because int might match the return type of a gcc2
47838    builtin and then its argument prototype would still apply.  */
47839 char $ac_func ();
47840 /* The GNU C library defines this for functions which it implements
47841     to always fail with ENOSYS.  Some functions are actually named
47842     something starting with __ and the normal name is an alias.  */
47843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47844 choke me
47845 #else
47846 char (*f) () = $ac_func;
47847 #endif
47848 #ifdef __cplusplus
47849 }
47850 #endif
47851
47852 int
47853 main ()
47854 {
47855 return f != $ac_func;
47856   ;
47857   return 0;
47858 }
47859 _ACEOF
47860 rm -f conftest.$ac_objext conftest$ac_exeext
47861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47862   (eval $ac_link) 2>conftest.er1
47863   ac_status=$?
47864   grep -v '^ *+' conftest.er1 >conftest.err
47865   rm -f conftest.er1
47866   cat conftest.err >&5
47867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47868   (exit $ac_status); } &&
47869          { ac_try='test -z "$ac_c_werror_flag"
47870                          || test ! -s conftest.err'
47871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47872   (eval $ac_try) 2>&5
47873   ac_status=$?
47874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47875   (exit $ac_status); }; } &&
47876          { ac_try='test -s conftest$ac_exeext'
47877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47878   (eval $ac_try) 2>&5
47879   ac_status=$?
47880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47881   (exit $ac_status); }; }; then
47882   eval "$as_ac_var=yes"
47883 else
47884   echo "$as_me: failed program was:" >&5
47885 sed 's/^/| /' conftest.$ac_ext >&5
47886
47887 eval "$as_ac_var=no"
47888 fi
47889 rm -f conftest.err conftest.$ac_objext \
47890       conftest$ac_exeext conftest.$ac_ext
47891 fi
47892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47894 if test `eval echo '${'$as_ac_var'}'` = yes; then
47895   cat >>confdefs.h <<_ACEOF
47896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47897 _ACEOF
47898
47899 fi
47900 done
47901
47902   fi
47903
47904
47905
47906   echo "$as_me:$LINENO: checking for _long double trig functions" >&5
47907 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
47908   if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
47909   echo $ECHO_N "(cached) $ECHO_C" >&6
47910 else
47911
47912
47913
47914     ac_ext=cc
47915 ac_cpp='$CXXCPP $CPPFLAGS'
47916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47919
47920     cat >conftest.$ac_ext <<_ACEOF
47921 /* confdefs.h.  */
47922 _ACEOF
47923 cat confdefs.h >>conftest.$ac_ext
47924 cat >>conftest.$ac_ext <<_ACEOF
47925 /* end confdefs.h.  */
47926 #include <math.h>
47927 int
47928 main ()
47929 {
47930  `for x in _acosl _asinl _atanl \
47931                                           _cosl _sinl _tanl \
47932                                           _coshl _sinhl _tanhl; do echo "$x (0);"; done`
47933   ;
47934   return 0;
47935 }
47936 _ACEOF
47937 rm -f conftest.$ac_objext
47938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47939   (eval $ac_compile) 2>conftest.er1
47940   ac_status=$?
47941   grep -v '^ *+' conftest.er1 >conftest.err
47942   rm -f conftest.er1
47943   cat conftest.err >&5
47944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47945   (exit $ac_status); } &&
47946          { ac_try='test -z "$ac_cxx_werror_flag"
47947                          || test ! -s conftest.err'
47948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47949   (eval $ac_try) 2>&5
47950   ac_status=$?
47951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47952   (exit $ac_status); }; } &&
47953          { ac_try='test -s conftest.$ac_objext'
47954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47955   (eval $ac_try) 2>&5
47956   ac_status=$?
47957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47958   (exit $ac_status); }; }; then
47959   glibcxx_cv_func__long_double_trig_use=yes
47960 else
47961   echo "$as_me: failed program was:" >&5
47962 sed 's/^/| /' conftest.$ac_ext >&5
47963
47964 glibcxx_cv_func__long_double_trig_use=no
47965 fi
47966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47967     ac_ext=c
47968 ac_cpp='$CPP $CPPFLAGS'
47969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47972
47973 fi
47974
47975   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
47976 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
47977   if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
47978
47979
47980
47981
47982
47983
47984
47985
47986
47987 for ac_func in _acosl _asinl _atanl \
47988                                           _cosl _sinl _tanl \
47989                                           _coshl _sinhl _tanhl
47990 do
47991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47992 echo "$as_me:$LINENO: checking for $ac_func" >&5
47993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47994 if eval "test \"\${$as_ac_var+set}\" = set"; then
47995   echo $ECHO_N "(cached) $ECHO_C" >&6
47996 else
47997   if test x$gcc_no_link = xyes; then
47998   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48000    { (exit 1); exit 1; }; }
48001 fi
48002 cat >conftest.$ac_ext <<_ACEOF
48003 /* confdefs.h.  */
48004 _ACEOF
48005 cat confdefs.h >>conftest.$ac_ext
48006 cat >>conftest.$ac_ext <<_ACEOF
48007 /* end confdefs.h.  */
48008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48009    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48010 #define $ac_func innocuous_$ac_func
48011
48012 /* System header to define __stub macros and hopefully few prototypes,
48013     which can conflict with char $ac_func (); below.
48014     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48015     <limits.h> exists even on freestanding compilers.  */
48016
48017 #ifdef __STDC__
48018 # include <limits.h>
48019 #else
48020 # include <assert.h>
48021 #endif
48022
48023 #undef $ac_func
48024
48025 /* Override any gcc2 internal prototype to avoid an error.  */
48026 #ifdef __cplusplus
48027 extern "C"
48028 {
48029 #endif
48030 /* We use char because int might match the return type of a gcc2
48031    builtin and then its argument prototype would still apply.  */
48032 char $ac_func ();
48033 /* The GNU C library defines this for functions which it implements
48034     to always fail with ENOSYS.  Some functions are actually named
48035     something starting with __ and the normal name is an alias.  */
48036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48037 choke me
48038 #else
48039 char (*f) () = $ac_func;
48040 #endif
48041 #ifdef __cplusplus
48042 }
48043 #endif
48044
48045 int
48046 main ()
48047 {
48048 return f != $ac_func;
48049   ;
48050   return 0;
48051 }
48052 _ACEOF
48053 rm -f conftest.$ac_objext conftest$ac_exeext
48054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48055   (eval $ac_link) 2>conftest.er1
48056   ac_status=$?
48057   grep -v '^ *+' conftest.er1 >conftest.err
48058   rm -f conftest.er1
48059   cat conftest.err >&5
48060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48061   (exit $ac_status); } &&
48062          { ac_try='test -z "$ac_c_werror_flag"
48063                          || test ! -s conftest.err'
48064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48065   (eval $ac_try) 2>&5
48066   ac_status=$?
48067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48068   (exit $ac_status); }; } &&
48069          { ac_try='test -s conftest$ac_exeext'
48070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48071   (eval $ac_try) 2>&5
48072   ac_status=$?
48073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48074   (exit $ac_status); }; }; then
48075   eval "$as_ac_var=yes"
48076 else
48077   echo "$as_me: failed program was:" >&5
48078 sed 's/^/| /' conftest.$ac_ext >&5
48079
48080 eval "$as_ac_var=no"
48081 fi
48082 rm -f conftest.err conftest.$ac_objext \
48083       conftest$ac_exeext conftest.$ac_ext
48084 fi
48085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48087 if test `eval echo '${'$as_ac_var'}'` = yes; then
48088   cat >>confdefs.h <<_ACEOF
48089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48090 _ACEOF
48091
48092 fi
48093 done
48094
48095   fi
48096
48097
48098   echo "$as_me:$LINENO: checking for _long double round functions" >&5
48099 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
48100   if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
48101   echo $ECHO_N "(cached) $ECHO_C" >&6
48102 else
48103
48104
48105
48106     ac_ext=cc
48107 ac_cpp='$CXXCPP $CPPFLAGS'
48108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48111
48112     cat >conftest.$ac_ext <<_ACEOF
48113 /* confdefs.h.  */
48114 _ACEOF
48115 cat confdefs.h >>conftest.$ac_ext
48116 cat >>conftest.$ac_ext <<_ACEOF
48117 /* end confdefs.h.  */
48118 #include <math.h>
48119 int
48120 main ()
48121 {
48122  `for x in _ceill _floorl; do echo "$x (0);"; done`
48123   ;
48124   return 0;
48125 }
48126 _ACEOF
48127 rm -f conftest.$ac_objext
48128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48129   (eval $ac_compile) 2>conftest.er1
48130   ac_status=$?
48131   grep -v '^ *+' conftest.er1 >conftest.err
48132   rm -f conftest.er1
48133   cat conftest.err >&5
48134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48135   (exit $ac_status); } &&
48136          { ac_try='test -z "$ac_cxx_werror_flag"
48137                          || test ! -s conftest.err'
48138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48139   (eval $ac_try) 2>&5
48140   ac_status=$?
48141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48142   (exit $ac_status); }; } &&
48143          { ac_try='test -s conftest.$ac_objext'
48144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48145   (eval $ac_try) 2>&5
48146   ac_status=$?
48147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48148   (exit $ac_status); }; }; then
48149   glibcxx_cv_func__long_double_round_use=yes
48150 else
48151   echo "$as_me: failed program was:" >&5
48152 sed 's/^/| /' conftest.$ac_ext >&5
48153
48154 glibcxx_cv_func__long_double_round_use=no
48155 fi
48156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48157     ac_ext=c
48158 ac_cpp='$CPP $CPPFLAGS'
48159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48162
48163 fi
48164
48165   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
48166 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
48167   if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48168
48169
48170 for ac_func in _ceill _floorl
48171 do
48172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48173 echo "$as_me:$LINENO: checking for $ac_func" >&5
48174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48175 if eval "test \"\${$as_ac_var+set}\" = set"; then
48176   echo $ECHO_N "(cached) $ECHO_C" >&6
48177 else
48178   if test x$gcc_no_link = xyes; then
48179   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48181    { (exit 1); exit 1; }; }
48182 fi
48183 cat >conftest.$ac_ext <<_ACEOF
48184 /* confdefs.h.  */
48185 _ACEOF
48186 cat confdefs.h >>conftest.$ac_ext
48187 cat >>conftest.$ac_ext <<_ACEOF
48188 /* end confdefs.h.  */
48189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48190    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48191 #define $ac_func innocuous_$ac_func
48192
48193 /* System header to define __stub macros and hopefully few prototypes,
48194     which can conflict with char $ac_func (); below.
48195     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48196     <limits.h> exists even on freestanding compilers.  */
48197
48198 #ifdef __STDC__
48199 # include <limits.h>
48200 #else
48201 # include <assert.h>
48202 #endif
48203
48204 #undef $ac_func
48205
48206 /* Override any gcc2 internal prototype to avoid an error.  */
48207 #ifdef __cplusplus
48208 extern "C"
48209 {
48210 #endif
48211 /* We use char because int might match the return type of a gcc2
48212    builtin and then its argument prototype would still apply.  */
48213 char $ac_func ();
48214 /* The GNU C library defines this for functions which it implements
48215     to always fail with ENOSYS.  Some functions are actually named
48216     something starting with __ and the normal name is an alias.  */
48217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48218 choke me
48219 #else
48220 char (*f) () = $ac_func;
48221 #endif
48222 #ifdef __cplusplus
48223 }
48224 #endif
48225
48226 int
48227 main ()
48228 {
48229 return f != $ac_func;
48230   ;
48231   return 0;
48232 }
48233 _ACEOF
48234 rm -f conftest.$ac_objext conftest$ac_exeext
48235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48236   (eval $ac_link) 2>conftest.er1
48237   ac_status=$?
48238   grep -v '^ *+' conftest.er1 >conftest.err
48239   rm -f conftest.er1
48240   cat conftest.err >&5
48241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48242   (exit $ac_status); } &&
48243          { ac_try='test -z "$ac_c_werror_flag"
48244                          || test ! -s conftest.err'
48245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48246   (eval $ac_try) 2>&5
48247   ac_status=$?
48248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48249   (exit $ac_status); }; } &&
48250          { ac_try='test -s conftest$ac_exeext'
48251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48252   (eval $ac_try) 2>&5
48253   ac_status=$?
48254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48255   (exit $ac_status); }; }; then
48256   eval "$as_ac_var=yes"
48257 else
48258   echo "$as_me: failed program was:" >&5
48259 sed 's/^/| /' conftest.$ac_ext >&5
48260
48261 eval "$as_ac_var=no"
48262 fi
48263 rm -f conftest.err conftest.$ac_objext \
48264       conftest$ac_exeext conftest.$ac_ext
48265 fi
48266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48268 if test `eval echo '${'$as_ac_var'}'` = yes; then
48269   cat >>confdefs.h <<_ACEOF
48270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48271 _ACEOF
48272
48273 fi
48274 done
48275
48276   fi
48277
48278
48279   LIBS="$ac_save_LIBS"
48280   CXXFLAGS="$ac_save_CXXFLAGS"
48281
48282
48283
48284   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
48285 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
48286   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
48287     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
48288   echo $ECHO_N "(cached) $ECHO_C" >&6
48289 else
48290
48291
48292
48293       ac_ext=cc
48294 ac_cpp='$CXXCPP $CPPFLAGS'
48295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48298
48299       cat >conftest.$ac_ext <<_ACEOF
48300 /* confdefs.h.  */
48301 _ACEOF
48302 cat confdefs.h >>conftest.$ac_ext
48303 cat >>conftest.$ac_ext <<_ACEOF
48304 /* end confdefs.h.  */
48305 #include <math.h>
48306 int
48307 main ()
48308 {
48309  __builtin_abs(0);
48310   ;
48311   return 0;
48312 }
48313 _ACEOF
48314 rm -f conftest.$ac_objext
48315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48316   (eval $ac_compile) 2>conftest.er1
48317   ac_status=$?
48318   grep -v '^ *+' conftest.er1 >conftest.err
48319   rm -f conftest.er1
48320   cat conftest.err >&5
48321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48322   (exit $ac_status); } &&
48323          { ac_try='test -z "$ac_cxx_werror_flag"
48324                          || test ! -s conftest.err'
48325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48326   (eval $ac_try) 2>&5
48327   ac_status=$?
48328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48329   (exit $ac_status); }; } &&
48330          { ac_try='test -s conftest.$ac_objext'
48331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48332   (eval $ac_try) 2>&5
48333   ac_status=$?
48334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48335   (exit $ac_status); }; }; then
48336   glibcxx_cv_func___builtin_abs_use=yes
48337 else
48338   echo "$as_me: failed program was:" >&5
48339 sed 's/^/| /' conftest.$ac_ext >&5
48340
48341 glibcxx_cv_func___builtin_abs_use=no
48342 fi
48343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48344       ac_ext=c
48345 ac_cpp='$CPP $CPPFLAGS'
48346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48349
48350
48351 fi
48352
48353   fi
48354   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
48355 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
48356   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
48357     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
48358 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
48359     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
48360       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
48361   echo $ECHO_N "(cached) $ECHO_C" >&6
48362 else
48363
48364         if test x$gcc_no_link = xyes; then
48365   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48367    { (exit 1); exit 1; }; }
48368 fi
48369 cat >conftest.$ac_ext <<_ACEOF
48370 /* confdefs.h.  */
48371 _ACEOF
48372 cat confdefs.h >>conftest.$ac_ext
48373 cat >>conftest.$ac_ext <<_ACEOF
48374 /* end confdefs.h.  */
48375 #include <math.h>
48376 int
48377 main ()
48378 {
48379  __builtin_abs(0);
48380   ;
48381   return 0;
48382 }
48383 _ACEOF
48384 rm -f conftest.$ac_objext conftest$ac_exeext
48385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48386   (eval $ac_link) 2>conftest.er1
48387   ac_status=$?
48388   grep -v '^ *+' conftest.er1 >conftest.err
48389   rm -f conftest.er1
48390   cat conftest.err >&5
48391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48392   (exit $ac_status); } &&
48393          { ac_try='test -z "$ac_c_werror_flag"
48394                          || test ! -s conftest.err'
48395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48396   (eval $ac_try) 2>&5
48397   ac_status=$?
48398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48399   (exit $ac_status); }; } &&
48400          { ac_try='test -s conftest$ac_exeext'
48401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48402   (eval $ac_try) 2>&5
48403   ac_status=$?
48404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48405   (exit $ac_status); }; }; then
48406   glibcxx_cv_func___builtin_abs_link=yes
48407 else
48408   echo "$as_me: failed program was:" >&5
48409 sed 's/^/| /' conftest.$ac_ext >&5
48410
48411 glibcxx_cv_func___builtin_abs_link=no
48412 fi
48413 rm -f conftest.err conftest.$ac_objext \
48414       conftest$ac_exeext conftest.$ac_ext
48415
48416 fi
48417
48418     fi
48419     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
48420 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
48421     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
48422       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48423
48424 cat >>confdefs.h <<_ACEOF
48425 #define ${ac_tr_func} 1
48426 _ACEOF
48427
48428     fi
48429   fi
48430
48431
48432   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
48433 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
48434   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
48435     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
48436   echo $ECHO_N "(cached) $ECHO_C" >&6
48437 else
48438
48439
48440
48441       ac_ext=cc
48442 ac_cpp='$CXXCPP $CPPFLAGS'
48443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48446
48447       cat >conftest.$ac_ext <<_ACEOF
48448 /* confdefs.h.  */
48449 _ACEOF
48450 cat confdefs.h >>conftest.$ac_ext
48451 cat >>conftest.$ac_ext <<_ACEOF
48452 /* end confdefs.h.  */
48453 #include <math.h>
48454 int
48455 main ()
48456 {
48457  __builtin_fabsf(0);
48458   ;
48459   return 0;
48460 }
48461 _ACEOF
48462 rm -f conftest.$ac_objext
48463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48464   (eval $ac_compile) 2>conftest.er1
48465   ac_status=$?
48466   grep -v '^ *+' conftest.er1 >conftest.err
48467   rm -f conftest.er1
48468   cat conftest.err >&5
48469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48470   (exit $ac_status); } &&
48471          { ac_try='test -z "$ac_cxx_werror_flag"
48472                          || test ! -s conftest.err'
48473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48474   (eval $ac_try) 2>&5
48475   ac_status=$?
48476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48477   (exit $ac_status); }; } &&
48478          { ac_try='test -s conftest.$ac_objext'
48479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48480   (eval $ac_try) 2>&5
48481   ac_status=$?
48482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48483   (exit $ac_status); }; }; then
48484   glibcxx_cv_func___builtin_fabsf_use=yes
48485 else
48486   echo "$as_me: failed program was:" >&5
48487 sed 's/^/| /' conftest.$ac_ext >&5
48488
48489 glibcxx_cv_func___builtin_fabsf_use=no
48490 fi
48491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48492       ac_ext=c
48493 ac_cpp='$CPP $CPPFLAGS'
48494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48497
48498
48499 fi
48500
48501   fi
48502   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
48503 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
48504   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
48505     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
48506 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
48507     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
48508       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
48509   echo $ECHO_N "(cached) $ECHO_C" >&6
48510 else
48511
48512         if test x$gcc_no_link = xyes; then
48513   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48515    { (exit 1); exit 1; }; }
48516 fi
48517 cat >conftest.$ac_ext <<_ACEOF
48518 /* confdefs.h.  */
48519 _ACEOF
48520 cat confdefs.h >>conftest.$ac_ext
48521 cat >>conftest.$ac_ext <<_ACEOF
48522 /* end confdefs.h.  */
48523 #include <math.h>
48524 int
48525 main ()
48526 {
48527  __builtin_fabsf(0);
48528   ;
48529   return 0;
48530 }
48531 _ACEOF
48532 rm -f conftest.$ac_objext conftest$ac_exeext
48533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48534   (eval $ac_link) 2>conftest.er1
48535   ac_status=$?
48536   grep -v '^ *+' conftest.er1 >conftest.err
48537   rm -f conftest.er1
48538   cat conftest.err >&5
48539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48540   (exit $ac_status); } &&
48541          { ac_try='test -z "$ac_c_werror_flag"
48542                          || test ! -s conftest.err'
48543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48544   (eval $ac_try) 2>&5
48545   ac_status=$?
48546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48547   (exit $ac_status); }; } &&
48548          { ac_try='test -s conftest$ac_exeext'
48549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48550   (eval $ac_try) 2>&5
48551   ac_status=$?
48552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48553   (exit $ac_status); }; }; then
48554   glibcxx_cv_func___builtin_fabsf_link=yes
48555 else
48556   echo "$as_me: failed program was:" >&5
48557 sed 's/^/| /' conftest.$ac_ext >&5
48558
48559 glibcxx_cv_func___builtin_fabsf_link=no
48560 fi
48561 rm -f conftest.err conftest.$ac_objext \
48562       conftest$ac_exeext conftest.$ac_ext
48563
48564 fi
48565
48566     fi
48567     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
48568 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
48569     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
48570       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48571
48572 cat >>confdefs.h <<_ACEOF
48573 #define ${ac_tr_func} 1
48574 _ACEOF
48575
48576     fi
48577   fi
48578
48579
48580   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
48581 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
48582   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
48583     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
48584   echo $ECHO_N "(cached) $ECHO_C" >&6
48585 else
48586
48587
48588
48589       ac_ext=cc
48590 ac_cpp='$CXXCPP $CPPFLAGS'
48591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48594
48595       cat >conftest.$ac_ext <<_ACEOF
48596 /* confdefs.h.  */
48597 _ACEOF
48598 cat confdefs.h >>conftest.$ac_ext
48599 cat >>conftest.$ac_ext <<_ACEOF
48600 /* end confdefs.h.  */
48601 #include <math.h>
48602 int
48603 main ()
48604 {
48605  __builtin_fabs(0);
48606   ;
48607   return 0;
48608 }
48609 _ACEOF
48610 rm -f conftest.$ac_objext
48611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48612   (eval $ac_compile) 2>conftest.er1
48613   ac_status=$?
48614   grep -v '^ *+' conftest.er1 >conftest.err
48615   rm -f conftest.er1
48616   cat conftest.err >&5
48617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48618   (exit $ac_status); } &&
48619          { ac_try='test -z "$ac_cxx_werror_flag"
48620                          || test ! -s conftest.err'
48621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48622   (eval $ac_try) 2>&5
48623   ac_status=$?
48624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48625   (exit $ac_status); }; } &&
48626          { ac_try='test -s conftest.$ac_objext'
48627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48628   (eval $ac_try) 2>&5
48629   ac_status=$?
48630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48631   (exit $ac_status); }; }; then
48632   glibcxx_cv_func___builtin_fabs_use=yes
48633 else
48634   echo "$as_me: failed program was:" >&5
48635 sed 's/^/| /' conftest.$ac_ext >&5
48636
48637 glibcxx_cv_func___builtin_fabs_use=no
48638 fi
48639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48640       ac_ext=c
48641 ac_cpp='$CPP $CPPFLAGS'
48642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48645
48646
48647 fi
48648
48649   fi
48650   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
48651 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
48652   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
48653     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
48654 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
48655     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
48656       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
48657   echo $ECHO_N "(cached) $ECHO_C" >&6
48658 else
48659
48660         if test x$gcc_no_link = xyes; then
48661   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48663    { (exit 1); exit 1; }; }
48664 fi
48665 cat >conftest.$ac_ext <<_ACEOF
48666 /* confdefs.h.  */
48667 _ACEOF
48668 cat confdefs.h >>conftest.$ac_ext
48669 cat >>conftest.$ac_ext <<_ACEOF
48670 /* end confdefs.h.  */
48671 #include <math.h>
48672 int
48673 main ()
48674 {
48675  __builtin_fabs(0);
48676   ;
48677   return 0;
48678 }
48679 _ACEOF
48680 rm -f conftest.$ac_objext conftest$ac_exeext
48681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48682   (eval $ac_link) 2>conftest.er1
48683   ac_status=$?
48684   grep -v '^ *+' conftest.er1 >conftest.err
48685   rm -f conftest.er1
48686   cat conftest.err >&5
48687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48688   (exit $ac_status); } &&
48689          { ac_try='test -z "$ac_c_werror_flag"
48690                          || test ! -s conftest.err'
48691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48692   (eval $ac_try) 2>&5
48693   ac_status=$?
48694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48695   (exit $ac_status); }; } &&
48696          { ac_try='test -s conftest$ac_exeext'
48697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48698   (eval $ac_try) 2>&5
48699   ac_status=$?
48700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48701   (exit $ac_status); }; }; then
48702   glibcxx_cv_func___builtin_fabs_link=yes
48703 else
48704   echo "$as_me: failed program was:" >&5
48705 sed 's/^/| /' conftest.$ac_ext >&5
48706
48707 glibcxx_cv_func___builtin_fabs_link=no
48708 fi
48709 rm -f conftest.err conftest.$ac_objext \
48710       conftest$ac_exeext conftest.$ac_ext
48711
48712 fi
48713
48714     fi
48715     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
48716 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
48717     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
48718       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48719
48720 cat >>confdefs.h <<_ACEOF
48721 #define ${ac_tr_func} 1
48722 _ACEOF
48723
48724     fi
48725   fi
48726
48727
48728   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
48729 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
48730   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
48731     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
48732   echo $ECHO_N "(cached) $ECHO_C" >&6
48733 else
48734
48735
48736
48737       ac_ext=cc
48738 ac_cpp='$CXXCPP $CPPFLAGS'
48739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48742
48743       cat >conftest.$ac_ext <<_ACEOF
48744 /* confdefs.h.  */
48745 _ACEOF
48746 cat confdefs.h >>conftest.$ac_ext
48747 cat >>conftest.$ac_ext <<_ACEOF
48748 /* end confdefs.h.  */
48749 #include <math.h>
48750 int
48751 main ()
48752 {
48753  __builtin_fabsl(0);
48754   ;
48755   return 0;
48756 }
48757 _ACEOF
48758 rm -f conftest.$ac_objext
48759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48760   (eval $ac_compile) 2>conftest.er1
48761   ac_status=$?
48762   grep -v '^ *+' conftest.er1 >conftest.err
48763   rm -f conftest.er1
48764   cat conftest.err >&5
48765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48766   (exit $ac_status); } &&
48767          { ac_try='test -z "$ac_cxx_werror_flag"
48768                          || test ! -s conftest.err'
48769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48770   (eval $ac_try) 2>&5
48771   ac_status=$?
48772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48773   (exit $ac_status); }; } &&
48774          { ac_try='test -s conftest.$ac_objext'
48775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48776   (eval $ac_try) 2>&5
48777   ac_status=$?
48778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48779   (exit $ac_status); }; }; then
48780   glibcxx_cv_func___builtin_fabsl_use=yes
48781 else
48782   echo "$as_me: failed program was:" >&5
48783 sed 's/^/| /' conftest.$ac_ext >&5
48784
48785 glibcxx_cv_func___builtin_fabsl_use=no
48786 fi
48787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48788       ac_ext=c
48789 ac_cpp='$CPP $CPPFLAGS'
48790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48793
48794
48795 fi
48796
48797   fi
48798   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
48799 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
48800   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
48801     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
48802 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
48803     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
48804       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
48805   echo $ECHO_N "(cached) $ECHO_C" >&6
48806 else
48807
48808         if test x$gcc_no_link = xyes; then
48809   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48811    { (exit 1); exit 1; }; }
48812 fi
48813 cat >conftest.$ac_ext <<_ACEOF
48814 /* confdefs.h.  */
48815 _ACEOF
48816 cat confdefs.h >>conftest.$ac_ext
48817 cat >>conftest.$ac_ext <<_ACEOF
48818 /* end confdefs.h.  */
48819 #include <math.h>
48820 int
48821 main ()
48822 {
48823  __builtin_fabsl(0);
48824   ;
48825   return 0;
48826 }
48827 _ACEOF
48828 rm -f conftest.$ac_objext conftest$ac_exeext
48829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48830   (eval $ac_link) 2>conftest.er1
48831   ac_status=$?
48832   grep -v '^ *+' conftest.er1 >conftest.err
48833   rm -f conftest.er1
48834   cat conftest.err >&5
48835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48836   (exit $ac_status); } &&
48837          { ac_try='test -z "$ac_c_werror_flag"
48838                          || test ! -s conftest.err'
48839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48840   (eval $ac_try) 2>&5
48841   ac_status=$?
48842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48843   (exit $ac_status); }; } &&
48844          { ac_try='test -s conftest$ac_exeext'
48845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48846   (eval $ac_try) 2>&5
48847   ac_status=$?
48848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48849   (exit $ac_status); }; }; then
48850   glibcxx_cv_func___builtin_fabsl_link=yes
48851 else
48852   echo "$as_me: failed program was:" >&5
48853 sed 's/^/| /' conftest.$ac_ext >&5
48854
48855 glibcxx_cv_func___builtin_fabsl_link=no
48856 fi
48857 rm -f conftest.err conftest.$ac_objext \
48858       conftest$ac_exeext conftest.$ac_ext
48859
48860 fi
48861
48862     fi
48863     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
48864 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
48865     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
48866       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48867
48868 cat >>confdefs.h <<_ACEOF
48869 #define ${ac_tr_func} 1
48870 _ACEOF
48871
48872     fi
48873   fi
48874
48875
48876   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
48877 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
48878   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
48879     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
48880   echo $ECHO_N "(cached) $ECHO_C" >&6
48881 else
48882
48883
48884
48885       ac_ext=cc
48886 ac_cpp='$CXXCPP $CPPFLAGS'
48887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48890
48891       cat >conftest.$ac_ext <<_ACEOF
48892 /* confdefs.h.  */
48893 _ACEOF
48894 cat confdefs.h >>conftest.$ac_ext
48895 cat >>conftest.$ac_ext <<_ACEOF
48896 /* end confdefs.h.  */
48897 #include <math.h>
48898 int
48899 main ()
48900 {
48901  __builtin_labs(0);
48902   ;
48903   return 0;
48904 }
48905 _ACEOF
48906 rm -f conftest.$ac_objext
48907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48908   (eval $ac_compile) 2>conftest.er1
48909   ac_status=$?
48910   grep -v '^ *+' conftest.er1 >conftest.err
48911   rm -f conftest.er1
48912   cat conftest.err >&5
48913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48914   (exit $ac_status); } &&
48915          { ac_try='test -z "$ac_cxx_werror_flag"
48916                          || test ! -s conftest.err'
48917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48918   (eval $ac_try) 2>&5
48919   ac_status=$?
48920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48921   (exit $ac_status); }; } &&
48922          { ac_try='test -s conftest.$ac_objext'
48923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48924   (eval $ac_try) 2>&5
48925   ac_status=$?
48926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48927   (exit $ac_status); }; }; then
48928   glibcxx_cv_func___builtin_labs_use=yes
48929 else
48930   echo "$as_me: failed program was:" >&5
48931 sed 's/^/| /' conftest.$ac_ext >&5
48932
48933 glibcxx_cv_func___builtin_labs_use=no
48934 fi
48935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48936       ac_ext=c
48937 ac_cpp='$CPP $CPPFLAGS'
48938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48941
48942
48943 fi
48944
48945   fi
48946   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
48947 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
48948   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
48949     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
48950 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
48951     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
48952       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
48953   echo $ECHO_N "(cached) $ECHO_C" >&6
48954 else
48955
48956         if test x$gcc_no_link = xyes; then
48957   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48959    { (exit 1); exit 1; }; }
48960 fi
48961 cat >conftest.$ac_ext <<_ACEOF
48962 /* confdefs.h.  */
48963 _ACEOF
48964 cat confdefs.h >>conftest.$ac_ext
48965 cat >>conftest.$ac_ext <<_ACEOF
48966 /* end confdefs.h.  */
48967 #include <math.h>
48968 int
48969 main ()
48970 {
48971  __builtin_labs(0);
48972   ;
48973   return 0;
48974 }
48975 _ACEOF
48976 rm -f conftest.$ac_objext conftest$ac_exeext
48977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48978   (eval $ac_link) 2>conftest.er1
48979   ac_status=$?
48980   grep -v '^ *+' conftest.er1 >conftest.err
48981   rm -f conftest.er1
48982   cat conftest.err >&5
48983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48984   (exit $ac_status); } &&
48985          { ac_try='test -z "$ac_c_werror_flag"
48986                          || test ! -s conftest.err'
48987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48988   (eval $ac_try) 2>&5
48989   ac_status=$?
48990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48991   (exit $ac_status); }; } &&
48992          { ac_try='test -s conftest$ac_exeext'
48993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48994   (eval $ac_try) 2>&5
48995   ac_status=$?
48996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48997   (exit $ac_status); }; }; then
48998   glibcxx_cv_func___builtin_labs_link=yes
48999 else
49000   echo "$as_me: failed program was:" >&5
49001 sed 's/^/| /' conftest.$ac_ext >&5
49002
49003 glibcxx_cv_func___builtin_labs_link=no
49004 fi
49005 rm -f conftest.err conftest.$ac_objext \
49006       conftest$ac_exeext conftest.$ac_ext
49007
49008 fi
49009
49010     fi
49011     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
49012 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
49013     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
49014       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49015
49016 cat >>confdefs.h <<_ACEOF
49017 #define ${ac_tr_func} 1
49018 _ACEOF
49019
49020     fi
49021   fi
49022
49023
49024
49025   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
49026 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
49027   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
49028     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
49029   echo $ECHO_N "(cached) $ECHO_C" >&6
49030 else
49031
49032
49033
49034       ac_ext=cc
49035 ac_cpp='$CXXCPP $CPPFLAGS'
49036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49039
49040       cat >conftest.$ac_ext <<_ACEOF
49041 /* confdefs.h.  */
49042 _ACEOF
49043 cat confdefs.h >>conftest.$ac_ext
49044 cat >>conftest.$ac_ext <<_ACEOF
49045 /* end confdefs.h.  */
49046 #include <math.h>
49047 int
49048 main ()
49049 {
49050  __builtin_sqrtf(0);
49051   ;
49052   return 0;
49053 }
49054 _ACEOF
49055 rm -f conftest.$ac_objext
49056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49057   (eval $ac_compile) 2>conftest.er1
49058   ac_status=$?
49059   grep -v '^ *+' conftest.er1 >conftest.err
49060   rm -f conftest.er1
49061   cat conftest.err >&5
49062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49063   (exit $ac_status); } &&
49064          { ac_try='test -z "$ac_cxx_werror_flag"
49065                          || test ! -s conftest.err'
49066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49067   (eval $ac_try) 2>&5
49068   ac_status=$?
49069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49070   (exit $ac_status); }; } &&
49071          { ac_try='test -s conftest.$ac_objext'
49072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49073   (eval $ac_try) 2>&5
49074   ac_status=$?
49075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49076   (exit $ac_status); }; }; then
49077   glibcxx_cv_func___builtin_sqrtf_use=yes
49078 else
49079   echo "$as_me: failed program was:" >&5
49080 sed 's/^/| /' conftest.$ac_ext >&5
49081
49082 glibcxx_cv_func___builtin_sqrtf_use=no
49083 fi
49084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49085       ac_ext=c
49086 ac_cpp='$CPP $CPPFLAGS'
49087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49090
49091
49092 fi
49093
49094   fi
49095   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
49096 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
49097   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
49098     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
49099 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
49100     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
49101       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
49102   echo $ECHO_N "(cached) $ECHO_C" >&6
49103 else
49104
49105         if test x$gcc_no_link = xyes; then
49106   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49108    { (exit 1); exit 1; }; }
49109 fi
49110 cat >conftest.$ac_ext <<_ACEOF
49111 /* confdefs.h.  */
49112 _ACEOF
49113 cat confdefs.h >>conftest.$ac_ext
49114 cat >>conftest.$ac_ext <<_ACEOF
49115 /* end confdefs.h.  */
49116 #include <math.h>
49117 int
49118 main ()
49119 {
49120  __builtin_sqrtf(0);
49121   ;
49122   return 0;
49123 }
49124 _ACEOF
49125 rm -f conftest.$ac_objext conftest$ac_exeext
49126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49127   (eval $ac_link) 2>conftest.er1
49128   ac_status=$?
49129   grep -v '^ *+' conftest.er1 >conftest.err
49130   rm -f conftest.er1
49131   cat conftest.err >&5
49132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49133   (exit $ac_status); } &&
49134          { ac_try='test -z "$ac_c_werror_flag"
49135                          || test ! -s conftest.err'
49136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49137   (eval $ac_try) 2>&5
49138   ac_status=$?
49139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49140   (exit $ac_status); }; } &&
49141          { ac_try='test -s conftest$ac_exeext'
49142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49143   (eval $ac_try) 2>&5
49144   ac_status=$?
49145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49146   (exit $ac_status); }; }; then
49147   glibcxx_cv_func___builtin_sqrtf_link=yes
49148 else
49149   echo "$as_me: failed program was:" >&5
49150 sed 's/^/| /' conftest.$ac_ext >&5
49151
49152 glibcxx_cv_func___builtin_sqrtf_link=no
49153 fi
49154 rm -f conftest.err conftest.$ac_objext \
49155       conftest$ac_exeext conftest.$ac_ext
49156
49157 fi
49158
49159     fi
49160     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
49161 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
49162     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
49163       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49164
49165 cat >>confdefs.h <<_ACEOF
49166 #define ${ac_tr_func} 1
49167 _ACEOF
49168
49169     fi
49170   fi
49171
49172
49173   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
49174 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
49175   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
49176     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
49177   echo $ECHO_N "(cached) $ECHO_C" >&6
49178 else
49179
49180
49181
49182       ac_ext=cc
49183 ac_cpp='$CXXCPP $CPPFLAGS'
49184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49187
49188       cat >conftest.$ac_ext <<_ACEOF
49189 /* confdefs.h.  */
49190 _ACEOF
49191 cat confdefs.h >>conftest.$ac_ext
49192 cat >>conftest.$ac_ext <<_ACEOF
49193 /* end confdefs.h.  */
49194 #include <math.h>
49195 int
49196 main ()
49197 {
49198  __builtin_sqrt(0);
49199   ;
49200   return 0;
49201 }
49202 _ACEOF
49203 rm -f conftest.$ac_objext
49204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49205   (eval $ac_compile) 2>conftest.er1
49206   ac_status=$?
49207   grep -v '^ *+' conftest.er1 >conftest.err
49208   rm -f conftest.er1
49209   cat conftest.err >&5
49210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49211   (exit $ac_status); } &&
49212          { ac_try='test -z "$ac_cxx_werror_flag"
49213                          || test ! -s conftest.err'
49214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49215   (eval $ac_try) 2>&5
49216   ac_status=$?
49217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49218   (exit $ac_status); }; } &&
49219          { ac_try='test -s conftest.$ac_objext'
49220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49221   (eval $ac_try) 2>&5
49222   ac_status=$?
49223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49224   (exit $ac_status); }; }; then
49225   glibcxx_cv_func___builtin_sqrt_use=yes
49226 else
49227   echo "$as_me: failed program was:" >&5
49228 sed 's/^/| /' conftest.$ac_ext >&5
49229
49230 glibcxx_cv_func___builtin_sqrt_use=no
49231 fi
49232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49233       ac_ext=c
49234 ac_cpp='$CPP $CPPFLAGS'
49235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49238
49239
49240 fi
49241
49242   fi
49243   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
49244 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
49245   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
49246     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
49247 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
49248     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
49249       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
49250   echo $ECHO_N "(cached) $ECHO_C" >&6
49251 else
49252
49253         if test x$gcc_no_link = xyes; then
49254   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49256    { (exit 1); exit 1; }; }
49257 fi
49258 cat >conftest.$ac_ext <<_ACEOF
49259 /* confdefs.h.  */
49260 _ACEOF
49261 cat confdefs.h >>conftest.$ac_ext
49262 cat >>conftest.$ac_ext <<_ACEOF
49263 /* end confdefs.h.  */
49264 #include <math.h>
49265 int
49266 main ()
49267 {
49268  __builtin_sqrt(0);
49269   ;
49270   return 0;
49271 }
49272 _ACEOF
49273 rm -f conftest.$ac_objext conftest$ac_exeext
49274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49275   (eval $ac_link) 2>conftest.er1
49276   ac_status=$?
49277   grep -v '^ *+' conftest.er1 >conftest.err
49278   rm -f conftest.er1
49279   cat conftest.err >&5
49280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49281   (exit $ac_status); } &&
49282          { ac_try='test -z "$ac_c_werror_flag"
49283                          || test ! -s conftest.err'
49284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49285   (eval $ac_try) 2>&5
49286   ac_status=$?
49287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49288   (exit $ac_status); }; } &&
49289          { ac_try='test -s conftest$ac_exeext'
49290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49291   (eval $ac_try) 2>&5
49292   ac_status=$?
49293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49294   (exit $ac_status); }; }; then
49295   glibcxx_cv_func___builtin_sqrt_link=yes
49296 else
49297   echo "$as_me: failed program was:" >&5
49298 sed 's/^/| /' conftest.$ac_ext >&5
49299
49300 glibcxx_cv_func___builtin_sqrt_link=no
49301 fi
49302 rm -f conftest.err conftest.$ac_objext \
49303       conftest$ac_exeext conftest.$ac_ext
49304
49305 fi
49306
49307     fi
49308     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
49309 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
49310     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
49311       ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49312
49313 cat >>confdefs.h <<_ACEOF
49314 #define ${ac_tr_func} 1
49315 _ACEOF
49316
49317     fi
49318   fi
49319
49320
49321   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
49322 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
49323   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
49324     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
49325   echo $ECHO_N "(cached) $ECHO_C" >&6
49326 else
49327
49328
49329
49330       ac_ext=cc
49331 ac_cpp='$CXXCPP $CPPFLAGS'
49332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49335
49336       cat >conftest.$ac_ext <<_ACEOF
49337 /* confdefs.h.  */
49338 _ACEOF
49339 cat confdefs.h >>conftest.$ac_ext
49340 cat >>conftest.$ac_ext <<_ACEOF
49341 /* end confdefs.h.  */
49342 #include <math.h>
49343 int
49344 main ()
49345 {
49346  __builtin_sqrtl(0);
49347   ;
49348   return 0;
49349 }
49350 _ACEOF
49351 rm -f conftest.$ac_objext
49352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49353   (eval $ac_compile) 2>conftest.er1
49354   ac_status=$?
49355   grep -v '^ *+' conftest.er1 >conftest.err
49356   rm -f conftest.er1
49357   cat conftest.err >&5
49358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49359   (exit $ac_status); } &&
49360          { ac_try='test -z "$ac_cxx_werror_flag"
49361                          || test ! -s conftest.err'
49362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49363   (eval $ac_try) 2>&5
49364   ac_status=$?
49365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49366   (exit $ac_status); }; } &&
49367          { ac_try='test -s conftest.$ac_objext'
49368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49369   (eval $ac_try) 2>&5
49370   ac_status=$?
49371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49372   (exit $ac_status); }; }; then
49373   glibcxx_cv_func___builtin_sqrtl_use=yes
49374 else
49375   echo "$as_me: failed program was:" >&5
49376 sed 's/^/| /' conftest.$ac_ext >&5
49377
49378 glibcxx_cv_func___builtin_sqrtl_use=no
49379 fi
49380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49381       ac_ext=c
49382 ac_cpp='$CPP $CPPFLAGS'
49383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49386
49387
49388 fi
49389
49390   fi
49391   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
49392 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
49393   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
49394     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
49395 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
49396     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
49397       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
49398   echo $ECHO_N "(cached) $ECHO_C" >&6
49399 else
49400
49401         if test x$gcc_no_link = xyes; then
49402   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49404    { (exit 1); exit 1; }; }
49405 fi
49406 cat >conftest.$ac_ext <<_ACEOF
49407 /* confdefs.h.  */
49408 _ACEOF
49409 cat confdefs.h >>conftest.$ac_ext
49410 cat >>conftest.$ac_ext <<_ACEOF
49411 /* end confdefs.h.  */
49412 #include <math.h>
49413 int
49414 main ()
49415 {
49416  __builtin_sqrtl(0);
49417   ;
49418   return 0;
49419 }
49420 _ACEOF
49421 rm -f conftest.$ac_objext conftest$ac_exeext
49422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49423   (eval $ac_link) 2>conftest.er1
49424   ac_status=$?
49425   grep -v '^ *+' conftest.er1 >conftest.err
49426   rm -f conftest.er1
49427   cat conftest.err >&5
49428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49429   (exit $ac_status); } &&
49430          { ac_try='test -z "$ac_c_werror_flag"
49431                          || test ! -s conftest.err'
49432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49433   (eval $ac_try) 2>&5
49434   ac_status=$?
49435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49436   (exit $ac_status); }; } &&
49437          { ac_try='test -s conftest$ac_exeext'
49438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49439   (eval $ac_try) 2>&5
49440   ac_status=$?
49441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49442   (exit $ac_status); }; }; then
49443   glibcxx_cv_func___builtin_sqrtl_link=yes
49444 else
49445   echo "$as_me: failed program was:" >&5
49446 sed 's/^/| /' conftest.$ac_ext >&5
49447
49448 glibcxx_cv_func___builtin_sqrtl_link=no
49449 fi
49450 rm -f conftest.err conftest.$ac_objext \
49451       conftest$ac_exeext conftest.$ac_ext
49452
49453 fi
49454
49455     fi
49456     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
49457 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
49458     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
49459       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49460
49461 cat >>confdefs.h <<_ACEOF
49462 #define ${ac_tr_func} 1
49463 _ACEOF
49464
49465     fi
49466   fi
49467
49468
49469
49470   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
49471 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
49472   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
49473     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
49474   echo $ECHO_N "(cached) $ECHO_C" >&6
49475 else
49476
49477
49478
49479       ac_ext=cc
49480 ac_cpp='$CXXCPP $CPPFLAGS'
49481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49484
49485       cat >conftest.$ac_ext <<_ACEOF
49486 /* confdefs.h.  */
49487 _ACEOF
49488 cat confdefs.h >>conftest.$ac_ext
49489 cat >>conftest.$ac_ext <<_ACEOF
49490 /* end confdefs.h.  */
49491 #include <math.h>
49492 int
49493 main ()
49494 {
49495  __builtin_sinf(0);
49496   ;
49497   return 0;
49498 }
49499 _ACEOF
49500 rm -f conftest.$ac_objext
49501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49502   (eval $ac_compile) 2>conftest.er1
49503   ac_status=$?
49504   grep -v '^ *+' conftest.er1 >conftest.err
49505   rm -f conftest.er1
49506   cat conftest.err >&5
49507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49508   (exit $ac_status); } &&
49509          { ac_try='test -z "$ac_cxx_werror_flag"
49510                          || test ! -s conftest.err'
49511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49512   (eval $ac_try) 2>&5
49513   ac_status=$?
49514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49515   (exit $ac_status); }; } &&
49516          { ac_try='test -s conftest.$ac_objext'
49517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49518   (eval $ac_try) 2>&5
49519   ac_status=$?
49520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49521   (exit $ac_status); }; }; then
49522   glibcxx_cv_func___builtin_sinf_use=yes
49523 else
49524   echo "$as_me: failed program was:" >&5
49525 sed 's/^/| /' conftest.$ac_ext >&5
49526
49527 glibcxx_cv_func___builtin_sinf_use=no
49528 fi
49529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49530       ac_ext=c
49531 ac_cpp='$CPP $CPPFLAGS'
49532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49535
49536
49537 fi
49538
49539   fi
49540   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
49541 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
49542   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
49543     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
49544 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
49545     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
49546       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
49547   echo $ECHO_N "(cached) $ECHO_C" >&6
49548 else
49549
49550         if test x$gcc_no_link = xyes; then
49551   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49553    { (exit 1); exit 1; }; }
49554 fi
49555 cat >conftest.$ac_ext <<_ACEOF
49556 /* confdefs.h.  */
49557 _ACEOF
49558 cat confdefs.h >>conftest.$ac_ext
49559 cat >>conftest.$ac_ext <<_ACEOF
49560 /* end confdefs.h.  */
49561 #include <math.h>
49562 int
49563 main ()
49564 {
49565  __builtin_sinf(0);
49566   ;
49567   return 0;
49568 }
49569 _ACEOF
49570 rm -f conftest.$ac_objext conftest$ac_exeext
49571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49572   (eval $ac_link) 2>conftest.er1
49573   ac_status=$?
49574   grep -v '^ *+' conftest.er1 >conftest.err
49575   rm -f conftest.er1
49576   cat conftest.err >&5
49577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49578   (exit $ac_status); } &&
49579          { ac_try='test -z "$ac_c_werror_flag"
49580                          || test ! -s conftest.err'
49581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49582   (eval $ac_try) 2>&5
49583   ac_status=$?
49584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49585   (exit $ac_status); }; } &&
49586          { ac_try='test -s conftest$ac_exeext'
49587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49588   (eval $ac_try) 2>&5
49589   ac_status=$?
49590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49591   (exit $ac_status); }; }; then
49592   glibcxx_cv_func___builtin_sinf_link=yes
49593 else
49594   echo "$as_me: failed program was:" >&5
49595 sed 's/^/| /' conftest.$ac_ext >&5
49596
49597 glibcxx_cv_func___builtin_sinf_link=no
49598 fi
49599 rm -f conftest.err conftest.$ac_objext \
49600       conftest$ac_exeext conftest.$ac_ext
49601
49602 fi
49603
49604     fi
49605     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
49606 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
49607     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
49608       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49609
49610 cat >>confdefs.h <<_ACEOF
49611 #define ${ac_tr_func} 1
49612 _ACEOF
49613
49614     fi
49615   fi
49616
49617
49618   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
49619 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
49620   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
49621     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
49622   echo $ECHO_N "(cached) $ECHO_C" >&6
49623 else
49624
49625
49626
49627       ac_ext=cc
49628 ac_cpp='$CXXCPP $CPPFLAGS'
49629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49632
49633       cat >conftest.$ac_ext <<_ACEOF
49634 /* confdefs.h.  */
49635 _ACEOF
49636 cat confdefs.h >>conftest.$ac_ext
49637 cat >>conftest.$ac_ext <<_ACEOF
49638 /* end confdefs.h.  */
49639 #include <math.h>
49640 int
49641 main ()
49642 {
49643  __builtin_sin(0);
49644   ;
49645   return 0;
49646 }
49647 _ACEOF
49648 rm -f conftest.$ac_objext
49649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49650   (eval $ac_compile) 2>conftest.er1
49651   ac_status=$?
49652   grep -v '^ *+' conftest.er1 >conftest.err
49653   rm -f conftest.er1
49654   cat conftest.err >&5
49655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49656   (exit $ac_status); } &&
49657          { ac_try='test -z "$ac_cxx_werror_flag"
49658                          || test ! -s conftest.err'
49659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49660   (eval $ac_try) 2>&5
49661   ac_status=$?
49662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49663   (exit $ac_status); }; } &&
49664          { ac_try='test -s conftest.$ac_objext'
49665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49666   (eval $ac_try) 2>&5
49667   ac_status=$?
49668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49669   (exit $ac_status); }; }; then
49670   glibcxx_cv_func___builtin_sin_use=yes
49671 else
49672   echo "$as_me: failed program was:" >&5
49673 sed 's/^/| /' conftest.$ac_ext >&5
49674
49675 glibcxx_cv_func___builtin_sin_use=no
49676 fi
49677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49678       ac_ext=c
49679 ac_cpp='$CPP $CPPFLAGS'
49680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49683
49684
49685 fi
49686
49687   fi
49688   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
49689 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
49690   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
49691     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
49692 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
49693     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
49694       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
49695   echo $ECHO_N "(cached) $ECHO_C" >&6
49696 else
49697
49698         if test x$gcc_no_link = xyes; then
49699   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49701    { (exit 1); exit 1; }; }
49702 fi
49703 cat >conftest.$ac_ext <<_ACEOF
49704 /* confdefs.h.  */
49705 _ACEOF
49706 cat confdefs.h >>conftest.$ac_ext
49707 cat >>conftest.$ac_ext <<_ACEOF
49708 /* end confdefs.h.  */
49709 #include <math.h>
49710 int
49711 main ()
49712 {
49713  __builtin_sin(0);
49714   ;
49715   return 0;
49716 }
49717 _ACEOF
49718 rm -f conftest.$ac_objext conftest$ac_exeext
49719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49720   (eval $ac_link) 2>conftest.er1
49721   ac_status=$?
49722   grep -v '^ *+' conftest.er1 >conftest.err
49723   rm -f conftest.er1
49724   cat conftest.err >&5
49725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49726   (exit $ac_status); } &&
49727          { ac_try='test -z "$ac_c_werror_flag"
49728                          || test ! -s conftest.err'
49729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49730   (eval $ac_try) 2>&5
49731   ac_status=$?
49732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49733   (exit $ac_status); }; } &&
49734          { ac_try='test -s conftest$ac_exeext'
49735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49736   (eval $ac_try) 2>&5
49737   ac_status=$?
49738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49739   (exit $ac_status); }; }; then
49740   glibcxx_cv_func___builtin_sin_link=yes
49741 else
49742   echo "$as_me: failed program was:" >&5
49743 sed 's/^/| /' conftest.$ac_ext >&5
49744
49745 glibcxx_cv_func___builtin_sin_link=no
49746 fi
49747 rm -f conftest.err conftest.$ac_objext \
49748       conftest$ac_exeext conftest.$ac_ext
49749
49750 fi
49751
49752     fi
49753     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
49754 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
49755     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
49756       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49757
49758 cat >>confdefs.h <<_ACEOF
49759 #define ${ac_tr_func} 1
49760 _ACEOF
49761
49762     fi
49763   fi
49764
49765
49766   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
49767 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
49768   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
49769     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
49770   echo $ECHO_N "(cached) $ECHO_C" >&6
49771 else
49772
49773
49774
49775       ac_ext=cc
49776 ac_cpp='$CXXCPP $CPPFLAGS'
49777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49780
49781       cat >conftest.$ac_ext <<_ACEOF
49782 /* confdefs.h.  */
49783 _ACEOF
49784 cat confdefs.h >>conftest.$ac_ext
49785 cat >>conftest.$ac_ext <<_ACEOF
49786 /* end confdefs.h.  */
49787 #include <math.h>
49788 int
49789 main ()
49790 {
49791  __builtin_sinl(0);
49792   ;
49793   return 0;
49794 }
49795 _ACEOF
49796 rm -f conftest.$ac_objext
49797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49798   (eval $ac_compile) 2>conftest.er1
49799   ac_status=$?
49800   grep -v '^ *+' conftest.er1 >conftest.err
49801   rm -f conftest.er1
49802   cat conftest.err >&5
49803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49804   (exit $ac_status); } &&
49805          { ac_try='test -z "$ac_cxx_werror_flag"
49806                          || test ! -s conftest.err'
49807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49808   (eval $ac_try) 2>&5
49809   ac_status=$?
49810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49811   (exit $ac_status); }; } &&
49812          { ac_try='test -s conftest.$ac_objext'
49813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49814   (eval $ac_try) 2>&5
49815   ac_status=$?
49816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49817   (exit $ac_status); }; }; then
49818   glibcxx_cv_func___builtin_sinl_use=yes
49819 else
49820   echo "$as_me: failed program was:" >&5
49821 sed 's/^/| /' conftest.$ac_ext >&5
49822
49823 glibcxx_cv_func___builtin_sinl_use=no
49824 fi
49825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49826       ac_ext=c
49827 ac_cpp='$CPP $CPPFLAGS'
49828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49831
49832
49833 fi
49834
49835   fi
49836   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
49837 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
49838   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
49839     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
49840 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
49841     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
49842       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
49843   echo $ECHO_N "(cached) $ECHO_C" >&6
49844 else
49845
49846         if test x$gcc_no_link = xyes; then
49847   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49849    { (exit 1); exit 1; }; }
49850 fi
49851 cat >conftest.$ac_ext <<_ACEOF
49852 /* confdefs.h.  */
49853 _ACEOF
49854 cat confdefs.h >>conftest.$ac_ext
49855 cat >>conftest.$ac_ext <<_ACEOF
49856 /* end confdefs.h.  */
49857 #include <math.h>
49858 int
49859 main ()
49860 {
49861  __builtin_sinl(0);
49862   ;
49863   return 0;
49864 }
49865 _ACEOF
49866 rm -f conftest.$ac_objext conftest$ac_exeext
49867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49868   (eval $ac_link) 2>conftest.er1
49869   ac_status=$?
49870   grep -v '^ *+' conftest.er1 >conftest.err
49871   rm -f conftest.er1
49872   cat conftest.err >&5
49873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49874   (exit $ac_status); } &&
49875          { ac_try='test -z "$ac_c_werror_flag"
49876                          || test ! -s conftest.err'
49877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49878   (eval $ac_try) 2>&5
49879   ac_status=$?
49880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49881   (exit $ac_status); }; } &&
49882          { ac_try='test -s conftest$ac_exeext'
49883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49884   (eval $ac_try) 2>&5
49885   ac_status=$?
49886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49887   (exit $ac_status); }; }; then
49888   glibcxx_cv_func___builtin_sinl_link=yes
49889 else
49890   echo "$as_me: failed program was:" >&5
49891 sed 's/^/| /' conftest.$ac_ext >&5
49892
49893 glibcxx_cv_func___builtin_sinl_link=no
49894 fi
49895 rm -f conftest.err conftest.$ac_objext \
49896       conftest$ac_exeext conftest.$ac_ext
49897
49898 fi
49899
49900     fi
49901     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
49902 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
49903     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
49904       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49905
49906 cat >>confdefs.h <<_ACEOF
49907 #define ${ac_tr_func} 1
49908 _ACEOF
49909
49910     fi
49911   fi
49912
49913
49914
49915   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
49916 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
49917   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
49918     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
49919   echo $ECHO_N "(cached) $ECHO_C" >&6
49920 else
49921
49922
49923
49924       ac_ext=cc
49925 ac_cpp='$CXXCPP $CPPFLAGS'
49926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49929
49930       cat >conftest.$ac_ext <<_ACEOF
49931 /* confdefs.h.  */
49932 _ACEOF
49933 cat confdefs.h >>conftest.$ac_ext
49934 cat >>conftest.$ac_ext <<_ACEOF
49935 /* end confdefs.h.  */
49936 #include <math.h>
49937 int
49938 main ()
49939 {
49940  __builtin_cosf(0);
49941   ;
49942   return 0;
49943 }
49944 _ACEOF
49945 rm -f conftest.$ac_objext
49946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49947   (eval $ac_compile) 2>conftest.er1
49948   ac_status=$?
49949   grep -v '^ *+' conftest.er1 >conftest.err
49950   rm -f conftest.er1
49951   cat conftest.err >&5
49952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49953   (exit $ac_status); } &&
49954          { ac_try='test -z "$ac_cxx_werror_flag"
49955                          || test ! -s conftest.err'
49956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49957   (eval $ac_try) 2>&5
49958   ac_status=$?
49959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49960   (exit $ac_status); }; } &&
49961          { ac_try='test -s conftest.$ac_objext'
49962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49963   (eval $ac_try) 2>&5
49964   ac_status=$?
49965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49966   (exit $ac_status); }; }; then
49967   glibcxx_cv_func___builtin_cosf_use=yes
49968 else
49969   echo "$as_me: failed program was:" >&5
49970 sed 's/^/| /' conftest.$ac_ext >&5
49971
49972 glibcxx_cv_func___builtin_cosf_use=no
49973 fi
49974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49975       ac_ext=c
49976 ac_cpp='$CPP $CPPFLAGS'
49977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49980
49981
49982 fi
49983
49984   fi
49985   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
49986 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
49987   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
49988     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
49989 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
49990     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
49991       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
49992   echo $ECHO_N "(cached) $ECHO_C" >&6
49993 else
49994
49995         if test x$gcc_no_link = xyes; then
49996   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49998    { (exit 1); exit 1; }; }
49999 fi
50000 cat >conftest.$ac_ext <<_ACEOF
50001 /* confdefs.h.  */
50002 _ACEOF
50003 cat confdefs.h >>conftest.$ac_ext
50004 cat >>conftest.$ac_ext <<_ACEOF
50005 /* end confdefs.h.  */
50006 #include <math.h>
50007 int
50008 main ()
50009 {
50010  __builtin_cosf(0);
50011   ;
50012   return 0;
50013 }
50014 _ACEOF
50015 rm -f conftest.$ac_objext conftest$ac_exeext
50016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50017   (eval $ac_link) 2>conftest.er1
50018   ac_status=$?
50019   grep -v '^ *+' conftest.er1 >conftest.err
50020   rm -f conftest.er1
50021   cat conftest.err >&5
50022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50023   (exit $ac_status); } &&
50024          { ac_try='test -z "$ac_c_werror_flag"
50025                          || test ! -s conftest.err'
50026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50027   (eval $ac_try) 2>&5
50028   ac_status=$?
50029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50030   (exit $ac_status); }; } &&
50031          { ac_try='test -s conftest$ac_exeext'
50032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50033   (eval $ac_try) 2>&5
50034   ac_status=$?
50035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50036   (exit $ac_status); }; }; then
50037   glibcxx_cv_func___builtin_cosf_link=yes
50038 else
50039   echo "$as_me: failed program was:" >&5
50040 sed 's/^/| /' conftest.$ac_ext >&5
50041
50042 glibcxx_cv_func___builtin_cosf_link=no
50043 fi
50044 rm -f conftest.err conftest.$ac_objext \
50045       conftest$ac_exeext conftest.$ac_ext
50046
50047 fi
50048
50049     fi
50050     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
50051 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
50052     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
50053       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50054
50055 cat >>confdefs.h <<_ACEOF
50056 #define ${ac_tr_func} 1
50057 _ACEOF
50058
50059     fi
50060   fi
50061
50062
50063   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
50064 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
50065   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
50066     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
50067   echo $ECHO_N "(cached) $ECHO_C" >&6
50068 else
50069
50070
50071
50072       ac_ext=cc
50073 ac_cpp='$CXXCPP $CPPFLAGS'
50074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50077
50078       cat >conftest.$ac_ext <<_ACEOF
50079 /* confdefs.h.  */
50080 _ACEOF
50081 cat confdefs.h >>conftest.$ac_ext
50082 cat >>conftest.$ac_ext <<_ACEOF
50083 /* end confdefs.h.  */
50084 #include <math.h>
50085 int
50086 main ()
50087 {
50088  __builtin_cos(0);
50089   ;
50090   return 0;
50091 }
50092 _ACEOF
50093 rm -f conftest.$ac_objext
50094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50095   (eval $ac_compile) 2>conftest.er1
50096   ac_status=$?
50097   grep -v '^ *+' conftest.er1 >conftest.err
50098   rm -f conftest.er1
50099   cat conftest.err >&5
50100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50101   (exit $ac_status); } &&
50102          { ac_try='test -z "$ac_cxx_werror_flag"
50103                          || test ! -s conftest.err'
50104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50105   (eval $ac_try) 2>&5
50106   ac_status=$?
50107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50108   (exit $ac_status); }; } &&
50109          { ac_try='test -s conftest.$ac_objext'
50110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50111   (eval $ac_try) 2>&5
50112   ac_status=$?
50113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50114   (exit $ac_status); }; }; then
50115   glibcxx_cv_func___builtin_cos_use=yes
50116 else
50117   echo "$as_me: failed program was:" >&5
50118 sed 's/^/| /' conftest.$ac_ext >&5
50119
50120 glibcxx_cv_func___builtin_cos_use=no
50121 fi
50122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50123       ac_ext=c
50124 ac_cpp='$CPP $CPPFLAGS'
50125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50128
50129
50130 fi
50131
50132   fi
50133   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
50134 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
50135   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
50136     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
50137 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
50138     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
50139       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
50140   echo $ECHO_N "(cached) $ECHO_C" >&6
50141 else
50142
50143         if test x$gcc_no_link = xyes; then
50144   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50146    { (exit 1); exit 1; }; }
50147 fi
50148 cat >conftest.$ac_ext <<_ACEOF
50149 /* confdefs.h.  */
50150 _ACEOF
50151 cat confdefs.h >>conftest.$ac_ext
50152 cat >>conftest.$ac_ext <<_ACEOF
50153 /* end confdefs.h.  */
50154 #include <math.h>
50155 int
50156 main ()
50157 {
50158  __builtin_cos(0);
50159   ;
50160   return 0;
50161 }
50162 _ACEOF
50163 rm -f conftest.$ac_objext conftest$ac_exeext
50164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50165   (eval $ac_link) 2>conftest.er1
50166   ac_status=$?
50167   grep -v '^ *+' conftest.er1 >conftest.err
50168   rm -f conftest.er1
50169   cat conftest.err >&5
50170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50171   (exit $ac_status); } &&
50172          { ac_try='test -z "$ac_c_werror_flag"
50173                          || test ! -s conftest.err'
50174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50175   (eval $ac_try) 2>&5
50176   ac_status=$?
50177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50178   (exit $ac_status); }; } &&
50179          { ac_try='test -s conftest$ac_exeext'
50180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50181   (eval $ac_try) 2>&5
50182   ac_status=$?
50183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50184   (exit $ac_status); }; }; then
50185   glibcxx_cv_func___builtin_cos_link=yes
50186 else
50187   echo "$as_me: failed program was:" >&5
50188 sed 's/^/| /' conftest.$ac_ext >&5
50189
50190 glibcxx_cv_func___builtin_cos_link=no
50191 fi
50192 rm -f conftest.err conftest.$ac_objext \
50193       conftest$ac_exeext conftest.$ac_ext
50194
50195 fi
50196
50197     fi
50198     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
50199 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
50200     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
50201       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50202
50203 cat >>confdefs.h <<_ACEOF
50204 #define ${ac_tr_func} 1
50205 _ACEOF
50206
50207     fi
50208   fi
50209
50210
50211   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
50212 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
50213   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
50214     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
50215   echo $ECHO_N "(cached) $ECHO_C" >&6
50216 else
50217
50218
50219
50220       ac_ext=cc
50221 ac_cpp='$CXXCPP $CPPFLAGS'
50222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50225
50226       cat >conftest.$ac_ext <<_ACEOF
50227 /* confdefs.h.  */
50228 _ACEOF
50229 cat confdefs.h >>conftest.$ac_ext
50230 cat >>conftest.$ac_ext <<_ACEOF
50231 /* end confdefs.h.  */
50232 #include <math.h>
50233 int
50234 main ()
50235 {
50236  __builtin_cosl(0);
50237   ;
50238   return 0;
50239 }
50240 _ACEOF
50241 rm -f conftest.$ac_objext
50242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50243   (eval $ac_compile) 2>conftest.er1
50244   ac_status=$?
50245   grep -v '^ *+' conftest.er1 >conftest.err
50246   rm -f conftest.er1
50247   cat conftest.err >&5
50248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50249   (exit $ac_status); } &&
50250          { ac_try='test -z "$ac_cxx_werror_flag"
50251                          || test ! -s conftest.err'
50252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50253   (eval $ac_try) 2>&5
50254   ac_status=$?
50255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50256   (exit $ac_status); }; } &&
50257          { ac_try='test -s conftest.$ac_objext'
50258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50259   (eval $ac_try) 2>&5
50260   ac_status=$?
50261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50262   (exit $ac_status); }; }; then
50263   glibcxx_cv_func___builtin_cosl_use=yes
50264 else
50265   echo "$as_me: failed program was:" >&5
50266 sed 's/^/| /' conftest.$ac_ext >&5
50267
50268 glibcxx_cv_func___builtin_cosl_use=no
50269 fi
50270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50271       ac_ext=c
50272 ac_cpp='$CPP $CPPFLAGS'
50273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50276
50277
50278 fi
50279
50280   fi
50281   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
50282 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
50283   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
50284     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
50285 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
50286     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
50287       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
50288   echo $ECHO_N "(cached) $ECHO_C" >&6
50289 else
50290
50291         if test x$gcc_no_link = xyes; then
50292   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50294    { (exit 1); exit 1; }; }
50295 fi
50296 cat >conftest.$ac_ext <<_ACEOF
50297 /* confdefs.h.  */
50298 _ACEOF
50299 cat confdefs.h >>conftest.$ac_ext
50300 cat >>conftest.$ac_ext <<_ACEOF
50301 /* end confdefs.h.  */
50302 #include <math.h>
50303 int
50304 main ()
50305 {
50306  __builtin_cosl(0);
50307   ;
50308   return 0;
50309 }
50310 _ACEOF
50311 rm -f conftest.$ac_objext conftest$ac_exeext
50312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50313   (eval $ac_link) 2>conftest.er1
50314   ac_status=$?
50315   grep -v '^ *+' conftest.er1 >conftest.err
50316   rm -f conftest.er1
50317   cat conftest.err >&5
50318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50319   (exit $ac_status); } &&
50320          { ac_try='test -z "$ac_c_werror_flag"
50321                          || test ! -s conftest.err'
50322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50323   (eval $ac_try) 2>&5
50324   ac_status=$?
50325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50326   (exit $ac_status); }; } &&
50327          { ac_try='test -s conftest$ac_exeext'
50328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50329   (eval $ac_try) 2>&5
50330   ac_status=$?
50331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50332   (exit $ac_status); }; }; then
50333   glibcxx_cv_func___builtin_cosl_link=yes
50334 else
50335   echo "$as_me: failed program was:" >&5
50336 sed 's/^/| /' conftest.$ac_ext >&5
50337
50338 glibcxx_cv_func___builtin_cosl_link=no
50339 fi
50340 rm -f conftest.err conftest.$ac_objext \
50341       conftest$ac_exeext conftest.$ac_ext
50342
50343 fi
50344
50345     fi
50346     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
50347 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
50348     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
50349       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50350
50351 cat >>confdefs.h <<_ACEOF
50352 #define ${ac_tr_func} 1
50353 _ACEOF
50354
50355     fi
50356   fi
50357
50358
50359
50360
50361 echo "$as_me:$LINENO: checking for main in -lm" >&5
50362 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
50363 if test "${ac_cv_lib_m_main+set}" = set; then
50364   echo $ECHO_N "(cached) $ECHO_C" >&6
50365 else
50366   ac_check_lib_save_LIBS=$LIBS
50367 LIBS="-lm  $LIBS"
50368 if test x$gcc_no_link = xyes; then
50369   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50371    { (exit 1); exit 1; }; }
50372 fi
50373 cat >conftest.$ac_ext <<_ACEOF
50374 /* confdefs.h.  */
50375 _ACEOF
50376 cat confdefs.h >>conftest.$ac_ext
50377 cat >>conftest.$ac_ext <<_ACEOF
50378 /* end confdefs.h.  */
50379
50380
50381 int
50382 main ()
50383 {
50384 main ();
50385   ;
50386   return 0;
50387 }
50388 _ACEOF
50389 rm -f conftest.$ac_objext conftest$ac_exeext
50390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50391   (eval $ac_link) 2>conftest.er1
50392   ac_status=$?
50393   grep -v '^ *+' conftest.er1 >conftest.err
50394   rm -f conftest.er1
50395   cat conftest.err >&5
50396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50397   (exit $ac_status); } &&
50398          { ac_try='test -z "$ac_c_werror_flag"
50399                          || test ! -s conftest.err'
50400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50401   (eval $ac_try) 2>&5
50402   ac_status=$?
50403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50404   (exit $ac_status); }; } &&
50405          { ac_try='test -s conftest$ac_exeext'
50406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50407   (eval $ac_try) 2>&5
50408   ac_status=$?
50409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50410   (exit $ac_status); }; }; then
50411   ac_cv_lib_m_main=yes
50412 else
50413   echo "$as_me: failed program was:" >&5
50414 sed 's/^/| /' conftest.$ac_ext >&5
50415
50416 ac_cv_lib_m_main=no
50417 fi
50418 rm -f conftest.err conftest.$ac_objext \
50419       conftest$ac_exeext conftest.$ac_ext
50420 LIBS=$ac_check_lib_save_LIBS
50421 fi
50422 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
50423 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
50424 if test $ac_cv_lib_m_main = yes; then
50425   cat >>confdefs.h <<_ACEOF
50426 #define HAVE_LIBM 1
50427 _ACEOF
50428
50429   LIBS="-lm $LIBS"
50430
50431 fi
50432
50433
50434 for ac_func in copysignf
50435 do
50436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50437 echo "$as_me:$LINENO: checking for $ac_func" >&5
50438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50439 if eval "test \"\${$as_ac_var+set}\" = set"; then
50440   echo $ECHO_N "(cached) $ECHO_C" >&6
50441 else
50442   if test x$gcc_no_link = xyes; then
50443   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50445    { (exit 1); exit 1; }; }
50446 fi
50447 cat >conftest.$ac_ext <<_ACEOF
50448 /* confdefs.h.  */
50449 _ACEOF
50450 cat confdefs.h >>conftest.$ac_ext
50451 cat >>conftest.$ac_ext <<_ACEOF
50452 /* end confdefs.h.  */
50453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50454    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50455 #define $ac_func innocuous_$ac_func
50456
50457 /* System header to define __stub macros and hopefully few prototypes,
50458     which can conflict with char $ac_func (); below.
50459     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50460     <limits.h> exists even on freestanding compilers.  */
50461
50462 #ifdef __STDC__
50463 # include <limits.h>
50464 #else
50465 # include <assert.h>
50466 #endif
50467
50468 #undef $ac_func
50469
50470 /* Override any gcc2 internal prototype to avoid an error.  */
50471 #ifdef __cplusplus
50472 extern "C"
50473 {
50474 #endif
50475 /* We use char because int might match the return type of a gcc2
50476    builtin and then its argument prototype would still apply.  */
50477 char $ac_func ();
50478 /* The GNU C library defines this for functions which it implements
50479     to always fail with ENOSYS.  Some functions are actually named
50480     something starting with __ and the normal name is an alias.  */
50481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50482 choke me
50483 #else
50484 char (*f) () = $ac_func;
50485 #endif
50486 #ifdef __cplusplus
50487 }
50488 #endif
50489
50490 int
50491 main ()
50492 {
50493 return f != $ac_func;
50494   ;
50495   return 0;
50496 }
50497 _ACEOF
50498 rm -f conftest.$ac_objext conftest$ac_exeext
50499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50500   (eval $ac_link) 2>conftest.er1
50501   ac_status=$?
50502   grep -v '^ *+' conftest.er1 >conftest.err
50503   rm -f conftest.er1
50504   cat conftest.err >&5
50505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50506   (exit $ac_status); } &&
50507          { ac_try='test -z "$ac_c_werror_flag"
50508                          || test ! -s conftest.err'
50509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50510   (eval $ac_try) 2>&5
50511   ac_status=$?
50512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50513   (exit $ac_status); }; } &&
50514          { ac_try='test -s conftest$ac_exeext'
50515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50516   (eval $ac_try) 2>&5
50517   ac_status=$?
50518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50519   (exit $ac_status); }; }; then
50520   eval "$as_ac_var=yes"
50521 else
50522   echo "$as_me: failed program was:" >&5
50523 sed 's/^/| /' conftest.$ac_ext >&5
50524
50525 eval "$as_ac_var=no"
50526 fi
50527 rm -f conftest.err conftest.$ac_objext \
50528       conftest$ac_exeext conftest.$ac_ext
50529 fi
50530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50532 if test `eval echo '${'$as_ac_var'}'` = yes; then
50533   cat >>confdefs.h <<_ACEOF
50534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50535 _ACEOF
50536
50537 else
50538   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
50539 fi
50540 done
50541
50542
50543
50544 for ac_func in __signbit
50545 do
50546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50547 echo "$as_me:$LINENO: checking for $ac_func" >&5
50548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50549 if eval "test \"\${$as_ac_var+set}\" = set"; then
50550   echo $ECHO_N "(cached) $ECHO_C" >&6
50551 else
50552   if test x$gcc_no_link = xyes; then
50553   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50555    { (exit 1); exit 1; }; }
50556 fi
50557 cat >conftest.$ac_ext <<_ACEOF
50558 /* confdefs.h.  */
50559 _ACEOF
50560 cat confdefs.h >>conftest.$ac_ext
50561 cat >>conftest.$ac_ext <<_ACEOF
50562 /* end confdefs.h.  */
50563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50564    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50565 #define $ac_func innocuous_$ac_func
50566
50567 /* System header to define __stub macros and hopefully few prototypes,
50568     which can conflict with char $ac_func (); below.
50569     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50570     <limits.h> exists even on freestanding compilers.  */
50571
50572 #ifdef __STDC__
50573 # include <limits.h>
50574 #else
50575 # include <assert.h>
50576 #endif
50577
50578 #undef $ac_func
50579
50580 /* Override any gcc2 internal prototype to avoid an error.  */
50581 #ifdef __cplusplus
50582 extern "C"
50583 {
50584 #endif
50585 /* We use char because int might match the return type of a gcc2
50586    builtin and then its argument prototype would still apply.  */
50587 char $ac_func ();
50588 /* The GNU C library defines this for functions which it implements
50589     to always fail with ENOSYS.  Some functions are actually named
50590     something starting with __ and the normal name is an alias.  */
50591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50592 choke me
50593 #else
50594 char (*f) () = $ac_func;
50595 #endif
50596 #ifdef __cplusplus
50597 }
50598 #endif
50599
50600 int
50601 main ()
50602 {
50603 return f != $ac_func;
50604   ;
50605   return 0;
50606 }
50607 _ACEOF
50608 rm -f conftest.$ac_objext conftest$ac_exeext
50609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50610   (eval $ac_link) 2>conftest.er1
50611   ac_status=$?
50612   grep -v '^ *+' conftest.er1 >conftest.err
50613   rm -f conftest.er1
50614   cat conftest.err >&5
50615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50616   (exit $ac_status); } &&
50617          { ac_try='test -z "$ac_c_werror_flag"
50618                          || test ! -s conftest.err'
50619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50620   (eval $ac_try) 2>&5
50621   ac_status=$?
50622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50623   (exit $ac_status); }; } &&
50624          { ac_try='test -s conftest$ac_exeext'
50625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50626   (eval $ac_try) 2>&5
50627   ac_status=$?
50628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50629   (exit $ac_status); }; }; then
50630   eval "$as_ac_var=yes"
50631 else
50632   echo "$as_me: failed program was:" >&5
50633 sed 's/^/| /' conftest.$ac_ext >&5
50634
50635 eval "$as_ac_var=no"
50636 fi
50637 rm -f conftest.err conftest.$ac_objext \
50638       conftest$ac_exeext conftest.$ac_ext
50639 fi
50640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50642 if test `eval echo '${'$as_ac_var'}'` = yes; then
50643   cat >>confdefs.h <<_ACEOF
50644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50645 _ACEOF
50646
50647 else
50648   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
50649 fi
50650 done
50651
50652
50653
50654 for ac_func in __signbitf
50655 do
50656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50657 echo "$as_me:$LINENO: checking for $ac_func" >&5
50658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50659 if eval "test \"\${$as_ac_var+set}\" = set"; then
50660   echo $ECHO_N "(cached) $ECHO_C" >&6
50661 else
50662   if test x$gcc_no_link = xyes; then
50663   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50665    { (exit 1); exit 1; }; }
50666 fi
50667 cat >conftest.$ac_ext <<_ACEOF
50668 /* confdefs.h.  */
50669 _ACEOF
50670 cat confdefs.h >>conftest.$ac_ext
50671 cat >>conftest.$ac_ext <<_ACEOF
50672 /* end confdefs.h.  */
50673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50674    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50675 #define $ac_func innocuous_$ac_func
50676
50677 /* System header to define __stub macros and hopefully few prototypes,
50678     which can conflict with char $ac_func (); below.
50679     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50680     <limits.h> exists even on freestanding compilers.  */
50681
50682 #ifdef __STDC__
50683 # include <limits.h>
50684 #else
50685 # include <assert.h>
50686 #endif
50687
50688 #undef $ac_func
50689
50690 /* Override any gcc2 internal prototype to avoid an error.  */
50691 #ifdef __cplusplus
50692 extern "C"
50693 {
50694 #endif
50695 /* We use char because int might match the return type of a gcc2
50696    builtin and then its argument prototype would still apply.  */
50697 char $ac_func ();
50698 /* The GNU C library defines this for functions which it implements
50699     to always fail with ENOSYS.  Some functions are actually named
50700     something starting with __ and the normal name is an alias.  */
50701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50702 choke me
50703 #else
50704 char (*f) () = $ac_func;
50705 #endif
50706 #ifdef __cplusplus
50707 }
50708 #endif
50709
50710 int
50711 main ()
50712 {
50713 return f != $ac_func;
50714   ;
50715   return 0;
50716 }
50717 _ACEOF
50718 rm -f conftest.$ac_objext conftest$ac_exeext
50719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50720   (eval $ac_link) 2>conftest.er1
50721   ac_status=$?
50722   grep -v '^ *+' conftest.er1 >conftest.err
50723   rm -f conftest.er1
50724   cat conftest.err >&5
50725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50726   (exit $ac_status); } &&
50727          { ac_try='test -z "$ac_c_werror_flag"
50728                          || test ! -s conftest.err'
50729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50730   (eval $ac_try) 2>&5
50731   ac_status=$?
50732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50733   (exit $ac_status); }; } &&
50734          { ac_try='test -s conftest$ac_exeext'
50735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50736   (eval $ac_try) 2>&5
50737   ac_status=$?
50738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50739   (exit $ac_status); }; }; then
50740   eval "$as_ac_var=yes"
50741 else
50742   echo "$as_me: failed program was:" >&5
50743 sed 's/^/| /' conftest.$ac_ext >&5
50744
50745 eval "$as_ac_var=no"
50746 fi
50747 rm -f conftest.err conftest.$ac_objext \
50748       conftest$ac_exeext conftest.$ac_ext
50749 fi
50750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50752 if test `eval echo '${'$as_ac_var'}'` = yes; then
50753   cat >>confdefs.h <<_ACEOF
50754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50755 _ACEOF
50756
50757 else
50758   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
50759 fi
50760 done
50761
50762
50763           if test x$ac_cv_func_copysignl = x"yes"; then
50764
50765 for ac_func in __signbitl
50766 do
50767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50768 echo "$as_me:$LINENO: checking for $ac_func" >&5
50769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50770 if eval "test \"\${$as_ac_var+set}\" = set"; then
50771   echo $ECHO_N "(cached) $ECHO_C" >&6
50772 else
50773   if test x$gcc_no_link = xyes; then
50774   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50776    { (exit 1); exit 1; }; }
50777 fi
50778 cat >conftest.$ac_ext <<_ACEOF
50779 /* confdefs.h.  */
50780 _ACEOF
50781 cat confdefs.h >>conftest.$ac_ext
50782 cat >>conftest.$ac_ext <<_ACEOF
50783 /* end confdefs.h.  */
50784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50785    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50786 #define $ac_func innocuous_$ac_func
50787
50788 /* System header to define __stub macros and hopefully few prototypes,
50789     which can conflict with char $ac_func (); below.
50790     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50791     <limits.h> exists even on freestanding compilers.  */
50792
50793 #ifdef __STDC__
50794 # include <limits.h>
50795 #else
50796 # include <assert.h>
50797 #endif
50798
50799 #undef $ac_func
50800
50801 /* Override any gcc2 internal prototype to avoid an error.  */
50802 #ifdef __cplusplus
50803 extern "C"
50804 {
50805 #endif
50806 /* We use char because int might match the return type of a gcc2
50807    builtin and then its argument prototype would still apply.  */
50808 char $ac_func ();
50809 /* The GNU C library defines this for functions which it implements
50810     to always fail with ENOSYS.  Some functions are actually named
50811     something starting with __ and the normal name is an alias.  */
50812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50813 choke me
50814 #else
50815 char (*f) () = $ac_func;
50816 #endif
50817 #ifdef __cplusplus
50818 }
50819 #endif
50820
50821 int
50822 main ()
50823 {
50824 return f != $ac_func;
50825   ;
50826   return 0;
50827 }
50828 _ACEOF
50829 rm -f conftest.$ac_objext conftest$ac_exeext
50830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50831   (eval $ac_link) 2>conftest.er1
50832   ac_status=$?
50833   grep -v '^ *+' conftest.er1 >conftest.err
50834   rm -f conftest.er1
50835   cat conftest.err >&5
50836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50837   (exit $ac_status); } &&
50838          { ac_try='test -z "$ac_c_werror_flag"
50839                          || test ! -s conftest.err'
50840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50841   (eval $ac_try) 2>&5
50842   ac_status=$?
50843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50844   (exit $ac_status); }; } &&
50845          { ac_try='test -s conftest$ac_exeext'
50846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50847   (eval $ac_try) 2>&5
50848   ac_status=$?
50849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50850   (exit $ac_status); }; }; then
50851   eval "$as_ac_var=yes"
50852 else
50853   echo "$as_me: failed program was:" >&5
50854 sed 's/^/| /' conftest.$ac_ext >&5
50855
50856 eval "$as_ac_var=no"
50857 fi
50858 rm -f conftest.err conftest.$ac_objext \
50859       conftest$ac_exeext conftest.$ac_ext
50860 fi
50861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50863 if test `eval echo '${'$as_ac_var'}'` = yes; then
50864   cat >>confdefs.h <<_ACEOF
50865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50866 _ACEOF
50867
50868 else
50869   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
50870 fi
50871 done
50872
50873   fi
50874
50875   # Used in libmath/Makefile.am.
50876   if test -n "$LIBMATHOBJS"; then
50877     need_libmath=yes
50878   fi
50879
50880
50881
50882   # Test wchar.h for mbstate_t, which is needed for char_traits and
50883   # others even if wchar_t support is not on.
50884   echo "$as_me:$LINENO: checking for mbstate_t" >&5
50885 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
50886   cat >conftest.$ac_ext <<_ACEOF
50887 /* confdefs.h.  */
50888 _ACEOF
50889 cat confdefs.h >>conftest.$ac_ext
50890 cat >>conftest.$ac_ext <<_ACEOF
50891 /* end confdefs.h.  */
50892 #include <wchar.h>
50893 int
50894 main ()
50895 {
50896 mbstate_t teststate;
50897   ;
50898   return 0;
50899 }
50900 _ACEOF
50901 rm -f conftest.$ac_objext
50902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50903   (eval $ac_compile) 2>conftest.er1
50904   ac_status=$?
50905   grep -v '^ *+' conftest.er1 >conftest.err
50906   rm -f conftest.er1
50907   cat conftest.err >&5
50908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50909   (exit $ac_status); } &&
50910          { ac_try='test -z "$ac_c_werror_flag"
50911                          || test ! -s conftest.err'
50912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50913   (eval $ac_try) 2>&5
50914   ac_status=$?
50915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50916   (exit $ac_status); }; } &&
50917          { ac_try='test -s conftest.$ac_objext'
50918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50919   (eval $ac_try) 2>&5
50920   ac_status=$?
50921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50922   (exit $ac_status); }; }; then
50923   have_mbstate_t=yes
50924 else
50925   echo "$as_me: failed program was:" >&5
50926 sed 's/^/| /' conftest.$ac_ext >&5
50927
50928 have_mbstate_t=no
50929 fi
50930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50931   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
50932 echo "${ECHO_T}$have_mbstate_t" >&6
50933   if test x"$have_mbstate_t" = xyes; then
50934     cat >>confdefs.h <<\_ACEOF
50935 #define HAVE_MBSTATE_T 1
50936 _ACEOF
50937
50938   fi
50939
50940   # Sanity check for existence of ISO C99 headers for extended encoding.
50941
50942 for ac_header in wchar.h
50943 do
50944 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
50945 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50946   echo "$as_me:$LINENO: checking for $ac_header" >&5
50947 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50948 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50949   echo $ECHO_N "(cached) $ECHO_C" >&6
50950 fi
50951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50952 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50953 else
50954   # Is the header compilable?
50955 echo "$as_me:$LINENO: checking $ac_header usability" >&5
50956 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
50957 cat >conftest.$ac_ext <<_ACEOF
50958 /* confdefs.h.  */
50959 _ACEOF
50960 cat confdefs.h >>conftest.$ac_ext
50961 cat >>conftest.$ac_ext <<_ACEOF
50962 /* end confdefs.h.  */
50963 $ac_includes_default
50964 #include <$ac_header>
50965 _ACEOF
50966 rm -f conftest.$ac_objext
50967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50968   (eval $ac_compile) 2>conftest.er1
50969   ac_status=$?
50970   grep -v '^ *+' conftest.er1 >conftest.err
50971   rm -f conftest.er1
50972   cat conftest.err >&5
50973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50974   (exit $ac_status); } &&
50975          { ac_try='test -z "$ac_c_werror_flag"
50976                          || test ! -s conftest.err'
50977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50978   (eval $ac_try) 2>&5
50979   ac_status=$?
50980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50981   (exit $ac_status); }; } &&
50982          { ac_try='test -s conftest.$ac_objext'
50983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50984   (eval $ac_try) 2>&5
50985   ac_status=$?
50986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50987   (exit $ac_status); }; }; then
50988   ac_header_compiler=yes
50989 else
50990   echo "$as_me: failed program was:" >&5
50991 sed 's/^/| /' conftest.$ac_ext >&5
50992
50993 ac_header_compiler=no
50994 fi
50995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50996 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50997 echo "${ECHO_T}$ac_header_compiler" >&6
50998
50999 # Is the header present?
51000 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51001 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51002 cat >conftest.$ac_ext <<_ACEOF
51003 /* confdefs.h.  */
51004 _ACEOF
51005 cat confdefs.h >>conftest.$ac_ext
51006 cat >>conftest.$ac_ext <<_ACEOF
51007 /* end confdefs.h.  */
51008 #include <$ac_header>
51009 _ACEOF
51010 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51011   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51012   ac_status=$?
51013   grep -v '^ *+' conftest.er1 >conftest.err
51014   rm -f conftest.er1
51015   cat conftest.err >&5
51016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51017   (exit $ac_status); } >/dev/null; then
51018   if test -s conftest.err; then
51019     ac_cpp_err=$ac_c_preproc_warn_flag
51020     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51021   else
51022     ac_cpp_err=
51023   fi
51024 else
51025   ac_cpp_err=yes
51026 fi
51027 if test -z "$ac_cpp_err"; then
51028   ac_header_preproc=yes
51029 else
51030   echo "$as_me: failed program was:" >&5
51031 sed 's/^/| /' conftest.$ac_ext >&5
51032
51033   ac_header_preproc=no
51034 fi
51035 rm -f conftest.err conftest.$ac_ext
51036 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51037 echo "${ECHO_T}$ac_header_preproc" >&6
51038
51039 # So?  What about this header?
51040 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51041   yes:no: )
51042     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51043 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51044     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51045 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51046     ac_header_preproc=yes
51047     ;;
51048   no:yes:* )
51049     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51050 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51051     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
51052 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
51053     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51054 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51055     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
51056 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
51057     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51058 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51059     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51060 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51061     (
51062       cat <<\_ASBOX
51063 ## ----------------------------------------- ##
51064 ## Report this to the package-unused lists.  ##
51065 ## ----------------------------------------- ##
51066 _ASBOX
51067     ) |
51068       sed "s/^/$as_me: WARNING:     /" >&2
51069     ;;
51070 esac
51071 echo "$as_me:$LINENO: checking for $ac_header" >&5
51072 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51074   echo $ECHO_N "(cached) $ECHO_C" >&6
51075 else
51076   eval "$as_ac_Header=\$ac_header_preproc"
51077 fi
51078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51079 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51080
51081 fi
51082 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51083   cat >>confdefs.h <<_ACEOF
51084 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51085 _ACEOF
51086  ac_has_wchar_h=yes
51087 else
51088   ac_has_wchar_h=no
51089 fi
51090
51091 done
51092
51093
51094 for ac_header in wctype.h
51095 do
51096 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51098   echo "$as_me:$LINENO: checking for $ac_header" >&5
51099 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51100 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51101   echo $ECHO_N "(cached) $ECHO_C" >&6
51102 fi
51103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51104 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51105 else
51106   # Is the header compilable?
51107 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51108 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51109 cat >conftest.$ac_ext <<_ACEOF
51110 /* confdefs.h.  */
51111 _ACEOF
51112 cat confdefs.h >>conftest.$ac_ext
51113 cat >>conftest.$ac_ext <<_ACEOF
51114 /* end confdefs.h.  */
51115 $ac_includes_default
51116 #include <$ac_header>
51117 _ACEOF
51118 rm -f conftest.$ac_objext
51119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51120   (eval $ac_compile) 2>conftest.er1
51121   ac_status=$?
51122   grep -v '^ *+' conftest.er1 >conftest.err
51123   rm -f conftest.er1
51124   cat conftest.err >&5
51125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51126   (exit $ac_status); } &&
51127          { ac_try='test -z "$ac_c_werror_flag"
51128                          || test ! -s conftest.err'
51129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51130   (eval $ac_try) 2>&5
51131   ac_status=$?
51132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51133   (exit $ac_status); }; } &&
51134          { ac_try='test -s conftest.$ac_objext'
51135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51136   (eval $ac_try) 2>&5
51137   ac_status=$?
51138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51139   (exit $ac_status); }; }; then
51140   ac_header_compiler=yes
51141 else
51142   echo "$as_me: failed program was:" >&5
51143 sed 's/^/| /' conftest.$ac_ext >&5
51144
51145 ac_header_compiler=no
51146 fi
51147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51148 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51149 echo "${ECHO_T}$ac_header_compiler" >&6
51150
51151 # Is the header present?
51152 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51153 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51154 cat >conftest.$ac_ext <<_ACEOF
51155 /* confdefs.h.  */
51156 _ACEOF
51157 cat confdefs.h >>conftest.$ac_ext
51158 cat >>conftest.$ac_ext <<_ACEOF
51159 /* end confdefs.h.  */
51160 #include <$ac_header>
51161 _ACEOF
51162 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51163   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51164   ac_status=$?
51165   grep -v '^ *+' conftest.er1 >conftest.err
51166   rm -f conftest.er1
51167   cat conftest.err >&5
51168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51169   (exit $ac_status); } >/dev/null; then
51170   if test -s conftest.err; then
51171     ac_cpp_err=$ac_c_preproc_warn_flag
51172     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51173   else
51174     ac_cpp_err=
51175   fi
51176 else
51177   ac_cpp_err=yes
51178 fi
51179 if test -z "$ac_cpp_err"; then
51180   ac_header_preproc=yes
51181 else
51182   echo "$as_me: failed program was:" >&5
51183 sed 's/^/| /' conftest.$ac_ext >&5
51184
51185   ac_header_preproc=no
51186 fi
51187 rm -f conftest.err conftest.$ac_ext
51188 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51189 echo "${ECHO_T}$ac_header_preproc" >&6
51190
51191 # So?  What about this header?
51192 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51193   yes:no: )
51194     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51195 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51196     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51197 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51198     ac_header_preproc=yes
51199     ;;
51200   no:yes:* )
51201     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51202 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51203     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
51204 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
51205     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51206 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51207     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
51208 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
51209     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51210 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51211     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51212 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51213     (
51214       cat <<\_ASBOX
51215 ## ----------------------------------------- ##
51216 ## Report this to the package-unused lists.  ##
51217 ## ----------------------------------------- ##
51218 _ASBOX
51219     ) |
51220       sed "s/^/$as_me: WARNING:     /" >&2
51221     ;;
51222 esac
51223 echo "$as_me:$LINENO: checking for $ac_header" >&5
51224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51226   echo $ECHO_N "(cached) $ECHO_C" >&6
51227 else
51228   eval "$as_ac_Header=\$ac_header_preproc"
51229 fi
51230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51231 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51232
51233 fi
51234 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51235   cat >>confdefs.h <<_ACEOF
51236 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51237 _ACEOF
51238  ac_has_wctype_h=yes
51239 else
51240   ac_has_wctype_h=no
51241 fi
51242
51243 done
51244
51245
51246   # Only continue checking if the ISO C99 headers exist and support is on.
51247   if test x"$ac_has_wchar_h" = xyes &&
51248      test x"$ac_has_wctype_h" = xyes &&
51249      test x"$enable_c_mbchar" != xno; then
51250
51251     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
51252     # numeric_limits can instantiate type_traits<wchar_t>
51253     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
51254 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
51255     cat >conftest.$ac_ext <<_ACEOF
51256 /* confdefs.h.  */
51257 _ACEOF
51258 cat confdefs.h >>conftest.$ac_ext
51259 cat >>conftest.$ac_ext <<_ACEOF
51260 /* end confdefs.h.  */
51261 #include <wchar.h>
51262 int
51263 main ()
51264 {
51265 int i = WCHAR_MIN; int j = WCHAR_MAX;
51266   ;
51267   return 0;
51268 }
51269 _ACEOF
51270 rm -f conftest.$ac_objext
51271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51272   (eval $ac_compile) 2>conftest.er1
51273   ac_status=$?
51274   grep -v '^ *+' conftest.er1 >conftest.err
51275   rm -f conftest.er1
51276   cat conftest.err >&5
51277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51278   (exit $ac_status); } &&
51279          { ac_try='test -z "$ac_c_werror_flag"
51280                          || test ! -s conftest.err'
51281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51282   (eval $ac_try) 2>&5
51283   ac_status=$?
51284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51285   (exit $ac_status); }; } &&
51286          { ac_try='test -s conftest.$ac_objext'
51287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51288   (eval $ac_try) 2>&5
51289   ac_status=$?
51290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51291   (exit $ac_status); }; }; then
51292   has_wchar_minmax=yes
51293 else
51294   echo "$as_me: failed program was:" >&5
51295 sed 's/^/| /' conftest.$ac_ext >&5
51296
51297 has_wchar_minmax=no
51298 fi
51299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51300     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
51301 echo "${ECHO_T}$has_wchar_minmax" >&6
51302
51303     # Test wchar.h for WEOF, which is what we use to determine whether
51304     # to specialize for char_traits<wchar_t> or not.
51305     echo "$as_me:$LINENO: checking for WEOF" >&5
51306 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
51307     cat >conftest.$ac_ext <<_ACEOF
51308 /* confdefs.h.  */
51309 _ACEOF
51310 cat confdefs.h >>conftest.$ac_ext
51311 cat >>conftest.$ac_ext <<_ACEOF
51312 /* end confdefs.h.  */
51313
51314       #include <wchar.h>
51315       #include <stddef.h>
51316 int
51317 main ()
51318 {
51319 wint_t i = WEOF;
51320   ;
51321   return 0;
51322 }
51323 _ACEOF
51324 rm -f conftest.$ac_objext
51325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51326   (eval $ac_compile) 2>conftest.er1
51327   ac_status=$?
51328   grep -v '^ *+' conftest.er1 >conftest.err
51329   rm -f conftest.er1
51330   cat conftest.err >&5
51331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51332   (exit $ac_status); } &&
51333          { ac_try='test -z "$ac_c_werror_flag"
51334                          || test ! -s conftest.err'
51335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51336   (eval $ac_try) 2>&5
51337   ac_status=$?
51338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51339   (exit $ac_status); }; } &&
51340          { ac_try='test -s conftest.$ac_objext'
51341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51342   (eval $ac_try) 2>&5
51343   ac_status=$?
51344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51345   (exit $ac_status); }; }; then
51346   has_weof=yes
51347 else
51348   echo "$as_me: failed program was:" >&5
51349 sed 's/^/| /' conftest.$ac_ext >&5
51350
51351 has_weof=no
51352 fi
51353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51354     echo "$as_me:$LINENO: result: $has_weof" >&5
51355 echo "${ECHO_T}$has_weof" >&6
51356
51357     # Tests for wide character functions used in char_traits<wchar_t>.
51358     ac_wfuncs=yes
51359
51360
51361
51362
51363
51364
51365 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
51366 do
51367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51368 echo "$as_me:$LINENO: checking for $ac_func" >&5
51369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51370 if eval "test \"\${$as_ac_var+set}\" = set"; then
51371   echo $ECHO_N "(cached) $ECHO_C" >&6
51372 else
51373   if test x$gcc_no_link = xyes; then
51374   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51376    { (exit 1); exit 1; }; }
51377 fi
51378 cat >conftest.$ac_ext <<_ACEOF
51379 /* confdefs.h.  */
51380 _ACEOF
51381 cat confdefs.h >>conftest.$ac_ext
51382 cat >>conftest.$ac_ext <<_ACEOF
51383 /* end confdefs.h.  */
51384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51385    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51386 #define $ac_func innocuous_$ac_func
51387
51388 /* System header to define __stub macros and hopefully few prototypes,
51389     which can conflict with char $ac_func (); below.
51390     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51391     <limits.h> exists even on freestanding compilers.  */
51392
51393 #ifdef __STDC__
51394 # include <limits.h>
51395 #else
51396 # include <assert.h>
51397 #endif
51398
51399 #undef $ac_func
51400
51401 /* Override any gcc2 internal prototype to avoid an error.  */
51402 #ifdef __cplusplus
51403 extern "C"
51404 {
51405 #endif
51406 /* We use char because int might match the return type of a gcc2
51407    builtin and then its argument prototype would still apply.  */
51408 char $ac_func ();
51409 /* The GNU C library defines this for functions which it implements
51410     to always fail with ENOSYS.  Some functions are actually named
51411     something starting with __ and the normal name is an alias.  */
51412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51413 choke me
51414 #else
51415 char (*f) () = $ac_func;
51416 #endif
51417 #ifdef __cplusplus
51418 }
51419 #endif
51420
51421 int
51422 main ()
51423 {
51424 return f != $ac_func;
51425   ;
51426   return 0;
51427 }
51428 _ACEOF
51429 rm -f conftest.$ac_objext conftest$ac_exeext
51430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51431   (eval $ac_link) 2>conftest.er1
51432   ac_status=$?
51433   grep -v '^ *+' conftest.er1 >conftest.err
51434   rm -f conftest.er1
51435   cat conftest.err >&5
51436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51437   (exit $ac_status); } &&
51438          { ac_try='test -z "$ac_c_werror_flag"
51439                          || test ! -s conftest.err'
51440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51441   (eval $ac_try) 2>&5
51442   ac_status=$?
51443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51444   (exit $ac_status); }; } &&
51445          { ac_try='test -s conftest$ac_exeext'
51446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51447   (eval $ac_try) 2>&5
51448   ac_status=$?
51449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51450   (exit $ac_status); }; }; then
51451   eval "$as_ac_var=yes"
51452 else
51453   echo "$as_me: failed program was:" >&5
51454 sed 's/^/| /' conftest.$ac_ext >&5
51455
51456 eval "$as_ac_var=no"
51457 fi
51458 rm -f conftest.err conftest.$ac_objext \
51459       conftest$ac_exeext conftest.$ac_ext
51460 fi
51461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51463 if test `eval echo '${'$as_ac_var'}'` = yes; then
51464   cat >>confdefs.h <<_ACEOF
51465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51466 _ACEOF
51467
51468 else
51469   ac_wfuncs=no
51470 fi
51471 done
51472
51473
51474     # Checks for names injected into std:: by the c_std headers.
51475
51476
51477
51478
51479
51480
51481
51482
51483
51484
51485
51486
51487
51488
51489
51490
51491
51492
51493
51494
51495
51496
51497
51498
51499
51500
51501
51502
51503
51504
51505
51506
51507
51508
51509
51510
51511
51512
51513
51514
51515
51516
51517
51518
51519
51520
51521 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
51522     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
51523     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
51524     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
51525     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
51526     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
51527 do
51528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51529 echo "$as_me:$LINENO: checking for $ac_func" >&5
51530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51531 if eval "test \"\${$as_ac_var+set}\" = set"; then
51532   echo $ECHO_N "(cached) $ECHO_C" >&6
51533 else
51534   if test x$gcc_no_link = xyes; then
51535   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51537    { (exit 1); exit 1; }; }
51538 fi
51539 cat >conftest.$ac_ext <<_ACEOF
51540 /* confdefs.h.  */
51541 _ACEOF
51542 cat confdefs.h >>conftest.$ac_ext
51543 cat >>conftest.$ac_ext <<_ACEOF
51544 /* end confdefs.h.  */
51545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51546    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51547 #define $ac_func innocuous_$ac_func
51548
51549 /* System header to define __stub macros and hopefully few prototypes,
51550     which can conflict with char $ac_func (); below.
51551     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51552     <limits.h> exists even on freestanding compilers.  */
51553
51554 #ifdef __STDC__
51555 # include <limits.h>
51556 #else
51557 # include <assert.h>
51558 #endif
51559
51560 #undef $ac_func
51561
51562 /* Override any gcc2 internal prototype to avoid an error.  */
51563 #ifdef __cplusplus
51564 extern "C"
51565 {
51566 #endif
51567 /* We use char because int might match the return type of a gcc2
51568    builtin and then its argument prototype would still apply.  */
51569 char $ac_func ();
51570 /* The GNU C library defines this for functions which it implements
51571     to always fail with ENOSYS.  Some functions are actually named
51572     something starting with __ and the normal name is an alias.  */
51573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51574 choke me
51575 #else
51576 char (*f) () = $ac_func;
51577 #endif
51578 #ifdef __cplusplus
51579 }
51580 #endif
51581
51582 int
51583 main ()
51584 {
51585 return f != $ac_func;
51586   ;
51587   return 0;
51588 }
51589 _ACEOF
51590 rm -f conftest.$ac_objext conftest$ac_exeext
51591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51592   (eval $ac_link) 2>conftest.er1
51593   ac_status=$?
51594   grep -v '^ *+' conftest.er1 >conftest.err
51595   rm -f conftest.er1
51596   cat conftest.err >&5
51597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51598   (exit $ac_status); } &&
51599          { ac_try='test -z "$ac_c_werror_flag"
51600                          || test ! -s conftest.err'
51601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51602   (eval $ac_try) 2>&5
51603   ac_status=$?
51604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51605   (exit $ac_status); }; } &&
51606          { ac_try='test -s conftest$ac_exeext'
51607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51608   (eval $ac_try) 2>&5
51609   ac_status=$?
51610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51611   (exit $ac_status); }; }; then
51612   eval "$as_ac_var=yes"
51613 else
51614   echo "$as_me: failed program was:" >&5
51615 sed 's/^/| /' conftest.$ac_ext >&5
51616
51617 eval "$as_ac_var=no"
51618 fi
51619 rm -f conftest.err conftest.$ac_objext \
51620       conftest$ac_exeext conftest.$ac_ext
51621 fi
51622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51624 if test `eval echo '${'$as_ac_var'}'` = yes; then
51625   cat >>confdefs.h <<_ACEOF
51626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51627 _ACEOF
51628
51629 else
51630   ac_wfuncs=no
51631 fi
51632 done
51633
51634
51635     # Checks for wide character functions that are not required
51636     # for basic wchar_t support.  Don't disable support if they are missing.
51637     # Injection of these is wrapped with guard macros.
51638
51639
51640
51641
51642
51643 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
51644 do
51645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51646 echo "$as_me:$LINENO: checking for $ac_func" >&5
51647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51648 if eval "test \"\${$as_ac_var+set}\" = set"; then
51649   echo $ECHO_N "(cached) $ECHO_C" >&6
51650 else
51651   if test x$gcc_no_link = xyes; then
51652   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51654    { (exit 1); exit 1; }; }
51655 fi
51656 cat >conftest.$ac_ext <<_ACEOF
51657 /* confdefs.h.  */
51658 _ACEOF
51659 cat confdefs.h >>conftest.$ac_ext
51660 cat >>conftest.$ac_ext <<_ACEOF
51661 /* end confdefs.h.  */
51662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51663    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51664 #define $ac_func innocuous_$ac_func
51665
51666 /* System header to define __stub macros and hopefully few prototypes,
51667     which can conflict with char $ac_func (); below.
51668     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51669     <limits.h> exists even on freestanding compilers.  */
51670
51671 #ifdef __STDC__
51672 # include <limits.h>
51673 #else
51674 # include <assert.h>
51675 #endif
51676
51677 #undef $ac_func
51678
51679 /* Override any gcc2 internal prototype to avoid an error.  */
51680 #ifdef __cplusplus
51681 extern "C"
51682 {
51683 #endif
51684 /* We use char because int might match the return type of a gcc2
51685    builtin and then its argument prototype would still apply.  */
51686 char $ac_func ();
51687 /* The GNU C library defines this for functions which it implements
51688     to always fail with ENOSYS.  Some functions are actually named
51689     something starting with __ and the normal name is an alias.  */
51690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51691 choke me
51692 #else
51693 char (*f) () = $ac_func;
51694 #endif
51695 #ifdef __cplusplus
51696 }
51697 #endif
51698
51699 int
51700 main ()
51701 {
51702 return f != $ac_func;
51703   ;
51704   return 0;
51705 }
51706 _ACEOF
51707 rm -f conftest.$ac_objext conftest$ac_exeext
51708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51709   (eval $ac_link) 2>conftest.er1
51710   ac_status=$?
51711   grep -v '^ *+' conftest.er1 >conftest.err
51712   rm -f conftest.er1
51713   cat conftest.err >&5
51714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51715   (exit $ac_status); } &&
51716          { ac_try='test -z "$ac_c_werror_flag"
51717                          || test ! -s conftest.err'
51718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51719   (eval $ac_try) 2>&5
51720   ac_status=$?
51721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51722   (exit $ac_status); }; } &&
51723          { ac_try='test -s conftest$ac_exeext'
51724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51725   (eval $ac_try) 2>&5
51726   ac_status=$?
51727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51728   (exit $ac_status); }; }; then
51729   eval "$as_ac_var=yes"
51730 else
51731   echo "$as_me: failed program was:" >&5
51732 sed 's/^/| /' conftest.$ac_ext >&5
51733
51734 eval "$as_ac_var=no"
51735 fi
51736 rm -f conftest.err conftest.$ac_objext \
51737       conftest$ac_exeext conftest.$ac_ext
51738 fi
51739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51741 if test `eval echo '${'$as_ac_var'}'` = yes; then
51742   cat >>confdefs.h <<_ACEOF
51743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51744 _ACEOF
51745
51746 fi
51747 done
51748
51749
51750     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
51751 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
51752     if test x"$has_weof" = xyes &&
51753        test x"$has_wchar_minmax" = xyes &&
51754        test x"$ac_wfuncs" = xyes;
51755     then
51756       ac_isoC99_wchar_t=yes
51757     else
51758       ac_isoC99_wchar_t=no
51759     fi
51760     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
51761 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
51762
51763     # Use iconv for wchar_t to char conversions. As such, check for
51764     # X/Open Portability Guide, version 2 features (XPG2).
51765     if test "${ac_cv_header_iconv_h+set}" = set; then
51766   echo "$as_me:$LINENO: checking for iconv.h" >&5
51767 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51768 if test "${ac_cv_header_iconv_h+set}" = set; then
51769   echo $ECHO_N "(cached) $ECHO_C" >&6
51770 fi
51771 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51772 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51773 else
51774   # Is the header compilable?
51775 echo "$as_me:$LINENO: checking iconv.h usability" >&5
51776 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
51777 cat >conftest.$ac_ext <<_ACEOF
51778 /* confdefs.h.  */
51779 _ACEOF
51780 cat confdefs.h >>conftest.$ac_ext
51781 cat >>conftest.$ac_ext <<_ACEOF
51782 /* end confdefs.h.  */
51783 $ac_includes_default
51784 #include <iconv.h>
51785 _ACEOF
51786 rm -f conftest.$ac_objext
51787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51788   (eval $ac_compile) 2>conftest.er1
51789   ac_status=$?
51790   grep -v '^ *+' conftest.er1 >conftest.err
51791   rm -f conftest.er1
51792   cat conftest.err >&5
51793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51794   (exit $ac_status); } &&
51795          { ac_try='test -z "$ac_c_werror_flag"
51796                          || test ! -s conftest.err'
51797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51798   (eval $ac_try) 2>&5
51799   ac_status=$?
51800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51801   (exit $ac_status); }; } &&
51802          { ac_try='test -s conftest.$ac_objext'
51803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51804   (eval $ac_try) 2>&5
51805   ac_status=$?
51806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51807   (exit $ac_status); }; }; then
51808   ac_header_compiler=yes
51809 else
51810   echo "$as_me: failed program was:" >&5
51811 sed 's/^/| /' conftest.$ac_ext >&5
51812
51813 ac_header_compiler=no
51814 fi
51815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51816 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51817 echo "${ECHO_T}$ac_header_compiler" >&6
51818
51819 # Is the header present?
51820 echo "$as_me:$LINENO: checking iconv.h presence" >&5
51821 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
51822 cat >conftest.$ac_ext <<_ACEOF
51823 /* confdefs.h.  */
51824 _ACEOF
51825 cat confdefs.h >>conftest.$ac_ext
51826 cat >>conftest.$ac_ext <<_ACEOF
51827 /* end confdefs.h.  */
51828 #include <iconv.h>
51829 _ACEOF
51830 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51831   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51832   ac_status=$?
51833   grep -v '^ *+' conftest.er1 >conftest.err
51834   rm -f conftest.er1
51835   cat conftest.err >&5
51836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51837   (exit $ac_status); } >/dev/null; then
51838   if test -s conftest.err; then
51839     ac_cpp_err=$ac_c_preproc_warn_flag
51840     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51841   else
51842     ac_cpp_err=
51843   fi
51844 else
51845   ac_cpp_err=yes
51846 fi
51847 if test -z "$ac_cpp_err"; then
51848   ac_header_preproc=yes
51849 else
51850   echo "$as_me: failed program was:" >&5
51851 sed 's/^/| /' conftest.$ac_ext >&5
51852
51853   ac_header_preproc=no
51854 fi
51855 rm -f conftest.err conftest.$ac_ext
51856 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51857 echo "${ECHO_T}$ac_header_preproc" >&6
51858
51859 # So?  What about this header?
51860 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51861   yes:no: )
51862     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
51863 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51864     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
51865 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
51866     ac_header_preproc=yes
51867     ;;
51868   no:yes:* )
51869     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
51870 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
51871     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
51872 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
51873     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
51874 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
51875     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
51876 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
51877     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
51878 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
51879     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
51880 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
51881     (
51882       cat <<\_ASBOX
51883 ## ----------------------------------------- ##
51884 ## Report this to the package-unused lists.  ##
51885 ## ----------------------------------------- ##
51886 _ASBOX
51887     ) |
51888       sed "s/^/$as_me: WARNING:     /" >&2
51889     ;;
51890 esac
51891 echo "$as_me:$LINENO: checking for iconv.h" >&5
51892 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51893 if test "${ac_cv_header_iconv_h+set}" = set; then
51894   echo $ECHO_N "(cached) $ECHO_C" >&6
51895 else
51896   ac_cv_header_iconv_h=$ac_header_preproc
51897 fi
51898 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51899 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51900
51901 fi
51902 if test $ac_cv_header_iconv_h = yes; then
51903   ac_has_iconv_h=yes
51904 else
51905   ac_has_iconv_h=no
51906 fi
51907
51908
51909     if test "${ac_cv_header_langinfo_h+set}" = set; then
51910   echo "$as_me:$LINENO: checking for langinfo.h" >&5
51911 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51912 if test "${ac_cv_header_langinfo_h+set}" = set; then
51913   echo $ECHO_N "(cached) $ECHO_C" >&6
51914 fi
51915 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51916 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51917 else
51918   # Is the header compilable?
51919 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
51920 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
51921 cat >conftest.$ac_ext <<_ACEOF
51922 /* confdefs.h.  */
51923 _ACEOF
51924 cat confdefs.h >>conftest.$ac_ext
51925 cat >>conftest.$ac_ext <<_ACEOF
51926 /* end confdefs.h.  */
51927 $ac_includes_default
51928 #include <langinfo.h>
51929 _ACEOF
51930 rm -f conftest.$ac_objext
51931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51932   (eval $ac_compile) 2>conftest.er1
51933   ac_status=$?
51934   grep -v '^ *+' conftest.er1 >conftest.err
51935   rm -f conftest.er1
51936   cat conftest.err >&5
51937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51938   (exit $ac_status); } &&
51939          { ac_try='test -z "$ac_c_werror_flag"
51940                          || test ! -s conftest.err'
51941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51942   (eval $ac_try) 2>&5
51943   ac_status=$?
51944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51945   (exit $ac_status); }; } &&
51946          { ac_try='test -s conftest.$ac_objext'
51947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51948   (eval $ac_try) 2>&5
51949   ac_status=$?
51950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51951   (exit $ac_status); }; }; then
51952   ac_header_compiler=yes
51953 else
51954   echo "$as_me: failed program was:" >&5
51955 sed 's/^/| /' conftest.$ac_ext >&5
51956
51957 ac_header_compiler=no
51958 fi
51959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51960 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51961 echo "${ECHO_T}$ac_header_compiler" >&6
51962
51963 # Is the header present?
51964 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
51965 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
51966 cat >conftest.$ac_ext <<_ACEOF
51967 /* confdefs.h.  */
51968 _ACEOF
51969 cat confdefs.h >>conftest.$ac_ext
51970 cat >>conftest.$ac_ext <<_ACEOF
51971 /* end confdefs.h.  */
51972 #include <langinfo.h>
51973 _ACEOF
51974 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51975   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51976   ac_status=$?
51977   grep -v '^ *+' conftest.er1 >conftest.err
51978   rm -f conftest.er1
51979   cat conftest.err >&5
51980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51981   (exit $ac_status); } >/dev/null; then
51982   if test -s conftest.err; then
51983     ac_cpp_err=$ac_c_preproc_warn_flag
51984     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51985   else
51986     ac_cpp_err=
51987   fi
51988 else
51989   ac_cpp_err=yes
51990 fi
51991 if test -z "$ac_cpp_err"; then
51992   ac_header_preproc=yes
51993 else
51994   echo "$as_me: failed program was:" >&5
51995 sed 's/^/| /' conftest.$ac_ext >&5
51996
51997   ac_header_preproc=no
51998 fi
51999 rm -f conftest.err conftest.$ac_ext
52000 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52001 echo "${ECHO_T}$ac_header_preproc" >&6
52002
52003 # So?  What about this header?
52004 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52005   yes:no: )
52006     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
52007 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52008     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
52009 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
52010     ac_header_preproc=yes
52011     ;;
52012   no:yes:* )
52013     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
52014 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
52015     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
52016 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
52017     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
52018 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
52019     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
52020 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
52021     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52022 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52023     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
52024 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
52025     (
52026       cat <<\_ASBOX
52027 ## ----------------------------------------- ##
52028 ## Report this to the package-unused lists.  ##
52029 ## ----------------------------------------- ##
52030 _ASBOX
52031     ) |
52032       sed "s/^/$as_me: WARNING:     /" >&2
52033     ;;
52034 esac
52035 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52036 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52037 if test "${ac_cv_header_langinfo_h+set}" = set; then
52038   echo $ECHO_N "(cached) $ECHO_C" >&6
52039 else
52040   ac_cv_header_langinfo_h=$ac_header_preproc
52041 fi
52042 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52043 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52044
52045 fi
52046 if test $ac_cv_header_langinfo_h = yes; then
52047   ac_has_langinfo_h=yes
52048 else
52049   ac_has_langinfo_h=no
52050 fi
52051
52052
52053
52054     # Check for existence of libiconv.a providing XPG2 wchar_t support.
52055     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
52056 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
52057 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
52058   echo $ECHO_N "(cached) $ECHO_C" >&6
52059 else
52060   ac_check_lib_save_LIBS=$LIBS
52061 LIBS="-liconv  $LIBS"
52062 if test x$gcc_no_link = xyes; then
52063   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52065    { (exit 1); exit 1; }; }
52066 fi
52067 cat >conftest.$ac_ext <<_ACEOF
52068 /* confdefs.h.  */
52069 _ACEOF
52070 cat confdefs.h >>conftest.$ac_ext
52071 cat >>conftest.$ac_ext <<_ACEOF
52072 /* end confdefs.h.  */
52073
52074 /* Override any gcc2 internal prototype to avoid an error.  */
52075 #ifdef __cplusplus
52076 extern "C"
52077 #endif
52078 /* We use char because int might match the return type of a gcc2
52079    builtin and then its argument prototype would still apply.  */
52080 char iconv ();
52081 int
52082 main ()
52083 {
52084 iconv ();
52085   ;
52086   return 0;
52087 }
52088 _ACEOF
52089 rm -f conftest.$ac_objext conftest$ac_exeext
52090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52091   (eval $ac_link) 2>conftest.er1
52092   ac_status=$?
52093   grep -v '^ *+' conftest.er1 >conftest.err
52094   rm -f conftest.er1
52095   cat conftest.err >&5
52096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52097   (exit $ac_status); } &&
52098          { ac_try='test -z "$ac_c_werror_flag"
52099                          || test ! -s conftest.err'
52100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52101   (eval $ac_try) 2>&5
52102   ac_status=$?
52103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52104   (exit $ac_status); }; } &&
52105          { ac_try='test -s conftest$ac_exeext'
52106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52107   (eval $ac_try) 2>&5
52108   ac_status=$?
52109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52110   (exit $ac_status); }; }; then
52111   ac_cv_lib_iconv_iconv=yes
52112 else
52113   echo "$as_me: failed program was:" >&5
52114 sed 's/^/| /' conftest.$ac_ext >&5
52115
52116 ac_cv_lib_iconv_iconv=no
52117 fi
52118 rm -f conftest.err conftest.$ac_objext \
52119       conftest$ac_exeext conftest.$ac_ext
52120 LIBS=$ac_check_lib_save_LIBS
52121 fi
52122 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
52123 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
52124 if test $ac_cv_lib_iconv_iconv = yes; then
52125   LIBICONV="-liconv"
52126 fi
52127
52128     ac_save_LIBS="$LIBS"
52129     LIBS="$LIBS $LIBICONV"
52130
52131
52132
52133
52134
52135
52136 for ac_func in iconv_open iconv_close iconv nl_langinfo
52137 do
52138 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52139 echo "$as_me:$LINENO: checking for $ac_func" >&5
52140 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52141 if eval "test \"\${$as_ac_var+set}\" = set"; then
52142   echo $ECHO_N "(cached) $ECHO_C" >&6
52143 else
52144   if test x$gcc_no_link = xyes; then
52145   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52147    { (exit 1); exit 1; }; }
52148 fi
52149 cat >conftest.$ac_ext <<_ACEOF
52150 /* confdefs.h.  */
52151 _ACEOF
52152 cat confdefs.h >>conftest.$ac_ext
52153 cat >>conftest.$ac_ext <<_ACEOF
52154 /* end confdefs.h.  */
52155 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52156    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52157 #define $ac_func innocuous_$ac_func
52158
52159 /* System header to define __stub macros and hopefully few prototypes,
52160     which can conflict with char $ac_func (); below.
52161     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52162     <limits.h> exists even on freestanding compilers.  */
52163
52164 #ifdef __STDC__
52165 # include <limits.h>
52166 #else
52167 # include <assert.h>
52168 #endif
52169
52170 #undef $ac_func
52171
52172 /* Override any gcc2 internal prototype to avoid an error.  */
52173 #ifdef __cplusplus
52174 extern "C"
52175 {
52176 #endif
52177 /* We use char because int might match the return type of a gcc2
52178    builtin and then its argument prototype would still apply.  */
52179 char $ac_func ();
52180 /* The GNU C library defines this for functions which it implements
52181     to always fail with ENOSYS.  Some functions are actually named
52182     something starting with __ and the normal name is an alias.  */
52183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52184 choke me
52185 #else
52186 char (*f) () = $ac_func;
52187 #endif
52188 #ifdef __cplusplus
52189 }
52190 #endif
52191
52192 int
52193 main ()
52194 {
52195 return f != $ac_func;
52196   ;
52197   return 0;
52198 }
52199 _ACEOF
52200 rm -f conftest.$ac_objext conftest$ac_exeext
52201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52202   (eval $ac_link) 2>conftest.er1
52203   ac_status=$?
52204   grep -v '^ *+' conftest.er1 >conftest.err
52205   rm -f conftest.er1
52206   cat conftest.err >&5
52207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52208   (exit $ac_status); } &&
52209          { ac_try='test -z "$ac_c_werror_flag"
52210                          || test ! -s conftest.err'
52211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52212   (eval $ac_try) 2>&5
52213   ac_status=$?
52214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52215   (exit $ac_status); }; } &&
52216          { ac_try='test -s conftest$ac_exeext'
52217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52218   (eval $ac_try) 2>&5
52219   ac_status=$?
52220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52221   (exit $ac_status); }; }; then
52222   eval "$as_ac_var=yes"
52223 else
52224   echo "$as_me: failed program was:" >&5
52225 sed 's/^/| /' conftest.$ac_ext >&5
52226
52227 eval "$as_ac_var=no"
52228 fi
52229 rm -f conftest.err conftest.$ac_objext \
52230       conftest$ac_exeext conftest.$ac_ext
52231 fi
52232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52233 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52234 if test `eval echo '${'$as_ac_var'}'` = yes; then
52235   cat >>confdefs.h <<_ACEOF
52236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52237 _ACEOF
52238  ac_XPG2funcs=yes
52239 else
52240   ac_XPG2funcs=no
52241 fi
52242 done
52243
52244
52245     LIBS="$ac_save_LIBS"
52246
52247     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
52248 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
52249     if test x"$ac_has_iconv_h" = xyes &&
52250        test x"$ac_has_langinfo_h" = xyes &&
52251        test x"$ac_XPG2funcs" = xyes;
52252     then
52253       ac_XPG2_wchar_t=yes
52254     else
52255       ac_XPG2_wchar_t=no
52256     fi
52257     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
52258 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
52259
52260     # At the moment, only enable wchar_t specializations if all the
52261     # above support is present.
52262     if test x"$ac_isoC99_wchar_t" = xyes &&
52263        test x"$ac_XPG2_wchar_t" = xyes;
52264     then
52265       cat >>confdefs.h <<\_ACEOF
52266 #define _GLIBCXX_USE_WCHAR_T 1
52267 _ACEOF
52268
52269       enable_wchar_t=yes
52270     fi
52271   fi
52272   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
52273 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
52274   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
52275 echo "${ECHO_T}$enable_wchar_t" >&6
52276
52277
52278   ac_test_CXXFLAGS="${CXXFLAGS+set}"
52279   ac_save_CXXFLAGS="$CXXFLAGS"
52280   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52281
52282
52283   echo "$as_me:$LINENO: checking for strtold declaration" >&5
52284 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
52285   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52286     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
52287   echo $ECHO_N "(cached) $ECHO_C" >&6
52288 else
52289
52290
52291
52292       ac_ext=cc
52293 ac_cpp='$CXXCPP $CPPFLAGS'
52294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52297
52298       cat >conftest.$ac_ext <<_ACEOF
52299 /* confdefs.h.  */
52300 _ACEOF
52301 cat confdefs.h >>conftest.$ac_ext
52302 cat >>conftest.$ac_ext <<_ACEOF
52303 /* end confdefs.h.  */
52304 #include <stdlib.h>
52305 int
52306 main ()
52307 {
52308  strtold(0, 0);
52309   ;
52310   return 0;
52311 }
52312 _ACEOF
52313 rm -f conftest.$ac_objext
52314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52315   (eval $ac_compile) 2>conftest.er1
52316   ac_status=$?
52317   grep -v '^ *+' conftest.er1 >conftest.err
52318   rm -f conftest.er1
52319   cat conftest.err >&5
52320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52321   (exit $ac_status); } &&
52322          { ac_try='test -z "$ac_cxx_werror_flag"
52323                          || test ! -s conftest.err'
52324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52325   (eval $ac_try) 2>&5
52326   ac_status=$?
52327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52328   (exit $ac_status); }; } &&
52329          { ac_try='test -s conftest.$ac_objext'
52330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52331   (eval $ac_try) 2>&5
52332   ac_status=$?
52333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52334   (exit $ac_status); }; }; then
52335   glibcxx_cv_func_strtold_use=yes
52336 else
52337   echo "$as_me: failed program was:" >&5
52338 sed 's/^/| /' conftest.$ac_ext >&5
52339
52340 glibcxx_cv_func_strtold_use=no
52341 fi
52342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52343       ac_ext=c
52344 ac_cpp='$CPP $CPPFLAGS'
52345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52348
52349
52350 fi
52351
52352   fi
52353   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
52354 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
52355   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52356
52357 for ac_func in strtold
52358 do
52359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52360 echo "$as_me:$LINENO: checking for $ac_func" >&5
52361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52362 if eval "test \"\${$as_ac_var+set}\" = set"; then
52363   echo $ECHO_N "(cached) $ECHO_C" >&6
52364 else
52365   if test x$gcc_no_link = xyes; then
52366   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52368    { (exit 1); exit 1; }; }
52369 fi
52370 cat >conftest.$ac_ext <<_ACEOF
52371 /* confdefs.h.  */
52372 _ACEOF
52373 cat confdefs.h >>conftest.$ac_ext
52374 cat >>conftest.$ac_ext <<_ACEOF
52375 /* end confdefs.h.  */
52376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52377    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52378 #define $ac_func innocuous_$ac_func
52379
52380 /* System header to define __stub macros and hopefully few prototypes,
52381     which can conflict with char $ac_func (); below.
52382     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52383     <limits.h> exists even on freestanding compilers.  */
52384
52385 #ifdef __STDC__
52386 # include <limits.h>
52387 #else
52388 # include <assert.h>
52389 #endif
52390
52391 #undef $ac_func
52392
52393 /* Override any gcc2 internal prototype to avoid an error.  */
52394 #ifdef __cplusplus
52395 extern "C"
52396 {
52397 #endif
52398 /* We use char because int might match the return type of a gcc2
52399    builtin and then its argument prototype would still apply.  */
52400 char $ac_func ();
52401 /* The GNU C library defines this for functions which it implements
52402     to always fail with ENOSYS.  Some functions are actually named
52403     something starting with __ and the normal name is an alias.  */
52404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52405 choke me
52406 #else
52407 char (*f) () = $ac_func;
52408 #endif
52409 #ifdef __cplusplus
52410 }
52411 #endif
52412
52413 int
52414 main ()
52415 {
52416 return f != $ac_func;
52417   ;
52418   return 0;
52419 }
52420 _ACEOF
52421 rm -f conftest.$ac_objext conftest$ac_exeext
52422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52423   (eval $ac_link) 2>conftest.er1
52424   ac_status=$?
52425   grep -v '^ *+' conftest.er1 >conftest.err
52426   rm -f conftest.er1
52427   cat conftest.err >&5
52428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52429   (exit $ac_status); } &&
52430          { ac_try='test -z "$ac_c_werror_flag"
52431                          || test ! -s conftest.err'
52432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52433   (eval $ac_try) 2>&5
52434   ac_status=$?
52435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52436   (exit $ac_status); }; } &&
52437          { ac_try='test -s conftest$ac_exeext'
52438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52439   (eval $ac_try) 2>&5
52440   ac_status=$?
52441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52442   (exit $ac_status); }; }; then
52443   eval "$as_ac_var=yes"
52444 else
52445   echo "$as_me: failed program was:" >&5
52446 sed 's/^/| /' conftest.$ac_ext >&5
52447
52448 eval "$as_ac_var=no"
52449 fi
52450 rm -f conftest.err conftest.$ac_objext \
52451       conftest$ac_exeext conftest.$ac_ext
52452 fi
52453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52455 if test `eval echo '${'$as_ac_var'}'` = yes; then
52456   cat >>confdefs.h <<_ACEOF
52457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52458 _ACEOF
52459
52460 fi
52461 done
52462
52463   fi
52464
52465
52466   echo "$as_me:$LINENO: checking for strtof declaration" >&5
52467 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
52468   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52469     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
52470   echo $ECHO_N "(cached) $ECHO_C" >&6
52471 else
52472
52473
52474
52475       ac_ext=cc
52476 ac_cpp='$CXXCPP $CPPFLAGS'
52477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52480
52481       cat >conftest.$ac_ext <<_ACEOF
52482 /* confdefs.h.  */
52483 _ACEOF
52484 cat confdefs.h >>conftest.$ac_ext
52485 cat >>conftest.$ac_ext <<_ACEOF
52486 /* end confdefs.h.  */
52487 #include <stdlib.h>
52488 int
52489 main ()
52490 {
52491  strtof(0, 0);
52492   ;
52493   return 0;
52494 }
52495 _ACEOF
52496 rm -f conftest.$ac_objext
52497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52498   (eval $ac_compile) 2>conftest.er1
52499   ac_status=$?
52500   grep -v '^ *+' conftest.er1 >conftest.err
52501   rm -f conftest.er1
52502   cat conftest.err >&5
52503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52504   (exit $ac_status); } &&
52505          { ac_try='test -z "$ac_cxx_werror_flag"
52506                          || test ! -s conftest.err'
52507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52508   (eval $ac_try) 2>&5
52509   ac_status=$?
52510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52511   (exit $ac_status); }; } &&
52512          { ac_try='test -s conftest.$ac_objext'
52513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52514   (eval $ac_try) 2>&5
52515   ac_status=$?
52516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52517   (exit $ac_status); }; }; then
52518   glibcxx_cv_func_strtof_use=yes
52519 else
52520   echo "$as_me: failed program was:" >&5
52521 sed 's/^/| /' conftest.$ac_ext >&5
52522
52523 glibcxx_cv_func_strtof_use=no
52524 fi
52525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52526       ac_ext=c
52527 ac_cpp='$CPP $CPPFLAGS'
52528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52531
52532
52533 fi
52534
52535   fi
52536   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
52537 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
52538   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52539
52540 for ac_func in strtof
52541 do
52542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52543 echo "$as_me:$LINENO: checking for $ac_func" >&5
52544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52545 if eval "test \"\${$as_ac_var+set}\" = set"; then
52546   echo $ECHO_N "(cached) $ECHO_C" >&6
52547 else
52548   if test x$gcc_no_link = xyes; then
52549   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52551    { (exit 1); exit 1; }; }
52552 fi
52553 cat >conftest.$ac_ext <<_ACEOF
52554 /* confdefs.h.  */
52555 _ACEOF
52556 cat confdefs.h >>conftest.$ac_ext
52557 cat >>conftest.$ac_ext <<_ACEOF
52558 /* end confdefs.h.  */
52559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52560    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52561 #define $ac_func innocuous_$ac_func
52562
52563 /* System header to define __stub macros and hopefully few prototypes,
52564     which can conflict with char $ac_func (); below.
52565     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52566     <limits.h> exists even on freestanding compilers.  */
52567
52568 #ifdef __STDC__
52569 # include <limits.h>
52570 #else
52571 # include <assert.h>
52572 #endif
52573
52574 #undef $ac_func
52575
52576 /* Override any gcc2 internal prototype to avoid an error.  */
52577 #ifdef __cplusplus
52578 extern "C"
52579 {
52580 #endif
52581 /* We use char because int might match the return type of a gcc2
52582    builtin and then its argument prototype would still apply.  */
52583 char $ac_func ();
52584 /* The GNU C library defines this for functions which it implements
52585     to always fail with ENOSYS.  Some functions are actually named
52586     something starting with __ and the normal name is an alias.  */
52587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52588 choke me
52589 #else
52590 char (*f) () = $ac_func;
52591 #endif
52592 #ifdef __cplusplus
52593 }
52594 #endif
52595
52596 int
52597 main ()
52598 {
52599 return f != $ac_func;
52600   ;
52601   return 0;
52602 }
52603 _ACEOF
52604 rm -f conftest.$ac_objext conftest$ac_exeext
52605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52606   (eval $ac_link) 2>conftest.er1
52607   ac_status=$?
52608   grep -v '^ *+' conftest.er1 >conftest.err
52609   rm -f conftest.er1
52610   cat conftest.err >&5
52611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52612   (exit $ac_status); } &&
52613          { ac_try='test -z "$ac_c_werror_flag"
52614                          || test ! -s conftest.err'
52615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52616   (eval $ac_try) 2>&5
52617   ac_status=$?
52618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52619   (exit $ac_status); }; } &&
52620          { ac_try='test -s conftest$ac_exeext'
52621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52622   (eval $ac_try) 2>&5
52623   ac_status=$?
52624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52625   (exit $ac_status); }; }; then
52626   eval "$as_ac_var=yes"
52627 else
52628   echo "$as_me: failed program was:" >&5
52629 sed 's/^/| /' conftest.$ac_ext >&5
52630
52631 eval "$as_ac_var=no"
52632 fi
52633 rm -f conftest.err conftest.$ac_objext \
52634       conftest$ac_exeext conftest.$ac_ext
52635 fi
52636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52638 if test `eval echo '${'$as_ac_var'}'` = yes; then
52639   cat >>confdefs.h <<_ACEOF
52640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52641 _ACEOF
52642
52643 fi
52644 done
52645
52646   fi
52647
52648
52649   CXXFLAGS="$ac_save_CXXFLAGS"
52650
52651
52652     # For showmanyc_helper().
52653
52654
52655 for ac_header in sys/ioctl.h sys/filio.h
52656 do
52657 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52659   echo "$as_me:$LINENO: checking for $ac_header" >&5
52660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52661 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52662   echo $ECHO_N "(cached) $ECHO_C" >&6
52663 fi
52664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52665 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52666 else
52667   # Is the header compilable?
52668 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52669 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52670 cat >conftest.$ac_ext <<_ACEOF
52671 /* confdefs.h.  */
52672 _ACEOF
52673 cat confdefs.h >>conftest.$ac_ext
52674 cat >>conftest.$ac_ext <<_ACEOF
52675 /* end confdefs.h.  */
52676 $ac_includes_default
52677 #include <$ac_header>
52678 _ACEOF
52679 rm -f conftest.$ac_objext
52680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52681   (eval $ac_compile) 2>conftest.er1
52682   ac_status=$?
52683   grep -v '^ *+' conftest.er1 >conftest.err
52684   rm -f conftest.er1
52685   cat conftest.err >&5
52686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52687   (exit $ac_status); } &&
52688          { ac_try='test -z "$ac_c_werror_flag"
52689                          || test ! -s conftest.err'
52690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52691   (eval $ac_try) 2>&5
52692   ac_status=$?
52693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52694   (exit $ac_status); }; } &&
52695          { ac_try='test -s conftest.$ac_objext'
52696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52697   (eval $ac_try) 2>&5
52698   ac_status=$?
52699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52700   (exit $ac_status); }; }; then
52701   ac_header_compiler=yes
52702 else
52703   echo "$as_me: failed program was:" >&5
52704 sed 's/^/| /' conftest.$ac_ext >&5
52705
52706 ac_header_compiler=no
52707 fi
52708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52709 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52710 echo "${ECHO_T}$ac_header_compiler" >&6
52711
52712 # Is the header present?
52713 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52714 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52715 cat >conftest.$ac_ext <<_ACEOF
52716 /* confdefs.h.  */
52717 _ACEOF
52718 cat confdefs.h >>conftest.$ac_ext
52719 cat >>conftest.$ac_ext <<_ACEOF
52720 /* end confdefs.h.  */
52721 #include <$ac_header>
52722 _ACEOF
52723 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52724   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52725   ac_status=$?
52726   grep -v '^ *+' conftest.er1 >conftest.err
52727   rm -f conftest.er1
52728   cat conftest.err >&5
52729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52730   (exit $ac_status); } >/dev/null; then
52731   if test -s conftest.err; then
52732     ac_cpp_err=$ac_c_preproc_warn_flag
52733     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52734   else
52735     ac_cpp_err=
52736   fi
52737 else
52738   ac_cpp_err=yes
52739 fi
52740 if test -z "$ac_cpp_err"; then
52741   ac_header_preproc=yes
52742 else
52743   echo "$as_me: failed program was:" >&5
52744 sed 's/^/| /' conftest.$ac_ext >&5
52745
52746   ac_header_preproc=no
52747 fi
52748 rm -f conftest.err conftest.$ac_ext
52749 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52750 echo "${ECHO_T}$ac_header_preproc" >&6
52751
52752 # So?  What about this header?
52753 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52754   yes:no: )
52755     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52756 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52757     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52758 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52759     ac_header_preproc=yes
52760     ;;
52761   no:yes:* )
52762     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52763 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52764     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
52765 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
52766     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52767 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52768     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
52769 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
52770     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52771 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52772     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52773 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52774     (
52775       cat <<\_ASBOX
52776 ## ----------------------------------------- ##
52777 ## Report this to the package-unused lists.  ##
52778 ## ----------------------------------------- ##
52779 _ASBOX
52780     ) |
52781       sed "s/^/$as_me: WARNING:     /" >&2
52782     ;;
52783 esac
52784 echo "$as_me:$LINENO: checking for $ac_header" >&5
52785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52786 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52787   echo $ECHO_N "(cached) $ECHO_C" >&6
52788 else
52789   eval "$as_ac_Header=\$ac_header_preproc"
52790 fi
52791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52792 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52793
52794 fi
52795 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52796   cat >>confdefs.h <<_ACEOF
52797 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52798 _ACEOF
52799
52800 fi
52801
52802 done
52803
52804
52805   if test "${glibcxx_cv_POLL+set}" = set; then
52806   echo $ECHO_N "(cached) $ECHO_C" >&6
52807 else
52808
52809     if test x$gcc_no_link = xyes; then
52810   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52812    { (exit 1); exit 1; }; }
52813 fi
52814 cat >conftest.$ac_ext <<_ACEOF
52815 /* confdefs.h.  */
52816 _ACEOF
52817 cat confdefs.h >>conftest.$ac_ext
52818 cat >>conftest.$ac_ext <<_ACEOF
52819 /* end confdefs.h.  */
52820 #include <poll.h>
52821 int
52822 main ()
52823 {
52824 struct pollfd pfd[1];
52825        pfd[0].events = POLLIN;
52826        poll(pfd, 1, 0);
52827   ;
52828   return 0;
52829 }
52830 _ACEOF
52831 rm -f conftest.$ac_objext conftest$ac_exeext
52832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52833   (eval $ac_link) 2>conftest.er1
52834   ac_status=$?
52835   grep -v '^ *+' conftest.er1 >conftest.err
52836   rm -f conftest.er1
52837   cat conftest.err >&5
52838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52839   (exit $ac_status); } &&
52840          { ac_try='test -z "$ac_c_werror_flag"
52841                          || test ! -s conftest.err'
52842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52843   (eval $ac_try) 2>&5
52844   ac_status=$?
52845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52846   (exit $ac_status); }; } &&
52847          { ac_try='test -s conftest$ac_exeext'
52848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52849   (eval $ac_try) 2>&5
52850   ac_status=$?
52851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52852   (exit $ac_status); }; }; then
52853   glibcxx_cv_POLL=yes
52854 else
52855   echo "$as_me: failed program was:" >&5
52856 sed 's/^/| /' conftest.$ac_ext >&5
52857
52858 glibcxx_cv_POLL=no
52859 fi
52860 rm -f conftest.err conftest.$ac_objext \
52861       conftest$ac_exeext conftest.$ac_ext
52862
52863 fi
52864
52865   if test $glibcxx_cv_POLL = yes; then
52866     cat >>confdefs.h <<\_ACEOF
52867 #define HAVE_POLL 1
52868 _ACEOF
52869
52870   fi
52871
52872
52873   if test "${glibcxx_cv_S_ISREG+set}" = set; then
52874   echo $ECHO_N "(cached) $ECHO_C" >&6
52875 else
52876
52877     if test x$gcc_no_link = xyes; then
52878   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52880    { (exit 1); exit 1; }; }
52881 fi
52882 cat >conftest.$ac_ext <<_ACEOF
52883 /* confdefs.h.  */
52884 _ACEOF
52885 cat confdefs.h >>conftest.$ac_ext
52886 cat >>conftest.$ac_ext <<_ACEOF
52887 /* end confdefs.h.  */
52888 #include <sys/stat.h>
52889 int
52890 main ()
52891 {
52892 struct stat buffer;
52893        fstat(0, &buffer);
52894        S_ISREG(buffer.st_mode);
52895   ;
52896   return 0;
52897 }
52898 _ACEOF
52899 rm -f conftest.$ac_objext conftest$ac_exeext
52900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52901   (eval $ac_link) 2>conftest.er1
52902   ac_status=$?
52903   grep -v '^ *+' conftest.er1 >conftest.err
52904   rm -f conftest.er1
52905   cat conftest.err >&5
52906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52907   (exit $ac_status); } &&
52908          { ac_try='test -z "$ac_c_werror_flag"
52909                          || test ! -s conftest.err'
52910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52911   (eval $ac_try) 2>&5
52912   ac_status=$?
52913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52914   (exit $ac_status); }; } &&
52915          { ac_try='test -s conftest$ac_exeext'
52916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52917   (eval $ac_try) 2>&5
52918   ac_status=$?
52919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52920   (exit $ac_status); }; }; then
52921   glibcxx_cv_S_ISREG=yes
52922 else
52923   echo "$as_me: failed program was:" >&5
52924 sed 's/^/| /' conftest.$ac_ext >&5
52925
52926 glibcxx_cv_S_ISREG=no
52927 fi
52928 rm -f conftest.err conftest.$ac_objext \
52929       conftest$ac_exeext conftest.$ac_ext
52930
52931 fi
52932
52933   if test "${glibcxx_cv_S_IFREG+set}" = set; then
52934   echo $ECHO_N "(cached) $ECHO_C" >&6
52935 else
52936
52937     if test x$gcc_no_link = xyes; then
52938   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52940    { (exit 1); exit 1; }; }
52941 fi
52942 cat >conftest.$ac_ext <<_ACEOF
52943 /* confdefs.h.  */
52944 _ACEOF
52945 cat confdefs.h >>conftest.$ac_ext
52946 cat >>conftest.$ac_ext <<_ACEOF
52947 /* end confdefs.h.  */
52948 #include <sys/stat.h>
52949 int
52950 main ()
52951 {
52952 struct stat buffer;
52953        fstat(0, &buffer);
52954        S_IFREG & buffer.st_mode;
52955   ;
52956   return 0;
52957 }
52958 _ACEOF
52959 rm -f conftest.$ac_objext conftest$ac_exeext
52960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52961   (eval $ac_link) 2>conftest.er1
52962   ac_status=$?
52963   grep -v '^ *+' conftest.er1 >conftest.err
52964   rm -f conftest.er1
52965   cat conftest.err >&5
52966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52967   (exit $ac_status); } &&
52968          { ac_try='test -z "$ac_c_werror_flag"
52969                          || test ! -s conftest.err'
52970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52971   (eval $ac_try) 2>&5
52972   ac_status=$?
52973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52974   (exit $ac_status); }; } &&
52975          { ac_try='test -s conftest$ac_exeext'
52976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52977   (eval $ac_try) 2>&5
52978   ac_status=$?
52979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52980   (exit $ac_status); }; }; then
52981   glibcxx_cv_S_IFREG=yes
52982 else
52983   echo "$as_me: failed program was:" >&5
52984 sed 's/^/| /' conftest.$ac_ext >&5
52985
52986 glibcxx_cv_S_IFREG=no
52987 fi
52988 rm -f conftest.err conftest.$ac_objext \
52989       conftest$ac_exeext conftest.$ac_ext
52990
52991 fi
52992
52993   if test $glibcxx_cv_S_ISREG = yes; then
52994     cat >>confdefs.h <<\_ACEOF
52995 #define HAVE_S_ISREG 1
52996 _ACEOF
52997
52998   elif test $glibcxx_cv_S_IFREG = yes; then
52999     cat >>confdefs.h <<\_ACEOF
53000 #define HAVE_S_IFREG 1
53001 _ACEOF
53002
53003   fi
53004
53005
53006     # For xsputn_2().
53007
53008 for ac_header in sys/uio.h
53009 do
53010 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53012   echo "$as_me:$LINENO: checking for $ac_header" >&5
53013 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53014 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53015   echo $ECHO_N "(cached) $ECHO_C" >&6
53016 fi
53017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53018 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53019 else
53020   # Is the header compilable?
53021 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53022 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53023 cat >conftest.$ac_ext <<_ACEOF
53024 /* confdefs.h.  */
53025 _ACEOF
53026 cat confdefs.h >>conftest.$ac_ext
53027 cat >>conftest.$ac_ext <<_ACEOF
53028 /* end confdefs.h.  */
53029 $ac_includes_default
53030 #include <$ac_header>
53031 _ACEOF
53032 rm -f conftest.$ac_objext
53033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53034   (eval $ac_compile) 2>conftest.er1
53035   ac_status=$?
53036   grep -v '^ *+' conftest.er1 >conftest.err
53037   rm -f conftest.er1
53038   cat conftest.err >&5
53039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53040   (exit $ac_status); } &&
53041          { ac_try='test -z "$ac_c_werror_flag"
53042                          || test ! -s conftest.err'
53043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53044   (eval $ac_try) 2>&5
53045   ac_status=$?
53046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53047   (exit $ac_status); }; } &&
53048          { ac_try='test -s conftest.$ac_objext'
53049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53050   (eval $ac_try) 2>&5
53051   ac_status=$?
53052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53053   (exit $ac_status); }; }; then
53054   ac_header_compiler=yes
53055 else
53056   echo "$as_me: failed program was:" >&5
53057 sed 's/^/| /' conftest.$ac_ext >&5
53058
53059 ac_header_compiler=no
53060 fi
53061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53062 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53063 echo "${ECHO_T}$ac_header_compiler" >&6
53064
53065 # Is the header present?
53066 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53067 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53068 cat >conftest.$ac_ext <<_ACEOF
53069 /* confdefs.h.  */
53070 _ACEOF
53071 cat confdefs.h >>conftest.$ac_ext
53072 cat >>conftest.$ac_ext <<_ACEOF
53073 /* end confdefs.h.  */
53074 #include <$ac_header>
53075 _ACEOF
53076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53077   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53078   ac_status=$?
53079   grep -v '^ *+' conftest.er1 >conftest.err
53080   rm -f conftest.er1
53081   cat conftest.err >&5
53082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53083   (exit $ac_status); } >/dev/null; then
53084   if test -s conftest.err; then
53085     ac_cpp_err=$ac_c_preproc_warn_flag
53086     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53087   else
53088     ac_cpp_err=
53089   fi
53090 else
53091   ac_cpp_err=yes
53092 fi
53093 if test -z "$ac_cpp_err"; then
53094   ac_header_preproc=yes
53095 else
53096   echo "$as_me: failed program was:" >&5
53097 sed 's/^/| /' conftest.$ac_ext >&5
53098
53099   ac_header_preproc=no
53100 fi
53101 rm -f conftest.err conftest.$ac_ext
53102 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53103 echo "${ECHO_T}$ac_header_preproc" >&6
53104
53105 # So?  What about this header?
53106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53107   yes:no: )
53108     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53109 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53110     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53111 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53112     ac_header_preproc=yes
53113     ;;
53114   no:yes:* )
53115     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53116 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53117     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
53118 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
53119     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53120 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53121     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
53122 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
53123     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53124 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53125     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53126 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53127     (
53128       cat <<\_ASBOX
53129 ## ----------------------------------------- ##
53130 ## Report this to the package-unused lists.  ##
53131 ## ----------------------------------------- ##
53132 _ASBOX
53133     ) |
53134       sed "s/^/$as_me: WARNING:     /" >&2
53135     ;;
53136 esac
53137 echo "$as_me:$LINENO: checking for $ac_header" >&5
53138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53140   echo $ECHO_N "(cached) $ECHO_C" >&6
53141 else
53142   eval "$as_ac_Header=\$ac_header_preproc"
53143 fi
53144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53146
53147 fi
53148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53149   cat >>confdefs.h <<_ACEOF
53150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53151 _ACEOF
53152
53153 fi
53154
53155 done
53156
53157
53158   if test "${glibcxx_cv_WRITEV+set}" = set; then
53159   echo $ECHO_N "(cached) $ECHO_C" >&6
53160 else
53161
53162     if test x$gcc_no_link = xyes; then
53163   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53165    { (exit 1); exit 1; }; }
53166 fi
53167 cat >conftest.$ac_ext <<_ACEOF
53168 /* confdefs.h.  */
53169 _ACEOF
53170 cat confdefs.h >>conftest.$ac_ext
53171 cat >>conftest.$ac_ext <<_ACEOF
53172 /* end confdefs.h.  */
53173 #include <sys/uio.h>
53174 int
53175 main ()
53176 {
53177 struct iovec iov[2];
53178        writev(0, iov, 0);
53179   ;
53180   return 0;
53181 }
53182 _ACEOF
53183 rm -f conftest.$ac_objext conftest$ac_exeext
53184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53185   (eval $ac_link) 2>conftest.er1
53186   ac_status=$?
53187   grep -v '^ *+' conftest.er1 >conftest.err
53188   rm -f conftest.er1
53189   cat conftest.err >&5
53190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53191   (exit $ac_status); } &&
53192          { ac_try='test -z "$ac_c_werror_flag"
53193                          || test ! -s conftest.err'
53194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53195   (eval $ac_try) 2>&5
53196   ac_status=$?
53197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53198   (exit $ac_status); }; } &&
53199          { ac_try='test -s conftest$ac_exeext'
53200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53201   (eval $ac_try) 2>&5
53202   ac_status=$?
53203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53204   (exit $ac_status); }; }; then
53205   glibcxx_cv_WRITEV=yes
53206 else
53207   echo "$as_me: failed program was:" >&5
53208 sed 's/^/| /' conftest.$ac_ext >&5
53209
53210 glibcxx_cv_WRITEV=no
53211 fi
53212 rm -f conftest.err conftest.$ac_objext \
53213       conftest$ac_exeext conftest.$ac_ext
53214
53215 fi
53216
53217   if test $glibcxx_cv_WRITEV = yes; then
53218     cat >>confdefs.h <<\_ACEOF
53219 #define HAVE_WRITEV 1
53220 _ACEOF
53221
53222   fi
53223
53224
53225     cat >>confdefs.h <<\_ACEOF
53226 #define HAVE_LC_MESSAGES 1
53227 _ACEOF
53228
53229
53230     cat >conftest.$ac_ext <<_ACEOF
53231 /* confdefs.h.  */
53232 _ACEOF
53233 cat confdefs.h >>conftest.$ac_ext
53234 cat >>conftest.$ac_ext <<_ACEOF
53235 /* end confdefs.h.  */
53236 #include <setjmp.h>
53237 int
53238 main ()
53239 {
53240 sigjmp_buf env;
53241        while (! sigsetjmp (env, 1))
53242          siglongjmp (env, 1);
53243
53244   ;
53245   return 0;
53246 }
53247 _ACEOF
53248 rm -f conftest.$ac_objext
53249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53250   (eval $ac_compile) 2>conftest.er1
53251   ac_status=$?
53252   grep -v '^ *+' conftest.er1 >conftest.err
53253   rm -f conftest.er1
53254   cat conftest.err >&5
53255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53256   (exit $ac_status); } &&
53257          { ac_try='test -z "$ac_c_werror_flag"
53258                          || test ! -s conftest.err'
53259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53260   (eval $ac_try) 2>&5
53261   ac_status=$?
53262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53263   (exit $ac_status); }; } &&
53264          { ac_try='test -s conftest.$ac_objext'
53265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53266   (eval $ac_try) 2>&5
53267   ac_status=$?
53268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53269   (exit $ac_status); }; }; then
53270
53271 cat >>confdefs.h <<\_ACEOF
53272 #define HAVE_SIGSETJMP 1
53273 _ACEOF
53274
53275 else
53276   echo "$as_me: failed program was:" >&5
53277 sed 's/^/| /' conftest.$ac_ext >&5
53278
53279 fi
53280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53281
53282     cat >>confdefs.h <<\_ACEOF
53283 #define HAVE_MMAP 1
53284 _ACEOF
53285
53286     ;;
53287
53288   *djgpp)
53289
53290
53291
53292
53293
53294
53295
53296
53297
53298
53299
53300
53301
53302
53303
53304
53305
53306
53307
53308
53309 for ac_header in float.h ieeefp.h inttypes.h locale.h \
53310       memory.h stdint.h stdlib.h strings.h string.h unistd.h \
53311       wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
53312       sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
53313 do
53314 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53316   echo "$as_me:$LINENO: checking for $ac_header" >&5
53317 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53318 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53319   echo $ECHO_N "(cached) $ECHO_C" >&6
53320 fi
53321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53322 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53323 else
53324   # Is the header compilable?
53325 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53326 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53327 cat >conftest.$ac_ext <<_ACEOF
53328 /* confdefs.h.  */
53329 _ACEOF
53330 cat confdefs.h >>conftest.$ac_ext
53331 cat >>conftest.$ac_ext <<_ACEOF
53332 /* end confdefs.h.  */
53333 $ac_includes_default
53334 #include <$ac_header>
53335 _ACEOF
53336 rm -f conftest.$ac_objext
53337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53338   (eval $ac_compile) 2>conftest.er1
53339   ac_status=$?
53340   grep -v '^ *+' conftest.er1 >conftest.err
53341   rm -f conftest.er1
53342   cat conftest.err >&5
53343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53344   (exit $ac_status); } &&
53345          { ac_try='test -z "$ac_c_werror_flag"
53346                          || test ! -s conftest.err'
53347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53348   (eval $ac_try) 2>&5
53349   ac_status=$?
53350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53351   (exit $ac_status); }; } &&
53352          { ac_try='test -s conftest.$ac_objext'
53353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53354   (eval $ac_try) 2>&5
53355   ac_status=$?
53356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53357   (exit $ac_status); }; }; then
53358   ac_header_compiler=yes
53359 else
53360   echo "$as_me: failed program was:" >&5
53361 sed 's/^/| /' conftest.$ac_ext >&5
53362
53363 ac_header_compiler=no
53364 fi
53365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53366 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53367 echo "${ECHO_T}$ac_header_compiler" >&6
53368
53369 # Is the header present?
53370 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53371 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53372 cat >conftest.$ac_ext <<_ACEOF
53373 /* confdefs.h.  */
53374 _ACEOF
53375 cat confdefs.h >>conftest.$ac_ext
53376 cat >>conftest.$ac_ext <<_ACEOF
53377 /* end confdefs.h.  */
53378 #include <$ac_header>
53379 _ACEOF
53380 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53381   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53382   ac_status=$?
53383   grep -v '^ *+' conftest.er1 >conftest.err
53384   rm -f conftest.er1
53385   cat conftest.err >&5
53386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53387   (exit $ac_status); } >/dev/null; then
53388   if test -s conftest.err; then
53389     ac_cpp_err=$ac_c_preproc_warn_flag
53390     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53391   else
53392     ac_cpp_err=
53393   fi
53394 else
53395   ac_cpp_err=yes
53396 fi
53397 if test -z "$ac_cpp_err"; then
53398   ac_header_preproc=yes
53399 else
53400   echo "$as_me: failed program was:" >&5
53401 sed 's/^/| /' conftest.$ac_ext >&5
53402
53403   ac_header_preproc=no
53404 fi
53405 rm -f conftest.err conftest.$ac_ext
53406 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53407 echo "${ECHO_T}$ac_header_preproc" >&6
53408
53409 # So?  What about this header?
53410 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53411   yes:no: )
53412     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53413 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53414     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53415 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53416     ac_header_preproc=yes
53417     ;;
53418   no:yes:* )
53419     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53420 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53421     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
53422 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
53423     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53424 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53425     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
53426 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
53427     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53428 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53429     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53430 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53431     (
53432       cat <<\_ASBOX
53433 ## ----------------------------------------- ##
53434 ## Report this to the package-unused lists.  ##
53435 ## ----------------------------------------- ##
53436 _ASBOX
53437     ) |
53438       sed "s/^/$as_me: WARNING:     /" >&2
53439     ;;
53440 esac
53441 echo "$as_me:$LINENO: checking for $ac_header" >&5
53442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53444   echo $ECHO_N "(cached) $ECHO_C" >&6
53445 else
53446   eval "$as_ac_Header=\$ac_header_preproc"
53447 fi
53448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53449 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53450
53451 fi
53452 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53453   cat >>confdefs.h <<_ACEOF
53454 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53455 _ACEOF
53456
53457 fi
53458
53459 done
53460
53461
53462   # All these tests are for C++; save the language and the compiler flags.
53463   # The CXXFLAGS thing is suspicious, but based on similar bits previously
53464   # found in GLIBCXX_CONFIGURE.
53465
53466
53467   ac_ext=cc
53468 ac_cpp='$CXXCPP $CPPFLAGS'
53469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53472
53473   ac_test_CXXFLAGS="${CXXFLAGS+set}"
53474   ac_save_CXXFLAGS="$CXXFLAGS"
53475
53476   # Check for maintainer-mode bits.
53477   if test x"$USE_MAINTAINER_MODE" = xno; then
53478     WERROR=''
53479   else
53480     WERROR='-Werror'
53481   fi
53482
53483   # Check for -ffunction-sections -fdata-sections
53484   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53485 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
53486   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
53487   cat >conftest.$ac_ext <<_ACEOF
53488 /* confdefs.h.  */
53489 _ACEOF
53490 cat confdefs.h >>conftest.$ac_ext
53491 cat >>conftest.$ac_ext <<_ACEOF
53492 /* end confdefs.h.  */
53493
53494 int
53495 main ()
53496 {
53497 int foo;
53498   ;
53499   return 0;
53500 }
53501 _ACEOF
53502 rm -f conftest.$ac_objext
53503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53504   (eval $ac_compile) 2>conftest.er1
53505   ac_status=$?
53506   grep -v '^ *+' conftest.er1 >conftest.err
53507   rm -f conftest.er1
53508   cat conftest.err >&5
53509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53510   (exit $ac_status); } &&
53511          { ac_try='test -z "$ac_cxx_werror_flag"
53512                          || test ! -s conftest.err'
53513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53514   (eval $ac_try) 2>&5
53515   ac_status=$?
53516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53517   (exit $ac_status); }; } &&
53518          { ac_try='test -s conftest.$ac_objext'
53519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53520   (eval $ac_try) 2>&5
53521   ac_status=$?
53522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53523   (exit $ac_status); }; }; then
53524   ac_fdsections=yes
53525 else
53526   echo "$as_me: failed program was:" >&5
53527 sed 's/^/| /' conftest.$ac_ext >&5
53528
53529 ac_fdsections=no
53530 fi
53531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53532   if test "$ac_test_CXXFLAGS" = set; then
53533     CXXFLAGS="$ac_save_CXXFLAGS"
53534   else
53535     # this is the suspicious part
53536     CXXFLAGS=''
53537   fi
53538   if test x"$ac_fdsections" = x"yes"; then
53539     SECTION_FLAGS='-ffunction-sections -fdata-sections'
53540   fi
53541   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
53542 echo "${ECHO_T}$ac_fdsections" >&6
53543
53544   ac_ext=c
53545 ac_cpp='$CPP $CPPFLAGS'
53546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53549
53550
53551
53552
53553
53554   # If we're not using GNU ld, then there's no point in even trying these
53555   # tests.  Check for that first.  We should have already tested for gld
53556   # by now (in libtool), but require it now just to be safe...
53557   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53558   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53559
53560
53561
53562   # The name set by libtool depends on the version of libtool.  Shame on us
53563   # for depending on an impl detail, but c'est la vie.  Older versions used
53564   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53565   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53566   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
53567   # set (hence we're using an older libtool), then set it.
53568   if test x${with_gnu_ld+set} != xset; then
53569     if test x${ac_cv_prog_gnu_ld+set} != xset; then
53570       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
53571       with_gnu_ld=no
53572     else
53573       with_gnu_ld=$ac_cv_prog_gnu_ld
53574     fi
53575   fi
53576
53577   # Start by getting the version number.  I think the libtool test already
53578   # does some of this, but throws away the result.
53579
53580   ldver=`$LD --version 2>/dev/null | head -1 | \
53581          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
53582
53583   glibcxx_gnu_ld_version=`echo $ldver | \
53584          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53585
53586   # Set --gc-sections.
53587   if test "$with_gnu_ld" = "notbroken"; then
53588     # GNU ld it is!  Joy and bunny rabbits!
53589
53590     # All these tests are for C++; save the language and the compiler flags.
53591     # Need to do this so that g++ won't try to link in libstdc++
53592     ac_test_CFLAGS="${CFLAGS+set}"
53593     ac_save_CFLAGS="$CFLAGS"
53594     CFLAGS='-x c++  -Wl,--gc-sections'
53595
53596     # Check for -Wl,--gc-sections
53597     # XXX This test is broken at the moment, as symbols required for linking
53598     # are now in libsupc++ (not built yet).  In addition, this test has
53599     # cored on solaris in the past.  In addition, --gc-sections doesn't
53600     # really work at the moment (keeps on discarding used sections, first
53601     # .eh_frame and now some of the glibc sections for iconv).
53602     # Bzzzzt.  Thanks for playing, maybe next time.
53603     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
53604 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
53605     if test "$cross_compiling" = yes; then
53606   ac_sectionLDflags=yes
53607 else
53608   cat >conftest.$ac_ext <<_ACEOF
53609 /* confdefs.h.  */
53610 _ACEOF
53611 cat confdefs.h >>conftest.$ac_ext
53612 cat >>conftest.$ac_ext <<_ACEOF
53613 /* end confdefs.h.  */
53614
53615      int main(void)
53616      {
53617        try { throw 1; }
53618        catch (...) { };
53619        return 0;
53620      }
53621
53622 _ACEOF
53623 rm -f conftest$ac_exeext
53624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53625   (eval $ac_link) 2>&5
53626   ac_status=$?
53627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53628   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
53629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53630   (eval $ac_try) 2>&5
53631   ac_status=$?
53632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53633   (exit $ac_status); }; }; then
53634   ac_sectionLDflags=yes
53635 else
53636   echo "$as_me: program exited with status $ac_status" >&5
53637 echo "$as_me: failed program was:" >&5
53638 sed 's/^/| /' conftest.$ac_ext >&5
53639
53640 ( exit $ac_status )
53641 ac_sectionLDflags=no
53642 fi
53643 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
53644 fi
53645     if test "$ac_test_CFLAGS" = set; then
53646       CFLAGS="$ac_save_CFLAGS"
53647     else
53648       # this is the suspicious part
53649       CFLAGS=''
53650     fi
53651     if test "$ac_sectionLDflags" = "yes"; then
53652       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53653     fi
53654     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
53655 echo "${ECHO_T}$ac_sectionLDflags" >&6
53656   fi
53657
53658   # Set linker optimization flags.
53659   if test x"$with_gnu_ld" = x"yes"; then
53660     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53661   fi
53662
53663
53664
53665
53666
53667   ac_test_CXXFLAGS="${CXXFLAGS+set}"
53668   ac_save_CXXFLAGS="$CXXFLAGS"
53669   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53670
53671     echo "$as_me:$LINENO: checking for sin in -lm" >&5
53672 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
53673 if test "${ac_cv_lib_m_sin+set}" = set; then
53674   echo $ECHO_N "(cached) $ECHO_C" >&6
53675 else
53676   ac_check_lib_save_LIBS=$LIBS
53677 LIBS="-lm  $LIBS"
53678 if test x$gcc_no_link = xyes; then
53679   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53681    { (exit 1); exit 1; }; }
53682 fi
53683 cat >conftest.$ac_ext <<_ACEOF
53684 /* confdefs.h.  */
53685 _ACEOF
53686 cat confdefs.h >>conftest.$ac_ext
53687 cat >>conftest.$ac_ext <<_ACEOF
53688 /* end confdefs.h.  */
53689
53690 /* Override any gcc2 internal prototype to avoid an error.  */
53691 #ifdef __cplusplus
53692 extern "C"
53693 #endif
53694 /* We use char because int might match the return type of a gcc2
53695    builtin and then its argument prototype would still apply.  */
53696 char sin ();
53697 int
53698 main ()
53699 {
53700 sin ();
53701   ;
53702   return 0;
53703 }
53704 _ACEOF
53705 rm -f conftest.$ac_objext conftest$ac_exeext
53706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53707   (eval $ac_link) 2>conftest.er1
53708   ac_status=$?
53709   grep -v '^ *+' conftest.er1 >conftest.err
53710   rm -f conftest.er1
53711   cat conftest.err >&5
53712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53713   (exit $ac_status); } &&
53714          { ac_try='test -z "$ac_c_werror_flag"
53715                          || test ! -s conftest.err'
53716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53717   (eval $ac_try) 2>&5
53718   ac_status=$?
53719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53720   (exit $ac_status); }; } &&
53721          { ac_try='test -s conftest$ac_exeext'
53722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53723   (eval $ac_try) 2>&5
53724   ac_status=$?
53725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53726   (exit $ac_status); }; }; then
53727   ac_cv_lib_m_sin=yes
53728 else
53729   echo "$as_me: failed program was:" >&5
53730 sed 's/^/| /' conftest.$ac_ext >&5
53731
53732 ac_cv_lib_m_sin=no
53733 fi
53734 rm -f conftest.err conftest.$ac_objext \
53735       conftest$ac_exeext conftest.$ac_ext
53736 LIBS=$ac_check_lib_save_LIBS
53737 fi
53738 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
53739 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
53740 if test $ac_cv_lib_m_sin = yes; then
53741   libm="-lm"
53742 fi
53743
53744   ac_save_LIBS="$LIBS"
53745   LIBS="$LIBS $libm"
53746
53747
53748
53749   echo "$as_me:$LINENO: checking for isinf declaration" >&5
53750 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
53751   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53752     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
53753   echo $ECHO_N "(cached) $ECHO_C" >&6
53754 else
53755
53756
53757
53758       ac_ext=cc
53759 ac_cpp='$CXXCPP $CPPFLAGS'
53760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53763
53764       cat >conftest.$ac_ext <<_ACEOF
53765 /* confdefs.h.  */
53766 _ACEOF
53767 cat confdefs.h >>conftest.$ac_ext
53768 cat >>conftest.$ac_ext <<_ACEOF
53769 /* end confdefs.h.  */
53770 #include <math.h>
53771                       #ifdef HAVE_IEEEFP_H
53772                       #include <ieeefp.h>
53773                       #endif
53774
53775 int
53776 main ()
53777 {
53778  isinf(0);
53779   ;
53780   return 0;
53781 }
53782 _ACEOF
53783 rm -f conftest.$ac_objext
53784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53785   (eval $ac_compile) 2>conftest.er1
53786   ac_status=$?
53787   grep -v '^ *+' conftest.er1 >conftest.err
53788   rm -f conftest.er1
53789   cat conftest.err >&5
53790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53791   (exit $ac_status); } &&
53792          { ac_try='test -z "$ac_cxx_werror_flag"
53793                          || test ! -s conftest.err'
53794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53795   (eval $ac_try) 2>&5
53796   ac_status=$?
53797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53798   (exit $ac_status); }; } &&
53799          { ac_try='test -s conftest.$ac_objext'
53800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53801   (eval $ac_try) 2>&5
53802   ac_status=$?
53803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53804   (exit $ac_status); }; }; then
53805   glibcxx_cv_func_isinf_use=yes
53806 else
53807   echo "$as_me: failed program was:" >&5
53808 sed 's/^/| /' conftest.$ac_ext >&5
53809
53810 glibcxx_cv_func_isinf_use=no
53811 fi
53812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53813       ac_ext=c
53814 ac_cpp='$CPP $CPPFLAGS'
53815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53818
53819
53820 fi
53821
53822   fi
53823   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
53824 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
53825
53826   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53827
53828 for ac_func in isinf
53829 do
53830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53831 echo "$as_me:$LINENO: checking for $ac_func" >&5
53832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53833 if eval "test \"\${$as_ac_var+set}\" = set"; then
53834   echo $ECHO_N "(cached) $ECHO_C" >&6
53835 else
53836   if test x$gcc_no_link = xyes; then
53837   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53839    { (exit 1); exit 1; }; }
53840 fi
53841 cat >conftest.$ac_ext <<_ACEOF
53842 /* confdefs.h.  */
53843 _ACEOF
53844 cat confdefs.h >>conftest.$ac_ext
53845 cat >>conftest.$ac_ext <<_ACEOF
53846 /* end confdefs.h.  */
53847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53848    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53849 #define $ac_func innocuous_$ac_func
53850
53851 /* System header to define __stub macros and hopefully few prototypes,
53852     which can conflict with char $ac_func (); below.
53853     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53854     <limits.h> exists even on freestanding compilers.  */
53855
53856 #ifdef __STDC__
53857 # include <limits.h>
53858 #else
53859 # include <assert.h>
53860 #endif
53861
53862 #undef $ac_func
53863
53864 /* Override any gcc2 internal prototype to avoid an error.  */
53865 #ifdef __cplusplus
53866 extern "C"
53867 {
53868 #endif
53869 /* We use char because int might match the return type of a gcc2
53870    builtin and then its argument prototype would still apply.  */
53871 char $ac_func ();
53872 /* The GNU C library defines this for functions which it implements
53873     to always fail with ENOSYS.  Some functions are actually named
53874     something starting with __ and the normal name is an alias.  */
53875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53876 choke me
53877 #else
53878 char (*f) () = $ac_func;
53879 #endif
53880 #ifdef __cplusplus
53881 }
53882 #endif
53883
53884 int
53885 main ()
53886 {
53887 return f != $ac_func;
53888   ;
53889   return 0;
53890 }
53891 _ACEOF
53892 rm -f conftest.$ac_objext conftest$ac_exeext
53893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53894   (eval $ac_link) 2>conftest.er1
53895   ac_status=$?
53896   grep -v '^ *+' conftest.er1 >conftest.err
53897   rm -f conftest.er1
53898   cat conftest.err >&5
53899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53900   (exit $ac_status); } &&
53901          { ac_try='test -z "$ac_c_werror_flag"
53902                          || test ! -s conftest.err'
53903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53904   (eval $ac_try) 2>&5
53905   ac_status=$?
53906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53907   (exit $ac_status); }; } &&
53908          { ac_try='test -s conftest$ac_exeext'
53909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53910   (eval $ac_try) 2>&5
53911   ac_status=$?
53912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53913   (exit $ac_status); }; }; then
53914   eval "$as_ac_var=yes"
53915 else
53916   echo "$as_me: failed program was:" >&5
53917 sed 's/^/| /' conftest.$ac_ext >&5
53918
53919 eval "$as_ac_var=no"
53920 fi
53921 rm -f conftest.err conftest.$ac_objext \
53922       conftest$ac_exeext conftest.$ac_ext
53923 fi
53924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53926 if test `eval echo '${'$as_ac_var'}'` = yes; then
53927   cat >>confdefs.h <<_ACEOF
53928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53929 _ACEOF
53930
53931 fi
53932 done
53933
53934   else
53935
53936   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
53937 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
53938   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53939     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
53940   echo $ECHO_N "(cached) $ECHO_C" >&6
53941 else
53942
53943
53944
53945       ac_ext=cc
53946 ac_cpp='$CXXCPP $CPPFLAGS'
53947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53950
53951       cat >conftest.$ac_ext <<_ACEOF
53952 /* confdefs.h.  */
53953 _ACEOF
53954 cat confdefs.h >>conftest.$ac_ext
53955 cat >>conftest.$ac_ext <<_ACEOF
53956 /* end confdefs.h.  */
53957 #include <math.h>
53958                       #ifdef HAVE_IEEEFP_H
53959                       #include <ieeefp.h>
53960                       #endif
53961
53962 int
53963 main ()
53964 {
53965  _isinf(0);
53966   ;
53967   return 0;
53968 }
53969 _ACEOF
53970 rm -f conftest.$ac_objext
53971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53972   (eval $ac_compile) 2>conftest.er1
53973   ac_status=$?
53974   grep -v '^ *+' conftest.er1 >conftest.err
53975   rm -f conftest.er1
53976   cat conftest.err >&5
53977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53978   (exit $ac_status); } &&
53979          { ac_try='test -z "$ac_cxx_werror_flag"
53980                          || test ! -s conftest.err'
53981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53982   (eval $ac_try) 2>&5
53983   ac_status=$?
53984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53985   (exit $ac_status); }; } &&
53986          { ac_try='test -s conftest.$ac_objext'
53987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53988   (eval $ac_try) 2>&5
53989   ac_status=$?
53990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53991   (exit $ac_status); }; }; then
53992   glibcxx_cv_func__isinf_use=yes
53993 else
53994   echo "$as_me: failed program was:" >&5
53995 sed 's/^/| /' conftest.$ac_ext >&5
53996
53997 glibcxx_cv_func__isinf_use=no
53998 fi
53999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54000       ac_ext=c
54001 ac_cpp='$CPP $CPPFLAGS'
54002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54005
54006
54007 fi
54008
54009   fi
54010   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
54011 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
54012
54013     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54014
54015 for ac_func in _isinf
54016 do
54017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54018 echo "$as_me:$LINENO: checking for $ac_func" >&5
54019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54020 if eval "test \"\${$as_ac_var+set}\" = set"; then
54021   echo $ECHO_N "(cached) $ECHO_C" >&6
54022 else
54023   if test x$gcc_no_link = xyes; then
54024   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54026    { (exit 1); exit 1; }; }
54027 fi
54028 cat >conftest.$ac_ext <<_ACEOF
54029 /* confdefs.h.  */
54030 _ACEOF
54031 cat confdefs.h >>conftest.$ac_ext
54032 cat >>conftest.$ac_ext <<_ACEOF
54033 /* end confdefs.h.  */
54034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54035    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54036 #define $ac_func innocuous_$ac_func
54037
54038 /* System header to define __stub macros and hopefully few prototypes,
54039     which can conflict with char $ac_func (); below.
54040     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54041     <limits.h> exists even on freestanding compilers.  */
54042
54043 #ifdef __STDC__
54044 # include <limits.h>
54045 #else
54046 # include <assert.h>
54047 #endif
54048
54049 #undef $ac_func
54050
54051 /* Override any gcc2 internal prototype to avoid an error.  */
54052 #ifdef __cplusplus
54053 extern "C"
54054 {
54055 #endif
54056 /* We use char because int might match the return type of a gcc2
54057    builtin and then its argument prototype would still apply.  */
54058 char $ac_func ();
54059 /* The GNU C library defines this for functions which it implements
54060     to always fail with ENOSYS.  Some functions are actually named
54061     something starting with __ and the normal name is an alias.  */
54062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54063 choke me
54064 #else
54065 char (*f) () = $ac_func;
54066 #endif
54067 #ifdef __cplusplus
54068 }
54069 #endif
54070
54071 int
54072 main ()
54073 {
54074 return f != $ac_func;
54075   ;
54076   return 0;
54077 }
54078 _ACEOF
54079 rm -f conftest.$ac_objext conftest$ac_exeext
54080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54081   (eval $ac_link) 2>conftest.er1
54082   ac_status=$?
54083   grep -v '^ *+' conftest.er1 >conftest.err
54084   rm -f conftest.er1
54085   cat conftest.err >&5
54086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54087   (exit $ac_status); } &&
54088          { ac_try='test -z "$ac_c_werror_flag"
54089                          || test ! -s conftest.err'
54090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54091   (eval $ac_try) 2>&5
54092   ac_status=$?
54093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54094   (exit $ac_status); }; } &&
54095          { ac_try='test -s conftest$ac_exeext'
54096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54097   (eval $ac_try) 2>&5
54098   ac_status=$?
54099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54100   (exit $ac_status); }; }; then
54101   eval "$as_ac_var=yes"
54102 else
54103   echo "$as_me: failed program was:" >&5
54104 sed 's/^/| /' conftest.$ac_ext >&5
54105
54106 eval "$as_ac_var=no"
54107 fi
54108 rm -f conftest.err conftest.$ac_objext \
54109       conftest$ac_exeext conftest.$ac_ext
54110 fi
54111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54113 if test `eval echo '${'$as_ac_var'}'` = yes; then
54114   cat >>confdefs.h <<_ACEOF
54115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54116 _ACEOF
54117
54118 fi
54119 done
54120
54121     fi
54122   fi
54123
54124
54125
54126   echo "$as_me:$LINENO: checking for isnan declaration" >&5
54127 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
54128   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54129     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
54130   echo $ECHO_N "(cached) $ECHO_C" >&6
54131 else
54132
54133
54134
54135       ac_ext=cc
54136 ac_cpp='$CXXCPP $CPPFLAGS'
54137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54140
54141       cat >conftest.$ac_ext <<_ACEOF
54142 /* confdefs.h.  */
54143 _ACEOF
54144 cat confdefs.h >>conftest.$ac_ext
54145 cat >>conftest.$ac_ext <<_ACEOF
54146 /* end confdefs.h.  */
54147 #include <math.h>
54148                       #ifdef HAVE_IEEEFP_H
54149                       #include <ieeefp.h>
54150                       #endif
54151
54152 int
54153 main ()
54154 {
54155  isnan(0);
54156   ;
54157   return 0;
54158 }
54159 _ACEOF
54160 rm -f conftest.$ac_objext
54161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54162   (eval $ac_compile) 2>conftest.er1
54163   ac_status=$?
54164   grep -v '^ *+' conftest.er1 >conftest.err
54165   rm -f conftest.er1
54166   cat conftest.err >&5
54167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54168   (exit $ac_status); } &&
54169          { ac_try='test -z "$ac_cxx_werror_flag"
54170                          || test ! -s conftest.err'
54171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54172   (eval $ac_try) 2>&5
54173   ac_status=$?
54174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54175   (exit $ac_status); }; } &&
54176          { ac_try='test -s conftest.$ac_objext'
54177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54178   (eval $ac_try) 2>&5
54179   ac_status=$?
54180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54181   (exit $ac_status); }; }; then
54182   glibcxx_cv_func_isnan_use=yes
54183 else
54184   echo "$as_me: failed program was:" >&5
54185 sed 's/^/| /' conftest.$ac_ext >&5
54186
54187 glibcxx_cv_func_isnan_use=no
54188 fi
54189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54190       ac_ext=c
54191 ac_cpp='$CPP $CPPFLAGS'
54192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54195
54196
54197 fi
54198
54199   fi
54200   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
54201 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
54202
54203   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54204
54205 for ac_func in isnan
54206 do
54207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54208 echo "$as_me:$LINENO: checking for $ac_func" >&5
54209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54210 if eval "test \"\${$as_ac_var+set}\" = set"; then
54211   echo $ECHO_N "(cached) $ECHO_C" >&6
54212 else
54213   if test x$gcc_no_link = xyes; then
54214   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54216    { (exit 1); exit 1; }; }
54217 fi
54218 cat >conftest.$ac_ext <<_ACEOF
54219 /* confdefs.h.  */
54220 _ACEOF
54221 cat confdefs.h >>conftest.$ac_ext
54222 cat >>conftest.$ac_ext <<_ACEOF
54223 /* end confdefs.h.  */
54224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54225    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54226 #define $ac_func innocuous_$ac_func
54227
54228 /* System header to define __stub macros and hopefully few prototypes,
54229     which can conflict with char $ac_func (); below.
54230     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54231     <limits.h> exists even on freestanding compilers.  */
54232
54233 #ifdef __STDC__
54234 # include <limits.h>
54235 #else
54236 # include <assert.h>
54237 #endif
54238
54239 #undef $ac_func
54240
54241 /* Override any gcc2 internal prototype to avoid an error.  */
54242 #ifdef __cplusplus
54243 extern "C"
54244 {
54245 #endif
54246 /* We use char because int might match the return type of a gcc2
54247    builtin and then its argument prototype would still apply.  */
54248 char $ac_func ();
54249 /* The GNU C library defines this for functions which it implements
54250     to always fail with ENOSYS.  Some functions are actually named
54251     something starting with __ and the normal name is an alias.  */
54252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54253 choke me
54254 #else
54255 char (*f) () = $ac_func;
54256 #endif
54257 #ifdef __cplusplus
54258 }
54259 #endif
54260
54261 int
54262 main ()
54263 {
54264 return f != $ac_func;
54265   ;
54266   return 0;
54267 }
54268 _ACEOF
54269 rm -f conftest.$ac_objext conftest$ac_exeext
54270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54271   (eval $ac_link) 2>conftest.er1
54272   ac_status=$?
54273   grep -v '^ *+' conftest.er1 >conftest.err
54274   rm -f conftest.er1
54275   cat conftest.err >&5
54276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54277   (exit $ac_status); } &&
54278          { ac_try='test -z "$ac_c_werror_flag"
54279                          || test ! -s conftest.err'
54280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54281   (eval $ac_try) 2>&5
54282   ac_status=$?
54283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54284   (exit $ac_status); }; } &&
54285          { ac_try='test -s conftest$ac_exeext'
54286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54287   (eval $ac_try) 2>&5
54288   ac_status=$?
54289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54290   (exit $ac_status); }; }; then
54291   eval "$as_ac_var=yes"
54292 else
54293   echo "$as_me: failed program was:" >&5
54294 sed 's/^/| /' conftest.$ac_ext >&5
54295
54296 eval "$as_ac_var=no"
54297 fi
54298 rm -f conftest.err conftest.$ac_objext \
54299       conftest$ac_exeext conftest.$ac_ext
54300 fi
54301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54303 if test `eval echo '${'$as_ac_var'}'` = yes; then
54304   cat >>confdefs.h <<_ACEOF
54305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54306 _ACEOF
54307
54308 fi
54309 done
54310
54311   else
54312
54313   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
54314 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
54315   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54316     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
54317   echo $ECHO_N "(cached) $ECHO_C" >&6
54318 else
54319
54320
54321
54322       ac_ext=cc
54323 ac_cpp='$CXXCPP $CPPFLAGS'
54324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54327
54328       cat >conftest.$ac_ext <<_ACEOF
54329 /* confdefs.h.  */
54330 _ACEOF
54331 cat confdefs.h >>conftest.$ac_ext
54332 cat >>conftest.$ac_ext <<_ACEOF
54333 /* end confdefs.h.  */
54334 #include <math.h>
54335                       #ifdef HAVE_IEEEFP_H
54336                       #include <ieeefp.h>
54337                       #endif
54338
54339 int
54340 main ()
54341 {
54342  _isnan(0);
54343   ;
54344   return 0;
54345 }
54346 _ACEOF
54347 rm -f conftest.$ac_objext
54348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54349   (eval $ac_compile) 2>conftest.er1
54350   ac_status=$?
54351   grep -v '^ *+' conftest.er1 >conftest.err
54352   rm -f conftest.er1
54353   cat conftest.err >&5
54354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54355   (exit $ac_status); } &&
54356          { ac_try='test -z "$ac_cxx_werror_flag"
54357                          || test ! -s conftest.err'
54358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54359   (eval $ac_try) 2>&5
54360   ac_status=$?
54361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54362   (exit $ac_status); }; } &&
54363          { ac_try='test -s conftest.$ac_objext'
54364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54365   (eval $ac_try) 2>&5
54366   ac_status=$?
54367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54368   (exit $ac_status); }; }; then
54369   glibcxx_cv_func__isnan_use=yes
54370 else
54371   echo "$as_me: failed program was:" >&5
54372 sed 's/^/| /' conftest.$ac_ext >&5
54373
54374 glibcxx_cv_func__isnan_use=no
54375 fi
54376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54377       ac_ext=c
54378 ac_cpp='$CPP $CPPFLAGS'
54379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54382
54383
54384 fi
54385
54386   fi
54387   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
54388 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
54389
54390     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54391
54392 for ac_func in _isnan
54393 do
54394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54395 echo "$as_me:$LINENO: checking for $ac_func" >&5
54396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54397 if eval "test \"\${$as_ac_var+set}\" = set"; then
54398   echo $ECHO_N "(cached) $ECHO_C" >&6
54399 else
54400   if test x$gcc_no_link = xyes; then
54401   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54403    { (exit 1); exit 1; }; }
54404 fi
54405 cat >conftest.$ac_ext <<_ACEOF
54406 /* confdefs.h.  */
54407 _ACEOF
54408 cat confdefs.h >>conftest.$ac_ext
54409 cat >>conftest.$ac_ext <<_ACEOF
54410 /* end confdefs.h.  */
54411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54412    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54413 #define $ac_func innocuous_$ac_func
54414
54415 /* System header to define __stub macros and hopefully few prototypes,
54416     which can conflict with char $ac_func (); below.
54417     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54418     <limits.h> exists even on freestanding compilers.  */
54419
54420 #ifdef __STDC__
54421 # include <limits.h>
54422 #else
54423 # include <assert.h>
54424 #endif
54425
54426 #undef $ac_func
54427
54428 /* Override any gcc2 internal prototype to avoid an error.  */
54429 #ifdef __cplusplus
54430 extern "C"
54431 {
54432 #endif
54433 /* We use char because int might match the return type of a gcc2
54434    builtin and then its argument prototype would still apply.  */
54435 char $ac_func ();
54436 /* The GNU C library defines this for functions which it implements
54437     to always fail with ENOSYS.  Some functions are actually named
54438     something starting with __ and the normal name is an alias.  */
54439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54440 choke me
54441 #else
54442 char (*f) () = $ac_func;
54443 #endif
54444 #ifdef __cplusplus
54445 }
54446 #endif
54447
54448 int
54449 main ()
54450 {
54451 return f != $ac_func;
54452   ;
54453   return 0;
54454 }
54455 _ACEOF
54456 rm -f conftest.$ac_objext conftest$ac_exeext
54457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54458   (eval $ac_link) 2>conftest.er1
54459   ac_status=$?
54460   grep -v '^ *+' conftest.er1 >conftest.err
54461   rm -f conftest.er1
54462   cat conftest.err >&5
54463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54464   (exit $ac_status); } &&
54465          { ac_try='test -z "$ac_c_werror_flag"
54466                          || test ! -s conftest.err'
54467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54468   (eval $ac_try) 2>&5
54469   ac_status=$?
54470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54471   (exit $ac_status); }; } &&
54472          { ac_try='test -s conftest$ac_exeext'
54473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54474   (eval $ac_try) 2>&5
54475   ac_status=$?
54476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54477   (exit $ac_status); }; }; then
54478   eval "$as_ac_var=yes"
54479 else
54480   echo "$as_me: failed program was:" >&5
54481 sed 's/^/| /' conftest.$ac_ext >&5
54482
54483 eval "$as_ac_var=no"
54484 fi
54485 rm -f conftest.err conftest.$ac_objext \
54486       conftest$ac_exeext conftest.$ac_ext
54487 fi
54488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54490 if test `eval echo '${'$as_ac_var'}'` = yes; then
54491   cat >>confdefs.h <<_ACEOF
54492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54493 _ACEOF
54494
54495 fi
54496 done
54497
54498     fi
54499   fi
54500
54501
54502
54503   echo "$as_me:$LINENO: checking for finite declaration" >&5
54504 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
54505   if test x${glibcxx_cv_func_finite_use+set} != xset; then
54506     if test "${glibcxx_cv_func_finite_use+set}" = set; then
54507   echo $ECHO_N "(cached) $ECHO_C" >&6
54508 else
54509
54510
54511
54512       ac_ext=cc
54513 ac_cpp='$CXXCPP $CPPFLAGS'
54514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54517
54518       cat >conftest.$ac_ext <<_ACEOF
54519 /* confdefs.h.  */
54520 _ACEOF
54521 cat confdefs.h >>conftest.$ac_ext
54522 cat >>conftest.$ac_ext <<_ACEOF
54523 /* end confdefs.h.  */
54524 #include <math.h>
54525                       #ifdef HAVE_IEEEFP_H
54526                       #include <ieeefp.h>
54527                       #endif
54528
54529 int
54530 main ()
54531 {
54532  finite(0);
54533   ;
54534   return 0;
54535 }
54536 _ACEOF
54537 rm -f conftest.$ac_objext
54538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54539   (eval $ac_compile) 2>conftest.er1
54540   ac_status=$?
54541   grep -v '^ *+' conftest.er1 >conftest.err
54542   rm -f conftest.er1
54543   cat conftest.err >&5
54544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54545   (exit $ac_status); } &&
54546          { ac_try='test -z "$ac_cxx_werror_flag"
54547                          || test ! -s conftest.err'
54548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54549   (eval $ac_try) 2>&5
54550   ac_status=$?
54551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54552   (exit $ac_status); }; } &&
54553          { ac_try='test -s conftest.$ac_objext'
54554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54555   (eval $ac_try) 2>&5
54556   ac_status=$?
54557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54558   (exit $ac_status); }; }; then
54559   glibcxx_cv_func_finite_use=yes
54560 else
54561   echo "$as_me: failed program was:" >&5
54562 sed 's/^/| /' conftest.$ac_ext >&5
54563
54564 glibcxx_cv_func_finite_use=no
54565 fi
54566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54567       ac_ext=c
54568 ac_cpp='$CPP $CPPFLAGS'
54569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54572
54573
54574 fi
54575
54576   fi
54577   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
54578 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
54579
54580   if test x$glibcxx_cv_func_finite_use = x"yes"; then
54581
54582 for ac_func in finite
54583 do
54584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54585 echo "$as_me:$LINENO: checking for $ac_func" >&5
54586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54587 if eval "test \"\${$as_ac_var+set}\" = set"; then
54588   echo $ECHO_N "(cached) $ECHO_C" >&6
54589 else
54590   if test x$gcc_no_link = xyes; then
54591   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54593    { (exit 1); exit 1; }; }
54594 fi
54595 cat >conftest.$ac_ext <<_ACEOF
54596 /* confdefs.h.  */
54597 _ACEOF
54598 cat confdefs.h >>conftest.$ac_ext
54599 cat >>conftest.$ac_ext <<_ACEOF
54600 /* end confdefs.h.  */
54601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54602    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54603 #define $ac_func innocuous_$ac_func
54604
54605 /* System header to define __stub macros and hopefully few prototypes,
54606     which can conflict with char $ac_func (); below.
54607     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54608     <limits.h> exists even on freestanding compilers.  */
54609
54610 #ifdef __STDC__
54611 # include <limits.h>
54612 #else
54613 # include <assert.h>
54614 #endif
54615
54616 #undef $ac_func
54617
54618 /* Override any gcc2 internal prototype to avoid an error.  */
54619 #ifdef __cplusplus
54620 extern "C"
54621 {
54622 #endif
54623 /* We use char because int might match the return type of a gcc2
54624    builtin and then its argument prototype would still apply.  */
54625 char $ac_func ();
54626 /* The GNU C library defines this for functions which it implements
54627     to always fail with ENOSYS.  Some functions are actually named
54628     something starting with __ and the normal name is an alias.  */
54629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54630 choke me
54631 #else
54632 char (*f) () = $ac_func;
54633 #endif
54634 #ifdef __cplusplus
54635 }
54636 #endif
54637
54638 int
54639 main ()
54640 {
54641 return f != $ac_func;
54642   ;
54643   return 0;
54644 }
54645 _ACEOF
54646 rm -f conftest.$ac_objext conftest$ac_exeext
54647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54648   (eval $ac_link) 2>conftest.er1
54649   ac_status=$?
54650   grep -v '^ *+' conftest.er1 >conftest.err
54651   rm -f conftest.er1
54652   cat conftest.err >&5
54653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54654   (exit $ac_status); } &&
54655          { ac_try='test -z "$ac_c_werror_flag"
54656                          || test ! -s conftest.err'
54657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54658   (eval $ac_try) 2>&5
54659   ac_status=$?
54660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54661   (exit $ac_status); }; } &&
54662          { ac_try='test -s conftest$ac_exeext'
54663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54664   (eval $ac_try) 2>&5
54665   ac_status=$?
54666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54667   (exit $ac_status); }; }; then
54668   eval "$as_ac_var=yes"
54669 else
54670   echo "$as_me: failed program was:" >&5
54671 sed 's/^/| /' conftest.$ac_ext >&5
54672
54673 eval "$as_ac_var=no"
54674 fi
54675 rm -f conftest.err conftest.$ac_objext \
54676       conftest$ac_exeext conftest.$ac_ext
54677 fi
54678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54680 if test `eval echo '${'$as_ac_var'}'` = yes; then
54681   cat >>confdefs.h <<_ACEOF
54682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54683 _ACEOF
54684
54685 fi
54686 done
54687
54688   else
54689
54690   echo "$as_me:$LINENO: checking for _finite declaration" >&5
54691 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
54692   if test x${glibcxx_cv_func__finite_use+set} != xset; then
54693     if test "${glibcxx_cv_func__finite_use+set}" = set; then
54694   echo $ECHO_N "(cached) $ECHO_C" >&6
54695 else
54696
54697
54698
54699       ac_ext=cc
54700 ac_cpp='$CXXCPP $CPPFLAGS'
54701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54704
54705       cat >conftest.$ac_ext <<_ACEOF
54706 /* confdefs.h.  */
54707 _ACEOF
54708 cat confdefs.h >>conftest.$ac_ext
54709 cat >>conftest.$ac_ext <<_ACEOF
54710 /* end confdefs.h.  */
54711 #include <math.h>
54712                       #ifdef HAVE_IEEEFP_H
54713                       #include <ieeefp.h>
54714                       #endif
54715
54716 int
54717 main ()
54718 {
54719  _finite(0);
54720   ;
54721   return 0;
54722 }
54723 _ACEOF
54724 rm -f conftest.$ac_objext
54725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54726   (eval $ac_compile) 2>conftest.er1
54727   ac_status=$?
54728   grep -v '^ *+' conftest.er1 >conftest.err
54729   rm -f conftest.er1
54730   cat conftest.err >&5
54731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54732   (exit $ac_status); } &&
54733          { ac_try='test -z "$ac_cxx_werror_flag"
54734                          || test ! -s conftest.err'
54735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54736   (eval $ac_try) 2>&5
54737   ac_status=$?
54738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54739   (exit $ac_status); }; } &&
54740          { ac_try='test -s conftest.$ac_objext'
54741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54742   (eval $ac_try) 2>&5
54743   ac_status=$?
54744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54745   (exit $ac_status); }; }; then
54746   glibcxx_cv_func__finite_use=yes
54747 else
54748   echo "$as_me: failed program was:" >&5
54749 sed 's/^/| /' conftest.$ac_ext >&5
54750
54751 glibcxx_cv_func__finite_use=no
54752 fi
54753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54754       ac_ext=c
54755 ac_cpp='$CPP $CPPFLAGS'
54756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54759
54760
54761 fi
54762
54763   fi
54764   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
54765 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
54766
54767     if test x$glibcxx_cv_func__finite_use = x"yes"; then
54768
54769 for ac_func in _finite
54770 do
54771 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54772 echo "$as_me:$LINENO: checking for $ac_func" >&5
54773 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54774 if eval "test \"\${$as_ac_var+set}\" = set"; then
54775   echo $ECHO_N "(cached) $ECHO_C" >&6
54776 else
54777   if test x$gcc_no_link = xyes; then
54778   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54780    { (exit 1); exit 1; }; }
54781 fi
54782 cat >conftest.$ac_ext <<_ACEOF
54783 /* confdefs.h.  */
54784 _ACEOF
54785 cat confdefs.h >>conftest.$ac_ext
54786 cat >>conftest.$ac_ext <<_ACEOF
54787 /* end confdefs.h.  */
54788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54789    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54790 #define $ac_func innocuous_$ac_func
54791
54792 /* System header to define __stub macros and hopefully few prototypes,
54793     which can conflict with char $ac_func (); below.
54794     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54795     <limits.h> exists even on freestanding compilers.  */
54796
54797 #ifdef __STDC__
54798 # include <limits.h>
54799 #else
54800 # include <assert.h>
54801 #endif
54802
54803 #undef $ac_func
54804
54805 /* Override any gcc2 internal prototype to avoid an error.  */
54806 #ifdef __cplusplus
54807 extern "C"
54808 {
54809 #endif
54810 /* We use char because int might match the return type of a gcc2
54811    builtin and then its argument prototype would still apply.  */
54812 char $ac_func ();
54813 /* The GNU C library defines this for functions which it implements
54814     to always fail with ENOSYS.  Some functions are actually named
54815     something starting with __ and the normal name is an alias.  */
54816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54817 choke me
54818 #else
54819 char (*f) () = $ac_func;
54820 #endif
54821 #ifdef __cplusplus
54822 }
54823 #endif
54824
54825 int
54826 main ()
54827 {
54828 return f != $ac_func;
54829   ;
54830   return 0;
54831 }
54832 _ACEOF
54833 rm -f conftest.$ac_objext conftest$ac_exeext
54834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54835   (eval $ac_link) 2>conftest.er1
54836   ac_status=$?
54837   grep -v '^ *+' conftest.er1 >conftest.err
54838   rm -f conftest.er1
54839   cat conftest.err >&5
54840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54841   (exit $ac_status); } &&
54842          { ac_try='test -z "$ac_c_werror_flag"
54843                          || test ! -s conftest.err'
54844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54845   (eval $ac_try) 2>&5
54846   ac_status=$?
54847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54848   (exit $ac_status); }; } &&
54849          { ac_try='test -s conftest$ac_exeext'
54850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54851   (eval $ac_try) 2>&5
54852   ac_status=$?
54853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54854   (exit $ac_status); }; }; then
54855   eval "$as_ac_var=yes"
54856 else
54857   echo "$as_me: failed program was:" >&5
54858 sed 's/^/| /' conftest.$ac_ext >&5
54859
54860 eval "$as_ac_var=no"
54861 fi
54862 rm -f conftest.err conftest.$ac_objext \
54863       conftest$ac_exeext conftest.$ac_ext
54864 fi
54865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54867 if test `eval echo '${'$as_ac_var'}'` = yes; then
54868   cat >>confdefs.h <<_ACEOF
54869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54870 _ACEOF
54871
54872 fi
54873 done
54874
54875     fi
54876   fi
54877
54878
54879
54880   echo "$as_me:$LINENO: checking for copysign declaration" >&5
54881 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
54882   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
54883     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
54884   echo $ECHO_N "(cached) $ECHO_C" >&6
54885 else
54886
54887
54888
54889       ac_ext=cc
54890 ac_cpp='$CXXCPP $CPPFLAGS'
54891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54894
54895       cat >conftest.$ac_ext <<_ACEOF
54896 /* confdefs.h.  */
54897 _ACEOF
54898 cat confdefs.h >>conftest.$ac_ext
54899 cat >>conftest.$ac_ext <<_ACEOF
54900 /* end confdefs.h.  */
54901 #include <math.h>
54902 int
54903 main ()
54904 {
54905  copysign(0, 0);
54906   ;
54907   return 0;
54908 }
54909 _ACEOF
54910 rm -f conftest.$ac_objext
54911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54912   (eval $ac_compile) 2>conftest.er1
54913   ac_status=$?
54914   grep -v '^ *+' conftest.er1 >conftest.err
54915   rm -f conftest.er1
54916   cat conftest.err >&5
54917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54918   (exit $ac_status); } &&
54919          { ac_try='test -z "$ac_cxx_werror_flag"
54920                          || test ! -s conftest.err'
54921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54922   (eval $ac_try) 2>&5
54923   ac_status=$?
54924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54925   (exit $ac_status); }; } &&
54926          { ac_try='test -s conftest.$ac_objext'
54927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54928   (eval $ac_try) 2>&5
54929   ac_status=$?
54930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54931   (exit $ac_status); }; }; then
54932   glibcxx_cv_func_copysign_use=yes
54933 else
54934   echo "$as_me: failed program was:" >&5
54935 sed 's/^/| /' conftest.$ac_ext >&5
54936
54937 glibcxx_cv_func_copysign_use=no
54938 fi
54939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54940       ac_ext=c
54941 ac_cpp='$CPP $CPPFLAGS'
54942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54945
54946
54947 fi
54948
54949   fi
54950   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
54951 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
54952
54953   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
54954
54955 for ac_func in copysign
54956 do
54957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54958 echo "$as_me:$LINENO: checking for $ac_func" >&5
54959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54960 if eval "test \"\${$as_ac_var+set}\" = set"; then
54961   echo $ECHO_N "(cached) $ECHO_C" >&6
54962 else
54963   if test x$gcc_no_link = xyes; then
54964   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54966    { (exit 1); exit 1; }; }
54967 fi
54968 cat >conftest.$ac_ext <<_ACEOF
54969 /* confdefs.h.  */
54970 _ACEOF
54971 cat confdefs.h >>conftest.$ac_ext
54972 cat >>conftest.$ac_ext <<_ACEOF
54973 /* end confdefs.h.  */
54974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54975    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54976 #define $ac_func innocuous_$ac_func
54977
54978 /* System header to define __stub macros and hopefully few prototypes,
54979     which can conflict with char $ac_func (); below.
54980     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54981     <limits.h> exists even on freestanding compilers.  */
54982
54983 #ifdef __STDC__
54984 # include <limits.h>
54985 #else
54986 # include <assert.h>
54987 #endif
54988
54989 #undef $ac_func
54990
54991 /* Override any gcc2 internal prototype to avoid an error.  */
54992 #ifdef __cplusplus
54993 extern "C"
54994 {
54995 #endif
54996 /* We use char because int might match the return type of a gcc2
54997    builtin and then its argument prototype would still apply.  */
54998 char $ac_func ();
54999 /* The GNU C library defines this for functions which it implements
55000     to always fail with ENOSYS.  Some functions are actually named
55001     something starting with __ and the normal name is an alias.  */
55002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55003 choke me
55004 #else
55005 char (*f) () = $ac_func;
55006 #endif
55007 #ifdef __cplusplus
55008 }
55009 #endif
55010
55011 int
55012 main ()
55013 {
55014 return f != $ac_func;
55015   ;
55016   return 0;
55017 }
55018 _ACEOF
55019 rm -f conftest.$ac_objext conftest$ac_exeext
55020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55021   (eval $ac_link) 2>conftest.er1
55022   ac_status=$?
55023   grep -v '^ *+' conftest.er1 >conftest.err
55024   rm -f conftest.er1
55025   cat conftest.err >&5
55026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55027   (exit $ac_status); } &&
55028          { ac_try='test -z "$ac_c_werror_flag"
55029                          || test ! -s conftest.err'
55030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55031   (eval $ac_try) 2>&5
55032   ac_status=$?
55033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55034   (exit $ac_status); }; } &&
55035          { ac_try='test -s conftest$ac_exeext'
55036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55037   (eval $ac_try) 2>&5
55038   ac_status=$?
55039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55040   (exit $ac_status); }; }; then
55041   eval "$as_ac_var=yes"
55042 else
55043   echo "$as_me: failed program was:" >&5
55044 sed 's/^/| /' conftest.$ac_ext >&5
55045
55046 eval "$as_ac_var=no"
55047 fi
55048 rm -f conftest.err conftest.$ac_objext \
55049       conftest$ac_exeext conftest.$ac_ext
55050 fi
55051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55053 if test `eval echo '${'$as_ac_var'}'` = yes; then
55054   cat >>confdefs.h <<_ACEOF
55055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55056 _ACEOF
55057
55058 fi
55059 done
55060
55061   else
55062
55063   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
55064 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
55065   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
55066     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
55067   echo $ECHO_N "(cached) $ECHO_C" >&6
55068 else
55069
55070
55071
55072       ac_ext=cc
55073 ac_cpp='$CXXCPP $CPPFLAGS'
55074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55077
55078       cat >conftest.$ac_ext <<_ACEOF
55079 /* confdefs.h.  */
55080 _ACEOF
55081 cat confdefs.h >>conftest.$ac_ext
55082 cat >>conftest.$ac_ext <<_ACEOF
55083 /* end confdefs.h.  */
55084 #include <math.h>
55085 int
55086 main ()
55087 {
55088  _copysign(0, 0);
55089   ;
55090   return 0;
55091 }
55092 _ACEOF
55093 rm -f conftest.$ac_objext
55094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55095   (eval $ac_compile) 2>conftest.er1
55096   ac_status=$?
55097   grep -v '^ *+' conftest.er1 >conftest.err
55098   rm -f conftest.er1
55099   cat conftest.err >&5
55100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55101   (exit $ac_status); } &&
55102          { ac_try='test -z "$ac_cxx_werror_flag"
55103                          || test ! -s conftest.err'
55104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55105   (eval $ac_try) 2>&5
55106   ac_status=$?
55107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55108   (exit $ac_status); }; } &&
55109          { ac_try='test -s conftest.$ac_objext'
55110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55111   (eval $ac_try) 2>&5
55112   ac_status=$?
55113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55114   (exit $ac_status); }; }; then
55115   glibcxx_cv_func__copysign_use=yes
55116 else
55117   echo "$as_me: failed program was:" >&5
55118 sed 's/^/| /' conftest.$ac_ext >&5
55119
55120 glibcxx_cv_func__copysign_use=no
55121 fi
55122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55123       ac_ext=c
55124 ac_cpp='$CPP $CPPFLAGS'
55125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55128
55129
55130 fi
55131
55132   fi
55133   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
55134 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
55135
55136     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
55137
55138 for ac_func in _copysign
55139 do
55140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55141 echo "$as_me:$LINENO: checking for $ac_func" >&5
55142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55143 if eval "test \"\${$as_ac_var+set}\" = set"; then
55144   echo $ECHO_N "(cached) $ECHO_C" >&6
55145 else
55146   if test x$gcc_no_link = xyes; then
55147   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55149    { (exit 1); exit 1; }; }
55150 fi
55151 cat >conftest.$ac_ext <<_ACEOF
55152 /* confdefs.h.  */
55153 _ACEOF
55154 cat confdefs.h >>conftest.$ac_ext
55155 cat >>conftest.$ac_ext <<_ACEOF
55156 /* end confdefs.h.  */
55157 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55158    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55159 #define $ac_func innocuous_$ac_func
55160
55161 /* System header to define __stub macros and hopefully few prototypes,
55162     which can conflict with char $ac_func (); below.
55163     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55164     <limits.h> exists even on freestanding compilers.  */
55165
55166 #ifdef __STDC__
55167 # include <limits.h>
55168 #else
55169 # include <assert.h>
55170 #endif
55171
55172 #undef $ac_func
55173
55174 /* Override any gcc2 internal prototype to avoid an error.  */
55175 #ifdef __cplusplus
55176 extern "C"
55177 {
55178 #endif
55179 /* We use char because int might match the return type of a gcc2
55180    builtin and then its argument prototype would still apply.  */
55181 char $ac_func ();
55182 /* The GNU C library defines this for functions which it implements
55183     to always fail with ENOSYS.  Some functions are actually named
55184     something starting with __ and the normal name is an alias.  */
55185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55186 choke me
55187 #else
55188 char (*f) () = $ac_func;
55189 #endif
55190 #ifdef __cplusplus
55191 }
55192 #endif
55193
55194 int
55195 main ()
55196 {
55197 return f != $ac_func;
55198   ;
55199   return 0;
55200 }
55201 _ACEOF
55202 rm -f conftest.$ac_objext conftest$ac_exeext
55203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55204   (eval $ac_link) 2>conftest.er1
55205   ac_status=$?
55206   grep -v '^ *+' conftest.er1 >conftest.err
55207   rm -f conftest.er1
55208   cat conftest.err >&5
55209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55210   (exit $ac_status); } &&
55211          { ac_try='test -z "$ac_c_werror_flag"
55212                          || test ! -s conftest.err'
55213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55214   (eval $ac_try) 2>&5
55215   ac_status=$?
55216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55217   (exit $ac_status); }; } &&
55218          { ac_try='test -s conftest$ac_exeext'
55219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55220   (eval $ac_try) 2>&5
55221   ac_status=$?
55222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55223   (exit $ac_status); }; }; then
55224   eval "$as_ac_var=yes"
55225 else
55226   echo "$as_me: failed program was:" >&5
55227 sed 's/^/| /' conftest.$ac_ext >&5
55228
55229 eval "$as_ac_var=no"
55230 fi
55231 rm -f conftest.err conftest.$ac_objext \
55232       conftest$ac_exeext conftest.$ac_ext
55233 fi
55234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55236 if test `eval echo '${'$as_ac_var'}'` = yes; then
55237   cat >>confdefs.h <<_ACEOF
55238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55239 _ACEOF
55240
55241 fi
55242 done
55243
55244     fi
55245   fi
55246
55247
55248
55249   echo "$as_me:$LINENO: checking for sincos declaration" >&5
55250 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
55251   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55252     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
55253   echo $ECHO_N "(cached) $ECHO_C" >&6
55254 else
55255
55256
55257
55258       ac_ext=cc
55259 ac_cpp='$CXXCPP $CPPFLAGS'
55260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55263
55264       cat >conftest.$ac_ext <<_ACEOF
55265 /* confdefs.h.  */
55266 _ACEOF
55267 cat confdefs.h >>conftest.$ac_ext
55268 cat >>conftest.$ac_ext <<_ACEOF
55269 /* end confdefs.h.  */
55270 #include <math.h>
55271 int
55272 main ()
55273 {
55274  sincos(0, 0, 0);
55275   ;
55276   return 0;
55277 }
55278 _ACEOF
55279 rm -f conftest.$ac_objext
55280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55281   (eval $ac_compile) 2>conftest.er1
55282   ac_status=$?
55283   grep -v '^ *+' conftest.er1 >conftest.err
55284   rm -f conftest.er1
55285   cat conftest.err >&5
55286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55287   (exit $ac_status); } &&
55288          { ac_try='test -z "$ac_cxx_werror_flag"
55289                          || test ! -s conftest.err'
55290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55291   (eval $ac_try) 2>&5
55292   ac_status=$?
55293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55294   (exit $ac_status); }; } &&
55295          { ac_try='test -s conftest.$ac_objext'
55296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55297   (eval $ac_try) 2>&5
55298   ac_status=$?
55299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55300   (exit $ac_status); }; }; then
55301   glibcxx_cv_func_sincos_use=yes
55302 else
55303   echo "$as_me: failed program was:" >&5
55304 sed 's/^/| /' conftest.$ac_ext >&5
55305
55306 glibcxx_cv_func_sincos_use=no
55307 fi
55308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55309       ac_ext=c
55310 ac_cpp='$CPP $CPPFLAGS'
55311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55314
55315
55316 fi
55317
55318   fi
55319   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
55320 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
55321
55322   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55323
55324 for ac_func in sincos
55325 do
55326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55327 echo "$as_me:$LINENO: checking for $ac_func" >&5
55328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55329 if eval "test \"\${$as_ac_var+set}\" = set"; then
55330   echo $ECHO_N "(cached) $ECHO_C" >&6
55331 else
55332   if test x$gcc_no_link = xyes; then
55333   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55335    { (exit 1); exit 1; }; }
55336 fi
55337 cat >conftest.$ac_ext <<_ACEOF
55338 /* confdefs.h.  */
55339 _ACEOF
55340 cat confdefs.h >>conftest.$ac_ext
55341 cat >>conftest.$ac_ext <<_ACEOF
55342 /* end confdefs.h.  */
55343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55344    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55345 #define $ac_func innocuous_$ac_func
55346
55347 /* System header to define __stub macros and hopefully few prototypes,
55348     which can conflict with char $ac_func (); below.
55349     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55350     <limits.h> exists even on freestanding compilers.  */
55351
55352 #ifdef __STDC__
55353 # include <limits.h>
55354 #else
55355 # include <assert.h>
55356 #endif
55357
55358 #undef $ac_func
55359
55360 /* Override any gcc2 internal prototype to avoid an error.  */
55361 #ifdef __cplusplus
55362 extern "C"
55363 {
55364 #endif
55365 /* We use char because int might match the return type of a gcc2
55366    builtin and then its argument prototype would still apply.  */
55367 char $ac_func ();
55368 /* The GNU C library defines this for functions which it implements
55369     to always fail with ENOSYS.  Some functions are actually named
55370     something starting with __ and the normal name is an alias.  */
55371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55372 choke me
55373 #else
55374 char (*f) () = $ac_func;
55375 #endif
55376 #ifdef __cplusplus
55377 }
55378 #endif
55379
55380 int
55381 main ()
55382 {
55383 return f != $ac_func;
55384   ;
55385   return 0;
55386 }
55387 _ACEOF
55388 rm -f conftest.$ac_objext conftest$ac_exeext
55389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55390   (eval $ac_link) 2>conftest.er1
55391   ac_status=$?
55392   grep -v '^ *+' conftest.er1 >conftest.err
55393   rm -f conftest.er1
55394   cat conftest.err >&5
55395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55396   (exit $ac_status); } &&
55397          { ac_try='test -z "$ac_c_werror_flag"
55398                          || test ! -s conftest.err'
55399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55400   (eval $ac_try) 2>&5
55401   ac_status=$?
55402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55403   (exit $ac_status); }; } &&
55404          { ac_try='test -s conftest$ac_exeext'
55405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55406   (eval $ac_try) 2>&5
55407   ac_status=$?
55408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55409   (exit $ac_status); }; }; then
55410   eval "$as_ac_var=yes"
55411 else
55412   echo "$as_me: failed program was:" >&5
55413 sed 's/^/| /' conftest.$ac_ext >&5
55414
55415 eval "$as_ac_var=no"
55416 fi
55417 rm -f conftest.err conftest.$ac_objext \
55418       conftest$ac_exeext conftest.$ac_ext
55419 fi
55420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55422 if test `eval echo '${'$as_ac_var'}'` = yes; then
55423   cat >>confdefs.h <<_ACEOF
55424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55425 _ACEOF
55426
55427 fi
55428 done
55429
55430   else
55431
55432   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
55433 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
55434   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55435     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
55436   echo $ECHO_N "(cached) $ECHO_C" >&6
55437 else
55438
55439
55440
55441       ac_ext=cc
55442 ac_cpp='$CXXCPP $CPPFLAGS'
55443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55446
55447       cat >conftest.$ac_ext <<_ACEOF
55448 /* confdefs.h.  */
55449 _ACEOF
55450 cat confdefs.h >>conftest.$ac_ext
55451 cat >>conftest.$ac_ext <<_ACEOF
55452 /* end confdefs.h.  */
55453 #include <math.h>
55454 int
55455 main ()
55456 {
55457  _sincos(0, 0, 0);
55458   ;
55459   return 0;
55460 }
55461 _ACEOF
55462 rm -f conftest.$ac_objext
55463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55464   (eval $ac_compile) 2>conftest.er1
55465   ac_status=$?
55466   grep -v '^ *+' conftest.er1 >conftest.err
55467   rm -f conftest.er1
55468   cat conftest.err >&5
55469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55470   (exit $ac_status); } &&
55471          { ac_try='test -z "$ac_cxx_werror_flag"
55472                          || test ! -s conftest.err'
55473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55474   (eval $ac_try) 2>&5
55475   ac_status=$?
55476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55477   (exit $ac_status); }; } &&
55478          { ac_try='test -s conftest.$ac_objext'
55479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55480   (eval $ac_try) 2>&5
55481   ac_status=$?
55482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55483   (exit $ac_status); }; }; then
55484   glibcxx_cv_func__sincos_use=yes
55485 else
55486   echo "$as_me: failed program was:" >&5
55487 sed 's/^/| /' conftest.$ac_ext >&5
55488
55489 glibcxx_cv_func__sincos_use=no
55490 fi
55491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55492       ac_ext=c
55493 ac_cpp='$CPP $CPPFLAGS'
55494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55497
55498
55499 fi
55500
55501   fi
55502   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
55503 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
55504
55505     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55506
55507 for ac_func in _sincos
55508 do
55509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55510 echo "$as_me:$LINENO: checking for $ac_func" >&5
55511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55512 if eval "test \"\${$as_ac_var+set}\" = set"; then
55513   echo $ECHO_N "(cached) $ECHO_C" >&6
55514 else
55515   if test x$gcc_no_link = xyes; then
55516   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55518    { (exit 1); exit 1; }; }
55519 fi
55520 cat >conftest.$ac_ext <<_ACEOF
55521 /* confdefs.h.  */
55522 _ACEOF
55523 cat confdefs.h >>conftest.$ac_ext
55524 cat >>conftest.$ac_ext <<_ACEOF
55525 /* end confdefs.h.  */
55526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55527    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55528 #define $ac_func innocuous_$ac_func
55529
55530 /* System header to define __stub macros and hopefully few prototypes,
55531     which can conflict with char $ac_func (); below.
55532     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55533     <limits.h> exists even on freestanding compilers.  */
55534
55535 #ifdef __STDC__
55536 # include <limits.h>
55537 #else
55538 # include <assert.h>
55539 #endif
55540
55541 #undef $ac_func
55542
55543 /* Override any gcc2 internal prototype to avoid an error.  */
55544 #ifdef __cplusplus
55545 extern "C"
55546 {
55547 #endif
55548 /* We use char because int might match the return type of a gcc2
55549    builtin and then its argument prototype would still apply.  */
55550 char $ac_func ();
55551 /* The GNU C library defines this for functions which it implements
55552     to always fail with ENOSYS.  Some functions are actually named
55553     something starting with __ and the normal name is an alias.  */
55554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55555 choke me
55556 #else
55557 char (*f) () = $ac_func;
55558 #endif
55559 #ifdef __cplusplus
55560 }
55561 #endif
55562
55563 int
55564 main ()
55565 {
55566 return f != $ac_func;
55567   ;
55568   return 0;
55569 }
55570 _ACEOF
55571 rm -f conftest.$ac_objext conftest$ac_exeext
55572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55573   (eval $ac_link) 2>conftest.er1
55574   ac_status=$?
55575   grep -v '^ *+' conftest.er1 >conftest.err
55576   rm -f conftest.er1
55577   cat conftest.err >&5
55578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55579   (exit $ac_status); } &&
55580          { ac_try='test -z "$ac_c_werror_flag"
55581                          || test ! -s conftest.err'
55582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55583   (eval $ac_try) 2>&5
55584   ac_status=$?
55585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55586   (exit $ac_status); }; } &&
55587          { ac_try='test -s conftest$ac_exeext'
55588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55589   (eval $ac_try) 2>&5
55590   ac_status=$?
55591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55592   (exit $ac_status); }; }; then
55593   eval "$as_ac_var=yes"
55594 else
55595   echo "$as_me: failed program was:" >&5
55596 sed 's/^/| /' conftest.$ac_ext >&5
55597
55598 eval "$as_ac_var=no"
55599 fi
55600 rm -f conftest.err conftest.$ac_objext \
55601       conftest$ac_exeext conftest.$ac_ext
55602 fi
55603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55605 if test `eval echo '${'$as_ac_var'}'` = yes; then
55606   cat >>confdefs.h <<_ACEOF
55607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55608 _ACEOF
55609
55610 fi
55611 done
55612
55613     fi
55614   fi
55615
55616
55617
55618   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
55619 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
55620   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55621     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
55622   echo $ECHO_N "(cached) $ECHO_C" >&6
55623 else
55624
55625
55626
55627       ac_ext=cc
55628 ac_cpp='$CXXCPP $CPPFLAGS'
55629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55632
55633       cat >conftest.$ac_ext <<_ACEOF
55634 /* confdefs.h.  */
55635 _ACEOF
55636 cat confdefs.h >>conftest.$ac_ext
55637 cat >>conftest.$ac_ext <<_ACEOF
55638 /* end confdefs.h.  */
55639 #include <math.h>
55640                       #ifdef HAVE_IEEEFP_H
55641                       #include <ieeefp.h>
55642                       #endif
55643
55644 int
55645 main ()
55646 {
55647  fpclass(0);
55648   ;
55649   return 0;
55650 }
55651 _ACEOF
55652 rm -f conftest.$ac_objext
55653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55654   (eval $ac_compile) 2>conftest.er1
55655   ac_status=$?
55656   grep -v '^ *+' conftest.er1 >conftest.err
55657   rm -f conftest.er1
55658   cat conftest.err >&5
55659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55660   (exit $ac_status); } &&
55661          { ac_try='test -z "$ac_cxx_werror_flag"
55662                          || test ! -s conftest.err'
55663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55664   (eval $ac_try) 2>&5
55665   ac_status=$?
55666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55667   (exit $ac_status); }; } &&
55668          { ac_try='test -s conftest.$ac_objext'
55669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55670   (eval $ac_try) 2>&5
55671   ac_status=$?
55672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55673   (exit $ac_status); }; }; then
55674   glibcxx_cv_func_fpclass_use=yes
55675 else
55676   echo "$as_me: failed program was:" >&5
55677 sed 's/^/| /' conftest.$ac_ext >&5
55678
55679 glibcxx_cv_func_fpclass_use=no
55680 fi
55681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55682       ac_ext=c
55683 ac_cpp='$CPP $CPPFLAGS'
55684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55687
55688
55689 fi
55690
55691   fi
55692   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
55693 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
55694
55695   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55696
55697 for ac_func in fpclass
55698 do
55699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55700 echo "$as_me:$LINENO: checking for $ac_func" >&5
55701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55702 if eval "test \"\${$as_ac_var+set}\" = set"; then
55703   echo $ECHO_N "(cached) $ECHO_C" >&6
55704 else
55705   if test x$gcc_no_link = xyes; then
55706   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55708    { (exit 1); exit 1; }; }
55709 fi
55710 cat >conftest.$ac_ext <<_ACEOF
55711 /* confdefs.h.  */
55712 _ACEOF
55713 cat confdefs.h >>conftest.$ac_ext
55714 cat >>conftest.$ac_ext <<_ACEOF
55715 /* end confdefs.h.  */
55716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55717    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55718 #define $ac_func innocuous_$ac_func
55719
55720 /* System header to define __stub macros and hopefully few prototypes,
55721     which can conflict with char $ac_func (); below.
55722     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55723     <limits.h> exists even on freestanding compilers.  */
55724
55725 #ifdef __STDC__
55726 # include <limits.h>
55727 #else
55728 # include <assert.h>
55729 #endif
55730
55731 #undef $ac_func
55732
55733 /* Override any gcc2 internal prototype to avoid an error.  */
55734 #ifdef __cplusplus
55735 extern "C"
55736 {
55737 #endif
55738 /* We use char because int might match the return type of a gcc2
55739    builtin and then its argument prototype would still apply.  */
55740 char $ac_func ();
55741 /* The GNU C library defines this for functions which it implements
55742     to always fail with ENOSYS.  Some functions are actually named
55743     something starting with __ and the normal name is an alias.  */
55744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55745 choke me
55746 #else
55747 char (*f) () = $ac_func;
55748 #endif
55749 #ifdef __cplusplus
55750 }
55751 #endif
55752
55753 int
55754 main ()
55755 {
55756 return f != $ac_func;
55757   ;
55758   return 0;
55759 }
55760 _ACEOF
55761 rm -f conftest.$ac_objext conftest$ac_exeext
55762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55763   (eval $ac_link) 2>conftest.er1
55764   ac_status=$?
55765   grep -v '^ *+' conftest.er1 >conftest.err
55766   rm -f conftest.er1
55767   cat conftest.err >&5
55768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55769   (exit $ac_status); } &&
55770          { ac_try='test -z "$ac_c_werror_flag"
55771                          || test ! -s conftest.err'
55772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55773   (eval $ac_try) 2>&5
55774   ac_status=$?
55775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55776   (exit $ac_status); }; } &&
55777          { ac_try='test -s conftest$ac_exeext'
55778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55779   (eval $ac_try) 2>&5
55780   ac_status=$?
55781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55782   (exit $ac_status); }; }; then
55783   eval "$as_ac_var=yes"
55784 else
55785   echo "$as_me: failed program was:" >&5
55786 sed 's/^/| /' conftest.$ac_ext >&5
55787
55788 eval "$as_ac_var=no"
55789 fi
55790 rm -f conftest.err conftest.$ac_objext \
55791       conftest$ac_exeext conftest.$ac_ext
55792 fi
55793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55795 if test `eval echo '${'$as_ac_var'}'` = yes; then
55796   cat >>confdefs.h <<_ACEOF
55797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55798 _ACEOF
55799
55800 fi
55801 done
55802
55803   else
55804
55805   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
55806 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
55807   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55808     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
55809   echo $ECHO_N "(cached) $ECHO_C" >&6
55810 else
55811
55812
55813
55814       ac_ext=cc
55815 ac_cpp='$CXXCPP $CPPFLAGS'
55816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55819
55820       cat >conftest.$ac_ext <<_ACEOF
55821 /* confdefs.h.  */
55822 _ACEOF
55823 cat confdefs.h >>conftest.$ac_ext
55824 cat >>conftest.$ac_ext <<_ACEOF
55825 /* end confdefs.h.  */
55826 #include <math.h>
55827                       #ifdef HAVE_IEEEFP_H
55828                       #include <ieeefp.h>
55829                       #endif
55830
55831 int
55832 main ()
55833 {
55834  _fpclass(0);
55835   ;
55836   return 0;
55837 }
55838 _ACEOF
55839 rm -f conftest.$ac_objext
55840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55841   (eval $ac_compile) 2>conftest.er1
55842   ac_status=$?
55843   grep -v '^ *+' conftest.er1 >conftest.err
55844   rm -f conftest.er1
55845   cat conftest.err >&5
55846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55847   (exit $ac_status); } &&
55848          { ac_try='test -z "$ac_cxx_werror_flag"
55849                          || test ! -s conftest.err'
55850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55851   (eval $ac_try) 2>&5
55852   ac_status=$?
55853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55854   (exit $ac_status); }; } &&
55855          { ac_try='test -s conftest.$ac_objext'
55856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55857   (eval $ac_try) 2>&5
55858   ac_status=$?
55859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55860   (exit $ac_status); }; }; then
55861   glibcxx_cv_func__fpclass_use=yes
55862 else
55863   echo "$as_me: failed program was:" >&5
55864 sed 's/^/| /' conftest.$ac_ext >&5
55865
55866 glibcxx_cv_func__fpclass_use=no
55867 fi
55868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55869       ac_ext=c
55870 ac_cpp='$CPP $CPPFLAGS'
55871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55874
55875
55876 fi
55877
55878   fi
55879   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
55880 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
55881
55882     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55883
55884 for ac_func in _fpclass
55885 do
55886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55887 echo "$as_me:$LINENO: checking for $ac_func" >&5
55888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55889 if eval "test \"\${$as_ac_var+set}\" = set"; then
55890   echo $ECHO_N "(cached) $ECHO_C" >&6
55891 else
55892   if test x$gcc_no_link = xyes; then
55893   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55895    { (exit 1); exit 1; }; }
55896 fi
55897 cat >conftest.$ac_ext <<_ACEOF
55898 /* confdefs.h.  */
55899 _ACEOF
55900 cat confdefs.h >>conftest.$ac_ext
55901 cat >>conftest.$ac_ext <<_ACEOF
55902 /* end confdefs.h.  */
55903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55904    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55905 #define $ac_func innocuous_$ac_func
55906
55907 /* System header to define __stub macros and hopefully few prototypes,
55908     which can conflict with char $ac_func (); below.
55909     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55910     <limits.h> exists even on freestanding compilers.  */
55911
55912 #ifdef __STDC__
55913 # include <limits.h>
55914 #else
55915 # include <assert.h>
55916 #endif
55917
55918 #undef $ac_func
55919
55920 /* Override any gcc2 internal prototype to avoid an error.  */
55921 #ifdef __cplusplus
55922 extern "C"
55923 {
55924 #endif
55925 /* We use char because int might match the return type of a gcc2
55926    builtin and then its argument prototype would still apply.  */
55927 char $ac_func ();
55928 /* The GNU C library defines this for functions which it implements
55929     to always fail with ENOSYS.  Some functions are actually named
55930     something starting with __ and the normal name is an alias.  */
55931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55932 choke me
55933 #else
55934 char (*f) () = $ac_func;
55935 #endif
55936 #ifdef __cplusplus
55937 }
55938 #endif
55939
55940 int
55941 main ()
55942 {
55943 return f != $ac_func;
55944   ;
55945   return 0;
55946 }
55947 _ACEOF
55948 rm -f conftest.$ac_objext conftest$ac_exeext
55949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55950   (eval $ac_link) 2>conftest.er1
55951   ac_status=$?
55952   grep -v '^ *+' conftest.er1 >conftest.err
55953   rm -f conftest.er1
55954   cat conftest.err >&5
55955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55956   (exit $ac_status); } &&
55957          { ac_try='test -z "$ac_c_werror_flag"
55958                          || test ! -s conftest.err'
55959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55960   (eval $ac_try) 2>&5
55961   ac_status=$?
55962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55963   (exit $ac_status); }; } &&
55964          { ac_try='test -s conftest$ac_exeext'
55965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55966   (eval $ac_try) 2>&5
55967   ac_status=$?
55968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55969   (exit $ac_status); }; }; then
55970   eval "$as_ac_var=yes"
55971 else
55972   echo "$as_me: failed program was:" >&5
55973 sed 's/^/| /' conftest.$ac_ext >&5
55974
55975 eval "$as_ac_var=no"
55976 fi
55977 rm -f conftest.err conftest.$ac_objext \
55978       conftest$ac_exeext conftest.$ac_ext
55979 fi
55980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55982 if test `eval echo '${'$as_ac_var'}'` = yes; then
55983   cat >>confdefs.h <<_ACEOF
55984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55985 _ACEOF
55986
55987 fi
55988 done
55989
55990     fi
55991   fi
55992
55993
55994
55995   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
55996 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
55997   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55998     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
55999   echo $ECHO_N "(cached) $ECHO_C" >&6
56000 else
56001
56002
56003
56004       ac_ext=cc
56005 ac_cpp='$CXXCPP $CPPFLAGS'
56006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56009
56010       cat >conftest.$ac_ext <<_ACEOF
56011 /* confdefs.h.  */
56012 _ACEOF
56013 cat confdefs.h >>conftest.$ac_ext
56014 cat >>conftest.$ac_ext <<_ACEOF
56015 /* end confdefs.h.  */
56016 #include <math.h>
56017                       #ifdef HAVE_IEEEFP_H
56018                       #include <ieeefp.h>
56019                       #endif
56020
56021 int
56022 main ()
56023 {
56024  qfpclass(0);
56025   ;
56026   return 0;
56027 }
56028 _ACEOF
56029 rm -f conftest.$ac_objext
56030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56031   (eval $ac_compile) 2>conftest.er1
56032   ac_status=$?
56033   grep -v '^ *+' conftest.er1 >conftest.err
56034   rm -f conftest.er1
56035   cat conftest.err >&5
56036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56037   (exit $ac_status); } &&
56038          { ac_try='test -z "$ac_cxx_werror_flag"
56039                          || test ! -s conftest.err'
56040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56041   (eval $ac_try) 2>&5
56042   ac_status=$?
56043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56044   (exit $ac_status); }; } &&
56045          { ac_try='test -s conftest.$ac_objext'
56046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56047   (eval $ac_try) 2>&5
56048   ac_status=$?
56049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56050   (exit $ac_status); }; }; then
56051   glibcxx_cv_func_qfpclass_use=yes
56052 else
56053   echo "$as_me: failed program was:" >&5
56054 sed 's/^/| /' conftest.$ac_ext >&5
56055
56056 glibcxx_cv_func_qfpclass_use=no
56057 fi
56058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56059       ac_ext=c
56060 ac_cpp='$CPP $CPPFLAGS'
56061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56064
56065
56066 fi
56067
56068   fi
56069   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
56070 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
56071
56072   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
56073
56074 for ac_func in qfpclass
56075 do
56076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56077 echo "$as_me:$LINENO: checking for $ac_func" >&5
56078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56079 if eval "test \"\${$as_ac_var+set}\" = set"; then
56080   echo $ECHO_N "(cached) $ECHO_C" >&6
56081 else
56082   if test x$gcc_no_link = xyes; then
56083   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56085    { (exit 1); exit 1; }; }
56086 fi
56087 cat >conftest.$ac_ext <<_ACEOF
56088 /* confdefs.h.  */
56089 _ACEOF
56090 cat confdefs.h >>conftest.$ac_ext
56091 cat >>conftest.$ac_ext <<_ACEOF
56092 /* end confdefs.h.  */
56093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56094    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56095 #define $ac_func innocuous_$ac_func
56096
56097 /* System header to define __stub macros and hopefully few prototypes,
56098     which can conflict with char $ac_func (); below.
56099     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56100     <limits.h> exists even on freestanding compilers.  */
56101
56102 #ifdef __STDC__
56103 # include <limits.h>
56104 #else
56105 # include <assert.h>
56106 #endif
56107
56108 #undef $ac_func
56109
56110 /* Override any gcc2 internal prototype to avoid an error.  */
56111 #ifdef __cplusplus
56112 extern "C"
56113 {
56114 #endif
56115 /* We use char because int might match the return type of a gcc2
56116    builtin and then its argument prototype would still apply.  */
56117 char $ac_func ();
56118 /* The GNU C library defines this for functions which it implements
56119     to always fail with ENOSYS.  Some functions are actually named
56120     something starting with __ and the normal name is an alias.  */
56121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56122 choke me
56123 #else
56124 char (*f) () = $ac_func;
56125 #endif
56126 #ifdef __cplusplus
56127 }
56128 #endif
56129
56130 int
56131 main ()
56132 {
56133 return f != $ac_func;
56134   ;
56135   return 0;
56136 }
56137 _ACEOF
56138 rm -f conftest.$ac_objext conftest$ac_exeext
56139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56140   (eval $ac_link) 2>conftest.er1
56141   ac_status=$?
56142   grep -v '^ *+' conftest.er1 >conftest.err
56143   rm -f conftest.er1
56144   cat conftest.err >&5
56145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56146   (exit $ac_status); } &&
56147          { ac_try='test -z "$ac_c_werror_flag"
56148                          || test ! -s conftest.err'
56149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56150   (eval $ac_try) 2>&5
56151   ac_status=$?
56152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56153   (exit $ac_status); }; } &&
56154          { ac_try='test -s conftest$ac_exeext'
56155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56156   (eval $ac_try) 2>&5
56157   ac_status=$?
56158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56159   (exit $ac_status); }; }; then
56160   eval "$as_ac_var=yes"
56161 else
56162   echo "$as_me: failed program was:" >&5
56163 sed 's/^/| /' conftest.$ac_ext >&5
56164
56165 eval "$as_ac_var=no"
56166 fi
56167 rm -f conftest.err conftest.$ac_objext \
56168       conftest$ac_exeext conftest.$ac_ext
56169 fi
56170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56172 if test `eval echo '${'$as_ac_var'}'` = yes; then
56173   cat >>confdefs.h <<_ACEOF
56174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56175 _ACEOF
56176
56177 fi
56178 done
56179
56180   else
56181
56182   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
56183 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
56184   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
56185     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
56186   echo $ECHO_N "(cached) $ECHO_C" >&6
56187 else
56188
56189
56190
56191       ac_ext=cc
56192 ac_cpp='$CXXCPP $CPPFLAGS'
56193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56196
56197       cat >conftest.$ac_ext <<_ACEOF
56198 /* confdefs.h.  */
56199 _ACEOF
56200 cat confdefs.h >>conftest.$ac_ext
56201 cat >>conftest.$ac_ext <<_ACEOF
56202 /* end confdefs.h.  */
56203 #include <math.h>
56204                       #ifdef HAVE_IEEEFP_H
56205                       #include <ieeefp.h>
56206                       #endif
56207
56208 int
56209 main ()
56210 {
56211  _qfpclass(0);
56212   ;
56213   return 0;
56214 }
56215 _ACEOF
56216 rm -f conftest.$ac_objext
56217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56218   (eval $ac_compile) 2>conftest.er1
56219   ac_status=$?
56220   grep -v '^ *+' conftest.er1 >conftest.err
56221   rm -f conftest.er1
56222   cat conftest.err >&5
56223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56224   (exit $ac_status); } &&
56225          { ac_try='test -z "$ac_cxx_werror_flag"
56226                          || test ! -s conftest.err'
56227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56228   (eval $ac_try) 2>&5
56229   ac_status=$?
56230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56231   (exit $ac_status); }; } &&
56232          { ac_try='test -s conftest.$ac_objext'
56233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56234   (eval $ac_try) 2>&5
56235   ac_status=$?
56236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56237   (exit $ac_status); }; }; then
56238   glibcxx_cv_func__qfpclass_use=yes
56239 else
56240   echo "$as_me: failed program was:" >&5
56241 sed 's/^/| /' conftest.$ac_ext >&5
56242
56243 glibcxx_cv_func__qfpclass_use=no
56244 fi
56245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56246       ac_ext=c
56247 ac_cpp='$CPP $CPPFLAGS'
56248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56251
56252
56253 fi
56254
56255   fi
56256   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
56257 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
56258
56259     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
56260
56261 for ac_func in _qfpclass
56262 do
56263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56264 echo "$as_me:$LINENO: checking for $ac_func" >&5
56265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56266 if eval "test \"\${$as_ac_var+set}\" = set"; then
56267   echo $ECHO_N "(cached) $ECHO_C" >&6
56268 else
56269   if test x$gcc_no_link = xyes; then
56270   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56272    { (exit 1); exit 1; }; }
56273 fi
56274 cat >conftest.$ac_ext <<_ACEOF
56275 /* confdefs.h.  */
56276 _ACEOF
56277 cat confdefs.h >>conftest.$ac_ext
56278 cat >>conftest.$ac_ext <<_ACEOF
56279 /* end confdefs.h.  */
56280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56281    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56282 #define $ac_func innocuous_$ac_func
56283
56284 /* System header to define __stub macros and hopefully few prototypes,
56285     which can conflict with char $ac_func (); below.
56286     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56287     <limits.h> exists even on freestanding compilers.  */
56288
56289 #ifdef __STDC__
56290 # include <limits.h>
56291 #else
56292 # include <assert.h>
56293 #endif
56294
56295 #undef $ac_func
56296
56297 /* Override any gcc2 internal prototype to avoid an error.  */
56298 #ifdef __cplusplus
56299 extern "C"
56300 {
56301 #endif
56302 /* We use char because int might match the return type of a gcc2
56303    builtin and then its argument prototype would still apply.  */
56304 char $ac_func ();
56305 /* The GNU C library defines this for functions which it implements
56306     to always fail with ENOSYS.  Some functions are actually named
56307     something starting with __ and the normal name is an alias.  */
56308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56309 choke me
56310 #else
56311 char (*f) () = $ac_func;
56312 #endif
56313 #ifdef __cplusplus
56314 }
56315 #endif
56316
56317 int
56318 main ()
56319 {
56320 return f != $ac_func;
56321   ;
56322   return 0;
56323 }
56324 _ACEOF
56325 rm -f conftest.$ac_objext conftest$ac_exeext
56326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56327   (eval $ac_link) 2>conftest.er1
56328   ac_status=$?
56329   grep -v '^ *+' conftest.er1 >conftest.err
56330   rm -f conftest.er1
56331   cat conftest.err >&5
56332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56333   (exit $ac_status); } &&
56334          { ac_try='test -z "$ac_c_werror_flag"
56335                          || test ! -s conftest.err'
56336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56337   (eval $ac_try) 2>&5
56338   ac_status=$?
56339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56340   (exit $ac_status); }; } &&
56341          { ac_try='test -s conftest$ac_exeext'
56342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56343   (eval $ac_try) 2>&5
56344   ac_status=$?
56345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56346   (exit $ac_status); }; }; then
56347   eval "$as_ac_var=yes"
56348 else
56349   echo "$as_me: failed program was:" >&5
56350 sed 's/^/| /' conftest.$ac_ext >&5
56351
56352 eval "$as_ac_var=no"
56353 fi
56354 rm -f conftest.err conftest.$ac_objext \
56355       conftest$ac_exeext conftest.$ac_ext
56356 fi
56357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56359 if test `eval echo '${'$as_ac_var'}'` = yes; then
56360   cat >>confdefs.h <<_ACEOF
56361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56362 _ACEOF
56363
56364 fi
56365 done
56366
56367     fi
56368   fi
56369
56370
56371
56372   echo "$as_me:$LINENO: checking for hypot declaration" >&5
56373 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
56374   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
56375     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
56376   echo $ECHO_N "(cached) $ECHO_C" >&6
56377 else
56378
56379
56380
56381       ac_ext=cc
56382 ac_cpp='$CXXCPP $CPPFLAGS'
56383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56386
56387       cat >conftest.$ac_ext <<_ACEOF
56388 /* confdefs.h.  */
56389 _ACEOF
56390 cat confdefs.h >>conftest.$ac_ext
56391 cat >>conftest.$ac_ext <<_ACEOF
56392 /* end confdefs.h.  */
56393 #include <math.h>
56394 int
56395 main ()
56396 {
56397  hypot(0, 0);
56398   ;
56399   return 0;
56400 }
56401 _ACEOF
56402 rm -f conftest.$ac_objext
56403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56404   (eval $ac_compile) 2>conftest.er1
56405   ac_status=$?
56406   grep -v '^ *+' conftest.er1 >conftest.err
56407   rm -f conftest.er1
56408   cat conftest.err >&5
56409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56410   (exit $ac_status); } &&
56411          { ac_try='test -z "$ac_cxx_werror_flag"
56412                          || test ! -s conftest.err'
56413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56414   (eval $ac_try) 2>&5
56415   ac_status=$?
56416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56417   (exit $ac_status); }; } &&
56418          { ac_try='test -s conftest.$ac_objext'
56419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56420   (eval $ac_try) 2>&5
56421   ac_status=$?
56422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56423   (exit $ac_status); }; }; then
56424   glibcxx_cv_func_hypot_use=yes
56425 else
56426   echo "$as_me: failed program was:" >&5
56427 sed 's/^/| /' conftest.$ac_ext >&5
56428
56429 glibcxx_cv_func_hypot_use=no
56430 fi
56431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56432       ac_ext=c
56433 ac_cpp='$CPP $CPPFLAGS'
56434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56437
56438
56439 fi
56440
56441   fi
56442   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
56443 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
56444
56445   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
56446
56447 for ac_func in hypot
56448 do
56449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56450 echo "$as_me:$LINENO: checking for $ac_func" >&5
56451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56452 if eval "test \"\${$as_ac_var+set}\" = set"; then
56453   echo $ECHO_N "(cached) $ECHO_C" >&6
56454 else
56455   if test x$gcc_no_link = xyes; then
56456   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56458    { (exit 1); exit 1; }; }
56459 fi
56460 cat >conftest.$ac_ext <<_ACEOF
56461 /* confdefs.h.  */
56462 _ACEOF
56463 cat confdefs.h >>conftest.$ac_ext
56464 cat >>conftest.$ac_ext <<_ACEOF
56465 /* end confdefs.h.  */
56466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56467    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56468 #define $ac_func innocuous_$ac_func
56469
56470 /* System header to define __stub macros and hopefully few prototypes,
56471     which can conflict with char $ac_func (); below.
56472     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56473     <limits.h> exists even on freestanding compilers.  */
56474
56475 #ifdef __STDC__
56476 # include <limits.h>
56477 #else
56478 # include <assert.h>
56479 #endif
56480
56481 #undef $ac_func
56482
56483 /* Override any gcc2 internal prototype to avoid an error.  */
56484 #ifdef __cplusplus
56485 extern "C"
56486 {
56487 #endif
56488 /* We use char because int might match the return type of a gcc2
56489    builtin and then its argument prototype would still apply.  */
56490 char $ac_func ();
56491 /* The GNU C library defines this for functions which it implements
56492     to always fail with ENOSYS.  Some functions are actually named
56493     something starting with __ and the normal name is an alias.  */
56494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56495 choke me
56496 #else
56497 char (*f) () = $ac_func;
56498 #endif
56499 #ifdef __cplusplus
56500 }
56501 #endif
56502
56503 int
56504 main ()
56505 {
56506 return f != $ac_func;
56507   ;
56508   return 0;
56509 }
56510 _ACEOF
56511 rm -f conftest.$ac_objext conftest$ac_exeext
56512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56513   (eval $ac_link) 2>conftest.er1
56514   ac_status=$?
56515   grep -v '^ *+' conftest.er1 >conftest.err
56516   rm -f conftest.er1
56517   cat conftest.err >&5
56518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56519   (exit $ac_status); } &&
56520          { ac_try='test -z "$ac_c_werror_flag"
56521                          || test ! -s conftest.err'
56522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56523   (eval $ac_try) 2>&5
56524   ac_status=$?
56525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56526   (exit $ac_status); }; } &&
56527          { ac_try='test -s conftest$ac_exeext'
56528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56529   (eval $ac_try) 2>&5
56530   ac_status=$?
56531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56532   (exit $ac_status); }; }; then
56533   eval "$as_ac_var=yes"
56534 else
56535   echo "$as_me: failed program was:" >&5
56536 sed 's/^/| /' conftest.$ac_ext >&5
56537
56538 eval "$as_ac_var=no"
56539 fi
56540 rm -f conftest.err conftest.$ac_objext \
56541       conftest$ac_exeext conftest.$ac_ext
56542 fi
56543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56545 if test `eval echo '${'$as_ac_var'}'` = yes; then
56546   cat >>confdefs.h <<_ACEOF
56547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56548 _ACEOF
56549
56550 fi
56551 done
56552
56553   else
56554
56555   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
56556 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
56557   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
56558     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
56559   echo $ECHO_N "(cached) $ECHO_C" >&6
56560 else
56561
56562
56563
56564       ac_ext=cc
56565 ac_cpp='$CXXCPP $CPPFLAGS'
56566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56569
56570       cat >conftest.$ac_ext <<_ACEOF
56571 /* confdefs.h.  */
56572 _ACEOF
56573 cat confdefs.h >>conftest.$ac_ext
56574 cat >>conftest.$ac_ext <<_ACEOF
56575 /* end confdefs.h.  */
56576 #include <math.h>
56577 int
56578 main ()
56579 {
56580  _hypot(0, 0);
56581   ;
56582   return 0;
56583 }
56584 _ACEOF
56585 rm -f conftest.$ac_objext
56586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56587   (eval $ac_compile) 2>conftest.er1
56588   ac_status=$?
56589   grep -v '^ *+' conftest.er1 >conftest.err
56590   rm -f conftest.er1
56591   cat conftest.err >&5
56592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56593   (exit $ac_status); } &&
56594          { ac_try='test -z "$ac_cxx_werror_flag"
56595                          || test ! -s conftest.err'
56596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56597   (eval $ac_try) 2>&5
56598   ac_status=$?
56599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56600   (exit $ac_status); }; } &&
56601          { ac_try='test -s conftest.$ac_objext'
56602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56603   (eval $ac_try) 2>&5
56604   ac_status=$?
56605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56606   (exit $ac_status); }; }; then
56607   glibcxx_cv_func__hypot_use=yes
56608 else
56609   echo "$as_me: failed program was:" >&5
56610 sed 's/^/| /' conftest.$ac_ext >&5
56611
56612 glibcxx_cv_func__hypot_use=no
56613 fi
56614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56615       ac_ext=c
56616 ac_cpp='$CPP $CPPFLAGS'
56617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56620
56621
56622 fi
56623
56624   fi
56625   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
56626 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
56627
56628     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
56629
56630 for ac_func in _hypot
56631 do
56632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56633 echo "$as_me:$LINENO: checking for $ac_func" >&5
56634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56635 if eval "test \"\${$as_ac_var+set}\" = set"; then
56636   echo $ECHO_N "(cached) $ECHO_C" >&6
56637 else
56638   if test x$gcc_no_link = xyes; then
56639   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56641    { (exit 1); exit 1; }; }
56642 fi
56643 cat >conftest.$ac_ext <<_ACEOF
56644 /* confdefs.h.  */
56645 _ACEOF
56646 cat confdefs.h >>conftest.$ac_ext
56647 cat >>conftest.$ac_ext <<_ACEOF
56648 /* end confdefs.h.  */
56649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56650    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56651 #define $ac_func innocuous_$ac_func
56652
56653 /* System header to define __stub macros and hopefully few prototypes,
56654     which can conflict with char $ac_func (); below.
56655     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56656     <limits.h> exists even on freestanding compilers.  */
56657
56658 #ifdef __STDC__
56659 # include <limits.h>
56660 #else
56661 # include <assert.h>
56662 #endif
56663
56664 #undef $ac_func
56665
56666 /* Override any gcc2 internal prototype to avoid an error.  */
56667 #ifdef __cplusplus
56668 extern "C"
56669 {
56670 #endif
56671 /* We use char because int might match the return type of a gcc2
56672    builtin and then its argument prototype would still apply.  */
56673 char $ac_func ();
56674 /* The GNU C library defines this for functions which it implements
56675     to always fail with ENOSYS.  Some functions are actually named
56676     something starting with __ and the normal name is an alias.  */
56677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56678 choke me
56679 #else
56680 char (*f) () = $ac_func;
56681 #endif
56682 #ifdef __cplusplus
56683 }
56684 #endif
56685
56686 int
56687 main ()
56688 {
56689 return f != $ac_func;
56690   ;
56691   return 0;
56692 }
56693 _ACEOF
56694 rm -f conftest.$ac_objext conftest$ac_exeext
56695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56696   (eval $ac_link) 2>conftest.er1
56697   ac_status=$?
56698   grep -v '^ *+' conftest.er1 >conftest.err
56699   rm -f conftest.er1
56700   cat conftest.err >&5
56701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56702   (exit $ac_status); } &&
56703          { ac_try='test -z "$ac_c_werror_flag"
56704                          || test ! -s conftest.err'
56705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56706   (eval $ac_try) 2>&5
56707   ac_status=$?
56708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56709   (exit $ac_status); }; } &&
56710          { ac_try='test -s conftest$ac_exeext'
56711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56712   (eval $ac_try) 2>&5
56713   ac_status=$?
56714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56715   (exit $ac_status); }; }; then
56716   eval "$as_ac_var=yes"
56717 else
56718   echo "$as_me: failed program was:" >&5
56719 sed 's/^/| /' conftest.$ac_ext >&5
56720
56721 eval "$as_ac_var=no"
56722 fi
56723 rm -f conftest.err conftest.$ac_objext \
56724       conftest$ac_exeext conftest.$ac_ext
56725 fi
56726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56728 if test `eval echo '${'$as_ac_var'}'` = yes; then
56729   cat >>confdefs.h <<_ACEOF
56730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56731 _ACEOF
56732
56733 fi
56734 done
56735
56736     fi
56737   fi
56738
56739
56740
56741   echo "$as_me:$LINENO: checking for float trig functions" >&5
56742 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
56743   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
56744   echo $ECHO_N "(cached) $ECHO_C" >&6
56745 else
56746
56747
56748
56749     ac_ext=cc
56750 ac_cpp='$CXXCPP $CPPFLAGS'
56751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56754
56755     cat >conftest.$ac_ext <<_ACEOF
56756 /* confdefs.h.  */
56757 _ACEOF
56758 cat confdefs.h >>conftest.$ac_ext
56759 cat >>conftest.$ac_ext <<_ACEOF
56760 /* end confdefs.h.  */
56761 #include <math.h>
56762 int
56763 main ()
56764 {
56765  `for x in acosf asinf atanf \
56766                                           cosf sinf tanf \
56767                                           coshf sinhf tanhf; do echo "$x (0);"; done`
56768   ;
56769   return 0;
56770 }
56771 _ACEOF
56772 rm -f conftest.$ac_objext
56773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56774   (eval $ac_compile) 2>conftest.er1
56775   ac_status=$?
56776   grep -v '^ *+' conftest.er1 >conftest.err
56777   rm -f conftest.er1
56778   cat conftest.err >&5
56779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56780   (exit $ac_status); } &&
56781          { ac_try='test -z "$ac_cxx_werror_flag"
56782                          || test ! -s conftest.err'
56783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56784   (eval $ac_try) 2>&5
56785   ac_status=$?
56786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56787   (exit $ac_status); }; } &&
56788          { ac_try='test -s conftest.$ac_objext'
56789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56790   (eval $ac_try) 2>&5
56791   ac_status=$?
56792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56793   (exit $ac_status); }; }; then
56794   glibcxx_cv_func_float_trig_use=yes
56795 else
56796   echo "$as_me: failed program was:" >&5
56797 sed 's/^/| /' conftest.$ac_ext >&5
56798
56799 glibcxx_cv_func_float_trig_use=no
56800 fi
56801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56802     ac_ext=c
56803 ac_cpp='$CPP $CPPFLAGS'
56804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56807
56808 fi
56809
56810   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
56811 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
56812   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56813
56814
56815
56816
56817
56818
56819
56820
56821
56822 for ac_func in acosf asinf atanf \
56823                                           cosf sinf tanf \
56824                                           coshf sinhf tanhf
56825 do
56826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56827 echo "$as_me:$LINENO: checking for $ac_func" >&5
56828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56829 if eval "test \"\${$as_ac_var+set}\" = set"; then
56830   echo $ECHO_N "(cached) $ECHO_C" >&6
56831 else
56832   if test x$gcc_no_link = xyes; then
56833   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56835    { (exit 1); exit 1; }; }
56836 fi
56837 cat >conftest.$ac_ext <<_ACEOF
56838 /* confdefs.h.  */
56839 _ACEOF
56840 cat confdefs.h >>conftest.$ac_ext
56841 cat >>conftest.$ac_ext <<_ACEOF
56842 /* end confdefs.h.  */
56843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56844    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56845 #define $ac_func innocuous_$ac_func
56846
56847 /* System header to define __stub macros and hopefully few prototypes,
56848     which can conflict with char $ac_func (); below.
56849     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56850     <limits.h> exists even on freestanding compilers.  */
56851
56852 #ifdef __STDC__
56853 # include <limits.h>
56854 #else
56855 # include <assert.h>
56856 #endif
56857
56858 #undef $ac_func
56859
56860 /* Override any gcc2 internal prototype to avoid an error.  */
56861 #ifdef __cplusplus
56862 extern "C"
56863 {
56864 #endif
56865 /* We use char because int might match the return type of a gcc2
56866    builtin and then its argument prototype would still apply.  */
56867 char $ac_func ();
56868 /* The GNU C library defines this for functions which it implements
56869     to always fail with ENOSYS.  Some functions are actually named
56870     something starting with __ and the normal name is an alias.  */
56871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56872 choke me
56873 #else
56874 char (*f) () = $ac_func;
56875 #endif
56876 #ifdef __cplusplus
56877 }
56878 #endif
56879
56880 int
56881 main ()
56882 {
56883 return f != $ac_func;
56884   ;
56885   return 0;
56886 }
56887 _ACEOF
56888 rm -f conftest.$ac_objext conftest$ac_exeext
56889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56890   (eval $ac_link) 2>conftest.er1
56891   ac_status=$?
56892   grep -v '^ *+' conftest.er1 >conftest.err
56893   rm -f conftest.er1
56894   cat conftest.err >&5
56895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56896   (exit $ac_status); } &&
56897          { ac_try='test -z "$ac_c_werror_flag"
56898                          || test ! -s conftest.err'
56899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56900   (eval $ac_try) 2>&5
56901   ac_status=$?
56902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56903   (exit $ac_status); }; } &&
56904          { ac_try='test -s conftest$ac_exeext'
56905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56906   (eval $ac_try) 2>&5
56907   ac_status=$?
56908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56909   (exit $ac_status); }; }; then
56910   eval "$as_ac_var=yes"
56911 else
56912   echo "$as_me: failed program was:" >&5
56913 sed 's/^/| /' conftest.$ac_ext >&5
56914
56915 eval "$as_ac_var=no"
56916 fi
56917 rm -f conftest.err conftest.$ac_objext \
56918       conftest$ac_exeext conftest.$ac_ext
56919 fi
56920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56922 if test `eval echo '${'$as_ac_var'}'` = yes; then
56923   cat >>confdefs.h <<_ACEOF
56924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56925 _ACEOF
56926
56927 fi
56928 done
56929
56930   fi
56931
56932
56933   echo "$as_me:$LINENO: checking for float round functions" >&5
56934 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
56935   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
56936   echo $ECHO_N "(cached) $ECHO_C" >&6
56937 else
56938
56939
56940
56941     ac_ext=cc
56942 ac_cpp='$CXXCPP $CPPFLAGS'
56943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56946
56947     cat >conftest.$ac_ext <<_ACEOF
56948 /* confdefs.h.  */
56949 _ACEOF
56950 cat confdefs.h >>conftest.$ac_ext
56951 cat >>conftest.$ac_ext <<_ACEOF
56952 /* end confdefs.h.  */
56953 #include <math.h>
56954 int
56955 main ()
56956 {
56957  `for x in ceilf floorf; do echo "$x (0);"; done`
56958   ;
56959   return 0;
56960 }
56961 _ACEOF
56962 rm -f conftest.$ac_objext
56963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56964   (eval $ac_compile) 2>conftest.er1
56965   ac_status=$?
56966   grep -v '^ *+' conftest.er1 >conftest.err
56967   rm -f conftest.er1
56968   cat conftest.err >&5
56969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56970   (exit $ac_status); } &&
56971          { ac_try='test -z "$ac_cxx_werror_flag"
56972                          || test ! -s conftest.err'
56973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56974   (eval $ac_try) 2>&5
56975   ac_status=$?
56976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56977   (exit $ac_status); }; } &&
56978          { ac_try='test -s conftest.$ac_objext'
56979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56980   (eval $ac_try) 2>&5
56981   ac_status=$?
56982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56983   (exit $ac_status); }; }; then
56984   glibcxx_cv_func_float_round_use=yes
56985 else
56986   echo "$as_me: failed program was:" >&5
56987 sed 's/^/| /' conftest.$ac_ext >&5
56988
56989 glibcxx_cv_func_float_round_use=no
56990 fi
56991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56992     ac_ext=c
56993 ac_cpp='$CPP $CPPFLAGS'
56994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56997
56998 fi
56999
57000   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
57001 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
57002   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
57003
57004
57005 for ac_func in ceilf floorf
57006 do
57007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57008 echo "$as_me:$LINENO: checking for $ac_func" >&5
57009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57010 if eval "test \"\${$as_ac_var+set}\" = set"; then
57011   echo $ECHO_N "(cached) $ECHO_C" >&6
57012 else
57013   if test x$gcc_no_link = xyes; then
57014   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57016    { (exit 1); exit 1; }; }
57017 fi
57018 cat >conftest.$ac_ext <<_ACEOF
57019 /* confdefs.h.  */
57020 _ACEOF
57021 cat confdefs.h >>conftest.$ac_ext
57022 cat >>conftest.$ac_ext <<_ACEOF
57023 /* end confdefs.h.  */
57024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57025    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57026 #define $ac_func innocuous_$ac_func
57027
57028 /* System header to define __stub macros and hopefully few prototypes,
57029     which can conflict with char $ac_func (); below.
57030     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57031     <limits.h> exists even on freestanding compilers.  */
57032
57033 #ifdef __STDC__
57034 # include <limits.h>
57035 #else
57036 # include <assert.h>
57037 #endif
57038
57039 #undef $ac_func
57040
57041 /* Override any gcc2 internal prototype to avoid an error.  */
57042 #ifdef __cplusplus
57043 extern "C"
57044 {
57045 #endif
57046 /* We use char because int might match the return type of a gcc2
57047    builtin and then its argument prototype would still apply.  */
57048 char $ac_func ();
57049 /* The GNU C library defines this for functions which it implements
57050     to always fail with ENOSYS.  Some functions are actually named
57051     something starting with __ and the normal name is an alias.  */
57052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57053 choke me
57054 #else
57055 char (*f) () = $ac_func;
57056 #endif
57057 #ifdef __cplusplus
57058 }
57059 #endif
57060
57061 int
57062 main ()
57063 {
57064 return f != $ac_func;
57065   ;
57066   return 0;
57067 }
57068 _ACEOF
57069 rm -f conftest.$ac_objext conftest$ac_exeext
57070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57071   (eval $ac_link) 2>conftest.er1
57072   ac_status=$?
57073   grep -v '^ *+' conftest.er1 >conftest.err
57074   rm -f conftest.er1
57075   cat conftest.err >&5
57076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57077   (exit $ac_status); } &&
57078          { ac_try='test -z "$ac_c_werror_flag"
57079                          || test ! -s conftest.err'
57080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57081   (eval $ac_try) 2>&5
57082   ac_status=$?
57083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57084   (exit $ac_status); }; } &&
57085          { ac_try='test -s conftest$ac_exeext'
57086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57087   (eval $ac_try) 2>&5
57088   ac_status=$?
57089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57090   (exit $ac_status); }; }; then
57091   eval "$as_ac_var=yes"
57092 else
57093   echo "$as_me: failed program was:" >&5
57094 sed 's/^/| /' conftest.$ac_ext >&5
57095
57096 eval "$as_ac_var=no"
57097 fi
57098 rm -f conftest.err conftest.$ac_objext \
57099       conftest$ac_exeext conftest.$ac_ext
57100 fi
57101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57103 if test `eval echo '${'$as_ac_var'}'` = yes; then
57104   cat >>confdefs.h <<_ACEOF
57105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57106 _ACEOF
57107
57108 fi
57109 done
57110
57111   fi
57112
57113
57114
57115   echo "$as_me:$LINENO: checking for expf declaration" >&5
57116 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
57117   if test x${glibcxx_cv_func_expf_use+set} != xset; then
57118     if test "${glibcxx_cv_func_expf_use+set}" = set; then
57119   echo $ECHO_N "(cached) $ECHO_C" >&6
57120 else
57121
57122
57123
57124       ac_ext=cc
57125 ac_cpp='$CXXCPP $CPPFLAGS'
57126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57129
57130       cat >conftest.$ac_ext <<_ACEOF
57131 /* confdefs.h.  */
57132 _ACEOF
57133 cat confdefs.h >>conftest.$ac_ext
57134 cat >>conftest.$ac_ext <<_ACEOF
57135 /* end confdefs.h.  */
57136 #include <math.h>
57137                       #ifdef HAVE_IEEEFP_H
57138                       #include <ieeefp.h>
57139                       #endif
57140
57141 int
57142 main ()
57143 {
57144  expf(0);
57145   ;
57146   return 0;
57147 }
57148 _ACEOF
57149 rm -f conftest.$ac_objext
57150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57151   (eval $ac_compile) 2>conftest.er1
57152   ac_status=$?
57153   grep -v '^ *+' conftest.er1 >conftest.err
57154   rm -f conftest.er1
57155   cat conftest.err >&5
57156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57157   (exit $ac_status); } &&
57158          { ac_try='test -z "$ac_cxx_werror_flag"
57159                          || test ! -s conftest.err'
57160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57161   (eval $ac_try) 2>&5
57162   ac_status=$?
57163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57164   (exit $ac_status); }; } &&
57165          { ac_try='test -s conftest.$ac_objext'
57166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57167   (eval $ac_try) 2>&5
57168   ac_status=$?
57169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57170   (exit $ac_status); }; }; then
57171   glibcxx_cv_func_expf_use=yes
57172 else
57173   echo "$as_me: failed program was:" >&5
57174 sed 's/^/| /' conftest.$ac_ext >&5
57175
57176 glibcxx_cv_func_expf_use=no
57177 fi
57178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57179       ac_ext=c
57180 ac_cpp='$CPP $CPPFLAGS'
57181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57184
57185
57186 fi
57187
57188   fi
57189   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
57190 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
57191
57192   if test x$glibcxx_cv_func_expf_use = x"yes"; then
57193
57194 for ac_func in expf
57195 do
57196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57197 echo "$as_me:$LINENO: checking for $ac_func" >&5
57198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57199 if eval "test \"\${$as_ac_var+set}\" = set"; then
57200   echo $ECHO_N "(cached) $ECHO_C" >&6
57201 else
57202   if test x$gcc_no_link = xyes; then
57203   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57205    { (exit 1); exit 1; }; }
57206 fi
57207 cat >conftest.$ac_ext <<_ACEOF
57208 /* confdefs.h.  */
57209 _ACEOF
57210 cat confdefs.h >>conftest.$ac_ext
57211 cat >>conftest.$ac_ext <<_ACEOF
57212 /* end confdefs.h.  */
57213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57214    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57215 #define $ac_func innocuous_$ac_func
57216
57217 /* System header to define __stub macros and hopefully few prototypes,
57218     which can conflict with char $ac_func (); below.
57219     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57220     <limits.h> exists even on freestanding compilers.  */
57221
57222 #ifdef __STDC__
57223 # include <limits.h>
57224 #else
57225 # include <assert.h>
57226 #endif
57227
57228 #undef $ac_func
57229
57230 /* Override any gcc2 internal prototype to avoid an error.  */
57231 #ifdef __cplusplus
57232 extern "C"
57233 {
57234 #endif
57235 /* We use char because int might match the return type of a gcc2
57236    builtin and then its argument prototype would still apply.  */
57237 char $ac_func ();
57238 /* The GNU C library defines this for functions which it implements
57239     to always fail with ENOSYS.  Some functions are actually named
57240     something starting with __ and the normal name is an alias.  */
57241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57242 choke me
57243 #else
57244 char (*f) () = $ac_func;
57245 #endif
57246 #ifdef __cplusplus
57247 }
57248 #endif
57249
57250 int
57251 main ()
57252 {
57253 return f != $ac_func;
57254   ;
57255   return 0;
57256 }
57257 _ACEOF
57258 rm -f conftest.$ac_objext conftest$ac_exeext
57259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57260   (eval $ac_link) 2>conftest.er1
57261   ac_status=$?
57262   grep -v '^ *+' conftest.er1 >conftest.err
57263   rm -f conftest.er1
57264   cat conftest.err >&5
57265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57266   (exit $ac_status); } &&
57267          { ac_try='test -z "$ac_c_werror_flag"
57268                          || test ! -s conftest.err'
57269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57270   (eval $ac_try) 2>&5
57271   ac_status=$?
57272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57273   (exit $ac_status); }; } &&
57274          { ac_try='test -s conftest$ac_exeext'
57275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57276   (eval $ac_try) 2>&5
57277   ac_status=$?
57278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57279   (exit $ac_status); }; }; then
57280   eval "$as_ac_var=yes"
57281 else
57282   echo "$as_me: failed program was:" >&5
57283 sed 's/^/| /' conftest.$ac_ext >&5
57284
57285 eval "$as_ac_var=no"
57286 fi
57287 rm -f conftest.err conftest.$ac_objext \
57288       conftest$ac_exeext conftest.$ac_ext
57289 fi
57290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57292 if test `eval echo '${'$as_ac_var'}'` = yes; then
57293   cat >>confdefs.h <<_ACEOF
57294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57295 _ACEOF
57296
57297 fi
57298 done
57299
57300   else
57301
57302   echo "$as_me:$LINENO: checking for _expf declaration" >&5
57303 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
57304   if test x${glibcxx_cv_func__expf_use+set} != xset; then
57305     if test "${glibcxx_cv_func__expf_use+set}" = set; then
57306   echo $ECHO_N "(cached) $ECHO_C" >&6
57307 else
57308
57309
57310
57311       ac_ext=cc
57312 ac_cpp='$CXXCPP $CPPFLAGS'
57313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57316
57317       cat >conftest.$ac_ext <<_ACEOF
57318 /* confdefs.h.  */
57319 _ACEOF
57320 cat confdefs.h >>conftest.$ac_ext
57321 cat >>conftest.$ac_ext <<_ACEOF
57322 /* end confdefs.h.  */
57323 #include <math.h>
57324                       #ifdef HAVE_IEEEFP_H
57325                       #include <ieeefp.h>
57326                       #endif
57327
57328 int
57329 main ()
57330 {
57331  _expf(0);
57332   ;
57333   return 0;
57334 }
57335 _ACEOF
57336 rm -f conftest.$ac_objext
57337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57338   (eval $ac_compile) 2>conftest.er1
57339   ac_status=$?
57340   grep -v '^ *+' conftest.er1 >conftest.err
57341   rm -f conftest.er1
57342   cat conftest.err >&5
57343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57344   (exit $ac_status); } &&
57345          { ac_try='test -z "$ac_cxx_werror_flag"
57346                          || test ! -s conftest.err'
57347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57348   (eval $ac_try) 2>&5
57349   ac_status=$?
57350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57351   (exit $ac_status); }; } &&
57352          { ac_try='test -s conftest.$ac_objext'
57353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57354   (eval $ac_try) 2>&5
57355   ac_status=$?
57356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57357   (exit $ac_status); }; }; then
57358   glibcxx_cv_func__expf_use=yes
57359 else
57360   echo "$as_me: failed program was:" >&5
57361 sed 's/^/| /' conftest.$ac_ext >&5
57362
57363 glibcxx_cv_func__expf_use=no
57364 fi
57365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57366       ac_ext=c
57367 ac_cpp='$CPP $CPPFLAGS'
57368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57371
57372
57373 fi
57374
57375   fi
57376   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
57377 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
57378
57379     if test x$glibcxx_cv_func__expf_use = x"yes"; then
57380
57381 for ac_func in _expf
57382 do
57383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57384 echo "$as_me:$LINENO: checking for $ac_func" >&5
57385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57386 if eval "test \"\${$as_ac_var+set}\" = set"; then
57387   echo $ECHO_N "(cached) $ECHO_C" >&6
57388 else
57389   if test x$gcc_no_link = xyes; then
57390   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57392    { (exit 1); exit 1; }; }
57393 fi
57394 cat >conftest.$ac_ext <<_ACEOF
57395 /* confdefs.h.  */
57396 _ACEOF
57397 cat confdefs.h >>conftest.$ac_ext
57398 cat >>conftest.$ac_ext <<_ACEOF
57399 /* end confdefs.h.  */
57400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57401    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57402 #define $ac_func innocuous_$ac_func
57403
57404 /* System header to define __stub macros and hopefully few prototypes,
57405     which can conflict with char $ac_func (); below.
57406     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57407     <limits.h> exists even on freestanding compilers.  */
57408
57409 #ifdef __STDC__
57410 # include <limits.h>
57411 #else
57412 # include <assert.h>
57413 #endif
57414
57415 #undef $ac_func
57416
57417 /* Override any gcc2 internal prototype to avoid an error.  */
57418 #ifdef __cplusplus
57419 extern "C"
57420 {
57421 #endif
57422 /* We use char because int might match the return type of a gcc2
57423    builtin and then its argument prototype would still apply.  */
57424 char $ac_func ();
57425 /* The GNU C library defines this for functions which it implements
57426     to always fail with ENOSYS.  Some functions are actually named
57427     something starting with __ and the normal name is an alias.  */
57428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57429 choke me
57430 #else
57431 char (*f) () = $ac_func;
57432 #endif
57433 #ifdef __cplusplus
57434 }
57435 #endif
57436
57437 int
57438 main ()
57439 {
57440 return f != $ac_func;
57441   ;
57442   return 0;
57443 }
57444 _ACEOF
57445 rm -f conftest.$ac_objext conftest$ac_exeext
57446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57447   (eval $ac_link) 2>conftest.er1
57448   ac_status=$?
57449   grep -v '^ *+' conftest.er1 >conftest.err
57450   rm -f conftest.er1
57451   cat conftest.err >&5
57452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57453   (exit $ac_status); } &&
57454          { ac_try='test -z "$ac_c_werror_flag"
57455                          || test ! -s conftest.err'
57456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57457   (eval $ac_try) 2>&5
57458   ac_status=$?
57459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57460   (exit $ac_status); }; } &&
57461          { ac_try='test -s conftest$ac_exeext'
57462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57463   (eval $ac_try) 2>&5
57464   ac_status=$?
57465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57466   (exit $ac_status); }; }; then
57467   eval "$as_ac_var=yes"
57468 else
57469   echo "$as_me: failed program was:" >&5
57470 sed 's/^/| /' conftest.$ac_ext >&5
57471
57472 eval "$as_ac_var=no"
57473 fi
57474 rm -f conftest.err conftest.$ac_objext \
57475       conftest$ac_exeext conftest.$ac_ext
57476 fi
57477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57479 if test `eval echo '${'$as_ac_var'}'` = yes; then
57480   cat >>confdefs.h <<_ACEOF
57481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57482 _ACEOF
57483
57484 fi
57485 done
57486
57487     fi
57488   fi
57489
57490
57491
57492   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
57493 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
57494   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
57495     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
57496   echo $ECHO_N "(cached) $ECHO_C" >&6
57497 else
57498
57499
57500
57501       ac_ext=cc
57502 ac_cpp='$CXXCPP $CPPFLAGS'
57503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57506
57507       cat >conftest.$ac_ext <<_ACEOF
57508 /* confdefs.h.  */
57509 _ACEOF
57510 cat confdefs.h >>conftest.$ac_ext
57511 cat >>conftest.$ac_ext <<_ACEOF
57512 /* end confdefs.h.  */
57513 #include <math.h>
57514                       #ifdef HAVE_IEEEFP_H
57515                       #include <ieeefp.h>
57516                       #endif
57517
57518 int
57519 main ()
57520 {
57521  isnanf(0);
57522   ;
57523   return 0;
57524 }
57525 _ACEOF
57526 rm -f conftest.$ac_objext
57527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57528   (eval $ac_compile) 2>conftest.er1
57529   ac_status=$?
57530   grep -v '^ *+' conftest.er1 >conftest.err
57531   rm -f conftest.er1
57532   cat conftest.err >&5
57533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57534   (exit $ac_status); } &&
57535          { ac_try='test -z "$ac_cxx_werror_flag"
57536                          || test ! -s conftest.err'
57537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57538   (eval $ac_try) 2>&5
57539   ac_status=$?
57540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57541   (exit $ac_status); }; } &&
57542          { ac_try='test -s conftest.$ac_objext'
57543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57544   (eval $ac_try) 2>&5
57545   ac_status=$?
57546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57547   (exit $ac_status); }; }; then
57548   glibcxx_cv_func_isnanf_use=yes
57549 else
57550   echo "$as_me: failed program was:" >&5
57551 sed 's/^/| /' conftest.$ac_ext >&5
57552
57553 glibcxx_cv_func_isnanf_use=no
57554 fi
57555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57556       ac_ext=c
57557 ac_cpp='$CPP $CPPFLAGS'
57558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57561
57562
57563 fi
57564
57565   fi
57566   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
57567 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
57568
57569   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
57570
57571 for ac_func in isnanf
57572 do
57573 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57574 echo "$as_me:$LINENO: checking for $ac_func" >&5
57575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57576 if eval "test \"\${$as_ac_var+set}\" = set"; then
57577   echo $ECHO_N "(cached) $ECHO_C" >&6
57578 else
57579   if test x$gcc_no_link = xyes; then
57580   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57582    { (exit 1); exit 1; }; }
57583 fi
57584 cat >conftest.$ac_ext <<_ACEOF
57585 /* confdefs.h.  */
57586 _ACEOF
57587 cat confdefs.h >>conftest.$ac_ext
57588 cat >>conftest.$ac_ext <<_ACEOF
57589 /* end confdefs.h.  */
57590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57591    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57592 #define $ac_func innocuous_$ac_func
57593
57594 /* System header to define __stub macros and hopefully few prototypes,
57595     which can conflict with char $ac_func (); below.
57596     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57597     <limits.h> exists even on freestanding compilers.  */
57598
57599 #ifdef __STDC__
57600 # include <limits.h>
57601 #else
57602 # include <assert.h>
57603 #endif
57604
57605 #undef $ac_func
57606
57607 /* Override any gcc2 internal prototype to avoid an error.  */
57608 #ifdef __cplusplus
57609 extern "C"
57610 {
57611 #endif
57612 /* We use char because int might match the return type of a gcc2
57613    builtin and then its argument prototype would still apply.  */
57614 char $ac_func ();
57615 /* The GNU C library defines this for functions which it implements
57616     to always fail with ENOSYS.  Some functions are actually named
57617     something starting with __ and the normal name is an alias.  */
57618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57619 choke me
57620 #else
57621 char (*f) () = $ac_func;
57622 #endif
57623 #ifdef __cplusplus
57624 }
57625 #endif
57626
57627 int
57628 main ()
57629 {
57630 return f != $ac_func;
57631   ;
57632   return 0;
57633 }
57634 _ACEOF
57635 rm -f conftest.$ac_objext conftest$ac_exeext
57636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57637   (eval $ac_link) 2>conftest.er1
57638   ac_status=$?
57639   grep -v '^ *+' conftest.er1 >conftest.err
57640   rm -f conftest.er1
57641   cat conftest.err >&5
57642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57643   (exit $ac_status); } &&
57644          { ac_try='test -z "$ac_c_werror_flag"
57645                          || test ! -s conftest.err'
57646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57647   (eval $ac_try) 2>&5
57648   ac_status=$?
57649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57650   (exit $ac_status); }; } &&
57651          { ac_try='test -s conftest$ac_exeext'
57652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57653   (eval $ac_try) 2>&5
57654   ac_status=$?
57655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57656   (exit $ac_status); }; }; then
57657   eval "$as_ac_var=yes"
57658 else
57659   echo "$as_me: failed program was:" >&5
57660 sed 's/^/| /' conftest.$ac_ext >&5
57661
57662 eval "$as_ac_var=no"
57663 fi
57664 rm -f conftest.err conftest.$ac_objext \
57665       conftest$ac_exeext conftest.$ac_ext
57666 fi
57667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57669 if test `eval echo '${'$as_ac_var'}'` = yes; then
57670   cat >>confdefs.h <<_ACEOF
57671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57672 _ACEOF
57673
57674 fi
57675 done
57676
57677   else
57678
57679   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
57680 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
57681   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
57682     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
57683   echo $ECHO_N "(cached) $ECHO_C" >&6
57684 else
57685
57686
57687
57688       ac_ext=cc
57689 ac_cpp='$CXXCPP $CPPFLAGS'
57690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57693
57694       cat >conftest.$ac_ext <<_ACEOF
57695 /* confdefs.h.  */
57696 _ACEOF
57697 cat confdefs.h >>conftest.$ac_ext
57698 cat >>conftest.$ac_ext <<_ACEOF
57699 /* end confdefs.h.  */
57700 #include <math.h>
57701                       #ifdef HAVE_IEEEFP_H
57702                       #include <ieeefp.h>
57703                       #endif
57704
57705 int
57706 main ()
57707 {
57708  _isnanf(0);
57709   ;
57710   return 0;
57711 }
57712 _ACEOF
57713 rm -f conftest.$ac_objext
57714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57715   (eval $ac_compile) 2>conftest.er1
57716   ac_status=$?
57717   grep -v '^ *+' conftest.er1 >conftest.err
57718   rm -f conftest.er1
57719   cat conftest.err >&5
57720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57721   (exit $ac_status); } &&
57722          { ac_try='test -z "$ac_cxx_werror_flag"
57723                          || test ! -s conftest.err'
57724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57725   (eval $ac_try) 2>&5
57726   ac_status=$?
57727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57728   (exit $ac_status); }; } &&
57729          { ac_try='test -s conftest.$ac_objext'
57730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57731   (eval $ac_try) 2>&5
57732   ac_status=$?
57733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57734   (exit $ac_status); }; }; then
57735   glibcxx_cv_func__isnanf_use=yes
57736 else
57737   echo "$as_me: failed program was:" >&5
57738 sed 's/^/| /' conftest.$ac_ext >&5
57739
57740 glibcxx_cv_func__isnanf_use=no
57741 fi
57742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57743       ac_ext=c
57744 ac_cpp='$CPP $CPPFLAGS'
57745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57748
57749
57750 fi
57751
57752   fi
57753   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
57754 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
57755
57756     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
57757
57758 for ac_func in _isnanf
57759 do
57760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57761 echo "$as_me:$LINENO: checking for $ac_func" >&5
57762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57763 if eval "test \"\${$as_ac_var+set}\" = set"; then
57764   echo $ECHO_N "(cached) $ECHO_C" >&6
57765 else
57766   if test x$gcc_no_link = xyes; then
57767   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57769    { (exit 1); exit 1; }; }
57770 fi
57771 cat >conftest.$ac_ext <<_ACEOF
57772 /* confdefs.h.  */
57773 _ACEOF
57774 cat confdefs.h >>conftest.$ac_ext
57775 cat >>conftest.$ac_ext <<_ACEOF
57776 /* end confdefs.h.  */
57777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57778    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57779 #define $ac_func innocuous_$ac_func
57780
57781 /* System header to define __stub macros and hopefully few prototypes,
57782     which can conflict with char $ac_func (); below.
57783     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57784     <limits.h> exists even on freestanding compilers.  */
57785
57786 #ifdef __STDC__
57787 # include <limits.h>
57788 #else
57789 # include <assert.h>
57790 #endif
57791
57792 #undef $ac_func
57793
57794 /* Override any gcc2 internal prototype to avoid an error.  */
57795 #ifdef __cplusplus
57796 extern "C"
57797 {
57798 #endif
57799 /* We use char because int might match the return type of a gcc2
57800    builtin and then its argument prototype would still apply.  */
57801 char $ac_func ();
57802 /* The GNU C library defines this for functions which it implements
57803     to always fail with ENOSYS.  Some functions are actually named
57804     something starting with __ and the normal name is an alias.  */
57805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57806 choke me
57807 #else
57808 char (*f) () = $ac_func;
57809 #endif
57810 #ifdef __cplusplus
57811 }
57812 #endif
57813
57814 int
57815 main ()
57816 {
57817 return f != $ac_func;
57818   ;
57819   return 0;
57820 }
57821 _ACEOF
57822 rm -f conftest.$ac_objext conftest$ac_exeext
57823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57824   (eval $ac_link) 2>conftest.er1
57825   ac_status=$?
57826   grep -v '^ *+' conftest.er1 >conftest.err
57827   rm -f conftest.er1
57828   cat conftest.err >&5
57829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57830   (exit $ac_status); } &&
57831          { ac_try='test -z "$ac_c_werror_flag"
57832                          || test ! -s conftest.err'
57833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57834   (eval $ac_try) 2>&5
57835   ac_status=$?
57836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57837   (exit $ac_status); }; } &&
57838          { ac_try='test -s conftest$ac_exeext'
57839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57840   (eval $ac_try) 2>&5
57841   ac_status=$?
57842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57843   (exit $ac_status); }; }; then
57844   eval "$as_ac_var=yes"
57845 else
57846   echo "$as_me: failed program was:" >&5
57847 sed 's/^/| /' conftest.$ac_ext >&5
57848
57849 eval "$as_ac_var=no"
57850 fi
57851 rm -f conftest.err conftest.$ac_objext \
57852       conftest$ac_exeext conftest.$ac_ext
57853 fi
57854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57856 if test `eval echo '${'$as_ac_var'}'` = yes; then
57857   cat >>confdefs.h <<_ACEOF
57858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57859 _ACEOF
57860
57861 fi
57862 done
57863
57864     fi
57865   fi
57866
57867
57868
57869   echo "$as_me:$LINENO: checking for isinff declaration" >&5
57870 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
57871   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
57872     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
57873   echo $ECHO_N "(cached) $ECHO_C" >&6
57874 else
57875
57876
57877
57878       ac_ext=cc
57879 ac_cpp='$CXXCPP $CPPFLAGS'
57880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57883
57884       cat >conftest.$ac_ext <<_ACEOF
57885 /* confdefs.h.  */
57886 _ACEOF
57887 cat confdefs.h >>conftest.$ac_ext
57888 cat >>conftest.$ac_ext <<_ACEOF
57889 /* end confdefs.h.  */
57890 #include <math.h>
57891                       #ifdef HAVE_IEEEFP_H
57892                       #include <ieeefp.h>
57893                       #endif
57894
57895 int
57896 main ()
57897 {
57898  isinff(0);
57899   ;
57900   return 0;
57901 }
57902 _ACEOF
57903 rm -f conftest.$ac_objext
57904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57905   (eval $ac_compile) 2>conftest.er1
57906   ac_status=$?
57907   grep -v '^ *+' conftest.er1 >conftest.err
57908   rm -f conftest.er1
57909   cat conftest.err >&5
57910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57911   (exit $ac_status); } &&
57912          { ac_try='test -z "$ac_cxx_werror_flag"
57913                          || test ! -s conftest.err'
57914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57915   (eval $ac_try) 2>&5
57916   ac_status=$?
57917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57918   (exit $ac_status); }; } &&
57919          { ac_try='test -s conftest.$ac_objext'
57920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57921   (eval $ac_try) 2>&5
57922   ac_status=$?
57923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57924   (exit $ac_status); }; }; then
57925   glibcxx_cv_func_isinff_use=yes
57926 else
57927   echo "$as_me: failed program was:" >&5
57928 sed 's/^/| /' conftest.$ac_ext >&5
57929
57930 glibcxx_cv_func_isinff_use=no
57931 fi
57932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57933       ac_ext=c
57934 ac_cpp='$CPP $CPPFLAGS'
57935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57938
57939
57940 fi
57941
57942   fi
57943   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
57944 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
57945
57946   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
57947
57948 for ac_func in isinff
57949 do
57950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57951 echo "$as_me:$LINENO: checking for $ac_func" >&5
57952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57953 if eval "test \"\${$as_ac_var+set}\" = set"; then
57954   echo $ECHO_N "(cached) $ECHO_C" >&6
57955 else
57956   if test x$gcc_no_link = xyes; then
57957   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57959    { (exit 1); exit 1; }; }
57960 fi
57961 cat >conftest.$ac_ext <<_ACEOF
57962 /* confdefs.h.  */
57963 _ACEOF
57964 cat confdefs.h >>conftest.$ac_ext
57965 cat >>conftest.$ac_ext <<_ACEOF
57966 /* end confdefs.h.  */
57967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57968    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57969 #define $ac_func innocuous_$ac_func
57970
57971 /* System header to define __stub macros and hopefully few prototypes,
57972     which can conflict with char $ac_func (); below.
57973     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57974     <limits.h> exists even on freestanding compilers.  */
57975
57976 #ifdef __STDC__
57977 # include <limits.h>
57978 #else
57979 # include <assert.h>
57980 #endif
57981
57982 #undef $ac_func
57983
57984 /* Override any gcc2 internal prototype to avoid an error.  */
57985 #ifdef __cplusplus
57986 extern "C"
57987 {
57988 #endif
57989 /* We use char because int might match the return type of a gcc2
57990    builtin and then its argument prototype would still apply.  */
57991 char $ac_func ();
57992 /* The GNU C library defines this for functions which it implements
57993     to always fail with ENOSYS.  Some functions are actually named
57994     something starting with __ and the normal name is an alias.  */
57995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57996 choke me
57997 #else
57998 char (*f) () = $ac_func;
57999 #endif
58000 #ifdef __cplusplus
58001 }
58002 #endif
58003
58004 int
58005 main ()
58006 {
58007 return f != $ac_func;
58008   ;
58009   return 0;
58010 }
58011 _ACEOF
58012 rm -f conftest.$ac_objext conftest$ac_exeext
58013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58014   (eval $ac_link) 2>conftest.er1
58015   ac_status=$?
58016   grep -v '^ *+' conftest.er1 >conftest.err
58017   rm -f conftest.er1
58018   cat conftest.err >&5
58019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58020   (exit $ac_status); } &&
58021          { ac_try='test -z "$ac_c_werror_flag"
58022                          || test ! -s conftest.err'
58023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58024   (eval $ac_try) 2>&5
58025   ac_status=$?
58026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58027   (exit $ac_status); }; } &&
58028          { ac_try='test -s conftest$ac_exeext'
58029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58030   (eval $ac_try) 2>&5
58031   ac_status=$?
58032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58033   (exit $ac_status); }; }; then
58034   eval "$as_ac_var=yes"
58035 else
58036   echo "$as_me: failed program was:" >&5
58037 sed 's/^/| /' conftest.$ac_ext >&5
58038
58039 eval "$as_ac_var=no"
58040 fi
58041 rm -f conftest.err conftest.$ac_objext \
58042       conftest$ac_exeext conftest.$ac_ext
58043 fi
58044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58046 if test `eval echo '${'$as_ac_var'}'` = yes; then
58047   cat >>confdefs.h <<_ACEOF
58048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58049 _ACEOF
58050
58051 fi
58052 done
58053
58054   else
58055
58056   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
58057 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
58058   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
58059     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
58060   echo $ECHO_N "(cached) $ECHO_C" >&6
58061 else
58062
58063
58064
58065       ac_ext=cc
58066 ac_cpp='$CXXCPP $CPPFLAGS'
58067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58070
58071       cat >conftest.$ac_ext <<_ACEOF
58072 /* confdefs.h.  */
58073 _ACEOF
58074 cat confdefs.h >>conftest.$ac_ext
58075 cat >>conftest.$ac_ext <<_ACEOF
58076 /* end confdefs.h.  */
58077 #include <math.h>
58078                       #ifdef HAVE_IEEEFP_H
58079                       #include <ieeefp.h>
58080                       #endif
58081
58082 int
58083 main ()
58084 {
58085  _isinff(0);
58086   ;
58087   return 0;
58088 }
58089 _ACEOF
58090 rm -f conftest.$ac_objext
58091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58092   (eval $ac_compile) 2>conftest.er1
58093   ac_status=$?
58094   grep -v '^ *+' conftest.er1 >conftest.err
58095   rm -f conftest.er1
58096   cat conftest.err >&5
58097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58098   (exit $ac_status); } &&
58099          { ac_try='test -z "$ac_cxx_werror_flag"
58100                          || test ! -s conftest.err'
58101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58102   (eval $ac_try) 2>&5
58103   ac_status=$?
58104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58105   (exit $ac_status); }; } &&
58106          { ac_try='test -s conftest.$ac_objext'
58107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58108   (eval $ac_try) 2>&5
58109   ac_status=$?
58110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58111   (exit $ac_status); }; }; then
58112   glibcxx_cv_func__isinff_use=yes
58113 else
58114   echo "$as_me: failed program was:" >&5
58115 sed 's/^/| /' conftest.$ac_ext >&5
58116
58117 glibcxx_cv_func__isinff_use=no
58118 fi
58119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58120       ac_ext=c
58121 ac_cpp='$CPP $CPPFLAGS'
58122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58125
58126
58127 fi
58128
58129   fi
58130   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
58131 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
58132
58133     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
58134
58135 for ac_func in _isinff
58136 do
58137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58138 echo "$as_me:$LINENO: checking for $ac_func" >&5
58139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58140 if eval "test \"\${$as_ac_var+set}\" = set"; then
58141   echo $ECHO_N "(cached) $ECHO_C" >&6
58142 else
58143   if test x$gcc_no_link = xyes; then
58144   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58146    { (exit 1); exit 1; }; }
58147 fi
58148 cat >conftest.$ac_ext <<_ACEOF
58149 /* confdefs.h.  */
58150 _ACEOF
58151 cat confdefs.h >>conftest.$ac_ext
58152 cat >>conftest.$ac_ext <<_ACEOF
58153 /* end confdefs.h.  */
58154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58155    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58156 #define $ac_func innocuous_$ac_func
58157
58158 /* System header to define __stub macros and hopefully few prototypes,
58159     which can conflict with char $ac_func (); below.
58160     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58161     <limits.h> exists even on freestanding compilers.  */
58162
58163 #ifdef __STDC__
58164 # include <limits.h>
58165 #else
58166 # include <assert.h>
58167 #endif
58168
58169 #undef $ac_func
58170
58171 /* Override any gcc2 internal prototype to avoid an error.  */
58172 #ifdef __cplusplus
58173 extern "C"
58174 {
58175 #endif
58176 /* We use char because int might match the return type of a gcc2
58177    builtin and then its argument prototype would still apply.  */
58178 char $ac_func ();
58179 /* The GNU C library defines this for functions which it implements
58180     to always fail with ENOSYS.  Some functions are actually named
58181     something starting with __ and the normal name is an alias.  */
58182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58183 choke me
58184 #else
58185 char (*f) () = $ac_func;
58186 #endif
58187 #ifdef __cplusplus
58188 }
58189 #endif
58190
58191 int
58192 main ()
58193 {
58194 return f != $ac_func;
58195   ;
58196   return 0;
58197 }
58198 _ACEOF
58199 rm -f conftest.$ac_objext conftest$ac_exeext
58200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58201   (eval $ac_link) 2>conftest.er1
58202   ac_status=$?
58203   grep -v '^ *+' conftest.er1 >conftest.err
58204   rm -f conftest.er1
58205   cat conftest.err >&5
58206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58207   (exit $ac_status); } &&
58208          { ac_try='test -z "$ac_c_werror_flag"
58209                          || test ! -s conftest.err'
58210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58211   (eval $ac_try) 2>&5
58212   ac_status=$?
58213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58214   (exit $ac_status); }; } &&
58215          { ac_try='test -s conftest$ac_exeext'
58216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58217   (eval $ac_try) 2>&5
58218   ac_status=$?
58219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58220   (exit $ac_status); }; }; then
58221   eval "$as_ac_var=yes"
58222 else
58223   echo "$as_me: failed program was:" >&5
58224 sed 's/^/| /' conftest.$ac_ext >&5
58225
58226 eval "$as_ac_var=no"
58227 fi
58228 rm -f conftest.err conftest.$ac_objext \
58229       conftest$ac_exeext conftest.$ac_ext
58230 fi
58231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58233 if test `eval echo '${'$as_ac_var'}'` = yes; then
58234   cat >>confdefs.h <<_ACEOF
58235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58236 _ACEOF
58237
58238 fi
58239 done
58240
58241     fi
58242   fi
58243
58244
58245
58246   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
58247 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
58248   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
58249     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
58250   echo $ECHO_N "(cached) $ECHO_C" >&6
58251 else
58252
58253
58254
58255       ac_ext=cc
58256 ac_cpp='$CXXCPP $CPPFLAGS'
58257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58260
58261       cat >conftest.$ac_ext <<_ACEOF
58262 /* confdefs.h.  */
58263 _ACEOF
58264 cat confdefs.h >>conftest.$ac_ext
58265 cat >>conftest.$ac_ext <<_ACEOF
58266 /* end confdefs.h.  */
58267 #include <math.h>
58268 int
58269 main ()
58270 {
58271  atan2f(0, 0);
58272   ;
58273   return 0;
58274 }
58275 _ACEOF
58276 rm -f conftest.$ac_objext
58277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58278   (eval $ac_compile) 2>conftest.er1
58279   ac_status=$?
58280   grep -v '^ *+' conftest.er1 >conftest.err
58281   rm -f conftest.er1
58282   cat conftest.err >&5
58283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58284   (exit $ac_status); } &&
58285          { ac_try='test -z "$ac_cxx_werror_flag"
58286                          || test ! -s conftest.err'
58287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58288   (eval $ac_try) 2>&5
58289   ac_status=$?
58290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58291   (exit $ac_status); }; } &&
58292          { ac_try='test -s conftest.$ac_objext'
58293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58294   (eval $ac_try) 2>&5
58295   ac_status=$?
58296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58297   (exit $ac_status); }; }; then
58298   glibcxx_cv_func_atan2f_use=yes
58299 else
58300   echo "$as_me: failed program was:" >&5
58301 sed 's/^/| /' conftest.$ac_ext >&5
58302
58303 glibcxx_cv_func_atan2f_use=no
58304 fi
58305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58306       ac_ext=c
58307 ac_cpp='$CPP $CPPFLAGS'
58308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58311
58312
58313 fi
58314
58315   fi
58316   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
58317 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
58318
58319   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
58320
58321 for ac_func in atan2f
58322 do
58323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58324 echo "$as_me:$LINENO: checking for $ac_func" >&5
58325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58326 if eval "test \"\${$as_ac_var+set}\" = set"; then
58327   echo $ECHO_N "(cached) $ECHO_C" >&6
58328 else
58329   if test x$gcc_no_link = xyes; then
58330   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58332    { (exit 1); exit 1; }; }
58333 fi
58334 cat >conftest.$ac_ext <<_ACEOF
58335 /* confdefs.h.  */
58336 _ACEOF
58337 cat confdefs.h >>conftest.$ac_ext
58338 cat >>conftest.$ac_ext <<_ACEOF
58339 /* end confdefs.h.  */
58340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58341    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58342 #define $ac_func innocuous_$ac_func
58343
58344 /* System header to define __stub macros and hopefully few prototypes,
58345     which can conflict with char $ac_func (); below.
58346     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58347     <limits.h> exists even on freestanding compilers.  */
58348
58349 #ifdef __STDC__
58350 # include <limits.h>
58351 #else
58352 # include <assert.h>
58353 #endif
58354
58355 #undef $ac_func
58356
58357 /* Override any gcc2 internal prototype to avoid an error.  */
58358 #ifdef __cplusplus
58359 extern "C"
58360 {
58361 #endif
58362 /* We use char because int might match the return type of a gcc2
58363    builtin and then its argument prototype would still apply.  */
58364 char $ac_func ();
58365 /* The GNU C library defines this for functions which it implements
58366     to always fail with ENOSYS.  Some functions are actually named
58367     something starting with __ and the normal name is an alias.  */
58368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58369 choke me
58370 #else
58371 char (*f) () = $ac_func;
58372 #endif
58373 #ifdef __cplusplus
58374 }
58375 #endif
58376
58377 int
58378 main ()
58379 {
58380 return f != $ac_func;
58381   ;
58382   return 0;
58383 }
58384 _ACEOF
58385 rm -f conftest.$ac_objext conftest$ac_exeext
58386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58387   (eval $ac_link) 2>conftest.er1
58388   ac_status=$?
58389   grep -v '^ *+' conftest.er1 >conftest.err
58390   rm -f conftest.er1
58391   cat conftest.err >&5
58392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58393   (exit $ac_status); } &&
58394          { ac_try='test -z "$ac_c_werror_flag"
58395                          || test ! -s conftest.err'
58396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58397   (eval $ac_try) 2>&5
58398   ac_status=$?
58399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58400   (exit $ac_status); }; } &&
58401          { ac_try='test -s conftest$ac_exeext'
58402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58403   (eval $ac_try) 2>&5
58404   ac_status=$?
58405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58406   (exit $ac_status); }; }; then
58407   eval "$as_ac_var=yes"
58408 else
58409   echo "$as_me: failed program was:" >&5
58410 sed 's/^/| /' conftest.$ac_ext >&5
58411
58412 eval "$as_ac_var=no"
58413 fi
58414 rm -f conftest.err conftest.$ac_objext \
58415       conftest$ac_exeext conftest.$ac_ext
58416 fi
58417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58419 if test `eval echo '${'$as_ac_var'}'` = yes; then
58420   cat >>confdefs.h <<_ACEOF
58421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58422 _ACEOF
58423
58424 fi
58425 done
58426
58427   else
58428
58429   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
58430 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
58431   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58432     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
58433   echo $ECHO_N "(cached) $ECHO_C" >&6
58434 else
58435
58436
58437
58438       ac_ext=cc
58439 ac_cpp='$CXXCPP $CPPFLAGS'
58440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58443
58444       cat >conftest.$ac_ext <<_ACEOF
58445 /* confdefs.h.  */
58446 _ACEOF
58447 cat confdefs.h >>conftest.$ac_ext
58448 cat >>conftest.$ac_ext <<_ACEOF
58449 /* end confdefs.h.  */
58450 #include <math.h>
58451 int
58452 main ()
58453 {
58454  _atan2f(0, 0);
58455   ;
58456   return 0;
58457 }
58458 _ACEOF
58459 rm -f conftest.$ac_objext
58460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58461   (eval $ac_compile) 2>conftest.er1
58462   ac_status=$?
58463   grep -v '^ *+' conftest.er1 >conftest.err
58464   rm -f conftest.er1
58465   cat conftest.err >&5
58466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58467   (exit $ac_status); } &&
58468          { ac_try='test -z "$ac_cxx_werror_flag"
58469                          || test ! -s conftest.err'
58470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58471   (eval $ac_try) 2>&5
58472   ac_status=$?
58473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58474   (exit $ac_status); }; } &&
58475          { ac_try='test -s conftest.$ac_objext'
58476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58477   (eval $ac_try) 2>&5
58478   ac_status=$?
58479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58480   (exit $ac_status); }; }; then
58481   glibcxx_cv_func__atan2f_use=yes
58482 else
58483   echo "$as_me: failed program was:" >&5
58484 sed 's/^/| /' conftest.$ac_ext >&5
58485
58486 glibcxx_cv_func__atan2f_use=no
58487 fi
58488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58489       ac_ext=c
58490 ac_cpp='$CPP $CPPFLAGS'
58491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58494
58495
58496 fi
58497
58498   fi
58499   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
58500 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
58501
58502     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
58503
58504 for ac_func in _atan2f
58505 do
58506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58507 echo "$as_me:$LINENO: checking for $ac_func" >&5
58508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58509 if eval "test \"\${$as_ac_var+set}\" = set"; then
58510   echo $ECHO_N "(cached) $ECHO_C" >&6
58511 else
58512   if test x$gcc_no_link = xyes; then
58513   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58515    { (exit 1); exit 1; }; }
58516 fi
58517 cat >conftest.$ac_ext <<_ACEOF
58518 /* confdefs.h.  */
58519 _ACEOF
58520 cat confdefs.h >>conftest.$ac_ext
58521 cat >>conftest.$ac_ext <<_ACEOF
58522 /* end confdefs.h.  */
58523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58524    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58525 #define $ac_func innocuous_$ac_func
58526
58527 /* System header to define __stub macros and hopefully few prototypes,
58528     which can conflict with char $ac_func (); below.
58529     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58530     <limits.h> exists even on freestanding compilers.  */
58531
58532 #ifdef __STDC__
58533 # include <limits.h>
58534 #else
58535 # include <assert.h>
58536 #endif
58537
58538 #undef $ac_func
58539
58540 /* Override any gcc2 internal prototype to avoid an error.  */
58541 #ifdef __cplusplus
58542 extern "C"
58543 {
58544 #endif
58545 /* We use char because int might match the return type of a gcc2
58546    builtin and then its argument prototype would still apply.  */
58547 char $ac_func ();
58548 /* The GNU C library defines this for functions which it implements
58549     to always fail with ENOSYS.  Some functions are actually named
58550     something starting with __ and the normal name is an alias.  */
58551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58552 choke me
58553 #else
58554 char (*f) () = $ac_func;
58555 #endif
58556 #ifdef __cplusplus
58557 }
58558 #endif
58559
58560 int
58561 main ()
58562 {
58563 return f != $ac_func;
58564   ;
58565   return 0;
58566 }
58567 _ACEOF
58568 rm -f conftest.$ac_objext conftest$ac_exeext
58569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58570   (eval $ac_link) 2>conftest.er1
58571   ac_status=$?
58572   grep -v '^ *+' conftest.er1 >conftest.err
58573   rm -f conftest.er1
58574   cat conftest.err >&5
58575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58576   (exit $ac_status); } &&
58577          { ac_try='test -z "$ac_c_werror_flag"
58578                          || test ! -s conftest.err'
58579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58580   (eval $ac_try) 2>&5
58581   ac_status=$?
58582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58583   (exit $ac_status); }; } &&
58584          { ac_try='test -s conftest$ac_exeext'
58585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58586   (eval $ac_try) 2>&5
58587   ac_status=$?
58588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58589   (exit $ac_status); }; }; then
58590   eval "$as_ac_var=yes"
58591 else
58592   echo "$as_me: failed program was:" >&5
58593 sed 's/^/| /' conftest.$ac_ext >&5
58594
58595 eval "$as_ac_var=no"
58596 fi
58597 rm -f conftest.err conftest.$ac_objext \
58598       conftest$ac_exeext conftest.$ac_ext
58599 fi
58600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58602 if test `eval echo '${'$as_ac_var'}'` = yes; then
58603   cat >>confdefs.h <<_ACEOF
58604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58605 _ACEOF
58606
58607 fi
58608 done
58609
58610     fi
58611   fi
58612
58613
58614
58615   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
58616 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
58617   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
58618     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
58619   echo $ECHO_N "(cached) $ECHO_C" >&6
58620 else
58621
58622
58623
58624       ac_ext=cc
58625 ac_cpp='$CXXCPP $CPPFLAGS'
58626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58629
58630       cat >conftest.$ac_ext <<_ACEOF
58631 /* confdefs.h.  */
58632 _ACEOF
58633 cat confdefs.h >>conftest.$ac_ext
58634 cat >>conftest.$ac_ext <<_ACEOF
58635 /* end confdefs.h.  */
58636 #include <math.h>
58637                       #ifdef HAVE_IEEEFP_H
58638                       #include <ieeefp.h>
58639                       #endif
58640
58641 int
58642 main ()
58643 {
58644  fabsf(0);
58645   ;
58646   return 0;
58647 }
58648 _ACEOF
58649 rm -f conftest.$ac_objext
58650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58651   (eval $ac_compile) 2>conftest.er1
58652   ac_status=$?
58653   grep -v '^ *+' conftest.er1 >conftest.err
58654   rm -f conftest.er1
58655   cat conftest.err >&5
58656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58657   (exit $ac_status); } &&
58658          { ac_try='test -z "$ac_cxx_werror_flag"
58659                          || test ! -s conftest.err'
58660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58661   (eval $ac_try) 2>&5
58662   ac_status=$?
58663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58664   (exit $ac_status); }; } &&
58665          { ac_try='test -s conftest.$ac_objext'
58666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58667   (eval $ac_try) 2>&5
58668   ac_status=$?
58669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58670   (exit $ac_status); }; }; then
58671   glibcxx_cv_func_fabsf_use=yes
58672 else
58673   echo "$as_me: failed program was:" >&5
58674 sed 's/^/| /' conftest.$ac_ext >&5
58675
58676 glibcxx_cv_func_fabsf_use=no
58677 fi
58678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58679       ac_ext=c
58680 ac_cpp='$CPP $CPPFLAGS'
58681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58684
58685
58686 fi
58687
58688   fi
58689   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
58690 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
58691
58692   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
58693
58694 for ac_func in fabsf
58695 do
58696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58697 echo "$as_me:$LINENO: checking for $ac_func" >&5
58698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58699 if eval "test \"\${$as_ac_var+set}\" = set"; then
58700   echo $ECHO_N "(cached) $ECHO_C" >&6
58701 else
58702   if test x$gcc_no_link = xyes; then
58703   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58705    { (exit 1); exit 1; }; }
58706 fi
58707 cat >conftest.$ac_ext <<_ACEOF
58708 /* confdefs.h.  */
58709 _ACEOF
58710 cat confdefs.h >>conftest.$ac_ext
58711 cat >>conftest.$ac_ext <<_ACEOF
58712 /* end confdefs.h.  */
58713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58714    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58715 #define $ac_func innocuous_$ac_func
58716
58717 /* System header to define __stub macros and hopefully few prototypes,
58718     which can conflict with char $ac_func (); below.
58719     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58720     <limits.h> exists even on freestanding compilers.  */
58721
58722 #ifdef __STDC__
58723 # include <limits.h>
58724 #else
58725 # include <assert.h>
58726 #endif
58727
58728 #undef $ac_func
58729
58730 /* Override any gcc2 internal prototype to avoid an error.  */
58731 #ifdef __cplusplus
58732 extern "C"
58733 {
58734 #endif
58735 /* We use char because int might match the return type of a gcc2
58736    builtin and then its argument prototype would still apply.  */
58737 char $ac_func ();
58738 /* The GNU C library defines this for functions which it implements
58739     to always fail with ENOSYS.  Some functions are actually named
58740     something starting with __ and the normal name is an alias.  */
58741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58742 choke me
58743 #else
58744 char (*f) () = $ac_func;
58745 #endif
58746 #ifdef __cplusplus
58747 }
58748 #endif
58749
58750 int
58751 main ()
58752 {
58753 return f != $ac_func;
58754   ;
58755   return 0;
58756 }
58757 _ACEOF
58758 rm -f conftest.$ac_objext conftest$ac_exeext
58759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58760   (eval $ac_link) 2>conftest.er1
58761   ac_status=$?
58762   grep -v '^ *+' conftest.er1 >conftest.err
58763   rm -f conftest.er1
58764   cat conftest.err >&5
58765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58766   (exit $ac_status); } &&
58767          { ac_try='test -z "$ac_c_werror_flag"
58768                          || test ! -s conftest.err'
58769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58770   (eval $ac_try) 2>&5
58771   ac_status=$?
58772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58773   (exit $ac_status); }; } &&
58774          { ac_try='test -s conftest$ac_exeext'
58775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58776   (eval $ac_try) 2>&5
58777   ac_status=$?
58778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58779   (exit $ac_status); }; }; then
58780   eval "$as_ac_var=yes"
58781 else
58782   echo "$as_me: failed program was:" >&5
58783 sed 's/^/| /' conftest.$ac_ext >&5
58784
58785 eval "$as_ac_var=no"
58786 fi
58787 rm -f conftest.err conftest.$ac_objext \
58788       conftest$ac_exeext conftest.$ac_ext
58789 fi
58790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58792 if test `eval echo '${'$as_ac_var'}'` = yes; then
58793   cat >>confdefs.h <<_ACEOF
58794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58795 _ACEOF
58796
58797 fi
58798 done
58799
58800   else
58801
58802   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
58803 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
58804   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
58805     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
58806   echo $ECHO_N "(cached) $ECHO_C" >&6
58807 else
58808
58809
58810
58811       ac_ext=cc
58812 ac_cpp='$CXXCPP $CPPFLAGS'
58813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58816
58817       cat >conftest.$ac_ext <<_ACEOF
58818 /* confdefs.h.  */
58819 _ACEOF
58820 cat confdefs.h >>conftest.$ac_ext
58821 cat >>conftest.$ac_ext <<_ACEOF
58822 /* end confdefs.h.  */
58823 #include <math.h>
58824                       #ifdef HAVE_IEEEFP_H
58825                       #include <ieeefp.h>
58826                       #endif
58827
58828 int
58829 main ()
58830 {
58831  _fabsf(0);
58832   ;
58833   return 0;
58834 }
58835 _ACEOF
58836 rm -f conftest.$ac_objext
58837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58838   (eval $ac_compile) 2>conftest.er1
58839   ac_status=$?
58840   grep -v '^ *+' conftest.er1 >conftest.err
58841   rm -f conftest.er1
58842   cat conftest.err >&5
58843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58844   (exit $ac_status); } &&
58845          { ac_try='test -z "$ac_cxx_werror_flag"
58846                          || test ! -s conftest.err'
58847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58848   (eval $ac_try) 2>&5
58849   ac_status=$?
58850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58851   (exit $ac_status); }; } &&
58852          { ac_try='test -s conftest.$ac_objext'
58853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58854   (eval $ac_try) 2>&5
58855   ac_status=$?
58856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58857   (exit $ac_status); }; }; then
58858   glibcxx_cv_func__fabsf_use=yes
58859 else
58860   echo "$as_me: failed program was:" >&5
58861 sed 's/^/| /' conftest.$ac_ext >&5
58862
58863 glibcxx_cv_func__fabsf_use=no
58864 fi
58865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58866       ac_ext=c
58867 ac_cpp='$CPP $CPPFLAGS'
58868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58871
58872
58873 fi
58874
58875   fi
58876   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
58877 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
58878
58879     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
58880
58881 for ac_func in _fabsf
58882 do
58883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58884 echo "$as_me:$LINENO: checking for $ac_func" >&5
58885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58886 if eval "test \"\${$as_ac_var+set}\" = set"; then
58887   echo $ECHO_N "(cached) $ECHO_C" >&6
58888 else
58889   if test x$gcc_no_link = xyes; then
58890   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58892    { (exit 1); exit 1; }; }
58893 fi
58894 cat >conftest.$ac_ext <<_ACEOF
58895 /* confdefs.h.  */
58896 _ACEOF
58897 cat confdefs.h >>conftest.$ac_ext
58898 cat >>conftest.$ac_ext <<_ACEOF
58899 /* end confdefs.h.  */
58900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58901    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58902 #define $ac_func innocuous_$ac_func
58903
58904 /* System header to define __stub macros and hopefully few prototypes,
58905     which can conflict with char $ac_func (); below.
58906     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58907     <limits.h> exists even on freestanding compilers.  */
58908
58909 #ifdef __STDC__
58910 # include <limits.h>
58911 #else
58912 # include <assert.h>
58913 #endif
58914
58915 #undef $ac_func
58916
58917 /* Override any gcc2 internal prototype to avoid an error.  */
58918 #ifdef __cplusplus
58919 extern "C"
58920 {
58921 #endif
58922 /* We use char because int might match the return type of a gcc2
58923    builtin and then its argument prototype would still apply.  */
58924 char $ac_func ();
58925 /* The GNU C library defines this for functions which it implements
58926     to always fail with ENOSYS.  Some functions are actually named
58927     something starting with __ and the normal name is an alias.  */
58928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58929 choke me
58930 #else
58931 char (*f) () = $ac_func;
58932 #endif
58933 #ifdef __cplusplus
58934 }
58935 #endif
58936
58937 int
58938 main ()
58939 {
58940 return f != $ac_func;
58941   ;
58942   return 0;
58943 }
58944 _ACEOF
58945 rm -f conftest.$ac_objext conftest$ac_exeext
58946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58947   (eval $ac_link) 2>conftest.er1
58948   ac_status=$?
58949   grep -v '^ *+' conftest.er1 >conftest.err
58950   rm -f conftest.er1
58951   cat conftest.err >&5
58952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58953   (exit $ac_status); } &&
58954          { ac_try='test -z "$ac_c_werror_flag"
58955                          || test ! -s conftest.err'
58956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58957   (eval $ac_try) 2>&5
58958   ac_status=$?
58959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58960   (exit $ac_status); }; } &&
58961          { ac_try='test -s conftest$ac_exeext'
58962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58963   (eval $ac_try) 2>&5
58964   ac_status=$?
58965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58966   (exit $ac_status); }; }; then
58967   eval "$as_ac_var=yes"
58968 else
58969   echo "$as_me: failed program was:" >&5
58970 sed 's/^/| /' conftest.$ac_ext >&5
58971
58972 eval "$as_ac_var=no"
58973 fi
58974 rm -f conftest.err conftest.$ac_objext \
58975       conftest$ac_exeext conftest.$ac_ext
58976 fi
58977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58979 if test `eval echo '${'$as_ac_var'}'` = yes; then
58980   cat >>confdefs.h <<_ACEOF
58981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58982 _ACEOF
58983
58984 fi
58985 done
58986
58987     fi
58988   fi
58989
58990
58991
58992   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
58993 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
58994   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
58995     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
58996   echo $ECHO_N "(cached) $ECHO_C" >&6
58997 else
58998
58999
59000
59001       ac_ext=cc
59002 ac_cpp='$CXXCPP $CPPFLAGS'
59003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59006
59007       cat >conftest.$ac_ext <<_ACEOF
59008 /* confdefs.h.  */
59009 _ACEOF
59010 cat confdefs.h >>conftest.$ac_ext
59011 cat >>conftest.$ac_ext <<_ACEOF
59012 /* end confdefs.h.  */
59013 #include <math.h>
59014 int
59015 main ()
59016 {
59017  fmodf(0, 0);
59018   ;
59019   return 0;
59020 }
59021 _ACEOF
59022 rm -f conftest.$ac_objext
59023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59024   (eval $ac_compile) 2>conftest.er1
59025   ac_status=$?
59026   grep -v '^ *+' conftest.er1 >conftest.err
59027   rm -f conftest.er1
59028   cat conftest.err >&5
59029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59030   (exit $ac_status); } &&
59031          { ac_try='test -z "$ac_cxx_werror_flag"
59032                          || test ! -s conftest.err'
59033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59034   (eval $ac_try) 2>&5
59035   ac_status=$?
59036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59037   (exit $ac_status); }; } &&
59038          { ac_try='test -s conftest.$ac_objext'
59039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59040   (eval $ac_try) 2>&5
59041   ac_status=$?
59042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59043   (exit $ac_status); }; }; then
59044   glibcxx_cv_func_fmodf_use=yes
59045 else
59046   echo "$as_me: failed program was:" >&5
59047 sed 's/^/| /' conftest.$ac_ext >&5
59048
59049 glibcxx_cv_func_fmodf_use=no
59050 fi
59051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59052       ac_ext=c
59053 ac_cpp='$CPP $CPPFLAGS'
59054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59057
59058
59059 fi
59060
59061   fi
59062   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
59063 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
59064
59065   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59066
59067 for ac_func in fmodf
59068 do
59069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59070 echo "$as_me:$LINENO: checking for $ac_func" >&5
59071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59072 if eval "test \"\${$as_ac_var+set}\" = set"; then
59073   echo $ECHO_N "(cached) $ECHO_C" >&6
59074 else
59075   if test x$gcc_no_link = xyes; then
59076   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59078    { (exit 1); exit 1; }; }
59079 fi
59080 cat >conftest.$ac_ext <<_ACEOF
59081 /* confdefs.h.  */
59082 _ACEOF
59083 cat confdefs.h >>conftest.$ac_ext
59084 cat >>conftest.$ac_ext <<_ACEOF
59085 /* end confdefs.h.  */
59086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59087    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59088 #define $ac_func innocuous_$ac_func
59089
59090 /* System header to define __stub macros and hopefully few prototypes,
59091     which can conflict with char $ac_func (); below.
59092     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59093     <limits.h> exists even on freestanding compilers.  */
59094
59095 #ifdef __STDC__
59096 # include <limits.h>
59097 #else
59098 # include <assert.h>
59099 #endif
59100
59101 #undef $ac_func
59102
59103 /* Override any gcc2 internal prototype to avoid an error.  */
59104 #ifdef __cplusplus
59105 extern "C"
59106 {
59107 #endif
59108 /* We use char because int might match the return type of a gcc2
59109    builtin and then its argument prototype would still apply.  */
59110 char $ac_func ();
59111 /* The GNU C library defines this for functions which it implements
59112     to always fail with ENOSYS.  Some functions are actually named
59113     something starting with __ and the normal name is an alias.  */
59114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59115 choke me
59116 #else
59117 char (*f) () = $ac_func;
59118 #endif
59119 #ifdef __cplusplus
59120 }
59121 #endif
59122
59123 int
59124 main ()
59125 {
59126 return f != $ac_func;
59127   ;
59128   return 0;
59129 }
59130 _ACEOF
59131 rm -f conftest.$ac_objext conftest$ac_exeext
59132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59133   (eval $ac_link) 2>conftest.er1
59134   ac_status=$?
59135   grep -v '^ *+' conftest.er1 >conftest.err
59136   rm -f conftest.er1
59137   cat conftest.err >&5
59138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59139   (exit $ac_status); } &&
59140          { ac_try='test -z "$ac_c_werror_flag"
59141                          || test ! -s conftest.err'
59142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59143   (eval $ac_try) 2>&5
59144   ac_status=$?
59145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59146   (exit $ac_status); }; } &&
59147          { ac_try='test -s conftest$ac_exeext'
59148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59149   (eval $ac_try) 2>&5
59150   ac_status=$?
59151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59152   (exit $ac_status); }; }; then
59153   eval "$as_ac_var=yes"
59154 else
59155   echo "$as_me: failed program was:" >&5
59156 sed 's/^/| /' conftest.$ac_ext >&5
59157
59158 eval "$as_ac_var=no"
59159 fi
59160 rm -f conftest.err conftest.$ac_objext \
59161       conftest$ac_exeext conftest.$ac_ext
59162 fi
59163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59165 if test `eval echo '${'$as_ac_var'}'` = yes; then
59166   cat >>confdefs.h <<_ACEOF
59167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59168 _ACEOF
59169
59170 fi
59171 done
59172
59173   else
59174
59175   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
59176 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
59177   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59178     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
59179   echo $ECHO_N "(cached) $ECHO_C" >&6
59180 else
59181
59182
59183
59184       ac_ext=cc
59185 ac_cpp='$CXXCPP $CPPFLAGS'
59186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59189
59190       cat >conftest.$ac_ext <<_ACEOF
59191 /* confdefs.h.  */
59192 _ACEOF
59193 cat confdefs.h >>conftest.$ac_ext
59194 cat >>conftest.$ac_ext <<_ACEOF
59195 /* end confdefs.h.  */
59196 #include <math.h>
59197 int
59198 main ()
59199 {
59200  _fmodf(0, 0);
59201   ;
59202   return 0;
59203 }
59204 _ACEOF
59205 rm -f conftest.$ac_objext
59206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59207   (eval $ac_compile) 2>conftest.er1
59208   ac_status=$?
59209   grep -v '^ *+' conftest.er1 >conftest.err
59210   rm -f conftest.er1
59211   cat conftest.err >&5
59212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59213   (exit $ac_status); } &&
59214          { ac_try='test -z "$ac_cxx_werror_flag"
59215                          || test ! -s conftest.err'
59216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59217   (eval $ac_try) 2>&5
59218   ac_status=$?
59219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59220   (exit $ac_status); }; } &&
59221          { ac_try='test -s conftest.$ac_objext'
59222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59223   (eval $ac_try) 2>&5
59224   ac_status=$?
59225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59226   (exit $ac_status); }; }; then
59227   glibcxx_cv_func__fmodf_use=yes
59228 else
59229   echo "$as_me: failed program was:" >&5
59230 sed 's/^/| /' conftest.$ac_ext >&5
59231
59232 glibcxx_cv_func__fmodf_use=no
59233 fi
59234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59235       ac_ext=c
59236 ac_cpp='$CPP $CPPFLAGS'
59237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59240
59241
59242 fi
59243
59244   fi
59245   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
59246 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
59247
59248     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59249
59250 for ac_func in _fmodf
59251 do
59252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59253 echo "$as_me:$LINENO: checking for $ac_func" >&5
59254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59255 if eval "test \"\${$as_ac_var+set}\" = set"; then
59256   echo $ECHO_N "(cached) $ECHO_C" >&6
59257 else
59258   if test x$gcc_no_link = xyes; then
59259   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59261    { (exit 1); exit 1; }; }
59262 fi
59263 cat >conftest.$ac_ext <<_ACEOF
59264 /* confdefs.h.  */
59265 _ACEOF
59266 cat confdefs.h >>conftest.$ac_ext
59267 cat >>conftest.$ac_ext <<_ACEOF
59268 /* end confdefs.h.  */
59269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59270    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59271 #define $ac_func innocuous_$ac_func
59272
59273 /* System header to define __stub macros and hopefully few prototypes,
59274     which can conflict with char $ac_func (); below.
59275     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59276     <limits.h> exists even on freestanding compilers.  */
59277
59278 #ifdef __STDC__
59279 # include <limits.h>
59280 #else
59281 # include <assert.h>
59282 #endif
59283
59284 #undef $ac_func
59285
59286 /* Override any gcc2 internal prototype to avoid an error.  */
59287 #ifdef __cplusplus
59288 extern "C"
59289 {
59290 #endif
59291 /* We use char because int might match the return type of a gcc2
59292    builtin and then its argument prototype would still apply.  */
59293 char $ac_func ();
59294 /* The GNU C library defines this for functions which it implements
59295     to always fail with ENOSYS.  Some functions are actually named
59296     something starting with __ and the normal name is an alias.  */
59297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59298 choke me
59299 #else
59300 char (*f) () = $ac_func;
59301 #endif
59302 #ifdef __cplusplus
59303 }
59304 #endif
59305
59306 int
59307 main ()
59308 {
59309 return f != $ac_func;
59310   ;
59311   return 0;
59312 }
59313 _ACEOF
59314 rm -f conftest.$ac_objext conftest$ac_exeext
59315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59316   (eval $ac_link) 2>conftest.er1
59317   ac_status=$?
59318   grep -v '^ *+' conftest.er1 >conftest.err
59319   rm -f conftest.er1
59320   cat conftest.err >&5
59321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59322   (exit $ac_status); } &&
59323          { ac_try='test -z "$ac_c_werror_flag"
59324                          || test ! -s conftest.err'
59325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59326   (eval $ac_try) 2>&5
59327   ac_status=$?
59328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59329   (exit $ac_status); }; } &&
59330          { ac_try='test -s conftest$ac_exeext'
59331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59332   (eval $ac_try) 2>&5
59333   ac_status=$?
59334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59335   (exit $ac_status); }; }; then
59336   eval "$as_ac_var=yes"
59337 else
59338   echo "$as_me: failed program was:" >&5
59339 sed 's/^/| /' conftest.$ac_ext >&5
59340
59341 eval "$as_ac_var=no"
59342 fi
59343 rm -f conftest.err conftest.$ac_objext \
59344       conftest$ac_exeext conftest.$ac_ext
59345 fi
59346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59348 if test `eval echo '${'$as_ac_var'}'` = yes; then
59349   cat >>confdefs.h <<_ACEOF
59350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59351 _ACEOF
59352
59353 fi
59354 done
59355
59356     fi
59357   fi
59358
59359
59360
59361   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
59362 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
59363   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59364     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
59365   echo $ECHO_N "(cached) $ECHO_C" >&6
59366 else
59367
59368
59369
59370       ac_ext=cc
59371 ac_cpp='$CXXCPP $CPPFLAGS'
59372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59375
59376       cat >conftest.$ac_ext <<_ACEOF
59377 /* confdefs.h.  */
59378 _ACEOF
59379 cat confdefs.h >>conftest.$ac_ext
59380 cat >>conftest.$ac_ext <<_ACEOF
59381 /* end confdefs.h.  */
59382 #include <math.h>
59383 int
59384 main ()
59385 {
59386  frexpf(0, 0);
59387   ;
59388   return 0;
59389 }
59390 _ACEOF
59391 rm -f conftest.$ac_objext
59392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59393   (eval $ac_compile) 2>conftest.er1
59394   ac_status=$?
59395   grep -v '^ *+' conftest.er1 >conftest.err
59396   rm -f conftest.er1
59397   cat conftest.err >&5
59398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59399   (exit $ac_status); } &&
59400          { ac_try='test -z "$ac_cxx_werror_flag"
59401                          || test ! -s conftest.err'
59402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59403   (eval $ac_try) 2>&5
59404   ac_status=$?
59405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59406   (exit $ac_status); }; } &&
59407          { ac_try='test -s conftest.$ac_objext'
59408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59409   (eval $ac_try) 2>&5
59410   ac_status=$?
59411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59412   (exit $ac_status); }; }; then
59413   glibcxx_cv_func_frexpf_use=yes
59414 else
59415   echo "$as_me: failed program was:" >&5
59416 sed 's/^/| /' conftest.$ac_ext >&5
59417
59418 glibcxx_cv_func_frexpf_use=no
59419 fi
59420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59421       ac_ext=c
59422 ac_cpp='$CPP $CPPFLAGS'
59423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59426
59427
59428 fi
59429
59430   fi
59431   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
59432 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
59433
59434   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59435
59436 for ac_func in frexpf
59437 do
59438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59439 echo "$as_me:$LINENO: checking for $ac_func" >&5
59440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59441 if eval "test \"\${$as_ac_var+set}\" = set"; then
59442   echo $ECHO_N "(cached) $ECHO_C" >&6
59443 else
59444   if test x$gcc_no_link = xyes; then
59445   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59447    { (exit 1); exit 1; }; }
59448 fi
59449 cat >conftest.$ac_ext <<_ACEOF
59450 /* confdefs.h.  */
59451 _ACEOF
59452 cat confdefs.h >>conftest.$ac_ext
59453 cat >>conftest.$ac_ext <<_ACEOF
59454 /* end confdefs.h.  */
59455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59456    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59457 #define $ac_func innocuous_$ac_func
59458
59459 /* System header to define __stub macros and hopefully few prototypes,
59460     which can conflict with char $ac_func (); below.
59461     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59462     <limits.h> exists even on freestanding compilers.  */
59463
59464 #ifdef __STDC__
59465 # include <limits.h>
59466 #else
59467 # include <assert.h>
59468 #endif
59469
59470 #undef $ac_func
59471
59472 /* Override any gcc2 internal prototype to avoid an error.  */
59473 #ifdef __cplusplus
59474 extern "C"
59475 {
59476 #endif
59477 /* We use char because int might match the return type of a gcc2
59478    builtin and then its argument prototype would still apply.  */
59479 char $ac_func ();
59480 /* The GNU C library defines this for functions which it implements
59481     to always fail with ENOSYS.  Some functions are actually named
59482     something starting with __ and the normal name is an alias.  */
59483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59484 choke me
59485 #else
59486 char (*f) () = $ac_func;
59487 #endif
59488 #ifdef __cplusplus
59489 }
59490 #endif
59491
59492 int
59493 main ()
59494 {
59495 return f != $ac_func;
59496   ;
59497   return 0;
59498 }
59499 _ACEOF
59500 rm -f conftest.$ac_objext conftest$ac_exeext
59501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59502   (eval $ac_link) 2>conftest.er1
59503   ac_status=$?
59504   grep -v '^ *+' conftest.er1 >conftest.err
59505   rm -f conftest.er1
59506   cat conftest.err >&5
59507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59508   (exit $ac_status); } &&
59509          { ac_try='test -z "$ac_c_werror_flag"
59510                          || test ! -s conftest.err'
59511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59512   (eval $ac_try) 2>&5
59513   ac_status=$?
59514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59515   (exit $ac_status); }; } &&
59516          { ac_try='test -s conftest$ac_exeext'
59517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59518   (eval $ac_try) 2>&5
59519   ac_status=$?
59520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59521   (exit $ac_status); }; }; then
59522   eval "$as_ac_var=yes"
59523 else
59524   echo "$as_me: failed program was:" >&5
59525 sed 's/^/| /' conftest.$ac_ext >&5
59526
59527 eval "$as_ac_var=no"
59528 fi
59529 rm -f conftest.err conftest.$ac_objext \
59530       conftest$ac_exeext conftest.$ac_ext
59531 fi
59532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59534 if test `eval echo '${'$as_ac_var'}'` = yes; then
59535   cat >>confdefs.h <<_ACEOF
59536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59537 _ACEOF
59538
59539 fi
59540 done
59541
59542   else
59543
59544   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
59545 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
59546   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59547     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
59548   echo $ECHO_N "(cached) $ECHO_C" >&6
59549 else
59550
59551
59552
59553       ac_ext=cc
59554 ac_cpp='$CXXCPP $CPPFLAGS'
59555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59558
59559       cat >conftest.$ac_ext <<_ACEOF
59560 /* confdefs.h.  */
59561 _ACEOF
59562 cat confdefs.h >>conftest.$ac_ext
59563 cat >>conftest.$ac_ext <<_ACEOF
59564 /* end confdefs.h.  */
59565 #include <math.h>
59566 int
59567 main ()
59568 {
59569  _frexpf(0, 0);
59570   ;
59571   return 0;
59572 }
59573 _ACEOF
59574 rm -f conftest.$ac_objext
59575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59576   (eval $ac_compile) 2>conftest.er1
59577   ac_status=$?
59578   grep -v '^ *+' conftest.er1 >conftest.err
59579   rm -f conftest.er1
59580   cat conftest.err >&5
59581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59582   (exit $ac_status); } &&
59583          { ac_try='test -z "$ac_cxx_werror_flag"
59584                          || test ! -s conftest.err'
59585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59586   (eval $ac_try) 2>&5
59587   ac_status=$?
59588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59589   (exit $ac_status); }; } &&
59590          { ac_try='test -s conftest.$ac_objext'
59591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59592   (eval $ac_try) 2>&5
59593   ac_status=$?
59594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59595   (exit $ac_status); }; }; then
59596   glibcxx_cv_func__frexpf_use=yes
59597 else
59598   echo "$as_me: failed program was:" >&5
59599 sed 's/^/| /' conftest.$ac_ext >&5
59600
59601 glibcxx_cv_func__frexpf_use=no
59602 fi
59603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59604       ac_ext=c
59605 ac_cpp='$CPP $CPPFLAGS'
59606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59609
59610
59611 fi
59612
59613   fi
59614   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
59615 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
59616
59617     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59618
59619 for ac_func in _frexpf
59620 do
59621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59622 echo "$as_me:$LINENO: checking for $ac_func" >&5
59623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59624 if eval "test \"\${$as_ac_var+set}\" = set"; then
59625   echo $ECHO_N "(cached) $ECHO_C" >&6
59626 else
59627   if test x$gcc_no_link = xyes; then
59628   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59630    { (exit 1); exit 1; }; }
59631 fi
59632 cat >conftest.$ac_ext <<_ACEOF
59633 /* confdefs.h.  */
59634 _ACEOF
59635 cat confdefs.h >>conftest.$ac_ext
59636 cat >>conftest.$ac_ext <<_ACEOF
59637 /* end confdefs.h.  */
59638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59639    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59640 #define $ac_func innocuous_$ac_func
59641
59642 /* System header to define __stub macros and hopefully few prototypes,
59643     which can conflict with char $ac_func (); below.
59644     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59645     <limits.h> exists even on freestanding compilers.  */
59646
59647 #ifdef __STDC__
59648 # include <limits.h>
59649 #else
59650 # include <assert.h>
59651 #endif
59652
59653 #undef $ac_func
59654
59655 /* Override any gcc2 internal prototype to avoid an error.  */
59656 #ifdef __cplusplus
59657 extern "C"
59658 {
59659 #endif
59660 /* We use char because int might match the return type of a gcc2
59661    builtin and then its argument prototype would still apply.  */
59662 char $ac_func ();
59663 /* The GNU C library defines this for functions which it implements
59664     to always fail with ENOSYS.  Some functions are actually named
59665     something starting with __ and the normal name is an alias.  */
59666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59667 choke me
59668 #else
59669 char (*f) () = $ac_func;
59670 #endif
59671 #ifdef __cplusplus
59672 }
59673 #endif
59674
59675 int
59676 main ()
59677 {
59678 return f != $ac_func;
59679   ;
59680   return 0;
59681 }
59682 _ACEOF
59683 rm -f conftest.$ac_objext conftest$ac_exeext
59684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59685   (eval $ac_link) 2>conftest.er1
59686   ac_status=$?
59687   grep -v '^ *+' conftest.er1 >conftest.err
59688   rm -f conftest.er1
59689   cat conftest.err >&5
59690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59691   (exit $ac_status); } &&
59692          { ac_try='test -z "$ac_c_werror_flag"
59693                          || test ! -s conftest.err'
59694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59695   (eval $ac_try) 2>&5
59696   ac_status=$?
59697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59698   (exit $ac_status); }; } &&
59699          { ac_try='test -s conftest$ac_exeext'
59700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59701   (eval $ac_try) 2>&5
59702   ac_status=$?
59703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59704   (exit $ac_status); }; }; then
59705   eval "$as_ac_var=yes"
59706 else
59707   echo "$as_me: failed program was:" >&5
59708 sed 's/^/| /' conftest.$ac_ext >&5
59709
59710 eval "$as_ac_var=no"
59711 fi
59712 rm -f conftest.err conftest.$ac_objext \
59713       conftest$ac_exeext conftest.$ac_ext
59714 fi
59715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59717 if test `eval echo '${'$as_ac_var'}'` = yes; then
59718   cat >>confdefs.h <<_ACEOF
59719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59720 _ACEOF
59721
59722 fi
59723 done
59724
59725     fi
59726   fi
59727
59728
59729
59730   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
59731 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
59732   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59733     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
59734   echo $ECHO_N "(cached) $ECHO_C" >&6
59735 else
59736
59737
59738
59739       ac_ext=cc
59740 ac_cpp='$CXXCPP $CPPFLAGS'
59741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59744
59745       cat >conftest.$ac_ext <<_ACEOF
59746 /* confdefs.h.  */
59747 _ACEOF
59748 cat confdefs.h >>conftest.$ac_ext
59749 cat >>conftest.$ac_ext <<_ACEOF
59750 /* end confdefs.h.  */
59751 #include <math.h>
59752 int
59753 main ()
59754 {
59755  hypotf(0, 0);
59756   ;
59757   return 0;
59758 }
59759 _ACEOF
59760 rm -f conftest.$ac_objext
59761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59762   (eval $ac_compile) 2>conftest.er1
59763   ac_status=$?
59764   grep -v '^ *+' conftest.er1 >conftest.err
59765   rm -f conftest.er1
59766   cat conftest.err >&5
59767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59768   (exit $ac_status); } &&
59769          { ac_try='test -z "$ac_cxx_werror_flag"
59770                          || test ! -s conftest.err'
59771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59772   (eval $ac_try) 2>&5
59773   ac_status=$?
59774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59775   (exit $ac_status); }; } &&
59776          { ac_try='test -s conftest.$ac_objext'
59777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59778   (eval $ac_try) 2>&5
59779   ac_status=$?
59780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59781   (exit $ac_status); }; }; then
59782   glibcxx_cv_func_hypotf_use=yes
59783 else
59784   echo "$as_me: failed program was:" >&5
59785 sed 's/^/| /' conftest.$ac_ext >&5
59786
59787 glibcxx_cv_func_hypotf_use=no
59788 fi
59789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59790       ac_ext=c
59791 ac_cpp='$CPP $CPPFLAGS'
59792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59795
59796
59797 fi
59798
59799   fi
59800   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
59801 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
59802
59803   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59804
59805 for ac_func in hypotf
59806 do
59807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59808 echo "$as_me:$LINENO: checking for $ac_func" >&5
59809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59810 if eval "test \"\${$as_ac_var+set}\" = set"; then
59811   echo $ECHO_N "(cached) $ECHO_C" >&6
59812 else
59813   if test x$gcc_no_link = xyes; then
59814   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59816    { (exit 1); exit 1; }; }
59817 fi
59818 cat >conftest.$ac_ext <<_ACEOF
59819 /* confdefs.h.  */
59820 _ACEOF
59821 cat confdefs.h >>conftest.$ac_ext
59822 cat >>conftest.$ac_ext <<_ACEOF
59823 /* end confdefs.h.  */
59824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59825    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59826 #define $ac_func innocuous_$ac_func
59827
59828 /* System header to define __stub macros and hopefully few prototypes,
59829     which can conflict with char $ac_func (); below.
59830     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59831     <limits.h> exists even on freestanding compilers.  */
59832
59833 #ifdef __STDC__
59834 # include <limits.h>
59835 #else
59836 # include <assert.h>
59837 #endif
59838
59839 #undef $ac_func
59840
59841 /* Override any gcc2 internal prototype to avoid an error.  */
59842 #ifdef __cplusplus
59843 extern "C"
59844 {
59845 #endif
59846 /* We use char because int might match the return type of a gcc2
59847    builtin and then its argument prototype would still apply.  */
59848 char $ac_func ();
59849 /* The GNU C library defines this for functions which it implements
59850     to always fail with ENOSYS.  Some functions are actually named
59851     something starting with __ and the normal name is an alias.  */
59852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59853 choke me
59854 #else
59855 char (*f) () = $ac_func;
59856 #endif
59857 #ifdef __cplusplus
59858 }
59859 #endif
59860
59861 int
59862 main ()
59863 {
59864 return f != $ac_func;
59865   ;
59866   return 0;
59867 }
59868 _ACEOF
59869 rm -f conftest.$ac_objext conftest$ac_exeext
59870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59871   (eval $ac_link) 2>conftest.er1
59872   ac_status=$?
59873   grep -v '^ *+' conftest.er1 >conftest.err
59874   rm -f conftest.er1
59875   cat conftest.err >&5
59876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59877   (exit $ac_status); } &&
59878          { ac_try='test -z "$ac_c_werror_flag"
59879                          || test ! -s conftest.err'
59880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59881   (eval $ac_try) 2>&5
59882   ac_status=$?
59883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59884   (exit $ac_status); }; } &&
59885          { ac_try='test -s conftest$ac_exeext'
59886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59887   (eval $ac_try) 2>&5
59888   ac_status=$?
59889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59890   (exit $ac_status); }; }; then
59891   eval "$as_ac_var=yes"
59892 else
59893   echo "$as_me: failed program was:" >&5
59894 sed 's/^/| /' conftest.$ac_ext >&5
59895
59896 eval "$as_ac_var=no"
59897 fi
59898 rm -f conftest.err conftest.$ac_objext \
59899       conftest$ac_exeext conftest.$ac_ext
59900 fi
59901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59903 if test `eval echo '${'$as_ac_var'}'` = yes; then
59904   cat >>confdefs.h <<_ACEOF
59905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59906 _ACEOF
59907
59908 fi
59909 done
59910
59911   else
59912
59913   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
59914 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
59915   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59916     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
59917   echo $ECHO_N "(cached) $ECHO_C" >&6
59918 else
59919
59920
59921
59922       ac_ext=cc
59923 ac_cpp='$CXXCPP $CPPFLAGS'
59924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59927
59928       cat >conftest.$ac_ext <<_ACEOF
59929 /* confdefs.h.  */
59930 _ACEOF
59931 cat confdefs.h >>conftest.$ac_ext
59932 cat >>conftest.$ac_ext <<_ACEOF
59933 /* end confdefs.h.  */
59934 #include <math.h>
59935 int
59936 main ()
59937 {
59938  _hypotf(0, 0);
59939   ;
59940   return 0;
59941 }
59942 _ACEOF
59943 rm -f conftest.$ac_objext
59944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59945   (eval $ac_compile) 2>conftest.er1
59946   ac_status=$?
59947   grep -v '^ *+' conftest.er1 >conftest.err
59948   rm -f conftest.er1
59949   cat conftest.err >&5
59950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59951   (exit $ac_status); } &&
59952          { ac_try='test -z "$ac_cxx_werror_flag"
59953                          || test ! -s conftest.err'
59954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59955   (eval $ac_try) 2>&5
59956   ac_status=$?
59957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59958   (exit $ac_status); }; } &&
59959          { ac_try='test -s conftest.$ac_objext'
59960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59961   (eval $ac_try) 2>&5
59962   ac_status=$?
59963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59964   (exit $ac_status); }; }; then
59965   glibcxx_cv_func__hypotf_use=yes
59966 else
59967   echo "$as_me: failed program was:" >&5
59968 sed 's/^/| /' conftest.$ac_ext >&5
59969
59970 glibcxx_cv_func__hypotf_use=no
59971 fi
59972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59973       ac_ext=c
59974 ac_cpp='$CPP $CPPFLAGS'
59975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59978
59979
59980 fi
59981
59982   fi
59983   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
59984 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
59985
59986     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59987
59988 for ac_func in _hypotf
59989 do
59990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59991 echo "$as_me:$LINENO: checking for $ac_func" >&5
59992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59993 if eval "test \"\${$as_ac_var+set}\" = set"; then
59994   echo $ECHO_N "(cached) $ECHO_C" >&6
59995 else
59996   if test x$gcc_no_link = xyes; then
59997   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59999    { (exit 1); exit 1; }; }
60000 fi
60001 cat >conftest.$ac_ext <<_ACEOF
60002 /* confdefs.h.  */
60003 _ACEOF
60004 cat confdefs.h >>conftest.$ac_ext
60005 cat >>conftest.$ac_ext <<_ACEOF
60006 /* end confdefs.h.  */
60007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60008    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60009 #define $ac_func innocuous_$ac_func
60010
60011 /* System header to define __stub macros and hopefully few prototypes,
60012     which can conflict with char $ac_func (); below.
60013     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60014     <limits.h> exists even on freestanding compilers.  */
60015
60016 #ifdef __STDC__
60017 # include <limits.h>
60018 #else
60019 # include <assert.h>
60020 #endif
60021
60022 #undef $ac_func
60023
60024 /* Override any gcc2 internal prototype to avoid an error.  */
60025 #ifdef __cplusplus
60026 extern "C"
60027 {
60028 #endif
60029 /* We use char because int might match the return type of a gcc2
60030    builtin and then its argument prototype would still apply.  */
60031 char $ac_func ();
60032 /* The GNU C library defines this for functions which it implements
60033     to always fail with ENOSYS.  Some functions are actually named
60034     something starting with __ and the normal name is an alias.  */
60035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60036 choke me
60037 #else
60038 char (*f) () = $ac_func;
60039 #endif
60040 #ifdef __cplusplus
60041 }
60042 #endif
60043
60044 int
60045 main ()
60046 {
60047 return f != $ac_func;
60048   ;
60049   return 0;
60050 }
60051 _ACEOF
60052 rm -f conftest.$ac_objext conftest$ac_exeext
60053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60054   (eval $ac_link) 2>conftest.er1
60055   ac_status=$?
60056   grep -v '^ *+' conftest.er1 >conftest.err
60057   rm -f conftest.er1
60058   cat conftest.err >&5
60059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60060   (exit $ac_status); } &&
60061          { ac_try='test -z "$ac_c_werror_flag"
60062                          || test ! -s conftest.err'
60063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60064   (eval $ac_try) 2>&5
60065   ac_status=$?
60066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60067   (exit $ac_status); }; } &&
60068          { ac_try='test -s conftest$ac_exeext'
60069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60070   (eval $ac_try) 2>&5
60071   ac_status=$?
60072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60073   (exit $ac_status); }; }; then
60074   eval "$as_ac_var=yes"
60075 else
60076   echo "$as_me: failed program was:" >&5
60077 sed 's/^/| /' conftest.$ac_ext >&5
60078
60079 eval "$as_ac_var=no"
60080 fi
60081 rm -f conftest.err conftest.$ac_objext \
60082       conftest$ac_exeext conftest.$ac_ext
60083 fi
60084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60086 if test `eval echo '${'$as_ac_var'}'` = yes; then
60087   cat >>confdefs.h <<_ACEOF
60088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60089 _ACEOF
60090
60091 fi
60092 done
60093
60094     fi
60095   fi
60096
60097
60098
60099   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
60100 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
60101   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60102     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
60103   echo $ECHO_N "(cached) $ECHO_C" >&6
60104 else
60105
60106
60107
60108       ac_ext=cc
60109 ac_cpp='$CXXCPP $CPPFLAGS'
60110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60113
60114       cat >conftest.$ac_ext <<_ACEOF
60115 /* confdefs.h.  */
60116 _ACEOF
60117 cat confdefs.h >>conftest.$ac_ext
60118 cat >>conftest.$ac_ext <<_ACEOF
60119 /* end confdefs.h.  */
60120 #include <math.h>
60121 int
60122 main ()
60123 {
60124  ldexpf(0, 0);
60125   ;
60126   return 0;
60127 }
60128 _ACEOF
60129 rm -f conftest.$ac_objext
60130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60131   (eval $ac_compile) 2>conftest.er1
60132   ac_status=$?
60133   grep -v '^ *+' conftest.er1 >conftest.err
60134   rm -f conftest.er1
60135   cat conftest.err >&5
60136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60137   (exit $ac_status); } &&
60138          { ac_try='test -z "$ac_cxx_werror_flag"
60139                          || test ! -s conftest.err'
60140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60141   (eval $ac_try) 2>&5
60142   ac_status=$?
60143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60144   (exit $ac_status); }; } &&
60145          { ac_try='test -s conftest.$ac_objext'
60146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60147   (eval $ac_try) 2>&5
60148   ac_status=$?
60149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60150   (exit $ac_status); }; }; then
60151   glibcxx_cv_func_ldexpf_use=yes
60152 else
60153   echo "$as_me: failed program was:" >&5
60154 sed 's/^/| /' conftest.$ac_ext >&5
60155
60156 glibcxx_cv_func_ldexpf_use=no
60157 fi
60158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60159       ac_ext=c
60160 ac_cpp='$CPP $CPPFLAGS'
60161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60164
60165
60166 fi
60167
60168   fi
60169   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
60170 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
60171
60172   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60173
60174 for ac_func in ldexpf
60175 do
60176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60177 echo "$as_me:$LINENO: checking for $ac_func" >&5
60178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60179 if eval "test \"\${$as_ac_var+set}\" = set"; then
60180   echo $ECHO_N "(cached) $ECHO_C" >&6
60181 else
60182   if test x$gcc_no_link = xyes; then
60183   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60185    { (exit 1); exit 1; }; }
60186 fi
60187 cat >conftest.$ac_ext <<_ACEOF
60188 /* confdefs.h.  */
60189 _ACEOF
60190 cat confdefs.h >>conftest.$ac_ext
60191 cat >>conftest.$ac_ext <<_ACEOF
60192 /* end confdefs.h.  */
60193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60194    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60195 #define $ac_func innocuous_$ac_func
60196
60197 /* System header to define __stub macros and hopefully few prototypes,
60198     which can conflict with char $ac_func (); below.
60199     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60200     <limits.h> exists even on freestanding compilers.  */
60201
60202 #ifdef __STDC__
60203 # include <limits.h>
60204 #else
60205 # include <assert.h>
60206 #endif
60207
60208 #undef $ac_func
60209
60210 /* Override any gcc2 internal prototype to avoid an error.  */
60211 #ifdef __cplusplus
60212 extern "C"
60213 {
60214 #endif
60215 /* We use char because int might match the return type of a gcc2
60216    builtin and then its argument prototype would still apply.  */
60217 char $ac_func ();
60218 /* The GNU C library defines this for functions which it implements
60219     to always fail with ENOSYS.  Some functions are actually named
60220     something starting with __ and the normal name is an alias.  */
60221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60222 choke me
60223 #else
60224 char (*f) () = $ac_func;
60225 #endif
60226 #ifdef __cplusplus
60227 }
60228 #endif
60229
60230 int
60231 main ()
60232 {
60233 return f != $ac_func;
60234   ;
60235   return 0;
60236 }
60237 _ACEOF
60238 rm -f conftest.$ac_objext conftest$ac_exeext
60239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60240   (eval $ac_link) 2>conftest.er1
60241   ac_status=$?
60242   grep -v '^ *+' conftest.er1 >conftest.err
60243   rm -f conftest.er1
60244   cat conftest.err >&5
60245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60246   (exit $ac_status); } &&
60247          { ac_try='test -z "$ac_c_werror_flag"
60248                          || test ! -s conftest.err'
60249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60250   (eval $ac_try) 2>&5
60251   ac_status=$?
60252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60253   (exit $ac_status); }; } &&
60254          { ac_try='test -s conftest$ac_exeext'
60255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60256   (eval $ac_try) 2>&5
60257   ac_status=$?
60258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60259   (exit $ac_status); }; }; then
60260   eval "$as_ac_var=yes"
60261 else
60262   echo "$as_me: failed program was:" >&5
60263 sed 's/^/| /' conftest.$ac_ext >&5
60264
60265 eval "$as_ac_var=no"
60266 fi
60267 rm -f conftest.err conftest.$ac_objext \
60268       conftest$ac_exeext conftest.$ac_ext
60269 fi
60270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60272 if test `eval echo '${'$as_ac_var'}'` = yes; then
60273   cat >>confdefs.h <<_ACEOF
60274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60275 _ACEOF
60276
60277 fi
60278 done
60279
60280   else
60281
60282   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
60283 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
60284   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60285     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
60286   echo $ECHO_N "(cached) $ECHO_C" >&6
60287 else
60288
60289
60290
60291       ac_ext=cc
60292 ac_cpp='$CXXCPP $CPPFLAGS'
60293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60296
60297       cat >conftest.$ac_ext <<_ACEOF
60298 /* confdefs.h.  */
60299 _ACEOF
60300 cat confdefs.h >>conftest.$ac_ext
60301 cat >>conftest.$ac_ext <<_ACEOF
60302 /* end confdefs.h.  */
60303 #include <math.h>
60304 int
60305 main ()
60306 {
60307  _ldexpf(0, 0);
60308   ;
60309   return 0;
60310 }
60311 _ACEOF
60312 rm -f conftest.$ac_objext
60313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60314   (eval $ac_compile) 2>conftest.er1
60315   ac_status=$?
60316   grep -v '^ *+' conftest.er1 >conftest.err
60317   rm -f conftest.er1
60318   cat conftest.err >&5
60319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60320   (exit $ac_status); } &&
60321          { ac_try='test -z "$ac_cxx_werror_flag"
60322                          || test ! -s conftest.err'
60323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60324   (eval $ac_try) 2>&5
60325   ac_status=$?
60326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60327   (exit $ac_status); }; } &&
60328          { ac_try='test -s conftest.$ac_objext'
60329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60330   (eval $ac_try) 2>&5
60331   ac_status=$?
60332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60333   (exit $ac_status); }; }; then
60334   glibcxx_cv_func__ldexpf_use=yes
60335 else
60336   echo "$as_me: failed program was:" >&5
60337 sed 's/^/| /' conftest.$ac_ext >&5
60338
60339 glibcxx_cv_func__ldexpf_use=no
60340 fi
60341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60342       ac_ext=c
60343 ac_cpp='$CPP $CPPFLAGS'
60344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60347
60348
60349 fi
60350
60351   fi
60352   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
60353 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
60354
60355     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60356
60357 for ac_func in _ldexpf
60358 do
60359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60360 echo "$as_me:$LINENO: checking for $ac_func" >&5
60361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60362 if eval "test \"\${$as_ac_var+set}\" = set"; then
60363   echo $ECHO_N "(cached) $ECHO_C" >&6
60364 else
60365   if test x$gcc_no_link = xyes; then
60366   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60368    { (exit 1); exit 1; }; }
60369 fi
60370 cat >conftest.$ac_ext <<_ACEOF
60371 /* confdefs.h.  */
60372 _ACEOF
60373 cat confdefs.h >>conftest.$ac_ext
60374 cat >>conftest.$ac_ext <<_ACEOF
60375 /* end confdefs.h.  */
60376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60377    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60378 #define $ac_func innocuous_$ac_func
60379
60380 /* System header to define __stub macros and hopefully few prototypes,
60381     which can conflict with char $ac_func (); below.
60382     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60383     <limits.h> exists even on freestanding compilers.  */
60384
60385 #ifdef __STDC__
60386 # include <limits.h>
60387 #else
60388 # include <assert.h>
60389 #endif
60390
60391 #undef $ac_func
60392
60393 /* Override any gcc2 internal prototype to avoid an error.  */
60394 #ifdef __cplusplus
60395 extern "C"
60396 {
60397 #endif
60398 /* We use char because int might match the return type of a gcc2
60399    builtin and then its argument prototype would still apply.  */
60400 char $ac_func ();
60401 /* The GNU C library defines this for functions which it implements
60402     to always fail with ENOSYS.  Some functions are actually named
60403     something starting with __ and the normal name is an alias.  */
60404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60405 choke me
60406 #else
60407 char (*f) () = $ac_func;
60408 #endif
60409 #ifdef __cplusplus
60410 }
60411 #endif
60412
60413 int
60414 main ()
60415 {
60416 return f != $ac_func;
60417   ;
60418   return 0;
60419 }
60420 _ACEOF
60421 rm -f conftest.$ac_objext conftest$ac_exeext
60422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60423   (eval $ac_link) 2>conftest.er1
60424   ac_status=$?
60425   grep -v '^ *+' conftest.er1 >conftest.err
60426   rm -f conftest.er1
60427   cat conftest.err >&5
60428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60429   (exit $ac_status); } &&
60430          { ac_try='test -z "$ac_c_werror_flag"
60431                          || test ! -s conftest.err'
60432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60433   (eval $ac_try) 2>&5
60434   ac_status=$?
60435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60436   (exit $ac_status); }; } &&
60437          { ac_try='test -s conftest$ac_exeext'
60438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60439   (eval $ac_try) 2>&5
60440   ac_status=$?
60441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60442   (exit $ac_status); }; }; then
60443   eval "$as_ac_var=yes"
60444 else
60445   echo "$as_me: failed program was:" >&5
60446 sed 's/^/| /' conftest.$ac_ext >&5
60447
60448 eval "$as_ac_var=no"
60449 fi
60450 rm -f conftest.err conftest.$ac_objext \
60451       conftest$ac_exeext conftest.$ac_ext
60452 fi
60453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60455 if test `eval echo '${'$as_ac_var'}'` = yes; then
60456   cat >>confdefs.h <<_ACEOF
60457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60458 _ACEOF
60459
60460 fi
60461 done
60462
60463     fi
60464   fi
60465
60466
60467
60468   echo "$as_me:$LINENO: checking for logf declaration" >&5
60469 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
60470   if test x${glibcxx_cv_func_logf_use+set} != xset; then
60471     if test "${glibcxx_cv_func_logf_use+set}" = set; then
60472   echo $ECHO_N "(cached) $ECHO_C" >&6
60473 else
60474
60475
60476
60477       ac_ext=cc
60478 ac_cpp='$CXXCPP $CPPFLAGS'
60479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60482
60483       cat >conftest.$ac_ext <<_ACEOF
60484 /* confdefs.h.  */
60485 _ACEOF
60486 cat confdefs.h >>conftest.$ac_ext
60487 cat >>conftest.$ac_ext <<_ACEOF
60488 /* end confdefs.h.  */
60489 #include <math.h>
60490                       #ifdef HAVE_IEEEFP_H
60491                       #include <ieeefp.h>
60492                       #endif
60493
60494 int
60495 main ()
60496 {
60497  logf(0);
60498   ;
60499   return 0;
60500 }
60501 _ACEOF
60502 rm -f conftest.$ac_objext
60503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60504   (eval $ac_compile) 2>conftest.er1
60505   ac_status=$?
60506   grep -v '^ *+' conftest.er1 >conftest.err
60507   rm -f conftest.er1
60508   cat conftest.err >&5
60509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60510   (exit $ac_status); } &&
60511          { ac_try='test -z "$ac_cxx_werror_flag"
60512                          || test ! -s conftest.err'
60513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60514   (eval $ac_try) 2>&5
60515   ac_status=$?
60516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60517   (exit $ac_status); }; } &&
60518          { ac_try='test -s conftest.$ac_objext'
60519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60520   (eval $ac_try) 2>&5
60521   ac_status=$?
60522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60523   (exit $ac_status); }; }; then
60524   glibcxx_cv_func_logf_use=yes
60525 else
60526   echo "$as_me: failed program was:" >&5
60527 sed 's/^/| /' conftest.$ac_ext >&5
60528
60529 glibcxx_cv_func_logf_use=no
60530 fi
60531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60532       ac_ext=c
60533 ac_cpp='$CPP $CPPFLAGS'
60534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60537
60538
60539 fi
60540
60541   fi
60542   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
60543 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
60544
60545   if test x$glibcxx_cv_func_logf_use = x"yes"; then
60546
60547 for ac_func in logf
60548 do
60549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60550 echo "$as_me:$LINENO: checking for $ac_func" >&5
60551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60552 if eval "test \"\${$as_ac_var+set}\" = set"; then
60553   echo $ECHO_N "(cached) $ECHO_C" >&6
60554 else
60555   if test x$gcc_no_link = xyes; then
60556   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60558    { (exit 1); exit 1; }; }
60559 fi
60560 cat >conftest.$ac_ext <<_ACEOF
60561 /* confdefs.h.  */
60562 _ACEOF
60563 cat confdefs.h >>conftest.$ac_ext
60564 cat >>conftest.$ac_ext <<_ACEOF
60565 /* end confdefs.h.  */
60566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60567    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60568 #define $ac_func innocuous_$ac_func
60569
60570 /* System header to define __stub macros and hopefully few prototypes,
60571     which can conflict with char $ac_func (); below.
60572     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60573     <limits.h> exists even on freestanding compilers.  */
60574
60575 #ifdef __STDC__
60576 # include <limits.h>
60577 #else
60578 # include <assert.h>
60579 #endif
60580
60581 #undef $ac_func
60582
60583 /* Override any gcc2 internal prototype to avoid an error.  */
60584 #ifdef __cplusplus
60585 extern "C"
60586 {
60587 #endif
60588 /* We use char because int might match the return type of a gcc2
60589    builtin and then its argument prototype would still apply.  */
60590 char $ac_func ();
60591 /* The GNU C library defines this for functions which it implements
60592     to always fail with ENOSYS.  Some functions are actually named
60593     something starting with __ and the normal name is an alias.  */
60594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60595 choke me
60596 #else
60597 char (*f) () = $ac_func;
60598 #endif
60599 #ifdef __cplusplus
60600 }
60601 #endif
60602
60603 int
60604 main ()
60605 {
60606 return f != $ac_func;
60607   ;
60608   return 0;
60609 }
60610 _ACEOF
60611 rm -f conftest.$ac_objext conftest$ac_exeext
60612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60613   (eval $ac_link) 2>conftest.er1
60614   ac_status=$?
60615   grep -v '^ *+' conftest.er1 >conftest.err
60616   rm -f conftest.er1
60617   cat conftest.err >&5
60618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60619   (exit $ac_status); } &&
60620          { ac_try='test -z "$ac_c_werror_flag"
60621                          || test ! -s conftest.err'
60622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60623   (eval $ac_try) 2>&5
60624   ac_status=$?
60625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60626   (exit $ac_status); }; } &&
60627          { ac_try='test -s conftest$ac_exeext'
60628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60629   (eval $ac_try) 2>&5
60630   ac_status=$?
60631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60632   (exit $ac_status); }; }; then
60633   eval "$as_ac_var=yes"
60634 else
60635   echo "$as_me: failed program was:" >&5
60636 sed 's/^/| /' conftest.$ac_ext >&5
60637
60638 eval "$as_ac_var=no"
60639 fi
60640 rm -f conftest.err conftest.$ac_objext \
60641       conftest$ac_exeext conftest.$ac_ext
60642 fi
60643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60645 if test `eval echo '${'$as_ac_var'}'` = yes; then
60646   cat >>confdefs.h <<_ACEOF
60647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60648 _ACEOF
60649
60650 fi
60651 done
60652
60653   else
60654
60655   echo "$as_me:$LINENO: checking for _logf declaration" >&5
60656 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
60657   if test x${glibcxx_cv_func__logf_use+set} != xset; then
60658     if test "${glibcxx_cv_func__logf_use+set}" = set; then
60659   echo $ECHO_N "(cached) $ECHO_C" >&6
60660 else
60661
60662
60663
60664       ac_ext=cc
60665 ac_cpp='$CXXCPP $CPPFLAGS'
60666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60669
60670       cat >conftest.$ac_ext <<_ACEOF
60671 /* confdefs.h.  */
60672 _ACEOF
60673 cat confdefs.h >>conftest.$ac_ext
60674 cat >>conftest.$ac_ext <<_ACEOF
60675 /* end confdefs.h.  */
60676 #include <math.h>
60677                       #ifdef HAVE_IEEEFP_H
60678                       #include <ieeefp.h>
60679                       #endif
60680
60681 int
60682 main ()
60683 {
60684  _logf(0);
60685   ;
60686   return 0;
60687 }
60688 _ACEOF
60689 rm -f conftest.$ac_objext
60690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60691   (eval $ac_compile) 2>conftest.er1
60692   ac_status=$?
60693   grep -v '^ *+' conftest.er1 >conftest.err
60694   rm -f conftest.er1
60695   cat conftest.err >&5
60696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60697   (exit $ac_status); } &&
60698          { ac_try='test -z "$ac_cxx_werror_flag"
60699                          || test ! -s conftest.err'
60700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60701   (eval $ac_try) 2>&5
60702   ac_status=$?
60703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60704   (exit $ac_status); }; } &&
60705          { ac_try='test -s conftest.$ac_objext'
60706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60707   (eval $ac_try) 2>&5
60708   ac_status=$?
60709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60710   (exit $ac_status); }; }; then
60711   glibcxx_cv_func__logf_use=yes
60712 else
60713   echo "$as_me: failed program was:" >&5
60714 sed 's/^/| /' conftest.$ac_ext >&5
60715
60716 glibcxx_cv_func__logf_use=no
60717 fi
60718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60719       ac_ext=c
60720 ac_cpp='$CPP $CPPFLAGS'
60721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60724
60725
60726 fi
60727
60728   fi
60729   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
60730 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
60731
60732     if test x$glibcxx_cv_func__logf_use = x"yes"; then
60733
60734 for ac_func in _logf
60735 do
60736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60737 echo "$as_me:$LINENO: checking for $ac_func" >&5
60738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60739 if eval "test \"\${$as_ac_var+set}\" = set"; then
60740   echo $ECHO_N "(cached) $ECHO_C" >&6
60741 else
60742   if test x$gcc_no_link = xyes; then
60743   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60745    { (exit 1); exit 1; }; }
60746 fi
60747 cat >conftest.$ac_ext <<_ACEOF
60748 /* confdefs.h.  */
60749 _ACEOF
60750 cat confdefs.h >>conftest.$ac_ext
60751 cat >>conftest.$ac_ext <<_ACEOF
60752 /* end confdefs.h.  */
60753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60754    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60755 #define $ac_func innocuous_$ac_func
60756
60757 /* System header to define __stub macros and hopefully few prototypes,
60758     which can conflict with char $ac_func (); below.
60759     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60760     <limits.h> exists even on freestanding compilers.  */
60761
60762 #ifdef __STDC__
60763 # include <limits.h>
60764 #else
60765 # include <assert.h>
60766 #endif
60767
60768 #undef $ac_func
60769
60770 /* Override any gcc2 internal prototype to avoid an error.  */
60771 #ifdef __cplusplus
60772 extern "C"
60773 {
60774 #endif
60775 /* We use char because int might match the return type of a gcc2
60776    builtin and then its argument prototype would still apply.  */
60777 char $ac_func ();
60778 /* The GNU C library defines this for functions which it implements
60779     to always fail with ENOSYS.  Some functions are actually named
60780     something starting with __ and the normal name is an alias.  */
60781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60782 choke me
60783 #else
60784 char (*f) () = $ac_func;
60785 #endif
60786 #ifdef __cplusplus
60787 }
60788 #endif
60789
60790 int
60791 main ()
60792 {
60793 return f != $ac_func;
60794   ;
60795   return 0;
60796 }
60797 _ACEOF
60798 rm -f conftest.$ac_objext conftest$ac_exeext
60799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60800   (eval $ac_link) 2>conftest.er1
60801   ac_status=$?
60802   grep -v '^ *+' conftest.er1 >conftest.err
60803   rm -f conftest.er1
60804   cat conftest.err >&5
60805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60806   (exit $ac_status); } &&
60807          { ac_try='test -z "$ac_c_werror_flag"
60808                          || test ! -s conftest.err'
60809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60810   (eval $ac_try) 2>&5
60811   ac_status=$?
60812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60813   (exit $ac_status); }; } &&
60814          { ac_try='test -s conftest$ac_exeext'
60815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60816   (eval $ac_try) 2>&5
60817   ac_status=$?
60818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60819   (exit $ac_status); }; }; then
60820   eval "$as_ac_var=yes"
60821 else
60822   echo "$as_me: failed program was:" >&5
60823 sed 's/^/| /' conftest.$ac_ext >&5
60824
60825 eval "$as_ac_var=no"
60826 fi
60827 rm -f conftest.err conftest.$ac_objext \
60828       conftest$ac_exeext conftest.$ac_ext
60829 fi
60830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60832 if test `eval echo '${'$as_ac_var'}'` = yes; then
60833   cat >>confdefs.h <<_ACEOF
60834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60835 _ACEOF
60836
60837 fi
60838 done
60839
60840     fi
60841   fi
60842
60843
60844
60845   echo "$as_me:$LINENO: checking for log10f declaration" >&5
60846 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
60847   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60848     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
60849   echo $ECHO_N "(cached) $ECHO_C" >&6
60850 else
60851
60852
60853
60854       ac_ext=cc
60855 ac_cpp='$CXXCPP $CPPFLAGS'
60856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60859
60860       cat >conftest.$ac_ext <<_ACEOF
60861 /* confdefs.h.  */
60862 _ACEOF
60863 cat confdefs.h >>conftest.$ac_ext
60864 cat >>conftest.$ac_ext <<_ACEOF
60865 /* end confdefs.h.  */
60866 #include <math.h>
60867                       #ifdef HAVE_IEEEFP_H
60868                       #include <ieeefp.h>
60869                       #endif
60870
60871 int
60872 main ()
60873 {
60874  log10f(0);
60875   ;
60876   return 0;
60877 }
60878 _ACEOF
60879 rm -f conftest.$ac_objext
60880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60881   (eval $ac_compile) 2>conftest.er1
60882   ac_status=$?
60883   grep -v '^ *+' conftest.er1 >conftest.err
60884   rm -f conftest.er1
60885   cat conftest.err >&5
60886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60887   (exit $ac_status); } &&
60888          { ac_try='test -z "$ac_cxx_werror_flag"
60889                          || test ! -s conftest.err'
60890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60891   (eval $ac_try) 2>&5
60892   ac_status=$?
60893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60894   (exit $ac_status); }; } &&
60895          { ac_try='test -s conftest.$ac_objext'
60896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60897   (eval $ac_try) 2>&5
60898   ac_status=$?
60899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60900   (exit $ac_status); }; }; then
60901   glibcxx_cv_func_log10f_use=yes
60902 else
60903   echo "$as_me: failed program was:" >&5
60904 sed 's/^/| /' conftest.$ac_ext >&5
60905
60906 glibcxx_cv_func_log10f_use=no
60907 fi
60908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60909       ac_ext=c
60910 ac_cpp='$CPP $CPPFLAGS'
60911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60914
60915
60916 fi
60917
60918   fi
60919   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
60920 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
60921
60922   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60923
60924 for ac_func in log10f
60925 do
60926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60927 echo "$as_me:$LINENO: checking for $ac_func" >&5
60928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60929 if eval "test \"\${$as_ac_var+set}\" = set"; then
60930   echo $ECHO_N "(cached) $ECHO_C" >&6
60931 else
60932   if test x$gcc_no_link = xyes; then
60933   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60935    { (exit 1); exit 1; }; }
60936 fi
60937 cat >conftest.$ac_ext <<_ACEOF
60938 /* confdefs.h.  */
60939 _ACEOF
60940 cat confdefs.h >>conftest.$ac_ext
60941 cat >>conftest.$ac_ext <<_ACEOF
60942 /* end confdefs.h.  */
60943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60944    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60945 #define $ac_func innocuous_$ac_func
60946
60947 /* System header to define __stub macros and hopefully few prototypes,
60948     which can conflict with char $ac_func (); below.
60949     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60950     <limits.h> exists even on freestanding compilers.  */
60951
60952 #ifdef __STDC__
60953 # include <limits.h>
60954 #else
60955 # include <assert.h>
60956 #endif
60957
60958 #undef $ac_func
60959
60960 /* Override any gcc2 internal prototype to avoid an error.  */
60961 #ifdef __cplusplus
60962 extern "C"
60963 {
60964 #endif
60965 /* We use char because int might match the return type of a gcc2
60966    builtin and then its argument prototype would still apply.  */
60967 char $ac_func ();
60968 /* The GNU C library defines this for functions which it implements
60969     to always fail with ENOSYS.  Some functions are actually named
60970     something starting with __ and the normal name is an alias.  */
60971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60972 choke me
60973 #else
60974 char (*f) () = $ac_func;
60975 #endif
60976 #ifdef __cplusplus
60977 }
60978 #endif
60979
60980 int
60981 main ()
60982 {
60983 return f != $ac_func;
60984   ;
60985   return 0;
60986 }
60987 _ACEOF
60988 rm -f conftest.$ac_objext conftest$ac_exeext
60989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60990   (eval $ac_link) 2>conftest.er1
60991   ac_status=$?
60992   grep -v '^ *+' conftest.er1 >conftest.err
60993   rm -f conftest.er1
60994   cat conftest.err >&5
60995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60996   (exit $ac_status); } &&
60997          { ac_try='test -z "$ac_c_werror_flag"
60998                          || test ! -s conftest.err'
60999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61000   (eval $ac_try) 2>&5
61001   ac_status=$?
61002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61003   (exit $ac_status); }; } &&
61004          { ac_try='test -s conftest$ac_exeext'
61005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61006   (eval $ac_try) 2>&5
61007   ac_status=$?
61008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61009   (exit $ac_status); }; }; then
61010   eval "$as_ac_var=yes"
61011 else
61012   echo "$as_me: failed program was:" >&5
61013 sed 's/^/| /' conftest.$ac_ext >&5
61014
61015 eval "$as_ac_var=no"
61016 fi
61017 rm -f conftest.err conftest.$ac_objext \
61018       conftest$ac_exeext conftest.$ac_ext
61019 fi
61020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61022 if test `eval echo '${'$as_ac_var'}'` = yes; then
61023   cat >>confdefs.h <<_ACEOF
61024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61025 _ACEOF
61026
61027 fi
61028 done
61029
61030   else
61031
61032   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
61033 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
61034   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61035     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
61036   echo $ECHO_N "(cached) $ECHO_C" >&6
61037 else
61038
61039
61040
61041       ac_ext=cc
61042 ac_cpp='$CXXCPP $CPPFLAGS'
61043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61046
61047       cat >conftest.$ac_ext <<_ACEOF
61048 /* confdefs.h.  */
61049 _ACEOF
61050 cat confdefs.h >>conftest.$ac_ext
61051 cat >>conftest.$ac_ext <<_ACEOF
61052 /* end confdefs.h.  */
61053 #include <math.h>
61054                       #ifdef HAVE_IEEEFP_H
61055                       #include <ieeefp.h>
61056                       #endif
61057
61058 int
61059 main ()
61060 {
61061  _log10f(0);
61062   ;
61063   return 0;
61064 }
61065 _ACEOF
61066 rm -f conftest.$ac_objext
61067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61068   (eval $ac_compile) 2>conftest.er1
61069   ac_status=$?
61070   grep -v '^ *+' conftest.er1 >conftest.err
61071   rm -f conftest.er1
61072   cat conftest.err >&5
61073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61074   (exit $ac_status); } &&
61075          { ac_try='test -z "$ac_cxx_werror_flag"
61076                          || test ! -s conftest.err'
61077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61078   (eval $ac_try) 2>&5
61079   ac_status=$?
61080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61081   (exit $ac_status); }; } &&
61082          { ac_try='test -s conftest.$ac_objext'
61083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61084   (eval $ac_try) 2>&5
61085   ac_status=$?
61086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61087   (exit $ac_status); }; }; then
61088   glibcxx_cv_func__log10f_use=yes
61089 else
61090   echo "$as_me: failed program was:" >&5
61091 sed 's/^/| /' conftest.$ac_ext >&5
61092
61093 glibcxx_cv_func__log10f_use=no
61094 fi
61095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61096       ac_ext=c
61097 ac_cpp='$CPP $CPPFLAGS'
61098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61101
61102
61103 fi
61104
61105   fi
61106   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
61107 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
61108
61109     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61110
61111 for ac_func in _log10f
61112 do
61113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61114 echo "$as_me:$LINENO: checking for $ac_func" >&5
61115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61116 if eval "test \"\${$as_ac_var+set}\" = set"; then
61117   echo $ECHO_N "(cached) $ECHO_C" >&6
61118 else
61119   if test x$gcc_no_link = xyes; then
61120   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61122    { (exit 1); exit 1; }; }
61123 fi
61124 cat >conftest.$ac_ext <<_ACEOF
61125 /* confdefs.h.  */
61126 _ACEOF
61127 cat confdefs.h >>conftest.$ac_ext
61128 cat >>conftest.$ac_ext <<_ACEOF
61129 /* end confdefs.h.  */
61130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61131    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61132 #define $ac_func innocuous_$ac_func
61133
61134 /* System header to define __stub macros and hopefully few prototypes,
61135     which can conflict with char $ac_func (); below.
61136     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61137     <limits.h> exists even on freestanding compilers.  */
61138
61139 #ifdef __STDC__
61140 # include <limits.h>
61141 #else
61142 # include <assert.h>
61143 #endif
61144
61145 #undef $ac_func
61146
61147 /* Override any gcc2 internal prototype to avoid an error.  */
61148 #ifdef __cplusplus
61149 extern "C"
61150 {
61151 #endif
61152 /* We use char because int might match the return type of a gcc2
61153    builtin and then its argument prototype would still apply.  */
61154 char $ac_func ();
61155 /* The GNU C library defines this for functions which it implements
61156     to always fail with ENOSYS.  Some functions are actually named
61157     something starting with __ and the normal name is an alias.  */
61158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61159 choke me
61160 #else
61161 char (*f) () = $ac_func;
61162 #endif
61163 #ifdef __cplusplus
61164 }
61165 #endif
61166
61167 int
61168 main ()
61169 {
61170 return f != $ac_func;
61171   ;
61172   return 0;
61173 }
61174 _ACEOF
61175 rm -f conftest.$ac_objext conftest$ac_exeext
61176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61177   (eval $ac_link) 2>conftest.er1
61178   ac_status=$?
61179   grep -v '^ *+' conftest.er1 >conftest.err
61180   rm -f conftest.er1
61181   cat conftest.err >&5
61182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61183   (exit $ac_status); } &&
61184          { ac_try='test -z "$ac_c_werror_flag"
61185                          || test ! -s conftest.err'
61186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61187   (eval $ac_try) 2>&5
61188   ac_status=$?
61189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61190   (exit $ac_status); }; } &&
61191          { ac_try='test -s conftest$ac_exeext'
61192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61193   (eval $ac_try) 2>&5
61194   ac_status=$?
61195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61196   (exit $ac_status); }; }; then
61197   eval "$as_ac_var=yes"
61198 else
61199   echo "$as_me: failed program was:" >&5
61200 sed 's/^/| /' conftest.$ac_ext >&5
61201
61202 eval "$as_ac_var=no"
61203 fi
61204 rm -f conftest.err conftest.$ac_objext \
61205       conftest$ac_exeext conftest.$ac_ext
61206 fi
61207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61209 if test `eval echo '${'$as_ac_var'}'` = yes; then
61210   cat >>confdefs.h <<_ACEOF
61211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61212 _ACEOF
61213
61214 fi
61215 done
61216
61217     fi
61218   fi
61219
61220
61221
61222   echo "$as_me:$LINENO: checking for modff declaration" >&5
61223 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
61224   if test x${glibcxx_cv_func_modff_use+set} != xset; then
61225     if test "${glibcxx_cv_func_modff_use+set}" = set; then
61226   echo $ECHO_N "(cached) $ECHO_C" >&6
61227 else
61228
61229
61230
61231       ac_ext=cc
61232 ac_cpp='$CXXCPP $CPPFLAGS'
61233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61236
61237       cat >conftest.$ac_ext <<_ACEOF
61238 /* confdefs.h.  */
61239 _ACEOF
61240 cat confdefs.h >>conftest.$ac_ext
61241 cat >>conftest.$ac_ext <<_ACEOF
61242 /* end confdefs.h.  */
61243 #include <math.h>
61244 int
61245 main ()
61246 {
61247  modff(0, 0);
61248   ;
61249   return 0;
61250 }
61251 _ACEOF
61252 rm -f conftest.$ac_objext
61253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61254   (eval $ac_compile) 2>conftest.er1
61255   ac_status=$?
61256   grep -v '^ *+' conftest.er1 >conftest.err
61257   rm -f conftest.er1
61258   cat conftest.err >&5
61259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61260   (exit $ac_status); } &&
61261          { ac_try='test -z "$ac_cxx_werror_flag"
61262                          || test ! -s conftest.err'
61263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61264   (eval $ac_try) 2>&5
61265   ac_status=$?
61266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61267   (exit $ac_status); }; } &&
61268          { ac_try='test -s conftest.$ac_objext'
61269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61270   (eval $ac_try) 2>&5
61271   ac_status=$?
61272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61273   (exit $ac_status); }; }; then
61274   glibcxx_cv_func_modff_use=yes
61275 else
61276   echo "$as_me: failed program was:" >&5
61277 sed 's/^/| /' conftest.$ac_ext >&5
61278
61279 glibcxx_cv_func_modff_use=no
61280 fi
61281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61282       ac_ext=c
61283 ac_cpp='$CPP $CPPFLAGS'
61284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61287
61288
61289 fi
61290
61291   fi
61292   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
61293 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
61294
61295   if test x$glibcxx_cv_func_modff_use = x"yes"; then
61296
61297 for ac_func in modff
61298 do
61299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61300 echo "$as_me:$LINENO: checking for $ac_func" >&5
61301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61302 if eval "test \"\${$as_ac_var+set}\" = set"; then
61303   echo $ECHO_N "(cached) $ECHO_C" >&6
61304 else
61305   if test x$gcc_no_link = xyes; then
61306   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61308    { (exit 1); exit 1; }; }
61309 fi
61310 cat >conftest.$ac_ext <<_ACEOF
61311 /* confdefs.h.  */
61312 _ACEOF
61313 cat confdefs.h >>conftest.$ac_ext
61314 cat >>conftest.$ac_ext <<_ACEOF
61315 /* end confdefs.h.  */
61316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61317    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61318 #define $ac_func innocuous_$ac_func
61319
61320 /* System header to define __stub macros and hopefully few prototypes,
61321     which can conflict with char $ac_func (); below.
61322     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61323     <limits.h> exists even on freestanding compilers.  */
61324
61325 #ifdef __STDC__
61326 # include <limits.h>
61327 #else
61328 # include <assert.h>
61329 #endif
61330
61331 #undef $ac_func
61332
61333 /* Override any gcc2 internal prototype to avoid an error.  */
61334 #ifdef __cplusplus
61335 extern "C"
61336 {
61337 #endif
61338 /* We use char because int might match the return type of a gcc2
61339    builtin and then its argument prototype would still apply.  */
61340 char $ac_func ();
61341 /* The GNU C library defines this for functions which it implements
61342     to always fail with ENOSYS.  Some functions are actually named
61343     something starting with __ and the normal name is an alias.  */
61344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61345 choke me
61346 #else
61347 char (*f) () = $ac_func;
61348 #endif
61349 #ifdef __cplusplus
61350 }
61351 #endif
61352
61353 int
61354 main ()
61355 {
61356 return f != $ac_func;
61357   ;
61358   return 0;
61359 }
61360 _ACEOF
61361 rm -f conftest.$ac_objext conftest$ac_exeext
61362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61363   (eval $ac_link) 2>conftest.er1
61364   ac_status=$?
61365   grep -v '^ *+' conftest.er1 >conftest.err
61366   rm -f conftest.er1
61367   cat conftest.err >&5
61368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61369   (exit $ac_status); } &&
61370          { ac_try='test -z "$ac_c_werror_flag"
61371                          || test ! -s conftest.err'
61372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61373   (eval $ac_try) 2>&5
61374   ac_status=$?
61375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61376   (exit $ac_status); }; } &&
61377          { ac_try='test -s conftest$ac_exeext'
61378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61379   (eval $ac_try) 2>&5
61380   ac_status=$?
61381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61382   (exit $ac_status); }; }; then
61383   eval "$as_ac_var=yes"
61384 else
61385   echo "$as_me: failed program was:" >&5
61386 sed 's/^/| /' conftest.$ac_ext >&5
61387
61388 eval "$as_ac_var=no"
61389 fi
61390 rm -f conftest.err conftest.$ac_objext \
61391       conftest$ac_exeext conftest.$ac_ext
61392 fi
61393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61395 if test `eval echo '${'$as_ac_var'}'` = yes; then
61396   cat >>confdefs.h <<_ACEOF
61397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61398 _ACEOF
61399
61400 fi
61401 done
61402
61403   else
61404
61405   echo "$as_me:$LINENO: checking for _modff declaration" >&5
61406 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
61407   if test x${glibcxx_cv_func__modff_use+set} != xset; then
61408     if test "${glibcxx_cv_func__modff_use+set}" = set; then
61409   echo $ECHO_N "(cached) $ECHO_C" >&6
61410 else
61411
61412
61413
61414       ac_ext=cc
61415 ac_cpp='$CXXCPP $CPPFLAGS'
61416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61419
61420       cat >conftest.$ac_ext <<_ACEOF
61421 /* confdefs.h.  */
61422 _ACEOF
61423 cat confdefs.h >>conftest.$ac_ext
61424 cat >>conftest.$ac_ext <<_ACEOF
61425 /* end confdefs.h.  */
61426 #include <math.h>
61427 int
61428 main ()
61429 {
61430  _modff(0, 0);
61431   ;
61432   return 0;
61433 }
61434 _ACEOF
61435 rm -f conftest.$ac_objext
61436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61437   (eval $ac_compile) 2>conftest.er1
61438   ac_status=$?
61439   grep -v '^ *+' conftest.er1 >conftest.err
61440   rm -f conftest.er1
61441   cat conftest.err >&5
61442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61443   (exit $ac_status); } &&
61444          { ac_try='test -z "$ac_cxx_werror_flag"
61445                          || test ! -s conftest.err'
61446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61447   (eval $ac_try) 2>&5
61448   ac_status=$?
61449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61450   (exit $ac_status); }; } &&
61451          { ac_try='test -s conftest.$ac_objext'
61452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61453   (eval $ac_try) 2>&5
61454   ac_status=$?
61455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61456   (exit $ac_status); }; }; then
61457   glibcxx_cv_func__modff_use=yes
61458 else
61459   echo "$as_me: failed program was:" >&5
61460 sed 's/^/| /' conftest.$ac_ext >&5
61461
61462 glibcxx_cv_func__modff_use=no
61463 fi
61464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61465       ac_ext=c
61466 ac_cpp='$CPP $CPPFLAGS'
61467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61470
61471
61472 fi
61473
61474   fi
61475   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
61476 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
61477
61478     if test x$glibcxx_cv_func__modff_use = x"yes"; then
61479
61480 for ac_func in _modff
61481 do
61482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61483 echo "$as_me:$LINENO: checking for $ac_func" >&5
61484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61485 if eval "test \"\${$as_ac_var+set}\" = set"; then
61486   echo $ECHO_N "(cached) $ECHO_C" >&6
61487 else
61488   if test x$gcc_no_link = xyes; then
61489   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61491    { (exit 1); exit 1; }; }
61492 fi
61493 cat >conftest.$ac_ext <<_ACEOF
61494 /* confdefs.h.  */
61495 _ACEOF
61496 cat confdefs.h >>conftest.$ac_ext
61497 cat >>conftest.$ac_ext <<_ACEOF
61498 /* end confdefs.h.  */
61499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61500    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61501 #define $ac_func innocuous_$ac_func
61502
61503 /* System header to define __stub macros and hopefully few prototypes,
61504     which can conflict with char $ac_func (); below.
61505     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61506     <limits.h> exists even on freestanding compilers.  */
61507
61508 #ifdef __STDC__
61509 # include <limits.h>
61510 #else
61511 # include <assert.h>
61512 #endif
61513
61514 #undef $ac_func
61515
61516 /* Override any gcc2 internal prototype to avoid an error.  */
61517 #ifdef __cplusplus
61518 extern "C"
61519 {
61520 #endif
61521 /* We use char because int might match the return type of a gcc2
61522    builtin and then its argument prototype would still apply.  */
61523 char $ac_func ();
61524 /* The GNU C library defines this for functions which it implements
61525     to always fail with ENOSYS.  Some functions are actually named
61526     something starting with __ and the normal name is an alias.  */
61527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61528 choke me
61529 #else
61530 char (*f) () = $ac_func;
61531 #endif
61532 #ifdef __cplusplus
61533 }
61534 #endif
61535
61536 int
61537 main ()
61538 {
61539 return f != $ac_func;
61540   ;
61541   return 0;
61542 }
61543 _ACEOF
61544 rm -f conftest.$ac_objext conftest$ac_exeext
61545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61546   (eval $ac_link) 2>conftest.er1
61547   ac_status=$?
61548   grep -v '^ *+' conftest.er1 >conftest.err
61549   rm -f conftest.er1
61550   cat conftest.err >&5
61551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61552   (exit $ac_status); } &&
61553          { ac_try='test -z "$ac_c_werror_flag"
61554                          || test ! -s conftest.err'
61555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61556   (eval $ac_try) 2>&5
61557   ac_status=$?
61558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61559   (exit $ac_status); }; } &&
61560          { ac_try='test -s conftest$ac_exeext'
61561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61562   (eval $ac_try) 2>&5
61563   ac_status=$?
61564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61565   (exit $ac_status); }; }; then
61566   eval "$as_ac_var=yes"
61567 else
61568   echo "$as_me: failed program was:" >&5
61569 sed 's/^/| /' conftest.$ac_ext >&5
61570
61571 eval "$as_ac_var=no"
61572 fi
61573 rm -f conftest.err conftest.$ac_objext \
61574       conftest$ac_exeext conftest.$ac_ext
61575 fi
61576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61578 if test `eval echo '${'$as_ac_var'}'` = yes; then
61579   cat >>confdefs.h <<_ACEOF
61580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61581 _ACEOF
61582
61583 fi
61584 done
61585
61586     fi
61587   fi
61588
61589
61590
61591   echo "$as_me:$LINENO: checking for powf declaration" >&5
61592 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
61593   if test x${glibcxx_cv_func_powf_use+set} != xset; then
61594     if test "${glibcxx_cv_func_powf_use+set}" = set; then
61595   echo $ECHO_N "(cached) $ECHO_C" >&6
61596 else
61597
61598
61599
61600       ac_ext=cc
61601 ac_cpp='$CXXCPP $CPPFLAGS'
61602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61605
61606       cat >conftest.$ac_ext <<_ACEOF
61607 /* confdefs.h.  */
61608 _ACEOF
61609 cat confdefs.h >>conftest.$ac_ext
61610 cat >>conftest.$ac_ext <<_ACEOF
61611 /* end confdefs.h.  */
61612 #include <math.h>
61613 int
61614 main ()
61615 {
61616  powf(0, 0);
61617   ;
61618   return 0;
61619 }
61620 _ACEOF
61621 rm -f conftest.$ac_objext
61622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61623   (eval $ac_compile) 2>conftest.er1
61624   ac_status=$?
61625   grep -v '^ *+' conftest.er1 >conftest.err
61626   rm -f conftest.er1
61627   cat conftest.err >&5
61628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61629   (exit $ac_status); } &&
61630          { ac_try='test -z "$ac_cxx_werror_flag"
61631                          || test ! -s conftest.err'
61632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61633   (eval $ac_try) 2>&5
61634   ac_status=$?
61635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61636   (exit $ac_status); }; } &&
61637          { ac_try='test -s conftest.$ac_objext'
61638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61639   (eval $ac_try) 2>&5
61640   ac_status=$?
61641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61642   (exit $ac_status); }; }; then
61643   glibcxx_cv_func_powf_use=yes
61644 else
61645   echo "$as_me: failed program was:" >&5
61646 sed 's/^/| /' conftest.$ac_ext >&5
61647
61648 glibcxx_cv_func_powf_use=no
61649 fi
61650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61651       ac_ext=c
61652 ac_cpp='$CPP $CPPFLAGS'
61653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61656
61657
61658 fi
61659
61660   fi
61661   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
61662 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
61663
61664   if test x$glibcxx_cv_func_powf_use = x"yes"; then
61665
61666 for ac_func in powf
61667 do
61668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61669 echo "$as_me:$LINENO: checking for $ac_func" >&5
61670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61671 if eval "test \"\${$as_ac_var+set}\" = set"; then
61672   echo $ECHO_N "(cached) $ECHO_C" >&6
61673 else
61674   if test x$gcc_no_link = xyes; then
61675   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61677    { (exit 1); exit 1; }; }
61678 fi
61679 cat >conftest.$ac_ext <<_ACEOF
61680 /* confdefs.h.  */
61681 _ACEOF
61682 cat confdefs.h >>conftest.$ac_ext
61683 cat >>conftest.$ac_ext <<_ACEOF
61684 /* end confdefs.h.  */
61685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61686    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61687 #define $ac_func innocuous_$ac_func
61688
61689 /* System header to define __stub macros and hopefully few prototypes,
61690     which can conflict with char $ac_func (); below.
61691     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61692     <limits.h> exists even on freestanding compilers.  */
61693
61694 #ifdef __STDC__
61695 # include <limits.h>
61696 #else
61697 # include <assert.h>
61698 #endif
61699
61700 #undef $ac_func
61701
61702 /* Override any gcc2 internal prototype to avoid an error.  */
61703 #ifdef __cplusplus
61704 extern "C"
61705 {
61706 #endif
61707 /* We use char because int might match the return type of a gcc2
61708    builtin and then its argument prototype would still apply.  */
61709 char $ac_func ();
61710 /* The GNU C library defines this for functions which it implements
61711     to always fail with ENOSYS.  Some functions are actually named
61712     something starting with __ and the normal name is an alias.  */
61713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61714 choke me
61715 #else
61716 char (*f) () = $ac_func;
61717 #endif
61718 #ifdef __cplusplus
61719 }
61720 #endif
61721
61722 int
61723 main ()
61724 {
61725 return f != $ac_func;
61726   ;
61727   return 0;
61728 }
61729 _ACEOF
61730 rm -f conftest.$ac_objext conftest$ac_exeext
61731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61732   (eval $ac_link) 2>conftest.er1
61733   ac_status=$?
61734   grep -v '^ *+' conftest.er1 >conftest.err
61735   rm -f conftest.er1
61736   cat conftest.err >&5
61737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61738   (exit $ac_status); } &&
61739          { ac_try='test -z "$ac_c_werror_flag"
61740                          || test ! -s conftest.err'
61741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61742   (eval $ac_try) 2>&5
61743   ac_status=$?
61744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61745   (exit $ac_status); }; } &&
61746          { ac_try='test -s conftest$ac_exeext'
61747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61748   (eval $ac_try) 2>&5
61749   ac_status=$?
61750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61751   (exit $ac_status); }; }; then
61752   eval "$as_ac_var=yes"
61753 else
61754   echo "$as_me: failed program was:" >&5
61755 sed 's/^/| /' conftest.$ac_ext >&5
61756
61757 eval "$as_ac_var=no"
61758 fi
61759 rm -f conftest.err conftest.$ac_objext \
61760       conftest$ac_exeext conftest.$ac_ext
61761 fi
61762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61764 if test `eval echo '${'$as_ac_var'}'` = yes; then
61765   cat >>confdefs.h <<_ACEOF
61766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61767 _ACEOF
61768
61769 fi
61770 done
61771
61772   else
61773
61774   echo "$as_me:$LINENO: checking for _powf declaration" >&5
61775 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
61776   if test x${glibcxx_cv_func__powf_use+set} != xset; then
61777     if test "${glibcxx_cv_func__powf_use+set}" = set; then
61778   echo $ECHO_N "(cached) $ECHO_C" >&6
61779 else
61780
61781
61782
61783       ac_ext=cc
61784 ac_cpp='$CXXCPP $CPPFLAGS'
61785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61788
61789       cat >conftest.$ac_ext <<_ACEOF
61790 /* confdefs.h.  */
61791 _ACEOF
61792 cat confdefs.h >>conftest.$ac_ext
61793 cat >>conftest.$ac_ext <<_ACEOF
61794 /* end confdefs.h.  */
61795 #include <math.h>
61796 int
61797 main ()
61798 {
61799  _powf(0, 0);
61800   ;
61801   return 0;
61802 }
61803 _ACEOF
61804 rm -f conftest.$ac_objext
61805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61806   (eval $ac_compile) 2>conftest.er1
61807   ac_status=$?
61808   grep -v '^ *+' conftest.er1 >conftest.err
61809   rm -f conftest.er1
61810   cat conftest.err >&5
61811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61812   (exit $ac_status); } &&
61813          { ac_try='test -z "$ac_cxx_werror_flag"
61814                          || test ! -s conftest.err'
61815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61816   (eval $ac_try) 2>&5
61817   ac_status=$?
61818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61819   (exit $ac_status); }; } &&
61820          { ac_try='test -s conftest.$ac_objext'
61821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61822   (eval $ac_try) 2>&5
61823   ac_status=$?
61824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61825   (exit $ac_status); }; }; then
61826   glibcxx_cv_func__powf_use=yes
61827 else
61828   echo "$as_me: failed program was:" >&5
61829 sed 's/^/| /' conftest.$ac_ext >&5
61830
61831 glibcxx_cv_func__powf_use=no
61832 fi
61833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61834       ac_ext=c
61835 ac_cpp='$CPP $CPPFLAGS'
61836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61839
61840
61841 fi
61842
61843   fi
61844   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
61845 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
61846
61847     if test x$glibcxx_cv_func__powf_use = x"yes"; then
61848
61849 for ac_func in _powf
61850 do
61851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61852 echo "$as_me:$LINENO: checking for $ac_func" >&5
61853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61854 if eval "test \"\${$as_ac_var+set}\" = set"; then
61855   echo $ECHO_N "(cached) $ECHO_C" >&6
61856 else
61857   if test x$gcc_no_link = xyes; then
61858   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61860    { (exit 1); exit 1; }; }
61861 fi
61862 cat >conftest.$ac_ext <<_ACEOF
61863 /* confdefs.h.  */
61864 _ACEOF
61865 cat confdefs.h >>conftest.$ac_ext
61866 cat >>conftest.$ac_ext <<_ACEOF
61867 /* end confdefs.h.  */
61868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61869    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61870 #define $ac_func innocuous_$ac_func
61871
61872 /* System header to define __stub macros and hopefully few prototypes,
61873     which can conflict with char $ac_func (); below.
61874     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61875     <limits.h> exists even on freestanding compilers.  */
61876
61877 #ifdef __STDC__
61878 # include <limits.h>
61879 #else
61880 # include <assert.h>
61881 #endif
61882
61883 #undef $ac_func
61884
61885 /* Override any gcc2 internal prototype to avoid an error.  */
61886 #ifdef __cplusplus
61887 extern "C"
61888 {
61889 #endif
61890 /* We use char because int might match the return type of a gcc2
61891    builtin and then its argument prototype would still apply.  */
61892 char $ac_func ();
61893 /* The GNU C library defines this for functions which it implements
61894     to always fail with ENOSYS.  Some functions are actually named
61895     something starting with __ and the normal name is an alias.  */
61896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61897 choke me
61898 #else
61899 char (*f) () = $ac_func;
61900 #endif
61901 #ifdef __cplusplus
61902 }
61903 #endif
61904
61905 int
61906 main ()
61907 {
61908 return f != $ac_func;
61909   ;
61910   return 0;
61911 }
61912 _ACEOF
61913 rm -f conftest.$ac_objext conftest$ac_exeext
61914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61915   (eval $ac_link) 2>conftest.er1
61916   ac_status=$?
61917   grep -v '^ *+' conftest.er1 >conftest.err
61918   rm -f conftest.er1
61919   cat conftest.err >&5
61920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61921   (exit $ac_status); } &&
61922          { ac_try='test -z "$ac_c_werror_flag"
61923                          || test ! -s conftest.err'
61924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61925   (eval $ac_try) 2>&5
61926   ac_status=$?
61927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61928   (exit $ac_status); }; } &&
61929          { ac_try='test -s conftest$ac_exeext'
61930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61931   (eval $ac_try) 2>&5
61932   ac_status=$?
61933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61934   (exit $ac_status); }; }; then
61935   eval "$as_ac_var=yes"
61936 else
61937   echo "$as_me: failed program was:" >&5
61938 sed 's/^/| /' conftest.$ac_ext >&5
61939
61940 eval "$as_ac_var=no"
61941 fi
61942 rm -f conftest.err conftest.$ac_objext \
61943       conftest$ac_exeext conftest.$ac_ext
61944 fi
61945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61947 if test `eval echo '${'$as_ac_var'}'` = yes; then
61948   cat >>confdefs.h <<_ACEOF
61949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61950 _ACEOF
61951
61952 fi
61953 done
61954
61955     fi
61956   fi
61957
61958
61959
61960   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
61961 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
61962   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61963     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
61964   echo $ECHO_N "(cached) $ECHO_C" >&6
61965 else
61966
61967
61968
61969       ac_ext=cc
61970 ac_cpp='$CXXCPP $CPPFLAGS'
61971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61974
61975       cat >conftest.$ac_ext <<_ACEOF
61976 /* confdefs.h.  */
61977 _ACEOF
61978 cat confdefs.h >>conftest.$ac_ext
61979 cat >>conftest.$ac_ext <<_ACEOF
61980 /* end confdefs.h.  */
61981 #include <math.h>
61982                       #ifdef HAVE_IEEEFP_H
61983                       #include <ieeefp.h>
61984                       #endif
61985
61986 int
61987 main ()
61988 {
61989  sqrtf(0);
61990   ;
61991   return 0;
61992 }
61993 _ACEOF
61994 rm -f conftest.$ac_objext
61995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61996   (eval $ac_compile) 2>conftest.er1
61997   ac_status=$?
61998   grep -v '^ *+' conftest.er1 >conftest.err
61999   rm -f conftest.er1
62000   cat conftest.err >&5
62001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62002   (exit $ac_status); } &&
62003          { ac_try='test -z "$ac_cxx_werror_flag"
62004                          || test ! -s conftest.err'
62005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62006   (eval $ac_try) 2>&5
62007   ac_status=$?
62008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62009   (exit $ac_status); }; } &&
62010          { ac_try='test -s conftest.$ac_objext'
62011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62012   (eval $ac_try) 2>&5
62013   ac_status=$?
62014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62015   (exit $ac_status); }; }; then
62016   glibcxx_cv_func_sqrtf_use=yes
62017 else
62018   echo "$as_me: failed program was:" >&5
62019 sed 's/^/| /' conftest.$ac_ext >&5
62020
62021 glibcxx_cv_func_sqrtf_use=no
62022 fi
62023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62024       ac_ext=c
62025 ac_cpp='$CPP $CPPFLAGS'
62026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62029
62030
62031 fi
62032
62033   fi
62034   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
62035 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
62036
62037   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62038
62039 for ac_func in sqrtf
62040 do
62041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62042 echo "$as_me:$LINENO: checking for $ac_func" >&5
62043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62044 if eval "test \"\${$as_ac_var+set}\" = set"; then
62045   echo $ECHO_N "(cached) $ECHO_C" >&6
62046 else
62047   if test x$gcc_no_link = xyes; then
62048   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62050    { (exit 1); exit 1; }; }
62051 fi
62052 cat >conftest.$ac_ext <<_ACEOF
62053 /* confdefs.h.  */
62054 _ACEOF
62055 cat confdefs.h >>conftest.$ac_ext
62056 cat >>conftest.$ac_ext <<_ACEOF
62057 /* end confdefs.h.  */
62058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62059    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62060 #define $ac_func innocuous_$ac_func
62061
62062 /* System header to define __stub macros and hopefully few prototypes,
62063     which can conflict with char $ac_func (); below.
62064     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62065     <limits.h> exists even on freestanding compilers.  */
62066
62067 #ifdef __STDC__
62068 # include <limits.h>
62069 #else
62070 # include <assert.h>
62071 #endif
62072
62073 #undef $ac_func
62074
62075 /* Override any gcc2 internal prototype to avoid an error.  */
62076 #ifdef __cplusplus
62077 extern "C"
62078 {
62079 #endif
62080 /* We use char because int might match the return type of a gcc2
62081    builtin and then its argument prototype would still apply.  */
62082 char $ac_func ();
62083 /* The GNU C library defines this for functions which it implements
62084     to always fail with ENOSYS.  Some functions are actually named
62085     something starting with __ and the normal name is an alias.  */
62086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62087 choke me
62088 #else
62089 char (*f) () = $ac_func;
62090 #endif
62091 #ifdef __cplusplus
62092 }
62093 #endif
62094
62095 int
62096 main ()
62097 {
62098 return f != $ac_func;
62099   ;
62100   return 0;
62101 }
62102 _ACEOF
62103 rm -f conftest.$ac_objext conftest$ac_exeext
62104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62105   (eval $ac_link) 2>conftest.er1
62106   ac_status=$?
62107   grep -v '^ *+' conftest.er1 >conftest.err
62108   rm -f conftest.er1
62109   cat conftest.err >&5
62110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62111   (exit $ac_status); } &&
62112          { ac_try='test -z "$ac_c_werror_flag"
62113                          || test ! -s conftest.err'
62114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62115   (eval $ac_try) 2>&5
62116   ac_status=$?
62117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62118   (exit $ac_status); }; } &&
62119          { ac_try='test -s conftest$ac_exeext'
62120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62121   (eval $ac_try) 2>&5
62122   ac_status=$?
62123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62124   (exit $ac_status); }; }; then
62125   eval "$as_ac_var=yes"
62126 else
62127   echo "$as_me: failed program was:" >&5
62128 sed 's/^/| /' conftest.$ac_ext >&5
62129
62130 eval "$as_ac_var=no"
62131 fi
62132 rm -f conftest.err conftest.$ac_objext \
62133       conftest$ac_exeext conftest.$ac_ext
62134 fi
62135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62137 if test `eval echo '${'$as_ac_var'}'` = yes; then
62138   cat >>confdefs.h <<_ACEOF
62139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62140 _ACEOF
62141
62142 fi
62143 done
62144
62145   else
62146
62147   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
62148 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
62149   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62150     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
62151   echo $ECHO_N "(cached) $ECHO_C" >&6
62152 else
62153
62154
62155
62156       ac_ext=cc
62157 ac_cpp='$CXXCPP $CPPFLAGS'
62158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62161
62162       cat >conftest.$ac_ext <<_ACEOF
62163 /* confdefs.h.  */
62164 _ACEOF
62165 cat confdefs.h >>conftest.$ac_ext
62166 cat >>conftest.$ac_ext <<_ACEOF
62167 /* end confdefs.h.  */
62168 #include <math.h>
62169                       #ifdef HAVE_IEEEFP_H
62170                       #include <ieeefp.h>
62171                       #endif
62172
62173 int
62174 main ()
62175 {
62176  _sqrtf(0);
62177   ;
62178   return 0;
62179 }
62180 _ACEOF
62181 rm -f conftest.$ac_objext
62182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62183   (eval $ac_compile) 2>conftest.er1
62184   ac_status=$?
62185   grep -v '^ *+' conftest.er1 >conftest.err
62186   rm -f conftest.er1
62187   cat conftest.err >&5
62188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62189   (exit $ac_status); } &&
62190          { ac_try='test -z "$ac_cxx_werror_flag"
62191                          || test ! -s conftest.err'
62192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62193   (eval $ac_try) 2>&5
62194   ac_status=$?
62195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62196   (exit $ac_status); }; } &&
62197          { ac_try='test -s conftest.$ac_objext'
62198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62199   (eval $ac_try) 2>&5
62200   ac_status=$?
62201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62202   (exit $ac_status); }; }; then
62203   glibcxx_cv_func__sqrtf_use=yes
62204 else
62205   echo "$as_me: failed program was:" >&5
62206 sed 's/^/| /' conftest.$ac_ext >&5
62207
62208 glibcxx_cv_func__sqrtf_use=no
62209 fi
62210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62211       ac_ext=c
62212 ac_cpp='$CPP $CPPFLAGS'
62213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62216
62217
62218 fi
62219
62220   fi
62221   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
62222 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
62223
62224     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62225
62226 for ac_func in _sqrtf
62227 do
62228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62229 echo "$as_me:$LINENO: checking for $ac_func" >&5
62230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62231 if eval "test \"\${$as_ac_var+set}\" = set"; then
62232   echo $ECHO_N "(cached) $ECHO_C" >&6
62233 else
62234   if test x$gcc_no_link = xyes; then
62235   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62237    { (exit 1); exit 1; }; }
62238 fi
62239 cat >conftest.$ac_ext <<_ACEOF
62240 /* confdefs.h.  */
62241 _ACEOF
62242 cat confdefs.h >>conftest.$ac_ext
62243 cat >>conftest.$ac_ext <<_ACEOF
62244 /* end confdefs.h.  */
62245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62246    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62247 #define $ac_func innocuous_$ac_func
62248
62249 /* System header to define __stub macros and hopefully few prototypes,
62250     which can conflict with char $ac_func (); below.
62251     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62252     <limits.h> exists even on freestanding compilers.  */
62253
62254 #ifdef __STDC__
62255 # include <limits.h>
62256 #else
62257 # include <assert.h>
62258 #endif
62259
62260 #undef $ac_func
62261
62262 /* Override any gcc2 internal prototype to avoid an error.  */
62263 #ifdef __cplusplus
62264 extern "C"
62265 {
62266 #endif
62267 /* We use char because int might match the return type of a gcc2
62268    builtin and then its argument prototype would still apply.  */
62269 char $ac_func ();
62270 /* The GNU C library defines this for functions which it implements
62271     to always fail with ENOSYS.  Some functions are actually named
62272     something starting with __ and the normal name is an alias.  */
62273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62274 choke me
62275 #else
62276 char (*f) () = $ac_func;
62277 #endif
62278 #ifdef __cplusplus
62279 }
62280 #endif
62281
62282 int
62283 main ()
62284 {
62285 return f != $ac_func;
62286   ;
62287   return 0;
62288 }
62289 _ACEOF
62290 rm -f conftest.$ac_objext conftest$ac_exeext
62291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62292   (eval $ac_link) 2>conftest.er1
62293   ac_status=$?
62294   grep -v '^ *+' conftest.er1 >conftest.err
62295   rm -f conftest.er1
62296   cat conftest.err >&5
62297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62298   (exit $ac_status); } &&
62299          { ac_try='test -z "$ac_c_werror_flag"
62300                          || test ! -s conftest.err'
62301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62302   (eval $ac_try) 2>&5
62303   ac_status=$?
62304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62305   (exit $ac_status); }; } &&
62306          { ac_try='test -s conftest$ac_exeext'
62307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62308   (eval $ac_try) 2>&5
62309   ac_status=$?
62310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62311   (exit $ac_status); }; }; then
62312   eval "$as_ac_var=yes"
62313 else
62314   echo "$as_me: failed program was:" >&5
62315 sed 's/^/| /' conftest.$ac_ext >&5
62316
62317 eval "$as_ac_var=no"
62318 fi
62319 rm -f conftest.err conftest.$ac_objext \
62320       conftest$ac_exeext conftest.$ac_ext
62321 fi
62322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62324 if test `eval echo '${'$as_ac_var'}'` = yes; then
62325   cat >>confdefs.h <<_ACEOF
62326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62327 _ACEOF
62328
62329 fi
62330 done
62331
62332     fi
62333   fi
62334
62335
62336
62337   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
62338 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
62339   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62340     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
62341   echo $ECHO_N "(cached) $ECHO_C" >&6
62342 else
62343
62344
62345
62346       ac_ext=cc
62347 ac_cpp='$CXXCPP $CPPFLAGS'
62348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62351
62352       cat >conftest.$ac_ext <<_ACEOF
62353 /* confdefs.h.  */
62354 _ACEOF
62355 cat confdefs.h >>conftest.$ac_ext
62356 cat >>conftest.$ac_ext <<_ACEOF
62357 /* end confdefs.h.  */
62358 #include <math.h>
62359 int
62360 main ()
62361 {
62362  sincosf(0, 0, 0);
62363   ;
62364   return 0;
62365 }
62366 _ACEOF
62367 rm -f conftest.$ac_objext
62368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62369   (eval $ac_compile) 2>conftest.er1
62370   ac_status=$?
62371   grep -v '^ *+' conftest.er1 >conftest.err
62372   rm -f conftest.er1
62373   cat conftest.err >&5
62374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62375   (exit $ac_status); } &&
62376          { ac_try='test -z "$ac_cxx_werror_flag"
62377                          || test ! -s conftest.err'
62378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62379   (eval $ac_try) 2>&5
62380   ac_status=$?
62381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62382   (exit $ac_status); }; } &&
62383          { ac_try='test -s conftest.$ac_objext'
62384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62385   (eval $ac_try) 2>&5
62386   ac_status=$?
62387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62388   (exit $ac_status); }; }; then
62389   glibcxx_cv_func_sincosf_use=yes
62390 else
62391   echo "$as_me: failed program was:" >&5
62392 sed 's/^/| /' conftest.$ac_ext >&5
62393
62394 glibcxx_cv_func_sincosf_use=no
62395 fi
62396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62397       ac_ext=c
62398 ac_cpp='$CPP $CPPFLAGS'
62399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62402
62403
62404 fi
62405
62406   fi
62407   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
62408 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
62409
62410   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62411
62412 for ac_func in sincosf
62413 do
62414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62415 echo "$as_me:$LINENO: checking for $ac_func" >&5
62416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62417 if eval "test \"\${$as_ac_var+set}\" = set"; then
62418   echo $ECHO_N "(cached) $ECHO_C" >&6
62419 else
62420   if test x$gcc_no_link = xyes; then
62421   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62423    { (exit 1); exit 1; }; }
62424 fi
62425 cat >conftest.$ac_ext <<_ACEOF
62426 /* confdefs.h.  */
62427 _ACEOF
62428 cat confdefs.h >>conftest.$ac_ext
62429 cat >>conftest.$ac_ext <<_ACEOF
62430 /* end confdefs.h.  */
62431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62432    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62433 #define $ac_func innocuous_$ac_func
62434
62435 /* System header to define __stub macros and hopefully few prototypes,
62436     which can conflict with char $ac_func (); below.
62437     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62438     <limits.h> exists even on freestanding compilers.  */
62439
62440 #ifdef __STDC__
62441 # include <limits.h>
62442 #else
62443 # include <assert.h>
62444 #endif
62445
62446 #undef $ac_func
62447
62448 /* Override any gcc2 internal prototype to avoid an error.  */
62449 #ifdef __cplusplus
62450 extern "C"
62451 {
62452 #endif
62453 /* We use char because int might match the return type of a gcc2
62454    builtin and then its argument prototype would still apply.  */
62455 char $ac_func ();
62456 /* The GNU C library defines this for functions which it implements
62457     to always fail with ENOSYS.  Some functions are actually named
62458     something starting with __ and the normal name is an alias.  */
62459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62460 choke me
62461 #else
62462 char (*f) () = $ac_func;
62463 #endif
62464 #ifdef __cplusplus
62465 }
62466 #endif
62467
62468 int
62469 main ()
62470 {
62471 return f != $ac_func;
62472   ;
62473   return 0;
62474 }
62475 _ACEOF
62476 rm -f conftest.$ac_objext conftest$ac_exeext
62477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62478   (eval $ac_link) 2>conftest.er1
62479   ac_status=$?
62480   grep -v '^ *+' conftest.er1 >conftest.err
62481   rm -f conftest.er1
62482   cat conftest.err >&5
62483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62484   (exit $ac_status); } &&
62485          { ac_try='test -z "$ac_c_werror_flag"
62486                          || test ! -s conftest.err'
62487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62488   (eval $ac_try) 2>&5
62489   ac_status=$?
62490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62491   (exit $ac_status); }; } &&
62492          { ac_try='test -s conftest$ac_exeext'
62493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62494   (eval $ac_try) 2>&5
62495   ac_status=$?
62496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62497   (exit $ac_status); }; }; then
62498   eval "$as_ac_var=yes"
62499 else
62500   echo "$as_me: failed program was:" >&5
62501 sed 's/^/| /' conftest.$ac_ext >&5
62502
62503 eval "$as_ac_var=no"
62504 fi
62505 rm -f conftest.err conftest.$ac_objext \
62506       conftest$ac_exeext conftest.$ac_ext
62507 fi
62508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62510 if test `eval echo '${'$as_ac_var'}'` = yes; then
62511   cat >>confdefs.h <<_ACEOF
62512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62513 _ACEOF
62514
62515 fi
62516 done
62517
62518   else
62519
62520   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
62521 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
62522   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62523     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
62524   echo $ECHO_N "(cached) $ECHO_C" >&6
62525 else
62526
62527
62528
62529       ac_ext=cc
62530 ac_cpp='$CXXCPP $CPPFLAGS'
62531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62534
62535       cat >conftest.$ac_ext <<_ACEOF
62536 /* confdefs.h.  */
62537 _ACEOF
62538 cat confdefs.h >>conftest.$ac_ext
62539 cat >>conftest.$ac_ext <<_ACEOF
62540 /* end confdefs.h.  */
62541 #include <math.h>
62542 int
62543 main ()
62544 {
62545  _sincosf(0, 0, 0);
62546   ;
62547   return 0;
62548 }
62549 _ACEOF
62550 rm -f conftest.$ac_objext
62551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62552   (eval $ac_compile) 2>conftest.er1
62553   ac_status=$?
62554   grep -v '^ *+' conftest.er1 >conftest.err
62555   rm -f conftest.er1
62556   cat conftest.err >&5
62557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62558   (exit $ac_status); } &&
62559          { ac_try='test -z "$ac_cxx_werror_flag"
62560                          || test ! -s conftest.err'
62561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62562   (eval $ac_try) 2>&5
62563   ac_status=$?
62564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62565   (exit $ac_status); }; } &&
62566          { ac_try='test -s conftest.$ac_objext'
62567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62568   (eval $ac_try) 2>&5
62569   ac_status=$?
62570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62571   (exit $ac_status); }; }; then
62572   glibcxx_cv_func__sincosf_use=yes
62573 else
62574   echo "$as_me: failed program was:" >&5
62575 sed 's/^/| /' conftest.$ac_ext >&5
62576
62577 glibcxx_cv_func__sincosf_use=no
62578 fi
62579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62580       ac_ext=c
62581 ac_cpp='$CPP $CPPFLAGS'
62582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62585
62586
62587 fi
62588
62589   fi
62590   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
62591 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
62592
62593     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62594
62595 for ac_func in _sincosf
62596 do
62597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62598 echo "$as_me:$LINENO: checking for $ac_func" >&5
62599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62600 if eval "test \"\${$as_ac_var+set}\" = set"; then
62601   echo $ECHO_N "(cached) $ECHO_C" >&6
62602 else
62603   if test x$gcc_no_link = xyes; then
62604   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62606    { (exit 1); exit 1; }; }
62607 fi
62608 cat >conftest.$ac_ext <<_ACEOF
62609 /* confdefs.h.  */
62610 _ACEOF
62611 cat confdefs.h >>conftest.$ac_ext
62612 cat >>conftest.$ac_ext <<_ACEOF
62613 /* end confdefs.h.  */
62614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62615    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62616 #define $ac_func innocuous_$ac_func
62617
62618 /* System header to define __stub macros and hopefully few prototypes,
62619     which can conflict with char $ac_func (); below.
62620     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62621     <limits.h> exists even on freestanding compilers.  */
62622
62623 #ifdef __STDC__
62624 # include <limits.h>
62625 #else
62626 # include <assert.h>
62627 #endif
62628
62629 #undef $ac_func
62630
62631 /* Override any gcc2 internal prototype to avoid an error.  */
62632 #ifdef __cplusplus
62633 extern "C"
62634 {
62635 #endif
62636 /* We use char because int might match the return type of a gcc2
62637    builtin and then its argument prototype would still apply.  */
62638 char $ac_func ();
62639 /* The GNU C library defines this for functions which it implements
62640     to always fail with ENOSYS.  Some functions are actually named
62641     something starting with __ and the normal name is an alias.  */
62642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62643 choke me
62644 #else
62645 char (*f) () = $ac_func;
62646 #endif
62647 #ifdef __cplusplus
62648 }
62649 #endif
62650
62651 int
62652 main ()
62653 {
62654 return f != $ac_func;
62655   ;
62656   return 0;
62657 }
62658 _ACEOF
62659 rm -f conftest.$ac_objext conftest$ac_exeext
62660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62661   (eval $ac_link) 2>conftest.er1
62662   ac_status=$?
62663   grep -v '^ *+' conftest.er1 >conftest.err
62664   rm -f conftest.er1
62665   cat conftest.err >&5
62666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62667   (exit $ac_status); } &&
62668          { ac_try='test -z "$ac_c_werror_flag"
62669                          || test ! -s conftest.err'
62670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62671   (eval $ac_try) 2>&5
62672   ac_status=$?
62673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62674   (exit $ac_status); }; } &&
62675          { ac_try='test -s conftest$ac_exeext'
62676   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62677   (eval $ac_try) 2>&5
62678   ac_status=$?
62679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62680   (exit $ac_status); }; }; then
62681   eval "$as_ac_var=yes"
62682 else
62683   echo "$as_me: failed program was:" >&5
62684 sed 's/^/| /' conftest.$ac_ext >&5
62685
62686 eval "$as_ac_var=no"
62687 fi
62688 rm -f conftest.err conftest.$ac_objext \
62689       conftest$ac_exeext conftest.$ac_ext
62690 fi
62691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62693 if test `eval echo '${'$as_ac_var'}'` = yes; then
62694   cat >>confdefs.h <<_ACEOF
62695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62696 _ACEOF
62697
62698 fi
62699 done
62700
62701     fi
62702   fi
62703
62704
62705
62706   echo "$as_me:$LINENO: checking for finitef declaration" >&5
62707 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
62708   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62709     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
62710   echo $ECHO_N "(cached) $ECHO_C" >&6
62711 else
62712
62713
62714
62715       ac_ext=cc
62716 ac_cpp='$CXXCPP $CPPFLAGS'
62717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62720
62721       cat >conftest.$ac_ext <<_ACEOF
62722 /* confdefs.h.  */
62723 _ACEOF
62724 cat confdefs.h >>conftest.$ac_ext
62725 cat >>conftest.$ac_ext <<_ACEOF
62726 /* end confdefs.h.  */
62727 #include <math.h>
62728                       #ifdef HAVE_IEEEFP_H
62729                       #include <ieeefp.h>
62730                       #endif
62731
62732 int
62733 main ()
62734 {
62735  finitef(0);
62736   ;
62737   return 0;
62738 }
62739 _ACEOF
62740 rm -f conftest.$ac_objext
62741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62742   (eval $ac_compile) 2>conftest.er1
62743   ac_status=$?
62744   grep -v '^ *+' conftest.er1 >conftest.err
62745   rm -f conftest.er1
62746   cat conftest.err >&5
62747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62748   (exit $ac_status); } &&
62749          { ac_try='test -z "$ac_cxx_werror_flag"
62750                          || test ! -s conftest.err'
62751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62752   (eval $ac_try) 2>&5
62753   ac_status=$?
62754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62755   (exit $ac_status); }; } &&
62756          { ac_try='test -s conftest.$ac_objext'
62757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62758   (eval $ac_try) 2>&5
62759   ac_status=$?
62760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62761   (exit $ac_status); }; }; then
62762   glibcxx_cv_func_finitef_use=yes
62763 else
62764   echo "$as_me: failed program was:" >&5
62765 sed 's/^/| /' conftest.$ac_ext >&5
62766
62767 glibcxx_cv_func_finitef_use=no
62768 fi
62769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62770       ac_ext=c
62771 ac_cpp='$CPP $CPPFLAGS'
62772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62775
62776
62777 fi
62778
62779   fi
62780   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
62781 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
62782
62783   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62784
62785 for ac_func in finitef
62786 do
62787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62788 echo "$as_me:$LINENO: checking for $ac_func" >&5
62789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62790 if eval "test \"\${$as_ac_var+set}\" = set"; then
62791   echo $ECHO_N "(cached) $ECHO_C" >&6
62792 else
62793   if test x$gcc_no_link = xyes; then
62794   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62796    { (exit 1); exit 1; }; }
62797 fi
62798 cat >conftest.$ac_ext <<_ACEOF
62799 /* confdefs.h.  */
62800 _ACEOF
62801 cat confdefs.h >>conftest.$ac_ext
62802 cat >>conftest.$ac_ext <<_ACEOF
62803 /* end confdefs.h.  */
62804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62805    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62806 #define $ac_func innocuous_$ac_func
62807
62808 /* System header to define __stub macros and hopefully few prototypes,
62809     which can conflict with char $ac_func (); below.
62810     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62811     <limits.h> exists even on freestanding compilers.  */
62812
62813 #ifdef __STDC__
62814 # include <limits.h>
62815 #else
62816 # include <assert.h>
62817 #endif
62818
62819 #undef $ac_func
62820
62821 /* Override any gcc2 internal prototype to avoid an error.  */
62822 #ifdef __cplusplus
62823 extern "C"
62824 {
62825 #endif
62826 /* We use char because int might match the return type of a gcc2
62827    builtin and then its argument prototype would still apply.  */
62828 char $ac_func ();
62829 /* The GNU C library defines this for functions which it implements
62830     to always fail with ENOSYS.  Some functions are actually named
62831     something starting with __ and the normal name is an alias.  */
62832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62833 choke me
62834 #else
62835 char (*f) () = $ac_func;
62836 #endif
62837 #ifdef __cplusplus
62838 }
62839 #endif
62840
62841 int
62842 main ()
62843 {
62844 return f != $ac_func;
62845   ;
62846   return 0;
62847 }
62848 _ACEOF
62849 rm -f conftest.$ac_objext conftest$ac_exeext
62850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62851   (eval $ac_link) 2>conftest.er1
62852   ac_status=$?
62853   grep -v '^ *+' conftest.er1 >conftest.err
62854   rm -f conftest.er1
62855   cat conftest.err >&5
62856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62857   (exit $ac_status); } &&
62858          { ac_try='test -z "$ac_c_werror_flag"
62859                          || test ! -s conftest.err'
62860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62861   (eval $ac_try) 2>&5
62862   ac_status=$?
62863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62864   (exit $ac_status); }; } &&
62865          { ac_try='test -s conftest$ac_exeext'
62866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62867   (eval $ac_try) 2>&5
62868   ac_status=$?
62869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62870   (exit $ac_status); }; }; then
62871   eval "$as_ac_var=yes"
62872 else
62873   echo "$as_me: failed program was:" >&5
62874 sed 's/^/| /' conftest.$ac_ext >&5
62875
62876 eval "$as_ac_var=no"
62877 fi
62878 rm -f conftest.err conftest.$ac_objext \
62879       conftest$ac_exeext conftest.$ac_ext
62880 fi
62881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62883 if test `eval echo '${'$as_ac_var'}'` = yes; then
62884   cat >>confdefs.h <<_ACEOF
62885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62886 _ACEOF
62887
62888 fi
62889 done
62890
62891   else
62892
62893   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
62894 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
62895   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62896     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
62897   echo $ECHO_N "(cached) $ECHO_C" >&6
62898 else
62899
62900
62901
62902       ac_ext=cc
62903 ac_cpp='$CXXCPP $CPPFLAGS'
62904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62907
62908       cat >conftest.$ac_ext <<_ACEOF
62909 /* confdefs.h.  */
62910 _ACEOF
62911 cat confdefs.h >>conftest.$ac_ext
62912 cat >>conftest.$ac_ext <<_ACEOF
62913 /* end confdefs.h.  */
62914 #include <math.h>
62915                       #ifdef HAVE_IEEEFP_H
62916                       #include <ieeefp.h>
62917                       #endif
62918
62919 int
62920 main ()
62921 {
62922  _finitef(0);
62923   ;
62924   return 0;
62925 }
62926 _ACEOF
62927 rm -f conftest.$ac_objext
62928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62929   (eval $ac_compile) 2>conftest.er1
62930   ac_status=$?
62931   grep -v '^ *+' conftest.er1 >conftest.err
62932   rm -f conftest.er1
62933   cat conftest.err >&5
62934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62935   (exit $ac_status); } &&
62936          { ac_try='test -z "$ac_cxx_werror_flag"
62937                          || test ! -s conftest.err'
62938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62939   (eval $ac_try) 2>&5
62940   ac_status=$?
62941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62942   (exit $ac_status); }; } &&
62943          { ac_try='test -s conftest.$ac_objext'
62944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62945   (eval $ac_try) 2>&5
62946   ac_status=$?
62947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62948   (exit $ac_status); }; }; then
62949   glibcxx_cv_func__finitef_use=yes
62950 else
62951   echo "$as_me: failed program was:" >&5
62952 sed 's/^/| /' conftest.$ac_ext >&5
62953
62954 glibcxx_cv_func__finitef_use=no
62955 fi
62956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62957       ac_ext=c
62958 ac_cpp='$CPP $CPPFLAGS'
62959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62962
62963
62964 fi
62965
62966   fi
62967   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
62968 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
62969
62970     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62971
62972 for ac_func in _finitef
62973 do
62974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62975 echo "$as_me:$LINENO: checking for $ac_func" >&5
62976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62977 if eval "test \"\${$as_ac_var+set}\" = set"; then
62978   echo $ECHO_N "(cached) $ECHO_C" >&6
62979 else
62980   if test x$gcc_no_link = xyes; then
62981   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62983    { (exit 1); exit 1; }; }
62984 fi
62985 cat >conftest.$ac_ext <<_ACEOF
62986 /* confdefs.h.  */
62987 _ACEOF
62988 cat confdefs.h >>conftest.$ac_ext
62989 cat >>conftest.$ac_ext <<_ACEOF
62990 /* end confdefs.h.  */
62991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62992    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62993 #define $ac_func innocuous_$ac_func
62994
62995 /* System header to define __stub macros and hopefully few prototypes,
62996     which can conflict with char $ac_func (); below.
62997     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62998     <limits.h> exists even on freestanding compilers.  */
62999
63000 #ifdef __STDC__
63001 # include <limits.h>
63002 #else
63003 # include <assert.h>
63004 #endif
63005
63006 #undef $ac_func
63007
63008 /* Override any gcc2 internal prototype to avoid an error.  */
63009 #ifdef __cplusplus
63010 extern "C"
63011 {
63012 #endif
63013 /* We use char because int might match the return type of a gcc2
63014    builtin and then its argument prototype would still apply.  */
63015 char $ac_func ();
63016 /* The GNU C library defines this for functions which it implements
63017     to always fail with ENOSYS.  Some functions are actually named
63018     something starting with __ and the normal name is an alias.  */
63019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63020 choke me
63021 #else
63022 char (*f) () = $ac_func;
63023 #endif
63024 #ifdef __cplusplus
63025 }
63026 #endif
63027
63028 int
63029 main ()
63030 {
63031 return f != $ac_func;
63032   ;
63033   return 0;
63034 }
63035 _ACEOF
63036 rm -f conftest.$ac_objext conftest$ac_exeext
63037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63038   (eval $ac_link) 2>conftest.er1
63039   ac_status=$?
63040   grep -v '^ *+' conftest.er1 >conftest.err
63041   rm -f conftest.er1
63042   cat conftest.err >&5
63043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63044   (exit $ac_status); } &&
63045          { ac_try='test -z "$ac_c_werror_flag"
63046                          || test ! -s conftest.err'
63047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63048   (eval $ac_try) 2>&5
63049   ac_status=$?
63050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63051   (exit $ac_status); }; } &&
63052          { ac_try='test -s conftest$ac_exeext'
63053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63054   (eval $ac_try) 2>&5
63055   ac_status=$?
63056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63057   (exit $ac_status); }; }; then
63058   eval "$as_ac_var=yes"
63059 else
63060   echo "$as_me: failed program was:" >&5
63061 sed 's/^/| /' conftest.$ac_ext >&5
63062
63063 eval "$as_ac_var=no"
63064 fi
63065 rm -f conftest.err conftest.$ac_objext \
63066       conftest$ac_exeext conftest.$ac_ext
63067 fi
63068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63070 if test `eval echo '${'$as_ac_var'}'` = yes; then
63071   cat >>confdefs.h <<_ACEOF
63072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63073 _ACEOF
63074
63075 fi
63076 done
63077
63078     fi
63079   fi
63080
63081
63082
63083   echo "$as_me:$LINENO: checking for long double trig functions" >&5
63084 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
63085   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
63086   echo $ECHO_N "(cached) $ECHO_C" >&6
63087 else
63088
63089
63090
63091     ac_ext=cc
63092 ac_cpp='$CXXCPP $CPPFLAGS'
63093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63096
63097     cat >conftest.$ac_ext <<_ACEOF
63098 /* confdefs.h.  */
63099 _ACEOF
63100 cat confdefs.h >>conftest.$ac_ext
63101 cat >>conftest.$ac_ext <<_ACEOF
63102 /* end confdefs.h.  */
63103 #include <math.h>
63104 int
63105 main ()
63106 {
63107  `for x in acosl asinl atanl \
63108                                           cosl sinl tanl \
63109                                           coshl sinhl tanhl; do echo "$x (0);"; done`
63110   ;
63111   return 0;
63112 }
63113 _ACEOF
63114 rm -f conftest.$ac_objext
63115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63116   (eval $ac_compile) 2>conftest.er1
63117   ac_status=$?
63118   grep -v '^ *+' conftest.er1 >conftest.err
63119   rm -f conftest.er1
63120   cat conftest.err >&5
63121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63122   (exit $ac_status); } &&
63123          { ac_try='test -z "$ac_cxx_werror_flag"
63124                          || test ! -s conftest.err'
63125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63126   (eval $ac_try) 2>&5
63127   ac_status=$?
63128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63129   (exit $ac_status); }; } &&
63130          { ac_try='test -s conftest.$ac_objext'
63131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63132   (eval $ac_try) 2>&5
63133   ac_status=$?
63134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63135   (exit $ac_status); }; }; then
63136   glibcxx_cv_func_long_double_trig_use=yes
63137 else
63138   echo "$as_me: failed program was:" >&5
63139 sed 's/^/| /' conftest.$ac_ext >&5
63140
63141 glibcxx_cv_func_long_double_trig_use=no
63142 fi
63143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63144     ac_ext=c
63145 ac_cpp='$CPP $CPPFLAGS'
63146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63149
63150 fi
63151
63152   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
63153 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
63154   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63155
63156
63157
63158
63159
63160
63161
63162
63163
63164 for ac_func in acosl asinl atanl \
63165                                           cosl sinl tanl \
63166                                           coshl sinhl tanhl
63167 do
63168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63169 echo "$as_me:$LINENO: checking for $ac_func" >&5
63170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63171 if eval "test \"\${$as_ac_var+set}\" = set"; then
63172   echo $ECHO_N "(cached) $ECHO_C" >&6
63173 else
63174   if test x$gcc_no_link = xyes; then
63175   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63177    { (exit 1); exit 1; }; }
63178 fi
63179 cat >conftest.$ac_ext <<_ACEOF
63180 /* confdefs.h.  */
63181 _ACEOF
63182 cat confdefs.h >>conftest.$ac_ext
63183 cat >>conftest.$ac_ext <<_ACEOF
63184 /* end confdefs.h.  */
63185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63186    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63187 #define $ac_func innocuous_$ac_func
63188
63189 /* System header to define __stub macros and hopefully few prototypes,
63190     which can conflict with char $ac_func (); below.
63191     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63192     <limits.h> exists even on freestanding compilers.  */
63193
63194 #ifdef __STDC__
63195 # include <limits.h>
63196 #else
63197 # include <assert.h>
63198 #endif
63199
63200 #undef $ac_func
63201
63202 /* Override any gcc2 internal prototype to avoid an error.  */
63203 #ifdef __cplusplus
63204 extern "C"
63205 {
63206 #endif
63207 /* We use char because int might match the return type of a gcc2
63208    builtin and then its argument prototype would still apply.  */
63209 char $ac_func ();
63210 /* The GNU C library defines this for functions which it implements
63211     to always fail with ENOSYS.  Some functions are actually named
63212     something starting with __ and the normal name is an alias.  */
63213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63214 choke me
63215 #else
63216 char (*f) () = $ac_func;
63217 #endif
63218 #ifdef __cplusplus
63219 }
63220 #endif
63221
63222 int
63223 main ()
63224 {
63225 return f != $ac_func;
63226   ;
63227   return 0;
63228 }
63229 _ACEOF
63230 rm -f conftest.$ac_objext conftest$ac_exeext
63231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63232   (eval $ac_link) 2>conftest.er1
63233   ac_status=$?
63234   grep -v '^ *+' conftest.er1 >conftest.err
63235   rm -f conftest.er1
63236   cat conftest.err >&5
63237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63238   (exit $ac_status); } &&
63239          { ac_try='test -z "$ac_c_werror_flag"
63240                          || test ! -s conftest.err'
63241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63242   (eval $ac_try) 2>&5
63243   ac_status=$?
63244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63245   (exit $ac_status); }; } &&
63246          { ac_try='test -s conftest$ac_exeext'
63247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63248   (eval $ac_try) 2>&5
63249   ac_status=$?
63250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63251   (exit $ac_status); }; }; then
63252   eval "$as_ac_var=yes"
63253 else
63254   echo "$as_me: failed program was:" >&5
63255 sed 's/^/| /' conftest.$ac_ext >&5
63256
63257 eval "$as_ac_var=no"
63258 fi
63259 rm -f conftest.err conftest.$ac_objext \
63260       conftest$ac_exeext conftest.$ac_ext
63261 fi
63262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63264 if test `eval echo '${'$as_ac_var'}'` = yes; then
63265   cat >>confdefs.h <<_ACEOF
63266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63267 _ACEOF
63268
63269 fi
63270 done
63271
63272   fi
63273
63274
63275   echo "$as_me:$LINENO: checking for long double round functions" >&5
63276 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
63277   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
63278   echo $ECHO_N "(cached) $ECHO_C" >&6
63279 else
63280
63281
63282
63283     ac_ext=cc
63284 ac_cpp='$CXXCPP $CPPFLAGS'
63285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63288
63289     cat >conftest.$ac_ext <<_ACEOF
63290 /* confdefs.h.  */
63291 _ACEOF
63292 cat confdefs.h >>conftest.$ac_ext
63293 cat >>conftest.$ac_ext <<_ACEOF
63294 /* end confdefs.h.  */
63295 #include <math.h>
63296 int
63297 main ()
63298 {
63299  `for x in ceill floorl; do echo "$x (0);"; done`
63300   ;
63301   return 0;
63302 }
63303 _ACEOF
63304 rm -f conftest.$ac_objext
63305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63306   (eval $ac_compile) 2>conftest.er1
63307   ac_status=$?
63308   grep -v '^ *+' conftest.er1 >conftest.err
63309   rm -f conftest.er1
63310   cat conftest.err >&5
63311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63312   (exit $ac_status); } &&
63313          { ac_try='test -z "$ac_cxx_werror_flag"
63314                          || test ! -s conftest.err'
63315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63316   (eval $ac_try) 2>&5
63317   ac_status=$?
63318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63319   (exit $ac_status); }; } &&
63320          { ac_try='test -s conftest.$ac_objext'
63321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63322   (eval $ac_try) 2>&5
63323   ac_status=$?
63324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63325   (exit $ac_status); }; }; then
63326   glibcxx_cv_func_long_double_round_use=yes
63327 else
63328   echo "$as_me: failed program was:" >&5
63329 sed 's/^/| /' conftest.$ac_ext >&5
63330
63331 glibcxx_cv_func_long_double_round_use=no
63332 fi
63333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63334     ac_ext=c
63335 ac_cpp='$CPP $CPPFLAGS'
63336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63339
63340 fi
63341
63342   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
63343 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
63344   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63345
63346
63347 for ac_func in ceill floorl
63348 do
63349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63350 echo "$as_me:$LINENO: checking for $ac_func" >&5
63351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63352 if eval "test \"\${$as_ac_var+set}\" = set"; then
63353   echo $ECHO_N "(cached) $ECHO_C" >&6
63354 else
63355   if test x$gcc_no_link = xyes; then
63356   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63358    { (exit 1); exit 1; }; }
63359 fi
63360 cat >conftest.$ac_ext <<_ACEOF
63361 /* confdefs.h.  */
63362 _ACEOF
63363 cat confdefs.h >>conftest.$ac_ext
63364 cat >>conftest.$ac_ext <<_ACEOF
63365 /* end confdefs.h.  */
63366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63367    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63368 #define $ac_func innocuous_$ac_func
63369
63370 /* System header to define __stub macros and hopefully few prototypes,
63371     which can conflict with char $ac_func (); below.
63372     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63373     <limits.h> exists even on freestanding compilers.  */
63374
63375 #ifdef __STDC__
63376 # include <limits.h>
63377 #else
63378 # include <assert.h>
63379 #endif
63380
63381 #undef $ac_func
63382
63383 /* Override any gcc2 internal prototype to avoid an error.  */
63384 #ifdef __cplusplus
63385 extern "C"
63386 {
63387 #endif
63388 /* We use char because int might match the return type of a gcc2
63389    builtin and then its argument prototype would still apply.  */
63390 char $ac_func ();
63391 /* The GNU C library defines this for functions which it implements
63392     to always fail with ENOSYS.  Some functions are actually named
63393     something starting with __ and the normal name is an alias.  */
63394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63395 choke me
63396 #else
63397 char (*f) () = $ac_func;
63398 #endif
63399 #ifdef __cplusplus
63400 }
63401 #endif
63402
63403 int
63404 main ()
63405 {
63406 return f != $ac_func;
63407   ;
63408   return 0;
63409 }
63410 _ACEOF
63411 rm -f conftest.$ac_objext conftest$ac_exeext
63412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63413   (eval $ac_link) 2>conftest.er1
63414   ac_status=$?
63415   grep -v '^ *+' conftest.er1 >conftest.err
63416   rm -f conftest.er1
63417   cat conftest.err >&5
63418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63419   (exit $ac_status); } &&
63420          { ac_try='test -z "$ac_c_werror_flag"
63421                          || test ! -s conftest.err'
63422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63423   (eval $ac_try) 2>&5
63424   ac_status=$?
63425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63426   (exit $ac_status); }; } &&
63427          { ac_try='test -s conftest$ac_exeext'
63428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63429   (eval $ac_try) 2>&5
63430   ac_status=$?
63431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63432   (exit $ac_status); }; }; then
63433   eval "$as_ac_var=yes"
63434 else
63435   echo "$as_me: failed program was:" >&5
63436 sed 's/^/| /' conftest.$ac_ext >&5
63437
63438 eval "$as_ac_var=no"
63439 fi
63440 rm -f conftest.err conftest.$ac_objext \
63441       conftest$ac_exeext conftest.$ac_ext
63442 fi
63443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63445 if test `eval echo '${'$as_ac_var'}'` = yes; then
63446   cat >>confdefs.h <<_ACEOF
63447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63448 _ACEOF
63449
63450 fi
63451 done
63452
63453   fi
63454
63455
63456
63457   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
63458 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
63459   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63460     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
63461   echo $ECHO_N "(cached) $ECHO_C" >&6
63462 else
63463
63464
63465
63466       ac_ext=cc
63467 ac_cpp='$CXXCPP $CPPFLAGS'
63468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63471
63472       cat >conftest.$ac_ext <<_ACEOF
63473 /* confdefs.h.  */
63474 _ACEOF
63475 cat confdefs.h >>conftest.$ac_ext
63476 cat >>conftest.$ac_ext <<_ACEOF
63477 /* end confdefs.h.  */
63478 #include <math.h>
63479                       #ifdef HAVE_IEEEFP_H
63480                       #include <ieeefp.h>
63481                       #endif
63482
63483 int
63484 main ()
63485 {
63486  isnanl(0);
63487   ;
63488   return 0;
63489 }
63490 _ACEOF
63491 rm -f conftest.$ac_objext
63492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63493   (eval $ac_compile) 2>conftest.er1
63494   ac_status=$?
63495   grep -v '^ *+' conftest.er1 >conftest.err
63496   rm -f conftest.er1
63497   cat conftest.err >&5
63498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63499   (exit $ac_status); } &&
63500          { ac_try='test -z "$ac_cxx_werror_flag"
63501                          || test ! -s conftest.err'
63502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63503   (eval $ac_try) 2>&5
63504   ac_status=$?
63505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63506   (exit $ac_status); }; } &&
63507          { ac_try='test -s conftest.$ac_objext'
63508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63509   (eval $ac_try) 2>&5
63510   ac_status=$?
63511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63512   (exit $ac_status); }; }; then
63513   glibcxx_cv_func_isnanl_use=yes
63514 else
63515   echo "$as_me: failed program was:" >&5
63516 sed 's/^/| /' conftest.$ac_ext >&5
63517
63518 glibcxx_cv_func_isnanl_use=no
63519 fi
63520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63521       ac_ext=c
63522 ac_cpp='$CPP $CPPFLAGS'
63523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63526
63527
63528 fi
63529
63530   fi
63531   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
63532 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
63533
63534   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63535
63536 for ac_func in isnanl
63537 do
63538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63539 echo "$as_me:$LINENO: checking for $ac_func" >&5
63540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63541 if eval "test \"\${$as_ac_var+set}\" = set"; then
63542   echo $ECHO_N "(cached) $ECHO_C" >&6
63543 else
63544   if test x$gcc_no_link = xyes; then
63545   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63547    { (exit 1); exit 1; }; }
63548 fi
63549 cat >conftest.$ac_ext <<_ACEOF
63550 /* confdefs.h.  */
63551 _ACEOF
63552 cat confdefs.h >>conftest.$ac_ext
63553 cat >>conftest.$ac_ext <<_ACEOF
63554 /* end confdefs.h.  */
63555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63556    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63557 #define $ac_func innocuous_$ac_func
63558
63559 /* System header to define __stub macros and hopefully few prototypes,
63560     which can conflict with char $ac_func (); below.
63561     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63562     <limits.h> exists even on freestanding compilers.  */
63563
63564 #ifdef __STDC__
63565 # include <limits.h>
63566 #else
63567 # include <assert.h>
63568 #endif
63569
63570 #undef $ac_func
63571
63572 /* Override any gcc2 internal prototype to avoid an error.  */
63573 #ifdef __cplusplus
63574 extern "C"
63575 {
63576 #endif
63577 /* We use char because int might match the return type of a gcc2
63578    builtin and then its argument prototype would still apply.  */
63579 char $ac_func ();
63580 /* The GNU C library defines this for functions which it implements
63581     to always fail with ENOSYS.  Some functions are actually named
63582     something starting with __ and the normal name is an alias.  */
63583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63584 choke me
63585 #else
63586 char (*f) () = $ac_func;
63587 #endif
63588 #ifdef __cplusplus
63589 }
63590 #endif
63591
63592 int
63593 main ()
63594 {
63595 return f != $ac_func;
63596   ;
63597   return 0;
63598 }
63599 _ACEOF
63600 rm -f conftest.$ac_objext conftest$ac_exeext
63601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63602   (eval $ac_link) 2>conftest.er1
63603   ac_status=$?
63604   grep -v '^ *+' conftest.er1 >conftest.err
63605   rm -f conftest.er1
63606   cat conftest.err >&5
63607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63608   (exit $ac_status); } &&
63609          { ac_try='test -z "$ac_c_werror_flag"
63610                          || test ! -s conftest.err'
63611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63612   (eval $ac_try) 2>&5
63613   ac_status=$?
63614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63615   (exit $ac_status); }; } &&
63616          { ac_try='test -s conftest$ac_exeext'
63617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63618   (eval $ac_try) 2>&5
63619   ac_status=$?
63620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63621   (exit $ac_status); }; }; then
63622   eval "$as_ac_var=yes"
63623 else
63624   echo "$as_me: failed program was:" >&5
63625 sed 's/^/| /' conftest.$ac_ext >&5
63626
63627 eval "$as_ac_var=no"
63628 fi
63629 rm -f conftest.err conftest.$ac_objext \
63630       conftest$ac_exeext conftest.$ac_ext
63631 fi
63632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63634 if test `eval echo '${'$as_ac_var'}'` = yes; then
63635   cat >>confdefs.h <<_ACEOF
63636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63637 _ACEOF
63638
63639 fi
63640 done
63641
63642   else
63643
63644   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
63645 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
63646   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63647     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
63648   echo $ECHO_N "(cached) $ECHO_C" >&6
63649 else
63650
63651
63652
63653       ac_ext=cc
63654 ac_cpp='$CXXCPP $CPPFLAGS'
63655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63658
63659       cat >conftest.$ac_ext <<_ACEOF
63660 /* confdefs.h.  */
63661 _ACEOF
63662 cat confdefs.h >>conftest.$ac_ext
63663 cat >>conftest.$ac_ext <<_ACEOF
63664 /* end confdefs.h.  */
63665 #include <math.h>
63666                       #ifdef HAVE_IEEEFP_H
63667                       #include <ieeefp.h>
63668                       #endif
63669
63670 int
63671 main ()
63672 {
63673  _isnanl(0);
63674   ;
63675   return 0;
63676 }
63677 _ACEOF
63678 rm -f conftest.$ac_objext
63679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63680   (eval $ac_compile) 2>conftest.er1
63681   ac_status=$?
63682   grep -v '^ *+' conftest.er1 >conftest.err
63683   rm -f conftest.er1
63684   cat conftest.err >&5
63685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63686   (exit $ac_status); } &&
63687          { ac_try='test -z "$ac_cxx_werror_flag"
63688                          || test ! -s conftest.err'
63689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63690   (eval $ac_try) 2>&5
63691   ac_status=$?
63692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63693   (exit $ac_status); }; } &&
63694          { ac_try='test -s conftest.$ac_objext'
63695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63696   (eval $ac_try) 2>&5
63697   ac_status=$?
63698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63699   (exit $ac_status); }; }; then
63700   glibcxx_cv_func__isnanl_use=yes
63701 else
63702   echo "$as_me: failed program was:" >&5
63703 sed 's/^/| /' conftest.$ac_ext >&5
63704
63705 glibcxx_cv_func__isnanl_use=no
63706 fi
63707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63708       ac_ext=c
63709 ac_cpp='$CPP $CPPFLAGS'
63710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63713
63714
63715 fi
63716
63717   fi
63718   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
63719 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
63720
63721     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63722
63723 for ac_func in _isnanl
63724 do
63725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63726 echo "$as_me:$LINENO: checking for $ac_func" >&5
63727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63728 if eval "test \"\${$as_ac_var+set}\" = set"; then
63729   echo $ECHO_N "(cached) $ECHO_C" >&6
63730 else
63731   if test x$gcc_no_link = xyes; then
63732   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63734    { (exit 1); exit 1; }; }
63735 fi
63736 cat >conftest.$ac_ext <<_ACEOF
63737 /* confdefs.h.  */
63738 _ACEOF
63739 cat confdefs.h >>conftest.$ac_ext
63740 cat >>conftest.$ac_ext <<_ACEOF
63741 /* end confdefs.h.  */
63742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63743    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63744 #define $ac_func innocuous_$ac_func
63745
63746 /* System header to define __stub macros and hopefully few prototypes,
63747     which can conflict with char $ac_func (); below.
63748     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63749     <limits.h> exists even on freestanding compilers.  */
63750
63751 #ifdef __STDC__
63752 # include <limits.h>
63753 #else
63754 # include <assert.h>
63755 #endif
63756
63757 #undef $ac_func
63758
63759 /* Override any gcc2 internal prototype to avoid an error.  */
63760 #ifdef __cplusplus
63761 extern "C"
63762 {
63763 #endif
63764 /* We use char because int might match the return type of a gcc2
63765    builtin and then its argument prototype would still apply.  */
63766 char $ac_func ();
63767 /* The GNU C library defines this for functions which it implements
63768     to always fail with ENOSYS.  Some functions are actually named
63769     something starting with __ and the normal name is an alias.  */
63770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63771 choke me
63772 #else
63773 char (*f) () = $ac_func;
63774 #endif
63775 #ifdef __cplusplus
63776 }
63777 #endif
63778
63779 int
63780 main ()
63781 {
63782 return f != $ac_func;
63783   ;
63784   return 0;
63785 }
63786 _ACEOF
63787 rm -f conftest.$ac_objext conftest$ac_exeext
63788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63789   (eval $ac_link) 2>conftest.er1
63790   ac_status=$?
63791   grep -v '^ *+' conftest.er1 >conftest.err
63792   rm -f conftest.er1
63793   cat conftest.err >&5
63794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63795   (exit $ac_status); } &&
63796          { ac_try='test -z "$ac_c_werror_flag"
63797                          || test ! -s conftest.err'
63798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63799   (eval $ac_try) 2>&5
63800   ac_status=$?
63801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63802   (exit $ac_status); }; } &&
63803          { ac_try='test -s conftest$ac_exeext'
63804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63805   (eval $ac_try) 2>&5
63806   ac_status=$?
63807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63808   (exit $ac_status); }; }; then
63809   eval "$as_ac_var=yes"
63810 else
63811   echo "$as_me: failed program was:" >&5
63812 sed 's/^/| /' conftest.$ac_ext >&5
63813
63814 eval "$as_ac_var=no"
63815 fi
63816 rm -f conftest.err conftest.$ac_objext \
63817       conftest$ac_exeext conftest.$ac_ext
63818 fi
63819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63821 if test `eval echo '${'$as_ac_var'}'` = yes; then
63822   cat >>confdefs.h <<_ACEOF
63823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63824 _ACEOF
63825
63826 fi
63827 done
63828
63829     fi
63830   fi
63831
63832
63833
63834   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
63835 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
63836   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63837     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
63838   echo $ECHO_N "(cached) $ECHO_C" >&6
63839 else
63840
63841
63842
63843       ac_ext=cc
63844 ac_cpp='$CXXCPP $CPPFLAGS'
63845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63848
63849       cat >conftest.$ac_ext <<_ACEOF
63850 /* confdefs.h.  */
63851 _ACEOF
63852 cat confdefs.h >>conftest.$ac_ext
63853 cat >>conftest.$ac_ext <<_ACEOF
63854 /* end confdefs.h.  */
63855 #include <math.h>
63856                       #ifdef HAVE_IEEEFP_H
63857                       #include <ieeefp.h>
63858                       #endif
63859
63860 int
63861 main ()
63862 {
63863  isinfl(0);
63864   ;
63865   return 0;
63866 }
63867 _ACEOF
63868 rm -f conftest.$ac_objext
63869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63870   (eval $ac_compile) 2>conftest.er1
63871   ac_status=$?
63872   grep -v '^ *+' conftest.er1 >conftest.err
63873   rm -f conftest.er1
63874   cat conftest.err >&5
63875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63876   (exit $ac_status); } &&
63877          { ac_try='test -z "$ac_cxx_werror_flag"
63878                          || test ! -s conftest.err'
63879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63880   (eval $ac_try) 2>&5
63881   ac_status=$?
63882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63883   (exit $ac_status); }; } &&
63884          { ac_try='test -s conftest.$ac_objext'
63885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63886   (eval $ac_try) 2>&5
63887   ac_status=$?
63888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63889   (exit $ac_status); }; }; then
63890   glibcxx_cv_func_isinfl_use=yes
63891 else
63892   echo "$as_me: failed program was:" >&5
63893 sed 's/^/| /' conftest.$ac_ext >&5
63894
63895 glibcxx_cv_func_isinfl_use=no
63896 fi
63897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63898       ac_ext=c
63899 ac_cpp='$CPP $CPPFLAGS'
63900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63903
63904
63905 fi
63906
63907   fi
63908   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
63909 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
63910
63911   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
63912
63913 for ac_func in isinfl
63914 do
63915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63916 echo "$as_me:$LINENO: checking for $ac_func" >&5
63917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63918 if eval "test \"\${$as_ac_var+set}\" = set"; then
63919   echo $ECHO_N "(cached) $ECHO_C" >&6
63920 else
63921   if test x$gcc_no_link = xyes; then
63922   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63924    { (exit 1); exit 1; }; }
63925 fi
63926 cat >conftest.$ac_ext <<_ACEOF
63927 /* confdefs.h.  */
63928 _ACEOF
63929 cat confdefs.h >>conftest.$ac_ext
63930 cat >>conftest.$ac_ext <<_ACEOF
63931 /* end confdefs.h.  */
63932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63933    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63934 #define $ac_func innocuous_$ac_func
63935
63936 /* System header to define __stub macros and hopefully few prototypes,
63937     which can conflict with char $ac_func (); below.
63938     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63939     <limits.h> exists even on freestanding compilers.  */
63940
63941 #ifdef __STDC__
63942 # include <limits.h>
63943 #else
63944 # include <assert.h>
63945 #endif
63946
63947 #undef $ac_func
63948
63949 /* Override any gcc2 internal prototype to avoid an error.  */
63950 #ifdef __cplusplus
63951 extern "C"
63952 {
63953 #endif
63954 /* We use char because int might match the return type of a gcc2
63955    builtin and then its argument prototype would still apply.  */
63956 char $ac_func ();
63957 /* The GNU C library defines this for functions which it implements
63958     to always fail with ENOSYS.  Some functions are actually named
63959     something starting with __ and the normal name is an alias.  */
63960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63961 choke me
63962 #else
63963 char (*f) () = $ac_func;
63964 #endif
63965 #ifdef __cplusplus
63966 }
63967 #endif
63968
63969 int
63970 main ()
63971 {
63972 return f != $ac_func;
63973   ;
63974   return 0;
63975 }
63976 _ACEOF
63977 rm -f conftest.$ac_objext conftest$ac_exeext
63978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63979   (eval $ac_link) 2>conftest.er1
63980   ac_status=$?
63981   grep -v '^ *+' conftest.er1 >conftest.err
63982   rm -f conftest.er1
63983   cat conftest.err >&5
63984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63985   (exit $ac_status); } &&
63986          { ac_try='test -z "$ac_c_werror_flag"
63987                          || test ! -s conftest.err'
63988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63989   (eval $ac_try) 2>&5
63990   ac_status=$?
63991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63992   (exit $ac_status); }; } &&
63993          { ac_try='test -s conftest$ac_exeext'
63994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63995   (eval $ac_try) 2>&5
63996   ac_status=$?
63997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63998   (exit $ac_status); }; }; then
63999   eval "$as_ac_var=yes"
64000 else
64001   echo "$as_me: failed program was:" >&5
64002 sed 's/^/| /' conftest.$ac_ext >&5
64003
64004 eval "$as_ac_var=no"
64005 fi
64006 rm -f conftest.err conftest.$ac_objext \
64007       conftest$ac_exeext conftest.$ac_ext
64008 fi
64009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64011 if test `eval echo '${'$as_ac_var'}'` = yes; then
64012   cat >>confdefs.h <<_ACEOF
64013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64014 _ACEOF
64015
64016 fi
64017 done
64018
64019   else
64020
64021   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
64022 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
64023   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64024     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
64025   echo $ECHO_N "(cached) $ECHO_C" >&6
64026 else
64027
64028
64029
64030       ac_ext=cc
64031 ac_cpp='$CXXCPP $CPPFLAGS'
64032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64035
64036       cat >conftest.$ac_ext <<_ACEOF
64037 /* confdefs.h.  */
64038 _ACEOF
64039 cat confdefs.h >>conftest.$ac_ext
64040 cat >>conftest.$ac_ext <<_ACEOF
64041 /* end confdefs.h.  */
64042 #include <math.h>
64043                       #ifdef HAVE_IEEEFP_H
64044                       #include <ieeefp.h>
64045                       #endif
64046
64047 int
64048 main ()
64049 {
64050  _isinfl(0);
64051   ;
64052   return 0;
64053 }
64054 _ACEOF
64055 rm -f conftest.$ac_objext
64056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64057   (eval $ac_compile) 2>conftest.er1
64058   ac_status=$?
64059   grep -v '^ *+' conftest.er1 >conftest.err
64060   rm -f conftest.er1
64061   cat conftest.err >&5
64062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64063   (exit $ac_status); } &&
64064          { ac_try='test -z "$ac_cxx_werror_flag"
64065                          || test ! -s conftest.err'
64066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64067   (eval $ac_try) 2>&5
64068   ac_status=$?
64069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64070   (exit $ac_status); }; } &&
64071          { ac_try='test -s conftest.$ac_objext'
64072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64073   (eval $ac_try) 2>&5
64074   ac_status=$?
64075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64076   (exit $ac_status); }; }; then
64077   glibcxx_cv_func__isinfl_use=yes
64078 else
64079   echo "$as_me: failed program was:" >&5
64080 sed 's/^/| /' conftest.$ac_ext >&5
64081
64082 glibcxx_cv_func__isinfl_use=no
64083 fi
64084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64085       ac_ext=c
64086 ac_cpp='$CPP $CPPFLAGS'
64087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64090
64091
64092 fi
64093
64094   fi
64095   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
64096 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
64097
64098     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64099
64100 for ac_func in _isinfl
64101 do
64102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64103 echo "$as_me:$LINENO: checking for $ac_func" >&5
64104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64105 if eval "test \"\${$as_ac_var+set}\" = set"; then
64106   echo $ECHO_N "(cached) $ECHO_C" >&6
64107 else
64108   if test x$gcc_no_link = xyes; then
64109   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64111    { (exit 1); exit 1; }; }
64112 fi
64113 cat >conftest.$ac_ext <<_ACEOF
64114 /* confdefs.h.  */
64115 _ACEOF
64116 cat confdefs.h >>conftest.$ac_ext
64117 cat >>conftest.$ac_ext <<_ACEOF
64118 /* end confdefs.h.  */
64119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64120    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64121 #define $ac_func innocuous_$ac_func
64122
64123 /* System header to define __stub macros and hopefully few prototypes,
64124     which can conflict with char $ac_func (); below.
64125     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64126     <limits.h> exists even on freestanding compilers.  */
64127
64128 #ifdef __STDC__
64129 # include <limits.h>
64130 #else
64131 # include <assert.h>
64132 #endif
64133
64134 #undef $ac_func
64135
64136 /* Override any gcc2 internal prototype to avoid an error.  */
64137 #ifdef __cplusplus
64138 extern "C"
64139 {
64140 #endif
64141 /* We use char because int might match the return type of a gcc2
64142    builtin and then its argument prototype would still apply.  */
64143 char $ac_func ();
64144 /* The GNU C library defines this for functions which it implements
64145     to always fail with ENOSYS.  Some functions are actually named
64146     something starting with __ and the normal name is an alias.  */
64147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64148 choke me
64149 #else
64150 char (*f) () = $ac_func;
64151 #endif
64152 #ifdef __cplusplus
64153 }
64154 #endif
64155
64156 int
64157 main ()
64158 {
64159 return f != $ac_func;
64160   ;
64161   return 0;
64162 }
64163 _ACEOF
64164 rm -f conftest.$ac_objext conftest$ac_exeext
64165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64166   (eval $ac_link) 2>conftest.er1
64167   ac_status=$?
64168   grep -v '^ *+' conftest.er1 >conftest.err
64169   rm -f conftest.er1
64170   cat conftest.err >&5
64171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64172   (exit $ac_status); } &&
64173          { ac_try='test -z "$ac_c_werror_flag"
64174                          || test ! -s conftest.err'
64175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64176   (eval $ac_try) 2>&5
64177   ac_status=$?
64178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64179   (exit $ac_status); }; } &&
64180          { ac_try='test -s conftest$ac_exeext'
64181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64182   (eval $ac_try) 2>&5
64183   ac_status=$?
64184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64185   (exit $ac_status); }; }; then
64186   eval "$as_ac_var=yes"
64187 else
64188   echo "$as_me: failed program was:" >&5
64189 sed 's/^/| /' conftest.$ac_ext >&5
64190
64191 eval "$as_ac_var=no"
64192 fi
64193 rm -f conftest.err conftest.$ac_objext \
64194       conftest$ac_exeext conftest.$ac_ext
64195 fi
64196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64198 if test `eval echo '${'$as_ac_var'}'` = yes; then
64199   cat >>confdefs.h <<_ACEOF
64200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64201 _ACEOF
64202
64203 fi
64204 done
64205
64206     fi
64207   fi
64208
64209
64210
64211   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
64212 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
64213   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
64214     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
64215   echo $ECHO_N "(cached) $ECHO_C" >&6
64216 else
64217
64218
64219
64220       ac_ext=cc
64221 ac_cpp='$CXXCPP $CPPFLAGS'
64222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64225
64226       cat >conftest.$ac_ext <<_ACEOF
64227 /* confdefs.h.  */
64228 _ACEOF
64229 cat confdefs.h >>conftest.$ac_ext
64230 cat >>conftest.$ac_ext <<_ACEOF
64231 /* end confdefs.h.  */
64232 #include <math.h>
64233 int
64234 main ()
64235 {
64236  copysignl(0, 0);
64237   ;
64238   return 0;
64239 }
64240 _ACEOF
64241 rm -f conftest.$ac_objext
64242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64243   (eval $ac_compile) 2>conftest.er1
64244   ac_status=$?
64245   grep -v '^ *+' conftest.er1 >conftest.err
64246   rm -f conftest.er1
64247   cat conftest.err >&5
64248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64249   (exit $ac_status); } &&
64250          { ac_try='test -z "$ac_cxx_werror_flag"
64251                          || test ! -s conftest.err'
64252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64253   (eval $ac_try) 2>&5
64254   ac_status=$?
64255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64256   (exit $ac_status); }; } &&
64257          { ac_try='test -s conftest.$ac_objext'
64258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64259   (eval $ac_try) 2>&5
64260   ac_status=$?
64261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64262   (exit $ac_status); }; }; then
64263   glibcxx_cv_func_copysignl_use=yes
64264 else
64265   echo "$as_me: failed program was:" >&5
64266 sed 's/^/| /' conftest.$ac_ext >&5
64267
64268 glibcxx_cv_func_copysignl_use=no
64269 fi
64270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64271       ac_ext=c
64272 ac_cpp='$CPP $CPPFLAGS'
64273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64276
64277
64278 fi
64279
64280   fi
64281   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
64282 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
64283
64284   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
64285
64286 for ac_func in copysignl
64287 do
64288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64289 echo "$as_me:$LINENO: checking for $ac_func" >&5
64290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64291 if eval "test \"\${$as_ac_var+set}\" = set"; then
64292   echo $ECHO_N "(cached) $ECHO_C" >&6
64293 else
64294   if test x$gcc_no_link = xyes; then
64295   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64297    { (exit 1); exit 1; }; }
64298 fi
64299 cat >conftest.$ac_ext <<_ACEOF
64300 /* confdefs.h.  */
64301 _ACEOF
64302 cat confdefs.h >>conftest.$ac_ext
64303 cat >>conftest.$ac_ext <<_ACEOF
64304 /* end confdefs.h.  */
64305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64306    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64307 #define $ac_func innocuous_$ac_func
64308
64309 /* System header to define __stub macros and hopefully few prototypes,
64310     which can conflict with char $ac_func (); below.
64311     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64312     <limits.h> exists even on freestanding compilers.  */
64313
64314 #ifdef __STDC__
64315 # include <limits.h>
64316 #else
64317 # include <assert.h>
64318 #endif
64319
64320 #undef $ac_func
64321
64322 /* Override any gcc2 internal prototype to avoid an error.  */
64323 #ifdef __cplusplus
64324 extern "C"
64325 {
64326 #endif
64327 /* We use char because int might match the return type of a gcc2
64328    builtin and then its argument prototype would still apply.  */
64329 char $ac_func ();
64330 /* The GNU C library defines this for functions which it implements
64331     to always fail with ENOSYS.  Some functions are actually named
64332     something starting with __ and the normal name is an alias.  */
64333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64334 choke me
64335 #else
64336 char (*f) () = $ac_func;
64337 #endif
64338 #ifdef __cplusplus
64339 }
64340 #endif
64341
64342 int
64343 main ()
64344 {
64345 return f != $ac_func;
64346   ;
64347   return 0;
64348 }
64349 _ACEOF
64350 rm -f conftest.$ac_objext conftest$ac_exeext
64351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64352   (eval $ac_link) 2>conftest.er1
64353   ac_status=$?
64354   grep -v '^ *+' conftest.er1 >conftest.err
64355   rm -f conftest.er1
64356   cat conftest.err >&5
64357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64358   (exit $ac_status); } &&
64359          { ac_try='test -z "$ac_c_werror_flag"
64360                          || test ! -s conftest.err'
64361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64362   (eval $ac_try) 2>&5
64363   ac_status=$?
64364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64365   (exit $ac_status); }; } &&
64366          { ac_try='test -s conftest$ac_exeext'
64367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64368   (eval $ac_try) 2>&5
64369   ac_status=$?
64370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64371   (exit $ac_status); }; }; then
64372   eval "$as_ac_var=yes"
64373 else
64374   echo "$as_me: failed program was:" >&5
64375 sed 's/^/| /' conftest.$ac_ext >&5
64376
64377 eval "$as_ac_var=no"
64378 fi
64379 rm -f conftest.err conftest.$ac_objext \
64380       conftest$ac_exeext conftest.$ac_ext
64381 fi
64382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64384 if test `eval echo '${'$as_ac_var'}'` = yes; then
64385   cat >>confdefs.h <<_ACEOF
64386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64387 _ACEOF
64388
64389 fi
64390 done
64391
64392   else
64393
64394   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
64395 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
64396   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
64397     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
64398   echo $ECHO_N "(cached) $ECHO_C" >&6
64399 else
64400
64401
64402
64403       ac_ext=cc
64404 ac_cpp='$CXXCPP $CPPFLAGS'
64405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64408
64409       cat >conftest.$ac_ext <<_ACEOF
64410 /* confdefs.h.  */
64411 _ACEOF
64412 cat confdefs.h >>conftest.$ac_ext
64413 cat >>conftest.$ac_ext <<_ACEOF
64414 /* end confdefs.h.  */
64415 #include <math.h>
64416 int
64417 main ()
64418 {
64419  _copysignl(0, 0);
64420   ;
64421   return 0;
64422 }
64423 _ACEOF
64424 rm -f conftest.$ac_objext
64425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64426   (eval $ac_compile) 2>conftest.er1
64427   ac_status=$?
64428   grep -v '^ *+' conftest.er1 >conftest.err
64429   rm -f conftest.er1
64430   cat conftest.err >&5
64431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64432   (exit $ac_status); } &&
64433          { ac_try='test -z "$ac_cxx_werror_flag"
64434                          || test ! -s conftest.err'
64435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64436   (eval $ac_try) 2>&5
64437   ac_status=$?
64438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64439   (exit $ac_status); }; } &&
64440          { ac_try='test -s conftest.$ac_objext'
64441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64442   (eval $ac_try) 2>&5
64443   ac_status=$?
64444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64445   (exit $ac_status); }; }; then
64446   glibcxx_cv_func__copysignl_use=yes
64447 else
64448   echo "$as_me: failed program was:" >&5
64449 sed 's/^/| /' conftest.$ac_ext >&5
64450
64451 glibcxx_cv_func__copysignl_use=no
64452 fi
64453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64454       ac_ext=c
64455 ac_cpp='$CPP $CPPFLAGS'
64456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64459
64460
64461 fi
64462
64463   fi
64464   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
64465 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
64466
64467     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
64468
64469 for ac_func in _copysignl
64470 do
64471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64472 echo "$as_me:$LINENO: checking for $ac_func" >&5
64473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64474 if eval "test \"\${$as_ac_var+set}\" = set"; then
64475   echo $ECHO_N "(cached) $ECHO_C" >&6
64476 else
64477   if test x$gcc_no_link = xyes; then
64478   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64480    { (exit 1); exit 1; }; }
64481 fi
64482 cat >conftest.$ac_ext <<_ACEOF
64483 /* confdefs.h.  */
64484 _ACEOF
64485 cat confdefs.h >>conftest.$ac_ext
64486 cat >>conftest.$ac_ext <<_ACEOF
64487 /* end confdefs.h.  */
64488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64489    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64490 #define $ac_func innocuous_$ac_func
64491
64492 /* System header to define __stub macros and hopefully few prototypes,
64493     which can conflict with char $ac_func (); below.
64494     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64495     <limits.h> exists even on freestanding compilers.  */
64496
64497 #ifdef __STDC__
64498 # include <limits.h>
64499 #else
64500 # include <assert.h>
64501 #endif
64502
64503 #undef $ac_func
64504
64505 /* Override any gcc2 internal prototype to avoid an error.  */
64506 #ifdef __cplusplus
64507 extern "C"
64508 {
64509 #endif
64510 /* We use char because int might match the return type of a gcc2
64511    builtin and then its argument prototype would still apply.  */
64512 char $ac_func ();
64513 /* The GNU C library defines this for functions which it implements
64514     to always fail with ENOSYS.  Some functions are actually named
64515     something starting with __ and the normal name is an alias.  */
64516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64517 choke me
64518 #else
64519 char (*f) () = $ac_func;
64520 #endif
64521 #ifdef __cplusplus
64522 }
64523 #endif
64524
64525 int
64526 main ()
64527 {
64528 return f != $ac_func;
64529   ;
64530   return 0;
64531 }
64532 _ACEOF
64533 rm -f conftest.$ac_objext conftest$ac_exeext
64534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64535   (eval $ac_link) 2>conftest.er1
64536   ac_status=$?
64537   grep -v '^ *+' conftest.er1 >conftest.err
64538   rm -f conftest.er1
64539   cat conftest.err >&5
64540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64541   (exit $ac_status); } &&
64542          { ac_try='test -z "$ac_c_werror_flag"
64543                          || test ! -s conftest.err'
64544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64545   (eval $ac_try) 2>&5
64546   ac_status=$?
64547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64548   (exit $ac_status); }; } &&
64549          { ac_try='test -s conftest$ac_exeext'
64550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64551   (eval $ac_try) 2>&5
64552   ac_status=$?
64553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64554   (exit $ac_status); }; }; then
64555   eval "$as_ac_var=yes"
64556 else
64557   echo "$as_me: failed program was:" >&5
64558 sed 's/^/| /' conftest.$ac_ext >&5
64559
64560 eval "$as_ac_var=no"
64561 fi
64562 rm -f conftest.err conftest.$ac_objext \
64563       conftest$ac_exeext conftest.$ac_ext
64564 fi
64565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64567 if test `eval echo '${'$as_ac_var'}'` = yes; then
64568   cat >>confdefs.h <<_ACEOF
64569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64570 _ACEOF
64571
64572 fi
64573 done
64574
64575     fi
64576   fi
64577
64578
64579
64580   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
64581 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
64582   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64583     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
64584   echo $ECHO_N "(cached) $ECHO_C" >&6
64585 else
64586
64587
64588
64589       ac_ext=cc
64590 ac_cpp='$CXXCPP $CPPFLAGS'
64591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64594
64595       cat >conftest.$ac_ext <<_ACEOF
64596 /* confdefs.h.  */
64597 _ACEOF
64598 cat confdefs.h >>conftest.$ac_ext
64599 cat >>conftest.$ac_ext <<_ACEOF
64600 /* end confdefs.h.  */
64601 #include <math.h>
64602 int
64603 main ()
64604 {
64605  atan2l(0, 0);
64606   ;
64607   return 0;
64608 }
64609 _ACEOF
64610 rm -f conftest.$ac_objext
64611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64612   (eval $ac_compile) 2>conftest.er1
64613   ac_status=$?
64614   grep -v '^ *+' conftest.er1 >conftest.err
64615   rm -f conftest.er1
64616   cat conftest.err >&5
64617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64618   (exit $ac_status); } &&
64619          { ac_try='test -z "$ac_cxx_werror_flag"
64620                          || test ! -s conftest.err'
64621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64622   (eval $ac_try) 2>&5
64623   ac_status=$?
64624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64625   (exit $ac_status); }; } &&
64626          { ac_try='test -s conftest.$ac_objext'
64627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64628   (eval $ac_try) 2>&5
64629   ac_status=$?
64630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64631   (exit $ac_status); }; }; then
64632   glibcxx_cv_func_atan2l_use=yes
64633 else
64634   echo "$as_me: failed program was:" >&5
64635 sed 's/^/| /' conftest.$ac_ext >&5
64636
64637 glibcxx_cv_func_atan2l_use=no
64638 fi
64639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64640       ac_ext=c
64641 ac_cpp='$CPP $CPPFLAGS'
64642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64645
64646
64647 fi
64648
64649   fi
64650   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
64651 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
64652
64653   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64654
64655 for ac_func in atan2l
64656 do
64657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64658 echo "$as_me:$LINENO: checking for $ac_func" >&5
64659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64660 if eval "test \"\${$as_ac_var+set}\" = set"; then
64661   echo $ECHO_N "(cached) $ECHO_C" >&6
64662 else
64663   if test x$gcc_no_link = xyes; then
64664   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64666    { (exit 1); exit 1; }; }
64667 fi
64668 cat >conftest.$ac_ext <<_ACEOF
64669 /* confdefs.h.  */
64670 _ACEOF
64671 cat confdefs.h >>conftest.$ac_ext
64672 cat >>conftest.$ac_ext <<_ACEOF
64673 /* end confdefs.h.  */
64674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64675    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64676 #define $ac_func innocuous_$ac_func
64677
64678 /* System header to define __stub macros and hopefully few prototypes,
64679     which can conflict with char $ac_func (); below.
64680     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64681     <limits.h> exists even on freestanding compilers.  */
64682
64683 #ifdef __STDC__
64684 # include <limits.h>
64685 #else
64686 # include <assert.h>
64687 #endif
64688
64689 #undef $ac_func
64690
64691 /* Override any gcc2 internal prototype to avoid an error.  */
64692 #ifdef __cplusplus
64693 extern "C"
64694 {
64695 #endif
64696 /* We use char because int might match the return type of a gcc2
64697    builtin and then its argument prototype would still apply.  */
64698 char $ac_func ();
64699 /* The GNU C library defines this for functions which it implements
64700     to always fail with ENOSYS.  Some functions are actually named
64701     something starting with __ and the normal name is an alias.  */
64702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64703 choke me
64704 #else
64705 char (*f) () = $ac_func;
64706 #endif
64707 #ifdef __cplusplus
64708 }
64709 #endif
64710
64711 int
64712 main ()
64713 {
64714 return f != $ac_func;
64715   ;
64716   return 0;
64717 }
64718 _ACEOF
64719 rm -f conftest.$ac_objext conftest$ac_exeext
64720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64721   (eval $ac_link) 2>conftest.er1
64722   ac_status=$?
64723   grep -v '^ *+' conftest.er1 >conftest.err
64724   rm -f conftest.er1
64725   cat conftest.err >&5
64726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64727   (exit $ac_status); } &&
64728          { ac_try='test -z "$ac_c_werror_flag"
64729                          || test ! -s conftest.err'
64730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64731   (eval $ac_try) 2>&5
64732   ac_status=$?
64733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64734   (exit $ac_status); }; } &&
64735          { ac_try='test -s conftest$ac_exeext'
64736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64737   (eval $ac_try) 2>&5
64738   ac_status=$?
64739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64740   (exit $ac_status); }; }; then
64741   eval "$as_ac_var=yes"
64742 else
64743   echo "$as_me: failed program was:" >&5
64744 sed 's/^/| /' conftest.$ac_ext >&5
64745
64746 eval "$as_ac_var=no"
64747 fi
64748 rm -f conftest.err conftest.$ac_objext \
64749       conftest$ac_exeext conftest.$ac_ext
64750 fi
64751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64753 if test `eval echo '${'$as_ac_var'}'` = yes; then
64754   cat >>confdefs.h <<_ACEOF
64755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64756 _ACEOF
64757
64758 fi
64759 done
64760
64761   else
64762
64763   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
64764 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
64765   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64766     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
64767   echo $ECHO_N "(cached) $ECHO_C" >&6
64768 else
64769
64770
64771
64772       ac_ext=cc
64773 ac_cpp='$CXXCPP $CPPFLAGS'
64774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64777
64778       cat >conftest.$ac_ext <<_ACEOF
64779 /* confdefs.h.  */
64780 _ACEOF
64781 cat confdefs.h >>conftest.$ac_ext
64782 cat >>conftest.$ac_ext <<_ACEOF
64783 /* end confdefs.h.  */
64784 #include <math.h>
64785 int
64786 main ()
64787 {
64788  _atan2l(0, 0);
64789   ;
64790   return 0;
64791 }
64792 _ACEOF
64793 rm -f conftest.$ac_objext
64794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64795   (eval $ac_compile) 2>conftest.er1
64796   ac_status=$?
64797   grep -v '^ *+' conftest.er1 >conftest.err
64798   rm -f conftest.er1
64799   cat conftest.err >&5
64800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64801   (exit $ac_status); } &&
64802          { ac_try='test -z "$ac_cxx_werror_flag"
64803                          || test ! -s conftest.err'
64804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64805   (eval $ac_try) 2>&5
64806   ac_status=$?
64807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64808   (exit $ac_status); }; } &&
64809          { ac_try='test -s conftest.$ac_objext'
64810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64811   (eval $ac_try) 2>&5
64812   ac_status=$?
64813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64814   (exit $ac_status); }; }; then
64815   glibcxx_cv_func__atan2l_use=yes
64816 else
64817   echo "$as_me: failed program was:" >&5
64818 sed 's/^/| /' conftest.$ac_ext >&5
64819
64820 glibcxx_cv_func__atan2l_use=no
64821 fi
64822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64823       ac_ext=c
64824 ac_cpp='$CPP $CPPFLAGS'
64825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64828
64829
64830 fi
64831
64832   fi
64833   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
64834 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
64835
64836     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64837
64838 for ac_func in _atan2l
64839 do
64840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64841 echo "$as_me:$LINENO: checking for $ac_func" >&5
64842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64843 if eval "test \"\${$as_ac_var+set}\" = set"; then
64844   echo $ECHO_N "(cached) $ECHO_C" >&6
64845 else
64846   if test x$gcc_no_link = xyes; then
64847   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64849    { (exit 1); exit 1; }; }
64850 fi
64851 cat >conftest.$ac_ext <<_ACEOF
64852 /* confdefs.h.  */
64853 _ACEOF
64854 cat confdefs.h >>conftest.$ac_ext
64855 cat >>conftest.$ac_ext <<_ACEOF
64856 /* end confdefs.h.  */
64857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64858    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64859 #define $ac_func innocuous_$ac_func
64860
64861 /* System header to define __stub macros and hopefully few prototypes,
64862     which can conflict with char $ac_func (); below.
64863     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64864     <limits.h> exists even on freestanding compilers.  */
64865
64866 #ifdef __STDC__
64867 # include <limits.h>
64868 #else
64869 # include <assert.h>
64870 #endif
64871
64872 #undef $ac_func
64873
64874 /* Override any gcc2 internal prototype to avoid an error.  */
64875 #ifdef __cplusplus
64876 extern "C"
64877 {
64878 #endif
64879 /* We use char because int might match the return type of a gcc2
64880    builtin and then its argument prototype would still apply.  */
64881 char $ac_func ();
64882 /* The GNU C library defines this for functions which it implements
64883     to always fail with ENOSYS.  Some functions are actually named
64884     something starting with __ and the normal name is an alias.  */
64885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64886 choke me
64887 #else
64888 char (*f) () = $ac_func;
64889 #endif
64890 #ifdef __cplusplus
64891 }
64892 #endif
64893
64894 int
64895 main ()
64896 {
64897 return f != $ac_func;
64898   ;
64899   return 0;
64900 }
64901 _ACEOF
64902 rm -f conftest.$ac_objext conftest$ac_exeext
64903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64904   (eval $ac_link) 2>conftest.er1
64905   ac_status=$?
64906   grep -v '^ *+' conftest.er1 >conftest.err
64907   rm -f conftest.er1
64908   cat conftest.err >&5
64909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64910   (exit $ac_status); } &&
64911          { ac_try='test -z "$ac_c_werror_flag"
64912                          || test ! -s conftest.err'
64913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64914   (eval $ac_try) 2>&5
64915   ac_status=$?
64916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64917   (exit $ac_status); }; } &&
64918          { ac_try='test -s conftest$ac_exeext'
64919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64920   (eval $ac_try) 2>&5
64921   ac_status=$?
64922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64923   (exit $ac_status); }; }; then
64924   eval "$as_ac_var=yes"
64925 else
64926   echo "$as_me: failed program was:" >&5
64927 sed 's/^/| /' conftest.$ac_ext >&5
64928
64929 eval "$as_ac_var=no"
64930 fi
64931 rm -f conftest.err conftest.$ac_objext \
64932       conftest$ac_exeext conftest.$ac_ext
64933 fi
64934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64936 if test `eval echo '${'$as_ac_var'}'` = yes; then
64937   cat >>confdefs.h <<_ACEOF
64938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64939 _ACEOF
64940
64941 fi
64942 done
64943
64944     fi
64945   fi
64946
64947
64948
64949   echo "$as_me:$LINENO: checking for expl declaration" >&5
64950 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
64951   if test x${glibcxx_cv_func_expl_use+set} != xset; then
64952     if test "${glibcxx_cv_func_expl_use+set}" = set; then
64953   echo $ECHO_N "(cached) $ECHO_C" >&6
64954 else
64955
64956
64957
64958       ac_ext=cc
64959 ac_cpp='$CXXCPP $CPPFLAGS'
64960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64963
64964       cat >conftest.$ac_ext <<_ACEOF
64965 /* confdefs.h.  */
64966 _ACEOF
64967 cat confdefs.h >>conftest.$ac_ext
64968 cat >>conftest.$ac_ext <<_ACEOF
64969 /* end confdefs.h.  */
64970 #include <math.h>
64971                       #ifdef HAVE_IEEEFP_H
64972                       #include <ieeefp.h>
64973                       #endif
64974
64975 int
64976 main ()
64977 {
64978  expl(0);
64979   ;
64980   return 0;
64981 }
64982 _ACEOF
64983 rm -f conftest.$ac_objext
64984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64985   (eval $ac_compile) 2>conftest.er1
64986   ac_status=$?
64987   grep -v '^ *+' conftest.er1 >conftest.err
64988   rm -f conftest.er1
64989   cat conftest.err >&5
64990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64991   (exit $ac_status); } &&
64992          { ac_try='test -z "$ac_cxx_werror_flag"
64993                          || test ! -s conftest.err'
64994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64995   (eval $ac_try) 2>&5
64996   ac_status=$?
64997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64998   (exit $ac_status); }; } &&
64999          { ac_try='test -s conftest.$ac_objext'
65000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65001   (eval $ac_try) 2>&5
65002   ac_status=$?
65003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65004   (exit $ac_status); }; }; then
65005   glibcxx_cv_func_expl_use=yes
65006 else
65007   echo "$as_me: failed program was:" >&5
65008 sed 's/^/| /' conftest.$ac_ext >&5
65009
65010 glibcxx_cv_func_expl_use=no
65011 fi
65012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65013       ac_ext=c
65014 ac_cpp='$CPP $CPPFLAGS'
65015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65018
65019
65020 fi
65021
65022   fi
65023   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
65024 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
65025
65026   if test x$glibcxx_cv_func_expl_use = x"yes"; then
65027
65028 for ac_func in expl
65029 do
65030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65031 echo "$as_me:$LINENO: checking for $ac_func" >&5
65032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65033 if eval "test \"\${$as_ac_var+set}\" = set"; then
65034   echo $ECHO_N "(cached) $ECHO_C" >&6
65035 else
65036   if test x$gcc_no_link = xyes; then
65037   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65039    { (exit 1); exit 1; }; }
65040 fi
65041 cat >conftest.$ac_ext <<_ACEOF
65042 /* confdefs.h.  */
65043 _ACEOF
65044 cat confdefs.h >>conftest.$ac_ext
65045 cat >>conftest.$ac_ext <<_ACEOF
65046 /* end confdefs.h.  */
65047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65048    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65049 #define $ac_func innocuous_$ac_func
65050
65051 /* System header to define __stub macros and hopefully few prototypes,
65052     which can conflict with char $ac_func (); below.
65053     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65054     <limits.h> exists even on freestanding compilers.  */
65055
65056 #ifdef __STDC__
65057 # include <limits.h>
65058 #else
65059 # include <assert.h>
65060 #endif
65061
65062 #undef $ac_func
65063
65064 /* Override any gcc2 internal prototype to avoid an error.  */
65065 #ifdef __cplusplus
65066 extern "C"
65067 {
65068 #endif
65069 /* We use char because int might match the return type of a gcc2
65070    builtin and then its argument prototype would still apply.  */
65071 char $ac_func ();
65072 /* The GNU C library defines this for functions which it implements
65073     to always fail with ENOSYS.  Some functions are actually named
65074     something starting with __ and the normal name is an alias.  */
65075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65076 choke me
65077 #else
65078 char (*f) () = $ac_func;
65079 #endif
65080 #ifdef __cplusplus
65081 }
65082 #endif
65083
65084 int
65085 main ()
65086 {
65087 return f != $ac_func;
65088   ;
65089   return 0;
65090 }
65091 _ACEOF
65092 rm -f conftest.$ac_objext conftest$ac_exeext
65093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65094   (eval $ac_link) 2>conftest.er1
65095   ac_status=$?
65096   grep -v '^ *+' conftest.er1 >conftest.err
65097   rm -f conftest.er1
65098   cat conftest.err >&5
65099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65100   (exit $ac_status); } &&
65101          { ac_try='test -z "$ac_c_werror_flag"
65102                          || test ! -s conftest.err'
65103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65104   (eval $ac_try) 2>&5
65105   ac_status=$?
65106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65107   (exit $ac_status); }; } &&
65108          { ac_try='test -s conftest$ac_exeext'
65109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65110   (eval $ac_try) 2>&5
65111   ac_status=$?
65112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65113   (exit $ac_status); }; }; then
65114   eval "$as_ac_var=yes"
65115 else
65116   echo "$as_me: failed program was:" >&5
65117 sed 's/^/| /' conftest.$ac_ext >&5
65118
65119 eval "$as_ac_var=no"
65120 fi
65121 rm -f conftest.err conftest.$ac_objext \
65122       conftest$ac_exeext conftest.$ac_ext
65123 fi
65124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65126 if test `eval echo '${'$as_ac_var'}'` = yes; then
65127   cat >>confdefs.h <<_ACEOF
65128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65129 _ACEOF
65130
65131 fi
65132 done
65133
65134   else
65135
65136   echo "$as_me:$LINENO: checking for _expl declaration" >&5
65137 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
65138   if test x${glibcxx_cv_func__expl_use+set} != xset; then
65139     if test "${glibcxx_cv_func__expl_use+set}" = set; then
65140   echo $ECHO_N "(cached) $ECHO_C" >&6
65141 else
65142
65143
65144
65145       ac_ext=cc
65146 ac_cpp='$CXXCPP $CPPFLAGS'
65147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65150
65151       cat >conftest.$ac_ext <<_ACEOF
65152 /* confdefs.h.  */
65153 _ACEOF
65154 cat confdefs.h >>conftest.$ac_ext
65155 cat >>conftest.$ac_ext <<_ACEOF
65156 /* end confdefs.h.  */
65157 #include <math.h>
65158                       #ifdef HAVE_IEEEFP_H
65159                       #include <ieeefp.h>
65160                       #endif
65161
65162 int
65163 main ()
65164 {
65165  _expl(0);
65166   ;
65167   return 0;
65168 }
65169 _ACEOF
65170 rm -f conftest.$ac_objext
65171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65172   (eval $ac_compile) 2>conftest.er1
65173   ac_status=$?
65174   grep -v '^ *+' conftest.er1 >conftest.err
65175   rm -f conftest.er1
65176   cat conftest.err >&5
65177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65178   (exit $ac_status); } &&
65179          { ac_try='test -z "$ac_cxx_werror_flag"
65180                          || test ! -s conftest.err'
65181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65182   (eval $ac_try) 2>&5
65183   ac_status=$?
65184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65185   (exit $ac_status); }; } &&
65186          { ac_try='test -s conftest.$ac_objext'
65187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65188   (eval $ac_try) 2>&5
65189   ac_status=$?
65190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65191   (exit $ac_status); }; }; then
65192   glibcxx_cv_func__expl_use=yes
65193 else
65194   echo "$as_me: failed program was:" >&5
65195 sed 's/^/| /' conftest.$ac_ext >&5
65196
65197 glibcxx_cv_func__expl_use=no
65198 fi
65199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65200       ac_ext=c
65201 ac_cpp='$CPP $CPPFLAGS'
65202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65205
65206
65207 fi
65208
65209   fi
65210   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
65211 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
65212
65213     if test x$glibcxx_cv_func__expl_use = x"yes"; then
65214
65215 for ac_func in _expl
65216 do
65217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65218 echo "$as_me:$LINENO: checking for $ac_func" >&5
65219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65220 if eval "test \"\${$as_ac_var+set}\" = set"; then
65221   echo $ECHO_N "(cached) $ECHO_C" >&6
65222 else
65223   if test x$gcc_no_link = xyes; then
65224   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65226    { (exit 1); exit 1; }; }
65227 fi
65228 cat >conftest.$ac_ext <<_ACEOF
65229 /* confdefs.h.  */
65230 _ACEOF
65231 cat confdefs.h >>conftest.$ac_ext
65232 cat >>conftest.$ac_ext <<_ACEOF
65233 /* end confdefs.h.  */
65234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65235    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65236 #define $ac_func innocuous_$ac_func
65237
65238 /* System header to define __stub macros and hopefully few prototypes,
65239     which can conflict with char $ac_func (); below.
65240     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65241     <limits.h> exists even on freestanding compilers.  */
65242
65243 #ifdef __STDC__
65244 # include <limits.h>
65245 #else
65246 # include <assert.h>
65247 #endif
65248
65249 #undef $ac_func
65250
65251 /* Override any gcc2 internal prototype to avoid an error.  */
65252 #ifdef __cplusplus
65253 extern "C"
65254 {
65255 #endif
65256 /* We use char because int might match the return type of a gcc2
65257    builtin and then its argument prototype would still apply.  */
65258 char $ac_func ();
65259 /* The GNU C library defines this for functions which it implements
65260     to always fail with ENOSYS.  Some functions are actually named
65261     something starting with __ and the normal name is an alias.  */
65262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65263 choke me
65264 #else
65265 char (*f) () = $ac_func;
65266 #endif
65267 #ifdef __cplusplus
65268 }
65269 #endif
65270
65271 int
65272 main ()
65273 {
65274 return f != $ac_func;
65275   ;
65276   return 0;
65277 }
65278 _ACEOF
65279 rm -f conftest.$ac_objext conftest$ac_exeext
65280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65281   (eval $ac_link) 2>conftest.er1
65282   ac_status=$?
65283   grep -v '^ *+' conftest.er1 >conftest.err
65284   rm -f conftest.er1
65285   cat conftest.err >&5
65286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65287   (exit $ac_status); } &&
65288          { ac_try='test -z "$ac_c_werror_flag"
65289                          || test ! -s conftest.err'
65290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65291   (eval $ac_try) 2>&5
65292   ac_status=$?
65293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65294   (exit $ac_status); }; } &&
65295          { ac_try='test -s conftest$ac_exeext'
65296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65297   (eval $ac_try) 2>&5
65298   ac_status=$?
65299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65300   (exit $ac_status); }; }; then
65301   eval "$as_ac_var=yes"
65302 else
65303   echo "$as_me: failed program was:" >&5
65304 sed 's/^/| /' conftest.$ac_ext >&5
65305
65306 eval "$as_ac_var=no"
65307 fi
65308 rm -f conftest.err conftest.$ac_objext \
65309       conftest$ac_exeext conftest.$ac_ext
65310 fi
65311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65313 if test `eval echo '${'$as_ac_var'}'` = yes; then
65314   cat >>confdefs.h <<_ACEOF
65315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65316 _ACEOF
65317
65318 fi
65319 done
65320
65321     fi
65322   fi
65323
65324
65325
65326   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
65327 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
65328   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65329     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
65330   echo $ECHO_N "(cached) $ECHO_C" >&6
65331 else
65332
65333
65334
65335       ac_ext=cc
65336 ac_cpp='$CXXCPP $CPPFLAGS'
65337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65340
65341       cat >conftest.$ac_ext <<_ACEOF
65342 /* confdefs.h.  */
65343 _ACEOF
65344 cat confdefs.h >>conftest.$ac_ext
65345 cat >>conftest.$ac_ext <<_ACEOF
65346 /* end confdefs.h.  */
65347 #include <math.h>
65348                       #ifdef HAVE_IEEEFP_H
65349                       #include <ieeefp.h>
65350                       #endif
65351
65352 int
65353 main ()
65354 {
65355  fabsl(0);
65356   ;
65357   return 0;
65358 }
65359 _ACEOF
65360 rm -f conftest.$ac_objext
65361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65362   (eval $ac_compile) 2>conftest.er1
65363   ac_status=$?
65364   grep -v '^ *+' conftest.er1 >conftest.err
65365   rm -f conftest.er1
65366   cat conftest.err >&5
65367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65368   (exit $ac_status); } &&
65369          { ac_try='test -z "$ac_cxx_werror_flag"
65370                          || test ! -s conftest.err'
65371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65372   (eval $ac_try) 2>&5
65373   ac_status=$?
65374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65375   (exit $ac_status); }; } &&
65376          { ac_try='test -s conftest.$ac_objext'
65377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65378   (eval $ac_try) 2>&5
65379   ac_status=$?
65380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65381   (exit $ac_status); }; }; then
65382   glibcxx_cv_func_fabsl_use=yes
65383 else
65384   echo "$as_me: failed program was:" >&5
65385 sed 's/^/| /' conftest.$ac_ext >&5
65386
65387 glibcxx_cv_func_fabsl_use=no
65388 fi
65389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65390       ac_ext=c
65391 ac_cpp='$CPP $CPPFLAGS'
65392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65395
65396
65397 fi
65398
65399   fi
65400   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
65401 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
65402
65403   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65404
65405 for ac_func in fabsl
65406 do
65407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65408 echo "$as_me:$LINENO: checking for $ac_func" >&5
65409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65410 if eval "test \"\${$as_ac_var+set}\" = set"; then
65411   echo $ECHO_N "(cached) $ECHO_C" >&6
65412 else
65413   if test x$gcc_no_link = xyes; then
65414   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65416    { (exit 1); exit 1; }; }
65417 fi
65418 cat >conftest.$ac_ext <<_ACEOF
65419 /* confdefs.h.  */
65420 _ACEOF
65421 cat confdefs.h >>conftest.$ac_ext
65422 cat >>conftest.$ac_ext <<_ACEOF
65423 /* end confdefs.h.  */
65424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65425    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65426 #define $ac_func innocuous_$ac_func
65427
65428 /* System header to define __stub macros and hopefully few prototypes,
65429     which can conflict with char $ac_func (); below.
65430     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65431     <limits.h> exists even on freestanding compilers.  */
65432
65433 #ifdef __STDC__
65434 # include <limits.h>
65435 #else
65436 # include <assert.h>
65437 #endif
65438
65439 #undef $ac_func
65440
65441 /* Override any gcc2 internal prototype to avoid an error.  */
65442 #ifdef __cplusplus
65443 extern "C"
65444 {
65445 #endif
65446 /* We use char because int might match the return type of a gcc2
65447    builtin and then its argument prototype would still apply.  */
65448 char $ac_func ();
65449 /* The GNU C library defines this for functions which it implements
65450     to always fail with ENOSYS.  Some functions are actually named
65451     something starting with __ and the normal name is an alias.  */
65452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65453 choke me
65454 #else
65455 char (*f) () = $ac_func;
65456 #endif
65457 #ifdef __cplusplus
65458 }
65459 #endif
65460
65461 int
65462 main ()
65463 {
65464 return f != $ac_func;
65465   ;
65466   return 0;
65467 }
65468 _ACEOF
65469 rm -f conftest.$ac_objext conftest$ac_exeext
65470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65471   (eval $ac_link) 2>conftest.er1
65472   ac_status=$?
65473   grep -v '^ *+' conftest.er1 >conftest.err
65474   rm -f conftest.er1
65475   cat conftest.err >&5
65476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65477   (exit $ac_status); } &&
65478          { ac_try='test -z "$ac_c_werror_flag"
65479                          || test ! -s conftest.err'
65480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65481   (eval $ac_try) 2>&5
65482   ac_status=$?
65483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65484   (exit $ac_status); }; } &&
65485          { ac_try='test -s conftest$ac_exeext'
65486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65487   (eval $ac_try) 2>&5
65488   ac_status=$?
65489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65490   (exit $ac_status); }; }; then
65491   eval "$as_ac_var=yes"
65492 else
65493   echo "$as_me: failed program was:" >&5
65494 sed 's/^/| /' conftest.$ac_ext >&5
65495
65496 eval "$as_ac_var=no"
65497 fi
65498 rm -f conftest.err conftest.$ac_objext \
65499       conftest$ac_exeext conftest.$ac_ext
65500 fi
65501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65503 if test `eval echo '${'$as_ac_var'}'` = yes; then
65504   cat >>confdefs.h <<_ACEOF
65505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65506 _ACEOF
65507
65508 fi
65509 done
65510
65511   else
65512
65513   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
65514 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
65515   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65516     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
65517   echo $ECHO_N "(cached) $ECHO_C" >&6
65518 else
65519
65520
65521
65522       ac_ext=cc
65523 ac_cpp='$CXXCPP $CPPFLAGS'
65524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65527
65528       cat >conftest.$ac_ext <<_ACEOF
65529 /* confdefs.h.  */
65530 _ACEOF
65531 cat confdefs.h >>conftest.$ac_ext
65532 cat >>conftest.$ac_ext <<_ACEOF
65533 /* end confdefs.h.  */
65534 #include <math.h>
65535                       #ifdef HAVE_IEEEFP_H
65536                       #include <ieeefp.h>
65537                       #endif
65538
65539 int
65540 main ()
65541 {
65542  _fabsl(0);
65543   ;
65544   return 0;
65545 }
65546 _ACEOF
65547 rm -f conftest.$ac_objext
65548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65549   (eval $ac_compile) 2>conftest.er1
65550   ac_status=$?
65551   grep -v '^ *+' conftest.er1 >conftest.err
65552   rm -f conftest.er1
65553   cat conftest.err >&5
65554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65555   (exit $ac_status); } &&
65556          { ac_try='test -z "$ac_cxx_werror_flag"
65557                          || test ! -s conftest.err'
65558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65559   (eval $ac_try) 2>&5
65560   ac_status=$?
65561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65562   (exit $ac_status); }; } &&
65563          { ac_try='test -s conftest.$ac_objext'
65564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65565   (eval $ac_try) 2>&5
65566   ac_status=$?
65567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65568   (exit $ac_status); }; }; then
65569   glibcxx_cv_func__fabsl_use=yes
65570 else
65571   echo "$as_me: failed program was:" >&5
65572 sed 's/^/| /' conftest.$ac_ext >&5
65573
65574 glibcxx_cv_func__fabsl_use=no
65575 fi
65576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65577       ac_ext=c
65578 ac_cpp='$CPP $CPPFLAGS'
65579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65582
65583
65584 fi
65585
65586   fi
65587   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
65588 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
65589
65590     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65591
65592 for ac_func in _fabsl
65593 do
65594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65595 echo "$as_me:$LINENO: checking for $ac_func" >&5
65596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65597 if eval "test \"\${$as_ac_var+set}\" = set"; then
65598   echo $ECHO_N "(cached) $ECHO_C" >&6
65599 else
65600   if test x$gcc_no_link = xyes; then
65601   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65603    { (exit 1); exit 1; }; }
65604 fi
65605 cat >conftest.$ac_ext <<_ACEOF
65606 /* confdefs.h.  */
65607 _ACEOF
65608 cat confdefs.h >>conftest.$ac_ext
65609 cat >>conftest.$ac_ext <<_ACEOF
65610 /* end confdefs.h.  */
65611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65612    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65613 #define $ac_func innocuous_$ac_func
65614
65615 /* System header to define __stub macros and hopefully few prototypes,
65616     which can conflict with char $ac_func (); below.
65617     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65618     <limits.h> exists even on freestanding compilers.  */
65619
65620 #ifdef __STDC__
65621 # include <limits.h>
65622 #else
65623 # include <assert.h>
65624 #endif
65625
65626 #undef $ac_func
65627
65628 /* Override any gcc2 internal prototype to avoid an error.  */
65629 #ifdef __cplusplus
65630 extern "C"
65631 {
65632 #endif
65633 /* We use char because int might match the return type of a gcc2
65634    builtin and then its argument prototype would still apply.  */
65635 char $ac_func ();
65636 /* The GNU C library defines this for functions which it implements
65637     to always fail with ENOSYS.  Some functions are actually named
65638     something starting with __ and the normal name is an alias.  */
65639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65640 choke me
65641 #else
65642 char (*f) () = $ac_func;
65643 #endif
65644 #ifdef __cplusplus
65645 }
65646 #endif
65647
65648 int
65649 main ()
65650 {
65651 return f != $ac_func;
65652   ;
65653   return 0;
65654 }
65655 _ACEOF
65656 rm -f conftest.$ac_objext conftest$ac_exeext
65657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65658   (eval $ac_link) 2>conftest.er1
65659   ac_status=$?
65660   grep -v '^ *+' conftest.er1 >conftest.err
65661   rm -f conftest.er1
65662   cat conftest.err >&5
65663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65664   (exit $ac_status); } &&
65665          { ac_try='test -z "$ac_c_werror_flag"
65666                          || test ! -s conftest.err'
65667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65668   (eval $ac_try) 2>&5
65669   ac_status=$?
65670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65671   (exit $ac_status); }; } &&
65672          { ac_try='test -s conftest$ac_exeext'
65673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65674   (eval $ac_try) 2>&5
65675   ac_status=$?
65676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65677   (exit $ac_status); }; }; then
65678   eval "$as_ac_var=yes"
65679 else
65680   echo "$as_me: failed program was:" >&5
65681 sed 's/^/| /' conftest.$ac_ext >&5
65682
65683 eval "$as_ac_var=no"
65684 fi
65685 rm -f conftest.err conftest.$ac_objext \
65686       conftest$ac_exeext conftest.$ac_ext
65687 fi
65688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65690 if test `eval echo '${'$as_ac_var'}'` = yes; then
65691   cat >>confdefs.h <<_ACEOF
65692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65693 _ACEOF
65694
65695 fi
65696 done
65697
65698     fi
65699   fi
65700
65701
65702
65703   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
65704 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
65705   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65706     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
65707   echo $ECHO_N "(cached) $ECHO_C" >&6
65708 else
65709
65710
65711
65712       ac_ext=cc
65713 ac_cpp='$CXXCPP $CPPFLAGS'
65714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65717
65718       cat >conftest.$ac_ext <<_ACEOF
65719 /* confdefs.h.  */
65720 _ACEOF
65721 cat confdefs.h >>conftest.$ac_ext
65722 cat >>conftest.$ac_ext <<_ACEOF
65723 /* end confdefs.h.  */
65724 #include <math.h>
65725 int
65726 main ()
65727 {
65728  fmodl(0, 0);
65729   ;
65730   return 0;
65731 }
65732 _ACEOF
65733 rm -f conftest.$ac_objext
65734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65735   (eval $ac_compile) 2>conftest.er1
65736   ac_status=$?
65737   grep -v '^ *+' conftest.er1 >conftest.err
65738   rm -f conftest.er1
65739   cat conftest.err >&5
65740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65741   (exit $ac_status); } &&
65742          { ac_try='test -z "$ac_cxx_werror_flag"
65743                          || test ! -s conftest.err'
65744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65745   (eval $ac_try) 2>&5
65746   ac_status=$?
65747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65748   (exit $ac_status); }; } &&
65749          { ac_try='test -s conftest.$ac_objext'
65750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65751   (eval $ac_try) 2>&5
65752   ac_status=$?
65753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65754   (exit $ac_status); }; }; then
65755   glibcxx_cv_func_fmodl_use=yes
65756 else
65757   echo "$as_me: failed program was:" >&5
65758 sed 's/^/| /' conftest.$ac_ext >&5
65759
65760 glibcxx_cv_func_fmodl_use=no
65761 fi
65762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65763       ac_ext=c
65764 ac_cpp='$CPP $CPPFLAGS'
65765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65768
65769
65770 fi
65771
65772   fi
65773   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
65774 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
65775
65776   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65777
65778 for ac_func in fmodl
65779 do
65780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65781 echo "$as_me:$LINENO: checking for $ac_func" >&5
65782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65783 if eval "test \"\${$as_ac_var+set}\" = set"; then
65784   echo $ECHO_N "(cached) $ECHO_C" >&6
65785 else
65786   if test x$gcc_no_link = xyes; then
65787   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65789    { (exit 1); exit 1; }; }
65790 fi
65791 cat >conftest.$ac_ext <<_ACEOF
65792 /* confdefs.h.  */
65793 _ACEOF
65794 cat confdefs.h >>conftest.$ac_ext
65795 cat >>conftest.$ac_ext <<_ACEOF
65796 /* end confdefs.h.  */
65797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65798    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65799 #define $ac_func innocuous_$ac_func
65800
65801 /* System header to define __stub macros and hopefully few prototypes,
65802     which can conflict with char $ac_func (); below.
65803     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65804     <limits.h> exists even on freestanding compilers.  */
65805
65806 #ifdef __STDC__
65807 # include <limits.h>
65808 #else
65809 # include <assert.h>
65810 #endif
65811
65812 #undef $ac_func
65813
65814 /* Override any gcc2 internal prototype to avoid an error.  */
65815 #ifdef __cplusplus
65816 extern "C"
65817 {
65818 #endif
65819 /* We use char because int might match the return type of a gcc2
65820    builtin and then its argument prototype would still apply.  */
65821 char $ac_func ();
65822 /* The GNU C library defines this for functions which it implements
65823     to always fail with ENOSYS.  Some functions are actually named
65824     something starting with __ and the normal name is an alias.  */
65825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65826 choke me
65827 #else
65828 char (*f) () = $ac_func;
65829 #endif
65830 #ifdef __cplusplus
65831 }
65832 #endif
65833
65834 int
65835 main ()
65836 {
65837 return f != $ac_func;
65838   ;
65839   return 0;
65840 }
65841 _ACEOF
65842 rm -f conftest.$ac_objext conftest$ac_exeext
65843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65844   (eval $ac_link) 2>conftest.er1
65845   ac_status=$?
65846   grep -v '^ *+' conftest.er1 >conftest.err
65847   rm -f conftest.er1
65848   cat conftest.err >&5
65849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65850   (exit $ac_status); } &&
65851          { ac_try='test -z "$ac_c_werror_flag"
65852                          || test ! -s conftest.err'
65853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65854   (eval $ac_try) 2>&5
65855   ac_status=$?
65856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65857   (exit $ac_status); }; } &&
65858          { ac_try='test -s conftest$ac_exeext'
65859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65860   (eval $ac_try) 2>&5
65861   ac_status=$?
65862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65863   (exit $ac_status); }; }; then
65864   eval "$as_ac_var=yes"
65865 else
65866   echo "$as_me: failed program was:" >&5
65867 sed 's/^/| /' conftest.$ac_ext >&5
65868
65869 eval "$as_ac_var=no"
65870 fi
65871 rm -f conftest.err conftest.$ac_objext \
65872       conftest$ac_exeext conftest.$ac_ext
65873 fi
65874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65876 if test `eval echo '${'$as_ac_var'}'` = yes; then
65877   cat >>confdefs.h <<_ACEOF
65878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65879 _ACEOF
65880
65881 fi
65882 done
65883
65884   else
65885
65886   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
65887 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
65888   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65889     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
65890   echo $ECHO_N "(cached) $ECHO_C" >&6
65891 else
65892
65893
65894
65895       ac_ext=cc
65896 ac_cpp='$CXXCPP $CPPFLAGS'
65897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65900
65901       cat >conftest.$ac_ext <<_ACEOF
65902 /* confdefs.h.  */
65903 _ACEOF
65904 cat confdefs.h >>conftest.$ac_ext
65905 cat >>conftest.$ac_ext <<_ACEOF
65906 /* end confdefs.h.  */
65907 #include <math.h>
65908 int
65909 main ()
65910 {
65911  _fmodl(0, 0);
65912   ;
65913   return 0;
65914 }
65915 _ACEOF
65916 rm -f conftest.$ac_objext
65917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65918   (eval $ac_compile) 2>conftest.er1
65919   ac_status=$?
65920   grep -v '^ *+' conftest.er1 >conftest.err
65921   rm -f conftest.er1
65922   cat conftest.err >&5
65923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65924   (exit $ac_status); } &&
65925          { ac_try='test -z "$ac_cxx_werror_flag"
65926                          || test ! -s conftest.err'
65927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65928   (eval $ac_try) 2>&5
65929   ac_status=$?
65930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65931   (exit $ac_status); }; } &&
65932          { ac_try='test -s conftest.$ac_objext'
65933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65934   (eval $ac_try) 2>&5
65935   ac_status=$?
65936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65937   (exit $ac_status); }; }; then
65938   glibcxx_cv_func__fmodl_use=yes
65939 else
65940   echo "$as_me: failed program was:" >&5
65941 sed 's/^/| /' conftest.$ac_ext >&5
65942
65943 glibcxx_cv_func__fmodl_use=no
65944 fi
65945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65946       ac_ext=c
65947 ac_cpp='$CPP $CPPFLAGS'
65948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65951
65952
65953 fi
65954
65955   fi
65956   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
65957 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
65958
65959     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65960
65961 for ac_func in _fmodl
65962 do
65963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65964 echo "$as_me:$LINENO: checking for $ac_func" >&5
65965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65966 if eval "test \"\${$as_ac_var+set}\" = set"; then
65967   echo $ECHO_N "(cached) $ECHO_C" >&6
65968 else
65969   if test x$gcc_no_link = xyes; then
65970   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65972    { (exit 1); exit 1; }; }
65973 fi
65974 cat >conftest.$ac_ext <<_ACEOF
65975 /* confdefs.h.  */
65976 _ACEOF
65977 cat confdefs.h >>conftest.$ac_ext
65978 cat >>conftest.$ac_ext <<_ACEOF
65979 /* end confdefs.h.  */
65980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65981    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65982 #define $ac_func innocuous_$ac_func
65983
65984 /* System header to define __stub macros and hopefully few prototypes,
65985     which can conflict with char $ac_func (); below.
65986     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65987     <limits.h> exists even on freestanding compilers.  */
65988
65989 #ifdef __STDC__
65990 # include <limits.h>
65991 #else
65992 # include <assert.h>
65993 #endif
65994
65995 #undef $ac_func
65996
65997 /* Override any gcc2 internal prototype to avoid an error.  */
65998 #ifdef __cplusplus
65999 extern "C"
66000 {
66001 #endif
66002 /* We use char because int might match the return type of a gcc2
66003    builtin and then its argument prototype would still apply.  */
66004 char $ac_func ();
66005 /* The GNU C library defines this for functions which it implements
66006     to always fail with ENOSYS.  Some functions are actually named
66007     something starting with __ and the normal name is an alias.  */
66008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66009 choke me
66010 #else
66011 char (*f) () = $ac_func;
66012 #endif
66013 #ifdef __cplusplus
66014 }
66015 #endif
66016
66017 int
66018 main ()
66019 {
66020 return f != $ac_func;
66021   ;
66022   return 0;
66023 }
66024 _ACEOF
66025 rm -f conftest.$ac_objext conftest$ac_exeext
66026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66027   (eval $ac_link) 2>conftest.er1
66028   ac_status=$?
66029   grep -v '^ *+' conftest.er1 >conftest.err
66030   rm -f conftest.er1
66031   cat conftest.err >&5
66032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66033   (exit $ac_status); } &&
66034          { ac_try='test -z "$ac_c_werror_flag"
66035                          || test ! -s conftest.err'
66036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66037   (eval $ac_try) 2>&5
66038   ac_status=$?
66039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66040   (exit $ac_status); }; } &&
66041          { ac_try='test -s conftest$ac_exeext'
66042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66043   (eval $ac_try) 2>&5
66044   ac_status=$?
66045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66046   (exit $ac_status); }; }; then
66047   eval "$as_ac_var=yes"
66048 else
66049   echo "$as_me: failed program was:" >&5
66050 sed 's/^/| /' conftest.$ac_ext >&5
66051
66052 eval "$as_ac_var=no"
66053 fi
66054 rm -f conftest.err conftest.$ac_objext \
66055       conftest$ac_exeext conftest.$ac_ext
66056 fi
66057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66059 if test `eval echo '${'$as_ac_var'}'` = yes; then
66060   cat >>confdefs.h <<_ACEOF
66061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66062 _ACEOF
66063
66064 fi
66065 done
66066
66067     fi
66068   fi
66069
66070
66071
66072   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
66073 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
66074   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
66075     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
66076   echo $ECHO_N "(cached) $ECHO_C" >&6
66077 else
66078
66079
66080
66081       ac_ext=cc
66082 ac_cpp='$CXXCPP $CPPFLAGS'
66083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66086
66087       cat >conftest.$ac_ext <<_ACEOF
66088 /* confdefs.h.  */
66089 _ACEOF
66090 cat confdefs.h >>conftest.$ac_ext
66091 cat >>conftest.$ac_ext <<_ACEOF
66092 /* end confdefs.h.  */
66093 #include <math.h>
66094 int
66095 main ()
66096 {
66097  frexpl(0, 0);
66098   ;
66099   return 0;
66100 }
66101 _ACEOF
66102 rm -f conftest.$ac_objext
66103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66104   (eval $ac_compile) 2>conftest.er1
66105   ac_status=$?
66106   grep -v '^ *+' conftest.er1 >conftest.err
66107   rm -f conftest.er1
66108   cat conftest.err >&5
66109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66110   (exit $ac_status); } &&
66111          { ac_try='test -z "$ac_cxx_werror_flag"
66112                          || test ! -s conftest.err'
66113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66114   (eval $ac_try) 2>&5
66115   ac_status=$?
66116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66117   (exit $ac_status); }; } &&
66118          { ac_try='test -s conftest.$ac_objext'
66119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66120   (eval $ac_try) 2>&5
66121   ac_status=$?
66122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66123   (exit $ac_status); }; }; then
66124   glibcxx_cv_func_frexpl_use=yes
66125 else
66126   echo "$as_me: failed program was:" >&5
66127 sed 's/^/| /' conftest.$ac_ext >&5
66128
66129 glibcxx_cv_func_frexpl_use=no
66130 fi
66131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66132       ac_ext=c
66133 ac_cpp='$CPP $CPPFLAGS'
66134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66137
66138
66139 fi
66140
66141   fi
66142   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
66143 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
66144
66145   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
66146
66147 for ac_func in frexpl
66148 do
66149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66150 echo "$as_me:$LINENO: checking for $ac_func" >&5
66151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66152 if eval "test \"\${$as_ac_var+set}\" = set"; then
66153   echo $ECHO_N "(cached) $ECHO_C" >&6
66154 else
66155   if test x$gcc_no_link = xyes; then
66156   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66158    { (exit 1); exit 1; }; }
66159 fi
66160 cat >conftest.$ac_ext <<_ACEOF
66161 /* confdefs.h.  */
66162 _ACEOF
66163 cat confdefs.h >>conftest.$ac_ext
66164 cat >>conftest.$ac_ext <<_ACEOF
66165 /* end confdefs.h.  */
66166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66167    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66168 #define $ac_func innocuous_$ac_func
66169
66170 /* System header to define __stub macros and hopefully few prototypes,
66171     which can conflict with char $ac_func (); below.
66172     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66173     <limits.h> exists even on freestanding compilers.  */
66174
66175 #ifdef __STDC__
66176 # include <limits.h>
66177 #else
66178 # include <assert.h>
66179 #endif
66180
66181 #undef $ac_func
66182
66183 /* Override any gcc2 internal prototype to avoid an error.  */
66184 #ifdef __cplusplus
66185 extern "C"
66186 {
66187 #endif
66188 /* We use char because int might match the return type of a gcc2
66189    builtin and then its argument prototype would still apply.  */
66190 char $ac_func ();
66191 /* The GNU C library defines this for functions which it implements
66192     to always fail with ENOSYS.  Some functions are actually named
66193     something starting with __ and the normal name is an alias.  */
66194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66195 choke me
66196 #else
66197 char (*f) () = $ac_func;
66198 #endif
66199 #ifdef __cplusplus
66200 }
66201 #endif
66202
66203 int
66204 main ()
66205 {
66206 return f != $ac_func;
66207   ;
66208   return 0;
66209 }
66210 _ACEOF
66211 rm -f conftest.$ac_objext conftest$ac_exeext
66212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66213   (eval $ac_link) 2>conftest.er1
66214   ac_status=$?
66215   grep -v '^ *+' conftest.er1 >conftest.err
66216   rm -f conftest.er1
66217   cat conftest.err >&5
66218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66219   (exit $ac_status); } &&
66220          { ac_try='test -z "$ac_c_werror_flag"
66221                          || test ! -s conftest.err'
66222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66223   (eval $ac_try) 2>&5
66224   ac_status=$?
66225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66226   (exit $ac_status); }; } &&
66227          { ac_try='test -s conftest$ac_exeext'
66228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66229   (eval $ac_try) 2>&5
66230   ac_status=$?
66231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66232   (exit $ac_status); }; }; then
66233   eval "$as_ac_var=yes"
66234 else
66235   echo "$as_me: failed program was:" >&5
66236 sed 's/^/| /' conftest.$ac_ext >&5
66237
66238 eval "$as_ac_var=no"
66239 fi
66240 rm -f conftest.err conftest.$ac_objext \
66241       conftest$ac_exeext conftest.$ac_ext
66242 fi
66243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66245 if test `eval echo '${'$as_ac_var'}'` = yes; then
66246   cat >>confdefs.h <<_ACEOF
66247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66248 _ACEOF
66249
66250 fi
66251 done
66252
66253   else
66254
66255   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
66256 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
66257   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
66258     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
66259   echo $ECHO_N "(cached) $ECHO_C" >&6
66260 else
66261
66262
66263
66264       ac_ext=cc
66265 ac_cpp='$CXXCPP $CPPFLAGS'
66266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66269
66270       cat >conftest.$ac_ext <<_ACEOF
66271 /* confdefs.h.  */
66272 _ACEOF
66273 cat confdefs.h >>conftest.$ac_ext
66274 cat >>conftest.$ac_ext <<_ACEOF
66275 /* end confdefs.h.  */
66276 #include <math.h>
66277 int
66278 main ()
66279 {
66280  _frexpl(0, 0);
66281   ;
66282   return 0;
66283 }
66284 _ACEOF
66285 rm -f conftest.$ac_objext
66286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66287   (eval $ac_compile) 2>conftest.er1
66288   ac_status=$?
66289   grep -v '^ *+' conftest.er1 >conftest.err
66290   rm -f conftest.er1
66291   cat conftest.err >&5
66292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66293   (exit $ac_status); } &&
66294          { ac_try='test -z "$ac_cxx_werror_flag"
66295                          || test ! -s conftest.err'
66296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66297   (eval $ac_try) 2>&5
66298   ac_status=$?
66299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66300   (exit $ac_status); }; } &&
66301          { ac_try='test -s conftest.$ac_objext'
66302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66303   (eval $ac_try) 2>&5
66304   ac_status=$?
66305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66306   (exit $ac_status); }; }; then
66307   glibcxx_cv_func__frexpl_use=yes
66308 else
66309   echo "$as_me: failed program was:" >&5
66310 sed 's/^/| /' conftest.$ac_ext >&5
66311
66312 glibcxx_cv_func__frexpl_use=no
66313 fi
66314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66315       ac_ext=c
66316 ac_cpp='$CPP $CPPFLAGS'
66317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66320
66321
66322 fi
66323
66324   fi
66325   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
66326 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
66327
66328     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
66329
66330 for ac_func in _frexpl
66331 do
66332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66333 echo "$as_me:$LINENO: checking for $ac_func" >&5
66334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66335 if eval "test \"\${$as_ac_var+set}\" = set"; then
66336   echo $ECHO_N "(cached) $ECHO_C" >&6
66337 else
66338   if test x$gcc_no_link = xyes; then
66339   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66341    { (exit 1); exit 1; }; }
66342 fi
66343 cat >conftest.$ac_ext <<_ACEOF
66344 /* confdefs.h.  */
66345 _ACEOF
66346 cat confdefs.h >>conftest.$ac_ext
66347 cat >>conftest.$ac_ext <<_ACEOF
66348 /* end confdefs.h.  */
66349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66350    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66351 #define $ac_func innocuous_$ac_func
66352
66353 /* System header to define __stub macros and hopefully few prototypes,
66354     which can conflict with char $ac_func (); below.
66355     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66356     <limits.h> exists even on freestanding compilers.  */
66357
66358 #ifdef __STDC__
66359 # include <limits.h>
66360 #else
66361 # include <assert.h>
66362 #endif
66363
66364 #undef $ac_func
66365
66366 /* Override any gcc2 internal prototype to avoid an error.  */
66367 #ifdef __cplusplus
66368 extern "C"
66369 {
66370 #endif
66371 /* We use char because int might match the return type of a gcc2
66372    builtin and then its argument prototype would still apply.  */
66373 char $ac_func ();
66374 /* The GNU C library defines this for functions which it implements
66375     to always fail with ENOSYS.  Some functions are actually named
66376     something starting with __ and the normal name is an alias.  */
66377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66378 choke me
66379 #else
66380 char (*f) () = $ac_func;
66381 #endif
66382 #ifdef __cplusplus
66383 }
66384 #endif
66385
66386 int
66387 main ()
66388 {
66389 return f != $ac_func;
66390   ;
66391   return 0;
66392 }
66393 _ACEOF
66394 rm -f conftest.$ac_objext conftest$ac_exeext
66395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66396   (eval $ac_link) 2>conftest.er1
66397   ac_status=$?
66398   grep -v '^ *+' conftest.er1 >conftest.err
66399   rm -f conftest.er1
66400   cat conftest.err >&5
66401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66402   (exit $ac_status); } &&
66403          { ac_try='test -z "$ac_c_werror_flag"
66404                          || test ! -s conftest.err'
66405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66406   (eval $ac_try) 2>&5
66407   ac_status=$?
66408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66409   (exit $ac_status); }; } &&
66410          { ac_try='test -s conftest$ac_exeext'
66411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66412   (eval $ac_try) 2>&5
66413   ac_status=$?
66414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66415   (exit $ac_status); }; }; then
66416   eval "$as_ac_var=yes"
66417 else
66418   echo "$as_me: failed program was:" >&5
66419 sed 's/^/| /' conftest.$ac_ext >&5
66420
66421 eval "$as_ac_var=no"
66422 fi
66423 rm -f conftest.err conftest.$ac_objext \
66424       conftest$ac_exeext conftest.$ac_ext
66425 fi
66426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66428 if test `eval echo '${'$as_ac_var'}'` = yes; then
66429   cat >>confdefs.h <<_ACEOF
66430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66431 _ACEOF
66432
66433 fi
66434 done
66435
66436     fi
66437   fi
66438
66439
66440
66441   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
66442 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
66443   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
66444     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
66445   echo $ECHO_N "(cached) $ECHO_C" >&6
66446 else
66447
66448
66449
66450       ac_ext=cc
66451 ac_cpp='$CXXCPP $CPPFLAGS'
66452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66455
66456       cat >conftest.$ac_ext <<_ACEOF
66457 /* confdefs.h.  */
66458 _ACEOF
66459 cat confdefs.h >>conftest.$ac_ext
66460 cat >>conftest.$ac_ext <<_ACEOF
66461 /* end confdefs.h.  */
66462 #include <math.h>
66463 int
66464 main ()
66465 {
66466  hypotl(0, 0);
66467   ;
66468   return 0;
66469 }
66470 _ACEOF
66471 rm -f conftest.$ac_objext
66472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66473   (eval $ac_compile) 2>conftest.er1
66474   ac_status=$?
66475   grep -v '^ *+' conftest.er1 >conftest.err
66476   rm -f conftest.er1
66477   cat conftest.err >&5
66478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66479   (exit $ac_status); } &&
66480          { ac_try='test -z "$ac_cxx_werror_flag"
66481                          || test ! -s conftest.err'
66482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66483   (eval $ac_try) 2>&5
66484   ac_status=$?
66485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66486   (exit $ac_status); }; } &&
66487          { ac_try='test -s conftest.$ac_objext'
66488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66489   (eval $ac_try) 2>&5
66490   ac_status=$?
66491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66492   (exit $ac_status); }; }; then
66493   glibcxx_cv_func_hypotl_use=yes
66494 else
66495   echo "$as_me: failed program was:" >&5
66496 sed 's/^/| /' conftest.$ac_ext >&5
66497
66498 glibcxx_cv_func_hypotl_use=no
66499 fi
66500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66501       ac_ext=c
66502 ac_cpp='$CPP $CPPFLAGS'
66503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66506
66507
66508 fi
66509
66510   fi
66511   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
66512 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
66513
66514   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
66515
66516 for ac_func in hypotl
66517 do
66518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66519 echo "$as_me:$LINENO: checking for $ac_func" >&5
66520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66521 if eval "test \"\${$as_ac_var+set}\" = set"; then
66522   echo $ECHO_N "(cached) $ECHO_C" >&6
66523 else
66524   if test x$gcc_no_link = xyes; then
66525   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66527    { (exit 1); exit 1; }; }
66528 fi
66529 cat >conftest.$ac_ext <<_ACEOF
66530 /* confdefs.h.  */
66531 _ACEOF
66532 cat confdefs.h >>conftest.$ac_ext
66533 cat >>conftest.$ac_ext <<_ACEOF
66534 /* end confdefs.h.  */
66535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66536    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66537 #define $ac_func innocuous_$ac_func
66538
66539 /* System header to define __stub macros and hopefully few prototypes,
66540     which can conflict with char $ac_func (); below.
66541     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66542     <limits.h> exists even on freestanding compilers.  */
66543
66544 #ifdef __STDC__
66545 # include <limits.h>
66546 #else
66547 # include <assert.h>
66548 #endif
66549
66550 #undef $ac_func
66551
66552 /* Override any gcc2 internal prototype to avoid an error.  */
66553 #ifdef __cplusplus
66554 extern "C"
66555 {
66556 #endif
66557 /* We use char because int might match the return type of a gcc2
66558    builtin and then its argument prototype would still apply.  */
66559 char $ac_func ();
66560 /* The GNU C library defines this for functions which it implements
66561     to always fail with ENOSYS.  Some functions are actually named
66562     something starting with __ and the normal name is an alias.  */
66563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66564 choke me
66565 #else
66566 char (*f) () = $ac_func;
66567 #endif
66568 #ifdef __cplusplus
66569 }
66570 #endif
66571
66572 int
66573 main ()
66574 {
66575 return f != $ac_func;
66576   ;
66577   return 0;
66578 }
66579 _ACEOF
66580 rm -f conftest.$ac_objext conftest$ac_exeext
66581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66582   (eval $ac_link) 2>conftest.er1
66583   ac_status=$?
66584   grep -v '^ *+' conftest.er1 >conftest.err
66585   rm -f conftest.er1
66586   cat conftest.err >&5
66587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66588   (exit $ac_status); } &&
66589          { ac_try='test -z "$ac_c_werror_flag"
66590                          || test ! -s conftest.err'
66591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66592   (eval $ac_try) 2>&5
66593   ac_status=$?
66594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66595   (exit $ac_status); }; } &&
66596          { ac_try='test -s conftest$ac_exeext'
66597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66598   (eval $ac_try) 2>&5
66599   ac_status=$?
66600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66601   (exit $ac_status); }; }; then
66602   eval "$as_ac_var=yes"
66603 else
66604   echo "$as_me: failed program was:" >&5
66605 sed 's/^/| /' conftest.$ac_ext >&5
66606
66607 eval "$as_ac_var=no"
66608 fi
66609 rm -f conftest.err conftest.$ac_objext \
66610       conftest$ac_exeext conftest.$ac_ext
66611 fi
66612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66614 if test `eval echo '${'$as_ac_var'}'` = yes; then
66615   cat >>confdefs.h <<_ACEOF
66616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66617 _ACEOF
66618
66619 fi
66620 done
66621
66622   else
66623
66624   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
66625 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
66626   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
66627     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
66628   echo $ECHO_N "(cached) $ECHO_C" >&6
66629 else
66630
66631
66632
66633       ac_ext=cc
66634 ac_cpp='$CXXCPP $CPPFLAGS'
66635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66638
66639       cat >conftest.$ac_ext <<_ACEOF
66640 /* confdefs.h.  */
66641 _ACEOF
66642 cat confdefs.h >>conftest.$ac_ext
66643 cat >>conftest.$ac_ext <<_ACEOF
66644 /* end confdefs.h.  */
66645 #include <math.h>
66646 int
66647 main ()
66648 {
66649  _hypotl(0, 0);
66650   ;
66651   return 0;
66652 }
66653 _ACEOF
66654 rm -f conftest.$ac_objext
66655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66656   (eval $ac_compile) 2>conftest.er1
66657   ac_status=$?
66658   grep -v '^ *+' conftest.er1 >conftest.err
66659   rm -f conftest.er1
66660   cat conftest.err >&5
66661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66662   (exit $ac_status); } &&
66663          { ac_try='test -z "$ac_cxx_werror_flag"
66664                          || test ! -s conftest.err'
66665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66666   (eval $ac_try) 2>&5
66667   ac_status=$?
66668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66669   (exit $ac_status); }; } &&
66670          { ac_try='test -s conftest.$ac_objext'
66671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66672   (eval $ac_try) 2>&5
66673   ac_status=$?
66674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66675   (exit $ac_status); }; }; then
66676   glibcxx_cv_func__hypotl_use=yes
66677 else
66678   echo "$as_me: failed program was:" >&5
66679 sed 's/^/| /' conftest.$ac_ext >&5
66680
66681 glibcxx_cv_func__hypotl_use=no
66682 fi
66683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66684       ac_ext=c
66685 ac_cpp='$CPP $CPPFLAGS'
66686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66689
66690
66691 fi
66692
66693   fi
66694   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
66695 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
66696
66697     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
66698
66699 for ac_func in _hypotl
66700 do
66701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66702 echo "$as_me:$LINENO: checking for $ac_func" >&5
66703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66704 if eval "test \"\${$as_ac_var+set}\" = set"; then
66705   echo $ECHO_N "(cached) $ECHO_C" >&6
66706 else
66707   if test x$gcc_no_link = xyes; then
66708   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66710    { (exit 1); exit 1; }; }
66711 fi
66712 cat >conftest.$ac_ext <<_ACEOF
66713 /* confdefs.h.  */
66714 _ACEOF
66715 cat confdefs.h >>conftest.$ac_ext
66716 cat >>conftest.$ac_ext <<_ACEOF
66717 /* end confdefs.h.  */
66718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66719    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66720 #define $ac_func innocuous_$ac_func
66721
66722 /* System header to define __stub macros and hopefully few prototypes,
66723     which can conflict with char $ac_func (); below.
66724     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66725     <limits.h> exists even on freestanding compilers.  */
66726
66727 #ifdef __STDC__
66728 # include <limits.h>
66729 #else
66730 # include <assert.h>
66731 #endif
66732
66733 #undef $ac_func
66734
66735 /* Override any gcc2 internal prototype to avoid an error.  */
66736 #ifdef __cplusplus
66737 extern "C"
66738 {
66739 #endif
66740 /* We use char because int might match the return type of a gcc2
66741    builtin and then its argument prototype would still apply.  */
66742 char $ac_func ();
66743 /* The GNU C library defines this for functions which it implements
66744     to always fail with ENOSYS.  Some functions are actually named
66745     something starting with __ and the normal name is an alias.  */
66746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66747 choke me
66748 #else
66749 char (*f) () = $ac_func;
66750 #endif
66751 #ifdef __cplusplus
66752 }
66753 #endif
66754
66755 int
66756 main ()
66757 {
66758 return f != $ac_func;
66759   ;
66760   return 0;
66761 }
66762 _ACEOF
66763 rm -f conftest.$ac_objext conftest$ac_exeext
66764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66765   (eval $ac_link) 2>conftest.er1
66766   ac_status=$?
66767   grep -v '^ *+' conftest.er1 >conftest.err
66768   rm -f conftest.er1
66769   cat conftest.err >&5
66770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66771   (exit $ac_status); } &&
66772          { ac_try='test -z "$ac_c_werror_flag"
66773                          || test ! -s conftest.err'
66774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66775   (eval $ac_try) 2>&5
66776   ac_status=$?
66777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66778   (exit $ac_status); }; } &&
66779          { ac_try='test -s conftest$ac_exeext'
66780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66781   (eval $ac_try) 2>&5
66782   ac_status=$?
66783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66784   (exit $ac_status); }; }; then
66785   eval "$as_ac_var=yes"
66786 else
66787   echo "$as_me: failed program was:" >&5
66788 sed 's/^/| /' conftest.$ac_ext >&5
66789
66790 eval "$as_ac_var=no"
66791 fi
66792 rm -f conftest.err conftest.$ac_objext \
66793       conftest$ac_exeext conftest.$ac_ext
66794 fi
66795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66797 if test `eval echo '${'$as_ac_var'}'` = yes; then
66798   cat >>confdefs.h <<_ACEOF
66799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66800 _ACEOF
66801
66802 fi
66803 done
66804
66805     fi
66806   fi
66807
66808
66809
66810   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
66811 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
66812   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
66813     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
66814   echo $ECHO_N "(cached) $ECHO_C" >&6
66815 else
66816
66817
66818
66819       ac_ext=cc
66820 ac_cpp='$CXXCPP $CPPFLAGS'
66821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66824
66825       cat >conftest.$ac_ext <<_ACEOF
66826 /* confdefs.h.  */
66827 _ACEOF
66828 cat confdefs.h >>conftest.$ac_ext
66829 cat >>conftest.$ac_ext <<_ACEOF
66830 /* end confdefs.h.  */
66831 #include <math.h>
66832 int
66833 main ()
66834 {
66835  ldexpl(0, 0);
66836   ;
66837   return 0;
66838 }
66839 _ACEOF
66840 rm -f conftest.$ac_objext
66841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66842   (eval $ac_compile) 2>conftest.er1
66843   ac_status=$?
66844   grep -v '^ *+' conftest.er1 >conftest.err
66845   rm -f conftest.er1
66846   cat conftest.err >&5
66847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66848   (exit $ac_status); } &&
66849          { ac_try='test -z "$ac_cxx_werror_flag"
66850                          || test ! -s conftest.err'
66851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66852   (eval $ac_try) 2>&5
66853   ac_status=$?
66854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66855   (exit $ac_status); }; } &&
66856          { ac_try='test -s conftest.$ac_objext'
66857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66858   (eval $ac_try) 2>&5
66859   ac_status=$?
66860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66861   (exit $ac_status); }; }; then
66862   glibcxx_cv_func_ldexpl_use=yes
66863 else
66864   echo "$as_me: failed program was:" >&5
66865 sed 's/^/| /' conftest.$ac_ext >&5
66866
66867 glibcxx_cv_func_ldexpl_use=no
66868 fi
66869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66870       ac_ext=c
66871 ac_cpp='$CPP $CPPFLAGS'
66872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66875
66876
66877 fi
66878
66879   fi
66880   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
66881 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
66882
66883   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
66884
66885 for ac_func in ldexpl
66886 do
66887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66888 echo "$as_me:$LINENO: checking for $ac_func" >&5
66889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66890 if eval "test \"\${$as_ac_var+set}\" = set"; then
66891   echo $ECHO_N "(cached) $ECHO_C" >&6
66892 else
66893   if test x$gcc_no_link = xyes; then
66894   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66896    { (exit 1); exit 1; }; }
66897 fi
66898 cat >conftest.$ac_ext <<_ACEOF
66899 /* confdefs.h.  */
66900 _ACEOF
66901 cat confdefs.h >>conftest.$ac_ext
66902 cat >>conftest.$ac_ext <<_ACEOF
66903 /* end confdefs.h.  */
66904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66905    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66906 #define $ac_func innocuous_$ac_func
66907
66908 /* System header to define __stub macros and hopefully few prototypes,
66909     which can conflict with char $ac_func (); below.
66910     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66911     <limits.h> exists even on freestanding compilers.  */
66912
66913 #ifdef __STDC__
66914 # include <limits.h>
66915 #else
66916 # include <assert.h>
66917 #endif
66918
66919 #undef $ac_func
66920
66921 /* Override any gcc2 internal prototype to avoid an error.  */
66922 #ifdef __cplusplus
66923 extern "C"
66924 {
66925 #endif
66926 /* We use char because int might match the return type of a gcc2
66927    builtin and then its argument prototype would still apply.  */
66928 char $ac_func ();
66929 /* The GNU C library defines this for functions which it implements
66930     to always fail with ENOSYS.  Some functions are actually named
66931     something starting with __ and the normal name is an alias.  */
66932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66933 choke me
66934 #else
66935 char (*f) () = $ac_func;
66936 #endif
66937 #ifdef __cplusplus
66938 }
66939 #endif
66940
66941 int
66942 main ()
66943 {
66944 return f != $ac_func;
66945   ;
66946   return 0;
66947 }
66948 _ACEOF
66949 rm -f conftest.$ac_objext conftest$ac_exeext
66950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66951   (eval $ac_link) 2>conftest.er1
66952   ac_status=$?
66953   grep -v '^ *+' conftest.er1 >conftest.err
66954   rm -f conftest.er1
66955   cat conftest.err >&5
66956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66957   (exit $ac_status); } &&
66958          { ac_try='test -z "$ac_c_werror_flag"
66959                          || test ! -s conftest.err'
66960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66961   (eval $ac_try) 2>&5
66962   ac_status=$?
66963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66964   (exit $ac_status); }; } &&
66965          { ac_try='test -s conftest$ac_exeext'
66966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66967   (eval $ac_try) 2>&5
66968   ac_status=$?
66969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66970   (exit $ac_status); }; }; then
66971   eval "$as_ac_var=yes"
66972 else
66973   echo "$as_me: failed program was:" >&5
66974 sed 's/^/| /' conftest.$ac_ext >&5
66975
66976 eval "$as_ac_var=no"
66977 fi
66978 rm -f conftest.err conftest.$ac_objext \
66979       conftest$ac_exeext conftest.$ac_ext
66980 fi
66981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66983 if test `eval echo '${'$as_ac_var'}'` = yes; then
66984   cat >>confdefs.h <<_ACEOF
66985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66986 _ACEOF
66987
66988 fi
66989 done
66990
66991   else
66992
66993   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
66994 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
66995   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
66996     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
66997   echo $ECHO_N "(cached) $ECHO_C" >&6
66998 else
66999
67000
67001
67002       ac_ext=cc
67003 ac_cpp='$CXXCPP $CPPFLAGS'
67004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67007
67008       cat >conftest.$ac_ext <<_ACEOF
67009 /* confdefs.h.  */
67010 _ACEOF
67011 cat confdefs.h >>conftest.$ac_ext
67012 cat >>conftest.$ac_ext <<_ACEOF
67013 /* end confdefs.h.  */
67014 #include <math.h>
67015 int
67016 main ()
67017 {
67018  _ldexpl(0, 0);
67019   ;
67020   return 0;
67021 }
67022 _ACEOF
67023 rm -f conftest.$ac_objext
67024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67025   (eval $ac_compile) 2>conftest.er1
67026   ac_status=$?
67027   grep -v '^ *+' conftest.er1 >conftest.err
67028   rm -f conftest.er1
67029   cat conftest.err >&5
67030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67031   (exit $ac_status); } &&
67032          { ac_try='test -z "$ac_cxx_werror_flag"
67033                          || test ! -s conftest.err'
67034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67035   (eval $ac_try) 2>&5
67036   ac_status=$?
67037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67038   (exit $ac_status); }; } &&
67039          { ac_try='test -s conftest.$ac_objext'
67040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67041   (eval $ac_try) 2>&5
67042   ac_status=$?
67043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67044   (exit $ac_status); }; }; then
67045   glibcxx_cv_func__ldexpl_use=yes
67046 else
67047   echo "$as_me: failed program was:" >&5
67048 sed 's/^/| /' conftest.$ac_ext >&5
67049
67050 glibcxx_cv_func__ldexpl_use=no
67051 fi
67052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67053       ac_ext=c
67054 ac_cpp='$CPP $CPPFLAGS'
67055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67058
67059
67060 fi
67061
67062   fi
67063   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
67064 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
67065
67066     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
67067
67068 for ac_func in _ldexpl
67069 do
67070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67071 echo "$as_me:$LINENO: checking for $ac_func" >&5
67072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67073 if eval "test \"\${$as_ac_var+set}\" = set"; then
67074   echo $ECHO_N "(cached) $ECHO_C" >&6
67075 else
67076   if test x$gcc_no_link = xyes; then
67077   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67079    { (exit 1); exit 1; }; }
67080 fi
67081 cat >conftest.$ac_ext <<_ACEOF
67082 /* confdefs.h.  */
67083 _ACEOF
67084 cat confdefs.h >>conftest.$ac_ext
67085 cat >>conftest.$ac_ext <<_ACEOF
67086 /* end confdefs.h.  */
67087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67088    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67089 #define $ac_func innocuous_$ac_func
67090
67091 /* System header to define __stub macros and hopefully few prototypes,
67092     which can conflict with char $ac_func (); below.
67093     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67094     <limits.h> exists even on freestanding compilers.  */
67095
67096 #ifdef __STDC__
67097 # include <limits.h>
67098 #else
67099 # include <assert.h>
67100 #endif
67101
67102 #undef $ac_func
67103
67104 /* Override any gcc2 internal prototype to avoid an error.  */
67105 #ifdef __cplusplus
67106 extern "C"
67107 {
67108 #endif
67109 /* We use char because int might match the return type of a gcc2
67110    builtin and then its argument prototype would still apply.  */
67111 char $ac_func ();
67112 /* The GNU C library defines this for functions which it implements
67113     to always fail with ENOSYS.  Some functions are actually named
67114     something starting with __ and the normal name is an alias.  */
67115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67116 choke me
67117 #else
67118 char (*f) () = $ac_func;
67119 #endif
67120 #ifdef __cplusplus
67121 }
67122 #endif
67123
67124 int
67125 main ()
67126 {
67127 return f != $ac_func;
67128   ;
67129   return 0;
67130 }
67131 _ACEOF
67132 rm -f conftest.$ac_objext conftest$ac_exeext
67133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67134   (eval $ac_link) 2>conftest.er1
67135   ac_status=$?
67136   grep -v '^ *+' conftest.er1 >conftest.err
67137   rm -f conftest.er1
67138   cat conftest.err >&5
67139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67140   (exit $ac_status); } &&
67141          { ac_try='test -z "$ac_c_werror_flag"
67142                          || test ! -s conftest.err'
67143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67144   (eval $ac_try) 2>&5
67145   ac_status=$?
67146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67147   (exit $ac_status); }; } &&
67148          { ac_try='test -s conftest$ac_exeext'
67149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67150   (eval $ac_try) 2>&5
67151   ac_status=$?
67152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67153   (exit $ac_status); }; }; then
67154   eval "$as_ac_var=yes"
67155 else
67156   echo "$as_me: failed program was:" >&5
67157 sed 's/^/| /' conftest.$ac_ext >&5
67158
67159 eval "$as_ac_var=no"
67160 fi
67161 rm -f conftest.err conftest.$ac_objext \
67162       conftest$ac_exeext conftest.$ac_ext
67163 fi
67164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67166 if test `eval echo '${'$as_ac_var'}'` = yes; then
67167   cat >>confdefs.h <<_ACEOF
67168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67169 _ACEOF
67170
67171 fi
67172 done
67173
67174     fi
67175   fi
67176
67177
67178
67179   echo "$as_me:$LINENO: checking for logl declaration" >&5
67180 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
67181   if test x${glibcxx_cv_func_logl_use+set} != xset; then
67182     if test "${glibcxx_cv_func_logl_use+set}" = set; then
67183   echo $ECHO_N "(cached) $ECHO_C" >&6
67184 else
67185
67186
67187
67188       ac_ext=cc
67189 ac_cpp='$CXXCPP $CPPFLAGS'
67190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67193
67194       cat >conftest.$ac_ext <<_ACEOF
67195 /* confdefs.h.  */
67196 _ACEOF
67197 cat confdefs.h >>conftest.$ac_ext
67198 cat >>conftest.$ac_ext <<_ACEOF
67199 /* end confdefs.h.  */
67200 #include <math.h>
67201                       #ifdef HAVE_IEEEFP_H
67202                       #include <ieeefp.h>
67203                       #endif
67204
67205 int
67206 main ()
67207 {
67208  logl(0);
67209   ;
67210   return 0;
67211 }
67212 _ACEOF
67213 rm -f conftest.$ac_objext
67214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67215   (eval $ac_compile) 2>conftest.er1
67216   ac_status=$?
67217   grep -v '^ *+' conftest.er1 >conftest.err
67218   rm -f conftest.er1
67219   cat conftest.err >&5
67220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67221   (exit $ac_status); } &&
67222          { ac_try='test -z "$ac_cxx_werror_flag"
67223                          || test ! -s conftest.err'
67224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67225   (eval $ac_try) 2>&5
67226   ac_status=$?
67227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67228   (exit $ac_status); }; } &&
67229          { ac_try='test -s conftest.$ac_objext'
67230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67231   (eval $ac_try) 2>&5
67232   ac_status=$?
67233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67234   (exit $ac_status); }; }; then
67235   glibcxx_cv_func_logl_use=yes
67236 else
67237   echo "$as_me: failed program was:" >&5
67238 sed 's/^/| /' conftest.$ac_ext >&5
67239
67240 glibcxx_cv_func_logl_use=no
67241 fi
67242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67243       ac_ext=c
67244 ac_cpp='$CPP $CPPFLAGS'
67245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67248
67249
67250 fi
67251
67252   fi
67253   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
67254 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
67255
67256   if test x$glibcxx_cv_func_logl_use = x"yes"; then
67257
67258 for ac_func in logl
67259 do
67260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67261 echo "$as_me:$LINENO: checking for $ac_func" >&5
67262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67263 if eval "test \"\${$as_ac_var+set}\" = set"; then
67264   echo $ECHO_N "(cached) $ECHO_C" >&6
67265 else
67266   if test x$gcc_no_link = xyes; then
67267   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67269    { (exit 1); exit 1; }; }
67270 fi
67271 cat >conftest.$ac_ext <<_ACEOF
67272 /* confdefs.h.  */
67273 _ACEOF
67274 cat confdefs.h >>conftest.$ac_ext
67275 cat >>conftest.$ac_ext <<_ACEOF
67276 /* end confdefs.h.  */
67277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67278    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67279 #define $ac_func innocuous_$ac_func
67280
67281 /* System header to define __stub macros and hopefully few prototypes,
67282     which can conflict with char $ac_func (); below.
67283     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67284     <limits.h> exists even on freestanding compilers.  */
67285
67286 #ifdef __STDC__
67287 # include <limits.h>
67288 #else
67289 # include <assert.h>
67290 #endif
67291
67292 #undef $ac_func
67293
67294 /* Override any gcc2 internal prototype to avoid an error.  */
67295 #ifdef __cplusplus
67296 extern "C"
67297 {
67298 #endif
67299 /* We use char because int might match the return type of a gcc2
67300    builtin and then its argument prototype would still apply.  */
67301 char $ac_func ();
67302 /* The GNU C library defines this for functions which it implements
67303     to always fail with ENOSYS.  Some functions are actually named
67304     something starting with __ and the normal name is an alias.  */
67305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67306 choke me
67307 #else
67308 char (*f) () = $ac_func;
67309 #endif
67310 #ifdef __cplusplus
67311 }
67312 #endif
67313
67314 int
67315 main ()
67316 {
67317 return f != $ac_func;
67318   ;
67319   return 0;
67320 }
67321 _ACEOF
67322 rm -f conftest.$ac_objext conftest$ac_exeext
67323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67324   (eval $ac_link) 2>conftest.er1
67325   ac_status=$?
67326   grep -v '^ *+' conftest.er1 >conftest.err
67327   rm -f conftest.er1
67328   cat conftest.err >&5
67329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67330   (exit $ac_status); } &&
67331          { ac_try='test -z "$ac_c_werror_flag"
67332                          || test ! -s conftest.err'
67333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67334   (eval $ac_try) 2>&5
67335   ac_status=$?
67336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67337   (exit $ac_status); }; } &&
67338          { ac_try='test -s conftest$ac_exeext'
67339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67340   (eval $ac_try) 2>&5
67341   ac_status=$?
67342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67343   (exit $ac_status); }; }; then
67344   eval "$as_ac_var=yes"
67345 else
67346   echo "$as_me: failed program was:" >&5
67347 sed 's/^/| /' conftest.$ac_ext >&5
67348
67349 eval "$as_ac_var=no"
67350 fi
67351 rm -f conftest.err conftest.$ac_objext \
67352       conftest$ac_exeext conftest.$ac_ext
67353 fi
67354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67356 if test `eval echo '${'$as_ac_var'}'` = yes; then
67357   cat >>confdefs.h <<_ACEOF
67358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67359 _ACEOF
67360
67361 fi
67362 done
67363
67364   else
67365
67366   echo "$as_me:$LINENO: checking for _logl declaration" >&5
67367 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
67368   if test x${glibcxx_cv_func__logl_use+set} != xset; then
67369     if test "${glibcxx_cv_func__logl_use+set}" = set; then
67370   echo $ECHO_N "(cached) $ECHO_C" >&6
67371 else
67372
67373
67374
67375       ac_ext=cc
67376 ac_cpp='$CXXCPP $CPPFLAGS'
67377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67380
67381       cat >conftest.$ac_ext <<_ACEOF
67382 /* confdefs.h.  */
67383 _ACEOF
67384 cat confdefs.h >>conftest.$ac_ext
67385 cat >>conftest.$ac_ext <<_ACEOF
67386 /* end confdefs.h.  */
67387 #include <math.h>
67388                       #ifdef HAVE_IEEEFP_H
67389                       #include <ieeefp.h>
67390                       #endif
67391
67392 int
67393 main ()
67394 {
67395  _logl(0);
67396   ;
67397   return 0;
67398 }
67399 _ACEOF
67400 rm -f conftest.$ac_objext
67401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67402   (eval $ac_compile) 2>conftest.er1
67403   ac_status=$?
67404   grep -v '^ *+' conftest.er1 >conftest.err
67405   rm -f conftest.er1
67406   cat conftest.err >&5
67407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67408   (exit $ac_status); } &&
67409          { ac_try='test -z "$ac_cxx_werror_flag"
67410                          || test ! -s conftest.err'
67411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67412   (eval $ac_try) 2>&5
67413   ac_status=$?
67414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67415   (exit $ac_status); }; } &&
67416          { ac_try='test -s conftest.$ac_objext'
67417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67418   (eval $ac_try) 2>&5
67419   ac_status=$?
67420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67421   (exit $ac_status); }; }; then
67422   glibcxx_cv_func__logl_use=yes
67423 else
67424   echo "$as_me: failed program was:" >&5
67425 sed 's/^/| /' conftest.$ac_ext >&5
67426
67427 glibcxx_cv_func__logl_use=no
67428 fi
67429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67430       ac_ext=c
67431 ac_cpp='$CPP $CPPFLAGS'
67432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67435
67436
67437 fi
67438
67439   fi
67440   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
67441 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
67442
67443     if test x$glibcxx_cv_func__logl_use = x"yes"; then
67444
67445 for ac_func in _logl
67446 do
67447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67448 echo "$as_me:$LINENO: checking for $ac_func" >&5
67449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67450 if eval "test \"\${$as_ac_var+set}\" = set"; then
67451   echo $ECHO_N "(cached) $ECHO_C" >&6
67452 else
67453   if test x$gcc_no_link = xyes; then
67454   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67456    { (exit 1); exit 1; }; }
67457 fi
67458 cat >conftest.$ac_ext <<_ACEOF
67459 /* confdefs.h.  */
67460 _ACEOF
67461 cat confdefs.h >>conftest.$ac_ext
67462 cat >>conftest.$ac_ext <<_ACEOF
67463 /* end confdefs.h.  */
67464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67465    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67466 #define $ac_func innocuous_$ac_func
67467
67468 /* System header to define __stub macros and hopefully few prototypes,
67469     which can conflict with char $ac_func (); below.
67470     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67471     <limits.h> exists even on freestanding compilers.  */
67472
67473 #ifdef __STDC__
67474 # include <limits.h>
67475 #else
67476 # include <assert.h>
67477 #endif
67478
67479 #undef $ac_func
67480
67481 /* Override any gcc2 internal prototype to avoid an error.  */
67482 #ifdef __cplusplus
67483 extern "C"
67484 {
67485 #endif
67486 /* We use char because int might match the return type of a gcc2
67487    builtin and then its argument prototype would still apply.  */
67488 char $ac_func ();
67489 /* The GNU C library defines this for functions which it implements
67490     to always fail with ENOSYS.  Some functions are actually named
67491     something starting with __ and the normal name is an alias.  */
67492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67493 choke me
67494 #else
67495 char (*f) () = $ac_func;
67496 #endif
67497 #ifdef __cplusplus
67498 }
67499 #endif
67500
67501 int
67502 main ()
67503 {
67504 return f != $ac_func;
67505   ;
67506   return 0;
67507 }
67508 _ACEOF
67509 rm -f conftest.$ac_objext conftest$ac_exeext
67510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67511   (eval $ac_link) 2>conftest.er1
67512   ac_status=$?
67513   grep -v '^ *+' conftest.er1 >conftest.err
67514   rm -f conftest.er1
67515   cat conftest.err >&5
67516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67517   (exit $ac_status); } &&
67518          { ac_try='test -z "$ac_c_werror_flag"
67519                          || test ! -s conftest.err'
67520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67521   (eval $ac_try) 2>&5
67522   ac_status=$?
67523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67524   (exit $ac_status); }; } &&
67525          { ac_try='test -s conftest$ac_exeext'
67526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67527   (eval $ac_try) 2>&5
67528   ac_status=$?
67529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67530   (exit $ac_status); }; }; then
67531   eval "$as_ac_var=yes"
67532 else
67533   echo "$as_me: failed program was:" >&5
67534 sed 's/^/| /' conftest.$ac_ext >&5
67535
67536 eval "$as_ac_var=no"
67537 fi
67538 rm -f conftest.err conftest.$ac_objext \
67539       conftest$ac_exeext conftest.$ac_ext
67540 fi
67541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67543 if test `eval echo '${'$as_ac_var'}'` = yes; then
67544   cat >>confdefs.h <<_ACEOF
67545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67546 _ACEOF
67547
67548 fi
67549 done
67550
67551     fi
67552   fi
67553
67554
67555
67556   echo "$as_me:$LINENO: checking for log10l declaration" >&5
67557 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
67558   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
67559     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
67560   echo $ECHO_N "(cached) $ECHO_C" >&6
67561 else
67562
67563
67564
67565       ac_ext=cc
67566 ac_cpp='$CXXCPP $CPPFLAGS'
67567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67570
67571       cat >conftest.$ac_ext <<_ACEOF
67572 /* confdefs.h.  */
67573 _ACEOF
67574 cat confdefs.h >>conftest.$ac_ext
67575 cat >>conftest.$ac_ext <<_ACEOF
67576 /* end confdefs.h.  */
67577 #include <math.h>
67578                       #ifdef HAVE_IEEEFP_H
67579                       #include <ieeefp.h>
67580                       #endif
67581
67582 int
67583 main ()
67584 {
67585  log10l(0);
67586   ;
67587   return 0;
67588 }
67589 _ACEOF
67590 rm -f conftest.$ac_objext
67591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67592   (eval $ac_compile) 2>conftest.er1
67593   ac_status=$?
67594   grep -v '^ *+' conftest.er1 >conftest.err
67595   rm -f conftest.er1
67596   cat conftest.err >&5
67597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67598   (exit $ac_status); } &&
67599          { ac_try='test -z "$ac_cxx_werror_flag"
67600                          || test ! -s conftest.err'
67601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67602   (eval $ac_try) 2>&5
67603   ac_status=$?
67604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67605   (exit $ac_status); }; } &&
67606          { ac_try='test -s conftest.$ac_objext'
67607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67608   (eval $ac_try) 2>&5
67609   ac_status=$?
67610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67611   (exit $ac_status); }; }; then
67612   glibcxx_cv_func_log10l_use=yes
67613 else
67614   echo "$as_me: failed program was:" >&5
67615 sed 's/^/| /' conftest.$ac_ext >&5
67616
67617 glibcxx_cv_func_log10l_use=no
67618 fi
67619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67620       ac_ext=c
67621 ac_cpp='$CPP $CPPFLAGS'
67622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67625
67626
67627 fi
67628
67629   fi
67630   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
67631 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
67632
67633   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
67634
67635 for ac_func in log10l
67636 do
67637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67638 echo "$as_me:$LINENO: checking for $ac_func" >&5
67639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67640 if eval "test \"\${$as_ac_var+set}\" = set"; then
67641   echo $ECHO_N "(cached) $ECHO_C" >&6
67642 else
67643   if test x$gcc_no_link = xyes; then
67644   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67646    { (exit 1); exit 1; }; }
67647 fi
67648 cat >conftest.$ac_ext <<_ACEOF
67649 /* confdefs.h.  */
67650 _ACEOF
67651 cat confdefs.h >>conftest.$ac_ext
67652 cat >>conftest.$ac_ext <<_ACEOF
67653 /* end confdefs.h.  */
67654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67655    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67656 #define $ac_func innocuous_$ac_func
67657
67658 /* System header to define __stub macros and hopefully few prototypes,
67659     which can conflict with char $ac_func (); below.
67660     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67661     <limits.h> exists even on freestanding compilers.  */
67662
67663 #ifdef __STDC__
67664 # include <limits.h>
67665 #else
67666 # include <assert.h>
67667 #endif
67668
67669 #undef $ac_func
67670
67671 /* Override any gcc2 internal prototype to avoid an error.  */
67672 #ifdef __cplusplus
67673 extern "C"
67674 {
67675 #endif
67676 /* We use char because int might match the return type of a gcc2
67677    builtin and then its argument prototype would still apply.  */
67678 char $ac_func ();
67679 /* The GNU C library defines this for functions which it implements
67680     to always fail with ENOSYS.  Some functions are actually named
67681     something starting with __ and the normal name is an alias.  */
67682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67683 choke me
67684 #else
67685 char (*f) () = $ac_func;
67686 #endif
67687 #ifdef __cplusplus
67688 }
67689 #endif
67690
67691 int
67692 main ()
67693 {
67694 return f != $ac_func;
67695   ;
67696   return 0;
67697 }
67698 _ACEOF
67699 rm -f conftest.$ac_objext conftest$ac_exeext
67700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67701   (eval $ac_link) 2>conftest.er1
67702   ac_status=$?
67703   grep -v '^ *+' conftest.er1 >conftest.err
67704   rm -f conftest.er1
67705   cat conftest.err >&5
67706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67707   (exit $ac_status); } &&
67708          { ac_try='test -z "$ac_c_werror_flag"
67709                          || test ! -s conftest.err'
67710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67711   (eval $ac_try) 2>&5
67712   ac_status=$?
67713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67714   (exit $ac_status); }; } &&
67715          { ac_try='test -s conftest$ac_exeext'
67716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67717   (eval $ac_try) 2>&5
67718   ac_status=$?
67719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67720   (exit $ac_status); }; }; then
67721   eval "$as_ac_var=yes"
67722 else
67723   echo "$as_me: failed program was:" >&5
67724 sed 's/^/| /' conftest.$ac_ext >&5
67725
67726 eval "$as_ac_var=no"
67727 fi
67728 rm -f conftest.err conftest.$ac_objext \
67729       conftest$ac_exeext conftest.$ac_ext
67730 fi
67731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67733 if test `eval echo '${'$as_ac_var'}'` = yes; then
67734   cat >>confdefs.h <<_ACEOF
67735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67736 _ACEOF
67737
67738 fi
67739 done
67740
67741   else
67742
67743   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
67744 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
67745   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
67746     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
67747   echo $ECHO_N "(cached) $ECHO_C" >&6
67748 else
67749
67750
67751
67752       ac_ext=cc
67753 ac_cpp='$CXXCPP $CPPFLAGS'
67754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67757
67758       cat >conftest.$ac_ext <<_ACEOF
67759 /* confdefs.h.  */
67760 _ACEOF
67761 cat confdefs.h >>conftest.$ac_ext
67762 cat >>conftest.$ac_ext <<_ACEOF
67763 /* end confdefs.h.  */
67764 #include <math.h>
67765                       #ifdef HAVE_IEEEFP_H
67766                       #include <ieeefp.h>
67767                       #endif
67768
67769 int
67770 main ()
67771 {
67772  _log10l(0);
67773   ;
67774   return 0;
67775 }
67776 _ACEOF
67777 rm -f conftest.$ac_objext
67778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67779   (eval $ac_compile) 2>conftest.er1
67780   ac_status=$?
67781   grep -v '^ *+' conftest.er1 >conftest.err
67782   rm -f conftest.er1
67783   cat conftest.err >&5
67784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67785   (exit $ac_status); } &&
67786          { ac_try='test -z "$ac_cxx_werror_flag"
67787                          || test ! -s conftest.err'
67788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67789   (eval $ac_try) 2>&5
67790   ac_status=$?
67791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67792   (exit $ac_status); }; } &&
67793          { ac_try='test -s conftest.$ac_objext'
67794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67795   (eval $ac_try) 2>&5
67796   ac_status=$?
67797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67798   (exit $ac_status); }; }; then
67799   glibcxx_cv_func__log10l_use=yes
67800 else
67801   echo "$as_me: failed program was:" >&5
67802 sed 's/^/| /' conftest.$ac_ext >&5
67803
67804 glibcxx_cv_func__log10l_use=no
67805 fi
67806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67807       ac_ext=c
67808 ac_cpp='$CPP $CPPFLAGS'
67809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67812
67813
67814 fi
67815
67816   fi
67817   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
67818 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
67819
67820     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
67821
67822 for ac_func in _log10l
67823 do
67824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67825 echo "$as_me:$LINENO: checking for $ac_func" >&5
67826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67827 if eval "test \"\${$as_ac_var+set}\" = set"; then
67828   echo $ECHO_N "(cached) $ECHO_C" >&6
67829 else
67830   if test x$gcc_no_link = xyes; then
67831   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67833    { (exit 1); exit 1; }; }
67834 fi
67835 cat >conftest.$ac_ext <<_ACEOF
67836 /* confdefs.h.  */
67837 _ACEOF
67838 cat confdefs.h >>conftest.$ac_ext
67839 cat >>conftest.$ac_ext <<_ACEOF
67840 /* end confdefs.h.  */
67841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67842    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67843 #define $ac_func innocuous_$ac_func
67844
67845 /* System header to define __stub macros and hopefully few prototypes,
67846     which can conflict with char $ac_func (); below.
67847     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67848     <limits.h> exists even on freestanding compilers.  */
67849
67850 #ifdef __STDC__
67851 # include <limits.h>
67852 #else
67853 # include <assert.h>
67854 #endif
67855
67856 #undef $ac_func
67857
67858 /* Override any gcc2 internal prototype to avoid an error.  */
67859 #ifdef __cplusplus
67860 extern "C"
67861 {
67862 #endif
67863 /* We use char because int might match the return type of a gcc2
67864    builtin and then its argument prototype would still apply.  */
67865 char $ac_func ();
67866 /* The GNU C library defines this for functions which it implements
67867     to always fail with ENOSYS.  Some functions are actually named
67868     something starting with __ and the normal name is an alias.  */
67869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67870 choke me
67871 #else
67872 char (*f) () = $ac_func;
67873 #endif
67874 #ifdef __cplusplus
67875 }
67876 #endif
67877
67878 int
67879 main ()
67880 {
67881 return f != $ac_func;
67882   ;
67883   return 0;
67884 }
67885 _ACEOF
67886 rm -f conftest.$ac_objext conftest$ac_exeext
67887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67888   (eval $ac_link) 2>conftest.er1
67889   ac_status=$?
67890   grep -v '^ *+' conftest.er1 >conftest.err
67891   rm -f conftest.er1
67892   cat conftest.err >&5
67893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67894   (exit $ac_status); } &&
67895          { ac_try='test -z "$ac_c_werror_flag"
67896                          || test ! -s conftest.err'
67897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67898   (eval $ac_try) 2>&5
67899   ac_status=$?
67900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67901   (exit $ac_status); }; } &&
67902          { ac_try='test -s conftest$ac_exeext'
67903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67904   (eval $ac_try) 2>&5
67905   ac_status=$?
67906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67907   (exit $ac_status); }; }; then
67908   eval "$as_ac_var=yes"
67909 else
67910   echo "$as_me: failed program was:" >&5
67911 sed 's/^/| /' conftest.$ac_ext >&5
67912
67913 eval "$as_ac_var=no"
67914 fi
67915 rm -f conftest.err conftest.$ac_objext \
67916       conftest$ac_exeext conftest.$ac_ext
67917 fi
67918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67920 if test `eval echo '${'$as_ac_var'}'` = yes; then
67921   cat >>confdefs.h <<_ACEOF
67922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67923 _ACEOF
67924
67925 fi
67926 done
67927
67928     fi
67929   fi
67930
67931
67932
67933   echo "$as_me:$LINENO: checking for modfl declaration" >&5
67934 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
67935   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
67936     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
67937   echo $ECHO_N "(cached) $ECHO_C" >&6
67938 else
67939
67940
67941
67942       ac_ext=cc
67943 ac_cpp='$CXXCPP $CPPFLAGS'
67944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67947
67948       cat >conftest.$ac_ext <<_ACEOF
67949 /* confdefs.h.  */
67950 _ACEOF
67951 cat confdefs.h >>conftest.$ac_ext
67952 cat >>conftest.$ac_ext <<_ACEOF
67953 /* end confdefs.h.  */
67954 #include <math.h>
67955 int
67956 main ()
67957 {
67958  modfl(0, 0);
67959   ;
67960   return 0;
67961 }
67962 _ACEOF
67963 rm -f conftest.$ac_objext
67964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67965   (eval $ac_compile) 2>conftest.er1
67966   ac_status=$?
67967   grep -v '^ *+' conftest.er1 >conftest.err
67968   rm -f conftest.er1
67969   cat conftest.err >&5
67970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67971   (exit $ac_status); } &&
67972          { ac_try='test -z "$ac_cxx_werror_flag"
67973                          || test ! -s conftest.err'
67974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67975   (eval $ac_try) 2>&5
67976   ac_status=$?
67977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67978   (exit $ac_status); }; } &&
67979          { ac_try='test -s conftest.$ac_objext'
67980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67981   (eval $ac_try) 2>&5
67982   ac_status=$?
67983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67984   (exit $ac_status); }; }; then
67985   glibcxx_cv_func_modfl_use=yes
67986 else
67987   echo "$as_me: failed program was:" >&5
67988 sed 's/^/| /' conftest.$ac_ext >&5
67989
67990 glibcxx_cv_func_modfl_use=no
67991 fi
67992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67993       ac_ext=c
67994 ac_cpp='$CPP $CPPFLAGS'
67995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67998
67999
68000 fi
68001
68002   fi
68003   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
68004 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
68005
68006   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68007
68008 for ac_func in modfl
68009 do
68010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68011 echo "$as_me:$LINENO: checking for $ac_func" >&5
68012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68013 if eval "test \"\${$as_ac_var+set}\" = set"; then
68014   echo $ECHO_N "(cached) $ECHO_C" >&6
68015 else
68016   if test x$gcc_no_link = xyes; then
68017   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68019    { (exit 1); exit 1; }; }
68020 fi
68021 cat >conftest.$ac_ext <<_ACEOF
68022 /* confdefs.h.  */
68023 _ACEOF
68024 cat confdefs.h >>conftest.$ac_ext
68025 cat >>conftest.$ac_ext <<_ACEOF
68026 /* end confdefs.h.  */
68027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68028    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68029 #define $ac_func innocuous_$ac_func
68030
68031 /* System header to define __stub macros and hopefully few prototypes,
68032     which can conflict with char $ac_func (); below.
68033     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68034     <limits.h> exists even on freestanding compilers.  */
68035
68036 #ifdef __STDC__
68037 # include <limits.h>
68038 #else
68039 # include <assert.h>
68040 #endif
68041
68042 #undef $ac_func
68043
68044 /* Override any gcc2 internal prototype to avoid an error.  */
68045 #ifdef __cplusplus
68046 extern "C"
68047 {
68048 #endif
68049 /* We use char because int might match the return type of a gcc2
68050    builtin and then its argument prototype would still apply.  */
68051 char $ac_func ();
68052 /* The GNU C library defines this for functions which it implements
68053     to always fail with ENOSYS.  Some functions are actually named
68054     something starting with __ and the normal name is an alias.  */
68055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68056 choke me
68057 #else
68058 char (*f) () = $ac_func;
68059 #endif
68060 #ifdef __cplusplus
68061 }
68062 #endif
68063
68064 int
68065 main ()
68066 {
68067 return f != $ac_func;
68068   ;
68069   return 0;
68070 }
68071 _ACEOF
68072 rm -f conftest.$ac_objext conftest$ac_exeext
68073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68074   (eval $ac_link) 2>conftest.er1
68075   ac_status=$?
68076   grep -v '^ *+' conftest.er1 >conftest.err
68077   rm -f conftest.er1
68078   cat conftest.err >&5
68079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68080   (exit $ac_status); } &&
68081          { ac_try='test -z "$ac_c_werror_flag"
68082                          || test ! -s conftest.err'
68083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68084   (eval $ac_try) 2>&5
68085   ac_status=$?
68086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68087   (exit $ac_status); }; } &&
68088          { ac_try='test -s conftest$ac_exeext'
68089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68090   (eval $ac_try) 2>&5
68091   ac_status=$?
68092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68093   (exit $ac_status); }; }; then
68094   eval "$as_ac_var=yes"
68095 else
68096   echo "$as_me: failed program was:" >&5
68097 sed 's/^/| /' conftest.$ac_ext >&5
68098
68099 eval "$as_ac_var=no"
68100 fi
68101 rm -f conftest.err conftest.$ac_objext \
68102       conftest$ac_exeext conftest.$ac_ext
68103 fi
68104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68106 if test `eval echo '${'$as_ac_var'}'` = yes; then
68107   cat >>confdefs.h <<_ACEOF
68108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68109 _ACEOF
68110
68111 fi
68112 done
68113
68114   else
68115
68116   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
68117 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
68118   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68119     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
68120   echo $ECHO_N "(cached) $ECHO_C" >&6
68121 else
68122
68123
68124
68125       ac_ext=cc
68126 ac_cpp='$CXXCPP $CPPFLAGS'
68127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68130
68131       cat >conftest.$ac_ext <<_ACEOF
68132 /* confdefs.h.  */
68133 _ACEOF
68134 cat confdefs.h >>conftest.$ac_ext
68135 cat >>conftest.$ac_ext <<_ACEOF
68136 /* end confdefs.h.  */
68137 #include <math.h>
68138 int
68139 main ()
68140 {
68141  _modfl(0, 0);
68142   ;
68143   return 0;
68144 }
68145 _ACEOF
68146 rm -f conftest.$ac_objext
68147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68148   (eval $ac_compile) 2>conftest.er1
68149   ac_status=$?
68150   grep -v '^ *+' conftest.er1 >conftest.err
68151   rm -f conftest.er1
68152   cat conftest.err >&5
68153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68154   (exit $ac_status); } &&
68155          { ac_try='test -z "$ac_cxx_werror_flag"
68156                          || test ! -s conftest.err'
68157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68158   (eval $ac_try) 2>&5
68159   ac_status=$?
68160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68161   (exit $ac_status); }; } &&
68162          { ac_try='test -s conftest.$ac_objext'
68163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68164   (eval $ac_try) 2>&5
68165   ac_status=$?
68166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68167   (exit $ac_status); }; }; then
68168   glibcxx_cv_func__modfl_use=yes
68169 else
68170   echo "$as_me: failed program was:" >&5
68171 sed 's/^/| /' conftest.$ac_ext >&5
68172
68173 glibcxx_cv_func__modfl_use=no
68174 fi
68175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68176       ac_ext=c
68177 ac_cpp='$CPP $CPPFLAGS'
68178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68181
68182
68183 fi
68184
68185   fi
68186   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
68187 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
68188
68189     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68190
68191 for ac_func in _modfl
68192 do
68193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68194 echo "$as_me:$LINENO: checking for $ac_func" >&5
68195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68196 if eval "test \"\${$as_ac_var+set}\" = set"; then
68197   echo $ECHO_N "(cached) $ECHO_C" >&6
68198 else
68199   if test x$gcc_no_link = xyes; then
68200   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68202    { (exit 1); exit 1; }; }
68203 fi
68204 cat >conftest.$ac_ext <<_ACEOF
68205 /* confdefs.h.  */
68206 _ACEOF
68207 cat confdefs.h >>conftest.$ac_ext
68208 cat >>conftest.$ac_ext <<_ACEOF
68209 /* end confdefs.h.  */
68210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68211    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68212 #define $ac_func innocuous_$ac_func
68213
68214 /* System header to define __stub macros and hopefully few prototypes,
68215     which can conflict with char $ac_func (); below.
68216     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68217     <limits.h> exists even on freestanding compilers.  */
68218
68219 #ifdef __STDC__
68220 # include <limits.h>
68221 #else
68222 # include <assert.h>
68223 #endif
68224
68225 #undef $ac_func
68226
68227 /* Override any gcc2 internal prototype to avoid an error.  */
68228 #ifdef __cplusplus
68229 extern "C"
68230 {
68231 #endif
68232 /* We use char because int might match the return type of a gcc2
68233    builtin and then its argument prototype would still apply.  */
68234 char $ac_func ();
68235 /* The GNU C library defines this for functions which it implements
68236     to always fail with ENOSYS.  Some functions are actually named
68237     something starting with __ and the normal name is an alias.  */
68238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68239 choke me
68240 #else
68241 char (*f) () = $ac_func;
68242 #endif
68243 #ifdef __cplusplus
68244 }
68245 #endif
68246
68247 int
68248 main ()
68249 {
68250 return f != $ac_func;
68251   ;
68252   return 0;
68253 }
68254 _ACEOF
68255 rm -f conftest.$ac_objext conftest$ac_exeext
68256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68257   (eval $ac_link) 2>conftest.er1
68258   ac_status=$?
68259   grep -v '^ *+' conftest.er1 >conftest.err
68260   rm -f conftest.er1
68261   cat conftest.err >&5
68262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68263   (exit $ac_status); } &&
68264          { ac_try='test -z "$ac_c_werror_flag"
68265                          || test ! -s conftest.err'
68266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68267   (eval $ac_try) 2>&5
68268   ac_status=$?
68269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68270   (exit $ac_status); }; } &&
68271          { ac_try='test -s conftest$ac_exeext'
68272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68273   (eval $ac_try) 2>&5
68274   ac_status=$?
68275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68276   (exit $ac_status); }; }; then
68277   eval "$as_ac_var=yes"
68278 else
68279   echo "$as_me: failed program was:" >&5
68280 sed 's/^/| /' conftest.$ac_ext >&5
68281
68282 eval "$as_ac_var=no"
68283 fi
68284 rm -f conftest.err conftest.$ac_objext \
68285       conftest$ac_exeext conftest.$ac_ext
68286 fi
68287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68289 if test `eval echo '${'$as_ac_var'}'` = yes; then
68290   cat >>confdefs.h <<_ACEOF
68291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68292 _ACEOF
68293
68294 fi
68295 done
68296
68297     fi
68298   fi
68299
68300
68301
68302   echo "$as_me:$LINENO: checking for powl declaration" >&5
68303 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
68304   if test x${glibcxx_cv_func_powl_use+set} != xset; then
68305     if test "${glibcxx_cv_func_powl_use+set}" = set; then
68306   echo $ECHO_N "(cached) $ECHO_C" >&6
68307 else
68308
68309
68310
68311       ac_ext=cc
68312 ac_cpp='$CXXCPP $CPPFLAGS'
68313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68316
68317       cat >conftest.$ac_ext <<_ACEOF
68318 /* confdefs.h.  */
68319 _ACEOF
68320 cat confdefs.h >>conftest.$ac_ext
68321 cat >>conftest.$ac_ext <<_ACEOF
68322 /* end confdefs.h.  */
68323 #include <math.h>
68324 int
68325 main ()
68326 {
68327  powl(0, 0);
68328   ;
68329   return 0;
68330 }
68331 _ACEOF
68332 rm -f conftest.$ac_objext
68333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68334   (eval $ac_compile) 2>conftest.er1
68335   ac_status=$?
68336   grep -v '^ *+' conftest.er1 >conftest.err
68337   rm -f conftest.er1
68338   cat conftest.err >&5
68339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68340   (exit $ac_status); } &&
68341          { ac_try='test -z "$ac_cxx_werror_flag"
68342                          || test ! -s conftest.err'
68343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68344   (eval $ac_try) 2>&5
68345   ac_status=$?
68346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68347   (exit $ac_status); }; } &&
68348          { ac_try='test -s conftest.$ac_objext'
68349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68350   (eval $ac_try) 2>&5
68351   ac_status=$?
68352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68353   (exit $ac_status); }; }; then
68354   glibcxx_cv_func_powl_use=yes
68355 else
68356   echo "$as_me: failed program was:" >&5
68357 sed 's/^/| /' conftest.$ac_ext >&5
68358
68359 glibcxx_cv_func_powl_use=no
68360 fi
68361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68362       ac_ext=c
68363 ac_cpp='$CPP $CPPFLAGS'
68364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68367
68368
68369 fi
68370
68371   fi
68372   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
68373 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
68374
68375   if test x$glibcxx_cv_func_powl_use = x"yes"; then
68376
68377 for ac_func in powl
68378 do
68379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68380 echo "$as_me:$LINENO: checking for $ac_func" >&5
68381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68382 if eval "test \"\${$as_ac_var+set}\" = set"; then
68383   echo $ECHO_N "(cached) $ECHO_C" >&6
68384 else
68385   if test x$gcc_no_link = xyes; then
68386   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68388    { (exit 1); exit 1; }; }
68389 fi
68390 cat >conftest.$ac_ext <<_ACEOF
68391 /* confdefs.h.  */
68392 _ACEOF
68393 cat confdefs.h >>conftest.$ac_ext
68394 cat >>conftest.$ac_ext <<_ACEOF
68395 /* end confdefs.h.  */
68396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68397    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68398 #define $ac_func innocuous_$ac_func
68399
68400 /* System header to define __stub macros and hopefully few prototypes,
68401     which can conflict with char $ac_func (); below.
68402     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68403     <limits.h> exists even on freestanding compilers.  */
68404
68405 #ifdef __STDC__
68406 # include <limits.h>
68407 #else
68408 # include <assert.h>
68409 #endif
68410
68411 #undef $ac_func
68412
68413 /* Override any gcc2 internal prototype to avoid an error.  */
68414 #ifdef __cplusplus
68415 extern "C"
68416 {
68417 #endif
68418 /* We use char because int might match the return type of a gcc2
68419    builtin and then its argument prototype would still apply.  */
68420 char $ac_func ();
68421 /* The GNU C library defines this for functions which it implements
68422     to always fail with ENOSYS.  Some functions are actually named
68423     something starting with __ and the normal name is an alias.  */
68424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68425 choke me
68426 #else
68427 char (*f) () = $ac_func;
68428 #endif
68429 #ifdef __cplusplus
68430 }
68431 #endif
68432
68433 int
68434 main ()
68435 {
68436 return f != $ac_func;
68437   ;
68438   return 0;
68439 }
68440 _ACEOF
68441 rm -f conftest.$ac_objext conftest$ac_exeext
68442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68443   (eval $ac_link) 2>conftest.er1
68444   ac_status=$?
68445   grep -v '^ *+' conftest.er1 >conftest.err
68446   rm -f conftest.er1
68447   cat conftest.err >&5
68448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68449   (exit $ac_status); } &&
68450          { ac_try='test -z "$ac_c_werror_flag"
68451                          || test ! -s conftest.err'
68452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68453   (eval $ac_try) 2>&5
68454   ac_status=$?
68455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68456   (exit $ac_status); }; } &&
68457          { ac_try='test -s conftest$ac_exeext'
68458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68459   (eval $ac_try) 2>&5
68460   ac_status=$?
68461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68462   (exit $ac_status); }; }; then
68463   eval "$as_ac_var=yes"
68464 else
68465   echo "$as_me: failed program was:" >&5
68466 sed 's/^/| /' conftest.$ac_ext >&5
68467
68468 eval "$as_ac_var=no"
68469 fi
68470 rm -f conftest.err conftest.$ac_objext \
68471       conftest$ac_exeext conftest.$ac_ext
68472 fi
68473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68475 if test `eval echo '${'$as_ac_var'}'` = yes; then
68476   cat >>confdefs.h <<_ACEOF
68477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68478 _ACEOF
68479
68480 fi
68481 done
68482
68483   else
68484
68485   echo "$as_me:$LINENO: checking for _powl declaration" >&5
68486 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
68487   if test x${glibcxx_cv_func__powl_use+set} != xset; then
68488     if test "${glibcxx_cv_func__powl_use+set}" = set; then
68489   echo $ECHO_N "(cached) $ECHO_C" >&6
68490 else
68491
68492
68493
68494       ac_ext=cc
68495 ac_cpp='$CXXCPP $CPPFLAGS'
68496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68499
68500       cat >conftest.$ac_ext <<_ACEOF
68501 /* confdefs.h.  */
68502 _ACEOF
68503 cat confdefs.h >>conftest.$ac_ext
68504 cat >>conftest.$ac_ext <<_ACEOF
68505 /* end confdefs.h.  */
68506 #include <math.h>
68507 int
68508 main ()
68509 {
68510  _powl(0, 0);
68511   ;
68512   return 0;
68513 }
68514 _ACEOF
68515 rm -f conftest.$ac_objext
68516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68517   (eval $ac_compile) 2>conftest.er1
68518   ac_status=$?
68519   grep -v '^ *+' conftest.er1 >conftest.err
68520   rm -f conftest.er1
68521   cat conftest.err >&5
68522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68523   (exit $ac_status); } &&
68524          { ac_try='test -z "$ac_cxx_werror_flag"
68525                          || test ! -s conftest.err'
68526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68527   (eval $ac_try) 2>&5
68528   ac_status=$?
68529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68530   (exit $ac_status); }; } &&
68531          { ac_try='test -s conftest.$ac_objext'
68532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68533   (eval $ac_try) 2>&5
68534   ac_status=$?
68535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68536   (exit $ac_status); }; }; then
68537   glibcxx_cv_func__powl_use=yes
68538 else
68539   echo "$as_me: failed program was:" >&5
68540 sed 's/^/| /' conftest.$ac_ext >&5
68541
68542 glibcxx_cv_func__powl_use=no
68543 fi
68544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68545       ac_ext=c
68546 ac_cpp='$CPP $CPPFLAGS'
68547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68550
68551
68552 fi
68553
68554   fi
68555   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
68556 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
68557
68558     if test x$glibcxx_cv_func__powl_use = x"yes"; then
68559
68560 for ac_func in _powl
68561 do
68562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68563 echo "$as_me:$LINENO: checking for $ac_func" >&5
68564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68565 if eval "test \"\${$as_ac_var+set}\" = set"; then
68566   echo $ECHO_N "(cached) $ECHO_C" >&6
68567 else
68568   if test x$gcc_no_link = xyes; then
68569   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68571    { (exit 1); exit 1; }; }
68572 fi
68573 cat >conftest.$ac_ext <<_ACEOF
68574 /* confdefs.h.  */
68575 _ACEOF
68576 cat confdefs.h >>conftest.$ac_ext
68577 cat >>conftest.$ac_ext <<_ACEOF
68578 /* end confdefs.h.  */
68579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68580    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68581 #define $ac_func innocuous_$ac_func
68582
68583 /* System header to define __stub macros and hopefully few prototypes,
68584     which can conflict with char $ac_func (); below.
68585     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68586     <limits.h> exists even on freestanding compilers.  */
68587
68588 #ifdef __STDC__
68589 # include <limits.h>
68590 #else
68591 # include <assert.h>
68592 #endif
68593
68594 #undef $ac_func
68595
68596 /* Override any gcc2 internal prototype to avoid an error.  */
68597 #ifdef __cplusplus
68598 extern "C"
68599 {
68600 #endif
68601 /* We use char because int might match the return type of a gcc2
68602    builtin and then its argument prototype would still apply.  */
68603 char $ac_func ();
68604 /* The GNU C library defines this for functions which it implements
68605     to always fail with ENOSYS.  Some functions are actually named
68606     something starting with __ and the normal name is an alias.  */
68607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68608 choke me
68609 #else
68610 char (*f) () = $ac_func;
68611 #endif
68612 #ifdef __cplusplus
68613 }
68614 #endif
68615
68616 int
68617 main ()
68618 {
68619 return f != $ac_func;
68620   ;
68621   return 0;
68622 }
68623 _ACEOF
68624 rm -f conftest.$ac_objext conftest$ac_exeext
68625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68626   (eval $ac_link) 2>conftest.er1
68627   ac_status=$?
68628   grep -v '^ *+' conftest.er1 >conftest.err
68629   rm -f conftest.er1
68630   cat conftest.err >&5
68631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68632   (exit $ac_status); } &&
68633          { ac_try='test -z "$ac_c_werror_flag"
68634                          || test ! -s conftest.err'
68635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68636   (eval $ac_try) 2>&5
68637   ac_status=$?
68638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68639   (exit $ac_status); }; } &&
68640          { ac_try='test -s conftest$ac_exeext'
68641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68642   (eval $ac_try) 2>&5
68643   ac_status=$?
68644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68645   (exit $ac_status); }; }; then
68646   eval "$as_ac_var=yes"
68647 else
68648   echo "$as_me: failed program was:" >&5
68649 sed 's/^/| /' conftest.$ac_ext >&5
68650
68651 eval "$as_ac_var=no"
68652 fi
68653 rm -f conftest.err conftest.$ac_objext \
68654       conftest$ac_exeext conftest.$ac_ext
68655 fi
68656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68658 if test `eval echo '${'$as_ac_var'}'` = yes; then
68659   cat >>confdefs.h <<_ACEOF
68660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68661 _ACEOF
68662
68663 fi
68664 done
68665
68666     fi
68667   fi
68668
68669
68670
68671   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
68672 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
68673   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
68674     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
68675   echo $ECHO_N "(cached) $ECHO_C" >&6
68676 else
68677
68678
68679
68680       ac_ext=cc
68681 ac_cpp='$CXXCPP $CPPFLAGS'
68682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68685
68686       cat >conftest.$ac_ext <<_ACEOF
68687 /* confdefs.h.  */
68688 _ACEOF
68689 cat confdefs.h >>conftest.$ac_ext
68690 cat >>conftest.$ac_ext <<_ACEOF
68691 /* end confdefs.h.  */
68692 #include <math.h>
68693                       #ifdef HAVE_IEEEFP_H
68694                       #include <ieeefp.h>
68695                       #endif
68696
68697 int
68698 main ()
68699 {
68700  sqrtl(0);
68701   ;
68702   return 0;
68703 }
68704 _ACEOF
68705 rm -f conftest.$ac_objext
68706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68707   (eval $ac_compile) 2>conftest.er1
68708   ac_status=$?
68709   grep -v '^ *+' conftest.er1 >conftest.err
68710   rm -f conftest.er1
68711   cat conftest.err >&5
68712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68713   (exit $ac_status); } &&
68714          { ac_try='test -z "$ac_cxx_werror_flag"
68715                          || test ! -s conftest.err'
68716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68717   (eval $ac_try) 2>&5
68718   ac_status=$?
68719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68720   (exit $ac_status); }; } &&
68721          { ac_try='test -s conftest.$ac_objext'
68722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68723   (eval $ac_try) 2>&5
68724   ac_status=$?
68725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68726   (exit $ac_status); }; }; then
68727   glibcxx_cv_func_sqrtl_use=yes
68728 else
68729   echo "$as_me: failed program was:" >&5
68730 sed 's/^/| /' conftest.$ac_ext >&5
68731
68732 glibcxx_cv_func_sqrtl_use=no
68733 fi
68734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68735       ac_ext=c
68736 ac_cpp='$CPP $CPPFLAGS'
68737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68740
68741
68742 fi
68743
68744   fi
68745   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
68746 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
68747
68748   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
68749
68750 for ac_func in sqrtl
68751 do
68752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68753 echo "$as_me:$LINENO: checking for $ac_func" >&5
68754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68755 if eval "test \"\${$as_ac_var+set}\" = set"; then
68756   echo $ECHO_N "(cached) $ECHO_C" >&6
68757 else
68758   if test x$gcc_no_link = xyes; then
68759   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68761    { (exit 1); exit 1; }; }
68762 fi
68763 cat >conftest.$ac_ext <<_ACEOF
68764 /* confdefs.h.  */
68765 _ACEOF
68766 cat confdefs.h >>conftest.$ac_ext
68767 cat >>conftest.$ac_ext <<_ACEOF
68768 /* end confdefs.h.  */
68769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68770    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68771 #define $ac_func innocuous_$ac_func
68772
68773 /* System header to define __stub macros and hopefully few prototypes,
68774     which can conflict with char $ac_func (); below.
68775     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68776     <limits.h> exists even on freestanding compilers.  */
68777
68778 #ifdef __STDC__
68779 # include <limits.h>
68780 #else
68781 # include <assert.h>
68782 #endif
68783
68784 #undef $ac_func
68785
68786 /* Override any gcc2 internal prototype to avoid an error.  */
68787 #ifdef __cplusplus
68788 extern "C"
68789 {
68790 #endif
68791 /* We use char because int might match the return type of a gcc2
68792    builtin and then its argument prototype would still apply.  */
68793 char $ac_func ();
68794 /* The GNU C library defines this for functions which it implements
68795     to always fail with ENOSYS.  Some functions are actually named
68796     something starting with __ and the normal name is an alias.  */
68797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68798 choke me
68799 #else
68800 char (*f) () = $ac_func;
68801 #endif
68802 #ifdef __cplusplus
68803 }
68804 #endif
68805
68806 int
68807 main ()
68808 {
68809 return f != $ac_func;
68810   ;
68811   return 0;
68812 }
68813 _ACEOF
68814 rm -f conftest.$ac_objext conftest$ac_exeext
68815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68816   (eval $ac_link) 2>conftest.er1
68817   ac_status=$?
68818   grep -v '^ *+' conftest.er1 >conftest.err
68819   rm -f conftest.er1
68820   cat conftest.err >&5
68821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68822   (exit $ac_status); } &&
68823          { ac_try='test -z "$ac_c_werror_flag"
68824                          || test ! -s conftest.err'
68825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68826   (eval $ac_try) 2>&5
68827   ac_status=$?
68828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68829   (exit $ac_status); }; } &&
68830          { ac_try='test -s conftest$ac_exeext'
68831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68832   (eval $ac_try) 2>&5
68833   ac_status=$?
68834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68835   (exit $ac_status); }; }; then
68836   eval "$as_ac_var=yes"
68837 else
68838   echo "$as_me: failed program was:" >&5
68839 sed 's/^/| /' conftest.$ac_ext >&5
68840
68841 eval "$as_ac_var=no"
68842 fi
68843 rm -f conftest.err conftest.$ac_objext \
68844       conftest$ac_exeext conftest.$ac_ext
68845 fi
68846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68848 if test `eval echo '${'$as_ac_var'}'` = yes; then
68849   cat >>confdefs.h <<_ACEOF
68850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68851 _ACEOF
68852
68853 fi
68854 done
68855
68856   else
68857
68858   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
68859 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
68860   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
68861     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
68862   echo $ECHO_N "(cached) $ECHO_C" >&6
68863 else
68864
68865
68866
68867       ac_ext=cc
68868 ac_cpp='$CXXCPP $CPPFLAGS'
68869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68872
68873       cat >conftest.$ac_ext <<_ACEOF
68874 /* confdefs.h.  */
68875 _ACEOF
68876 cat confdefs.h >>conftest.$ac_ext
68877 cat >>conftest.$ac_ext <<_ACEOF
68878 /* end confdefs.h.  */
68879 #include <math.h>
68880                       #ifdef HAVE_IEEEFP_H
68881                       #include <ieeefp.h>
68882                       #endif
68883
68884 int
68885 main ()
68886 {
68887  _sqrtl(0);
68888   ;
68889   return 0;
68890 }
68891 _ACEOF
68892 rm -f conftest.$ac_objext
68893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68894   (eval $ac_compile) 2>conftest.er1
68895   ac_status=$?
68896   grep -v '^ *+' conftest.er1 >conftest.err
68897   rm -f conftest.er1
68898   cat conftest.err >&5
68899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68900   (exit $ac_status); } &&
68901          { ac_try='test -z "$ac_cxx_werror_flag"
68902                          || test ! -s conftest.err'
68903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68904   (eval $ac_try) 2>&5
68905   ac_status=$?
68906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68907   (exit $ac_status); }; } &&
68908          { ac_try='test -s conftest.$ac_objext'
68909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68910   (eval $ac_try) 2>&5
68911   ac_status=$?
68912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68913   (exit $ac_status); }; }; then
68914   glibcxx_cv_func__sqrtl_use=yes
68915 else
68916   echo "$as_me: failed program was:" >&5
68917 sed 's/^/| /' conftest.$ac_ext >&5
68918
68919 glibcxx_cv_func__sqrtl_use=no
68920 fi
68921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68922       ac_ext=c
68923 ac_cpp='$CPP $CPPFLAGS'
68924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68927
68928
68929 fi
68930
68931   fi
68932   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
68933 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
68934
68935     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
68936
68937 for ac_func in _sqrtl
68938 do
68939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68940 echo "$as_me:$LINENO: checking for $ac_func" >&5
68941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68942 if eval "test \"\${$as_ac_var+set}\" = set"; then
68943   echo $ECHO_N "(cached) $ECHO_C" >&6
68944 else
68945   if test x$gcc_no_link = xyes; then
68946   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68948    { (exit 1); exit 1; }; }
68949 fi
68950 cat >conftest.$ac_ext <<_ACEOF
68951 /* confdefs.h.  */
68952 _ACEOF
68953 cat confdefs.h >>conftest.$ac_ext
68954 cat >>conftest.$ac_ext <<_ACEOF
68955 /* end confdefs.h.  */
68956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68957    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68958 #define $ac_func innocuous_$ac_func
68959
68960 /* System header to define __stub macros and hopefully few prototypes,
68961     which can conflict with char $ac_func (); below.
68962     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68963     <limits.h> exists even on freestanding compilers.  */
68964
68965 #ifdef __STDC__
68966 # include <limits.h>
68967 #else
68968 # include <assert.h>
68969 #endif
68970
68971 #undef $ac_func
68972
68973 /* Override any gcc2 internal prototype to avoid an error.  */
68974 #ifdef __cplusplus
68975 extern "C"
68976 {
68977 #endif
68978 /* We use char because int might match the return type of a gcc2
68979    builtin and then its argument prototype would still apply.  */
68980 char $ac_func ();
68981 /* The GNU C library defines this for functions which it implements
68982     to always fail with ENOSYS.  Some functions are actually named
68983     something starting with __ and the normal name is an alias.  */
68984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68985 choke me
68986 #else
68987 char (*f) () = $ac_func;
68988 #endif
68989 #ifdef __cplusplus
68990 }
68991 #endif
68992
68993 int
68994 main ()
68995 {
68996 return f != $ac_func;
68997   ;
68998   return 0;
68999 }
69000 _ACEOF
69001 rm -f conftest.$ac_objext conftest$ac_exeext
69002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69003   (eval $ac_link) 2>conftest.er1
69004   ac_status=$?
69005   grep -v '^ *+' conftest.er1 >conftest.err
69006   rm -f conftest.er1
69007   cat conftest.err >&5
69008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69009   (exit $ac_status); } &&
69010          { ac_try='test -z "$ac_c_werror_flag"
69011                          || test ! -s conftest.err'
69012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69013   (eval $ac_try) 2>&5
69014   ac_status=$?
69015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69016   (exit $ac_status); }; } &&
69017          { ac_try='test -s conftest$ac_exeext'
69018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69019   (eval $ac_try) 2>&5
69020   ac_status=$?
69021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69022   (exit $ac_status); }; }; then
69023   eval "$as_ac_var=yes"
69024 else
69025   echo "$as_me: failed program was:" >&5
69026 sed 's/^/| /' conftest.$ac_ext >&5
69027
69028 eval "$as_ac_var=no"
69029 fi
69030 rm -f conftest.err conftest.$ac_objext \
69031       conftest$ac_exeext conftest.$ac_ext
69032 fi
69033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69035 if test `eval echo '${'$as_ac_var'}'` = yes; then
69036   cat >>confdefs.h <<_ACEOF
69037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69038 _ACEOF
69039
69040 fi
69041 done
69042
69043     fi
69044   fi
69045
69046
69047
69048   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
69049 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
69050   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69051     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
69052   echo $ECHO_N "(cached) $ECHO_C" >&6
69053 else
69054
69055
69056
69057       ac_ext=cc
69058 ac_cpp='$CXXCPP $CPPFLAGS'
69059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69062
69063       cat >conftest.$ac_ext <<_ACEOF
69064 /* confdefs.h.  */
69065 _ACEOF
69066 cat confdefs.h >>conftest.$ac_ext
69067 cat >>conftest.$ac_ext <<_ACEOF
69068 /* end confdefs.h.  */
69069 #include <math.h>
69070 int
69071 main ()
69072 {
69073  sincosl(0, 0, 0);
69074   ;
69075   return 0;
69076 }
69077 _ACEOF
69078 rm -f conftest.$ac_objext
69079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69080   (eval $ac_compile) 2>conftest.er1
69081   ac_status=$?
69082   grep -v '^ *+' conftest.er1 >conftest.err
69083   rm -f conftest.er1
69084   cat conftest.err >&5
69085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69086   (exit $ac_status); } &&
69087          { ac_try='test -z "$ac_cxx_werror_flag"
69088                          || test ! -s conftest.err'
69089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69090   (eval $ac_try) 2>&5
69091   ac_status=$?
69092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69093   (exit $ac_status); }; } &&
69094          { ac_try='test -s conftest.$ac_objext'
69095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69096   (eval $ac_try) 2>&5
69097   ac_status=$?
69098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69099   (exit $ac_status); }; }; then
69100   glibcxx_cv_func_sincosl_use=yes
69101 else
69102   echo "$as_me: failed program was:" >&5
69103 sed 's/^/| /' conftest.$ac_ext >&5
69104
69105 glibcxx_cv_func_sincosl_use=no
69106 fi
69107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69108       ac_ext=c
69109 ac_cpp='$CPP $CPPFLAGS'
69110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69113
69114
69115 fi
69116
69117   fi
69118   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
69119 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
69120
69121   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69122
69123 for ac_func in sincosl
69124 do
69125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69126 echo "$as_me:$LINENO: checking for $ac_func" >&5
69127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69128 if eval "test \"\${$as_ac_var+set}\" = set"; then
69129   echo $ECHO_N "(cached) $ECHO_C" >&6
69130 else
69131   if test x$gcc_no_link = xyes; then
69132   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69134    { (exit 1); exit 1; }; }
69135 fi
69136 cat >conftest.$ac_ext <<_ACEOF
69137 /* confdefs.h.  */
69138 _ACEOF
69139 cat confdefs.h >>conftest.$ac_ext
69140 cat >>conftest.$ac_ext <<_ACEOF
69141 /* end confdefs.h.  */
69142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69143    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69144 #define $ac_func innocuous_$ac_func
69145
69146 /* System header to define __stub macros and hopefully few prototypes,
69147     which can conflict with char $ac_func (); below.
69148     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69149     <limits.h> exists even on freestanding compilers.  */
69150
69151 #ifdef __STDC__
69152 # include <limits.h>
69153 #else
69154 # include <assert.h>
69155 #endif
69156
69157 #undef $ac_func
69158
69159 /* Override any gcc2 internal prototype to avoid an error.  */
69160 #ifdef __cplusplus
69161 extern "C"
69162 {
69163 #endif
69164 /* We use char because int might match the return type of a gcc2
69165    builtin and then its argument prototype would still apply.  */
69166 char $ac_func ();
69167 /* The GNU C library defines this for functions which it implements
69168     to always fail with ENOSYS.  Some functions are actually named
69169     something starting with __ and the normal name is an alias.  */
69170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69171 choke me
69172 #else
69173 char (*f) () = $ac_func;
69174 #endif
69175 #ifdef __cplusplus
69176 }
69177 #endif
69178
69179 int
69180 main ()
69181 {
69182 return f != $ac_func;
69183   ;
69184   return 0;
69185 }
69186 _ACEOF
69187 rm -f conftest.$ac_objext conftest$ac_exeext
69188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69189   (eval $ac_link) 2>conftest.er1
69190   ac_status=$?
69191   grep -v '^ *+' conftest.er1 >conftest.err
69192   rm -f conftest.er1
69193   cat conftest.err >&5
69194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69195   (exit $ac_status); } &&
69196          { ac_try='test -z "$ac_c_werror_flag"
69197                          || test ! -s conftest.err'
69198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69199   (eval $ac_try) 2>&5
69200   ac_status=$?
69201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69202   (exit $ac_status); }; } &&
69203          { ac_try='test -s conftest$ac_exeext'
69204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69205   (eval $ac_try) 2>&5
69206   ac_status=$?
69207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69208   (exit $ac_status); }; }; then
69209   eval "$as_ac_var=yes"
69210 else
69211   echo "$as_me: failed program was:" >&5
69212 sed 's/^/| /' conftest.$ac_ext >&5
69213
69214 eval "$as_ac_var=no"
69215 fi
69216 rm -f conftest.err conftest.$ac_objext \
69217       conftest$ac_exeext conftest.$ac_ext
69218 fi
69219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69221 if test `eval echo '${'$as_ac_var'}'` = yes; then
69222   cat >>confdefs.h <<_ACEOF
69223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69224 _ACEOF
69225
69226 fi
69227 done
69228
69229   else
69230
69231   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
69232 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
69233   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69234     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
69235   echo $ECHO_N "(cached) $ECHO_C" >&6
69236 else
69237
69238
69239
69240       ac_ext=cc
69241 ac_cpp='$CXXCPP $CPPFLAGS'
69242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69245
69246       cat >conftest.$ac_ext <<_ACEOF
69247 /* confdefs.h.  */
69248 _ACEOF
69249 cat confdefs.h >>conftest.$ac_ext
69250 cat >>conftest.$ac_ext <<_ACEOF
69251 /* end confdefs.h.  */
69252 #include <math.h>
69253 int
69254 main ()
69255 {
69256  _sincosl(0, 0, 0);
69257   ;
69258   return 0;
69259 }
69260 _ACEOF
69261 rm -f conftest.$ac_objext
69262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69263   (eval $ac_compile) 2>conftest.er1
69264   ac_status=$?
69265   grep -v '^ *+' conftest.er1 >conftest.err
69266   rm -f conftest.er1
69267   cat conftest.err >&5
69268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69269   (exit $ac_status); } &&
69270          { ac_try='test -z "$ac_cxx_werror_flag"
69271                          || test ! -s conftest.err'
69272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69273   (eval $ac_try) 2>&5
69274   ac_status=$?
69275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69276   (exit $ac_status); }; } &&
69277          { ac_try='test -s conftest.$ac_objext'
69278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69279   (eval $ac_try) 2>&5
69280   ac_status=$?
69281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69282   (exit $ac_status); }; }; then
69283   glibcxx_cv_func__sincosl_use=yes
69284 else
69285   echo "$as_me: failed program was:" >&5
69286 sed 's/^/| /' conftest.$ac_ext >&5
69287
69288 glibcxx_cv_func__sincosl_use=no
69289 fi
69290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69291       ac_ext=c
69292 ac_cpp='$CPP $CPPFLAGS'
69293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69296
69297
69298 fi
69299
69300   fi
69301   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
69302 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
69303
69304     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69305
69306 for ac_func in _sincosl
69307 do
69308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69309 echo "$as_me:$LINENO: checking for $ac_func" >&5
69310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69311 if eval "test \"\${$as_ac_var+set}\" = set"; then
69312   echo $ECHO_N "(cached) $ECHO_C" >&6
69313 else
69314   if test x$gcc_no_link = xyes; then
69315   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69317    { (exit 1); exit 1; }; }
69318 fi
69319 cat >conftest.$ac_ext <<_ACEOF
69320 /* confdefs.h.  */
69321 _ACEOF
69322 cat confdefs.h >>conftest.$ac_ext
69323 cat >>conftest.$ac_ext <<_ACEOF
69324 /* end confdefs.h.  */
69325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69326    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69327 #define $ac_func innocuous_$ac_func
69328
69329 /* System header to define __stub macros and hopefully few prototypes,
69330     which can conflict with char $ac_func (); below.
69331     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69332     <limits.h> exists even on freestanding compilers.  */
69333
69334 #ifdef __STDC__
69335 # include <limits.h>
69336 #else
69337 # include <assert.h>
69338 #endif
69339
69340 #undef $ac_func
69341
69342 /* Override any gcc2 internal prototype to avoid an error.  */
69343 #ifdef __cplusplus
69344 extern "C"
69345 {
69346 #endif
69347 /* We use char because int might match the return type of a gcc2
69348    builtin and then its argument prototype would still apply.  */
69349 char $ac_func ();
69350 /* The GNU C library defines this for functions which it implements
69351     to always fail with ENOSYS.  Some functions are actually named
69352     something starting with __ and the normal name is an alias.  */
69353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69354 choke me
69355 #else
69356 char (*f) () = $ac_func;
69357 #endif
69358 #ifdef __cplusplus
69359 }
69360 #endif
69361
69362 int
69363 main ()
69364 {
69365 return f != $ac_func;
69366   ;
69367   return 0;
69368 }
69369 _ACEOF
69370 rm -f conftest.$ac_objext conftest$ac_exeext
69371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69372   (eval $ac_link) 2>conftest.er1
69373   ac_status=$?
69374   grep -v '^ *+' conftest.er1 >conftest.err
69375   rm -f conftest.er1
69376   cat conftest.err >&5
69377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69378   (exit $ac_status); } &&
69379          { ac_try='test -z "$ac_c_werror_flag"
69380                          || test ! -s conftest.err'
69381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69382   (eval $ac_try) 2>&5
69383   ac_status=$?
69384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69385   (exit $ac_status); }; } &&
69386          { ac_try='test -s conftest$ac_exeext'
69387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69388   (eval $ac_try) 2>&5
69389   ac_status=$?
69390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69391   (exit $ac_status); }; }; then
69392   eval "$as_ac_var=yes"
69393 else
69394   echo "$as_me: failed program was:" >&5
69395 sed 's/^/| /' conftest.$ac_ext >&5
69396
69397 eval "$as_ac_var=no"
69398 fi
69399 rm -f conftest.err conftest.$ac_objext \
69400       conftest$ac_exeext conftest.$ac_ext
69401 fi
69402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69404 if test `eval echo '${'$as_ac_var'}'` = yes; then
69405   cat >>confdefs.h <<_ACEOF
69406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69407 _ACEOF
69408
69409 fi
69410 done
69411
69412     fi
69413   fi
69414
69415
69416
69417   echo "$as_me:$LINENO: checking for finitel declaration" >&5
69418 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
69419   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69420     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
69421   echo $ECHO_N "(cached) $ECHO_C" >&6
69422 else
69423
69424
69425
69426       ac_ext=cc
69427 ac_cpp='$CXXCPP $CPPFLAGS'
69428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69431
69432       cat >conftest.$ac_ext <<_ACEOF
69433 /* confdefs.h.  */
69434 _ACEOF
69435 cat confdefs.h >>conftest.$ac_ext
69436 cat >>conftest.$ac_ext <<_ACEOF
69437 /* end confdefs.h.  */
69438 #include <math.h>
69439                       #ifdef HAVE_IEEEFP_H
69440                       #include <ieeefp.h>
69441                       #endif
69442
69443 int
69444 main ()
69445 {
69446  finitel(0);
69447   ;
69448   return 0;
69449 }
69450 _ACEOF
69451 rm -f conftest.$ac_objext
69452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69453   (eval $ac_compile) 2>conftest.er1
69454   ac_status=$?
69455   grep -v '^ *+' conftest.er1 >conftest.err
69456   rm -f conftest.er1
69457   cat conftest.err >&5
69458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69459   (exit $ac_status); } &&
69460          { ac_try='test -z "$ac_cxx_werror_flag"
69461                          || test ! -s conftest.err'
69462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69463   (eval $ac_try) 2>&5
69464   ac_status=$?
69465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69466   (exit $ac_status); }; } &&
69467          { ac_try='test -s conftest.$ac_objext'
69468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69469   (eval $ac_try) 2>&5
69470   ac_status=$?
69471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69472   (exit $ac_status); }; }; then
69473   glibcxx_cv_func_finitel_use=yes
69474 else
69475   echo "$as_me: failed program was:" >&5
69476 sed 's/^/| /' conftest.$ac_ext >&5
69477
69478 glibcxx_cv_func_finitel_use=no
69479 fi
69480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69481       ac_ext=c
69482 ac_cpp='$CPP $CPPFLAGS'
69483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69486
69487
69488 fi
69489
69490   fi
69491   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
69492 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
69493
69494   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
69495
69496 for ac_func in finitel
69497 do
69498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69499 echo "$as_me:$LINENO: checking for $ac_func" >&5
69500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69501 if eval "test \"\${$as_ac_var+set}\" = set"; then
69502   echo $ECHO_N "(cached) $ECHO_C" >&6
69503 else
69504   if test x$gcc_no_link = xyes; then
69505   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69507    { (exit 1); exit 1; }; }
69508 fi
69509 cat >conftest.$ac_ext <<_ACEOF
69510 /* confdefs.h.  */
69511 _ACEOF
69512 cat confdefs.h >>conftest.$ac_ext
69513 cat >>conftest.$ac_ext <<_ACEOF
69514 /* end confdefs.h.  */
69515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69516    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69517 #define $ac_func innocuous_$ac_func
69518
69519 /* System header to define __stub macros and hopefully few prototypes,
69520     which can conflict with char $ac_func (); below.
69521     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69522     <limits.h> exists even on freestanding compilers.  */
69523
69524 #ifdef __STDC__
69525 # include <limits.h>
69526 #else
69527 # include <assert.h>
69528 #endif
69529
69530 #undef $ac_func
69531
69532 /* Override any gcc2 internal prototype to avoid an error.  */
69533 #ifdef __cplusplus
69534 extern "C"
69535 {
69536 #endif
69537 /* We use char because int might match the return type of a gcc2
69538    builtin and then its argument prototype would still apply.  */
69539 char $ac_func ();
69540 /* The GNU C library defines this for functions which it implements
69541     to always fail with ENOSYS.  Some functions are actually named
69542     something starting with __ and the normal name is an alias.  */
69543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69544 choke me
69545 #else
69546 char (*f) () = $ac_func;
69547 #endif
69548 #ifdef __cplusplus
69549 }
69550 #endif
69551
69552 int
69553 main ()
69554 {
69555 return f != $ac_func;
69556   ;
69557   return 0;
69558 }
69559 _ACEOF
69560 rm -f conftest.$ac_objext conftest$ac_exeext
69561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69562   (eval $ac_link) 2>conftest.er1
69563   ac_status=$?
69564   grep -v '^ *+' conftest.er1 >conftest.err
69565   rm -f conftest.er1
69566   cat conftest.err >&5
69567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69568   (exit $ac_status); } &&
69569          { ac_try='test -z "$ac_c_werror_flag"
69570                          || test ! -s conftest.err'
69571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69572   (eval $ac_try) 2>&5
69573   ac_status=$?
69574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69575   (exit $ac_status); }; } &&
69576          { ac_try='test -s conftest$ac_exeext'
69577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69578   (eval $ac_try) 2>&5
69579   ac_status=$?
69580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69581   (exit $ac_status); }; }; then
69582   eval "$as_ac_var=yes"
69583 else
69584   echo "$as_me: failed program was:" >&5
69585 sed 's/^/| /' conftest.$ac_ext >&5
69586
69587 eval "$as_ac_var=no"
69588 fi
69589 rm -f conftest.err conftest.$ac_objext \
69590       conftest$ac_exeext conftest.$ac_ext
69591 fi
69592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69594 if test `eval echo '${'$as_ac_var'}'` = yes; then
69595   cat >>confdefs.h <<_ACEOF
69596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69597 _ACEOF
69598
69599 fi
69600 done
69601
69602   else
69603
69604   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
69605 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
69606   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
69607     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
69608   echo $ECHO_N "(cached) $ECHO_C" >&6
69609 else
69610
69611
69612
69613       ac_ext=cc
69614 ac_cpp='$CXXCPP $CPPFLAGS'
69615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69618
69619       cat >conftest.$ac_ext <<_ACEOF
69620 /* confdefs.h.  */
69621 _ACEOF
69622 cat confdefs.h >>conftest.$ac_ext
69623 cat >>conftest.$ac_ext <<_ACEOF
69624 /* end confdefs.h.  */
69625 #include <math.h>
69626                       #ifdef HAVE_IEEEFP_H
69627                       #include <ieeefp.h>
69628                       #endif
69629
69630 int
69631 main ()
69632 {
69633  _finitel(0);
69634   ;
69635   return 0;
69636 }
69637 _ACEOF
69638 rm -f conftest.$ac_objext
69639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69640   (eval $ac_compile) 2>conftest.er1
69641   ac_status=$?
69642   grep -v '^ *+' conftest.er1 >conftest.err
69643   rm -f conftest.er1
69644   cat conftest.err >&5
69645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69646   (exit $ac_status); } &&
69647          { ac_try='test -z "$ac_cxx_werror_flag"
69648                          || test ! -s conftest.err'
69649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69650   (eval $ac_try) 2>&5
69651   ac_status=$?
69652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69653   (exit $ac_status); }; } &&
69654          { ac_try='test -s conftest.$ac_objext'
69655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69656   (eval $ac_try) 2>&5
69657   ac_status=$?
69658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69659   (exit $ac_status); }; }; then
69660   glibcxx_cv_func__finitel_use=yes
69661 else
69662   echo "$as_me: failed program was:" >&5
69663 sed 's/^/| /' conftest.$ac_ext >&5
69664
69665 glibcxx_cv_func__finitel_use=no
69666 fi
69667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69668       ac_ext=c
69669 ac_cpp='$CPP $CPPFLAGS'
69670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69673
69674
69675 fi
69676
69677   fi
69678   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
69679 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
69680
69681     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
69682
69683 for ac_func in _finitel
69684 do
69685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69686 echo "$as_me:$LINENO: checking for $ac_func" >&5
69687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69688 if eval "test \"\${$as_ac_var+set}\" = set"; then
69689   echo $ECHO_N "(cached) $ECHO_C" >&6
69690 else
69691   if test x$gcc_no_link = xyes; then
69692   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69694    { (exit 1); exit 1; }; }
69695 fi
69696 cat >conftest.$ac_ext <<_ACEOF
69697 /* confdefs.h.  */
69698 _ACEOF
69699 cat confdefs.h >>conftest.$ac_ext
69700 cat >>conftest.$ac_ext <<_ACEOF
69701 /* end confdefs.h.  */
69702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69703    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69704 #define $ac_func innocuous_$ac_func
69705
69706 /* System header to define __stub macros and hopefully few prototypes,
69707     which can conflict with char $ac_func (); below.
69708     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69709     <limits.h> exists even on freestanding compilers.  */
69710
69711 #ifdef __STDC__
69712 # include <limits.h>
69713 #else
69714 # include <assert.h>
69715 #endif
69716
69717 #undef $ac_func
69718
69719 /* Override any gcc2 internal prototype to avoid an error.  */
69720 #ifdef __cplusplus
69721 extern "C"
69722 {
69723 #endif
69724 /* We use char because int might match the return type of a gcc2
69725    builtin and then its argument prototype would still apply.  */
69726 char $ac_func ();
69727 /* The GNU C library defines this for functions which it implements
69728     to always fail with ENOSYS.  Some functions are actually named
69729     something starting with __ and the normal name is an alias.  */
69730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69731 choke me
69732 #else
69733 char (*f) () = $ac_func;
69734 #endif
69735 #ifdef __cplusplus
69736 }
69737 #endif
69738
69739 int
69740 main ()
69741 {
69742 return f != $ac_func;
69743   ;
69744   return 0;
69745 }
69746 _ACEOF
69747 rm -f conftest.$ac_objext conftest$ac_exeext
69748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69749   (eval $ac_link) 2>conftest.er1
69750   ac_status=$?
69751   grep -v '^ *+' conftest.er1 >conftest.err
69752   rm -f conftest.er1
69753   cat conftest.err >&5
69754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69755   (exit $ac_status); } &&
69756          { ac_try='test -z "$ac_c_werror_flag"
69757                          || test ! -s conftest.err'
69758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69759   (eval $ac_try) 2>&5
69760   ac_status=$?
69761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69762   (exit $ac_status); }; } &&
69763          { ac_try='test -s conftest$ac_exeext'
69764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69765   (eval $ac_try) 2>&5
69766   ac_status=$?
69767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69768   (exit $ac_status); }; }; then
69769   eval "$as_ac_var=yes"
69770 else
69771   echo "$as_me: failed program was:" >&5
69772 sed 's/^/| /' conftest.$ac_ext >&5
69773
69774 eval "$as_ac_var=no"
69775 fi
69776 rm -f conftest.err conftest.$ac_objext \
69777       conftest$ac_exeext conftest.$ac_ext
69778 fi
69779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69781 if test `eval echo '${'$as_ac_var'}'` = yes; then
69782   cat >>confdefs.h <<_ACEOF
69783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69784 _ACEOF
69785
69786 fi
69787 done
69788
69789     fi
69790   fi
69791
69792
69793
69794
69795   echo "$as_me:$LINENO: checking for _float trig functions" >&5
69796 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
69797   if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
69798   echo $ECHO_N "(cached) $ECHO_C" >&6
69799 else
69800
69801
69802
69803     ac_ext=cc
69804 ac_cpp='$CXXCPP $CPPFLAGS'
69805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69808
69809     cat >conftest.$ac_ext <<_ACEOF
69810 /* confdefs.h.  */
69811 _ACEOF
69812 cat confdefs.h >>conftest.$ac_ext
69813 cat >>conftest.$ac_ext <<_ACEOF
69814 /* end confdefs.h.  */
69815 #include <math.h>
69816 int
69817 main ()
69818 {
69819  `for x in _acosf _asinf _atanf \
69820                                           _cosf _sinf _tanf \
69821                                           _coshf _sinhf _tanhf; do echo "$x (0);"; done`
69822   ;
69823   return 0;
69824 }
69825 _ACEOF
69826 rm -f conftest.$ac_objext
69827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69828   (eval $ac_compile) 2>conftest.er1
69829   ac_status=$?
69830   grep -v '^ *+' conftest.er1 >conftest.err
69831   rm -f conftest.er1
69832   cat conftest.err >&5
69833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69834   (exit $ac_status); } &&
69835          { ac_try='test -z "$ac_cxx_werror_flag"
69836                          || test ! -s conftest.err'
69837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69838   (eval $ac_try) 2>&5
69839   ac_status=$?
69840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69841   (exit $ac_status); }; } &&
69842          { ac_try='test -s conftest.$ac_objext'
69843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69844   (eval $ac_try) 2>&5
69845   ac_status=$?
69846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69847   (exit $ac_status); }; }; then
69848   glibcxx_cv_func__float_trig_use=yes
69849 else
69850   echo "$as_me: failed program was:" >&5
69851 sed 's/^/| /' conftest.$ac_ext >&5
69852
69853 glibcxx_cv_func__float_trig_use=no
69854 fi
69855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69856     ac_ext=c
69857 ac_cpp='$CPP $CPPFLAGS'
69858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69861
69862 fi
69863
69864   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
69865 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
69866   if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
69867
69868
69869
69870
69871
69872
69873
69874
69875
69876 for ac_func in _acosf _asinf _atanf \
69877                                           _cosf _sinf _tanf \
69878                                           _coshf _sinhf _tanhf
69879 do
69880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69881 echo "$as_me:$LINENO: checking for $ac_func" >&5
69882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69883 if eval "test \"\${$as_ac_var+set}\" = set"; then
69884   echo $ECHO_N "(cached) $ECHO_C" >&6
69885 else
69886   if test x$gcc_no_link = xyes; then
69887   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69889    { (exit 1); exit 1; }; }
69890 fi
69891 cat >conftest.$ac_ext <<_ACEOF
69892 /* confdefs.h.  */
69893 _ACEOF
69894 cat confdefs.h >>conftest.$ac_ext
69895 cat >>conftest.$ac_ext <<_ACEOF
69896 /* end confdefs.h.  */
69897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69898    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69899 #define $ac_func innocuous_$ac_func
69900
69901 /* System header to define __stub macros and hopefully few prototypes,
69902     which can conflict with char $ac_func (); below.
69903     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69904     <limits.h> exists even on freestanding compilers.  */
69905
69906 #ifdef __STDC__
69907 # include <limits.h>
69908 #else
69909 # include <assert.h>
69910 #endif
69911
69912 #undef $ac_func
69913
69914 /* Override any gcc2 internal prototype to avoid an error.  */
69915 #ifdef __cplusplus
69916 extern "C"
69917 {
69918 #endif
69919 /* We use char because int might match the return type of a gcc2
69920    builtin and then its argument prototype would still apply.  */
69921 char $ac_func ();
69922 /* The GNU C library defines this for functions which it implements
69923     to always fail with ENOSYS.  Some functions are actually named
69924     something starting with __ and the normal name is an alias.  */
69925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69926 choke me
69927 #else
69928 char (*f) () = $ac_func;
69929 #endif
69930 #ifdef __cplusplus
69931 }
69932 #endif
69933
69934 int
69935 main ()
69936 {
69937 return f != $ac_func;
69938   ;
69939   return 0;
69940 }
69941 _ACEOF
69942 rm -f conftest.$ac_objext conftest$ac_exeext
69943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69944   (eval $ac_link) 2>conftest.er1
69945   ac_status=$?
69946   grep -v '^ *+' conftest.er1 >conftest.err
69947   rm -f conftest.er1
69948   cat conftest.err >&5
69949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69950   (exit $ac_status); } &&
69951          { ac_try='test -z "$ac_c_werror_flag"
69952                          || test ! -s conftest.err'
69953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69954   (eval $ac_try) 2>&5
69955   ac_status=$?
69956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69957   (exit $ac_status); }; } &&
69958          { ac_try='test -s conftest$ac_exeext'
69959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69960   (eval $ac_try) 2>&5
69961   ac_status=$?
69962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69963   (exit $ac_status); }; }; then
69964   eval "$as_ac_var=yes"
69965 else
69966   echo "$as_me: failed program was:" >&5
69967 sed 's/^/| /' conftest.$ac_ext >&5
69968
69969 eval "$as_ac_var=no"
69970 fi
69971 rm -f conftest.err conftest.$ac_objext \
69972       conftest$ac_exeext conftest.$ac_ext
69973 fi
69974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69976 if test `eval echo '${'$as_ac_var'}'` = yes; then
69977   cat >>confdefs.h <<_ACEOF
69978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69979 _ACEOF
69980
69981 fi
69982 done
69983
69984   fi
69985
69986
69987   echo "$as_me:$LINENO: checking for _float round functions" >&5
69988 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
69989   if test "${glibcxx_cv_func__float_round_use+set}" = set; then
69990   echo $ECHO_N "(cached) $ECHO_C" >&6
69991 else
69992
69993
69994
69995     ac_ext=cc
69996 ac_cpp='$CXXCPP $CPPFLAGS'
69997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70000
70001     cat >conftest.$ac_ext <<_ACEOF
70002 /* confdefs.h.  */
70003 _ACEOF
70004 cat confdefs.h >>conftest.$ac_ext
70005 cat >>conftest.$ac_ext <<_ACEOF
70006 /* end confdefs.h.  */
70007 #include <math.h>
70008 int
70009 main ()
70010 {
70011  `for x in _ceilf _floorf; do echo "$x (0);"; done`
70012   ;
70013   return 0;
70014 }
70015 _ACEOF
70016 rm -f conftest.$ac_objext
70017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70018   (eval $ac_compile) 2>conftest.er1
70019   ac_status=$?
70020   grep -v '^ *+' conftest.er1 >conftest.err
70021   rm -f conftest.er1
70022   cat conftest.err >&5
70023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70024   (exit $ac_status); } &&
70025          { ac_try='test -z "$ac_cxx_werror_flag"
70026                          || test ! -s conftest.err'
70027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70028   (eval $ac_try) 2>&5
70029   ac_status=$?
70030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70031   (exit $ac_status); }; } &&
70032          { ac_try='test -s conftest.$ac_objext'
70033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70034   (eval $ac_try) 2>&5
70035   ac_status=$?
70036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70037   (exit $ac_status); }; }; then
70038   glibcxx_cv_func__float_round_use=yes
70039 else
70040   echo "$as_me: failed program was:" >&5
70041 sed 's/^/| /' conftest.$ac_ext >&5
70042
70043 glibcxx_cv_func__float_round_use=no
70044 fi
70045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70046     ac_ext=c
70047 ac_cpp='$CPP $CPPFLAGS'
70048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70051
70052 fi
70053
70054   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
70055 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
70056   if test x$glibcxx_cv_func__float_round_use = x"yes"; then
70057
70058
70059 for ac_func in _ceilf _floorf
70060 do
70061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70062 echo "$as_me:$LINENO: checking for $ac_func" >&5
70063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70064 if eval "test \"\${$as_ac_var+set}\" = set"; then
70065   echo $ECHO_N "(cached) $ECHO_C" >&6
70066 else
70067   if test x$gcc_no_link = xyes; then
70068   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70070    { (exit 1); exit 1; }; }
70071 fi
70072 cat >conftest.$ac_ext <<_ACEOF
70073 /* confdefs.h.  */
70074 _ACEOF
70075 cat confdefs.h >>conftest.$ac_ext
70076 cat >>conftest.$ac_ext <<_ACEOF
70077 /* end confdefs.h.  */
70078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70079    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70080 #define $ac_func innocuous_$ac_func
70081
70082 /* System header to define __stub macros and hopefully few prototypes,
70083     which can conflict with char $ac_func (); below.
70084     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70085     <limits.h> exists even on freestanding compilers.  */
70086
70087 #ifdef __STDC__
70088 # include <limits.h>
70089 #else
70090 # include <assert.h>
70091 #endif
70092
70093 #undef $ac_func
70094
70095 /* Override any gcc2 internal prototype to avoid an error.  */
70096 #ifdef __cplusplus
70097 extern "C"
70098 {
70099 #endif
70100 /* We use char because int might match the return type of a gcc2
70101    builtin and then its argument prototype would still apply.  */
70102 char $ac_func ();
70103 /* The GNU C library defines this for functions which it implements
70104     to always fail with ENOSYS.  Some functions are actually named
70105     something starting with __ and the normal name is an alias.  */
70106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70107 choke me
70108 #else
70109 char (*f) () = $ac_func;
70110 #endif
70111 #ifdef __cplusplus
70112 }
70113 #endif
70114
70115 int
70116 main ()
70117 {
70118 return f != $ac_func;
70119   ;
70120   return 0;
70121 }
70122 _ACEOF
70123 rm -f conftest.$ac_objext conftest$ac_exeext
70124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70125   (eval $ac_link) 2>conftest.er1
70126   ac_status=$?
70127   grep -v '^ *+' conftest.er1 >conftest.err
70128   rm -f conftest.er1
70129   cat conftest.err >&5
70130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70131   (exit $ac_status); } &&
70132          { ac_try='test -z "$ac_c_werror_flag"
70133                          || test ! -s conftest.err'
70134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70135   (eval $ac_try) 2>&5
70136   ac_status=$?
70137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70138   (exit $ac_status); }; } &&
70139          { ac_try='test -s conftest$ac_exeext'
70140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70141   (eval $ac_try) 2>&5
70142   ac_status=$?
70143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70144   (exit $ac_status); }; }; then
70145   eval "$as_ac_var=yes"
70146 else
70147   echo "$as_me: failed program was:" >&5
70148 sed 's/^/| /' conftest.$ac_ext >&5
70149
70150 eval "$as_ac_var=no"
70151 fi
70152 rm -f conftest.err conftest.$ac_objext \
70153       conftest$ac_exeext conftest.$ac_ext
70154 fi
70155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70157 if test `eval echo '${'$as_ac_var'}'` = yes; then
70158   cat >>confdefs.h <<_ACEOF
70159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70160 _ACEOF
70161
70162 fi
70163 done
70164
70165   fi
70166
70167
70168
70169   echo "$as_me:$LINENO: checking for _long double trig functions" >&5
70170 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
70171   if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
70172   echo $ECHO_N "(cached) $ECHO_C" >&6
70173 else
70174
70175
70176
70177     ac_ext=cc
70178 ac_cpp='$CXXCPP $CPPFLAGS'
70179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70182
70183     cat >conftest.$ac_ext <<_ACEOF
70184 /* confdefs.h.  */
70185 _ACEOF
70186 cat confdefs.h >>conftest.$ac_ext
70187 cat >>conftest.$ac_ext <<_ACEOF
70188 /* end confdefs.h.  */
70189 #include <math.h>
70190 int
70191 main ()
70192 {
70193  `for x in _acosl _asinl _atanl \
70194                                           _cosl _sinl _tanl \
70195                                           _coshl _sinhl _tanhl; do echo "$x (0);"; done`
70196   ;
70197   return 0;
70198 }
70199 _ACEOF
70200 rm -f conftest.$ac_objext
70201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70202   (eval $ac_compile) 2>conftest.er1
70203   ac_status=$?
70204   grep -v '^ *+' conftest.er1 >conftest.err
70205   rm -f conftest.er1
70206   cat conftest.err >&5
70207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70208   (exit $ac_status); } &&
70209          { ac_try='test -z "$ac_cxx_werror_flag"
70210                          || test ! -s conftest.err'
70211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70212   (eval $ac_try) 2>&5
70213   ac_status=$?
70214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70215   (exit $ac_status); }; } &&
70216          { ac_try='test -s conftest.$ac_objext'
70217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70218   (eval $ac_try) 2>&5
70219   ac_status=$?
70220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70221   (exit $ac_status); }; }; then
70222   glibcxx_cv_func__long_double_trig_use=yes
70223 else
70224   echo "$as_me: failed program was:" >&5
70225 sed 's/^/| /' conftest.$ac_ext >&5
70226
70227 glibcxx_cv_func__long_double_trig_use=no
70228 fi
70229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70230     ac_ext=c
70231 ac_cpp='$CPP $CPPFLAGS'
70232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70235
70236 fi
70237
70238   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
70239 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
70240   if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70241
70242
70243
70244
70245
70246
70247
70248
70249
70250 for ac_func in _acosl _asinl _atanl \
70251                                           _cosl _sinl _tanl \
70252                                           _coshl _sinhl _tanhl
70253 do
70254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70255 echo "$as_me:$LINENO: checking for $ac_func" >&5
70256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70257 if eval "test \"\${$as_ac_var+set}\" = set"; then
70258   echo $ECHO_N "(cached) $ECHO_C" >&6
70259 else
70260   if test x$gcc_no_link = xyes; then
70261   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70263    { (exit 1); exit 1; }; }
70264 fi
70265 cat >conftest.$ac_ext <<_ACEOF
70266 /* confdefs.h.  */
70267 _ACEOF
70268 cat confdefs.h >>conftest.$ac_ext
70269 cat >>conftest.$ac_ext <<_ACEOF
70270 /* end confdefs.h.  */
70271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70272    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70273 #define $ac_func innocuous_$ac_func
70274
70275 /* System header to define __stub macros and hopefully few prototypes,
70276     which can conflict with char $ac_func (); below.
70277     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70278     <limits.h> exists even on freestanding compilers.  */
70279
70280 #ifdef __STDC__
70281 # include <limits.h>
70282 #else
70283 # include <assert.h>
70284 #endif
70285
70286 #undef $ac_func
70287
70288 /* Override any gcc2 internal prototype to avoid an error.  */
70289 #ifdef __cplusplus
70290 extern "C"
70291 {
70292 #endif
70293 /* We use char because int might match the return type of a gcc2
70294    builtin and then its argument prototype would still apply.  */
70295 char $ac_func ();
70296 /* The GNU C library defines this for functions which it implements
70297     to always fail with ENOSYS.  Some functions are actually named
70298     something starting with __ and the normal name is an alias.  */
70299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70300 choke me
70301 #else
70302 char (*f) () = $ac_func;
70303 #endif
70304 #ifdef __cplusplus
70305 }
70306 #endif
70307
70308 int
70309 main ()
70310 {
70311 return f != $ac_func;
70312   ;
70313   return 0;
70314 }
70315 _ACEOF
70316 rm -f conftest.$ac_objext conftest$ac_exeext
70317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70318   (eval $ac_link) 2>conftest.er1
70319   ac_status=$?
70320   grep -v '^ *+' conftest.er1 >conftest.err
70321   rm -f conftest.er1
70322   cat conftest.err >&5
70323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70324   (exit $ac_status); } &&
70325          { ac_try='test -z "$ac_c_werror_flag"
70326                          || test ! -s conftest.err'
70327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70328   (eval $ac_try) 2>&5
70329   ac_status=$?
70330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70331   (exit $ac_status); }; } &&
70332          { ac_try='test -s conftest$ac_exeext'
70333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70334   (eval $ac_try) 2>&5
70335   ac_status=$?
70336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70337   (exit $ac_status); }; }; then
70338   eval "$as_ac_var=yes"
70339 else
70340   echo "$as_me: failed program was:" >&5
70341 sed 's/^/| /' conftest.$ac_ext >&5
70342
70343 eval "$as_ac_var=no"
70344 fi
70345 rm -f conftest.err conftest.$ac_objext \
70346       conftest$ac_exeext conftest.$ac_ext
70347 fi
70348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70350 if test `eval echo '${'$as_ac_var'}'` = yes; then
70351   cat >>confdefs.h <<_ACEOF
70352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70353 _ACEOF
70354
70355 fi
70356 done
70357
70358   fi
70359
70360
70361   echo "$as_me:$LINENO: checking for _long double round functions" >&5
70362 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
70363   if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
70364   echo $ECHO_N "(cached) $ECHO_C" >&6
70365 else
70366
70367
70368
70369     ac_ext=cc
70370 ac_cpp='$CXXCPP $CPPFLAGS'
70371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70374
70375     cat >conftest.$ac_ext <<_ACEOF
70376 /* confdefs.h.  */
70377 _ACEOF
70378 cat confdefs.h >>conftest.$ac_ext
70379 cat >>conftest.$ac_ext <<_ACEOF
70380 /* end confdefs.h.  */
70381 #include <math.h>
70382 int
70383 main ()
70384 {
70385  `for x in _ceill _floorl; do echo "$x (0);"; done`
70386   ;
70387   return 0;
70388 }
70389 _ACEOF
70390 rm -f conftest.$ac_objext
70391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70392   (eval $ac_compile) 2>conftest.er1
70393   ac_status=$?
70394   grep -v '^ *+' conftest.er1 >conftest.err
70395   rm -f conftest.er1
70396   cat conftest.err >&5
70397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70398   (exit $ac_status); } &&
70399          { ac_try='test -z "$ac_cxx_werror_flag"
70400                          || test ! -s conftest.err'
70401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70402   (eval $ac_try) 2>&5
70403   ac_status=$?
70404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70405   (exit $ac_status); }; } &&
70406          { ac_try='test -s conftest.$ac_objext'
70407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70408   (eval $ac_try) 2>&5
70409   ac_status=$?
70410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70411   (exit $ac_status); }; }; then
70412   glibcxx_cv_func__long_double_round_use=yes
70413 else
70414   echo "$as_me: failed program was:" >&5
70415 sed 's/^/| /' conftest.$ac_ext >&5
70416
70417 glibcxx_cv_func__long_double_round_use=no
70418 fi
70419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70420     ac_ext=c
70421 ac_cpp='$CPP $CPPFLAGS'
70422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70425
70426 fi
70427
70428   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
70429 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
70430   if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70431
70432
70433 for ac_func in _ceill _floorl
70434 do
70435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70436 echo "$as_me:$LINENO: checking for $ac_func" >&5
70437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70438 if eval "test \"\${$as_ac_var+set}\" = set"; then
70439   echo $ECHO_N "(cached) $ECHO_C" >&6
70440 else
70441   if test x$gcc_no_link = xyes; then
70442   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70444    { (exit 1); exit 1; }; }
70445 fi
70446 cat >conftest.$ac_ext <<_ACEOF
70447 /* confdefs.h.  */
70448 _ACEOF
70449 cat confdefs.h >>conftest.$ac_ext
70450 cat >>conftest.$ac_ext <<_ACEOF
70451 /* end confdefs.h.  */
70452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70453    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70454 #define $ac_func innocuous_$ac_func
70455
70456 /* System header to define __stub macros and hopefully few prototypes,
70457     which can conflict with char $ac_func (); below.
70458     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70459     <limits.h> exists even on freestanding compilers.  */
70460
70461 #ifdef __STDC__
70462 # include <limits.h>
70463 #else
70464 # include <assert.h>
70465 #endif
70466
70467 #undef $ac_func
70468
70469 /* Override any gcc2 internal prototype to avoid an error.  */
70470 #ifdef __cplusplus
70471 extern "C"
70472 {
70473 #endif
70474 /* We use char because int might match the return type of a gcc2
70475    builtin and then its argument prototype would still apply.  */
70476 char $ac_func ();
70477 /* The GNU C library defines this for functions which it implements
70478     to always fail with ENOSYS.  Some functions are actually named
70479     something starting with __ and the normal name is an alias.  */
70480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70481 choke me
70482 #else
70483 char (*f) () = $ac_func;
70484 #endif
70485 #ifdef __cplusplus
70486 }
70487 #endif
70488
70489 int
70490 main ()
70491 {
70492 return f != $ac_func;
70493   ;
70494   return 0;
70495 }
70496 _ACEOF
70497 rm -f conftest.$ac_objext conftest$ac_exeext
70498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70499   (eval $ac_link) 2>conftest.er1
70500   ac_status=$?
70501   grep -v '^ *+' conftest.er1 >conftest.err
70502   rm -f conftest.er1
70503   cat conftest.err >&5
70504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70505   (exit $ac_status); } &&
70506          { ac_try='test -z "$ac_c_werror_flag"
70507                          || test ! -s conftest.err'
70508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70509   (eval $ac_try) 2>&5
70510   ac_status=$?
70511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70512   (exit $ac_status); }; } &&
70513          { ac_try='test -s conftest$ac_exeext'
70514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70515   (eval $ac_try) 2>&5
70516   ac_status=$?
70517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70518   (exit $ac_status); }; }; then
70519   eval "$as_ac_var=yes"
70520 else
70521   echo "$as_me: failed program was:" >&5
70522 sed 's/^/| /' conftest.$ac_ext >&5
70523
70524 eval "$as_ac_var=no"
70525 fi
70526 rm -f conftest.err conftest.$ac_objext \
70527       conftest$ac_exeext conftest.$ac_ext
70528 fi
70529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70531 if test `eval echo '${'$as_ac_var'}'` = yes; then
70532   cat >>confdefs.h <<_ACEOF
70533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70534 _ACEOF
70535
70536 fi
70537 done
70538
70539   fi
70540
70541
70542   LIBS="$ac_save_LIBS"
70543   CXXFLAGS="$ac_save_CXXFLAGS"
70544
70545
70546
70547   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
70548 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
70549   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
70550     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
70551   echo $ECHO_N "(cached) $ECHO_C" >&6
70552 else
70553
70554
70555
70556       ac_ext=cc
70557 ac_cpp='$CXXCPP $CPPFLAGS'
70558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70561
70562       cat >conftest.$ac_ext <<_ACEOF
70563 /* confdefs.h.  */
70564 _ACEOF
70565 cat confdefs.h >>conftest.$ac_ext
70566 cat >>conftest.$ac_ext <<_ACEOF
70567 /* end confdefs.h.  */
70568 #include <math.h>
70569 int
70570 main ()
70571 {
70572  __builtin_abs(0);
70573   ;
70574   return 0;
70575 }
70576 _ACEOF
70577 rm -f conftest.$ac_objext
70578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70579   (eval $ac_compile) 2>conftest.er1
70580   ac_status=$?
70581   grep -v '^ *+' conftest.er1 >conftest.err
70582   rm -f conftest.er1
70583   cat conftest.err >&5
70584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70585   (exit $ac_status); } &&
70586          { ac_try='test -z "$ac_cxx_werror_flag"
70587                          || test ! -s conftest.err'
70588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70589   (eval $ac_try) 2>&5
70590   ac_status=$?
70591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70592   (exit $ac_status); }; } &&
70593          { ac_try='test -s conftest.$ac_objext'
70594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70595   (eval $ac_try) 2>&5
70596   ac_status=$?
70597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70598   (exit $ac_status); }; }; then
70599   glibcxx_cv_func___builtin_abs_use=yes
70600 else
70601   echo "$as_me: failed program was:" >&5
70602 sed 's/^/| /' conftest.$ac_ext >&5
70603
70604 glibcxx_cv_func___builtin_abs_use=no
70605 fi
70606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70607       ac_ext=c
70608 ac_cpp='$CPP $CPPFLAGS'
70609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70612
70613
70614 fi
70615
70616   fi
70617   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
70618 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
70619   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
70620     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
70621 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
70622     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
70623       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
70624   echo $ECHO_N "(cached) $ECHO_C" >&6
70625 else
70626
70627         if test x$gcc_no_link = xyes; then
70628   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70630    { (exit 1); exit 1; }; }
70631 fi
70632 cat >conftest.$ac_ext <<_ACEOF
70633 /* confdefs.h.  */
70634 _ACEOF
70635 cat confdefs.h >>conftest.$ac_ext
70636 cat >>conftest.$ac_ext <<_ACEOF
70637 /* end confdefs.h.  */
70638 #include <math.h>
70639 int
70640 main ()
70641 {
70642  __builtin_abs(0);
70643   ;
70644   return 0;
70645 }
70646 _ACEOF
70647 rm -f conftest.$ac_objext conftest$ac_exeext
70648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70649   (eval $ac_link) 2>conftest.er1
70650   ac_status=$?
70651   grep -v '^ *+' conftest.er1 >conftest.err
70652   rm -f conftest.er1
70653   cat conftest.err >&5
70654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70655   (exit $ac_status); } &&
70656          { ac_try='test -z "$ac_c_werror_flag"
70657                          || test ! -s conftest.err'
70658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70659   (eval $ac_try) 2>&5
70660   ac_status=$?
70661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70662   (exit $ac_status); }; } &&
70663          { ac_try='test -s conftest$ac_exeext'
70664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70665   (eval $ac_try) 2>&5
70666   ac_status=$?
70667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70668   (exit $ac_status); }; }; then
70669   glibcxx_cv_func___builtin_abs_link=yes
70670 else
70671   echo "$as_me: failed program was:" >&5
70672 sed 's/^/| /' conftest.$ac_ext >&5
70673
70674 glibcxx_cv_func___builtin_abs_link=no
70675 fi
70676 rm -f conftest.err conftest.$ac_objext \
70677       conftest$ac_exeext conftest.$ac_ext
70678
70679 fi
70680
70681     fi
70682     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
70683 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
70684     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
70685       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70686
70687 cat >>confdefs.h <<_ACEOF
70688 #define ${ac_tr_func} 1
70689 _ACEOF
70690
70691     fi
70692   fi
70693
70694
70695   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
70696 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
70697   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
70698     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
70699   echo $ECHO_N "(cached) $ECHO_C" >&6
70700 else
70701
70702
70703
70704       ac_ext=cc
70705 ac_cpp='$CXXCPP $CPPFLAGS'
70706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70709
70710       cat >conftest.$ac_ext <<_ACEOF
70711 /* confdefs.h.  */
70712 _ACEOF
70713 cat confdefs.h >>conftest.$ac_ext
70714 cat >>conftest.$ac_ext <<_ACEOF
70715 /* end confdefs.h.  */
70716 #include <math.h>
70717 int
70718 main ()
70719 {
70720  __builtin_fabsf(0);
70721   ;
70722   return 0;
70723 }
70724 _ACEOF
70725 rm -f conftest.$ac_objext
70726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70727   (eval $ac_compile) 2>conftest.er1
70728   ac_status=$?
70729   grep -v '^ *+' conftest.er1 >conftest.err
70730   rm -f conftest.er1
70731   cat conftest.err >&5
70732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70733   (exit $ac_status); } &&
70734          { ac_try='test -z "$ac_cxx_werror_flag"
70735                          || test ! -s conftest.err'
70736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70737   (eval $ac_try) 2>&5
70738   ac_status=$?
70739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70740   (exit $ac_status); }; } &&
70741          { ac_try='test -s conftest.$ac_objext'
70742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70743   (eval $ac_try) 2>&5
70744   ac_status=$?
70745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70746   (exit $ac_status); }; }; then
70747   glibcxx_cv_func___builtin_fabsf_use=yes
70748 else
70749   echo "$as_me: failed program was:" >&5
70750 sed 's/^/| /' conftest.$ac_ext >&5
70751
70752 glibcxx_cv_func___builtin_fabsf_use=no
70753 fi
70754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70755       ac_ext=c
70756 ac_cpp='$CPP $CPPFLAGS'
70757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70760
70761
70762 fi
70763
70764   fi
70765   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
70766 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
70767   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
70768     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
70769 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
70770     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
70771       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
70772   echo $ECHO_N "(cached) $ECHO_C" >&6
70773 else
70774
70775         if test x$gcc_no_link = xyes; then
70776   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70778    { (exit 1); exit 1; }; }
70779 fi
70780 cat >conftest.$ac_ext <<_ACEOF
70781 /* confdefs.h.  */
70782 _ACEOF
70783 cat confdefs.h >>conftest.$ac_ext
70784 cat >>conftest.$ac_ext <<_ACEOF
70785 /* end confdefs.h.  */
70786 #include <math.h>
70787 int
70788 main ()
70789 {
70790  __builtin_fabsf(0);
70791   ;
70792   return 0;
70793 }
70794 _ACEOF
70795 rm -f conftest.$ac_objext conftest$ac_exeext
70796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70797   (eval $ac_link) 2>conftest.er1
70798   ac_status=$?
70799   grep -v '^ *+' conftest.er1 >conftest.err
70800   rm -f conftest.er1
70801   cat conftest.err >&5
70802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70803   (exit $ac_status); } &&
70804          { ac_try='test -z "$ac_c_werror_flag"
70805                          || test ! -s conftest.err'
70806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70807   (eval $ac_try) 2>&5
70808   ac_status=$?
70809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70810   (exit $ac_status); }; } &&
70811          { ac_try='test -s conftest$ac_exeext'
70812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70813   (eval $ac_try) 2>&5
70814   ac_status=$?
70815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70816   (exit $ac_status); }; }; then
70817   glibcxx_cv_func___builtin_fabsf_link=yes
70818 else
70819   echo "$as_me: failed program was:" >&5
70820 sed 's/^/| /' conftest.$ac_ext >&5
70821
70822 glibcxx_cv_func___builtin_fabsf_link=no
70823 fi
70824 rm -f conftest.err conftest.$ac_objext \
70825       conftest$ac_exeext conftest.$ac_ext
70826
70827 fi
70828
70829     fi
70830     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
70831 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
70832     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
70833       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70834
70835 cat >>confdefs.h <<_ACEOF
70836 #define ${ac_tr_func} 1
70837 _ACEOF
70838
70839     fi
70840   fi
70841
70842
70843   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
70844 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
70845   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
70846     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
70847   echo $ECHO_N "(cached) $ECHO_C" >&6
70848 else
70849
70850
70851
70852       ac_ext=cc
70853 ac_cpp='$CXXCPP $CPPFLAGS'
70854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70857
70858       cat >conftest.$ac_ext <<_ACEOF
70859 /* confdefs.h.  */
70860 _ACEOF
70861 cat confdefs.h >>conftest.$ac_ext
70862 cat >>conftest.$ac_ext <<_ACEOF
70863 /* end confdefs.h.  */
70864 #include <math.h>
70865 int
70866 main ()
70867 {
70868  __builtin_fabs(0);
70869   ;
70870   return 0;
70871 }
70872 _ACEOF
70873 rm -f conftest.$ac_objext
70874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70875   (eval $ac_compile) 2>conftest.er1
70876   ac_status=$?
70877   grep -v '^ *+' conftest.er1 >conftest.err
70878   rm -f conftest.er1
70879   cat conftest.err >&5
70880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70881   (exit $ac_status); } &&
70882          { ac_try='test -z "$ac_cxx_werror_flag"
70883                          || test ! -s conftest.err'
70884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70885   (eval $ac_try) 2>&5
70886   ac_status=$?
70887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70888   (exit $ac_status); }; } &&
70889          { ac_try='test -s conftest.$ac_objext'
70890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70891   (eval $ac_try) 2>&5
70892   ac_status=$?
70893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70894   (exit $ac_status); }; }; then
70895   glibcxx_cv_func___builtin_fabs_use=yes
70896 else
70897   echo "$as_me: failed program was:" >&5
70898 sed 's/^/| /' conftest.$ac_ext >&5
70899
70900 glibcxx_cv_func___builtin_fabs_use=no
70901 fi
70902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70903       ac_ext=c
70904 ac_cpp='$CPP $CPPFLAGS'
70905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70908
70909
70910 fi
70911
70912   fi
70913   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
70914 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
70915   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
70916     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
70917 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
70918     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
70919       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
70920   echo $ECHO_N "(cached) $ECHO_C" >&6
70921 else
70922
70923         if test x$gcc_no_link = xyes; then
70924   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70926    { (exit 1); exit 1; }; }
70927 fi
70928 cat >conftest.$ac_ext <<_ACEOF
70929 /* confdefs.h.  */
70930 _ACEOF
70931 cat confdefs.h >>conftest.$ac_ext
70932 cat >>conftest.$ac_ext <<_ACEOF
70933 /* end confdefs.h.  */
70934 #include <math.h>
70935 int
70936 main ()
70937 {
70938  __builtin_fabs(0);
70939   ;
70940   return 0;
70941 }
70942 _ACEOF
70943 rm -f conftest.$ac_objext conftest$ac_exeext
70944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70945   (eval $ac_link) 2>conftest.er1
70946   ac_status=$?
70947   grep -v '^ *+' conftest.er1 >conftest.err
70948   rm -f conftest.er1
70949   cat conftest.err >&5
70950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70951   (exit $ac_status); } &&
70952          { ac_try='test -z "$ac_c_werror_flag"
70953                          || test ! -s conftest.err'
70954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70955   (eval $ac_try) 2>&5
70956   ac_status=$?
70957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70958   (exit $ac_status); }; } &&
70959          { ac_try='test -s conftest$ac_exeext'
70960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70961   (eval $ac_try) 2>&5
70962   ac_status=$?
70963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70964   (exit $ac_status); }; }; then
70965   glibcxx_cv_func___builtin_fabs_link=yes
70966 else
70967   echo "$as_me: failed program was:" >&5
70968 sed 's/^/| /' conftest.$ac_ext >&5
70969
70970 glibcxx_cv_func___builtin_fabs_link=no
70971 fi
70972 rm -f conftest.err conftest.$ac_objext \
70973       conftest$ac_exeext conftest.$ac_ext
70974
70975 fi
70976
70977     fi
70978     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
70979 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
70980     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
70981       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70982
70983 cat >>confdefs.h <<_ACEOF
70984 #define ${ac_tr_func} 1
70985 _ACEOF
70986
70987     fi
70988   fi
70989
70990
70991   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
70992 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
70993   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
70994     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
70995   echo $ECHO_N "(cached) $ECHO_C" >&6
70996 else
70997
70998
70999
71000       ac_ext=cc
71001 ac_cpp='$CXXCPP $CPPFLAGS'
71002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71005
71006       cat >conftest.$ac_ext <<_ACEOF
71007 /* confdefs.h.  */
71008 _ACEOF
71009 cat confdefs.h >>conftest.$ac_ext
71010 cat >>conftest.$ac_ext <<_ACEOF
71011 /* end confdefs.h.  */
71012 #include <math.h>
71013 int
71014 main ()
71015 {
71016  __builtin_fabsl(0);
71017   ;
71018   return 0;
71019 }
71020 _ACEOF
71021 rm -f conftest.$ac_objext
71022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71023   (eval $ac_compile) 2>conftest.er1
71024   ac_status=$?
71025   grep -v '^ *+' conftest.er1 >conftest.err
71026   rm -f conftest.er1
71027   cat conftest.err >&5
71028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71029   (exit $ac_status); } &&
71030          { ac_try='test -z "$ac_cxx_werror_flag"
71031                          || test ! -s conftest.err'
71032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71033   (eval $ac_try) 2>&5
71034   ac_status=$?
71035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71036   (exit $ac_status); }; } &&
71037          { ac_try='test -s conftest.$ac_objext'
71038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71039   (eval $ac_try) 2>&5
71040   ac_status=$?
71041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71042   (exit $ac_status); }; }; then
71043   glibcxx_cv_func___builtin_fabsl_use=yes
71044 else
71045   echo "$as_me: failed program was:" >&5
71046 sed 's/^/| /' conftest.$ac_ext >&5
71047
71048 glibcxx_cv_func___builtin_fabsl_use=no
71049 fi
71050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71051       ac_ext=c
71052 ac_cpp='$CPP $CPPFLAGS'
71053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71056
71057
71058 fi
71059
71060   fi
71061   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
71062 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
71063   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
71064     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
71065 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
71066     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
71067       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
71068   echo $ECHO_N "(cached) $ECHO_C" >&6
71069 else
71070
71071         if test x$gcc_no_link = xyes; then
71072   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71074    { (exit 1); exit 1; }; }
71075 fi
71076 cat >conftest.$ac_ext <<_ACEOF
71077 /* confdefs.h.  */
71078 _ACEOF
71079 cat confdefs.h >>conftest.$ac_ext
71080 cat >>conftest.$ac_ext <<_ACEOF
71081 /* end confdefs.h.  */
71082 #include <math.h>
71083 int
71084 main ()
71085 {
71086  __builtin_fabsl(0);
71087   ;
71088   return 0;
71089 }
71090 _ACEOF
71091 rm -f conftest.$ac_objext conftest$ac_exeext
71092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71093   (eval $ac_link) 2>conftest.er1
71094   ac_status=$?
71095   grep -v '^ *+' conftest.er1 >conftest.err
71096   rm -f conftest.er1
71097   cat conftest.err >&5
71098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71099   (exit $ac_status); } &&
71100          { ac_try='test -z "$ac_c_werror_flag"
71101                          || test ! -s conftest.err'
71102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71103   (eval $ac_try) 2>&5
71104   ac_status=$?
71105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71106   (exit $ac_status); }; } &&
71107          { ac_try='test -s conftest$ac_exeext'
71108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71109   (eval $ac_try) 2>&5
71110   ac_status=$?
71111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71112   (exit $ac_status); }; }; then
71113   glibcxx_cv_func___builtin_fabsl_link=yes
71114 else
71115   echo "$as_me: failed program was:" >&5
71116 sed 's/^/| /' conftest.$ac_ext >&5
71117
71118 glibcxx_cv_func___builtin_fabsl_link=no
71119 fi
71120 rm -f conftest.err conftest.$ac_objext \
71121       conftest$ac_exeext conftest.$ac_ext
71122
71123 fi
71124
71125     fi
71126     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
71127 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
71128     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
71129       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71130
71131 cat >>confdefs.h <<_ACEOF
71132 #define ${ac_tr_func} 1
71133 _ACEOF
71134
71135     fi
71136   fi
71137
71138
71139   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
71140 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
71141   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
71142     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
71143   echo $ECHO_N "(cached) $ECHO_C" >&6
71144 else
71145
71146
71147
71148       ac_ext=cc
71149 ac_cpp='$CXXCPP $CPPFLAGS'
71150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71153
71154       cat >conftest.$ac_ext <<_ACEOF
71155 /* confdefs.h.  */
71156 _ACEOF
71157 cat confdefs.h >>conftest.$ac_ext
71158 cat >>conftest.$ac_ext <<_ACEOF
71159 /* end confdefs.h.  */
71160 #include <math.h>
71161 int
71162 main ()
71163 {
71164  __builtin_labs(0);
71165   ;
71166   return 0;
71167 }
71168 _ACEOF
71169 rm -f conftest.$ac_objext
71170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71171   (eval $ac_compile) 2>conftest.er1
71172   ac_status=$?
71173   grep -v '^ *+' conftest.er1 >conftest.err
71174   rm -f conftest.er1
71175   cat conftest.err >&5
71176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71177   (exit $ac_status); } &&
71178          { ac_try='test -z "$ac_cxx_werror_flag"
71179                          || test ! -s conftest.err'
71180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71181   (eval $ac_try) 2>&5
71182   ac_status=$?
71183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71184   (exit $ac_status); }; } &&
71185          { ac_try='test -s conftest.$ac_objext'
71186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71187   (eval $ac_try) 2>&5
71188   ac_status=$?
71189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71190   (exit $ac_status); }; }; then
71191   glibcxx_cv_func___builtin_labs_use=yes
71192 else
71193   echo "$as_me: failed program was:" >&5
71194 sed 's/^/| /' conftest.$ac_ext >&5
71195
71196 glibcxx_cv_func___builtin_labs_use=no
71197 fi
71198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71199       ac_ext=c
71200 ac_cpp='$CPP $CPPFLAGS'
71201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71204
71205
71206 fi
71207
71208   fi
71209   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
71210 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
71211   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
71212     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
71213 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
71214     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
71215       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
71216   echo $ECHO_N "(cached) $ECHO_C" >&6
71217 else
71218
71219         if test x$gcc_no_link = xyes; then
71220   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71222    { (exit 1); exit 1; }; }
71223 fi
71224 cat >conftest.$ac_ext <<_ACEOF
71225 /* confdefs.h.  */
71226 _ACEOF
71227 cat confdefs.h >>conftest.$ac_ext
71228 cat >>conftest.$ac_ext <<_ACEOF
71229 /* end confdefs.h.  */
71230 #include <math.h>
71231 int
71232 main ()
71233 {
71234  __builtin_labs(0);
71235   ;
71236   return 0;
71237 }
71238 _ACEOF
71239 rm -f conftest.$ac_objext conftest$ac_exeext
71240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71241   (eval $ac_link) 2>conftest.er1
71242   ac_status=$?
71243   grep -v '^ *+' conftest.er1 >conftest.err
71244   rm -f conftest.er1
71245   cat conftest.err >&5
71246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71247   (exit $ac_status); } &&
71248          { ac_try='test -z "$ac_c_werror_flag"
71249                          || test ! -s conftest.err'
71250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71251   (eval $ac_try) 2>&5
71252   ac_status=$?
71253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71254   (exit $ac_status); }; } &&
71255          { ac_try='test -s conftest$ac_exeext'
71256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71257   (eval $ac_try) 2>&5
71258   ac_status=$?
71259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71260   (exit $ac_status); }; }; then
71261   glibcxx_cv_func___builtin_labs_link=yes
71262 else
71263   echo "$as_me: failed program was:" >&5
71264 sed 's/^/| /' conftest.$ac_ext >&5
71265
71266 glibcxx_cv_func___builtin_labs_link=no
71267 fi
71268 rm -f conftest.err conftest.$ac_objext \
71269       conftest$ac_exeext conftest.$ac_ext
71270
71271 fi
71272
71273     fi
71274     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
71275 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
71276     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
71277       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71278
71279 cat >>confdefs.h <<_ACEOF
71280 #define ${ac_tr_func} 1
71281 _ACEOF
71282
71283     fi
71284   fi
71285
71286
71287
71288   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
71289 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
71290   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
71291     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
71292   echo $ECHO_N "(cached) $ECHO_C" >&6
71293 else
71294
71295
71296
71297       ac_ext=cc
71298 ac_cpp='$CXXCPP $CPPFLAGS'
71299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71302
71303       cat >conftest.$ac_ext <<_ACEOF
71304 /* confdefs.h.  */
71305 _ACEOF
71306 cat confdefs.h >>conftest.$ac_ext
71307 cat >>conftest.$ac_ext <<_ACEOF
71308 /* end confdefs.h.  */
71309 #include <math.h>
71310 int
71311 main ()
71312 {
71313  __builtin_sqrtf(0);
71314   ;
71315   return 0;
71316 }
71317 _ACEOF
71318 rm -f conftest.$ac_objext
71319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71320   (eval $ac_compile) 2>conftest.er1
71321   ac_status=$?
71322   grep -v '^ *+' conftest.er1 >conftest.err
71323   rm -f conftest.er1
71324   cat conftest.err >&5
71325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71326   (exit $ac_status); } &&
71327          { ac_try='test -z "$ac_cxx_werror_flag"
71328                          || test ! -s conftest.err'
71329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71330   (eval $ac_try) 2>&5
71331   ac_status=$?
71332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71333   (exit $ac_status); }; } &&
71334          { ac_try='test -s conftest.$ac_objext'
71335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71336   (eval $ac_try) 2>&5
71337   ac_status=$?
71338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71339   (exit $ac_status); }; }; then
71340   glibcxx_cv_func___builtin_sqrtf_use=yes
71341 else
71342   echo "$as_me: failed program was:" >&5
71343 sed 's/^/| /' conftest.$ac_ext >&5
71344
71345 glibcxx_cv_func___builtin_sqrtf_use=no
71346 fi
71347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71348       ac_ext=c
71349 ac_cpp='$CPP $CPPFLAGS'
71350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71353
71354
71355 fi
71356
71357   fi
71358   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
71359 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
71360   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
71361     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
71362 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
71363     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
71364       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
71365   echo $ECHO_N "(cached) $ECHO_C" >&6
71366 else
71367
71368         if test x$gcc_no_link = xyes; then
71369   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71371    { (exit 1); exit 1; }; }
71372 fi
71373 cat >conftest.$ac_ext <<_ACEOF
71374 /* confdefs.h.  */
71375 _ACEOF
71376 cat confdefs.h >>conftest.$ac_ext
71377 cat >>conftest.$ac_ext <<_ACEOF
71378 /* end confdefs.h.  */
71379 #include <math.h>
71380 int
71381 main ()
71382 {
71383  __builtin_sqrtf(0);
71384   ;
71385   return 0;
71386 }
71387 _ACEOF
71388 rm -f conftest.$ac_objext conftest$ac_exeext
71389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71390   (eval $ac_link) 2>conftest.er1
71391   ac_status=$?
71392   grep -v '^ *+' conftest.er1 >conftest.err
71393   rm -f conftest.er1
71394   cat conftest.err >&5
71395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71396   (exit $ac_status); } &&
71397          { ac_try='test -z "$ac_c_werror_flag"
71398                          || test ! -s conftest.err'
71399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71400   (eval $ac_try) 2>&5
71401   ac_status=$?
71402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71403   (exit $ac_status); }; } &&
71404          { ac_try='test -s conftest$ac_exeext'
71405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71406   (eval $ac_try) 2>&5
71407   ac_status=$?
71408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71409   (exit $ac_status); }; }; then
71410   glibcxx_cv_func___builtin_sqrtf_link=yes
71411 else
71412   echo "$as_me: failed program was:" >&5
71413 sed 's/^/| /' conftest.$ac_ext >&5
71414
71415 glibcxx_cv_func___builtin_sqrtf_link=no
71416 fi
71417 rm -f conftest.err conftest.$ac_objext \
71418       conftest$ac_exeext conftest.$ac_ext
71419
71420 fi
71421
71422     fi
71423     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
71424 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
71425     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
71426       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71427
71428 cat >>confdefs.h <<_ACEOF
71429 #define ${ac_tr_func} 1
71430 _ACEOF
71431
71432     fi
71433   fi
71434
71435
71436   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
71437 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
71438   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
71439     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
71440   echo $ECHO_N "(cached) $ECHO_C" >&6
71441 else
71442
71443
71444
71445       ac_ext=cc
71446 ac_cpp='$CXXCPP $CPPFLAGS'
71447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71450
71451       cat >conftest.$ac_ext <<_ACEOF
71452 /* confdefs.h.  */
71453 _ACEOF
71454 cat confdefs.h >>conftest.$ac_ext
71455 cat >>conftest.$ac_ext <<_ACEOF
71456 /* end confdefs.h.  */
71457 #include <math.h>
71458 int
71459 main ()
71460 {
71461  __builtin_sqrt(0);
71462   ;
71463   return 0;
71464 }
71465 _ACEOF
71466 rm -f conftest.$ac_objext
71467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71468   (eval $ac_compile) 2>conftest.er1
71469   ac_status=$?
71470   grep -v '^ *+' conftest.er1 >conftest.err
71471   rm -f conftest.er1
71472   cat conftest.err >&5
71473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71474   (exit $ac_status); } &&
71475          { ac_try='test -z "$ac_cxx_werror_flag"
71476                          || test ! -s conftest.err'
71477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71478   (eval $ac_try) 2>&5
71479   ac_status=$?
71480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71481   (exit $ac_status); }; } &&
71482          { ac_try='test -s conftest.$ac_objext'
71483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71484   (eval $ac_try) 2>&5
71485   ac_status=$?
71486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71487   (exit $ac_status); }; }; then
71488   glibcxx_cv_func___builtin_sqrt_use=yes
71489 else
71490   echo "$as_me: failed program was:" >&5
71491 sed 's/^/| /' conftest.$ac_ext >&5
71492
71493 glibcxx_cv_func___builtin_sqrt_use=no
71494 fi
71495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71496       ac_ext=c
71497 ac_cpp='$CPP $CPPFLAGS'
71498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71501
71502
71503 fi
71504
71505   fi
71506   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
71507 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
71508   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
71509     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
71510 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
71511     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
71512       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
71513   echo $ECHO_N "(cached) $ECHO_C" >&6
71514 else
71515
71516         if test x$gcc_no_link = xyes; then
71517   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71519    { (exit 1); exit 1; }; }
71520 fi
71521 cat >conftest.$ac_ext <<_ACEOF
71522 /* confdefs.h.  */
71523 _ACEOF
71524 cat confdefs.h >>conftest.$ac_ext
71525 cat >>conftest.$ac_ext <<_ACEOF
71526 /* end confdefs.h.  */
71527 #include <math.h>
71528 int
71529 main ()
71530 {
71531  __builtin_sqrt(0);
71532   ;
71533   return 0;
71534 }
71535 _ACEOF
71536 rm -f conftest.$ac_objext conftest$ac_exeext
71537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71538   (eval $ac_link) 2>conftest.er1
71539   ac_status=$?
71540   grep -v '^ *+' conftest.er1 >conftest.err
71541   rm -f conftest.er1
71542   cat conftest.err >&5
71543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71544   (exit $ac_status); } &&
71545          { ac_try='test -z "$ac_c_werror_flag"
71546                          || test ! -s conftest.err'
71547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71548   (eval $ac_try) 2>&5
71549   ac_status=$?
71550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71551   (exit $ac_status); }; } &&
71552          { ac_try='test -s conftest$ac_exeext'
71553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71554   (eval $ac_try) 2>&5
71555   ac_status=$?
71556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71557   (exit $ac_status); }; }; then
71558   glibcxx_cv_func___builtin_sqrt_link=yes
71559 else
71560   echo "$as_me: failed program was:" >&5
71561 sed 's/^/| /' conftest.$ac_ext >&5
71562
71563 glibcxx_cv_func___builtin_sqrt_link=no
71564 fi
71565 rm -f conftest.err conftest.$ac_objext \
71566       conftest$ac_exeext conftest.$ac_ext
71567
71568 fi
71569
71570     fi
71571     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
71572 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
71573     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
71574       ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71575
71576 cat >>confdefs.h <<_ACEOF
71577 #define ${ac_tr_func} 1
71578 _ACEOF
71579
71580     fi
71581   fi
71582
71583
71584   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
71585 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
71586   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
71587     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
71588   echo $ECHO_N "(cached) $ECHO_C" >&6
71589 else
71590
71591
71592
71593       ac_ext=cc
71594 ac_cpp='$CXXCPP $CPPFLAGS'
71595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71598
71599       cat >conftest.$ac_ext <<_ACEOF
71600 /* confdefs.h.  */
71601 _ACEOF
71602 cat confdefs.h >>conftest.$ac_ext
71603 cat >>conftest.$ac_ext <<_ACEOF
71604 /* end confdefs.h.  */
71605 #include <math.h>
71606 int
71607 main ()
71608 {
71609  __builtin_sqrtl(0);
71610   ;
71611   return 0;
71612 }
71613 _ACEOF
71614 rm -f conftest.$ac_objext
71615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71616   (eval $ac_compile) 2>conftest.er1
71617   ac_status=$?
71618   grep -v '^ *+' conftest.er1 >conftest.err
71619   rm -f conftest.er1
71620   cat conftest.err >&5
71621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71622   (exit $ac_status); } &&
71623          { ac_try='test -z "$ac_cxx_werror_flag"
71624                          || test ! -s conftest.err'
71625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71626   (eval $ac_try) 2>&5
71627   ac_status=$?
71628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71629   (exit $ac_status); }; } &&
71630          { ac_try='test -s conftest.$ac_objext'
71631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71632   (eval $ac_try) 2>&5
71633   ac_status=$?
71634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71635   (exit $ac_status); }; }; then
71636   glibcxx_cv_func___builtin_sqrtl_use=yes
71637 else
71638   echo "$as_me: failed program was:" >&5
71639 sed 's/^/| /' conftest.$ac_ext >&5
71640
71641 glibcxx_cv_func___builtin_sqrtl_use=no
71642 fi
71643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71644       ac_ext=c
71645 ac_cpp='$CPP $CPPFLAGS'
71646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71649
71650
71651 fi
71652
71653   fi
71654   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
71655 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
71656   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
71657     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
71658 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
71659     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
71660       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
71661   echo $ECHO_N "(cached) $ECHO_C" >&6
71662 else
71663
71664         if test x$gcc_no_link = xyes; then
71665   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71667    { (exit 1); exit 1; }; }
71668 fi
71669 cat >conftest.$ac_ext <<_ACEOF
71670 /* confdefs.h.  */
71671 _ACEOF
71672 cat confdefs.h >>conftest.$ac_ext
71673 cat >>conftest.$ac_ext <<_ACEOF
71674 /* end confdefs.h.  */
71675 #include <math.h>
71676 int
71677 main ()
71678 {
71679  __builtin_sqrtl(0);
71680   ;
71681   return 0;
71682 }
71683 _ACEOF
71684 rm -f conftest.$ac_objext conftest$ac_exeext
71685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71686   (eval $ac_link) 2>conftest.er1
71687   ac_status=$?
71688   grep -v '^ *+' conftest.er1 >conftest.err
71689   rm -f conftest.er1
71690   cat conftest.err >&5
71691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71692   (exit $ac_status); } &&
71693          { ac_try='test -z "$ac_c_werror_flag"
71694                          || test ! -s conftest.err'
71695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71696   (eval $ac_try) 2>&5
71697   ac_status=$?
71698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71699   (exit $ac_status); }; } &&
71700          { ac_try='test -s conftest$ac_exeext'
71701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71702   (eval $ac_try) 2>&5
71703   ac_status=$?
71704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71705   (exit $ac_status); }; }; then
71706   glibcxx_cv_func___builtin_sqrtl_link=yes
71707 else
71708   echo "$as_me: failed program was:" >&5
71709 sed 's/^/| /' conftest.$ac_ext >&5
71710
71711 glibcxx_cv_func___builtin_sqrtl_link=no
71712 fi
71713 rm -f conftest.err conftest.$ac_objext \
71714       conftest$ac_exeext conftest.$ac_ext
71715
71716 fi
71717
71718     fi
71719     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
71720 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
71721     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
71722       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71723
71724 cat >>confdefs.h <<_ACEOF
71725 #define ${ac_tr_func} 1
71726 _ACEOF
71727
71728     fi
71729   fi
71730
71731
71732
71733   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
71734 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
71735   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
71736     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
71737   echo $ECHO_N "(cached) $ECHO_C" >&6
71738 else
71739
71740
71741
71742       ac_ext=cc
71743 ac_cpp='$CXXCPP $CPPFLAGS'
71744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71747
71748       cat >conftest.$ac_ext <<_ACEOF
71749 /* confdefs.h.  */
71750 _ACEOF
71751 cat confdefs.h >>conftest.$ac_ext
71752 cat >>conftest.$ac_ext <<_ACEOF
71753 /* end confdefs.h.  */
71754 #include <math.h>
71755 int
71756 main ()
71757 {
71758  __builtin_sinf(0);
71759   ;
71760   return 0;
71761 }
71762 _ACEOF
71763 rm -f conftest.$ac_objext
71764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71765   (eval $ac_compile) 2>conftest.er1
71766   ac_status=$?
71767   grep -v '^ *+' conftest.er1 >conftest.err
71768   rm -f conftest.er1
71769   cat conftest.err >&5
71770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71771   (exit $ac_status); } &&
71772          { ac_try='test -z "$ac_cxx_werror_flag"
71773                          || test ! -s conftest.err'
71774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71775   (eval $ac_try) 2>&5
71776   ac_status=$?
71777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71778   (exit $ac_status); }; } &&
71779          { ac_try='test -s conftest.$ac_objext'
71780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71781   (eval $ac_try) 2>&5
71782   ac_status=$?
71783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71784   (exit $ac_status); }; }; then
71785   glibcxx_cv_func___builtin_sinf_use=yes
71786 else
71787   echo "$as_me: failed program was:" >&5
71788 sed 's/^/| /' conftest.$ac_ext >&5
71789
71790 glibcxx_cv_func___builtin_sinf_use=no
71791 fi
71792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71793       ac_ext=c
71794 ac_cpp='$CPP $CPPFLAGS'
71795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71798
71799
71800 fi
71801
71802   fi
71803   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
71804 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
71805   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
71806     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
71807 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
71808     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
71809       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
71810   echo $ECHO_N "(cached) $ECHO_C" >&6
71811 else
71812
71813         if test x$gcc_no_link = xyes; then
71814   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71816    { (exit 1); exit 1; }; }
71817 fi
71818 cat >conftest.$ac_ext <<_ACEOF
71819 /* confdefs.h.  */
71820 _ACEOF
71821 cat confdefs.h >>conftest.$ac_ext
71822 cat >>conftest.$ac_ext <<_ACEOF
71823 /* end confdefs.h.  */
71824 #include <math.h>
71825 int
71826 main ()
71827 {
71828  __builtin_sinf(0);
71829   ;
71830   return 0;
71831 }
71832 _ACEOF
71833 rm -f conftest.$ac_objext conftest$ac_exeext
71834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71835   (eval $ac_link) 2>conftest.er1
71836   ac_status=$?
71837   grep -v '^ *+' conftest.er1 >conftest.err
71838   rm -f conftest.er1
71839   cat conftest.err >&5
71840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71841   (exit $ac_status); } &&
71842          { ac_try='test -z "$ac_c_werror_flag"
71843                          || test ! -s conftest.err'
71844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71845   (eval $ac_try) 2>&5
71846   ac_status=$?
71847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71848   (exit $ac_status); }; } &&
71849          { ac_try='test -s conftest$ac_exeext'
71850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71851   (eval $ac_try) 2>&5
71852   ac_status=$?
71853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71854   (exit $ac_status); }; }; then
71855   glibcxx_cv_func___builtin_sinf_link=yes
71856 else
71857   echo "$as_me: failed program was:" >&5
71858 sed 's/^/| /' conftest.$ac_ext >&5
71859
71860 glibcxx_cv_func___builtin_sinf_link=no
71861 fi
71862 rm -f conftest.err conftest.$ac_objext \
71863       conftest$ac_exeext conftest.$ac_ext
71864
71865 fi
71866
71867     fi
71868     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
71869 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
71870     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
71871       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71872
71873 cat >>confdefs.h <<_ACEOF
71874 #define ${ac_tr_func} 1
71875 _ACEOF
71876
71877     fi
71878   fi
71879
71880
71881   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
71882 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
71883   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
71884     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
71885   echo $ECHO_N "(cached) $ECHO_C" >&6
71886 else
71887
71888
71889
71890       ac_ext=cc
71891 ac_cpp='$CXXCPP $CPPFLAGS'
71892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71895
71896       cat >conftest.$ac_ext <<_ACEOF
71897 /* confdefs.h.  */
71898 _ACEOF
71899 cat confdefs.h >>conftest.$ac_ext
71900 cat >>conftest.$ac_ext <<_ACEOF
71901 /* end confdefs.h.  */
71902 #include <math.h>
71903 int
71904 main ()
71905 {
71906  __builtin_sin(0);
71907   ;
71908   return 0;
71909 }
71910 _ACEOF
71911 rm -f conftest.$ac_objext
71912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71913   (eval $ac_compile) 2>conftest.er1
71914   ac_status=$?
71915   grep -v '^ *+' conftest.er1 >conftest.err
71916   rm -f conftest.er1
71917   cat conftest.err >&5
71918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71919   (exit $ac_status); } &&
71920          { ac_try='test -z "$ac_cxx_werror_flag"
71921                          || test ! -s conftest.err'
71922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71923   (eval $ac_try) 2>&5
71924   ac_status=$?
71925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71926   (exit $ac_status); }; } &&
71927          { ac_try='test -s conftest.$ac_objext'
71928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71929   (eval $ac_try) 2>&5
71930   ac_status=$?
71931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71932   (exit $ac_status); }; }; then
71933   glibcxx_cv_func___builtin_sin_use=yes
71934 else
71935   echo "$as_me: failed program was:" >&5
71936 sed 's/^/| /' conftest.$ac_ext >&5
71937
71938 glibcxx_cv_func___builtin_sin_use=no
71939 fi
71940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71941       ac_ext=c
71942 ac_cpp='$CPP $CPPFLAGS'
71943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71946
71947
71948 fi
71949
71950   fi
71951   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
71952 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
71953   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
71954     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
71955 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
71956     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
71957       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
71958   echo $ECHO_N "(cached) $ECHO_C" >&6
71959 else
71960
71961         if test x$gcc_no_link = xyes; then
71962   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71964    { (exit 1); exit 1; }; }
71965 fi
71966 cat >conftest.$ac_ext <<_ACEOF
71967 /* confdefs.h.  */
71968 _ACEOF
71969 cat confdefs.h >>conftest.$ac_ext
71970 cat >>conftest.$ac_ext <<_ACEOF
71971 /* end confdefs.h.  */
71972 #include <math.h>
71973 int
71974 main ()
71975 {
71976  __builtin_sin(0);
71977   ;
71978   return 0;
71979 }
71980 _ACEOF
71981 rm -f conftest.$ac_objext conftest$ac_exeext
71982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71983   (eval $ac_link) 2>conftest.er1
71984   ac_status=$?
71985   grep -v '^ *+' conftest.er1 >conftest.err
71986   rm -f conftest.er1
71987   cat conftest.err >&5
71988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71989   (exit $ac_status); } &&
71990          { ac_try='test -z "$ac_c_werror_flag"
71991                          || test ! -s conftest.err'
71992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71993   (eval $ac_try) 2>&5
71994   ac_status=$?
71995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71996   (exit $ac_status); }; } &&
71997          { ac_try='test -s conftest$ac_exeext'
71998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71999   (eval $ac_try) 2>&5
72000   ac_status=$?
72001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72002   (exit $ac_status); }; }; then
72003   glibcxx_cv_func___builtin_sin_link=yes
72004 else
72005   echo "$as_me: failed program was:" >&5
72006 sed 's/^/| /' conftest.$ac_ext >&5
72007
72008 glibcxx_cv_func___builtin_sin_link=no
72009 fi
72010 rm -f conftest.err conftest.$ac_objext \
72011       conftest$ac_exeext conftest.$ac_ext
72012
72013 fi
72014
72015     fi
72016     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
72017 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
72018     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
72019       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72020
72021 cat >>confdefs.h <<_ACEOF
72022 #define ${ac_tr_func} 1
72023 _ACEOF
72024
72025     fi
72026   fi
72027
72028
72029   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
72030 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
72031   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
72032     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
72033   echo $ECHO_N "(cached) $ECHO_C" >&6
72034 else
72035
72036
72037
72038       ac_ext=cc
72039 ac_cpp='$CXXCPP $CPPFLAGS'
72040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72043
72044       cat >conftest.$ac_ext <<_ACEOF
72045 /* confdefs.h.  */
72046 _ACEOF
72047 cat confdefs.h >>conftest.$ac_ext
72048 cat >>conftest.$ac_ext <<_ACEOF
72049 /* end confdefs.h.  */
72050 #include <math.h>
72051 int
72052 main ()
72053 {
72054  __builtin_sinl(0);
72055   ;
72056   return 0;
72057 }
72058 _ACEOF
72059 rm -f conftest.$ac_objext
72060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72061   (eval $ac_compile) 2>conftest.er1
72062   ac_status=$?
72063   grep -v '^ *+' conftest.er1 >conftest.err
72064   rm -f conftest.er1
72065   cat conftest.err >&5
72066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72067   (exit $ac_status); } &&
72068          { ac_try='test -z "$ac_cxx_werror_flag"
72069                          || test ! -s conftest.err'
72070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72071   (eval $ac_try) 2>&5
72072   ac_status=$?
72073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72074   (exit $ac_status); }; } &&
72075          { ac_try='test -s conftest.$ac_objext'
72076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72077   (eval $ac_try) 2>&5
72078   ac_status=$?
72079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72080   (exit $ac_status); }; }; then
72081   glibcxx_cv_func___builtin_sinl_use=yes
72082 else
72083   echo "$as_me: failed program was:" >&5
72084 sed 's/^/| /' conftest.$ac_ext >&5
72085
72086 glibcxx_cv_func___builtin_sinl_use=no
72087 fi
72088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72089       ac_ext=c
72090 ac_cpp='$CPP $CPPFLAGS'
72091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72094
72095
72096 fi
72097
72098   fi
72099   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
72100 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
72101   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
72102     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
72103 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
72104     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
72105       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
72106   echo $ECHO_N "(cached) $ECHO_C" >&6
72107 else
72108
72109         if test x$gcc_no_link = xyes; then
72110   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72112    { (exit 1); exit 1; }; }
72113 fi
72114 cat >conftest.$ac_ext <<_ACEOF
72115 /* confdefs.h.  */
72116 _ACEOF
72117 cat confdefs.h >>conftest.$ac_ext
72118 cat >>conftest.$ac_ext <<_ACEOF
72119 /* end confdefs.h.  */
72120 #include <math.h>
72121 int
72122 main ()
72123 {
72124  __builtin_sinl(0);
72125   ;
72126   return 0;
72127 }
72128 _ACEOF
72129 rm -f conftest.$ac_objext conftest$ac_exeext
72130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72131   (eval $ac_link) 2>conftest.er1
72132   ac_status=$?
72133   grep -v '^ *+' conftest.er1 >conftest.err
72134   rm -f conftest.er1
72135   cat conftest.err >&5
72136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72137   (exit $ac_status); } &&
72138          { ac_try='test -z "$ac_c_werror_flag"
72139                          || test ! -s conftest.err'
72140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72141   (eval $ac_try) 2>&5
72142   ac_status=$?
72143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72144   (exit $ac_status); }; } &&
72145          { ac_try='test -s conftest$ac_exeext'
72146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72147   (eval $ac_try) 2>&5
72148   ac_status=$?
72149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72150   (exit $ac_status); }; }; then
72151   glibcxx_cv_func___builtin_sinl_link=yes
72152 else
72153   echo "$as_me: failed program was:" >&5
72154 sed 's/^/| /' conftest.$ac_ext >&5
72155
72156 glibcxx_cv_func___builtin_sinl_link=no
72157 fi
72158 rm -f conftest.err conftest.$ac_objext \
72159       conftest$ac_exeext conftest.$ac_ext
72160
72161 fi
72162
72163     fi
72164     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
72165 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
72166     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
72167       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72168
72169 cat >>confdefs.h <<_ACEOF
72170 #define ${ac_tr_func} 1
72171 _ACEOF
72172
72173     fi
72174   fi
72175
72176
72177
72178   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
72179 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
72180   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
72181     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
72182   echo $ECHO_N "(cached) $ECHO_C" >&6
72183 else
72184
72185
72186
72187       ac_ext=cc
72188 ac_cpp='$CXXCPP $CPPFLAGS'
72189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72192
72193       cat >conftest.$ac_ext <<_ACEOF
72194 /* confdefs.h.  */
72195 _ACEOF
72196 cat confdefs.h >>conftest.$ac_ext
72197 cat >>conftest.$ac_ext <<_ACEOF
72198 /* end confdefs.h.  */
72199 #include <math.h>
72200 int
72201 main ()
72202 {
72203  __builtin_cosf(0);
72204   ;
72205   return 0;
72206 }
72207 _ACEOF
72208 rm -f conftest.$ac_objext
72209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72210   (eval $ac_compile) 2>conftest.er1
72211   ac_status=$?
72212   grep -v '^ *+' conftest.er1 >conftest.err
72213   rm -f conftest.er1
72214   cat conftest.err >&5
72215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72216   (exit $ac_status); } &&
72217          { ac_try='test -z "$ac_cxx_werror_flag"
72218                          || test ! -s conftest.err'
72219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72220   (eval $ac_try) 2>&5
72221   ac_status=$?
72222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72223   (exit $ac_status); }; } &&
72224          { ac_try='test -s conftest.$ac_objext'
72225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72226   (eval $ac_try) 2>&5
72227   ac_status=$?
72228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72229   (exit $ac_status); }; }; then
72230   glibcxx_cv_func___builtin_cosf_use=yes
72231 else
72232   echo "$as_me: failed program was:" >&5
72233 sed 's/^/| /' conftest.$ac_ext >&5
72234
72235 glibcxx_cv_func___builtin_cosf_use=no
72236 fi
72237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72238       ac_ext=c
72239 ac_cpp='$CPP $CPPFLAGS'
72240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72243
72244
72245 fi
72246
72247   fi
72248   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
72249 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
72250   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
72251     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
72252 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
72253     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
72254       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
72255   echo $ECHO_N "(cached) $ECHO_C" >&6
72256 else
72257
72258         if test x$gcc_no_link = xyes; then
72259   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72261    { (exit 1); exit 1; }; }
72262 fi
72263 cat >conftest.$ac_ext <<_ACEOF
72264 /* confdefs.h.  */
72265 _ACEOF
72266 cat confdefs.h >>conftest.$ac_ext
72267 cat >>conftest.$ac_ext <<_ACEOF
72268 /* end confdefs.h.  */
72269 #include <math.h>
72270 int
72271 main ()
72272 {
72273  __builtin_cosf(0);
72274   ;
72275   return 0;
72276 }
72277 _ACEOF
72278 rm -f conftest.$ac_objext conftest$ac_exeext
72279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72280   (eval $ac_link) 2>conftest.er1
72281   ac_status=$?
72282   grep -v '^ *+' conftest.er1 >conftest.err
72283   rm -f conftest.er1
72284   cat conftest.err >&5
72285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72286   (exit $ac_status); } &&
72287          { ac_try='test -z "$ac_c_werror_flag"
72288                          || test ! -s conftest.err'
72289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72290   (eval $ac_try) 2>&5
72291   ac_status=$?
72292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72293   (exit $ac_status); }; } &&
72294          { ac_try='test -s conftest$ac_exeext'
72295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72296   (eval $ac_try) 2>&5
72297   ac_status=$?
72298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72299   (exit $ac_status); }; }; then
72300   glibcxx_cv_func___builtin_cosf_link=yes
72301 else
72302   echo "$as_me: failed program was:" >&5
72303 sed 's/^/| /' conftest.$ac_ext >&5
72304
72305 glibcxx_cv_func___builtin_cosf_link=no
72306 fi
72307 rm -f conftest.err conftest.$ac_objext \
72308       conftest$ac_exeext conftest.$ac_ext
72309
72310 fi
72311
72312     fi
72313     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
72314 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
72315     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
72316       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72317
72318 cat >>confdefs.h <<_ACEOF
72319 #define ${ac_tr_func} 1
72320 _ACEOF
72321
72322     fi
72323   fi
72324
72325
72326   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
72327 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
72328   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
72329     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
72330   echo $ECHO_N "(cached) $ECHO_C" >&6
72331 else
72332
72333
72334
72335       ac_ext=cc
72336 ac_cpp='$CXXCPP $CPPFLAGS'
72337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72340
72341       cat >conftest.$ac_ext <<_ACEOF
72342 /* confdefs.h.  */
72343 _ACEOF
72344 cat confdefs.h >>conftest.$ac_ext
72345 cat >>conftest.$ac_ext <<_ACEOF
72346 /* end confdefs.h.  */
72347 #include <math.h>
72348 int
72349 main ()
72350 {
72351  __builtin_cos(0);
72352   ;
72353   return 0;
72354 }
72355 _ACEOF
72356 rm -f conftest.$ac_objext
72357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72358   (eval $ac_compile) 2>conftest.er1
72359   ac_status=$?
72360   grep -v '^ *+' conftest.er1 >conftest.err
72361   rm -f conftest.er1
72362   cat conftest.err >&5
72363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72364   (exit $ac_status); } &&
72365          { ac_try='test -z "$ac_cxx_werror_flag"
72366                          || test ! -s conftest.err'
72367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72368   (eval $ac_try) 2>&5
72369   ac_status=$?
72370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72371   (exit $ac_status); }; } &&
72372          { ac_try='test -s conftest.$ac_objext'
72373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72374   (eval $ac_try) 2>&5
72375   ac_status=$?
72376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72377   (exit $ac_status); }; }; then
72378   glibcxx_cv_func___builtin_cos_use=yes
72379 else
72380   echo "$as_me: failed program was:" >&5
72381 sed 's/^/| /' conftest.$ac_ext >&5
72382
72383 glibcxx_cv_func___builtin_cos_use=no
72384 fi
72385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72386       ac_ext=c
72387 ac_cpp='$CPP $CPPFLAGS'
72388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72391
72392
72393 fi
72394
72395   fi
72396   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
72397 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
72398   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
72399     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
72400 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
72401     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
72402       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
72403   echo $ECHO_N "(cached) $ECHO_C" >&6
72404 else
72405
72406         if test x$gcc_no_link = xyes; then
72407   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72409    { (exit 1); exit 1; }; }
72410 fi
72411 cat >conftest.$ac_ext <<_ACEOF
72412 /* confdefs.h.  */
72413 _ACEOF
72414 cat confdefs.h >>conftest.$ac_ext
72415 cat >>conftest.$ac_ext <<_ACEOF
72416 /* end confdefs.h.  */
72417 #include <math.h>
72418 int
72419 main ()
72420 {
72421  __builtin_cos(0);
72422   ;
72423   return 0;
72424 }
72425 _ACEOF
72426 rm -f conftest.$ac_objext conftest$ac_exeext
72427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72428   (eval $ac_link) 2>conftest.er1
72429   ac_status=$?
72430   grep -v '^ *+' conftest.er1 >conftest.err
72431   rm -f conftest.er1
72432   cat conftest.err >&5
72433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72434   (exit $ac_status); } &&
72435          { ac_try='test -z "$ac_c_werror_flag"
72436                          || test ! -s conftest.err'
72437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72438   (eval $ac_try) 2>&5
72439   ac_status=$?
72440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72441   (exit $ac_status); }; } &&
72442          { ac_try='test -s conftest$ac_exeext'
72443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72444   (eval $ac_try) 2>&5
72445   ac_status=$?
72446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72447   (exit $ac_status); }; }; then
72448   glibcxx_cv_func___builtin_cos_link=yes
72449 else
72450   echo "$as_me: failed program was:" >&5
72451 sed 's/^/| /' conftest.$ac_ext >&5
72452
72453 glibcxx_cv_func___builtin_cos_link=no
72454 fi
72455 rm -f conftest.err conftest.$ac_objext \
72456       conftest$ac_exeext conftest.$ac_ext
72457
72458 fi
72459
72460     fi
72461     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
72462 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
72463     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
72464       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72465
72466 cat >>confdefs.h <<_ACEOF
72467 #define ${ac_tr_func} 1
72468 _ACEOF
72469
72470     fi
72471   fi
72472
72473
72474   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
72475 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
72476   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
72477     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
72478   echo $ECHO_N "(cached) $ECHO_C" >&6
72479 else
72480
72481
72482
72483       ac_ext=cc
72484 ac_cpp='$CXXCPP $CPPFLAGS'
72485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72488
72489       cat >conftest.$ac_ext <<_ACEOF
72490 /* confdefs.h.  */
72491 _ACEOF
72492 cat confdefs.h >>conftest.$ac_ext
72493 cat >>conftest.$ac_ext <<_ACEOF
72494 /* end confdefs.h.  */
72495 #include <math.h>
72496 int
72497 main ()
72498 {
72499  __builtin_cosl(0);
72500   ;
72501   return 0;
72502 }
72503 _ACEOF
72504 rm -f conftest.$ac_objext
72505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72506   (eval $ac_compile) 2>conftest.er1
72507   ac_status=$?
72508   grep -v '^ *+' conftest.er1 >conftest.err
72509   rm -f conftest.er1
72510   cat conftest.err >&5
72511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72512   (exit $ac_status); } &&
72513          { ac_try='test -z "$ac_cxx_werror_flag"
72514                          || test ! -s conftest.err'
72515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72516   (eval $ac_try) 2>&5
72517   ac_status=$?
72518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72519   (exit $ac_status); }; } &&
72520          { ac_try='test -s conftest.$ac_objext'
72521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72522   (eval $ac_try) 2>&5
72523   ac_status=$?
72524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72525   (exit $ac_status); }; }; then
72526   glibcxx_cv_func___builtin_cosl_use=yes
72527 else
72528   echo "$as_me: failed program was:" >&5
72529 sed 's/^/| /' conftest.$ac_ext >&5
72530
72531 glibcxx_cv_func___builtin_cosl_use=no
72532 fi
72533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72534       ac_ext=c
72535 ac_cpp='$CPP $CPPFLAGS'
72536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72539
72540
72541 fi
72542
72543   fi
72544   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
72545 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
72546   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
72547     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
72548 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
72549     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
72550       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
72551   echo $ECHO_N "(cached) $ECHO_C" >&6
72552 else
72553
72554         if test x$gcc_no_link = xyes; then
72555   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72557    { (exit 1); exit 1; }; }
72558 fi
72559 cat >conftest.$ac_ext <<_ACEOF
72560 /* confdefs.h.  */
72561 _ACEOF
72562 cat confdefs.h >>conftest.$ac_ext
72563 cat >>conftest.$ac_ext <<_ACEOF
72564 /* end confdefs.h.  */
72565 #include <math.h>
72566 int
72567 main ()
72568 {
72569  __builtin_cosl(0);
72570   ;
72571   return 0;
72572 }
72573 _ACEOF
72574 rm -f conftest.$ac_objext conftest$ac_exeext
72575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72576   (eval $ac_link) 2>conftest.er1
72577   ac_status=$?
72578   grep -v '^ *+' conftest.er1 >conftest.err
72579   rm -f conftest.er1
72580   cat conftest.err >&5
72581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72582   (exit $ac_status); } &&
72583          { ac_try='test -z "$ac_c_werror_flag"
72584                          || test ! -s conftest.err'
72585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72586   (eval $ac_try) 2>&5
72587   ac_status=$?
72588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72589   (exit $ac_status); }; } &&
72590          { ac_try='test -s conftest$ac_exeext'
72591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72592   (eval $ac_try) 2>&5
72593   ac_status=$?
72594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72595   (exit $ac_status); }; }; then
72596   glibcxx_cv_func___builtin_cosl_link=yes
72597 else
72598   echo "$as_me: failed program was:" >&5
72599 sed 's/^/| /' conftest.$ac_ext >&5
72600
72601 glibcxx_cv_func___builtin_cosl_link=no
72602 fi
72603 rm -f conftest.err conftest.$ac_objext \
72604       conftest$ac_exeext conftest.$ac_ext
72605
72606 fi
72607
72608     fi
72609     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
72610 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
72611     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
72612       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72613
72614 cat >>confdefs.h <<_ACEOF
72615 #define ${ac_tr_func} 1
72616 _ACEOF
72617
72618     fi
72619   fi
72620
72621
72622
72623
72624 echo "$as_me:$LINENO: checking for main in -lm" >&5
72625 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
72626 if test "${ac_cv_lib_m_main+set}" = set; then
72627   echo $ECHO_N "(cached) $ECHO_C" >&6
72628 else
72629   ac_check_lib_save_LIBS=$LIBS
72630 LIBS="-lm  $LIBS"
72631 if test x$gcc_no_link = xyes; then
72632   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72634    { (exit 1); exit 1; }; }
72635 fi
72636 cat >conftest.$ac_ext <<_ACEOF
72637 /* confdefs.h.  */
72638 _ACEOF
72639 cat confdefs.h >>conftest.$ac_ext
72640 cat >>conftest.$ac_ext <<_ACEOF
72641 /* end confdefs.h.  */
72642
72643
72644 int
72645 main ()
72646 {
72647 main ();
72648   ;
72649   return 0;
72650 }
72651 _ACEOF
72652 rm -f conftest.$ac_objext conftest$ac_exeext
72653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72654   (eval $ac_link) 2>conftest.er1
72655   ac_status=$?
72656   grep -v '^ *+' conftest.er1 >conftest.err
72657   rm -f conftest.er1
72658   cat conftest.err >&5
72659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72660   (exit $ac_status); } &&
72661          { ac_try='test -z "$ac_c_werror_flag"
72662                          || test ! -s conftest.err'
72663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72664   (eval $ac_try) 2>&5
72665   ac_status=$?
72666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72667   (exit $ac_status); }; } &&
72668          { ac_try='test -s conftest$ac_exeext'
72669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72670   (eval $ac_try) 2>&5
72671   ac_status=$?
72672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72673   (exit $ac_status); }; }; then
72674   ac_cv_lib_m_main=yes
72675 else
72676   echo "$as_me: failed program was:" >&5
72677 sed 's/^/| /' conftest.$ac_ext >&5
72678
72679 ac_cv_lib_m_main=no
72680 fi
72681 rm -f conftest.err conftest.$ac_objext \
72682       conftest$ac_exeext conftest.$ac_ext
72683 LIBS=$ac_check_lib_save_LIBS
72684 fi
72685 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
72686 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
72687 if test $ac_cv_lib_m_main = yes; then
72688   cat >>confdefs.h <<_ACEOF
72689 #define HAVE_LIBM 1
72690 _ACEOF
72691
72692   LIBS="-lm $LIBS"
72693
72694 fi
72695
72696
72697 for ac_func in copysignf
72698 do
72699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72700 echo "$as_me:$LINENO: checking for $ac_func" >&5
72701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72702 if eval "test \"\${$as_ac_var+set}\" = set"; then
72703   echo $ECHO_N "(cached) $ECHO_C" >&6
72704 else
72705   if test x$gcc_no_link = xyes; then
72706   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72708    { (exit 1); exit 1; }; }
72709 fi
72710 cat >conftest.$ac_ext <<_ACEOF
72711 /* confdefs.h.  */
72712 _ACEOF
72713 cat confdefs.h >>conftest.$ac_ext
72714 cat >>conftest.$ac_ext <<_ACEOF
72715 /* end confdefs.h.  */
72716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72717    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72718 #define $ac_func innocuous_$ac_func
72719
72720 /* System header to define __stub macros and hopefully few prototypes,
72721     which can conflict with char $ac_func (); below.
72722     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72723     <limits.h> exists even on freestanding compilers.  */
72724
72725 #ifdef __STDC__
72726 # include <limits.h>
72727 #else
72728 # include <assert.h>
72729 #endif
72730
72731 #undef $ac_func
72732
72733 /* Override any gcc2 internal prototype to avoid an error.  */
72734 #ifdef __cplusplus
72735 extern "C"
72736 {
72737 #endif
72738 /* We use char because int might match the return type of a gcc2
72739    builtin and then its argument prototype would still apply.  */
72740 char $ac_func ();
72741 /* The GNU C library defines this for functions which it implements
72742     to always fail with ENOSYS.  Some functions are actually named
72743     something starting with __ and the normal name is an alias.  */
72744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72745 choke me
72746 #else
72747 char (*f) () = $ac_func;
72748 #endif
72749 #ifdef __cplusplus
72750 }
72751 #endif
72752
72753 int
72754 main ()
72755 {
72756 return f != $ac_func;
72757   ;
72758   return 0;
72759 }
72760 _ACEOF
72761 rm -f conftest.$ac_objext conftest$ac_exeext
72762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72763   (eval $ac_link) 2>conftest.er1
72764   ac_status=$?
72765   grep -v '^ *+' conftest.er1 >conftest.err
72766   rm -f conftest.er1
72767   cat conftest.err >&5
72768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72769   (exit $ac_status); } &&
72770          { ac_try='test -z "$ac_c_werror_flag"
72771                          || test ! -s conftest.err'
72772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72773   (eval $ac_try) 2>&5
72774   ac_status=$?
72775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72776   (exit $ac_status); }; } &&
72777          { ac_try='test -s conftest$ac_exeext'
72778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72779   (eval $ac_try) 2>&5
72780   ac_status=$?
72781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72782   (exit $ac_status); }; }; then
72783   eval "$as_ac_var=yes"
72784 else
72785   echo "$as_me: failed program was:" >&5
72786 sed 's/^/| /' conftest.$ac_ext >&5
72787
72788 eval "$as_ac_var=no"
72789 fi
72790 rm -f conftest.err conftest.$ac_objext \
72791       conftest$ac_exeext conftest.$ac_ext
72792 fi
72793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72795 if test `eval echo '${'$as_ac_var'}'` = yes; then
72796   cat >>confdefs.h <<_ACEOF
72797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72798 _ACEOF
72799
72800 else
72801   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
72802 fi
72803 done
72804
72805
72806
72807 for ac_func in __signbit
72808 do
72809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72810 echo "$as_me:$LINENO: checking for $ac_func" >&5
72811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72812 if eval "test \"\${$as_ac_var+set}\" = set"; then
72813   echo $ECHO_N "(cached) $ECHO_C" >&6
72814 else
72815   if test x$gcc_no_link = xyes; then
72816   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72818    { (exit 1); exit 1; }; }
72819 fi
72820 cat >conftest.$ac_ext <<_ACEOF
72821 /* confdefs.h.  */
72822 _ACEOF
72823 cat confdefs.h >>conftest.$ac_ext
72824 cat >>conftest.$ac_ext <<_ACEOF
72825 /* end confdefs.h.  */
72826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72827    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72828 #define $ac_func innocuous_$ac_func
72829
72830 /* System header to define __stub macros and hopefully few prototypes,
72831     which can conflict with char $ac_func (); below.
72832     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72833     <limits.h> exists even on freestanding compilers.  */
72834
72835 #ifdef __STDC__
72836 # include <limits.h>
72837 #else
72838 # include <assert.h>
72839 #endif
72840
72841 #undef $ac_func
72842
72843 /* Override any gcc2 internal prototype to avoid an error.  */
72844 #ifdef __cplusplus
72845 extern "C"
72846 {
72847 #endif
72848 /* We use char because int might match the return type of a gcc2
72849    builtin and then its argument prototype would still apply.  */
72850 char $ac_func ();
72851 /* The GNU C library defines this for functions which it implements
72852     to always fail with ENOSYS.  Some functions are actually named
72853     something starting with __ and the normal name is an alias.  */
72854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72855 choke me
72856 #else
72857 char (*f) () = $ac_func;
72858 #endif
72859 #ifdef __cplusplus
72860 }
72861 #endif
72862
72863 int
72864 main ()
72865 {
72866 return f != $ac_func;
72867   ;
72868   return 0;
72869 }
72870 _ACEOF
72871 rm -f conftest.$ac_objext conftest$ac_exeext
72872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72873   (eval $ac_link) 2>conftest.er1
72874   ac_status=$?
72875   grep -v '^ *+' conftest.er1 >conftest.err
72876   rm -f conftest.er1
72877   cat conftest.err >&5
72878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72879   (exit $ac_status); } &&
72880          { ac_try='test -z "$ac_c_werror_flag"
72881                          || test ! -s conftest.err'
72882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72883   (eval $ac_try) 2>&5
72884   ac_status=$?
72885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72886   (exit $ac_status); }; } &&
72887          { ac_try='test -s conftest$ac_exeext'
72888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72889   (eval $ac_try) 2>&5
72890   ac_status=$?
72891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72892   (exit $ac_status); }; }; then
72893   eval "$as_ac_var=yes"
72894 else
72895   echo "$as_me: failed program was:" >&5
72896 sed 's/^/| /' conftest.$ac_ext >&5
72897
72898 eval "$as_ac_var=no"
72899 fi
72900 rm -f conftest.err conftest.$ac_objext \
72901       conftest$ac_exeext conftest.$ac_ext
72902 fi
72903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72905 if test `eval echo '${'$as_ac_var'}'` = yes; then
72906   cat >>confdefs.h <<_ACEOF
72907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72908 _ACEOF
72909
72910 else
72911   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
72912 fi
72913 done
72914
72915
72916
72917 for ac_func in __signbitf
72918 do
72919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72920 echo "$as_me:$LINENO: checking for $ac_func" >&5
72921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72922 if eval "test \"\${$as_ac_var+set}\" = set"; then
72923   echo $ECHO_N "(cached) $ECHO_C" >&6
72924 else
72925   if test x$gcc_no_link = xyes; then
72926   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72928    { (exit 1); exit 1; }; }
72929 fi
72930 cat >conftest.$ac_ext <<_ACEOF
72931 /* confdefs.h.  */
72932 _ACEOF
72933 cat confdefs.h >>conftest.$ac_ext
72934 cat >>conftest.$ac_ext <<_ACEOF
72935 /* end confdefs.h.  */
72936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72937    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72938 #define $ac_func innocuous_$ac_func
72939
72940 /* System header to define __stub macros and hopefully few prototypes,
72941     which can conflict with char $ac_func (); below.
72942     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72943     <limits.h> exists even on freestanding compilers.  */
72944
72945 #ifdef __STDC__
72946 # include <limits.h>
72947 #else
72948 # include <assert.h>
72949 #endif
72950
72951 #undef $ac_func
72952
72953 /* Override any gcc2 internal prototype to avoid an error.  */
72954 #ifdef __cplusplus
72955 extern "C"
72956 {
72957 #endif
72958 /* We use char because int might match the return type of a gcc2
72959    builtin and then its argument prototype would still apply.  */
72960 char $ac_func ();
72961 /* The GNU C library defines this for functions which it implements
72962     to always fail with ENOSYS.  Some functions are actually named
72963     something starting with __ and the normal name is an alias.  */
72964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72965 choke me
72966 #else
72967 char (*f) () = $ac_func;
72968 #endif
72969 #ifdef __cplusplus
72970 }
72971 #endif
72972
72973 int
72974 main ()
72975 {
72976 return f != $ac_func;
72977   ;
72978   return 0;
72979 }
72980 _ACEOF
72981 rm -f conftest.$ac_objext conftest$ac_exeext
72982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72983   (eval $ac_link) 2>conftest.er1
72984   ac_status=$?
72985   grep -v '^ *+' conftest.er1 >conftest.err
72986   rm -f conftest.er1
72987   cat conftest.err >&5
72988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72989   (exit $ac_status); } &&
72990          { ac_try='test -z "$ac_c_werror_flag"
72991                          || test ! -s conftest.err'
72992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72993   (eval $ac_try) 2>&5
72994   ac_status=$?
72995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72996   (exit $ac_status); }; } &&
72997          { ac_try='test -s conftest$ac_exeext'
72998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72999   (eval $ac_try) 2>&5
73000   ac_status=$?
73001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73002   (exit $ac_status); }; }; then
73003   eval "$as_ac_var=yes"
73004 else
73005   echo "$as_me: failed program was:" >&5
73006 sed 's/^/| /' conftest.$ac_ext >&5
73007
73008 eval "$as_ac_var=no"
73009 fi
73010 rm -f conftest.err conftest.$ac_objext \
73011       conftest$ac_exeext conftest.$ac_ext
73012 fi
73013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73015 if test `eval echo '${'$as_ac_var'}'` = yes; then
73016   cat >>confdefs.h <<_ACEOF
73017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73018 _ACEOF
73019
73020 else
73021   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
73022 fi
73023 done
73024
73025
73026           if test x$ac_cv_func_copysignl = x"yes"; then
73027
73028 for ac_func in __signbitl
73029 do
73030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73031 echo "$as_me:$LINENO: checking for $ac_func" >&5
73032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73033 if eval "test \"\${$as_ac_var+set}\" = set"; then
73034   echo $ECHO_N "(cached) $ECHO_C" >&6
73035 else
73036   if test x$gcc_no_link = xyes; then
73037   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73039    { (exit 1); exit 1; }; }
73040 fi
73041 cat >conftest.$ac_ext <<_ACEOF
73042 /* confdefs.h.  */
73043 _ACEOF
73044 cat confdefs.h >>conftest.$ac_ext
73045 cat >>conftest.$ac_ext <<_ACEOF
73046 /* end confdefs.h.  */
73047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73048    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73049 #define $ac_func innocuous_$ac_func
73050
73051 /* System header to define __stub macros and hopefully few prototypes,
73052     which can conflict with char $ac_func (); below.
73053     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73054     <limits.h> exists even on freestanding compilers.  */
73055
73056 #ifdef __STDC__
73057 # include <limits.h>
73058 #else
73059 # include <assert.h>
73060 #endif
73061
73062 #undef $ac_func
73063
73064 /* Override any gcc2 internal prototype to avoid an error.  */
73065 #ifdef __cplusplus
73066 extern "C"
73067 {
73068 #endif
73069 /* We use char because int might match the return type of a gcc2
73070    builtin and then its argument prototype would still apply.  */
73071 char $ac_func ();
73072 /* The GNU C library defines this for functions which it implements
73073     to always fail with ENOSYS.  Some functions are actually named
73074     something starting with __ and the normal name is an alias.  */
73075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73076 choke me
73077 #else
73078 char (*f) () = $ac_func;
73079 #endif
73080 #ifdef __cplusplus
73081 }
73082 #endif
73083
73084 int
73085 main ()
73086 {
73087 return f != $ac_func;
73088   ;
73089   return 0;
73090 }
73091 _ACEOF
73092 rm -f conftest.$ac_objext conftest$ac_exeext
73093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73094   (eval $ac_link) 2>conftest.er1
73095   ac_status=$?
73096   grep -v '^ *+' conftest.er1 >conftest.err
73097   rm -f conftest.er1
73098   cat conftest.err >&5
73099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73100   (exit $ac_status); } &&
73101          { ac_try='test -z "$ac_c_werror_flag"
73102                          || test ! -s conftest.err'
73103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73104   (eval $ac_try) 2>&5
73105   ac_status=$?
73106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73107   (exit $ac_status); }; } &&
73108          { ac_try='test -s conftest$ac_exeext'
73109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73110   (eval $ac_try) 2>&5
73111   ac_status=$?
73112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73113   (exit $ac_status); }; }; then
73114   eval "$as_ac_var=yes"
73115 else
73116   echo "$as_me: failed program was:" >&5
73117 sed 's/^/| /' conftest.$ac_ext >&5
73118
73119 eval "$as_ac_var=no"
73120 fi
73121 rm -f conftest.err conftest.$ac_objext \
73122       conftest$ac_exeext conftest.$ac_ext
73123 fi
73124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73126 if test `eval echo '${'$as_ac_var'}'` = yes; then
73127   cat >>confdefs.h <<_ACEOF
73128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73129 _ACEOF
73130
73131 else
73132   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
73133 fi
73134 done
73135
73136   fi
73137
73138   # Used in libmath/Makefile.am.
73139   if test -n "$LIBMATHOBJS"; then
73140     need_libmath=yes
73141   fi
73142
73143
73144
73145   # Test wchar.h for mbstate_t, which is needed for char_traits and
73146   # others even if wchar_t support is not on.
73147   echo "$as_me:$LINENO: checking for mbstate_t" >&5
73148 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
73149   cat >conftest.$ac_ext <<_ACEOF
73150 /* confdefs.h.  */
73151 _ACEOF
73152 cat confdefs.h >>conftest.$ac_ext
73153 cat >>conftest.$ac_ext <<_ACEOF
73154 /* end confdefs.h.  */
73155 #include <wchar.h>
73156 int
73157 main ()
73158 {
73159 mbstate_t teststate;
73160   ;
73161   return 0;
73162 }
73163 _ACEOF
73164 rm -f conftest.$ac_objext
73165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73166   (eval $ac_compile) 2>conftest.er1
73167   ac_status=$?
73168   grep -v '^ *+' conftest.er1 >conftest.err
73169   rm -f conftest.er1
73170   cat conftest.err >&5
73171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73172   (exit $ac_status); } &&
73173          { ac_try='test -z "$ac_c_werror_flag"
73174                          || test ! -s conftest.err'
73175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73176   (eval $ac_try) 2>&5
73177   ac_status=$?
73178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73179   (exit $ac_status); }; } &&
73180          { ac_try='test -s conftest.$ac_objext'
73181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73182   (eval $ac_try) 2>&5
73183   ac_status=$?
73184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73185   (exit $ac_status); }; }; then
73186   have_mbstate_t=yes
73187 else
73188   echo "$as_me: failed program was:" >&5
73189 sed 's/^/| /' conftest.$ac_ext >&5
73190
73191 have_mbstate_t=no
73192 fi
73193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73194   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
73195 echo "${ECHO_T}$have_mbstate_t" >&6
73196   if test x"$have_mbstate_t" = xyes; then
73197     cat >>confdefs.h <<\_ACEOF
73198 #define HAVE_MBSTATE_T 1
73199 _ACEOF
73200
73201   fi
73202
73203   # Sanity check for existence of ISO C99 headers for extended encoding.
73204
73205 for ac_header in wchar.h
73206 do
73207 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73209   echo "$as_me:$LINENO: checking for $ac_header" >&5
73210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73211 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73212   echo $ECHO_N "(cached) $ECHO_C" >&6
73213 fi
73214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73215 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73216 else
73217   # Is the header compilable?
73218 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73219 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73220 cat >conftest.$ac_ext <<_ACEOF
73221 /* confdefs.h.  */
73222 _ACEOF
73223 cat confdefs.h >>conftest.$ac_ext
73224 cat >>conftest.$ac_ext <<_ACEOF
73225 /* end confdefs.h.  */
73226 $ac_includes_default
73227 #include <$ac_header>
73228 _ACEOF
73229 rm -f conftest.$ac_objext
73230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73231   (eval $ac_compile) 2>conftest.er1
73232   ac_status=$?
73233   grep -v '^ *+' conftest.er1 >conftest.err
73234   rm -f conftest.er1
73235   cat conftest.err >&5
73236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73237   (exit $ac_status); } &&
73238          { ac_try='test -z "$ac_c_werror_flag"
73239                          || test ! -s conftest.err'
73240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73241   (eval $ac_try) 2>&5
73242   ac_status=$?
73243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73244   (exit $ac_status); }; } &&
73245          { ac_try='test -s conftest.$ac_objext'
73246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73247   (eval $ac_try) 2>&5
73248   ac_status=$?
73249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73250   (exit $ac_status); }; }; then
73251   ac_header_compiler=yes
73252 else
73253   echo "$as_me: failed program was:" >&5
73254 sed 's/^/| /' conftest.$ac_ext >&5
73255
73256 ac_header_compiler=no
73257 fi
73258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73259 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73260 echo "${ECHO_T}$ac_header_compiler" >&6
73261
73262 # Is the header present?
73263 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73264 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73265 cat >conftest.$ac_ext <<_ACEOF
73266 /* confdefs.h.  */
73267 _ACEOF
73268 cat confdefs.h >>conftest.$ac_ext
73269 cat >>conftest.$ac_ext <<_ACEOF
73270 /* end confdefs.h.  */
73271 #include <$ac_header>
73272 _ACEOF
73273 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73274   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73275   ac_status=$?
73276   grep -v '^ *+' conftest.er1 >conftest.err
73277   rm -f conftest.er1
73278   cat conftest.err >&5
73279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73280   (exit $ac_status); } >/dev/null; then
73281   if test -s conftest.err; then
73282     ac_cpp_err=$ac_c_preproc_warn_flag
73283     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73284   else
73285     ac_cpp_err=
73286   fi
73287 else
73288   ac_cpp_err=yes
73289 fi
73290 if test -z "$ac_cpp_err"; then
73291   ac_header_preproc=yes
73292 else
73293   echo "$as_me: failed program was:" >&5
73294 sed 's/^/| /' conftest.$ac_ext >&5
73295
73296   ac_header_preproc=no
73297 fi
73298 rm -f conftest.err conftest.$ac_ext
73299 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73300 echo "${ECHO_T}$ac_header_preproc" >&6
73301
73302 # So?  What about this header?
73303 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73304   yes:no: )
73305     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73306 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73307     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
73308 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
73309     ac_header_preproc=yes
73310     ;;
73311   no:yes:* )
73312     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73313 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73314     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
73315 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
73316     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
73317 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
73318     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
73319 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
73320     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73321 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73322     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73323 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73324     (
73325       cat <<\_ASBOX
73326 ## ----------------------------------------- ##
73327 ## Report this to the package-unused lists.  ##
73328 ## ----------------------------------------- ##
73329 _ASBOX
73330     ) |
73331       sed "s/^/$as_me: WARNING:     /" >&2
73332     ;;
73333 esac
73334 echo "$as_me:$LINENO: checking for $ac_header" >&5
73335 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73336 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73337   echo $ECHO_N "(cached) $ECHO_C" >&6
73338 else
73339   eval "$as_ac_Header=\$ac_header_preproc"
73340 fi
73341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73342 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73343
73344 fi
73345 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73346   cat >>confdefs.h <<_ACEOF
73347 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73348 _ACEOF
73349  ac_has_wchar_h=yes
73350 else
73351   ac_has_wchar_h=no
73352 fi
73353
73354 done
73355
73356
73357 for ac_header in wctype.h
73358 do
73359 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73361   echo "$as_me:$LINENO: checking for $ac_header" >&5
73362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73364   echo $ECHO_N "(cached) $ECHO_C" >&6
73365 fi
73366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73367 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73368 else
73369   # Is the header compilable?
73370 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73371 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73372 cat >conftest.$ac_ext <<_ACEOF
73373 /* confdefs.h.  */
73374 _ACEOF
73375 cat confdefs.h >>conftest.$ac_ext
73376 cat >>conftest.$ac_ext <<_ACEOF
73377 /* end confdefs.h.  */
73378 $ac_includes_default
73379 #include <$ac_header>
73380 _ACEOF
73381 rm -f conftest.$ac_objext
73382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73383   (eval $ac_compile) 2>conftest.er1
73384   ac_status=$?
73385   grep -v '^ *+' conftest.er1 >conftest.err
73386   rm -f conftest.er1
73387   cat conftest.err >&5
73388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73389   (exit $ac_status); } &&
73390          { ac_try='test -z "$ac_c_werror_flag"
73391                          || test ! -s conftest.err'
73392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73393   (eval $ac_try) 2>&5
73394   ac_status=$?
73395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73396   (exit $ac_status); }; } &&
73397          { ac_try='test -s conftest.$ac_objext'
73398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73399   (eval $ac_try) 2>&5
73400   ac_status=$?
73401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73402   (exit $ac_status); }; }; then
73403   ac_header_compiler=yes
73404 else
73405   echo "$as_me: failed program was:" >&5
73406 sed 's/^/| /' conftest.$ac_ext >&5
73407
73408 ac_header_compiler=no
73409 fi
73410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73411 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73412 echo "${ECHO_T}$ac_header_compiler" >&6
73413
73414 # Is the header present?
73415 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73416 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73417 cat >conftest.$ac_ext <<_ACEOF
73418 /* confdefs.h.  */
73419 _ACEOF
73420 cat confdefs.h >>conftest.$ac_ext
73421 cat >>conftest.$ac_ext <<_ACEOF
73422 /* end confdefs.h.  */
73423 #include <$ac_header>
73424 _ACEOF
73425 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73426   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73427   ac_status=$?
73428   grep -v '^ *+' conftest.er1 >conftest.err
73429   rm -f conftest.er1
73430   cat conftest.err >&5
73431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73432   (exit $ac_status); } >/dev/null; then
73433   if test -s conftest.err; then
73434     ac_cpp_err=$ac_c_preproc_warn_flag
73435     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73436   else
73437     ac_cpp_err=
73438   fi
73439 else
73440   ac_cpp_err=yes
73441 fi
73442 if test -z "$ac_cpp_err"; then
73443   ac_header_preproc=yes
73444 else
73445   echo "$as_me: failed program was:" >&5
73446 sed 's/^/| /' conftest.$ac_ext >&5
73447
73448   ac_header_preproc=no
73449 fi
73450 rm -f conftest.err conftest.$ac_ext
73451 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73452 echo "${ECHO_T}$ac_header_preproc" >&6
73453
73454 # So?  What about this header?
73455 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73456   yes:no: )
73457     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73458 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73459     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
73460 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
73461     ac_header_preproc=yes
73462     ;;
73463   no:yes:* )
73464     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73465 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73466     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
73467 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
73468     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
73469 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
73470     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
73471 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
73472     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73473 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73474     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73475 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73476     (
73477       cat <<\_ASBOX
73478 ## ----------------------------------------- ##
73479 ## Report this to the package-unused lists.  ##
73480 ## ----------------------------------------- ##
73481 _ASBOX
73482     ) |
73483       sed "s/^/$as_me: WARNING:     /" >&2
73484     ;;
73485 esac
73486 echo "$as_me:$LINENO: checking for $ac_header" >&5
73487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73489   echo $ECHO_N "(cached) $ECHO_C" >&6
73490 else
73491   eval "$as_ac_Header=\$ac_header_preproc"
73492 fi
73493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73494 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73495
73496 fi
73497 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73498   cat >>confdefs.h <<_ACEOF
73499 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73500 _ACEOF
73501  ac_has_wctype_h=yes
73502 else
73503   ac_has_wctype_h=no
73504 fi
73505
73506 done
73507
73508
73509   # Only continue checking if the ISO C99 headers exist and support is on.
73510   if test x"$ac_has_wchar_h" = xyes &&
73511      test x"$ac_has_wctype_h" = xyes &&
73512      test x"$enable_c_mbchar" != xno; then
73513
73514     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
73515     # numeric_limits can instantiate type_traits<wchar_t>
73516     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
73517 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
73518     cat >conftest.$ac_ext <<_ACEOF
73519 /* confdefs.h.  */
73520 _ACEOF
73521 cat confdefs.h >>conftest.$ac_ext
73522 cat >>conftest.$ac_ext <<_ACEOF
73523 /* end confdefs.h.  */
73524 #include <wchar.h>
73525 int
73526 main ()
73527 {
73528 int i = WCHAR_MIN; int j = WCHAR_MAX;
73529   ;
73530   return 0;
73531 }
73532 _ACEOF
73533 rm -f conftest.$ac_objext
73534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73535   (eval $ac_compile) 2>conftest.er1
73536   ac_status=$?
73537   grep -v '^ *+' conftest.er1 >conftest.err
73538   rm -f conftest.er1
73539   cat conftest.err >&5
73540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73541   (exit $ac_status); } &&
73542          { ac_try='test -z "$ac_c_werror_flag"
73543                          || test ! -s conftest.err'
73544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73545   (eval $ac_try) 2>&5
73546   ac_status=$?
73547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73548   (exit $ac_status); }; } &&
73549          { ac_try='test -s conftest.$ac_objext'
73550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73551   (eval $ac_try) 2>&5
73552   ac_status=$?
73553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73554   (exit $ac_status); }; }; then
73555   has_wchar_minmax=yes
73556 else
73557   echo "$as_me: failed program was:" >&5
73558 sed 's/^/| /' conftest.$ac_ext >&5
73559
73560 has_wchar_minmax=no
73561 fi
73562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73563     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
73564 echo "${ECHO_T}$has_wchar_minmax" >&6
73565
73566     # Test wchar.h for WEOF, which is what we use to determine whether
73567     # to specialize for char_traits<wchar_t> or not.
73568     echo "$as_me:$LINENO: checking for WEOF" >&5
73569 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
73570     cat >conftest.$ac_ext <<_ACEOF
73571 /* confdefs.h.  */
73572 _ACEOF
73573 cat confdefs.h >>conftest.$ac_ext
73574 cat >>conftest.$ac_ext <<_ACEOF
73575 /* end confdefs.h.  */
73576
73577       #include <wchar.h>
73578       #include <stddef.h>
73579 int
73580 main ()
73581 {
73582 wint_t i = WEOF;
73583   ;
73584   return 0;
73585 }
73586 _ACEOF
73587 rm -f conftest.$ac_objext
73588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73589   (eval $ac_compile) 2>conftest.er1
73590   ac_status=$?
73591   grep -v '^ *+' conftest.er1 >conftest.err
73592   rm -f conftest.er1
73593   cat conftest.err >&5
73594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73595   (exit $ac_status); } &&
73596          { ac_try='test -z "$ac_c_werror_flag"
73597                          || test ! -s conftest.err'
73598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73599   (eval $ac_try) 2>&5
73600   ac_status=$?
73601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73602   (exit $ac_status); }; } &&
73603          { ac_try='test -s conftest.$ac_objext'
73604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73605   (eval $ac_try) 2>&5
73606   ac_status=$?
73607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73608   (exit $ac_status); }; }; then
73609   has_weof=yes
73610 else
73611   echo "$as_me: failed program was:" >&5
73612 sed 's/^/| /' conftest.$ac_ext >&5
73613
73614 has_weof=no
73615 fi
73616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73617     echo "$as_me:$LINENO: result: $has_weof" >&5
73618 echo "${ECHO_T}$has_weof" >&6
73619
73620     # Tests for wide character functions used in char_traits<wchar_t>.
73621     ac_wfuncs=yes
73622
73623
73624
73625
73626
73627
73628 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
73629 do
73630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73631 echo "$as_me:$LINENO: checking for $ac_func" >&5
73632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73633 if eval "test \"\${$as_ac_var+set}\" = set"; then
73634   echo $ECHO_N "(cached) $ECHO_C" >&6
73635 else
73636   if test x$gcc_no_link = xyes; then
73637   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73639    { (exit 1); exit 1; }; }
73640 fi
73641 cat >conftest.$ac_ext <<_ACEOF
73642 /* confdefs.h.  */
73643 _ACEOF
73644 cat confdefs.h >>conftest.$ac_ext
73645 cat >>conftest.$ac_ext <<_ACEOF
73646 /* end confdefs.h.  */
73647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73648    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73649 #define $ac_func innocuous_$ac_func
73650
73651 /* System header to define __stub macros and hopefully few prototypes,
73652     which can conflict with char $ac_func (); below.
73653     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73654     <limits.h> exists even on freestanding compilers.  */
73655
73656 #ifdef __STDC__
73657 # include <limits.h>
73658 #else
73659 # include <assert.h>
73660 #endif
73661
73662 #undef $ac_func
73663
73664 /* Override any gcc2 internal prototype to avoid an error.  */
73665 #ifdef __cplusplus
73666 extern "C"
73667 {
73668 #endif
73669 /* We use char because int might match the return type of a gcc2
73670    builtin and then its argument prototype would still apply.  */
73671 char $ac_func ();
73672 /* The GNU C library defines this for functions which it implements
73673     to always fail with ENOSYS.  Some functions are actually named
73674     something starting with __ and the normal name is an alias.  */
73675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73676 choke me
73677 #else
73678 char (*f) () = $ac_func;
73679 #endif
73680 #ifdef __cplusplus
73681 }
73682 #endif
73683
73684 int
73685 main ()
73686 {
73687 return f != $ac_func;
73688   ;
73689   return 0;
73690 }
73691 _ACEOF
73692 rm -f conftest.$ac_objext conftest$ac_exeext
73693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73694   (eval $ac_link) 2>conftest.er1
73695   ac_status=$?
73696   grep -v '^ *+' conftest.er1 >conftest.err
73697   rm -f conftest.er1
73698   cat conftest.err >&5
73699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73700   (exit $ac_status); } &&
73701          { ac_try='test -z "$ac_c_werror_flag"
73702                          || test ! -s conftest.err'
73703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73704   (eval $ac_try) 2>&5
73705   ac_status=$?
73706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73707   (exit $ac_status); }; } &&
73708          { ac_try='test -s conftest$ac_exeext'
73709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73710   (eval $ac_try) 2>&5
73711   ac_status=$?
73712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73713   (exit $ac_status); }; }; then
73714   eval "$as_ac_var=yes"
73715 else
73716   echo "$as_me: failed program was:" >&5
73717 sed 's/^/| /' conftest.$ac_ext >&5
73718
73719 eval "$as_ac_var=no"
73720 fi
73721 rm -f conftest.err conftest.$ac_objext \
73722       conftest$ac_exeext conftest.$ac_ext
73723 fi
73724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73726 if test `eval echo '${'$as_ac_var'}'` = yes; then
73727   cat >>confdefs.h <<_ACEOF
73728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73729 _ACEOF
73730
73731 else
73732   ac_wfuncs=no
73733 fi
73734 done
73735
73736
73737     # Checks for names injected into std:: by the c_std headers.
73738
73739
73740
73741
73742
73743
73744
73745
73746
73747
73748
73749
73750
73751
73752
73753
73754
73755
73756
73757
73758
73759
73760
73761
73762
73763
73764
73765
73766
73767
73768
73769
73770
73771
73772
73773
73774
73775
73776
73777
73778
73779
73780
73781
73782
73783
73784 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
73785     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
73786     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
73787     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
73788     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
73789     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
73790 do
73791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73792 echo "$as_me:$LINENO: checking for $ac_func" >&5
73793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73794 if eval "test \"\${$as_ac_var+set}\" = set"; then
73795   echo $ECHO_N "(cached) $ECHO_C" >&6
73796 else
73797   if test x$gcc_no_link = xyes; then
73798   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73800    { (exit 1); exit 1; }; }
73801 fi
73802 cat >conftest.$ac_ext <<_ACEOF
73803 /* confdefs.h.  */
73804 _ACEOF
73805 cat confdefs.h >>conftest.$ac_ext
73806 cat >>conftest.$ac_ext <<_ACEOF
73807 /* end confdefs.h.  */
73808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73809    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73810 #define $ac_func innocuous_$ac_func
73811
73812 /* System header to define __stub macros and hopefully few prototypes,
73813     which can conflict with char $ac_func (); below.
73814     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73815     <limits.h> exists even on freestanding compilers.  */
73816
73817 #ifdef __STDC__
73818 # include <limits.h>
73819 #else
73820 # include <assert.h>
73821 #endif
73822
73823 #undef $ac_func
73824
73825 /* Override any gcc2 internal prototype to avoid an error.  */
73826 #ifdef __cplusplus
73827 extern "C"
73828 {
73829 #endif
73830 /* We use char because int might match the return type of a gcc2
73831    builtin and then its argument prototype would still apply.  */
73832 char $ac_func ();
73833 /* The GNU C library defines this for functions which it implements
73834     to always fail with ENOSYS.  Some functions are actually named
73835     something starting with __ and the normal name is an alias.  */
73836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73837 choke me
73838 #else
73839 char (*f) () = $ac_func;
73840 #endif
73841 #ifdef __cplusplus
73842 }
73843 #endif
73844
73845 int
73846 main ()
73847 {
73848 return f != $ac_func;
73849   ;
73850   return 0;
73851 }
73852 _ACEOF
73853 rm -f conftest.$ac_objext conftest$ac_exeext
73854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73855   (eval $ac_link) 2>conftest.er1
73856   ac_status=$?
73857   grep -v '^ *+' conftest.er1 >conftest.err
73858   rm -f conftest.er1
73859   cat conftest.err >&5
73860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73861   (exit $ac_status); } &&
73862          { ac_try='test -z "$ac_c_werror_flag"
73863                          || test ! -s conftest.err'
73864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73865   (eval $ac_try) 2>&5
73866   ac_status=$?
73867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73868   (exit $ac_status); }; } &&
73869          { ac_try='test -s conftest$ac_exeext'
73870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73871   (eval $ac_try) 2>&5
73872   ac_status=$?
73873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73874   (exit $ac_status); }; }; then
73875   eval "$as_ac_var=yes"
73876 else
73877   echo "$as_me: failed program was:" >&5
73878 sed 's/^/| /' conftest.$ac_ext >&5
73879
73880 eval "$as_ac_var=no"
73881 fi
73882 rm -f conftest.err conftest.$ac_objext \
73883       conftest$ac_exeext conftest.$ac_ext
73884 fi
73885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73887 if test `eval echo '${'$as_ac_var'}'` = yes; then
73888   cat >>confdefs.h <<_ACEOF
73889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73890 _ACEOF
73891
73892 else
73893   ac_wfuncs=no
73894 fi
73895 done
73896
73897
73898     # Checks for wide character functions that are not required
73899     # for basic wchar_t support.  Don't disable support if they are missing.
73900     # Injection of these is wrapped with guard macros.
73901
73902
73903
73904
73905
73906 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
73907 do
73908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73909 echo "$as_me:$LINENO: checking for $ac_func" >&5
73910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73911 if eval "test \"\${$as_ac_var+set}\" = set"; then
73912   echo $ECHO_N "(cached) $ECHO_C" >&6
73913 else
73914   if test x$gcc_no_link = xyes; then
73915   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73917    { (exit 1); exit 1; }; }
73918 fi
73919 cat >conftest.$ac_ext <<_ACEOF
73920 /* confdefs.h.  */
73921 _ACEOF
73922 cat confdefs.h >>conftest.$ac_ext
73923 cat >>conftest.$ac_ext <<_ACEOF
73924 /* end confdefs.h.  */
73925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73926    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73927 #define $ac_func innocuous_$ac_func
73928
73929 /* System header to define __stub macros and hopefully few prototypes,
73930     which can conflict with char $ac_func (); below.
73931     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73932     <limits.h> exists even on freestanding compilers.  */
73933
73934 #ifdef __STDC__
73935 # include <limits.h>
73936 #else
73937 # include <assert.h>
73938 #endif
73939
73940 #undef $ac_func
73941
73942 /* Override any gcc2 internal prototype to avoid an error.  */
73943 #ifdef __cplusplus
73944 extern "C"
73945 {
73946 #endif
73947 /* We use char because int might match the return type of a gcc2
73948    builtin and then its argument prototype would still apply.  */
73949 char $ac_func ();
73950 /* The GNU C library defines this for functions which it implements
73951     to always fail with ENOSYS.  Some functions are actually named
73952     something starting with __ and the normal name is an alias.  */
73953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73954 choke me
73955 #else
73956 char (*f) () = $ac_func;
73957 #endif
73958 #ifdef __cplusplus
73959 }
73960 #endif
73961
73962 int
73963 main ()
73964 {
73965 return f != $ac_func;
73966   ;
73967   return 0;
73968 }
73969 _ACEOF
73970 rm -f conftest.$ac_objext conftest$ac_exeext
73971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73972   (eval $ac_link) 2>conftest.er1
73973   ac_status=$?
73974   grep -v '^ *+' conftest.er1 >conftest.err
73975   rm -f conftest.er1
73976   cat conftest.err >&5
73977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73978   (exit $ac_status); } &&
73979          { ac_try='test -z "$ac_c_werror_flag"
73980                          || test ! -s conftest.err'
73981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73982   (eval $ac_try) 2>&5
73983   ac_status=$?
73984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73985   (exit $ac_status); }; } &&
73986          { ac_try='test -s conftest$ac_exeext'
73987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73988   (eval $ac_try) 2>&5
73989   ac_status=$?
73990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73991   (exit $ac_status); }; }; then
73992   eval "$as_ac_var=yes"
73993 else
73994   echo "$as_me: failed program was:" >&5
73995 sed 's/^/| /' conftest.$ac_ext >&5
73996
73997 eval "$as_ac_var=no"
73998 fi
73999 rm -f conftest.err conftest.$ac_objext \
74000       conftest$ac_exeext conftest.$ac_ext
74001 fi
74002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74004 if test `eval echo '${'$as_ac_var'}'` = yes; then
74005   cat >>confdefs.h <<_ACEOF
74006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74007 _ACEOF
74008
74009 fi
74010 done
74011
74012
74013     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
74014 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
74015     if test x"$has_weof" = xyes &&
74016        test x"$has_wchar_minmax" = xyes &&
74017        test x"$ac_wfuncs" = xyes;
74018     then
74019       ac_isoC99_wchar_t=yes
74020     else
74021       ac_isoC99_wchar_t=no
74022     fi
74023     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
74024 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
74025
74026     # Use iconv for wchar_t to char conversions. As such, check for
74027     # X/Open Portability Guide, version 2 features (XPG2).
74028     if test "${ac_cv_header_iconv_h+set}" = set; then
74029   echo "$as_me:$LINENO: checking for iconv.h" >&5
74030 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74031 if test "${ac_cv_header_iconv_h+set}" = set; then
74032   echo $ECHO_N "(cached) $ECHO_C" >&6
74033 fi
74034 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74035 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74036 else
74037   # Is the header compilable?
74038 echo "$as_me:$LINENO: checking iconv.h usability" >&5
74039 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
74040 cat >conftest.$ac_ext <<_ACEOF
74041 /* confdefs.h.  */
74042 _ACEOF
74043 cat confdefs.h >>conftest.$ac_ext
74044 cat >>conftest.$ac_ext <<_ACEOF
74045 /* end confdefs.h.  */
74046 $ac_includes_default
74047 #include <iconv.h>
74048 _ACEOF
74049 rm -f conftest.$ac_objext
74050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74051   (eval $ac_compile) 2>conftest.er1
74052   ac_status=$?
74053   grep -v '^ *+' conftest.er1 >conftest.err
74054   rm -f conftest.er1
74055   cat conftest.err >&5
74056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74057   (exit $ac_status); } &&
74058          { ac_try='test -z "$ac_c_werror_flag"
74059                          || test ! -s conftest.err'
74060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74061   (eval $ac_try) 2>&5
74062   ac_status=$?
74063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74064   (exit $ac_status); }; } &&
74065          { ac_try='test -s conftest.$ac_objext'
74066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74067   (eval $ac_try) 2>&5
74068   ac_status=$?
74069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74070   (exit $ac_status); }; }; then
74071   ac_header_compiler=yes
74072 else
74073   echo "$as_me: failed program was:" >&5
74074 sed 's/^/| /' conftest.$ac_ext >&5
74075
74076 ac_header_compiler=no
74077 fi
74078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74079 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74080 echo "${ECHO_T}$ac_header_compiler" >&6
74081
74082 # Is the header present?
74083 echo "$as_me:$LINENO: checking iconv.h presence" >&5
74084 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
74085 cat >conftest.$ac_ext <<_ACEOF
74086 /* confdefs.h.  */
74087 _ACEOF
74088 cat confdefs.h >>conftest.$ac_ext
74089 cat >>conftest.$ac_ext <<_ACEOF
74090 /* end confdefs.h.  */
74091 #include <iconv.h>
74092 _ACEOF
74093 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74094   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74095   ac_status=$?
74096   grep -v '^ *+' conftest.er1 >conftest.err
74097   rm -f conftest.er1
74098   cat conftest.err >&5
74099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74100   (exit $ac_status); } >/dev/null; then
74101   if test -s conftest.err; then
74102     ac_cpp_err=$ac_c_preproc_warn_flag
74103     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74104   else
74105     ac_cpp_err=
74106   fi
74107 else
74108   ac_cpp_err=yes
74109 fi
74110 if test -z "$ac_cpp_err"; then
74111   ac_header_preproc=yes
74112 else
74113   echo "$as_me: failed program was:" >&5
74114 sed 's/^/| /' conftest.$ac_ext >&5
74115
74116   ac_header_preproc=no
74117 fi
74118 rm -f conftest.err conftest.$ac_ext
74119 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74120 echo "${ECHO_T}$ac_header_preproc" >&6
74121
74122 # So?  What about this header?
74123 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74124   yes:no: )
74125     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74126 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74127     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74128 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74129     ac_header_preproc=yes
74130     ;;
74131   no:yes:* )
74132     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74133 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74134     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
74135 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
74136     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74137 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74138     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
74139 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
74140     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74141 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74142     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74143 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74144     (
74145       cat <<\_ASBOX
74146 ## ----------------------------------------- ##
74147 ## Report this to the package-unused lists.  ##
74148 ## ----------------------------------------- ##
74149 _ASBOX
74150     ) |
74151       sed "s/^/$as_me: WARNING:     /" >&2
74152     ;;
74153 esac
74154 echo "$as_me:$LINENO: checking for iconv.h" >&5
74155 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74156 if test "${ac_cv_header_iconv_h+set}" = set; then
74157   echo $ECHO_N "(cached) $ECHO_C" >&6
74158 else
74159   ac_cv_header_iconv_h=$ac_header_preproc
74160 fi
74161 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74162 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74163
74164 fi
74165 if test $ac_cv_header_iconv_h = yes; then
74166   ac_has_iconv_h=yes
74167 else
74168   ac_has_iconv_h=no
74169 fi
74170
74171
74172     if test "${ac_cv_header_langinfo_h+set}" = set; then
74173   echo "$as_me:$LINENO: checking for langinfo.h" >&5
74174 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74175 if test "${ac_cv_header_langinfo_h+set}" = set; then
74176   echo $ECHO_N "(cached) $ECHO_C" >&6
74177 fi
74178 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74179 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74180 else
74181   # Is the header compilable?
74182 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74183 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74184 cat >conftest.$ac_ext <<_ACEOF
74185 /* confdefs.h.  */
74186 _ACEOF
74187 cat confdefs.h >>conftest.$ac_ext
74188 cat >>conftest.$ac_ext <<_ACEOF
74189 /* end confdefs.h.  */
74190 $ac_includes_default
74191 #include <langinfo.h>
74192 _ACEOF
74193 rm -f conftest.$ac_objext
74194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74195   (eval $ac_compile) 2>conftest.er1
74196   ac_status=$?
74197   grep -v '^ *+' conftest.er1 >conftest.err
74198   rm -f conftest.er1
74199   cat conftest.err >&5
74200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74201   (exit $ac_status); } &&
74202          { ac_try='test -z "$ac_c_werror_flag"
74203                          || test ! -s conftest.err'
74204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74205   (eval $ac_try) 2>&5
74206   ac_status=$?
74207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74208   (exit $ac_status); }; } &&
74209          { ac_try='test -s conftest.$ac_objext'
74210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74211   (eval $ac_try) 2>&5
74212   ac_status=$?
74213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74214   (exit $ac_status); }; }; then
74215   ac_header_compiler=yes
74216 else
74217   echo "$as_me: failed program was:" >&5
74218 sed 's/^/| /' conftest.$ac_ext >&5
74219
74220 ac_header_compiler=no
74221 fi
74222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74223 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74224 echo "${ECHO_T}$ac_header_compiler" >&6
74225
74226 # Is the header present?
74227 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
74228 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
74229 cat >conftest.$ac_ext <<_ACEOF
74230 /* confdefs.h.  */
74231 _ACEOF
74232 cat confdefs.h >>conftest.$ac_ext
74233 cat >>conftest.$ac_ext <<_ACEOF
74234 /* end confdefs.h.  */
74235 #include <langinfo.h>
74236 _ACEOF
74237 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74238   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74239   ac_status=$?
74240   grep -v '^ *+' conftest.er1 >conftest.err
74241   rm -f conftest.er1
74242   cat conftest.err >&5
74243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74244   (exit $ac_status); } >/dev/null; then
74245   if test -s conftest.err; then
74246     ac_cpp_err=$ac_c_preproc_warn_flag
74247     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74248   else
74249     ac_cpp_err=
74250   fi
74251 else
74252   ac_cpp_err=yes
74253 fi
74254 if test -z "$ac_cpp_err"; then
74255   ac_header_preproc=yes
74256 else
74257   echo "$as_me: failed program was:" >&5
74258 sed 's/^/| /' conftest.$ac_ext >&5
74259
74260   ac_header_preproc=no
74261 fi
74262 rm -f conftest.err conftest.$ac_ext
74263 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74264 echo "${ECHO_T}$ac_header_preproc" >&6
74265
74266 # So?  What about this header?
74267 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74268   yes:no: )
74269     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
74270 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74271     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
74272 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
74273     ac_header_preproc=yes
74274     ;;
74275   no:yes:* )
74276     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
74277 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
74278     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
74279 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
74280     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
74281 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
74282     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
74283 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
74284     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
74285 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
74286     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
74287 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
74288     (
74289       cat <<\_ASBOX
74290 ## ----------------------------------------- ##
74291 ## Report this to the package-unused lists.  ##
74292 ## ----------------------------------------- ##
74293 _ASBOX
74294     ) |
74295       sed "s/^/$as_me: WARNING:     /" >&2
74296     ;;
74297 esac
74298 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74299 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74300 if test "${ac_cv_header_langinfo_h+set}" = set; then
74301   echo $ECHO_N "(cached) $ECHO_C" >&6
74302 else
74303   ac_cv_header_langinfo_h=$ac_header_preproc
74304 fi
74305 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74306 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74307
74308 fi
74309 if test $ac_cv_header_langinfo_h = yes; then
74310   ac_has_langinfo_h=yes
74311 else
74312   ac_has_langinfo_h=no
74313 fi
74314
74315
74316
74317     # Check for existence of libiconv.a providing XPG2 wchar_t support.
74318     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
74319 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
74320 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
74321   echo $ECHO_N "(cached) $ECHO_C" >&6
74322 else
74323   ac_check_lib_save_LIBS=$LIBS
74324 LIBS="-liconv  $LIBS"
74325 if test x$gcc_no_link = xyes; then
74326   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74328    { (exit 1); exit 1; }; }
74329 fi
74330 cat >conftest.$ac_ext <<_ACEOF
74331 /* confdefs.h.  */
74332 _ACEOF
74333 cat confdefs.h >>conftest.$ac_ext
74334 cat >>conftest.$ac_ext <<_ACEOF
74335 /* end confdefs.h.  */
74336
74337 /* Override any gcc2 internal prototype to avoid an error.  */
74338 #ifdef __cplusplus
74339 extern "C"
74340 #endif
74341 /* We use char because int might match the return type of a gcc2
74342    builtin and then its argument prototype would still apply.  */
74343 char iconv ();
74344 int
74345 main ()
74346 {
74347 iconv ();
74348   ;
74349   return 0;
74350 }
74351 _ACEOF
74352 rm -f conftest.$ac_objext conftest$ac_exeext
74353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74354   (eval $ac_link) 2>conftest.er1
74355   ac_status=$?
74356   grep -v '^ *+' conftest.er1 >conftest.err
74357   rm -f conftest.er1
74358   cat conftest.err >&5
74359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74360   (exit $ac_status); } &&
74361          { ac_try='test -z "$ac_c_werror_flag"
74362                          || test ! -s conftest.err'
74363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74364   (eval $ac_try) 2>&5
74365   ac_status=$?
74366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74367   (exit $ac_status); }; } &&
74368          { ac_try='test -s conftest$ac_exeext'
74369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74370   (eval $ac_try) 2>&5
74371   ac_status=$?
74372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74373   (exit $ac_status); }; }; then
74374   ac_cv_lib_iconv_iconv=yes
74375 else
74376   echo "$as_me: failed program was:" >&5
74377 sed 's/^/| /' conftest.$ac_ext >&5
74378
74379 ac_cv_lib_iconv_iconv=no
74380 fi
74381 rm -f conftest.err conftest.$ac_objext \
74382       conftest$ac_exeext conftest.$ac_ext
74383 LIBS=$ac_check_lib_save_LIBS
74384 fi
74385 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
74386 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
74387 if test $ac_cv_lib_iconv_iconv = yes; then
74388   LIBICONV="-liconv"
74389 fi
74390
74391     ac_save_LIBS="$LIBS"
74392     LIBS="$LIBS $LIBICONV"
74393
74394
74395
74396
74397
74398
74399 for ac_func in iconv_open iconv_close iconv nl_langinfo
74400 do
74401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74402 echo "$as_me:$LINENO: checking for $ac_func" >&5
74403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74404 if eval "test \"\${$as_ac_var+set}\" = set"; then
74405   echo $ECHO_N "(cached) $ECHO_C" >&6
74406 else
74407   if test x$gcc_no_link = xyes; then
74408   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74410    { (exit 1); exit 1; }; }
74411 fi
74412 cat >conftest.$ac_ext <<_ACEOF
74413 /* confdefs.h.  */
74414 _ACEOF
74415 cat confdefs.h >>conftest.$ac_ext
74416 cat >>conftest.$ac_ext <<_ACEOF
74417 /* end confdefs.h.  */
74418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74419    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74420 #define $ac_func innocuous_$ac_func
74421
74422 /* System header to define __stub macros and hopefully few prototypes,
74423     which can conflict with char $ac_func (); below.
74424     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74425     <limits.h> exists even on freestanding compilers.  */
74426
74427 #ifdef __STDC__
74428 # include <limits.h>
74429 #else
74430 # include <assert.h>
74431 #endif
74432
74433 #undef $ac_func
74434
74435 /* Override any gcc2 internal prototype to avoid an error.  */
74436 #ifdef __cplusplus
74437 extern "C"
74438 {
74439 #endif
74440 /* We use char because int might match the return type of a gcc2
74441    builtin and then its argument prototype would still apply.  */
74442 char $ac_func ();
74443 /* The GNU C library defines this for functions which it implements
74444     to always fail with ENOSYS.  Some functions are actually named
74445     something starting with __ and the normal name is an alias.  */
74446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74447 choke me
74448 #else
74449 char (*f) () = $ac_func;
74450 #endif
74451 #ifdef __cplusplus
74452 }
74453 #endif
74454
74455 int
74456 main ()
74457 {
74458 return f != $ac_func;
74459   ;
74460   return 0;
74461 }
74462 _ACEOF
74463 rm -f conftest.$ac_objext conftest$ac_exeext
74464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74465   (eval $ac_link) 2>conftest.er1
74466   ac_status=$?
74467   grep -v '^ *+' conftest.er1 >conftest.err
74468   rm -f conftest.er1
74469   cat conftest.err >&5
74470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74471   (exit $ac_status); } &&
74472          { ac_try='test -z "$ac_c_werror_flag"
74473                          || test ! -s conftest.err'
74474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74475   (eval $ac_try) 2>&5
74476   ac_status=$?
74477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74478   (exit $ac_status); }; } &&
74479          { ac_try='test -s conftest$ac_exeext'
74480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74481   (eval $ac_try) 2>&5
74482   ac_status=$?
74483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74484   (exit $ac_status); }; }; then
74485   eval "$as_ac_var=yes"
74486 else
74487   echo "$as_me: failed program was:" >&5
74488 sed 's/^/| /' conftest.$ac_ext >&5
74489
74490 eval "$as_ac_var=no"
74491 fi
74492 rm -f conftest.err conftest.$ac_objext \
74493       conftest$ac_exeext conftest.$ac_ext
74494 fi
74495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74497 if test `eval echo '${'$as_ac_var'}'` = yes; then
74498   cat >>confdefs.h <<_ACEOF
74499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74500 _ACEOF
74501  ac_XPG2funcs=yes
74502 else
74503   ac_XPG2funcs=no
74504 fi
74505 done
74506
74507
74508     LIBS="$ac_save_LIBS"
74509
74510     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
74511 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
74512     if test x"$ac_has_iconv_h" = xyes &&
74513        test x"$ac_has_langinfo_h" = xyes &&
74514        test x"$ac_XPG2funcs" = xyes;
74515     then
74516       ac_XPG2_wchar_t=yes
74517     else
74518       ac_XPG2_wchar_t=no
74519     fi
74520     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
74521 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
74522
74523     # At the moment, only enable wchar_t specializations if all the
74524     # above support is present.
74525     if test x"$ac_isoC99_wchar_t" = xyes &&
74526        test x"$ac_XPG2_wchar_t" = xyes;
74527     then
74528       cat >>confdefs.h <<\_ACEOF
74529 #define _GLIBCXX_USE_WCHAR_T 1
74530 _ACEOF
74531
74532       enable_wchar_t=yes
74533     fi
74534   fi
74535   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
74536 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
74537   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
74538 echo "${ECHO_T}$enable_wchar_t" >&6
74539
74540
74541   ac_test_CXXFLAGS="${CXXFLAGS+set}"
74542   ac_save_CXXFLAGS="$CXXFLAGS"
74543   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
74544
74545
74546   echo "$as_me:$LINENO: checking for strtold declaration" >&5
74547 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
74548   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
74549     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
74550   echo $ECHO_N "(cached) $ECHO_C" >&6
74551 else
74552
74553
74554
74555       ac_ext=cc
74556 ac_cpp='$CXXCPP $CPPFLAGS'
74557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74560
74561       cat >conftest.$ac_ext <<_ACEOF
74562 /* confdefs.h.  */
74563 _ACEOF
74564 cat confdefs.h >>conftest.$ac_ext
74565 cat >>conftest.$ac_ext <<_ACEOF
74566 /* end confdefs.h.  */
74567 #include <stdlib.h>
74568 int
74569 main ()
74570 {
74571  strtold(0, 0);
74572   ;
74573   return 0;
74574 }
74575 _ACEOF
74576 rm -f conftest.$ac_objext
74577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74578   (eval $ac_compile) 2>conftest.er1
74579   ac_status=$?
74580   grep -v '^ *+' conftest.er1 >conftest.err
74581   rm -f conftest.er1
74582   cat conftest.err >&5
74583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74584   (exit $ac_status); } &&
74585          { ac_try='test -z "$ac_cxx_werror_flag"
74586                          || test ! -s conftest.err'
74587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74588   (eval $ac_try) 2>&5
74589   ac_status=$?
74590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74591   (exit $ac_status); }; } &&
74592          { ac_try='test -s conftest.$ac_objext'
74593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74594   (eval $ac_try) 2>&5
74595   ac_status=$?
74596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74597   (exit $ac_status); }; }; then
74598   glibcxx_cv_func_strtold_use=yes
74599 else
74600   echo "$as_me: failed program was:" >&5
74601 sed 's/^/| /' conftest.$ac_ext >&5
74602
74603 glibcxx_cv_func_strtold_use=no
74604 fi
74605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74606       ac_ext=c
74607 ac_cpp='$CPP $CPPFLAGS'
74608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74611
74612
74613 fi
74614
74615   fi
74616   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
74617 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
74618   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
74619
74620 for ac_func in strtold
74621 do
74622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74623 echo "$as_me:$LINENO: checking for $ac_func" >&5
74624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74625 if eval "test \"\${$as_ac_var+set}\" = set"; then
74626   echo $ECHO_N "(cached) $ECHO_C" >&6
74627 else
74628   if test x$gcc_no_link = xyes; then
74629   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74631    { (exit 1); exit 1; }; }
74632 fi
74633 cat >conftest.$ac_ext <<_ACEOF
74634 /* confdefs.h.  */
74635 _ACEOF
74636 cat confdefs.h >>conftest.$ac_ext
74637 cat >>conftest.$ac_ext <<_ACEOF
74638 /* end confdefs.h.  */
74639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74640    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74641 #define $ac_func innocuous_$ac_func
74642
74643 /* System header to define __stub macros and hopefully few prototypes,
74644     which can conflict with char $ac_func (); below.
74645     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74646     <limits.h> exists even on freestanding compilers.  */
74647
74648 #ifdef __STDC__
74649 # include <limits.h>
74650 #else
74651 # include <assert.h>
74652 #endif
74653
74654 #undef $ac_func
74655
74656 /* Override any gcc2 internal prototype to avoid an error.  */
74657 #ifdef __cplusplus
74658 extern "C"
74659 {
74660 #endif
74661 /* We use char because int might match the return type of a gcc2
74662    builtin and then its argument prototype would still apply.  */
74663 char $ac_func ();
74664 /* The GNU C library defines this for functions which it implements
74665     to always fail with ENOSYS.  Some functions are actually named
74666     something starting with __ and the normal name is an alias.  */
74667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74668 choke me
74669 #else
74670 char (*f) () = $ac_func;
74671 #endif
74672 #ifdef __cplusplus
74673 }
74674 #endif
74675
74676 int
74677 main ()
74678 {
74679 return f != $ac_func;
74680   ;
74681   return 0;
74682 }
74683 _ACEOF
74684 rm -f conftest.$ac_objext conftest$ac_exeext
74685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74686   (eval $ac_link) 2>conftest.er1
74687   ac_status=$?
74688   grep -v '^ *+' conftest.er1 >conftest.err
74689   rm -f conftest.er1
74690   cat conftest.err >&5
74691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74692   (exit $ac_status); } &&
74693          { ac_try='test -z "$ac_c_werror_flag"
74694                          || test ! -s conftest.err'
74695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74696   (eval $ac_try) 2>&5
74697   ac_status=$?
74698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74699   (exit $ac_status); }; } &&
74700          { ac_try='test -s conftest$ac_exeext'
74701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74702   (eval $ac_try) 2>&5
74703   ac_status=$?
74704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74705   (exit $ac_status); }; }; then
74706   eval "$as_ac_var=yes"
74707 else
74708   echo "$as_me: failed program was:" >&5
74709 sed 's/^/| /' conftest.$ac_ext >&5
74710
74711 eval "$as_ac_var=no"
74712 fi
74713 rm -f conftest.err conftest.$ac_objext \
74714       conftest$ac_exeext conftest.$ac_ext
74715 fi
74716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74718 if test `eval echo '${'$as_ac_var'}'` = yes; then
74719   cat >>confdefs.h <<_ACEOF
74720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74721 _ACEOF
74722
74723 fi
74724 done
74725
74726   fi
74727
74728
74729   echo "$as_me:$LINENO: checking for strtof declaration" >&5
74730 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
74731   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
74732     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
74733   echo $ECHO_N "(cached) $ECHO_C" >&6
74734 else
74735
74736
74737
74738       ac_ext=cc
74739 ac_cpp='$CXXCPP $CPPFLAGS'
74740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74743
74744       cat >conftest.$ac_ext <<_ACEOF
74745 /* confdefs.h.  */
74746 _ACEOF
74747 cat confdefs.h >>conftest.$ac_ext
74748 cat >>conftest.$ac_ext <<_ACEOF
74749 /* end confdefs.h.  */
74750 #include <stdlib.h>
74751 int
74752 main ()
74753 {
74754  strtof(0, 0);
74755   ;
74756   return 0;
74757 }
74758 _ACEOF
74759 rm -f conftest.$ac_objext
74760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74761   (eval $ac_compile) 2>conftest.er1
74762   ac_status=$?
74763   grep -v '^ *+' conftest.er1 >conftest.err
74764   rm -f conftest.er1
74765   cat conftest.err >&5
74766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74767   (exit $ac_status); } &&
74768          { ac_try='test -z "$ac_cxx_werror_flag"
74769                          || test ! -s conftest.err'
74770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74771   (eval $ac_try) 2>&5
74772   ac_status=$?
74773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74774   (exit $ac_status); }; } &&
74775          { ac_try='test -s conftest.$ac_objext'
74776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74777   (eval $ac_try) 2>&5
74778   ac_status=$?
74779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74780   (exit $ac_status); }; }; then
74781   glibcxx_cv_func_strtof_use=yes
74782 else
74783   echo "$as_me: failed program was:" >&5
74784 sed 's/^/| /' conftest.$ac_ext >&5
74785
74786 glibcxx_cv_func_strtof_use=no
74787 fi
74788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74789       ac_ext=c
74790 ac_cpp='$CPP $CPPFLAGS'
74791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74794
74795
74796 fi
74797
74798   fi
74799   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
74800 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
74801   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
74802
74803 for ac_func in strtof
74804 do
74805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74806 echo "$as_me:$LINENO: checking for $ac_func" >&5
74807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74808 if eval "test \"\${$as_ac_var+set}\" = set"; then
74809   echo $ECHO_N "(cached) $ECHO_C" >&6
74810 else
74811   if test x$gcc_no_link = xyes; then
74812   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74814    { (exit 1); exit 1; }; }
74815 fi
74816 cat >conftest.$ac_ext <<_ACEOF
74817 /* confdefs.h.  */
74818 _ACEOF
74819 cat confdefs.h >>conftest.$ac_ext
74820 cat >>conftest.$ac_ext <<_ACEOF
74821 /* end confdefs.h.  */
74822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74823    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74824 #define $ac_func innocuous_$ac_func
74825
74826 /* System header to define __stub macros and hopefully few prototypes,
74827     which can conflict with char $ac_func (); below.
74828     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74829     <limits.h> exists even on freestanding compilers.  */
74830
74831 #ifdef __STDC__
74832 # include <limits.h>
74833 #else
74834 # include <assert.h>
74835 #endif
74836
74837 #undef $ac_func
74838
74839 /* Override any gcc2 internal prototype to avoid an error.  */
74840 #ifdef __cplusplus
74841 extern "C"
74842 {
74843 #endif
74844 /* We use char because int might match the return type of a gcc2
74845    builtin and then its argument prototype would still apply.  */
74846 char $ac_func ();
74847 /* The GNU C library defines this for functions which it implements
74848     to always fail with ENOSYS.  Some functions are actually named
74849     something starting with __ and the normal name is an alias.  */
74850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74851 choke me
74852 #else
74853 char (*f) () = $ac_func;
74854 #endif
74855 #ifdef __cplusplus
74856 }
74857 #endif
74858
74859 int
74860 main ()
74861 {
74862 return f != $ac_func;
74863   ;
74864   return 0;
74865 }
74866 _ACEOF
74867 rm -f conftest.$ac_objext conftest$ac_exeext
74868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74869   (eval $ac_link) 2>conftest.er1
74870   ac_status=$?
74871   grep -v '^ *+' conftest.er1 >conftest.err
74872   rm -f conftest.er1
74873   cat conftest.err >&5
74874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74875   (exit $ac_status); } &&
74876          { ac_try='test -z "$ac_c_werror_flag"
74877                          || test ! -s conftest.err'
74878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74879   (eval $ac_try) 2>&5
74880   ac_status=$?
74881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74882   (exit $ac_status); }; } &&
74883          { ac_try='test -s conftest$ac_exeext'
74884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74885   (eval $ac_try) 2>&5
74886   ac_status=$?
74887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74888   (exit $ac_status); }; }; then
74889   eval "$as_ac_var=yes"
74890 else
74891   echo "$as_me: failed program was:" >&5
74892 sed 's/^/| /' conftest.$ac_ext >&5
74893
74894 eval "$as_ac_var=no"
74895 fi
74896 rm -f conftest.err conftest.$ac_objext \
74897       conftest$ac_exeext conftest.$ac_ext
74898 fi
74899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74901 if test `eval echo '${'$as_ac_var'}'` = yes; then
74902   cat >>confdefs.h <<_ACEOF
74903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74904 _ACEOF
74905
74906 fi
74907 done
74908
74909   fi
74910
74911
74912   CXXFLAGS="$ac_save_CXXFLAGS"
74913
74914
74915   if test "${glibcxx_cv_S_ISREG+set}" = set; then
74916   echo $ECHO_N "(cached) $ECHO_C" >&6
74917 else
74918
74919     if test x$gcc_no_link = xyes; then
74920   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74922    { (exit 1); exit 1; }; }
74923 fi
74924 cat >conftest.$ac_ext <<_ACEOF
74925 /* confdefs.h.  */
74926 _ACEOF
74927 cat confdefs.h >>conftest.$ac_ext
74928 cat >>conftest.$ac_ext <<_ACEOF
74929 /* end confdefs.h.  */
74930 #include <sys/stat.h>
74931 int
74932 main ()
74933 {
74934 struct stat buffer;
74935        fstat(0, &buffer);
74936        S_ISREG(buffer.st_mode);
74937   ;
74938   return 0;
74939 }
74940 _ACEOF
74941 rm -f conftest.$ac_objext conftest$ac_exeext
74942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74943   (eval $ac_link) 2>conftest.er1
74944   ac_status=$?
74945   grep -v '^ *+' conftest.er1 >conftest.err
74946   rm -f conftest.er1
74947   cat conftest.err >&5
74948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74949   (exit $ac_status); } &&
74950          { ac_try='test -z "$ac_c_werror_flag"
74951                          || test ! -s conftest.err'
74952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74953   (eval $ac_try) 2>&5
74954   ac_status=$?
74955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74956   (exit $ac_status); }; } &&
74957          { ac_try='test -s conftest$ac_exeext'
74958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74959   (eval $ac_try) 2>&5
74960   ac_status=$?
74961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74962   (exit $ac_status); }; }; then
74963   glibcxx_cv_S_ISREG=yes
74964 else
74965   echo "$as_me: failed program was:" >&5
74966 sed 's/^/| /' conftest.$ac_ext >&5
74967
74968 glibcxx_cv_S_ISREG=no
74969 fi
74970 rm -f conftest.err conftest.$ac_objext \
74971       conftest$ac_exeext conftest.$ac_ext
74972
74973 fi
74974
74975   if test "${glibcxx_cv_S_IFREG+set}" = set; then
74976   echo $ECHO_N "(cached) $ECHO_C" >&6
74977 else
74978
74979     if test x$gcc_no_link = xyes; then
74980   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74982    { (exit 1); exit 1; }; }
74983 fi
74984 cat >conftest.$ac_ext <<_ACEOF
74985 /* confdefs.h.  */
74986 _ACEOF
74987 cat confdefs.h >>conftest.$ac_ext
74988 cat >>conftest.$ac_ext <<_ACEOF
74989 /* end confdefs.h.  */
74990 #include <sys/stat.h>
74991 int
74992 main ()
74993 {
74994 struct stat buffer;
74995        fstat(0, &buffer);
74996        S_IFREG & buffer.st_mode;
74997   ;
74998   return 0;
74999 }
75000 _ACEOF
75001 rm -f conftest.$ac_objext conftest$ac_exeext
75002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75003   (eval $ac_link) 2>conftest.er1
75004   ac_status=$?
75005   grep -v '^ *+' conftest.er1 >conftest.err
75006   rm -f conftest.er1
75007   cat conftest.err >&5
75008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75009   (exit $ac_status); } &&
75010          { ac_try='test -z "$ac_c_werror_flag"
75011                          || test ! -s conftest.err'
75012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75013   (eval $ac_try) 2>&5
75014   ac_status=$?
75015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75016   (exit $ac_status); }; } &&
75017          { ac_try='test -s conftest$ac_exeext'
75018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75019   (eval $ac_try) 2>&5
75020   ac_status=$?
75021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75022   (exit $ac_status); }; }; then
75023   glibcxx_cv_S_IFREG=yes
75024 else
75025   echo "$as_me: failed program was:" >&5
75026 sed 's/^/| /' conftest.$ac_ext >&5
75027
75028 glibcxx_cv_S_IFREG=no
75029 fi
75030 rm -f conftest.err conftest.$ac_objext \
75031       conftest$ac_exeext conftest.$ac_ext
75032
75033 fi
75034
75035   if test $glibcxx_cv_S_ISREG = yes; then
75036     cat >>confdefs.h <<\_ACEOF
75037 #define HAVE_S_ISREG 1
75038 _ACEOF
75039
75040   elif test $glibcxx_cv_S_IFREG = yes; then
75041     cat >>confdefs.h <<\_ACEOF
75042 #define HAVE_S_IFREG 1
75043 _ACEOF
75044
75045   fi
75046
75047     cat >>confdefs.h <<\_ACEOF
75048 #define HAVE_WRITEV 1
75049 _ACEOF
75050
75051     ;;
75052
75053   *-freebsd*)
75054
75055
75056
75057
75058
75059
75060
75061
75062
75063
75064
75065
75066
75067
75068
75069
75070 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75071       machine/endian.h machine/param.h sys/machine.h sys/types.h \
75072       fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
75073       sys/time.h unistd.h
75074 do
75075 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75077   echo "$as_me:$LINENO: checking for $ac_header" >&5
75078 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75079 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75080   echo $ECHO_N "(cached) $ECHO_C" >&6
75081 fi
75082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75083 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75084 else
75085   # Is the header compilable?
75086 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75087 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75088 cat >conftest.$ac_ext <<_ACEOF
75089 /* confdefs.h.  */
75090 _ACEOF
75091 cat confdefs.h >>conftest.$ac_ext
75092 cat >>conftest.$ac_ext <<_ACEOF
75093 /* end confdefs.h.  */
75094 $ac_includes_default
75095 #include <$ac_header>
75096 _ACEOF
75097 rm -f conftest.$ac_objext
75098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75099   (eval $ac_compile) 2>conftest.er1
75100   ac_status=$?
75101   grep -v '^ *+' conftest.er1 >conftest.err
75102   rm -f conftest.er1
75103   cat conftest.err >&5
75104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75105   (exit $ac_status); } &&
75106          { ac_try='test -z "$ac_c_werror_flag"
75107                          || test ! -s conftest.err'
75108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75109   (eval $ac_try) 2>&5
75110   ac_status=$?
75111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75112   (exit $ac_status); }; } &&
75113          { ac_try='test -s conftest.$ac_objext'
75114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75115   (eval $ac_try) 2>&5
75116   ac_status=$?
75117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75118   (exit $ac_status); }; }; then
75119   ac_header_compiler=yes
75120 else
75121   echo "$as_me: failed program was:" >&5
75122 sed 's/^/| /' conftest.$ac_ext >&5
75123
75124 ac_header_compiler=no
75125 fi
75126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75127 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75128 echo "${ECHO_T}$ac_header_compiler" >&6
75129
75130 # Is the header present?
75131 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75132 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75133 cat >conftest.$ac_ext <<_ACEOF
75134 /* confdefs.h.  */
75135 _ACEOF
75136 cat confdefs.h >>conftest.$ac_ext
75137 cat >>conftest.$ac_ext <<_ACEOF
75138 /* end confdefs.h.  */
75139 #include <$ac_header>
75140 _ACEOF
75141 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75142   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75143   ac_status=$?
75144   grep -v '^ *+' conftest.er1 >conftest.err
75145   rm -f conftest.er1
75146   cat conftest.err >&5
75147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75148   (exit $ac_status); } >/dev/null; then
75149   if test -s conftest.err; then
75150     ac_cpp_err=$ac_c_preproc_warn_flag
75151     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75152   else
75153     ac_cpp_err=
75154   fi
75155 else
75156   ac_cpp_err=yes
75157 fi
75158 if test -z "$ac_cpp_err"; then
75159   ac_header_preproc=yes
75160 else
75161   echo "$as_me: failed program was:" >&5
75162 sed 's/^/| /' conftest.$ac_ext >&5
75163
75164   ac_header_preproc=no
75165 fi
75166 rm -f conftest.err conftest.$ac_ext
75167 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75168 echo "${ECHO_T}$ac_header_preproc" >&6
75169
75170 # So?  What about this header?
75171 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75172   yes:no: )
75173     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75174 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75175     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75176 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75177     ac_header_preproc=yes
75178     ;;
75179   no:yes:* )
75180     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75181 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75182     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
75183 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
75184     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75185 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75186     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
75187 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
75188     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75189 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75190     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75191 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75192     (
75193       cat <<\_ASBOX
75194 ## ----------------------------------------- ##
75195 ## Report this to the package-unused lists.  ##
75196 ## ----------------------------------------- ##
75197 _ASBOX
75198     ) |
75199       sed "s/^/$as_me: WARNING:     /" >&2
75200     ;;
75201 esac
75202 echo "$as_me:$LINENO: checking for $ac_header" >&5
75203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75205   echo $ECHO_N "(cached) $ECHO_C" >&6
75206 else
75207   eval "$as_ac_Header=\$ac_header_preproc"
75208 fi
75209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75210 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75211
75212 fi
75213 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75214   cat >>confdefs.h <<_ACEOF
75215 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75216 _ACEOF
75217
75218 fi
75219
75220 done
75221
75222     SECTION_FLAGS='-ffunction-sections -fdata-sections'
75223
75224
75225   # If we're not using GNU ld, then there's no point in even trying these
75226   # tests.  Check for that first.  We should have already tested for gld
75227   # by now (in libtool), but require it now just to be safe...
75228   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75229   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75230
75231
75232
75233   # The name set by libtool depends on the version of libtool.  Shame on us
75234   # for depending on an impl detail, but c'est la vie.  Older versions used
75235   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75236   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75237   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
75238   # set (hence we're using an older libtool), then set it.
75239   if test x${with_gnu_ld+set} != xset; then
75240     if test x${ac_cv_prog_gnu_ld+set} != xset; then
75241       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
75242       with_gnu_ld=no
75243     else
75244       with_gnu_ld=$ac_cv_prog_gnu_ld
75245     fi
75246   fi
75247
75248   # Start by getting the version number.  I think the libtool test already
75249   # does some of this, but throws away the result.
75250
75251   ldver=`$LD --version 2>/dev/null | head -1 | \
75252          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75253
75254   glibcxx_gnu_ld_version=`echo $ldver | \
75255          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75256
75257   # Set --gc-sections.
75258   if test "$with_gnu_ld" = "notbroken"; then
75259     # GNU ld it is!  Joy and bunny rabbits!
75260
75261     # All these tests are for C++; save the language and the compiler flags.
75262     # Need to do this so that g++ won't try to link in libstdc++
75263     ac_test_CFLAGS="${CFLAGS+set}"
75264     ac_save_CFLAGS="$CFLAGS"
75265     CFLAGS='-x c++  -Wl,--gc-sections'
75266
75267     # Check for -Wl,--gc-sections
75268     # XXX This test is broken at the moment, as symbols required for linking
75269     # are now in libsupc++ (not built yet).  In addition, this test has
75270     # cored on solaris in the past.  In addition, --gc-sections doesn't
75271     # really work at the moment (keeps on discarding used sections, first
75272     # .eh_frame and now some of the glibc sections for iconv).
75273     # Bzzzzt.  Thanks for playing, maybe next time.
75274     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75275 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75276     if test "$cross_compiling" = yes; then
75277   ac_sectionLDflags=yes
75278 else
75279   cat >conftest.$ac_ext <<_ACEOF
75280 /* confdefs.h.  */
75281 _ACEOF
75282 cat confdefs.h >>conftest.$ac_ext
75283 cat >>conftest.$ac_ext <<_ACEOF
75284 /* end confdefs.h.  */
75285
75286      int main(void)
75287      {
75288        try { throw 1; }
75289        catch (...) { };
75290        return 0;
75291      }
75292
75293 _ACEOF
75294 rm -f conftest$ac_exeext
75295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75296   (eval $ac_link) 2>&5
75297   ac_status=$?
75298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75299   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
75300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75301   (eval $ac_try) 2>&5
75302   ac_status=$?
75303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75304   (exit $ac_status); }; }; then
75305   ac_sectionLDflags=yes
75306 else
75307   echo "$as_me: program exited with status $ac_status" >&5
75308 echo "$as_me: failed program was:" >&5
75309 sed 's/^/| /' conftest.$ac_ext >&5
75310
75311 ( exit $ac_status )
75312 ac_sectionLDflags=no
75313 fi
75314 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
75315 fi
75316     if test "$ac_test_CFLAGS" = set; then
75317       CFLAGS="$ac_save_CFLAGS"
75318     else
75319       # this is the suspicious part
75320       CFLAGS=''
75321     fi
75322     if test "$ac_sectionLDflags" = "yes"; then
75323       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75324     fi
75325     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
75326 echo "${ECHO_T}$ac_sectionLDflags" >&6
75327   fi
75328
75329   # Set linker optimization flags.
75330   if test x"$with_gnu_ld" = x"yes"; then
75331     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75332   fi
75333
75334
75335
75336
75337
75338
75339 echo "$as_me:$LINENO: checking for main in -lm" >&5
75340 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75341 if test "${ac_cv_lib_m_main+set}" = set; then
75342   echo $ECHO_N "(cached) $ECHO_C" >&6
75343 else
75344   ac_check_lib_save_LIBS=$LIBS
75345 LIBS="-lm  $LIBS"
75346 if test x$gcc_no_link = xyes; then
75347   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75349    { (exit 1); exit 1; }; }
75350 fi
75351 cat >conftest.$ac_ext <<_ACEOF
75352 /* confdefs.h.  */
75353 _ACEOF
75354 cat confdefs.h >>conftest.$ac_ext
75355 cat >>conftest.$ac_ext <<_ACEOF
75356 /* end confdefs.h.  */
75357
75358
75359 int
75360 main ()
75361 {
75362 main ();
75363   ;
75364   return 0;
75365 }
75366 _ACEOF
75367 rm -f conftest.$ac_objext conftest$ac_exeext
75368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75369   (eval $ac_link) 2>conftest.er1
75370   ac_status=$?
75371   grep -v '^ *+' conftest.er1 >conftest.err
75372   rm -f conftest.er1
75373   cat conftest.err >&5
75374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75375   (exit $ac_status); } &&
75376          { ac_try='test -z "$ac_c_werror_flag"
75377                          || test ! -s conftest.err'
75378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75379   (eval $ac_try) 2>&5
75380   ac_status=$?
75381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75382   (exit $ac_status); }; } &&
75383          { ac_try='test -s conftest$ac_exeext'
75384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75385   (eval $ac_try) 2>&5
75386   ac_status=$?
75387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75388   (exit $ac_status); }; }; then
75389   ac_cv_lib_m_main=yes
75390 else
75391   echo "$as_me: failed program was:" >&5
75392 sed 's/^/| /' conftest.$ac_ext >&5
75393
75394 ac_cv_lib_m_main=no
75395 fi
75396 rm -f conftest.err conftest.$ac_objext \
75397       conftest$ac_exeext conftest.$ac_ext
75398 LIBS=$ac_check_lib_save_LIBS
75399 fi
75400 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75401 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75402 if test $ac_cv_lib_m_main = yes; then
75403   cat >>confdefs.h <<_ACEOF
75404 #define HAVE_LIBM 1
75405 _ACEOF
75406
75407   LIBS="-lm $LIBS"
75408
75409 fi
75410
75411
75412 for ac_func in copysignf
75413 do
75414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75415 echo "$as_me:$LINENO: checking for $ac_func" >&5
75416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75417 if eval "test \"\${$as_ac_var+set}\" = set"; then
75418   echo $ECHO_N "(cached) $ECHO_C" >&6
75419 else
75420   if test x$gcc_no_link = xyes; then
75421   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75423    { (exit 1); exit 1; }; }
75424 fi
75425 cat >conftest.$ac_ext <<_ACEOF
75426 /* confdefs.h.  */
75427 _ACEOF
75428 cat confdefs.h >>conftest.$ac_ext
75429 cat >>conftest.$ac_ext <<_ACEOF
75430 /* end confdefs.h.  */
75431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75432    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75433 #define $ac_func innocuous_$ac_func
75434
75435 /* System header to define __stub macros and hopefully few prototypes,
75436     which can conflict with char $ac_func (); below.
75437     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75438     <limits.h> exists even on freestanding compilers.  */
75439
75440 #ifdef __STDC__
75441 # include <limits.h>
75442 #else
75443 # include <assert.h>
75444 #endif
75445
75446 #undef $ac_func
75447
75448 /* Override any gcc2 internal prototype to avoid an error.  */
75449 #ifdef __cplusplus
75450 extern "C"
75451 {
75452 #endif
75453 /* We use char because int might match the return type of a gcc2
75454    builtin and then its argument prototype would still apply.  */
75455 char $ac_func ();
75456 /* The GNU C library defines this for functions which it implements
75457     to always fail with ENOSYS.  Some functions are actually named
75458     something starting with __ and the normal name is an alias.  */
75459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75460 choke me
75461 #else
75462 char (*f) () = $ac_func;
75463 #endif
75464 #ifdef __cplusplus
75465 }
75466 #endif
75467
75468 int
75469 main ()
75470 {
75471 return f != $ac_func;
75472   ;
75473   return 0;
75474 }
75475 _ACEOF
75476 rm -f conftest.$ac_objext conftest$ac_exeext
75477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75478   (eval $ac_link) 2>conftest.er1
75479   ac_status=$?
75480   grep -v '^ *+' conftest.er1 >conftest.err
75481   rm -f conftest.er1
75482   cat conftest.err >&5
75483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75484   (exit $ac_status); } &&
75485          { ac_try='test -z "$ac_c_werror_flag"
75486                          || test ! -s conftest.err'
75487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75488   (eval $ac_try) 2>&5
75489   ac_status=$?
75490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75491   (exit $ac_status); }; } &&
75492          { ac_try='test -s conftest$ac_exeext'
75493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75494   (eval $ac_try) 2>&5
75495   ac_status=$?
75496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75497   (exit $ac_status); }; }; then
75498   eval "$as_ac_var=yes"
75499 else
75500   echo "$as_me: failed program was:" >&5
75501 sed 's/^/| /' conftest.$ac_ext >&5
75502
75503 eval "$as_ac_var=no"
75504 fi
75505 rm -f conftest.err conftest.$ac_objext \
75506       conftest$ac_exeext conftest.$ac_ext
75507 fi
75508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75510 if test `eval echo '${'$as_ac_var'}'` = yes; then
75511   cat >>confdefs.h <<_ACEOF
75512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75513 _ACEOF
75514
75515 else
75516   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75517 fi
75518 done
75519
75520
75521
75522 for ac_func in __signbit
75523 do
75524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75525 echo "$as_me:$LINENO: checking for $ac_func" >&5
75526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75527 if eval "test \"\${$as_ac_var+set}\" = set"; then
75528   echo $ECHO_N "(cached) $ECHO_C" >&6
75529 else
75530   if test x$gcc_no_link = xyes; then
75531   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75533    { (exit 1); exit 1; }; }
75534 fi
75535 cat >conftest.$ac_ext <<_ACEOF
75536 /* confdefs.h.  */
75537 _ACEOF
75538 cat confdefs.h >>conftest.$ac_ext
75539 cat >>conftest.$ac_ext <<_ACEOF
75540 /* end confdefs.h.  */
75541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75542    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75543 #define $ac_func innocuous_$ac_func
75544
75545 /* System header to define __stub macros and hopefully few prototypes,
75546     which can conflict with char $ac_func (); below.
75547     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75548     <limits.h> exists even on freestanding compilers.  */
75549
75550 #ifdef __STDC__
75551 # include <limits.h>
75552 #else
75553 # include <assert.h>
75554 #endif
75555
75556 #undef $ac_func
75557
75558 /* Override any gcc2 internal prototype to avoid an error.  */
75559 #ifdef __cplusplus
75560 extern "C"
75561 {
75562 #endif
75563 /* We use char because int might match the return type of a gcc2
75564    builtin and then its argument prototype would still apply.  */
75565 char $ac_func ();
75566 /* The GNU C library defines this for functions which it implements
75567     to always fail with ENOSYS.  Some functions are actually named
75568     something starting with __ and the normal name is an alias.  */
75569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75570 choke me
75571 #else
75572 char (*f) () = $ac_func;
75573 #endif
75574 #ifdef __cplusplus
75575 }
75576 #endif
75577
75578 int
75579 main ()
75580 {
75581 return f != $ac_func;
75582   ;
75583   return 0;
75584 }
75585 _ACEOF
75586 rm -f conftest.$ac_objext conftest$ac_exeext
75587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75588   (eval $ac_link) 2>conftest.er1
75589   ac_status=$?
75590   grep -v '^ *+' conftest.er1 >conftest.err
75591   rm -f conftest.er1
75592   cat conftest.err >&5
75593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75594   (exit $ac_status); } &&
75595          { ac_try='test -z "$ac_c_werror_flag"
75596                          || test ! -s conftest.err'
75597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75598   (eval $ac_try) 2>&5
75599   ac_status=$?
75600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75601   (exit $ac_status); }; } &&
75602          { ac_try='test -s conftest$ac_exeext'
75603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75604   (eval $ac_try) 2>&5
75605   ac_status=$?
75606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75607   (exit $ac_status); }; }; then
75608   eval "$as_ac_var=yes"
75609 else
75610   echo "$as_me: failed program was:" >&5
75611 sed 's/^/| /' conftest.$ac_ext >&5
75612
75613 eval "$as_ac_var=no"
75614 fi
75615 rm -f conftest.err conftest.$ac_objext \
75616       conftest$ac_exeext conftest.$ac_ext
75617 fi
75618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75620 if test `eval echo '${'$as_ac_var'}'` = yes; then
75621   cat >>confdefs.h <<_ACEOF
75622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75623 _ACEOF
75624
75625 else
75626   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
75627 fi
75628 done
75629
75630
75631
75632 for ac_func in __signbitf
75633 do
75634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75635 echo "$as_me:$LINENO: checking for $ac_func" >&5
75636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75637 if eval "test \"\${$as_ac_var+set}\" = set"; then
75638   echo $ECHO_N "(cached) $ECHO_C" >&6
75639 else
75640   if test x$gcc_no_link = xyes; then
75641   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75643    { (exit 1); exit 1; }; }
75644 fi
75645 cat >conftest.$ac_ext <<_ACEOF
75646 /* confdefs.h.  */
75647 _ACEOF
75648 cat confdefs.h >>conftest.$ac_ext
75649 cat >>conftest.$ac_ext <<_ACEOF
75650 /* end confdefs.h.  */
75651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75652    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75653 #define $ac_func innocuous_$ac_func
75654
75655 /* System header to define __stub macros and hopefully few prototypes,
75656     which can conflict with char $ac_func (); below.
75657     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75658     <limits.h> exists even on freestanding compilers.  */
75659
75660 #ifdef __STDC__
75661 # include <limits.h>
75662 #else
75663 # include <assert.h>
75664 #endif
75665
75666 #undef $ac_func
75667
75668 /* Override any gcc2 internal prototype to avoid an error.  */
75669 #ifdef __cplusplus
75670 extern "C"
75671 {
75672 #endif
75673 /* We use char because int might match the return type of a gcc2
75674    builtin and then its argument prototype would still apply.  */
75675 char $ac_func ();
75676 /* The GNU C library defines this for functions which it implements
75677     to always fail with ENOSYS.  Some functions are actually named
75678     something starting with __ and the normal name is an alias.  */
75679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75680 choke me
75681 #else
75682 char (*f) () = $ac_func;
75683 #endif
75684 #ifdef __cplusplus
75685 }
75686 #endif
75687
75688 int
75689 main ()
75690 {
75691 return f != $ac_func;
75692   ;
75693   return 0;
75694 }
75695 _ACEOF
75696 rm -f conftest.$ac_objext conftest$ac_exeext
75697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75698   (eval $ac_link) 2>conftest.er1
75699   ac_status=$?
75700   grep -v '^ *+' conftest.er1 >conftest.err
75701   rm -f conftest.er1
75702   cat conftest.err >&5
75703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75704   (exit $ac_status); } &&
75705          { ac_try='test -z "$ac_c_werror_flag"
75706                          || test ! -s conftest.err'
75707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75708   (eval $ac_try) 2>&5
75709   ac_status=$?
75710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75711   (exit $ac_status); }; } &&
75712          { ac_try='test -s conftest$ac_exeext'
75713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75714   (eval $ac_try) 2>&5
75715   ac_status=$?
75716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75717   (exit $ac_status); }; }; then
75718   eval "$as_ac_var=yes"
75719 else
75720   echo "$as_me: failed program was:" >&5
75721 sed 's/^/| /' conftest.$ac_ext >&5
75722
75723 eval "$as_ac_var=no"
75724 fi
75725 rm -f conftest.err conftest.$ac_objext \
75726       conftest$ac_exeext conftest.$ac_ext
75727 fi
75728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75730 if test `eval echo '${'$as_ac_var'}'` = yes; then
75731   cat >>confdefs.h <<_ACEOF
75732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75733 _ACEOF
75734
75735 else
75736   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
75737 fi
75738 done
75739
75740
75741           if test x$ac_cv_func_copysignl = x"yes"; then
75742
75743 for ac_func in __signbitl
75744 do
75745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75746 echo "$as_me:$LINENO: checking for $ac_func" >&5
75747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75748 if eval "test \"\${$as_ac_var+set}\" = set"; then
75749   echo $ECHO_N "(cached) $ECHO_C" >&6
75750 else
75751   if test x$gcc_no_link = xyes; then
75752   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75754    { (exit 1); exit 1; }; }
75755 fi
75756 cat >conftest.$ac_ext <<_ACEOF
75757 /* confdefs.h.  */
75758 _ACEOF
75759 cat confdefs.h >>conftest.$ac_ext
75760 cat >>conftest.$ac_ext <<_ACEOF
75761 /* end confdefs.h.  */
75762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75763    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75764 #define $ac_func innocuous_$ac_func
75765
75766 /* System header to define __stub macros and hopefully few prototypes,
75767     which can conflict with char $ac_func (); below.
75768     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75769     <limits.h> exists even on freestanding compilers.  */
75770
75771 #ifdef __STDC__
75772 # include <limits.h>
75773 #else
75774 # include <assert.h>
75775 #endif
75776
75777 #undef $ac_func
75778
75779 /* Override any gcc2 internal prototype to avoid an error.  */
75780 #ifdef __cplusplus
75781 extern "C"
75782 {
75783 #endif
75784 /* We use char because int might match the return type of a gcc2
75785    builtin and then its argument prototype would still apply.  */
75786 char $ac_func ();
75787 /* The GNU C library defines this for functions which it implements
75788     to always fail with ENOSYS.  Some functions are actually named
75789     something starting with __ and the normal name is an alias.  */
75790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75791 choke me
75792 #else
75793 char (*f) () = $ac_func;
75794 #endif
75795 #ifdef __cplusplus
75796 }
75797 #endif
75798
75799 int
75800 main ()
75801 {
75802 return f != $ac_func;
75803   ;
75804   return 0;
75805 }
75806 _ACEOF
75807 rm -f conftest.$ac_objext conftest$ac_exeext
75808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75809   (eval $ac_link) 2>conftest.er1
75810   ac_status=$?
75811   grep -v '^ *+' conftest.er1 >conftest.err
75812   rm -f conftest.er1
75813   cat conftest.err >&5
75814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75815   (exit $ac_status); } &&
75816          { ac_try='test -z "$ac_c_werror_flag"
75817                          || test ! -s conftest.err'
75818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75819   (eval $ac_try) 2>&5
75820   ac_status=$?
75821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75822   (exit $ac_status); }; } &&
75823          { ac_try='test -s conftest$ac_exeext'
75824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75825   (eval $ac_try) 2>&5
75826   ac_status=$?
75827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75828   (exit $ac_status); }; }; then
75829   eval "$as_ac_var=yes"
75830 else
75831   echo "$as_me: failed program was:" >&5
75832 sed 's/^/| /' conftest.$ac_ext >&5
75833
75834 eval "$as_ac_var=no"
75835 fi
75836 rm -f conftest.err conftest.$ac_objext \
75837       conftest$ac_exeext conftest.$ac_ext
75838 fi
75839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75841 if test `eval echo '${'$as_ac_var'}'` = yes; then
75842   cat >>confdefs.h <<_ACEOF
75843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75844 _ACEOF
75845
75846 else
75847   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
75848 fi
75849 done
75850
75851   fi
75852
75853   # Used in libmath/Makefile.am.
75854   if test -n "$LIBMATHOBJS"; then
75855     need_libmath=yes
75856   fi
75857
75858
75859
75860   # Test wchar.h for mbstate_t, which is needed for char_traits and
75861   # others even if wchar_t support is not on.
75862   echo "$as_me:$LINENO: checking for mbstate_t" >&5
75863 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
75864   cat >conftest.$ac_ext <<_ACEOF
75865 /* confdefs.h.  */
75866 _ACEOF
75867 cat confdefs.h >>conftest.$ac_ext
75868 cat >>conftest.$ac_ext <<_ACEOF
75869 /* end confdefs.h.  */
75870 #include <wchar.h>
75871 int
75872 main ()
75873 {
75874 mbstate_t teststate;
75875   ;
75876   return 0;
75877 }
75878 _ACEOF
75879 rm -f conftest.$ac_objext
75880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75881   (eval $ac_compile) 2>conftest.er1
75882   ac_status=$?
75883   grep -v '^ *+' conftest.er1 >conftest.err
75884   rm -f conftest.er1
75885   cat conftest.err >&5
75886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75887   (exit $ac_status); } &&
75888          { ac_try='test -z "$ac_c_werror_flag"
75889                          || test ! -s conftest.err'
75890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75891   (eval $ac_try) 2>&5
75892   ac_status=$?
75893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75894   (exit $ac_status); }; } &&
75895          { ac_try='test -s conftest.$ac_objext'
75896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75897   (eval $ac_try) 2>&5
75898   ac_status=$?
75899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75900   (exit $ac_status); }; }; then
75901   have_mbstate_t=yes
75902 else
75903   echo "$as_me: failed program was:" >&5
75904 sed 's/^/| /' conftest.$ac_ext >&5
75905
75906 have_mbstate_t=no
75907 fi
75908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75909   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
75910 echo "${ECHO_T}$have_mbstate_t" >&6
75911   if test x"$have_mbstate_t" = xyes; then
75912     cat >>confdefs.h <<\_ACEOF
75913 #define HAVE_MBSTATE_T 1
75914 _ACEOF
75915
75916   fi
75917
75918   # Sanity check for existence of ISO C99 headers for extended encoding.
75919
75920 for ac_header in wchar.h
75921 do
75922 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75924   echo "$as_me:$LINENO: checking for $ac_header" >&5
75925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75927   echo $ECHO_N "(cached) $ECHO_C" >&6
75928 fi
75929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75931 else
75932   # Is the header compilable?
75933 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75934 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75935 cat >conftest.$ac_ext <<_ACEOF
75936 /* confdefs.h.  */
75937 _ACEOF
75938 cat confdefs.h >>conftest.$ac_ext
75939 cat >>conftest.$ac_ext <<_ACEOF
75940 /* end confdefs.h.  */
75941 $ac_includes_default
75942 #include <$ac_header>
75943 _ACEOF
75944 rm -f conftest.$ac_objext
75945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75946   (eval $ac_compile) 2>conftest.er1
75947   ac_status=$?
75948   grep -v '^ *+' conftest.er1 >conftest.err
75949   rm -f conftest.er1
75950   cat conftest.err >&5
75951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75952   (exit $ac_status); } &&
75953          { ac_try='test -z "$ac_c_werror_flag"
75954                          || test ! -s conftest.err'
75955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75956   (eval $ac_try) 2>&5
75957   ac_status=$?
75958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75959   (exit $ac_status); }; } &&
75960          { ac_try='test -s conftest.$ac_objext'
75961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75962   (eval $ac_try) 2>&5
75963   ac_status=$?
75964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75965   (exit $ac_status); }; }; then
75966   ac_header_compiler=yes
75967 else
75968   echo "$as_me: failed program was:" >&5
75969 sed 's/^/| /' conftest.$ac_ext >&5
75970
75971 ac_header_compiler=no
75972 fi
75973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75974 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75975 echo "${ECHO_T}$ac_header_compiler" >&6
75976
75977 # Is the header present?
75978 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75979 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75980 cat >conftest.$ac_ext <<_ACEOF
75981 /* confdefs.h.  */
75982 _ACEOF
75983 cat confdefs.h >>conftest.$ac_ext
75984 cat >>conftest.$ac_ext <<_ACEOF
75985 /* end confdefs.h.  */
75986 #include <$ac_header>
75987 _ACEOF
75988 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75989   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75990   ac_status=$?
75991   grep -v '^ *+' conftest.er1 >conftest.err
75992   rm -f conftest.er1
75993   cat conftest.err >&5
75994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75995   (exit $ac_status); } >/dev/null; then
75996   if test -s conftest.err; then
75997     ac_cpp_err=$ac_c_preproc_warn_flag
75998     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75999   else
76000     ac_cpp_err=
76001   fi
76002 else
76003   ac_cpp_err=yes
76004 fi
76005 if test -z "$ac_cpp_err"; then
76006   ac_header_preproc=yes
76007 else
76008   echo "$as_me: failed program was:" >&5
76009 sed 's/^/| /' conftest.$ac_ext >&5
76010
76011   ac_header_preproc=no
76012 fi
76013 rm -f conftest.err conftest.$ac_ext
76014 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76015 echo "${ECHO_T}$ac_header_preproc" >&6
76016
76017 # So?  What about this header?
76018 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76019   yes:no: )
76020     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76021 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76022     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76023 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76024     ac_header_preproc=yes
76025     ;;
76026   no:yes:* )
76027     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76028 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76029     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
76030 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
76031     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76032 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76033     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
76034 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
76035     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76036 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76037     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76038 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76039     (
76040       cat <<\_ASBOX
76041 ## ----------------------------------------- ##
76042 ## Report this to the package-unused lists.  ##
76043 ## ----------------------------------------- ##
76044 _ASBOX
76045     ) |
76046       sed "s/^/$as_me: WARNING:     /" >&2
76047     ;;
76048 esac
76049 echo "$as_me:$LINENO: checking for $ac_header" >&5
76050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76051 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76052   echo $ECHO_N "(cached) $ECHO_C" >&6
76053 else
76054   eval "$as_ac_Header=\$ac_header_preproc"
76055 fi
76056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76057 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76058
76059 fi
76060 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76061   cat >>confdefs.h <<_ACEOF
76062 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76063 _ACEOF
76064  ac_has_wchar_h=yes
76065 else
76066   ac_has_wchar_h=no
76067 fi
76068
76069 done
76070
76071
76072 for ac_header in wctype.h
76073 do
76074 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76076   echo "$as_me:$LINENO: checking for $ac_header" >&5
76077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76079   echo $ECHO_N "(cached) $ECHO_C" >&6
76080 fi
76081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76082 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76083 else
76084   # Is the header compilable?
76085 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76086 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76087 cat >conftest.$ac_ext <<_ACEOF
76088 /* confdefs.h.  */
76089 _ACEOF
76090 cat confdefs.h >>conftest.$ac_ext
76091 cat >>conftest.$ac_ext <<_ACEOF
76092 /* end confdefs.h.  */
76093 $ac_includes_default
76094 #include <$ac_header>
76095 _ACEOF
76096 rm -f conftest.$ac_objext
76097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76098   (eval $ac_compile) 2>conftest.er1
76099   ac_status=$?
76100   grep -v '^ *+' conftest.er1 >conftest.err
76101   rm -f conftest.er1
76102   cat conftest.err >&5
76103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76104   (exit $ac_status); } &&
76105          { ac_try='test -z "$ac_c_werror_flag"
76106                          || test ! -s conftest.err'
76107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76108   (eval $ac_try) 2>&5
76109   ac_status=$?
76110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76111   (exit $ac_status); }; } &&
76112          { ac_try='test -s conftest.$ac_objext'
76113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76114   (eval $ac_try) 2>&5
76115   ac_status=$?
76116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76117   (exit $ac_status); }; }; then
76118   ac_header_compiler=yes
76119 else
76120   echo "$as_me: failed program was:" >&5
76121 sed 's/^/| /' conftest.$ac_ext >&5
76122
76123 ac_header_compiler=no
76124 fi
76125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76126 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76127 echo "${ECHO_T}$ac_header_compiler" >&6
76128
76129 # Is the header present?
76130 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76131 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76132 cat >conftest.$ac_ext <<_ACEOF
76133 /* confdefs.h.  */
76134 _ACEOF
76135 cat confdefs.h >>conftest.$ac_ext
76136 cat >>conftest.$ac_ext <<_ACEOF
76137 /* end confdefs.h.  */
76138 #include <$ac_header>
76139 _ACEOF
76140 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76141   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76142   ac_status=$?
76143   grep -v '^ *+' conftest.er1 >conftest.err
76144   rm -f conftest.er1
76145   cat conftest.err >&5
76146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76147   (exit $ac_status); } >/dev/null; then
76148   if test -s conftest.err; then
76149     ac_cpp_err=$ac_c_preproc_warn_flag
76150     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76151   else
76152     ac_cpp_err=
76153   fi
76154 else
76155   ac_cpp_err=yes
76156 fi
76157 if test -z "$ac_cpp_err"; then
76158   ac_header_preproc=yes
76159 else
76160   echo "$as_me: failed program was:" >&5
76161 sed 's/^/| /' conftest.$ac_ext >&5
76162
76163   ac_header_preproc=no
76164 fi
76165 rm -f conftest.err conftest.$ac_ext
76166 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76167 echo "${ECHO_T}$ac_header_preproc" >&6
76168
76169 # So?  What about this header?
76170 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76171   yes:no: )
76172     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76173 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76174     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76175 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76176     ac_header_preproc=yes
76177     ;;
76178   no:yes:* )
76179     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76180 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76181     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
76182 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
76183     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76184 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76185     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
76186 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
76187     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76188 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76189     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76190 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76191     (
76192       cat <<\_ASBOX
76193 ## ----------------------------------------- ##
76194 ## Report this to the package-unused lists.  ##
76195 ## ----------------------------------------- ##
76196 _ASBOX
76197     ) |
76198       sed "s/^/$as_me: WARNING:     /" >&2
76199     ;;
76200 esac
76201 echo "$as_me:$LINENO: checking for $ac_header" >&5
76202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76204   echo $ECHO_N "(cached) $ECHO_C" >&6
76205 else
76206   eval "$as_ac_Header=\$ac_header_preproc"
76207 fi
76208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76209 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76210
76211 fi
76212 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76213   cat >>confdefs.h <<_ACEOF
76214 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76215 _ACEOF
76216  ac_has_wctype_h=yes
76217 else
76218   ac_has_wctype_h=no
76219 fi
76220
76221 done
76222
76223
76224   # Only continue checking if the ISO C99 headers exist and support is on.
76225   if test x"$ac_has_wchar_h" = xyes &&
76226      test x"$ac_has_wctype_h" = xyes &&
76227      test x"$enable_c_mbchar" != xno; then
76228
76229     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
76230     # numeric_limits can instantiate type_traits<wchar_t>
76231     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
76232 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
76233     cat >conftest.$ac_ext <<_ACEOF
76234 /* confdefs.h.  */
76235 _ACEOF
76236 cat confdefs.h >>conftest.$ac_ext
76237 cat >>conftest.$ac_ext <<_ACEOF
76238 /* end confdefs.h.  */
76239 #include <wchar.h>
76240 int
76241 main ()
76242 {
76243 int i = WCHAR_MIN; int j = WCHAR_MAX;
76244   ;
76245   return 0;
76246 }
76247 _ACEOF
76248 rm -f conftest.$ac_objext
76249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76250   (eval $ac_compile) 2>conftest.er1
76251   ac_status=$?
76252   grep -v '^ *+' conftest.er1 >conftest.err
76253   rm -f conftest.er1
76254   cat conftest.err >&5
76255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76256   (exit $ac_status); } &&
76257          { ac_try='test -z "$ac_c_werror_flag"
76258                          || test ! -s conftest.err'
76259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76260   (eval $ac_try) 2>&5
76261   ac_status=$?
76262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76263   (exit $ac_status); }; } &&
76264          { ac_try='test -s conftest.$ac_objext'
76265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76266   (eval $ac_try) 2>&5
76267   ac_status=$?
76268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76269   (exit $ac_status); }; }; then
76270   has_wchar_minmax=yes
76271 else
76272   echo "$as_me: failed program was:" >&5
76273 sed 's/^/| /' conftest.$ac_ext >&5
76274
76275 has_wchar_minmax=no
76276 fi
76277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76278     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
76279 echo "${ECHO_T}$has_wchar_minmax" >&6
76280
76281     # Test wchar.h for WEOF, which is what we use to determine whether
76282     # to specialize for char_traits<wchar_t> or not.
76283     echo "$as_me:$LINENO: checking for WEOF" >&5
76284 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
76285     cat >conftest.$ac_ext <<_ACEOF
76286 /* confdefs.h.  */
76287 _ACEOF
76288 cat confdefs.h >>conftest.$ac_ext
76289 cat >>conftest.$ac_ext <<_ACEOF
76290 /* end confdefs.h.  */
76291
76292       #include <wchar.h>
76293       #include <stddef.h>
76294 int
76295 main ()
76296 {
76297 wint_t i = WEOF;
76298   ;
76299   return 0;
76300 }
76301 _ACEOF
76302 rm -f conftest.$ac_objext
76303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76304   (eval $ac_compile) 2>conftest.er1
76305   ac_status=$?
76306   grep -v '^ *+' conftest.er1 >conftest.err
76307   rm -f conftest.er1
76308   cat conftest.err >&5
76309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76310   (exit $ac_status); } &&
76311          { ac_try='test -z "$ac_c_werror_flag"
76312                          || test ! -s conftest.err'
76313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76314   (eval $ac_try) 2>&5
76315   ac_status=$?
76316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76317   (exit $ac_status); }; } &&
76318          { ac_try='test -s conftest.$ac_objext'
76319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76320   (eval $ac_try) 2>&5
76321   ac_status=$?
76322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76323   (exit $ac_status); }; }; then
76324   has_weof=yes
76325 else
76326   echo "$as_me: failed program was:" >&5
76327 sed 's/^/| /' conftest.$ac_ext >&5
76328
76329 has_weof=no
76330 fi
76331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76332     echo "$as_me:$LINENO: result: $has_weof" >&5
76333 echo "${ECHO_T}$has_weof" >&6
76334
76335     # Tests for wide character functions used in char_traits<wchar_t>.
76336     ac_wfuncs=yes
76337
76338
76339
76340
76341
76342
76343 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
76344 do
76345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76346 echo "$as_me:$LINENO: checking for $ac_func" >&5
76347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76348 if eval "test \"\${$as_ac_var+set}\" = set"; then
76349   echo $ECHO_N "(cached) $ECHO_C" >&6
76350 else
76351   if test x$gcc_no_link = xyes; then
76352   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76354    { (exit 1); exit 1; }; }
76355 fi
76356 cat >conftest.$ac_ext <<_ACEOF
76357 /* confdefs.h.  */
76358 _ACEOF
76359 cat confdefs.h >>conftest.$ac_ext
76360 cat >>conftest.$ac_ext <<_ACEOF
76361 /* end confdefs.h.  */
76362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76363    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76364 #define $ac_func innocuous_$ac_func
76365
76366 /* System header to define __stub macros and hopefully few prototypes,
76367     which can conflict with char $ac_func (); below.
76368     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76369     <limits.h> exists even on freestanding compilers.  */
76370
76371 #ifdef __STDC__
76372 # include <limits.h>
76373 #else
76374 # include <assert.h>
76375 #endif
76376
76377 #undef $ac_func
76378
76379 /* Override any gcc2 internal prototype to avoid an error.  */
76380 #ifdef __cplusplus
76381 extern "C"
76382 {
76383 #endif
76384 /* We use char because int might match the return type of a gcc2
76385    builtin and then its argument prototype would still apply.  */
76386 char $ac_func ();
76387 /* The GNU C library defines this for functions which it implements
76388     to always fail with ENOSYS.  Some functions are actually named
76389     something starting with __ and the normal name is an alias.  */
76390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76391 choke me
76392 #else
76393 char (*f) () = $ac_func;
76394 #endif
76395 #ifdef __cplusplus
76396 }
76397 #endif
76398
76399 int
76400 main ()
76401 {
76402 return f != $ac_func;
76403   ;
76404   return 0;
76405 }
76406 _ACEOF
76407 rm -f conftest.$ac_objext conftest$ac_exeext
76408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76409   (eval $ac_link) 2>conftest.er1
76410   ac_status=$?
76411   grep -v '^ *+' conftest.er1 >conftest.err
76412   rm -f conftest.er1
76413   cat conftest.err >&5
76414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76415   (exit $ac_status); } &&
76416          { ac_try='test -z "$ac_c_werror_flag"
76417                          || test ! -s conftest.err'
76418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76419   (eval $ac_try) 2>&5
76420   ac_status=$?
76421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76422   (exit $ac_status); }; } &&
76423          { ac_try='test -s conftest$ac_exeext'
76424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76425   (eval $ac_try) 2>&5
76426   ac_status=$?
76427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76428   (exit $ac_status); }; }; then
76429   eval "$as_ac_var=yes"
76430 else
76431   echo "$as_me: failed program was:" >&5
76432 sed 's/^/| /' conftest.$ac_ext >&5
76433
76434 eval "$as_ac_var=no"
76435 fi
76436 rm -f conftest.err conftest.$ac_objext \
76437       conftest$ac_exeext conftest.$ac_ext
76438 fi
76439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76441 if test `eval echo '${'$as_ac_var'}'` = yes; then
76442   cat >>confdefs.h <<_ACEOF
76443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76444 _ACEOF
76445
76446 else
76447   ac_wfuncs=no
76448 fi
76449 done
76450
76451
76452     # Checks for names injected into std:: by the c_std headers.
76453
76454
76455
76456
76457
76458
76459
76460
76461
76462
76463
76464
76465
76466
76467
76468
76469
76470
76471
76472
76473
76474
76475
76476
76477
76478
76479
76480
76481
76482
76483
76484
76485
76486
76487
76488
76489
76490
76491
76492
76493
76494
76495
76496
76497
76498
76499 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
76500     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
76501     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
76502     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
76503     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
76504     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
76505 do
76506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76507 echo "$as_me:$LINENO: checking for $ac_func" >&5
76508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76509 if eval "test \"\${$as_ac_var+set}\" = set"; then
76510   echo $ECHO_N "(cached) $ECHO_C" >&6
76511 else
76512   if test x$gcc_no_link = xyes; then
76513   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76515    { (exit 1); exit 1; }; }
76516 fi
76517 cat >conftest.$ac_ext <<_ACEOF
76518 /* confdefs.h.  */
76519 _ACEOF
76520 cat confdefs.h >>conftest.$ac_ext
76521 cat >>conftest.$ac_ext <<_ACEOF
76522 /* end confdefs.h.  */
76523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76524    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76525 #define $ac_func innocuous_$ac_func
76526
76527 /* System header to define __stub macros and hopefully few prototypes,
76528     which can conflict with char $ac_func (); below.
76529     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76530     <limits.h> exists even on freestanding compilers.  */
76531
76532 #ifdef __STDC__
76533 # include <limits.h>
76534 #else
76535 # include <assert.h>
76536 #endif
76537
76538 #undef $ac_func
76539
76540 /* Override any gcc2 internal prototype to avoid an error.  */
76541 #ifdef __cplusplus
76542 extern "C"
76543 {
76544 #endif
76545 /* We use char because int might match the return type of a gcc2
76546    builtin and then its argument prototype would still apply.  */
76547 char $ac_func ();
76548 /* The GNU C library defines this for functions which it implements
76549     to always fail with ENOSYS.  Some functions are actually named
76550     something starting with __ and the normal name is an alias.  */
76551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76552 choke me
76553 #else
76554 char (*f) () = $ac_func;
76555 #endif
76556 #ifdef __cplusplus
76557 }
76558 #endif
76559
76560 int
76561 main ()
76562 {
76563 return f != $ac_func;
76564   ;
76565   return 0;
76566 }
76567 _ACEOF
76568 rm -f conftest.$ac_objext conftest$ac_exeext
76569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76570   (eval $ac_link) 2>conftest.er1
76571   ac_status=$?
76572   grep -v '^ *+' conftest.er1 >conftest.err
76573   rm -f conftest.er1
76574   cat conftest.err >&5
76575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76576   (exit $ac_status); } &&
76577          { ac_try='test -z "$ac_c_werror_flag"
76578                          || test ! -s conftest.err'
76579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76580   (eval $ac_try) 2>&5
76581   ac_status=$?
76582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76583   (exit $ac_status); }; } &&
76584          { ac_try='test -s conftest$ac_exeext'
76585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76586   (eval $ac_try) 2>&5
76587   ac_status=$?
76588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76589   (exit $ac_status); }; }; then
76590   eval "$as_ac_var=yes"
76591 else
76592   echo "$as_me: failed program was:" >&5
76593 sed 's/^/| /' conftest.$ac_ext >&5
76594
76595 eval "$as_ac_var=no"
76596 fi
76597 rm -f conftest.err conftest.$ac_objext \
76598       conftest$ac_exeext conftest.$ac_ext
76599 fi
76600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76602 if test `eval echo '${'$as_ac_var'}'` = yes; then
76603   cat >>confdefs.h <<_ACEOF
76604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76605 _ACEOF
76606
76607 else
76608   ac_wfuncs=no
76609 fi
76610 done
76611
76612
76613     # Checks for wide character functions that are not required
76614     # for basic wchar_t support.  Don't disable support if they are missing.
76615     # Injection of these is wrapped with guard macros.
76616
76617
76618
76619
76620
76621 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
76622 do
76623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76624 echo "$as_me:$LINENO: checking for $ac_func" >&5
76625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76626 if eval "test \"\${$as_ac_var+set}\" = set"; then
76627   echo $ECHO_N "(cached) $ECHO_C" >&6
76628 else
76629   if test x$gcc_no_link = xyes; then
76630   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76632    { (exit 1); exit 1; }; }
76633 fi
76634 cat >conftest.$ac_ext <<_ACEOF
76635 /* confdefs.h.  */
76636 _ACEOF
76637 cat confdefs.h >>conftest.$ac_ext
76638 cat >>conftest.$ac_ext <<_ACEOF
76639 /* end confdefs.h.  */
76640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76641    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76642 #define $ac_func innocuous_$ac_func
76643
76644 /* System header to define __stub macros and hopefully few prototypes,
76645     which can conflict with char $ac_func (); below.
76646     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76647     <limits.h> exists even on freestanding compilers.  */
76648
76649 #ifdef __STDC__
76650 # include <limits.h>
76651 #else
76652 # include <assert.h>
76653 #endif
76654
76655 #undef $ac_func
76656
76657 /* Override any gcc2 internal prototype to avoid an error.  */
76658 #ifdef __cplusplus
76659 extern "C"
76660 {
76661 #endif
76662 /* We use char because int might match the return type of a gcc2
76663    builtin and then its argument prototype would still apply.  */
76664 char $ac_func ();
76665 /* The GNU C library defines this for functions which it implements
76666     to always fail with ENOSYS.  Some functions are actually named
76667     something starting with __ and the normal name is an alias.  */
76668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76669 choke me
76670 #else
76671 char (*f) () = $ac_func;
76672 #endif
76673 #ifdef __cplusplus
76674 }
76675 #endif
76676
76677 int
76678 main ()
76679 {
76680 return f != $ac_func;
76681   ;
76682   return 0;
76683 }
76684 _ACEOF
76685 rm -f conftest.$ac_objext conftest$ac_exeext
76686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76687   (eval $ac_link) 2>conftest.er1
76688   ac_status=$?
76689   grep -v '^ *+' conftest.er1 >conftest.err
76690   rm -f conftest.er1
76691   cat conftest.err >&5
76692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76693   (exit $ac_status); } &&
76694          { ac_try='test -z "$ac_c_werror_flag"
76695                          || test ! -s conftest.err'
76696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76697   (eval $ac_try) 2>&5
76698   ac_status=$?
76699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76700   (exit $ac_status); }; } &&
76701          { ac_try='test -s conftest$ac_exeext'
76702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76703   (eval $ac_try) 2>&5
76704   ac_status=$?
76705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76706   (exit $ac_status); }; }; then
76707   eval "$as_ac_var=yes"
76708 else
76709   echo "$as_me: failed program was:" >&5
76710 sed 's/^/| /' conftest.$ac_ext >&5
76711
76712 eval "$as_ac_var=no"
76713 fi
76714 rm -f conftest.err conftest.$ac_objext \
76715       conftest$ac_exeext conftest.$ac_ext
76716 fi
76717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76719 if test `eval echo '${'$as_ac_var'}'` = yes; then
76720   cat >>confdefs.h <<_ACEOF
76721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76722 _ACEOF
76723
76724 fi
76725 done
76726
76727
76728     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
76729 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
76730     if test x"$has_weof" = xyes &&
76731        test x"$has_wchar_minmax" = xyes &&
76732        test x"$ac_wfuncs" = xyes;
76733     then
76734       ac_isoC99_wchar_t=yes
76735     else
76736       ac_isoC99_wchar_t=no
76737     fi
76738     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
76739 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
76740
76741     # Use iconv for wchar_t to char conversions. As such, check for
76742     # X/Open Portability Guide, version 2 features (XPG2).
76743     if test "${ac_cv_header_iconv_h+set}" = set; then
76744   echo "$as_me:$LINENO: checking for iconv.h" >&5
76745 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76746 if test "${ac_cv_header_iconv_h+set}" = set; then
76747   echo $ECHO_N "(cached) $ECHO_C" >&6
76748 fi
76749 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76750 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76751 else
76752   # Is the header compilable?
76753 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76754 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76755 cat >conftest.$ac_ext <<_ACEOF
76756 /* confdefs.h.  */
76757 _ACEOF
76758 cat confdefs.h >>conftest.$ac_ext
76759 cat >>conftest.$ac_ext <<_ACEOF
76760 /* end confdefs.h.  */
76761 $ac_includes_default
76762 #include <iconv.h>
76763 _ACEOF
76764 rm -f conftest.$ac_objext
76765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76766   (eval $ac_compile) 2>conftest.er1
76767   ac_status=$?
76768   grep -v '^ *+' conftest.er1 >conftest.err
76769   rm -f conftest.er1
76770   cat conftest.err >&5
76771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76772   (exit $ac_status); } &&
76773          { ac_try='test -z "$ac_c_werror_flag"
76774                          || test ! -s conftest.err'
76775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76776   (eval $ac_try) 2>&5
76777   ac_status=$?
76778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76779   (exit $ac_status); }; } &&
76780          { ac_try='test -s conftest.$ac_objext'
76781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76782   (eval $ac_try) 2>&5
76783   ac_status=$?
76784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76785   (exit $ac_status); }; }; then
76786   ac_header_compiler=yes
76787 else
76788   echo "$as_me: failed program was:" >&5
76789 sed 's/^/| /' conftest.$ac_ext >&5
76790
76791 ac_header_compiler=no
76792 fi
76793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76794 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76795 echo "${ECHO_T}$ac_header_compiler" >&6
76796
76797 # Is the header present?
76798 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76799 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76800 cat >conftest.$ac_ext <<_ACEOF
76801 /* confdefs.h.  */
76802 _ACEOF
76803 cat confdefs.h >>conftest.$ac_ext
76804 cat >>conftest.$ac_ext <<_ACEOF
76805 /* end confdefs.h.  */
76806 #include <iconv.h>
76807 _ACEOF
76808 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76809   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76810   ac_status=$?
76811   grep -v '^ *+' conftest.er1 >conftest.err
76812   rm -f conftest.er1
76813   cat conftest.err >&5
76814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76815   (exit $ac_status); } >/dev/null; then
76816   if test -s conftest.err; then
76817     ac_cpp_err=$ac_c_preproc_warn_flag
76818     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76819   else
76820     ac_cpp_err=
76821   fi
76822 else
76823   ac_cpp_err=yes
76824 fi
76825 if test -z "$ac_cpp_err"; then
76826   ac_header_preproc=yes
76827 else
76828   echo "$as_me: failed program was:" >&5
76829 sed 's/^/| /' conftest.$ac_ext >&5
76830
76831   ac_header_preproc=no
76832 fi
76833 rm -f conftest.err conftest.$ac_ext
76834 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76835 echo "${ECHO_T}$ac_header_preproc" >&6
76836
76837 # So?  What about this header?
76838 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76839   yes:no: )
76840     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76841 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76842     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76843 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76844     ac_header_preproc=yes
76845     ;;
76846   no:yes:* )
76847     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76848 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76849     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
76850 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
76851     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76852 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76853     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
76854 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
76855     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76856 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76857     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76858 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76859     (
76860       cat <<\_ASBOX
76861 ## ----------------------------------------- ##
76862 ## Report this to the package-unused lists.  ##
76863 ## ----------------------------------------- ##
76864 _ASBOX
76865     ) |
76866       sed "s/^/$as_me: WARNING:     /" >&2
76867     ;;
76868 esac
76869 echo "$as_me:$LINENO: checking for iconv.h" >&5
76870 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76871 if test "${ac_cv_header_iconv_h+set}" = set; then
76872   echo $ECHO_N "(cached) $ECHO_C" >&6
76873 else
76874   ac_cv_header_iconv_h=$ac_header_preproc
76875 fi
76876 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76877 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76878
76879 fi
76880 if test $ac_cv_header_iconv_h = yes; then
76881   ac_has_iconv_h=yes
76882 else
76883   ac_has_iconv_h=no
76884 fi
76885
76886
76887     if test "${ac_cv_header_langinfo_h+set}" = set; then
76888   echo "$as_me:$LINENO: checking for langinfo.h" >&5
76889 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76890 if test "${ac_cv_header_langinfo_h+set}" = set; then
76891   echo $ECHO_N "(cached) $ECHO_C" >&6
76892 fi
76893 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76894 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76895 else
76896   # Is the header compilable?
76897 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76898 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76899 cat >conftest.$ac_ext <<_ACEOF
76900 /* confdefs.h.  */
76901 _ACEOF
76902 cat confdefs.h >>conftest.$ac_ext
76903 cat >>conftest.$ac_ext <<_ACEOF
76904 /* end confdefs.h.  */
76905 $ac_includes_default
76906 #include <langinfo.h>
76907 _ACEOF
76908 rm -f conftest.$ac_objext
76909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76910   (eval $ac_compile) 2>conftest.er1
76911   ac_status=$?
76912   grep -v '^ *+' conftest.er1 >conftest.err
76913   rm -f conftest.er1
76914   cat conftest.err >&5
76915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76916   (exit $ac_status); } &&
76917          { ac_try='test -z "$ac_c_werror_flag"
76918                          || test ! -s conftest.err'
76919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76920   (eval $ac_try) 2>&5
76921   ac_status=$?
76922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76923   (exit $ac_status); }; } &&
76924          { ac_try='test -s conftest.$ac_objext'
76925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76926   (eval $ac_try) 2>&5
76927   ac_status=$?
76928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76929   (exit $ac_status); }; }; then
76930   ac_header_compiler=yes
76931 else
76932   echo "$as_me: failed program was:" >&5
76933 sed 's/^/| /' conftest.$ac_ext >&5
76934
76935 ac_header_compiler=no
76936 fi
76937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76938 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76939 echo "${ECHO_T}$ac_header_compiler" >&6
76940
76941 # Is the header present?
76942 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76943 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76944 cat >conftest.$ac_ext <<_ACEOF
76945 /* confdefs.h.  */
76946 _ACEOF
76947 cat confdefs.h >>conftest.$ac_ext
76948 cat >>conftest.$ac_ext <<_ACEOF
76949 /* end confdefs.h.  */
76950 #include <langinfo.h>
76951 _ACEOF
76952 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76953   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76954   ac_status=$?
76955   grep -v '^ *+' conftest.er1 >conftest.err
76956   rm -f conftest.er1
76957   cat conftest.err >&5
76958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76959   (exit $ac_status); } >/dev/null; then
76960   if test -s conftest.err; then
76961     ac_cpp_err=$ac_c_preproc_warn_flag
76962     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76963   else
76964     ac_cpp_err=
76965   fi
76966 else
76967   ac_cpp_err=yes
76968 fi
76969 if test -z "$ac_cpp_err"; then
76970   ac_header_preproc=yes
76971 else
76972   echo "$as_me: failed program was:" >&5
76973 sed 's/^/| /' conftest.$ac_ext >&5
76974
76975   ac_header_preproc=no
76976 fi
76977 rm -f conftest.err conftest.$ac_ext
76978 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76979 echo "${ECHO_T}$ac_header_preproc" >&6
76980
76981 # So?  What about this header?
76982 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76983   yes:no: )
76984     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76985 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76986     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76987 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76988     ac_header_preproc=yes
76989     ;;
76990   no:yes:* )
76991     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76992 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76993     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
76994 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
76995     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76996 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76997     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
76998 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
76999     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
77000 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
77001     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
77002 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
77003     (
77004       cat <<\_ASBOX
77005 ## ----------------------------------------- ##
77006 ## Report this to the package-unused lists.  ##
77007 ## ----------------------------------------- ##
77008 _ASBOX
77009     ) |
77010       sed "s/^/$as_me: WARNING:     /" >&2
77011     ;;
77012 esac
77013 echo "$as_me:$LINENO: checking for langinfo.h" >&5
77014 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77015 if test "${ac_cv_header_langinfo_h+set}" = set; then
77016   echo $ECHO_N "(cached) $ECHO_C" >&6
77017 else
77018   ac_cv_header_langinfo_h=$ac_header_preproc
77019 fi
77020 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77021 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77022
77023 fi
77024 if test $ac_cv_header_langinfo_h = yes; then
77025   ac_has_langinfo_h=yes
77026 else
77027   ac_has_langinfo_h=no
77028 fi
77029
77030
77031
77032     # Check for existence of libiconv.a providing XPG2 wchar_t support.
77033     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
77034 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
77035 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
77036   echo $ECHO_N "(cached) $ECHO_C" >&6
77037 else
77038   ac_check_lib_save_LIBS=$LIBS
77039 LIBS="-liconv  $LIBS"
77040 if test x$gcc_no_link = xyes; then
77041   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77043    { (exit 1); exit 1; }; }
77044 fi
77045 cat >conftest.$ac_ext <<_ACEOF
77046 /* confdefs.h.  */
77047 _ACEOF
77048 cat confdefs.h >>conftest.$ac_ext
77049 cat >>conftest.$ac_ext <<_ACEOF
77050 /* end confdefs.h.  */
77051
77052 /* Override any gcc2 internal prototype to avoid an error.  */
77053 #ifdef __cplusplus
77054 extern "C"
77055 #endif
77056 /* We use char because int might match the return type of a gcc2
77057    builtin and then its argument prototype would still apply.  */
77058 char iconv ();
77059 int
77060 main ()
77061 {
77062 iconv ();
77063   ;
77064   return 0;
77065 }
77066 _ACEOF
77067 rm -f conftest.$ac_objext conftest$ac_exeext
77068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77069   (eval $ac_link) 2>conftest.er1
77070   ac_status=$?
77071   grep -v '^ *+' conftest.er1 >conftest.err
77072   rm -f conftest.er1
77073   cat conftest.err >&5
77074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77075   (exit $ac_status); } &&
77076          { ac_try='test -z "$ac_c_werror_flag"
77077                          || test ! -s conftest.err'
77078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77079   (eval $ac_try) 2>&5
77080   ac_status=$?
77081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77082   (exit $ac_status); }; } &&
77083          { ac_try='test -s conftest$ac_exeext'
77084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77085   (eval $ac_try) 2>&5
77086   ac_status=$?
77087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77088   (exit $ac_status); }; }; then
77089   ac_cv_lib_iconv_iconv=yes
77090 else
77091   echo "$as_me: failed program was:" >&5
77092 sed 's/^/| /' conftest.$ac_ext >&5
77093
77094 ac_cv_lib_iconv_iconv=no
77095 fi
77096 rm -f conftest.err conftest.$ac_objext \
77097       conftest$ac_exeext conftest.$ac_ext
77098 LIBS=$ac_check_lib_save_LIBS
77099 fi
77100 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
77101 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
77102 if test $ac_cv_lib_iconv_iconv = yes; then
77103   LIBICONV="-liconv"
77104 fi
77105
77106     ac_save_LIBS="$LIBS"
77107     LIBS="$LIBS $LIBICONV"
77108
77109
77110
77111
77112
77113
77114 for ac_func in iconv_open iconv_close iconv nl_langinfo
77115 do
77116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77117 echo "$as_me:$LINENO: checking for $ac_func" >&5
77118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77119 if eval "test \"\${$as_ac_var+set}\" = set"; then
77120   echo $ECHO_N "(cached) $ECHO_C" >&6
77121 else
77122   if test x$gcc_no_link = xyes; then
77123   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77125    { (exit 1); exit 1; }; }
77126 fi
77127 cat >conftest.$ac_ext <<_ACEOF
77128 /* confdefs.h.  */
77129 _ACEOF
77130 cat confdefs.h >>conftest.$ac_ext
77131 cat >>conftest.$ac_ext <<_ACEOF
77132 /* end confdefs.h.  */
77133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77134    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77135 #define $ac_func innocuous_$ac_func
77136
77137 /* System header to define __stub macros and hopefully few prototypes,
77138     which can conflict with char $ac_func (); below.
77139     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77140     <limits.h> exists even on freestanding compilers.  */
77141
77142 #ifdef __STDC__
77143 # include <limits.h>
77144 #else
77145 # include <assert.h>
77146 #endif
77147
77148 #undef $ac_func
77149
77150 /* Override any gcc2 internal prototype to avoid an error.  */
77151 #ifdef __cplusplus
77152 extern "C"
77153 {
77154 #endif
77155 /* We use char because int might match the return type of a gcc2
77156    builtin and then its argument prototype would still apply.  */
77157 char $ac_func ();
77158 /* The GNU C library defines this for functions which it implements
77159     to always fail with ENOSYS.  Some functions are actually named
77160     something starting with __ and the normal name is an alias.  */
77161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77162 choke me
77163 #else
77164 char (*f) () = $ac_func;
77165 #endif
77166 #ifdef __cplusplus
77167 }
77168 #endif
77169
77170 int
77171 main ()
77172 {
77173 return f != $ac_func;
77174   ;
77175   return 0;
77176 }
77177 _ACEOF
77178 rm -f conftest.$ac_objext conftest$ac_exeext
77179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77180   (eval $ac_link) 2>conftest.er1
77181   ac_status=$?
77182   grep -v '^ *+' conftest.er1 >conftest.err
77183   rm -f conftest.er1
77184   cat conftest.err >&5
77185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77186   (exit $ac_status); } &&
77187          { ac_try='test -z "$ac_c_werror_flag"
77188                          || test ! -s conftest.err'
77189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77190   (eval $ac_try) 2>&5
77191   ac_status=$?
77192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77193   (exit $ac_status); }; } &&
77194          { ac_try='test -s conftest$ac_exeext'
77195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77196   (eval $ac_try) 2>&5
77197   ac_status=$?
77198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77199   (exit $ac_status); }; }; then
77200   eval "$as_ac_var=yes"
77201 else
77202   echo "$as_me: failed program was:" >&5
77203 sed 's/^/| /' conftest.$ac_ext >&5
77204
77205 eval "$as_ac_var=no"
77206 fi
77207 rm -f conftest.err conftest.$ac_objext \
77208       conftest$ac_exeext conftest.$ac_ext
77209 fi
77210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77212 if test `eval echo '${'$as_ac_var'}'` = yes; then
77213   cat >>confdefs.h <<_ACEOF
77214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77215 _ACEOF
77216  ac_XPG2funcs=yes
77217 else
77218   ac_XPG2funcs=no
77219 fi
77220 done
77221
77222
77223     LIBS="$ac_save_LIBS"
77224
77225     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
77226 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
77227     if test x"$ac_has_iconv_h" = xyes &&
77228        test x"$ac_has_langinfo_h" = xyes &&
77229        test x"$ac_XPG2funcs" = xyes;
77230     then
77231       ac_XPG2_wchar_t=yes
77232     else
77233       ac_XPG2_wchar_t=no
77234     fi
77235     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
77236 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
77237
77238     # At the moment, only enable wchar_t specializations if all the
77239     # above support is present.
77240     if test x"$ac_isoC99_wchar_t" = xyes &&
77241        test x"$ac_XPG2_wchar_t" = xyes;
77242     then
77243       cat >>confdefs.h <<\_ACEOF
77244 #define _GLIBCXX_USE_WCHAR_T 1
77245 _ACEOF
77246
77247       enable_wchar_t=yes
77248     fi
77249   fi
77250   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
77251 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
77252   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
77253 echo "${ECHO_T}$enable_wchar_t" >&6
77254
77255     cat >>confdefs.h <<\_ACEOF
77256 #define HAVE_LC_MESSAGES 1
77257 _ACEOF
77258
77259     cat >>confdefs.h <<\_ACEOF
77260 #define HAVE_GETPAGESIZE 1
77261 _ACEOF
77262
77263     cat >>confdefs.h <<\_ACEOF
77264 #define HAVE_SETENV 1
77265 _ACEOF
77266
77267     cat >>confdefs.h <<\_ACEOF
77268 #define HAVE_SIGSETJMP 1
77269 _ACEOF
77270
77271     cat >>confdefs.h <<\_ACEOF
77272 #define HAVE_COPYSIGN 1
77273 _ACEOF
77274
77275     cat >>confdefs.h <<\_ACEOF
77276 #define HAVE_COPYSIGNF 1
77277 _ACEOF
77278
77279     cat >>confdefs.h <<\_ACEOF
77280 #define HAVE_FINITEF 1
77281 _ACEOF
77282
77283     cat >>confdefs.h <<\_ACEOF
77284 #define HAVE_FINITE 1
77285 _ACEOF
77286
77287     cat >>confdefs.h <<\_ACEOF
77288 #define HAVE_FREXPF 1
77289 _ACEOF
77290
77291     cat >>confdefs.h <<\_ACEOF
77292 #define HAVE_HYPOT 1
77293 _ACEOF
77294
77295     cat >>confdefs.h <<\_ACEOF
77296 #define HAVE_HYPOTF 1
77297 _ACEOF
77298
77299     cat >>confdefs.h <<\_ACEOF
77300 #define HAVE_ISINF 1
77301 _ACEOF
77302
77303     cat >>confdefs.h <<\_ACEOF
77304 #define HAVE_ISNAN 1
77305 _ACEOF
77306
77307     cat >>confdefs.h <<\_ACEOF
77308 #define HAVE_ISNANF 1
77309 _ACEOF
77310
77311
77312     cat >>confdefs.h <<\_ACEOF
77313 #define HAVE_MMAP 1
77314 _ACEOF
77315
77316     cat >>confdefs.h <<\_ACEOF
77317 #define HAVE_ACOSF 1
77318 _ACEOF
77319
77320     cat >>confdefs.h <<\_ACEOF
77321 #define HAVE_ASINF 1
77322 _ACEOF
77323
77324     cat >>confdefs.h <<\_ACEOF
77325 #define HAVE_ATAN2F 1
77326 _ACEOF
77327
77328     cat >>confdefs.h <<\_ACEOF
77329 #define HAVE_ATANF 1
77330 _ACEOF
77331
77332     cat >>confdefs.h <<\_ACEOF
77333 #define HAVE_CEILF 1
77334 _ACEOF
77335
77336     cat >>confdefs.h <<\_ACEOF
77337 #define HAVE_COPYSIGN 1
77338 _ACEOF
77339
77340     cat >>confdefs.h <<\_ACEOF
77341 #define HAVE_COPYSIGNF 1
77342 _ACEOF
77343
77344     cat >>confdefs.h <<\_ACEOF
77345 #define HAVE_COSF 1
77346 _ACEOF
77347
77348     cat >>confdefs.h <<\_ACEOF
77349 #define HAVE_COSHF 1
77350 _ACEOF
77351
77352     cat >>confdefs.h <<\_ACEOF
77353 #define HAVE_EXPF 1
77354 _ACEOF
77355
77356     cat >>confdefs.h <<\_ACEOF
77357 #define HAVE_FABSF 1
77358 _ACEOF
77359
77360     cat >>confdefs.h <<\_ACEOF
77361 #define HAVE_FLOORF 1
77362 _ACEOF
77363
77364     cat >>confdefs.h <<\_ACEOF
77365 #define HAVE_FMODF 1
77366 _ACEOF
77367
77368     cat >>confdefs.h <<\_ACEOF
77369 #define HAVE_FREXPF 1
77370 _ACEOF
77371
77372     cat >>confdefs.h <<\_ACEOF
77373 #define HAVE_LDEXPF 1
77374 _ACEOF
77375
77376     cat >>confdefs.h <<\_ACEOF
77377 #define HAVE_LOG10F 1
77378 _ACEOF
77379
77380     cat >>confdefs.h <<\_ACEOF
77381 #define HAVE_LOGF 1
77382 _ACEOF
77383
77384     cat >>confdefs.h <<\_ACEOF
77385 #define HAVE_MODFF 1
77386 _ACEOF
77387
77388     cat >>confdefs.h <<\_ACEOF
77389 #define HAVE_POWF 1
77390 _ACEOF
77391
77392     cat >>confdefs.h <<\_ACEOF
77393 #define HAVE_SINF 1
77394 _ACEOF
77395
77396     cat >>confdefs.h <<\_ACEOF
77397 #define HAVE_SINHF 1
77398 _ACEOF
77399
77400     cat >>confdefs.h <<\_ACEOF
77401 #define HAVE_SQRTF 1
77402 _ACEOF
77403
77404     cat >>confdefs.h <<\_ACEOF
77405 #define HAVE_TANF 1
77406 _ACEOF
77407
77408     cat >>confdefs.h <<\_ACEOF
77409 #define HAVE_TANHF 1
77410 _ACEOF
77411
77412     if test x"long_double_math_on_this_cpu" = x"yes"; then
77413       cat >>confdefs.h <<\_ACEOF
77414 #define HAVE_FINITEL 1
77415 _ACEOF
77416
77417       cat >>confdefs.h <<\_ACEOF
77418 #define HAVE_ISINFL 1
77419 _ACEOF
77420
77421       cat >>confdefs.h <<\_ACEOF
77422 #define HAVE_ISNANL 1
77423 _ACEOF
77424
77425     fi
77426     ;;
77427   *-hpux*)
77428
77429
77430
77431
77432
77433
77434
77435
77436
77437
77438
77439
77440 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
77441       machine/endian.h machine/param.h sys/machine.h sys/types.h \
77442       fp.h locale.h float.h inttypes.h
77443 do
77444 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77446   echo "$as_me:$LINENO: checking for $ac_header" >&5
77447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77449   echo $ECHO_N "(cached) $ECHO_C" >&6
77450 fi
77451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77452 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77453 else
77454   # Is the header compilable?
77455 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77456 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77457 cat >conftest.$ac_ext <<_ACEOF
77458 /* confdefs.h.  */
77459 _ACEOF
77460 cat confdefs.h >>conftest.$ac_ext
77461 cat >>conftest.$ac_ext <<_ACEOF
77462 /* end confdefs.h.  */
77463 $ac_includes_default
77464 #include <$ac_header>
77465 _ACEOF
77466 rm -f conftest.$ac_objext
77467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77468   (eval $ac_compile) 2>conftest.er1
77469   ac_status=$?
77470   grep -v '^ *+' conftest.er1 >conftest.err
77471   rm -f conftest.er1
77472   cat conftest.err >&5
77473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77474   (exit $ac_status); } &&
77475          { ac_try='test -z "$ac_c_werror_flag"
77476                          || test ! -s conftest.err'
77477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77478   (eval $ac_try) 2>&5
77479   ac_status=$?
77480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77481   (exit $ac_status); }; } &&
77482          { ac_try='test -s conftest.$ac_objext'
77483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77484   (eval $ac_try) 2>&5
77485   ac_status=$?
77486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77487   (exit $ac_status); }; }; then
77488   ac_header_compiler=yes
77489 else
77490   echo "$as_me: failed program was:" >&5
77491 sed 's/^/| /' conftest.$ac_ext >&5
77492
77493 ac_header_compiler=no
77494 fi
77495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77496 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77497 echo "${ECHO_T}$ac_header_compiler" >&6
77498
77499 # Is the header present?
77500 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77501 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77502 cat >conftest.$ac_ext <<_ACEOF
77503 /* confdefs.h.  */
77504 _ACEOF
77505 cat confdefs.h >>conftest.$ac_ext
77506 cat >>conftest.$ac_ext <<_ACEOF
77507 /* end confdefs.h.  */
77508 #include <$ac_header>
77509 _ACEOF
77510 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77511   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77512   ac_status=$?
77513   grep -v '^ *+' conftest.er1 >conftest.err
77514   rm -f conftest.er1
77515   cat conftest.err >&5
77516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77517   (exit $ac_status); } >/dev/null; then
77518   if test -s conftest.err; then
77519     ac_cpp_err=$ac_c_preproc_warn_flag
77520     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77521   else
77522     ac_cpp_err=
77523   fi
77524 else
77525   ac_cpp_err=yes
77526 fi
77527 if test -z "$ac_cpp_err"; then
77528   ac_header_preproc=yes
77529 else
77530   echo "$as_me: failed program was:" >&5
77531 sed 's/^/| /' conftest.$ac_ext >&5
77532
77533   ac_header_preproc=no
77534 fi
77535 rm -f conftest.err conftest.$ac_ext
77536 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77537 echo "${ECHO_T}$ac_header_preproc" >&6
77538
77539 # So?  What about this header?
77540 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77541   yes:no: )
77542     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77543 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77544     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77545 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77546     ac_header_preproc=yes
77547     ;;
77548   no:yes:* )
77549     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77550 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77551     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
77552 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
77553     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77554 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77555     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
77556 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
77557     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77558 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77559     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77560 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77561     (
77562       cat <<\_ASBOX
77563 ## ----------------------------------------- ##
77564 ## Report this to the package-unused lists.  ##
77565 ## ----------------------------------------- ##
77566 _ASBOX
77567     ) |
77568       sed "s/^/$as_me: WARNING:     /" >&2
77569     ;;
77570 esac
77571 echo "$as_me:$LINENO: checking for $ac_header" >&5
77572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77574   echo $ECHO_N "(cached) $ECHO_C" >&6
77575 else
77576   eval "$as_ac_Header=\$ac_header_preproc"
77577 fi
77578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77580
77581 fi
77582 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77583   cat >>confdefs.h <<_ACEOF
77584 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77585 _ACEOF
77586
77587 fi
77588
77589 done
77590
77591     SECTION_FLAGS='-ffunction-sections -fdata-sections'
77592
77593
77594   # If we're not using GNU ld, then there's no point in even trying these
77595   # tests.  Check for that first.  We should have already tested for gld
77596   # by now (in libtool), but require it now just to be safe...
77597   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77598   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77599
77600
77601
77602   # The name set by libtool depends on the version of libtool.  Shame on us
77603   # for depending on an impl detail, but c'est la vie.  Older versions used
77604   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77605   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77606   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
77607   # set (hence we're using an older libtool), then set it.
77608   if test x${with_gnu_ld+set} != xset; then
77609     if test x${ac_cv_prog_gnu_ld+set} != xset; then
77610       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
77611       with_gnu_ld=no
77612     else
77613       with_gnu_ld=$ac_cv_prog_gnu_ld
77614     fi
77615   fi
77616
77617   # Start by getting the version number.  I think the libtool test already
77618   # does some of this, but throws away the result.
77619
77620   ldver=`$LD --version 2>/dev/null | head -1 | \
77621          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
77622
77623   glibcxx_gnu_ld_version=`echo $ldver | \
77624          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77625
77626   # Set --gc-sections.
77627   if test "$with_gnu_ld" = "notbroken"; then
77628     # GNU ld it is!  Joy and bunny rabbits!
77629
77630     # All these tests are for C++; save the language and the compiler flags.
77631     # Need to do this so that g++ won't try to link in libstdc++
77632     ac_test_CFLAGS="${CFLAGS+set}"
77633     ac_save_CFLAGS="$CFLAGS"
77634     CFLAGS='-x c++  -Wl,--gc-sections'
77635
77636     # Check for -Wl,--gc-sections
77637     # XXX This test is broken at the moment, as symbols required for linking
77638     # are now in libsupc++ (not built yet).  In addition, this test has
77639     # cored on solaris in the past.  In addition, --gc-sections doesn't
77640     # really work at the moment (keeps on discarding used sections, first
77641     # .eh_frame and now some of the glibc sections for iconv).
77642     # Bzzzzt.  Thanks for playing, maybe next time.
77643     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77644 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77645     if test "$cross_compiling" = yes; then
77646   ac_sectionLDflags=yes
77647 else
77648   cat >conftest.$ac_ext <<_ACEOF
77649 /* confdefs.h.  */
77650 _ACEOF
77651 cat confdefs.h >>conftest.$ac_ext
77652 cat >>conftest.$ac_ext <<_ACEOF
77653 /* end confdefs.h.  */
77654
77655      int main(void)
77656      {
77657        try { throw 1; }
77658        catch (...) { };
77659        return 0;
77660      }
77661
77662 _ACEOF
77663 rm -f conftest$ac_exeext
77664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77665   (eval $ac_link) 2>&5
77666   ac_status=$?
77667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77668   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
77669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77670   (eval $ac_try) 2>&5
77671   ac_status=$?
77672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77673   (exit $ac_status); }; }; then
77674   ac_sectionLDflags=yes
77675 else
77676   echo "$as_me: program exited with status $ac_status" >&5
77677 echo "$as_me: failed program was:" >&5
77678 sed 's/^/| /' conftest.$ac_ext >&5
77679
77680 ( exit $ac_status )
77681 ac_sectionLDflags=no
77682 fi
77683 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77684 fi
77685     if test "$ac_test_CFLAGS" = set; then
77686       CFLAGS="$ac_save_CFLAGS"
77687     else
77688       # this is the suspicious part
77689       CFLAGS=''
77690     fi
77691     if test "$ac_sectionLDflags" = "yes"; then
77692       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77693     fi
77694     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
77695 echo "${ECHO_T}$ac_sectionLDflags" >&6
77696   fi
77697
77698   # Set linker optimization flags.
77699   if test x"$with_gnu_ld" = x"yes"; then
77700     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77701   fi
77702
77703
77704
77705
77706
77707
77708 echo "$as_me:$LINENO: checking for main in -lm" >&5
77709 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77710 if test "${ac_cv_lib_m_main+set}" = set; then
77711   echo $ECHO_N "(cached) $ECHO_C" >&6
77712 else
77713   ac_check_lib_save_LIBS=$LIBS
77714 LIBS="-lm  $LIBS"
77715 if test x$gcc_no_link = xyes; then
77716   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77718    { (exit 1); exit 1; }; }
77719 fi
77720 cat >conftest.$ac_ext <<_ACEOF
77721 /* confdefs.h.  */
77722 _ACEOF
77723 cat confdefs.h >>conftest.$ac_ext
77724 cat >>conftest.$ac_ext <<_ACEOF
77725 /* end confdefs.h.  */
77726
77727
77728 int
77729 main ()
77730 {
77731 main ();
77732   ;
77733   return 0;
77734 }
77735 _ACEOF
77736 rm -f conftest.$ac_objext conftest$ac_exeext
77737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77738   (eval $ac_link) 2>conftest.er1
77739   ac_status=$?
77740   grep -v '^ *+' conftest.er1 >conftest.err
77741   rm -f conftest.er1
77742   cat conftest.err >&5
77743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77744   (exit $ac_status); } &&
77745          { ac_try='test -z "$ac_c_werror_flag"
77746                          || test ! -s conftest.err'
77747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77748   (eval $ac_try) 2>&5
77749   ac_status=$?
77750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77751   (exit $ac_status); }; } &&
77752          { ac_try='test -s conftest$ac_exeext'
77753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77754   (eval $ac_try) 2>&5
77755   ac_status=$?
77756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77757   (exit $ac_status); }; }; then
77758   ac_cv_lib_m_main=yes
77759 else
77760   echo "$as_me: failed program was:" >&5
77761 sed 's/^/| /' conftest.$ac_ext >&5
77762
77763 ac_cv_lib_m_main=no
77764 fi
77765 rm -f conftest.err conftest.$ac_objext \
77766       conftest$ac_exeext conftest.$ac_ext
77767 LIBS=$ac_check_lib_save_LIBS
77768 fi
77769 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77770 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77771 if test $ac_cv_lib_m_main = yes; then
77772   cat >>confdefs.h <<_ACEOF
77773 #define HAVE_LIBM 1
77774 _ACEOF
77775
77776   LIBS="-lm $LIBS"
77777
77778 fi
77779
77780
77781 for ac_func in copysignf
77782 do
77783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77784 echo "$as_me:$LINENO: checking for $ac_func" >&5
77785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77786 if eval "test \"\${$as_ac_var+set}\" = set"; then
77787   echo $ECHO_N "(cached) $ECHO_C" >&6
77788 else
77789   if test x$gcc_no_link = xyes; then
77790   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77792    { (exit 1); exit 1; }; }
77793 fi
77794 cat >conftest.$ac_ext <<_ACEOF
77795 /* confdefs.h.  */
77796 _ACEOF
77797 cat confdefs.h >>conftest.$ac_ext
77798 cat >>conftest.$ac_ext <<_ACEOF
77799 /* end confdefs.h.  */
77800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77801    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77802 #define $ac_func innocuous_$ac_func
77803
77804 /* System header to define __stub macros and hopefully few prototypes,
77805     which can conflict with char $ac_func (); below.
77806     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77807     <limits.h> exists even on freestanding compilers.  */
77808
77809 #ifdef __STDC__
77810 # include <limits.h>
77811 #else
77812 # include <assert.h>
77813 #endif
77814
77815 #undef $ac_func
77816
77817 /* Override any gcc2 internal prototype to avoid an error.  */
77818 #ifdef __cplusplus
77819 extern "C"
77820 {
77821 #endif
77822 /* We use char because int might match the return type of a gcc2
77823    builtin and then its argument prototype would still apply.  */
77824 char $ac_func ();
77825 /* The GNU C library defines this for functions which it implements
77826     to always fail with ENOSYS.  Some functions are actually named
77827     something starting with __ and the normal name is an alias.  */
77828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77829 choke me
77830 #else
77831 char (*f) () = $ac_func;
77832 #endif
77833 #ifdef __cplusplus
77834 }
77835 #endif
77836
77837 int
77838 main ()
77839 {
77840 return f != $ac_func;
77841   ;
77842   return 0;
77843 }
77844 _ACEOF
77845 rm -f conftest.$ac_objext conftest$ac_exeext
77846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77847   (eval $ac_link) 2>conftest.er1
77848   ac_status=$?
77849   grep -v '^ *+' conftest.er1 >conftest.err
77850   rm -f conftest.er1
77851   cat conftest.err >&5
77852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77853   (exit $ac_status); } &&
77854          { ac_try='test -z "$ac_c_werror_flag"
77855                          || test ! -s conftest.err'
77856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77857   (eval $ac_try) 2>&5
77858   ac_status=$?
77859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77860   (exit $ac_status); }; } &&
77861          { ac_try='test -s conftest$ac_exeext'
77862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77863   (eval $ac_try) 2>&5
77864   ac_status=$?
77865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77866   (exit $ac_status); }; }; then
77867   eval "$as_ac_var=yes"
77868 else
77869   echo "$as_me: failed program was:" >&5
77870 sed 's/^/| /' conftest.$ac_ext >&5
77871
77872 eval "$as_ac_var=no"
77873 fi
77874 rm -f conftest.err conftest.$ac_objext \
77875       conftest$ac_exeext conftest.$ac_ext
77876 fi
77877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77879 if test `eval echo '${'$as_ac_var'}'` = yes; then
77880   cat >>confdefs.h <<_ACEOF
77881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77882 _ACEOF
77883
77884 else
77885   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77886 fi
77887 done
77888
77889
77890
77891 for ac_func in __signbit
77892 do
77893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77894 echo "$as_me:$LINENO: checking for $ac_func" >&5
77895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77896 if eval "test \"\${$as_ac_var+set}\" = set"; then
77897   echo $ECHO_N "(cached) $ECHO_C" >&6
77898 else
77899   if test x$gcc_no_link = xyes; then
77900   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77902    { (exit 1); exit 1; }; }
77903 fi
77904 cat >conftest.$ac_ext <<_ACEOF
77905 /* confdefs.h.  */
77906 _ACEOF
77907 cat confdefs.h >>conftest.$ac_ext
77908 cat >>conftest.$ac_ext <<_ACEOF
77909 /* end confdefs.h.  */
77910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77911    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77912 #define $ac_func innocuous_$ac_func
77913
77914 /* System header to define __stub macros and hopefully few prototypes,
77915     which can conflict with char $ac_func (); below.
77916     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77917     <limits.h> exists even on freestanding compilers.  */
77918
77919 #ifdef __STDC__
77920 # include <limits.h>
77921 #else
77922 # include <assert.h>
77923 #endif
77924
77925 #undef $ac_func
77926
77927 /* Override any gcc2 internal prototype to avoid an error.  */
77928 #ifdef __cplusplus
77929 extern "C"
77930 {
77931 #endif
77932 /* We use char because int might match the return type of a gcc2
77933    builtin and then its argument prototype would still apply.  */
77934 char $ac_func ();
77935 /* The GNU C library defines this for functions which it implements
77936     to always fail with ENOSYS.  Some functions are actually named
77937     something starting with __ and the normal name is an alias.  */
77938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77939 choke me
77940 #else
77941 char (*f) () = $ac_func;
77942 #endif
77943 #ifdef __cplusplus
77944 }
77945 #endif
77946
77947 int
77948 main ()
77949 {
77950 return f != $ac_func;
77951   ;
77952   return 0;
77953 }
77954 _ACEOF
77955 rm -f conftest.$ac_objext conftest$ac_exeext
77956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77957   (eval $ac_link) 2>conftest.er1
77958   ac_status=$?
77959   grep -v '^ *+' conftest.er1 >conftest.err
77960   rm -f conftest.er1
77961   cat conftest.err >&5
77962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77963   (exit $ac_status); } &&
77964          { ac_try='test -z "$ac_c_werror_flag"
77965                          || test ! -s conftest.err'
77966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77967   (eval $ac_try) 2>&5
77968   ac_status=$?
77969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77970   (exit $ac_status); }; } &&
77971          { ac_try='test -s conftest$ac_exeext'
77972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77973   (eval $ac_try) 2>&5
77974   ac_status=$?
77975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77976   (exit $ac_status); }; }; then
77977   eval "$as_ac_var=yes"
77978 else
77979   echo "$as_me: failed program was:" >&5
77980 sed 's/^/| /' conftest.$ac_ext >&5
77981
77982 eval "$as_ac_var=no"
77983 fi
77984 rm -f conftest.err conftest.$ac_objext \
77985       conftest$ac_exeext conftest.$ac_ext
77986 fi
77987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77989 if test `eval echo '${'$as_ac_var'}'` = yes; then
77990   cat >>confdefs.h <<_ACEOF
77991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77992 _ACEOF
77993
77994 else
77995   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77996 fi
77997 done
77998
77999
78000
78001 for ac_func in __signbitf
78002 do
78003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78004 echo "$as_me:$LINENO: checking for $ac_func" >&5
78005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78006 if eval "test \"\${$as_ac_var+set}\" = set"; then
78007   echo $ECHO_N "(cached) $ECHO_C" >&6
78008 else
78009   if test x$gcc_no_link = xyes; then
78010   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78012    { (exit 1); exit 1; }; }
78013 fi
78014 cat >conftest.$ac_ext <<_ACEOF
78015 /* confdefs.h.  */
78016 _ACEOF
78017 cat confdefs.h >>conftest.$ac_ext
78018 cat >>conftest.$ac_ext <<_ACEOF
78019 /* end confdefs.h.  */
78020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78021    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78022 #define $ac_func innocuous_$ac_func
78023
78024 /* System header to define __stub macros and hopefully few prototypes,
78025     which can conflict with char $ac_func (); below.
78026     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78027     <limits.h> exists even on freestanding compilers.  */
78028
78029 #ifdef __STDC__
78030 # include <limits.h>
78031 #else
78032 # include <assert.h>
78033 #endif
78034
78035 #undef $ac_func
78036
78037 /* Override any gcc2 internal prototype to avoid an error.  */
78038 #ifdef __cplusplus
78039 extern "C"
78040 {
78041 #endif
78042 /* We use char because int might match the return type of a gcc2
78043    builtin and then its argument prototype would still apply.  */
78044 char $ac_func ();
78045 /* The GNU C library defines this for functions which it implements
78046     to always fail with ENOSYS.  Some functions are actually named
78047     something starting with __ and the normal name is an alias.  */
78048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78049 choke me
78050 #else
78051 char (*f) () = $ac_func;
78052 #endif
78053 #ifdef __cplusplus
78054 }
78055 #endif
78056
78057 int
78058 main ()
78059 {
78060 return f != $ac_func;
78061   ;
78062   return 0;
78063 }
78064 _ACEOF
78065 rm -f conftest.$ac_objext conftest$ac_exeext
78066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78067   (eval $ac_link) 2>conftest.er1
78068   ac_status=$?
78069   grep -v '^ *+' conftest.er1 >conftest.err
78070   rm -f conftest.er1
78071   cat conftest.err >&5
78072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78073   (exit $ac_status); } &&
78074          { ac_try='test -z "$ac_c_werror_flag"
78075                          || test ! -s conftest.err'
78076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78077   (eval $ac_try) 2>&5
78078   ac_status=$?
78079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78080   (exit $ac_status); }; } &&
78081          { ac_try='test -s conftest$ac_exeext'
78082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78083   (eval $ac_try) 2>&5
78084   ac_status=$?
78085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78086   (exit $ac_status); }; }; then
78087   eval "$as_ac_var=yes"
78088 else
78089   echo "$as_me: failed program was:" >&5
78090 sed 's/^/| /' conftest.$ac_ext >&5
78091
78092 eval "$as_ac_var=no"
78093 fi
78094 rm -f conftest.err conftest.$ac_objext \
78095       conftest$ac_exeext conftest.$ac_ext
78096 fi
78097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78098 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78099 if test `eval echo '${'$as_ac_var'}'` = yes; then
78100   cat >>confdefs.h <<_ACEOF
78101 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78102 _ACEOF
78103
78104 else
78105   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
78106 fi
78107 done
78108
78109
78110           if test x$ac_cv_func_copysignl = x"yes"; then
78111
78112 for ac_func in __signbitl
78113 do
78114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78115 echo "$as_me:$LINENO: checking for $ac_func" >&5
78116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78117 if eval "test \"\${$as_ac_var+set}\" = set"; then
78118   echo $ECHO_N "(cached) $ECHO_C" >&6
78119 else
78120   if test x$gcc_no_link = xyes; then
78121   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78123    { (exit 1); exit 1; }; }
78124 fi
78125 cat >conftest.$ac_ext <<_ACEOF
78126 /* confdefs.h.  */
78127 _ACEOF
78128 cat confdefs.h >>conftest.$ac_ext
78129 cat >>conftest.$ac_ext <<_ACEOF
78130 /* end confdefs.h.  */
78131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78132    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78133 #define $ac_func innocuous_$ac_func
78134
78135 /* System header to define __stub macros and hopefully few prototypes,
78136     which can conflict with char $ac_func (); below.
78137     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78138     <limits.h> exists even on freestanding compilers.  */
78139
78140 #ifdef __STDC__
78141 # include <limits.h>
78142 #else
78143 # include <assert.h>
78144 #endif
78145
78146 #undef $ac_func
78147
78148 /* Override any gcc2 internal prototype to avoid an error.  */
78149 #ifdef __cplusplus
78150 extern "C"
78151 {
78152 #endif
78153 /* We use char because int might match the return type of a gcc2
78154    builtin and then its argument prototype would still apply.  */
78155 char $ac_func ();
78156 /* The GNU C library defines this for functions which it implements
78157     to always fail with ENOSYS.  Some functions are actually named
78158     something starting with __ and the normal name is an alias.  */
78159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78160 choke me
78161 #else
78162 char (*f) () = $ac_func;
78163 #endif
78164 #ifdef __cplusplus
78165 }
78166 #endif
78167
78168 int
78169 main ()
78170 {
78171 return f != $ac_func;
78172   ;
78173   return 0;
78174 }
78175 _ACEOF
78176 rm -f conftest.$ac_objext conftest$ac_exeext
78177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78178   (eval $ac_link) 2>conftest.er1
78179   ac_status=$?
78180   grep -v '^ *+' conftest.er1 >conftest.err
78181   rm -f conftest.er1
78182   cat conftest.err >&5
78183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78184   (exit $ac_status); } &&
78185          { ac_try='test -z "$ac_c_werror_flag"
78186                          || test ! -s conftest.err'
78187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78188   (eval $ac_try) 2>&5
78189   ac_status=$?
78190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78191   (exit $ac_status); }; } &&
78192          { ac_try='test -s conftest$ac_exeext'
78193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78194   (eval $ac_try) 2>&5
78195   ac_status=$?
78196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78197   (exit $ac_status); }; }; then
78198   eval "$as_ac_var=yes"
78199 else
78200   echo "$as_me: failed program was:" >&5
78201 sed 's/^/| /' conftest.$ac_ext >&5
78202
78203 eval "$as_ac_var=no"
78204 fi
78205 rm -f conftest.err conftest.$ac_objext \
78206       conftest$ac_exeext conftest.$ac_ext
78207 fi
78208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78210 if test `eval echo '${'$as_ac_var'}'` = yes; then
78211   cat >>confdefs.h <<_ACEOF
78212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78213 _ACEOF
78214
78215 else
78216   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
78217 fi
78218 done
78219
78220   fi
78221
78222   # Used in libmath/Makefile.am.
78223   if test -n "$LIBMATHOBJS"; then
78224     need_libmath=yes
78225   fi
78226
78227
78228
78229   # Test wchar.h for mbstate_t, which is needed for char_traits and
78230   # others even if wchar_t support is not on.
78231   echo "$as_me:$LINENO: checking for mbstate_t" >&5
78232 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
78233   cat >conftest.$ac_ext <<_ACEOF
78234 /* confdefs.h.  */
78235 _ACEOF
78236 cat confdefs.h >>conftest.$ac_ext
78237 cat >>conftest.$ac_ext <<_ACEOF
78238 /* end confdefs.h.  */
78239 #include <wchar.h>
78240 int
78241 main ()
78242 {
78243 mbstate_t teststate;
78244   ;
78245   return 0;
78246 }
78247 _ACEOF
78248 rm -f conftest.$ac_objext
78249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78250   (eval $ac_compile) 2>conftest.er1
78251   ac_status=$?
78252   grep -v '^ *+' conftest.er1 >conftest.err
78253   rm -f conftest.er1
78254   cat conftest.err >&5
78255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78256   (exit $ac_status); } &&
78257          { ac_try='test -z "$ac_c_werror_flag"
78258                          || test ! -s conftest.err'
78259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78260   (eval $ac_try) 2>&5
78261   ac_status=$?
78262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78263   (exit $ac_status); }; } &&
78264          { ac_try='test -s conftest.$ac_objext'
78265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78266   (eval $ac_try) 2>&5
78267   ac_status=$?
78268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78269   (exit $ac_status); }; }; then
78270   have_mbstate_t=yes
78271 else
78272   echo "$as_me: failed program was:" >&5
78273 sed 's/^/| /' conftest.$ac_ext >&5
78274
78275 have_mbstate_t=no
78276 fi
78277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78278   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
78279 echo "${ECHO_T}$have_mbstate_t" >&6
78280   if test x"$have_mbstate_t" = xyes; then
78281     cat >>confdefs.h <<\_ACEOF
78282 #define HAVE_MBSTATE_T 1
78283 _ACEOF
78284
78285   fi
78286
78287   # Sanity check for existence of ISO C99 headers for extended encoding.
78288
78289 for ac_header in wchar.h
78290 do
78291 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78293   echo "$as_me:$LINENO: checking for $ac_header" >&5
78294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78296   echo $ECHO_N "(cached) $ECHO_C" >&6
78297 fi
78298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78299 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78300 else
78301   # Is the header compilable?
78302 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78303 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78304 cat >conftest.$ac_ext <<_ACEOF
78305 /* confdefs.h.  */
78306 _ACEOF
78307 cat confdefs.h >>conftest.$ac_ext
78308 cat >>conftest.$ac_ext <<_ACEOF
78309 /* end confdefs.h.  */
78310 $ac_includes_default
78311 #include <$ac_header>
78312 _ACEOF
78313 rm -f conftest.$ac_objext
78314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78315   (eval $ac_compile) 2>conftest.er1
78316   ac_status=$?
78317   grep -v '^ *+' conftest.er1 >conftest.err
78318   rm -f conftest.er1
78319   cat conftest.err >&5
78320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78321   (exit $ac_status); } &&
78322          { ac_try='test -z "$ac_c_werror_flag"
78323                          || test ! -s conftest.err'
78324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78325   (eval $ac_try) 2>&5
78326   ac_status=$?
78327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78328   (exit $ac_status); }; } &&
78329          { ac_try='test -s conftest.$ac_objext'
78330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78331   (eval $ac_try) 2>&5
78332   ac_status=$?
78333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78334   (exit $ac_status); }; }; then
78335   ac_header_compiler=yes
78336 else
78337   echo "$as_me: failed program was:" >&5
78338 sed 's/^/| /' conftest.$ac_ext >&5
78339
78340 ac_header_compiler=no
78341 fi
78342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78343 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78344 echo "${ECHO_T}$ac_header_compiler" >&6
78345
78346 # Is the header present?
78347 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78348 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78349 cat >conftest.$ac_ext <<_ACEOF
78350 /* confdefs.h.  */
78351 _ACEOF
78352 cat confdefs.h >>conftest.$ac_ext
78353 cat >>conftest.$ac_ext <<_ACEOF
78354 /* end confdefs.h.  */
78355 #include <$ac_header>
78356 _ACEOF
78357 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78358   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78359   ac_status=$?
78360   grep -v '^ *+' conftest.er1 >conftest.err
78361   rm -f conftest.er1
78362   cat conftest.err >&5
78363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78364   (exit $ac_status); } >/dev/null; then
78365   if test -s conftest.err; then
78366     ac_cpp_err=$ac_c_preproc_warn_flag
78367     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78368   else
78369     ac_cpp_err=
78370   fi
78371 else
78372   ac_cpp_err=yes
78373 fi
78374 if test -z "$ac_cpp_err"; then
78375   ac_header_preproc=yes
78376 else
78377   echo "$as_me: failed program was:" >&5
78378 sed 's/^/| /' conftest.$ac_ext >&5
78379
78380   ac_header_preproc=no
78381 fi
78382 rm -f conftest.err conftest.$ac_ext
78383 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78384 echo "${ECHO_T}$ac_header_preproc" >&6
78385
78386 # So?  What about this header?
78387 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78388   yes:no: )
78389     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78390 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78391     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78392 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78393     ac_header_preproc=yes
78394     ;;
78395   no:yes:* )
78396     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78397 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78398     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
78399 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
78400     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78401 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78402     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
78403 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
78404     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78405 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78406     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78407 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78408     (
78409       cat <<\_ASBOX
78410 ## ----------------------------------------- ##
78411 ## Report this to the package-unused lists.  ##
78412 ## ----------------------------------------- ##
78413 _ASBOX
78414     ) |
78415       sed "s/^/$as_me: WARNING:     /" >&2
78416     ;;
78417 esac
78418 echo "$as_me:$LINENO: checking for $ac_header" >&5
78419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78421   echo $ECHO_N "(cached) $ECHO_C" >&6
78422 else
78423   eval "$as_ac_Header=\$ac_header_preproc"
78424 fi
78425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78426 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78427
78428 fi
78429 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78430   cat >>confdefs.h <<_ACEOF
78431 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78432 _ACEOF
78433  ac_has_wchar_h=yes
78434 else
78435   ac_has_wchar_h=no
78436 fi
78437
78438 done
78439
78440
78441 for ac_header in wctype.h
78442 do
78443 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78445   echo "$as_me:$LINENO: checking for $ac_header" >&5
78446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78448   echo $ECHO_N "(cached) $ECHO_C" >&6
78449 fi
78450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78451 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78452 else
78453   # Is the header compilable?
78454 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78455 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78456 cat >conftest.$ac_ext <<_ACEOF
78457 /* confdefs.h.  */
78458 _ACEOF
78459 cat confdefs.h >>conftest.$ac_ext
78460 cat >>conftest.$ac_ext <<_ACEOF
78461 /* end confdefs.h.  */
78462 $ac_includes_default
78463 #include <$ac_header>
78464 _ACEOF
78465 rm -f conftest.$ac_objext
78466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78467   (eval $ac_compile) 2>conftest.er1
78468   ac_status=$?
78469   grep -v '^ *+' conftest.er1 >conftest.err
78470   rm -f conftest.er1
78471   cat conftest.err >&5
78472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78473   (exit $ac_status); } &&
78474          { ac_try='test -z "$ac_c_werror_flag"
78475                          || test ! -s conftest.err'
78476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78477   (eval $ac_try) 2>&5
78478   ac_status=$?
78479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78480   (exit $ac_status); }; } &&
78481          { ac_try='test -s conftest.$ac_objext'
78482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78483   (eval $ac_try) 2>&5
78484   ac_status=$?
78485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78486   (exit $ac_status); }; }; then
78487   ac_header_compiler=yes
78488 else
78489   echo "$as_me: failed program was:" >&5
78490 sed 's/^/| /' conftest.$ac_ext >&5
78491
78492 ac_header_compiler=no
78493 fi
78494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78495 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78496 echo "${ECHO_T}$ac_header_compiler" >&6
78497
78498 # Is the header present?
78499 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78500 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78501 cat >conftest.$ac_ext <<_ACEOF
78502 /* confdefs.h.  */
78503 _ACEOF
78504 cat confdefs.h >>conftest.$ac_ext
78505 cat >>conftest.$ac_ext <<_ACEOF
78506 /* end confdefs.h.  */
78507 #include <$ac_header>
78508 _ACEOF
78509 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78510   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78511   ac_status=$?
78512   grep -v '^ *+' conftest.er1 >conftest.err
78513   rm -f conftest.er1
78514   cat conftest.err >&5
78515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78516   (exit $ac_status); } >/dev/null; then
78517   if test -s conftest.err; then
78518     ac_cpp_err=$ac_c_preproc_warn_flag
78519     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78520   else
78521     ac_cpp_err=
78522   fi
78523 else
78524   ac_cpp_err=yes
78525 fi
78526 if test -z "$ac_cpp_err"; then
78527   ac_header_preproc=yes
78528 else
78529   echo "$as_me: failed program was:" >&5
78530 sed 's/^/| /' conftest.$ac_ext >&5
78531
78532   ac_header_preproc=no
78533 fi
78534 rm -f conftest.err conftest.$ac_ext
78535 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78536 echo "${ECHO_T}$ac_header_preproc" >&6
78537
78538 # So?  What about this header?
78539 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78540   yes:no: )
78541     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78542 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78543     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78544 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78545     ac_header_preproc=yes
78546     ;;
78547   no:yes:* )
78548     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78549 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78550     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
78551 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
78552     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78553 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78554     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
78555 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
78556     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78557 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78558     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78559 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78560     (
78561       cat <<\_ASBOX
78562 ## ----------------------------------------- ##
78563 ## Report this to the package-unused lists.  ##
78564 ## ----------------------------------------- ##
78565 _ASBOX
78566     ) |
78567       sed "s/^/$as_me: WARNING:     /" >&2
78568     ;;
78569 esac
78570 echo "$as_me:$LINENO: checking for $ac_header" >&5
78571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78573   echo $ECHO_N "(cached) $ECHO_C" >&6
78574 else
78575   eval "$as_ac_Header=\$ac_header_preproc"
78576 fi
78577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78578 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78579
78580 fi
78581 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78582   cat >>confdefs.h <<_ACEOF
78583 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78584 _ACEOF
78585  ac_has_wctype_h=yes
78586 else
78587   ac_has_wctype_h=no
78588 fi
78589
78590 done
78591
78592
78593   # Only continue checking if the ISO C99 headers exist and support is on.
78594   if test x"$ac_has_wchar_h" = xyes &&
78595      test x"$ac_has_wctype_h" = xyes &&
78596      test x"$enable_c_mbchar" != xno; then
78597
78598     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
78599     # numeric_limits can instantiate type_traits<wchar_t>
78600     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
78601 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
78602     cat >conftest.$ac_ext <<_ACEOF
78603 /* confdefs.h.  */
78604 _ACEOF
78605 cat confdefs.h >>conftest.$ac_ext
78606 cat >>conftest.$ac_ext <<_ACEOF
78607 /* end confdefs.h.  */
78608 #include <wchar.h>
78609 int
78610 main ()
78611 {
78612 int i = WCHAR_MIN; int j = WCHAR_MAX;
78613   ;
78614   return 0;
78615 }
78616 _ACEOF
78617 rm -f conftest.$ac_objext
78618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78619   (eval $ac_compile) 2>conftest.er1
78620   ac_status=$?
78621   grep -v '^ *+' conftest.er1 >conftest.err
78622   rm -f conftest.er1
78623   cat conftest.err >&5
78624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78625   (exit $ac_status); } &&
78626          { ac_try='test -z "$ac_c_werror_flag"
78627                          || test ! -s conftest.err'
78628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78629   (eval $ac_try) 2>&5
78630   ac_status=$?
78631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78632   (exit $ac_status); }; } &&
78633          { ac_try='test -s conftest.$ac_objext'
78634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78635   (eval $ac_try) 2>&5
78636   ac_status=$?
78637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78638   (exit $ac_status); }; }; then
78639   has_wchar_minmax=yes
78640 else
78641   echo "$as_me: failed program was:" >&5
78642 sed 's/^/| /' conftest.$ac_ext >&5
78643
78644 has_wchar_minmax=no
78645 fi
78646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78647     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
78648 echo "${ECHO_T}$has_wchar_minmax" >&6
78649
78650     # Test wchar.h for WEOF, which is what we use to determine whether
78651     # to specialize for char_traits<wchar_t> or not.
78652     echo "$as_me:$LINENO: checking for WEOF" >&5
78653 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
78654     cat >conftest.$ac_ext <<_ACEOF
78655 /* confdefs.h.  */
78656 _ACEOF
78657 cat confdefs.h >>conftest.$ac_ext
78658 cat >>conftest.$ac_ext <<_ACEOF
78659 /* end confdefs.h.  */
78660
78661       #include <wchar.h>
78662       #include <stddef.h>
78663 int
78664 main ()
78665 {
78666 wint_t i = WEOF;
78667   ;
78668   return 0;
78669 }
78670 _ACEOF
78671 rm -f conftest.$ac_objext
78672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78673   (eval $ac_compile) 2>conftest.er1
78674   ac_status=$?
78675   grep -v '^ *+' conftest.er1 >conftest.err
78676   rm -f conftest.er1
78677   cat conftest.err >&5
78678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78679   (exit $ac_status); } &&
78680          { ac_try='test -z "$ac_c_werror_flag"
78681                          || test ! -s conftest.err'
78682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78683   (eval $ac_try) 2>&5
78684   ac_status=$?
78685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78686   (exit $ac_status); }; } &&
78687          { ac_try='test -s conftest.$ac_objext'
78688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78689   (eval $ac_try) 2>&5
78690   ac_status=$?
78691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78692   (exit $ac_status); }; }; then
78693   has_weof=yes
78694 else
78695   echo "$as_me: failed program was:" >&5
78696 sed 's/^/| /' conftest.$ac_ext >&5
78697
78698 has_weof=no
78699 fi
78700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78701     echo "$as_me:$LINENO: result: $has_weof" >&5
78702 echo "${ECHO_T}$has_weof" >&6
78703
78704     # Tests for wide character functions used in char_traits<wchar_t>.
78705     ac_wfuncs=yes
78706
78707
78708
78709
78710
78711
78712 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
78713 do
78714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78715 echo "$as_me:$LINENO: checking for $ac_func" >&5
78716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78717 if eval "test \"\${$as_ac_var+set}\" = set"; then
78718   echo $ECHO_N "(cached) $ECHO_C" >&6
78719 else
78720   if test x$gcc_no_link = xyes; then
78721   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78723    { (exit 1); exit 1; }; }
78724 fi
78725 cat >conftest.$ac_ext <<_ACEOF
78726 /* confdefs.h.  */
78727 _ACEOF
78728 cat confdefs.h >>conftest.$ac_ext
78729 cat >>conftest.$ac_ext <<_ACEOF
78730 /* end confdefs.h.  */
78731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78732    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78733 #define $ac_func innocuous_$ac_func
78734
78735 /* System header to define __stub macros and hopefully few prototypes,
78736     which can conflict with char $ac_func (); below.
78737     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78738     <limits.h> exists even on freestanding compilers.  */
78739
78740 #ifdef __STDC__
78741 # include <limits.h>
78742 #else
78743 # include <assert.h>
78744 #endif
78745
78746 #undef $ac_func
78747
78748 /* Override any gcc2 internal prototype to avoid an error.  */
78749 #ifdef __cplusplus
78750 extern "C"
78751 {
78752 #endif
78753 /* We use char because int might match the return type of a gcc2
78754    builtin and then its argument prototype would still apply.  */
78755 char $ac_func ();
78756 /* The GNU C library defines this for functions which it implements
78757     to always fail with ENOSYS.  Some functions are actually named
78758     something starting with __ and the normal name is an alias.  */
78759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78760 choke me
78761 #else
78762 char (*f) () = $ac_func;
78763 #endif
78764 #ifdef __cplusplus
78765 }
78766 #endif
78767
78768 int
78769 main ()
78770 {
78771 return f != $ac_func;
78772   ;
78773   return 0;
78774 }
78775 _ACEOF
78776 rm -f conftest.$ac_objext conftest$ac_exeext
78777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78778   (eval $ac_link) 2>conftest.er1
78779   ac_status=$?
78780   grep -v '^ *+' conftest.er1 >conftest.err
78781   rm -f conftest.er1
78782   cat conftest.err >&5
78783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78784   (exit $ac_status); } &&
78785          { ac_try='test -z "$ac_c_werror_flag"
78786                          || test ! -s conftest.err'
78787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78788   (eval $ac_try) 2>&5
78789   ac_status=$?
78790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78791   (exit $ac_status); }; } &&
78792          { ac_try='test -s conftest$ac_exeext'
78793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78794   (eval $ac_try) 2>&5
78795   ac_status=$?
78796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78797   (exit $ac_status); }; }; then
78798   eval "$as_ac_var=yes"
78799 else
78800   echo "$as_me: failed program was:" >&5
78801 sed 's/^/| /' conftest.$ac_ext >&5
78802
78803 eval "$as_ac_var=no"
78804 fi
78805 rm -f conftest.err conftest.$ac_objext \
78806       conftest$ac_exeext conftest.$ac_ext
78807 fi
78808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78810 if test `eval echo '${'$as_ac_var'}'` = yes; then
78811   cat >>confdefs.h <<_ACEOF
78812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78813 _ACEOF
78814
78815 else
78816   ac_wfuncs=no
78817 fi
78818 done
78819
78820
78821     # Checks for names injected into std:: by the c_std headers.
78822
78823
78824
78825
78826
78827
78828
78829
78830
78831
78832
78833
78834
78835
78836
78837
78838
78839
78840
78841
78842
78843
78844
78845
78846
78847
78848
78849
78850
78851
78852
78853
78854
78855
78856
78857
78858
78859
78860
78861
78862
78863
78864
78865
78866
78867
78868 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
78869     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
78870     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
78871     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
78872     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
78873     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
78874 do
78875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78876 echo "$as_me:$LINENO: checking for $ac_func" >&5
78877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78878 if eval "test \"\${$as_ac_var+set}\" = set"; then
78879   echo $ECHO_N "(cached) $ECHO_C" >&6
78880 else
78881   if test x$gcc_no_link = xyes; then
78882   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78884    { (exit 1); exit 1; }; }
78885 fi
78886 cat >conftest.$ac_ext <<_ACEOF
78887 /* confdefs.h.  */
78888 _ACEOF
78889 cat confdefs.h >>conftest.$ac_ext
78890 cat >>conftest.$ac_ext <<_ACEOF
78891 /* end confdefs.h.  */
78892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78893    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78894 #define $ac_func innocuous_$ac_func
78895
78896 /* System header to define __stub macros and hopefully few prototypes,
78897     which can conflict with char $ac_func (); below.
78898     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78899     <limits.h> exists even on freestanding compilers.  */
78900
78901 #ifdef __STDC__
78902 # include <limits.h>
78903 #else
78904 # include <assert.h>
78905 #endif
78906
78907 #undef $ac_func
78908
78909 /* Override any gcc2 internal prototype to avoid an error.  */
78910 #ifdef __cplusplus
78911 extern "C"
78912 {
78913 #endif
78914 /* We use char because int might match the return type of a gcc2
78915    builtin and then its argument prototype would still apply.  */
78916 char $ac_func ();
78917 /* The GNU C library defines this for functions which it implements
78918     to always fail with ENOSYS.  Some functions are actually named
78919     something starting with __ and the normal name is an alias.  */
78920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78921 choke me
78922 #else
78923 char (*f) () = $ac_func;
78924 #endif
78925 #ifdef __cplusplus
78926 }
78927 #endif
78928
78929 int
78930 main ()
78931 {
78932 return f != $ac_func;
78933   ;
78934   return 0;
78935 }
78936 _ACEOF
78937 rm -f conftest.$ac_objext conftest$ac_exeext
78938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78939   (eval $ac_link) 2>conftest.er1
78940   ac_status=$?
78941   grep -v '^ *+' conftest.er1 >conftest.err
78942   rm -f conftest.er1
78943   cat conftest.err >&5
78944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78945   (exit $ac_status); } &&
78946          { ac_try='test -z "$ac_c_werror_flag"
78947                          || test ! -s conftest.err'
78948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78949   (eval $ac_try) 2>&5
78950   ac_status=$?
78951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78952   (exit $ac_status); }; } &&
78953          { ac_try='test -s conftest$ac_exeext'
78954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78955   (eval $ac_try) 2>&5
78956   ac_status=$?
78957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78958   (exit $ac_status); }; }; then
78959   eval "$as_ac_var=yes"
78960 else
78961   echo "$as_me: failed program was:" >&5
78962 sed 's/^/| /' conftest.$ac_ext >&5
78963
78964 eval "$as_ac_var=no"
78965 fi
78966 rm -f conftest.err conftest.$ac_objext \
78967       conftest$ac_exeext conftest.$ac_ext
78968 fi
78969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78971 if test `eval echo '${'$as_ac_var'}'` = yes; then
78972   cat >>confdefs.h <<_ACEOF
78973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78974 _ACEOF
78975
78976 else
78977   ac_wfuncs=no
78978 fi
78979 done
78980
78981
78982     # Checks for wide character functions that are not required
78983     # for basic wchar_t support.  Don't disable support if they are missing.
78984     # Injection of these is wrapped with guard macros.
78985
78986
78987
78988
78989
78990 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
78991 do
78992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78993 echo "$as_me:$LINENO: checking for $ac_func" >&5
78994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78995 if eval "test \"\${$as_ac_var+set}\" = set"; then
78996   echo $ECHO_N "(cached) $ECHO_C" >&6
78997 else
78998   if test x$gcc_no_link = xyes; then
78999   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79001    { (exit 1); exit 1; }; }
79002 fi
79003 cat >conftest.$ac_ext <<_ACEOF
79004 /* confdefs.h.  */
79005 _ACEOF
79006 cat confdefs.h >>conftest.$ac_ext
79007 cat >>conftest.$ac_ext <<_ACEOF
79008 /* end confdefs.h.  */
79009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79010    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79011 #define $ac_func innocuous_$ac_func
79012
79013 /* System header to define __stub macros and hopefully few prototypes,
79014     which can conflict with char $ac_func (); below.
79015     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79016     <limits.h> exists even on freestanding compilers.  */
79017
79018 #ifdef __STDC__
79019 # include <limits.h>
79020 #else
79021 # include <assert.h>
79022 #endif
79023
79024 #undef $ac_func
79025
79026 /* Override any gcc2 internal prototype to avoid an error.  */
79027 #ifdef __cplusplus
79028 extern "C"
79029 {
79030 #endif
79031 /* We use char because int might match the return type of a gcc2
79032    builtin and then its argument prototype would still apply.  */
79033 char $ac_func ();
79034 /* The GNU C library defines this for functions which it implements
79035     to always fail with ENOSYS.  Some functions are actually named
79036     something starting with __ and the normal name is an alias.  */
79037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79038 choke me
79039 #else
79040 char (*f) () = $ac_func;
79041 #endif
79042 #ifdef __cplusplus
79043 }
79044 #endif
79045
79046 int
79047 main ()
79048 {
79049 return f != $ac_func;
79050   ;
79051   return 0;
79052 }
79053 _ACEOF
79054 rm -f conftest.$ac_objext conftest$ac_exeext
79055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79056   (eval $ac_link) 2>conftest.er1
79057   ac_status=$?
79058   grep -v '^ *+' conftest.er1 >conftest.err
79059   rm -f conftest.er1
79060   cat conftest.err >&5
79061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79062   (exit $ac_status); } &&
79063          { ac_try='test -z "$ac_c_werror_flag"
79064                          || test ! -s conftest.err'
79065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79066   (eval $ac_try) 2>&5
79067   ac_status=$?
79068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79069   (exit $ac_status); }; } &&
79070          { ac_try='test -s conftest$ac_exeext'
79071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79072   (eval $ac_try) 2>&5
79073   ac_status=$?
79074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79075   (exit $ac_status); }; }; then
79076   eval "$as_ac_var=yes"
79077 else
79078   echo "$as_me: failed program was:" >&5
79079 sed 's/^/| /' conftest.$ac_ext >&5
79080
79081 eval "$as_ac_var=no"
79082 fi
79083 rm -f conftest.err conftest.$ac_objext \
79084       conftest$ac_exeext conftest.$ac_ext
79085 fi
79086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79088 if test `eval echo '${'$as_ac_var'}'` = yes; then
79089   cat >>confdefs.h <<_ACEOF
79090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79091 _ACEOF
79092
79093 fi
79094 done
79095
79096
79097     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
79098 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
79099     if test x"$has_weof" = xyes &&
79100        test x"$has_wchar_minmax" = xyes &&
79101        test x"$ac_wfuncs" = xyes;
79102     then
79103       ac_isoC99_wchar_t=yes
79104     else
79105       ac_isoC99_wchar_t=no
79106     fi
79107     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
79108 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
79109
79110     # Use iconv for wchar_t to char conversions. As such, check for
79111     # X/Open Portability Guide, version 2 features (XPG2).
79112     if test "${ac_cv_header_iconv_h+set}" = set; then
79113   echo "$as_me:$LINENO: checking for iconv.h" >&5
79114 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79115 if test "${ac_cv_header_iconv_h+set}" = set; then
79116   echo $ECHO_N "(cached) $ECHO_C" >&6
79117 fi
79118 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79119 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79120 else
79121   # Is the header compilable?
79122 echo "$as_me:$LINENO: checking iconv.h usability" >&5
79123 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
79124 cat >conftest.$ac_ext <<_ACEOF
79125 /* confdefs.h.  */
79126 _ACEOF
79127 cat confdefs.h >>conftest.$ac_ext
79128 cat >>conftest.$ac_ext <<_ACEOF
79129 /* end confdefs.h.  */
79130 $ac_includes_default
79131 #include <iconv.h>
79132 _ACEOF
79133 rm -f conftest.$ac_objext
79134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79135   (eval $ac_compile) 2>conftest.er1
79136   ac_status=$?
79137   grep -v '^ *+' conftest.er1 >conftest.err
79138   rm -f conftest.er1
79139   cat conftest.err >&5
79140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79141   (exit $ac_status); } &&
79142          { ac_try='test -z "$ac_c_werror_flag"
79143                          || test ! -s conftest.err'
79144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79145   (eval $ac_try) 2>&5
79146   ac_status=$?
79147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79148   (exit $ac_status); }; } &&
79149          { ac_try='test -s conftest.$ac_objext'
79150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79151   (eval $ac_try) 2>&5
79152   ac_status=$?
79153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79154   (exit $ac_status); }; }; then
79155   ac_header_compiler=yes
79156 else
79157   echo "$as_me: failed program was:" >&5
79158 sed 's/^/| /' conftest.$ac_ext >&5
79159
79160 ac_header_compiler=no
79161 fi
79162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79163 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79164 echo "${ECHO_T}$ac_header_compiler" >&6
79165
79166 # Is the header present?
79167 echo "$as_me:$LINENO: checking iconv.h presence" >&5
79168 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
79169 cat >conftest.$ac_ext <<_ACEOF
79170 /* confdefs.h.  */
79171 _ACEOF
79172 cat confdefs.h >>conftest.$ac_ext
79173 cat >>conftest.$ac_ext <<_ACEOF
79174 /* end confdefs.h.  */
79175 #include <iconv.h>
79176 _ACEOF
79177 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79178   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79179   ac_status=$?
79180   grep -v '^ *+' conftest.er1 >conftest.err
79181   rm -f conftest.er1
79182   cat conftest.err >&5
79183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79184   (exit $ac_status); } >/dev/null; then
79185   if test -s conftest.err; then
79186     ac_cpp_err=$ac_c_preproc_warn_flag
79187     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79188   else
79189     ac_cpp_err=
79190   fi
79191 else
79192   ac_cpp_err=yes
79193 fi
79194 if test -z "$ac_cpp_err"; then
79195   ac_header_preproc=yes
79196 else
79197   echo "$as_me: failed program was:" >&5
79198 sed 's/^/| /' conftest.$ac_ext >&5
79199
79200   ac_header_preproc=no
79201 fi
79202 rm -f conftest.err conftest.$ac_ext
79203 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79204 echo "${ECHO_T}$ac_header_preproc" >&6
79205
79206 # So?  What about this header?
79207 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79208   yes:no: )
79209     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
79210 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79211     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
79212 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
79213     ac_header_preproc=yes
79214     ;;
79215   no:yes:* )
79216     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
79217 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
79218     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
79219 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
79220     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
79221 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
79222     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
79223 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
79224     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
79225 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
79226     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
79227 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
79228     (
79229       cat <<\_ASBOX
79230 ## ----------------------------------------- ##
79231 ## Report this to the package-unused lists.  ##
79232 ## ----------------------------------------- ##
79233 _ASBOX
79234     ) |
79235       sed "s/^/$as_me: WARNING:     /" >&2
79236     ;;
79237 esac
79238 echo "$as_me:$LINENO: checking for iconv.h" >&5
79239 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79240 if test "${ac_cv_header_iconv_h+set}" = set; then
79241   echo $ECHO_N "(cached) $ECHO_C" >&6
79242 else
79243   ac_cv_header_iconv_h=$ac_header_preproc
79244 fi
79245 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79246 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79247
79248 fi
79249 if test $ac_cv_header_iconv_h = yes; then
79250   ac_has_iconv_h=yes
79251 else
79252   ac_has_iconv_h=no
79253 fi
79254
79255
79256     if test "${ac_cv_header_langinfo_h+set}" = set; then
79257   echo "$as_me:$LINENO: checking for langinfo.h" >&5
79258 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79259 if test "${ac_cv_header_langinfo_h+set}" = set; then
79260   echo $ECHO_N "(cached) $ECHO_C" >&6
79261 fi
79262 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79263 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79264 else
79265   # Is the header compilable?
79266 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
79267 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
79268 cat >conftest.$ac_ext <<_ACEOF
79269 /* confdefs.h.  */
79270 _ACEOF
79271 cat confdefs.h >>conftest.$ac_ext
79272 cat >>conftest.$ac_ext <<_ACEOF
79273 /* end confdefs.h.  */
79274 $ac_includes_default
79275 #include <langinfo.h>
79276 _ACEOF
79277 rm -f conftest.$ac_objext
79278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79279   (eval $ac_compile) 2>conftest.er1
79280   ac_status=$?
79281   grep -v '^ *+' conftest.er1 >conftest.err
79282   rm -f conftest.er1
79283   cat conftest.err >&5
79284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79285   (exit $ac_status); } &&
79286          { ac_try='test -z "$ac_c_werror_flag"
79287                          || test ! -s conftest.err'
79288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79289   (eval $ac_try) 2>&5
79290   ac_status=$?
79291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79292   (exit $ac_status); }; } &&
79293          { ac_try='test -s conftest.$ac_objext'
79294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79295   (eval $ac_try) 2>&5
79296   ac_status=$?
79297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79298   (exit $ac_status); }; }; then
79299   ac_header_compiler=yes
79300 else
79301   echo "$as_me: failed program was:" >&5
79302 sed 's/^/| /' conftest.$ac_ext >&5
79303
79304 ac_header_compiler=no
79305 fi
79306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79307 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79308 echo "${ECHO_T}$ac_header_compiler" >&6
79309
79310 # Is the header present?
79311 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
79312 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
79313 cat >conftest.$ac_ext <<_ACEOF
79314 /* confdefs.h.  */
79315 _ACEOF
79316 cat confdefs.h >>conftest.$ac_ext
79317 cat >>conftest.$ac_ext <<_ACEOF
79318 /* end confdefs.h.  */
79319 #include <langinfo.h>
79320 _ACEOF
79321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79322   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79323   ac_status=$?
79324   grep -v '^ *+' conftest.er1 >conftest.err
79325   rm -f conftest.er1
79326   cat conftest.err >&5
79327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79328   (exit $ac_status); } >/dev/null; then
79329   if test -s conftest.err; then
79330     ac_cpp_err=$ac_c_preproc_warn_flag
79331     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79332   else
79333     ac_cpp_err=
79334   fi
79335 else
79336   ac_cpp_err=yes
79337 fi
79338 if test -z "$ac_cpp_err"; then
79339   ac_header_preproc=yes
79340 else
79341   echo "$as_me: failed program was:" >&5
79342 sed 's/^/| /' conftest.$ac_ext >&5
79343
79344   ac_header_preproc=no
79345 fi
79346 rm -f conftest.err conftest.$ac_ext
79347 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79348 echo "${ECHO_T}$ac_header_preproc" >&6
79349
79350 # So?  What about this header?
79351 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79352   yes:no: )
79353     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
79354 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79355     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
79356 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
79357     ac_header_preproc=yes
79358     ;;
79359   no:yes:* )
79360     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
79361 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
79362     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
79363 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
79364     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
79365 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
79366     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
79367 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
79368     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
79369 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
79370     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
79371 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
79372     (
79373       cat <<\_ASBOX
79374 ## ----------------------------------------- ##
79375 ## Report this to the package-unused lists.  ##
79376 ## ----------------------------------------- ##
79377 _ASBOX
79378     ) |
79379       sed "s/^/$as_me: WARNING:     /" >&2
79380     ;;
79381 esac
79382 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79383 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79384 if test "${ac_cv_header_langinfo_h+set}" = set; then
79385   echo $ECHO_N "(cached) $ECHO_C" >&6
79386 else
79387   ac_cv_header_langinfo_h=$ac_header_preproc
79388 fi
79389 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79390 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79391
79392 fi
79393 if test $ac_cv_header_langinfo_h = yes; then
79394   ac_has_langinfo_h=yes
79395 else
79396   ac_has_langinfo_h=no
79397 fi
79398
79399
79400
79401     # Check for existence of libiconv.a providing XPG2 wchar_t support.
79402     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
79403 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
79404 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
79405   echo $ECHO_N "(cached) $ECHO_C" >&6
79406 else
79407   ac_check_lib_save_LIBS=$LIBS
79408 LIBS="-liconv  $LIBS"
79409 if test x$gcc_no_link = xyes; then
79410   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79412    { (exit 1); exit 1; }; }
79413 fi
79414 cat >conftest.$ac_ext <<_ACEOF
79415 /* confdefs.h.  */
79416 _ACEOF
79417 cat confdefs.h >>conftest.$ac_ext
79418 cat >>conftest.$ac_ext <<_ACEOF
79419 /* end confdefs.h.  */
79420
79421 /* Override any gcc2 internal prototype to avoid an error.  */
79422 #ifdef __cplusplus
79423 extern "C"
79424 #endif
79425 /* We use char because int might match the return type of a gcc2
79426    builtin and then its argument prototype would still apply.  */
79427 char iconv ();
79428 int
79429 main ()
79430 {
79431 iconv ();
79432   ;
79433   return 0;
79434 }
79435 _ACEOF
79436 rm -f conftest.$ac_objext conftest$ac_exeext
79437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79438   (eval $ac_link) 2>conftest.er1
79439   ac_status=$?
79440   grep -v '^ *+' conftest.er1 >conftest.err
79441   rm -f conftest.er1
79442   cat conftest.err >&5
79443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79444   (exit $ac_status); } &&
79445          { ac_try='test -z "$ac_c_werror_flag"
79446                          || test ! -s conftest.err'
79447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79448   (eval $ac_try) 2>&5
79449   ac_status=$?
79450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79451   (exit $ac_status); }; } &&
79452          { ac_try='test -s conftest$ac_exeext'
79453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79454   (eval $ac_try) 2>&5
79455   ac_status=$?
79456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79457   (exit $ac_status); }; }; then
79458   ac_cv_lib_iconv_iconv=yes
79459 else
79460   echo "$as_me: failed program was:" >&5
79461 sed 's/^/| /' conftest.$ac_ext >&5
79462
79463 ac_cv_lib_iconv_iconv=no
79464 fi
79465 rm -f conftest.err conftest.$ac_objext \
79466       conftest$ac_exeext conftest.$ac_ext
79467 LIBS=$ac_check_lib_save_LIBS
79468 fi
79469 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
79470 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
79471 if test $ac_cv_lib_iconv_iconv = yes; then
79472   LIBICONV="-liconv"
79473 fi
79474
79475     ac_save_LIBS="$LIBS"
79476     LIBS="$LIBS $LIBICONV"
79477
79478
79479
79480
79481
79482
79483 for ac_func in iconv_open iconv_close iconv nl_langinfo
79484 do
79485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79486 echo "$as_me:$LINENO: checking for $ac_func" >&5
79487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79488 if eval "test \"\${$as_ac_var+set}\" = set"; then
79489   echo $ECHO_N "(cached) $ECHO_C" >&6
79490 else
79491   if test x$gcc_no_link = xyes; then
79492   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79494    { (exit 1); exit 1; }; }
79495 fi
79496 cat >conftest.$ac_ext <<_ACEOF
79497 /* confdefs.h.  */
79498 _ACEOF
79499 cat confdefs.h >>conftest.$ac_ext
79500 cat >>conftest.$ac_ext <<_ACEOF
79501 /* end confdefs.h.  */
79502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79503    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79504 #define $ac_func innocuous_$ac_func
79505
79506 /* System header to define __stub macros and hopefully few prototypes,
79507     which can conflict with char $ac_func (); below.
79508     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79509     <limits.h> exists even on freestanding compilers.  */
79510
79511 #ifdef __STDC__
79512 # include <limits.h>
79513 #else
79514 # include <assert.h>
79515 #endif
79516
79517 #undef $ac_func
79518
79519 /* Override any gcc2 internal prototype to avoid an error.  */
79520 #ifdef __cplusplus
79521 extern "C"
79522 {
79523 #endif
79524 /* We use char because int might match the return type of a gcc2
79525    builtin and then its argument prototype would still apply.  */
79526 char $ac_func ();
79527 /* The GNU C library defines this for functions which it implements
79528     to always fail with ENOSYS.  Some functions are actually named
79529     something starting with __ and the normal name is an alias.  */
79530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79531 choke me
79532 #else
79533 char (*f) () = $ac_func;
79534 #endif
79535 #ifdef __cplusplus
79536 }
79537 #endif
79538
79539 int
79540 main ()
79541 {
79542 return f != $ac_func;
79543   ;
79544   return 0;
79545 }
79546 _ACEOF
79547 rm -f conftest.$ac_objext conftest$ac_exeext
79548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79549   (eval $ac_link) 2>conftest.er1
79550   ac_status=$?
79551   grep -v '^ *+' conftest.er1 >conftest.err
79552   rm -f conftest.er1
79553   cat conftest.err >&5
79554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79555   (exit $ac_status); } &&
79556          { ac_try='test -z "$ac_c_werror_flag"
79557                          || test ! -s conftest.err'
79558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79559   (eval $ac_try) 2>&5
79560   ac_status=$?
79561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79562   (exit $ac_status); }; } &&
79563          { ac_try='test -s conftest$ac_exeext'
79564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79565   (eval $ac_try) 2>&5
79566   ac_status=$?
79567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79568   (exit $ac_status); }; }; then
79569   eval "$as_ac_var=yes"
79570 else
79571   echo "$as_me: failed program was:" >&5
79572 sed 's/^/| /' conftest.$ac_ext >&5
79573
79574 eval "$as_ac_var=no"
79575 fi
79576 rm -f conftest.err conftest.$ac_objext \
79577       conftest$ac_exeext conftest.$ac_ext
79578 fi
79579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79581 if test `eval echo '${'$as_ac_var'}'` = yes; then
79582   cat >>confdefs.h <<_ACEOF
79583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79584 _ACEOF
79585  ac_XPG2funcs=yes
79586 else
79587   ac_XPG2funcs=no
79588 fi
79589 done
79590
79591
79592     LIBS="$ac_save_LIBS"
79593
79594     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
79595 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
79596     if test x"$ac_has_iconv_h" = xyes &&
79597        test x"$ac_has_langinfo_h" = xyes &&
79598        test x"$ac_XPG2funcs" = xyes;
79599     then
79600       ac_XPG2_wchar_t=yes
79601     else
79602       ac_XPG2_wchar_t=no
79603     fi
79604     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
79605 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
79606
79607     # At the moment, only enable wchar_t specializations if all the
79608     # above support is present.
79609     if test x"$ac_isoC99_wchar_t" = xyes &&
79610        test x"$ac_XPG2_wchar_t" = xyes;
79611     then
79612       cat >>confdefs.h <<\_ACEOF
79613 #define _GLIBCXX_USE_WCHAR_T 1
79614 _ACEOF
79615
79616       enable_wchar_t=yes
79617     fi
79618   fi
79619   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
79620 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
79621   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
79622 echo "${ECHO_T}$enable_wchar_t" >&6
79623
79624     cat >>confdefs.h <<\_ACEOF
79625 #define HAVE_COPYSIGN 1
79626 _ACEOF
79627
79628     cat >>confdefs.h <<\_ACEOF
79629 #define HAVE_COPYSIGNF 1
79630 _ACEOF
79631
79632     cat >>confdefs.h <<\_ACEOF
79633 #define HAVE_FREXPF 1
79634 _ACEOF
79635
79636     cat >>confdefs.h <<\_ACEOF
79637 #define HAVE_HYPOT 1
79638 _ACEOF
79639
79640     case "$target" in
79641       *-hpux10*)
79642         cat >>confdefs.h <<\_ACEOF
79643 #define HAVE_FINITE 1
79644 _ACEOF
79645
79646         cat >>confdefs.h <<\_ACEOF
79647 #define HAVE_FINITEF 1
79648 _ACEOF
79649
79650         cat >>confdefs.h <<\_ACEOF
79651 #define HAVE_ISINF 1
79652 _ACEOF
79653
79654         cat >>confdefs.h <<\_ACEOF
79655 #define HAVE_ISINFF 1
79656 _ACEOF
79657
79658         cat >>confdefs.h <<\_ACEOF
79659 #define HAVE_ISNAN 1
79660 _ACEOF
79661
79662         cat >>confdefs.h <<\_ACEOF
79663 #define HAVE_ISNANF 1
79664 _ACEOF
79665
79666         ;;
79667     esac
79668     ;;
79669   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
79670
79671
79672
79673
79674
79675
79676
79677
79678
79679
79680
79681
79682
79683
79684
79685 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
79686       machine/endian.h machine/param.h sys/machine.h sys/types.h \
79687       fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
79688 do
79689 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79690 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79691   echo "$as_me:$LINENO: checking for $ac_header" >&5
79692 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79694   echo $ECHO_N "(cached) $ECHO_C" >&6
79695 fi
79696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79697 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79698 else
79699   # Is the header compilable?
79700 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79701 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79702 cat >conftest.$ac_ext <<_ACEOF
79703 /* confdefs.h.  */
79704 _ACEOF
79705 cat confdefs.h >>conftest.$ac_ext
79706 cat >>conftest.$ac_ext <<_ACEOF
79707 /* end confdefs.h.  */
79708 $ac_includes_default
79709 #include <$ac_header>
79710 _ACEOF
79711 rm -f conftest.$ac_objext
79712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79713   (eval $ac_compile) 2>conftest.er1
79714   ac_status=$?
79715   grep -v '^ *+' conftest.er1 >conftest.err
79716   rm -f conftest.er1
79717   cat conftest.err >&5
79718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79719   (exit $ac_status); } &&
79720          { ac_try='test -z "$ac_c_werror_flag"
79721                          || test ! -s conftest.err'
79722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79723   (eval $ac_try) 2>&5
79724   ac_status=$?
79725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79726   (exit $ac_status); }; } &&
79727          { ac_try='test -s conftest.$ac_objext'
79728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79729   (eval $ac_try) 2>&5
79730   ac_status=$?
79731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79732   (exit $ac_status); }; }; then
79733   ac_header_compiler=yes
79734 else
79735   echo "$as_me: failed program was:" >&5
79736 sed 's/^/| /' conftest.$ac_ext >&5
79737
79738 ac_header_compiler=no
79739 fi
79740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79741 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79742 echo "${ECHO_T}$ac_header_compiler" >&6
79743
79744 # Is the header present?
79745 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79746 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79747 cat >conftest.$ac_ext <<_ACEOF
79748 /* confdefs.h.  */
79749 _ACEOF
79750 cat confdefs.h >>conftest.$ac_ext
79751 cat >>conftest.$ac_ext <<_ACEOF
79752 /* end confdefs.h.  */
79753 #include <$ac_header>
79754 _ACEOF
79755 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79756   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79757   ac_status=$?
79758   grep -v '^ *+' conftest.er1 >conftest.err
79759   rm -f conftest.er1
79760   cat conftest.err >&5
79761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79762   (exit $ac_status); } >/dev/null; then
79763   if test -s conftest.err; then
79764     ac_cpp_err=$ac_c_preproc_warn_flag
79765     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79766   else
79767     ac_cpp_err=
79768   fi
79769 else
79770   ac_cpp_err=yes
79771 fi
79772 if test -z "$ac_cpp_err"; then
79773   ac_header_preproc=yes
79774 else
79775   echo "$as_me: failed program was:" >&5
79776 sed 's/^/| /' conftest.$ac_ext >&5
79777
79778   ac_header_preproc=no
79779 fi
79780 rm -f conftest.err conftest.$ac_ext
79781 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79782 echo "${ECHO_T}$ac_header_preproc" >&6
79783
79784 # So?  What about this header?
79785 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79786   yes:no: )
79787     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79788 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79789     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79790 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79791     ac_header_preproc=yes
79792     ;;
79793   no:yes:* )
79794     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79795 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79796     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
79797 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
79798     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79799 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79800     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
79801 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
79802     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79803 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79804     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79805 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79806     (
79807       cat <<\_ASBOX
79808 ## ----------------------------------------- ##
79809 ## Report this to the package-unused lists.  ##
79810 ## ----------------------------------------- ##
79811 _ASBOX
79812     ) |
79813       sed "s/^/$as_me: WARNING:     /" >&2
79814     ;;
79815 esac
79816 echo "$as_me:$LINENO: checking for $ac_header" >&5
79817 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79818 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79819   echo $ECHO_N "(cached) $ECHO_C" >&6
79820 else
79821   eval "$as_ac_Header=\$ac_header_preproc"
79822 fi
79823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79825
79826 fi
79827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79828   cat >>confdefs.h <<_ACEOF
79829 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79830 _ACEOF
79831
79832 fi
79833
79834 done
79835
79836     SECTION_FLAGS='-ffunction-sections -fdata-sections'
79837
79838
79839   # If we're not using GNU ld, then there's no point in even trying these
79840   # tests.  Check for that first.  We should have already tested for gld
79841   # by now (in libtool), but require it now just to be safe...
79842   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79843   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79844
79845
79846
79847   # The name set by libtool depends on the version of libtool.  Shame on us
79848   # for depending on an impl detail, but c'est la vie.  Older versions used
79849   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79850   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79851   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
79852   # set (hence we're using an older libtool), then set it.
79853   if test x${with_gnu_ld+set} != xset; then
79854     if test x${ac_cv_prog_gnu_ld+set} != xset; then
79855       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
79856       with_gnu_ld=no
79857     else
79858       with_gnu_ld=$ac_cv_prog_gnu_ld
79859     fi
79860   fi
79861
79862   # Start by getting the version number.  I think the libtool test already
79863   # does some of this, but throws away the result.
79864
79865   ldver=`$LD --version 2>/dev/null | head -1 | \
79866          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
79867
79868   glibcxx_gnu_ld_version=`echo $ldver | \
79869          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79870
79871   # Set --gc-sections.
79872   if test "$with_gnu_ld" = "notbroken"; then
79873     # GNU ld it is!  Joy and bunny rabbits!
79874
79875     # All these tests are for C++; save the language and the compiler flags.
79876     # Need to do this so that g++ won't try to link in libstdc++
79877     ac_test_CFLAGS="${CFLAGS+set}"
79878     ac_save_CFLAGS="$CFLAGS"
79879     CFLAGS='-x c++  -Wl,--gc-sections'
79880
79881     # Check for -Wl,--gc-sections
79882     # XXX This test is broken at the moment, as symbols required for linking
79883     # are now in libsupc++ (not built yet).  In addition, this test has
79884     # cored on solaris in the past.  In addition, --gc-sections doesn't
79885     # really work at the moment (keeps on discarding used sections, first
79886     # .eh_frame and now some of the glibc sections for iconv).
79887     # Bzzzzt.  Thanks for playing, maybe next time.
79888     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79889 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79890     if test "$cross_compiling" = yes; then
79891   ac_sectionLDflags=yes
79892 else
79893   cat >conftest.$ac_ext <<_ACEOF
79894 /* confdefs.h.  */
79895 _ACEOF
79896 cat confdefs.h >>conftest.$ac_ext
79897 cat >>conftest.$ac_ext <<_ACEOF
79898 /* end confdefs.h.  */
79899
79900      int main(void)
79901      {
79902        try { throw 1; }
79903        catch (...) { };
79904        return 0;
79905      }
79906
79907 _ACEOF
79908 rm -f conftest$ac_exeext
79909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79910   (eval $ac_link) 2>&5
79911   ac_status=$?
79912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79913   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
79914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79915   (eval $ac_try) 2>&5
79916   ac_status=$?
79917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79918   (exit $ac_status); }; }; then
79919   ac_sectionLDflags=yes
79920 else
79921   echo "$as_me: program exited with status $ac_status" >&5
79922 echo "$as_me: failed program was:" >&5
79923 sed 's/^/| /' conftest.$ac_ext >&5
79924
79925 ( exit $ac_status )
79926 ac_sectionLDflags=no
79927 fi
79928 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
79929 fi
79930     if test "$ac_test_CFLAGS" = set; then
79931       CFLAGS="$ac_save_CFLAGS"
79932     else
79933       # this is the suspicious part
79934       CFLAGS=''
79935     fi
79936     if test "$ac_sectionLDflags" = "yes"; then
79937       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79938     fi
79939     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
79940 echo "${ECHO_T}$ac_sectionLDflags" >&6
79941   fi
79942
79943   # Set linker optimization flags.
79944   if test x"$with_gnu_ld" = x"yes"; then
79945     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79946   fi
79947
79948
79949
79950
79951
79952
79953 echo "$as_me:$LINENO: checking for main in -lm" >&5
79954 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79955 if test "${ac_cv_lib_m_main+set}" = set; then
79956   echo $ECHO_N "(cached) $ECHO_C" >&6
79957 else
79958   ac_check_lib_save_LIBS=$LIBS
79959 LIBS="-lm  $LIBS"
79960 if test x$gcc_no_link = xyes; then
79961   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79963    { (exit 1); exit 1; }; }
79964 fi
79965 cat >conftest.$ac_ext <<_ACEOF
79966 /* confdefs.h.  */
79967 _ACEOF
79968 cat confdefs.h >>conftest.$ac_ext
79969 cat >>conftest.$ac_ext <<_ACEOF
79970 /* end confdefs.h.  */
79971
79972
79973 int
79974 main ()
79975 {
79976 main ();
79977   ;
79978   return 0;
79979 }
79980 _ACEOF
79981 rm -f conftest.$ac_objext conftest$ac_exeext
79982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79983   (eval $ac_link) 2>conftest.er1
79984   ac_status=$?
79985   grep -v '^ *+' conftest.er1 >conftest.err
79986   rm -f conftest.er1
79987   cat conftest.err >&5
79988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79989   (exit $ac_status); } &&
79990          { ac_try='test -z "$ac_c_werror_flag"
79991                          || test ! -s conftest.err'
79992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79993   (eval $ac_try) 2>&5
79994   ac_status=$?
79995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79996   (exit $ac_status); }; } &&
79997          { ac_try='test -s conftest$ac_exeext'
79998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79999   (eval $ac_try) 2>&5
80000   ac_status=$?
80001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80002   (exit $ac_status); }; }; then
80003   ac_cv_lib_m_main=yes
80004 else
80005   echo "$as_me: failed program was:" >&5
80006 sed 's/^/| /' conftest.$ac_ext >&5
80007
80008 ac_cv_lib_m_main=no
80009 fi
80010 rm -f conftest.err conftest.$ac_objext \
80011       conftest$ac_exeext conftest.$ac_ext
80012 LIBS=$ac_check_lib_save_LIBS
80013 fi
80014 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
80015 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
80016 if test $ac_cv_lib_m_main = yes; then
80017   cat >>confdefs.h <<_ACEOF
80018 #define HAVE_LIBM 1
80019 _ACEOF
80020
80021   LIBS="-lm $LIBS"
80022
80023 fi
80024
80025
80026 for ac_func in copysignf
80027 do
80028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80029 echo "$as_me:$LINENO: checking for $ac_func" >&5
80030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80031 if eval "test \"\${$as_ac_var+set}\" = set"; then
80032   echo $ECHO_N "(cached) $ECHO_C" >&6
80033 else
80034   if test x$gcc_no_link = xyes; then
80035   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80037    { (exit 1); exit 1; }; }
80038 fi
80039 cat >conftest.$ac_ext <<_ACEOF
80040 /* confdefs.h.  */
80041 _ACEOF
80042 cat confdefs.h >>conftest.$ac_ext
80043 cat >>conftest.$ac_ext <<_ACEOF
80044 /* end confdefs.h.  */
80045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80046    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80047 #define $ac_func innocuous_$ac_func
80048
80049 /* System header to define __stub macros and hopefully few prototypes,
80050     which can conflict with char $ac_func (); below.
80051     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80052     <limits.h> exists even on freestanding compilers.  */
80053
80054 #ifdef __STDC__
80055 # include <limits.h>
80056 #else
80057 # include <assert.h>
80058 #endif
80059
80060 #undef $ac_func
80061
80062 /* Override any gcc2 internal prototype to avoid an error.  */
80063 #ifdef __cplusplus
80064 extern "C"
80065 {
80066 #endif
80067 /* We use char because int might match the return type of a gcc2
80068    builtin and then its argument prototype would still apply.  */
80069 char $ac_func ();
80070 /* The GNU C library defines this for functions which it implements
80071     to always fail with ENOSYS.  Some functions are actually named
80072     something starting with __ and the normal name is an alias.  */
80073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80074 choke me
80075 #else
80076 char (*f) () = $ac_func;
80077 #endif
80078 #ifdef __cplusplus
80079 }
80080 #endif
80081
80082 int
80083 main ()
80084 {
80085 return f != $ac_func;
80086   ;
80087   return 0;
80088 }
80089 _ACEOF
80090 rm -f conftest.$ac_objext conftest$ac_exeext
80091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80092   (eval $ac_link) 2>conftest.er1
80093   ac_status=$?
80094   grep -v '^ *+' conftest.er1 >conftest.err
80095   rm -f conftest.er1
80096   cat conftest.err >&5
80097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80098   (exit $ac_status); } &&
80099          { ac_try='test -z "$ac_c_werror_flag"
80100                          || test ! -s conftest.err'
80101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80102   (eval $ac_try) 2>&5
80103   ac_status=$?
80104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80105   (exit $ac_status); }; } &&
80106          { ac_try='test -s conftest$ac_exeext'
80107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80108   (eval $ac_try) 2>&5
80109   ac_status=$?
80110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80111   (exit $ac_status); }; }; then
80112   eval "$as_ac_var=yes"
80113 else
80114   echo "$as_me: failed program was:" >&5
80115 sed 's/^/| /' conftest.$ac_ext >&5
80116
80117 eval "$as_ac_var=no"
80118 fi
80119 rm -f conftest.err conftest.$ac_objext \
80120       conftest$ac_exeext conftest.$ac_ext
80121 fi
80122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80124 if test `eval echo '${'$as_ac_var'}'` = yes; then
80125   cat >>confdefs.h <<_ACEOF
80126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80127 _ACEOF
80128
80129 else
80130   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80131 fi
80132 done
80133
80134
80135
80136 for ac_func in __signbit
80137 do
80138 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80139 echo "$as_me:$LINENO: checking for $ac_func" >&5
80140 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80141 if eval "test \"\${$as_ac_var+set}\" = set"; then
80142   echo $ECHO_N "(cached) $ECHO_C" >&6
80143 else
80144   if test x$gcc_no_link = xyes; then
80145   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80147    { (exit 1); exit 1; }; }
80148 fi
80149 cat >conftest.$ac_ext <<_ACEOF
80150 /* confdefs.h.  */
80151 _ACEOF
80152 cat confdefs.h >>conftest.$ac_ext
80153 cat >>conftest.$ac_ext <<_ACEOF
80154 /* end confdefs.h.  */
80155 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80156    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80157 #define $ac_func innocuous_$ac_func
80158
80159 /* System header to define __stub macros and hopefully few prototypes,
80160     which can conflict with char $ac_func (); below.
80161     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80162     <limits.h> exists even on freestanding compilers.  */
80163
80164 #ifdef __STDC__
80165 # include <limits.h>
80166 #else
80167 # include <assert.h>
80168 #endif
80169
80170 #undef $ac_func
80171
80172 /* Override any gcc2 internal prototype to avoid an error.  */
80173 #ifdef __cplusplus
80174 extern "C"
80175 {
80176 #endif
80177 /* We use char because int might match the return type of a gcc2
80178    builtin and then its argument prototype would still apply.  */
80179 char $ac_func ();
80180 /* The GNU C library defines this for functions which it implements
80181     to always fail with ENOSYS.  Some functions are actually named
80182     something starting with __ and the normal name is an alias.  */
80183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80184 choke me
80185 #else
80186 char (*f) () = $ac_func;
80187 #endif
80188 #ifdef __cplusplus
80189 }
80190 #endif
80191
80192 int
80193 main ()
80194 {
80195 return f != $ac_func;
80196   ;
80197   return 0;
80198 }
80199 _ACEOF
80200 rm -f conftest.$ac_objext conftest$ac_exeext
80201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80202   (eval $ac_link) 2>conftest.er1
80203   ac_status=$?
80204   grep -v '^ *+' conftest.er1 >conftest.err
80205   rm -f conftest.er1
80206   cat conftest.err >&5
80207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80208   (exit $ac_status); } &&
80209          { ac_try='test -z "$ac_c_werror_flag"
80210                          || test ! -s conftest.err'
80211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80212   (eval $ac_try) 2>&5
80213   ac_status=$?
80214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80215   (exit $ac_status); }; } &&
80216          { ac_try='test -s conftest$ac_exeext'
80217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80218   (eval $ac_try) 2>&5
80219   ac_status=$?
80220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80221   (exit $ac_status); }; }; then
80222   eval "$as_ac_var=yes"
80223 else
80224   echo "$as_me: failed program was:" >&5
80225 sed 's/^/| /' conftest.$ac_ext >&5
80226
80227 eval "$as_ac_var=no"
80228 fi
80229 rm -f conftest.err conftest.$ac_objext \
80230       conftest$ac_exeext conftest.$ac_ext
80231 fi
80232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80233 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80234 if test `eval echo '${'$as_ac_var'}'` = yes; then
80235   cat >>confdefs.h <<_ACEOF
80236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80237 _ACEOF
80238
80239 else
80240   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80241 fi
80242 done
80243
80244
80245
80246 for ac_func in __signbitf
80247 do
80248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80249 echo "$as_me:$LINENO: checking for $ac_func" >&5
80250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80251 if eval "test \"\${$as_ac_var+set}\" = set"; then
80252   echo $ECHO_N "(cached) $ECHO_C" >&6
80253 else
80254   if test x$gcc_no_link = xyes; then
80255   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80257    { (exit 1); exit 1; }; }
80258 fi
80259 cat >conftest.$ac_ext <<_ACEOF
80260 /* confdefs.h.  */
80261 _ACEOF
80262 cat confdefs.h >>conftest.$ac_ext
80263 cat >>conftest.$ac_ext <<_ACEOF
80264 /* end confdefs.h.  */
80265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80266    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80267 #define $ac_func innocuous_$ac_func
80268
80269 /* System header to define __stub macros and hopefully few prototypes,
80270     which can conflict with char $ac_func (); below.
80271     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80272     <limits.h> exists even on freestanding compilers.  */
80273
80274 #ifdef __STDC__
80275 # include <limits.h>
80276 #else
80277 # include <assert.h>
80278 #endif
80279
80280 #undef $ac_func
80281
80282 /* Override any gcc2 internal prototype to avoid an error.  */
80283 #ifdef __cplusplus
80284 extern "C"
80285 {
80286 #endif
80287 /* We use char because int might match the return type of a gcc2
80288    builtin and then its argument prototype would still apply.  */
80289 char $ac_func ();
80290 /* The GNU C library defines this for functions which it implements
80291     to always fail with ENOSYS.  Some functions are actually named
80292     something starting with __ and the normal name is an alias.  */
80293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80294 choke me
80295 #else
80296 char (*f) () = $ac_func;
80297 #endif
80298 #ifdef __cplusplus
80299 }
80300 #endif
80301
80302 int
80303 main ()
80304 {
80305 return f != $ac_func;
80306   ;
80307   return 0;
80308 }
80309 _ACEOF
80310 rm -f conftest.$ac_objext conftest$ac_exeext
80311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80312   (eval $ac_link) 2>conftest.er1
80313   ac_status=$?
80314   grep -v '^ *+' conftest.er1 >conftest.err
80315   rm -f conftest.er1
80316   cat conftest.err >&5
80317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80318   (exit $ac_status); } &&
80319          { ac_try='test -z "$ac_c_werror_flag"
80320                          || test ! -s conftest.err'
80321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80322   (eval $ac_try) 2>&5
80323   ac_status=$?
80324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80325   (exit $ac_status); }; } &&
80326          { ac_try='test -s conftest$ac_exeext'
80327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80328   (eval $ac_try) 2>&5
80329   ac_status=$?
80330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80331   (exit $ac_status); }; }; then
80332   eval "$as_ac_var=yes"
80333 else
80334   echo "$as_me: failed program was:" >&5
80335 sed 's/^/| /' conftest.$ac_ext >&5
80336
80337 eval "$as_ac_var=no"
80338 fi
80339 rm -f conftest.err conftest.$ac_objext \
80340       conftest$ac_exeext conftest.$ac_ext
80341 fi
80342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80344 if test `eval echo '${'$as_ac_var'}'` = yes; then
80345   cat >>confdefs.h <<_ACEOF
80346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80347 _ACEOF
80348
80349 else
80350   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80351 fi
80352 done
80353
80354
80355           if test x$ac_cv_func_copysignl = x"yes"; then
80356
80357 for ac_func in __signbitl
80358 do
80359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80360 echo "$as_me:$LINENO: checking for $ac_func" >&5
80361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80362 if eval "test \"\${$as_ac_var+set}\" = set"; then
80363   echo $ECHO_N "(cached) $ECHO_C" >&6
80364 else
80365   if test x$gcc_no_link = xyes; then
80366   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80368    { (exit 1); exit 1; }; }
80369 fi
80370 cat >conftest.$ac_ext <<_ACEOF
80371 /* confdefs.h.  */
80372 _ACEOF
80373 cat confdefs.h >>conftest.$ac_ext
80374 cat >>conftest.$ac_ext <<_ACEOF
80375 /* end confdefs.h.  */
80376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80377    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80378 #define $ac_func innocuous_$ac_func
80379
80380 /* System header to define __stub macros and hopefully few prototypes,
80381     which can conflict with char $ac_func (); below.
80382     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80383     <limits.h> exists even on freestanding compilers.  */
80384
80385 #ifdef __STDC__
80386 # include <limits.h>
80387 #else
80388 # include <assert.h>
80389 #endif
80390
80391 #undef $ac_func
80392
80393 /* Override any gcc2 internal prototype to avoid an error.  */
80394 #ifdef __cplusplus
80395 extern "C"
80396 {
80397 #endif
80398 /* We use char because int might match the return type of a gcc2
80399    builtin and then its argument prototype would still apply.  */
80400 char $ac_func ();
80401 /* The GNU C library defines this for functions which it implements
80402     to always fail with ENOSYS.  Some functions are actually named
80403     something starting with __ and the normal name is an alias.  */
80404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80405 choke me
80406 #else
80407 char (*f) () = $ac_func;
80408 #endif
80409 #ifdef __cplusplus
80410 }
80411 #endif
80412
80413 int
80414 main ()
80415 {
80416 return f != $ac_func;
80417   ;
80418   return 0;
80419 }
80420 _ACEOF
80421 rm -f conftest.$ac_objext conftest$ac_exeext
80422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80423   (eval $ac_link) 2>conftest.er1
80424   ac_status=$?
80425   grep -v '^ *+' conftest.er1 >conftest.err
80426   rm -f conftest.er1
80427   cat conftest.err >&5
80428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80429   (exit $ac_status); } &&
80430          { ac_try='test -z "$ac_c_werror_flag"
80431                          || test ! -s conftest.err'
80432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80433   (eval $ac_try) 2>&5
80434   ac_status=$?
80435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80436   (exit $ac_status); }; } &&
80437          { ac_try='test -s conftest$ac_exeext'
80438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80439   (eval $ac_try) 2>&5
80440   ac_status=$?
80441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80442   (exit $ac_status); }; }; then
80443   eval "$as_ac_var=yes"
80444 else
80445   echo "$as_me: failed program was:" >&5
80446 sed 's/^/| /' conftest.$ac_ext >&5
80447
80448 eval "$as_ac_var=no"
80449 fi
80450 rm -f conftest.err conftest.$ac_objext \
80451       conftest$ac_exeext conftest.$ac_ext
80452 fi
80453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80455 if test `eval echo '${'$as_ac_var'}'` = yes; then
80456   cat >>confdefs.h <<_ACEOF
80457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80458 _ACEOF
80459
80460 else
80461   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
80462 fi
80463 done
80464
80465   fi
80466
80467   # Used in libmath/Makefile.am.
80468   if test -n "$LIBMATHOBJS"; then
80469     need_libmath=yes
80470   fi
80471
80472
80473
80474   # Test wchar.h for mbstate_t, which is needed for char_traits and
80475   # others even if wchar_t support is not on.
80476   echo "$as_me:$LINENO: checking for mbstate_t" >&5
80477 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
80478   cat >conftest.$ac_ext <<_ACEOF
80479 /* confdefs.h.  */
80480 _ACEOF
80481 cat confdefs.h >>conftest.$ac_ext
80482 cat >>conftest.$ac_ext <<_ACEOF
80483 /* end confdefs.h.  */
80484 #include <wchar.h>
80485 int
80486 main ()
80487 {
80488 mbstate_t teststate;
80489   ;
80490   return 0;
80491 }
80492 _ACEOF
80493 rm -f conftest.$ac_objext
80494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80495   (eval $ac_compile) 2>conftest.er1
80496   ac_status=$?
80497   grep -v '^ *+' conftest.er1 >conftest.err
80498   rm -f conftest.er1
80499   cat conftest.err >&5
80500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80501   (exit $ac_status); } &&
80502          { ac_try='test -z "$ac_c_werror_flag"
80503                          || test ! -s conftest.err'
80504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80505   (eval $ac_try) 2>&5
80506   ac_status=$?
80507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80508   (exit $ac_status); }; } &&
80509          { ac_try='test -s conftest.$ac_objext'
80510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80511   (eval $ac_try) 2>&5
80512   ac_status=$?
80513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80514   (exit $ac_status); }; }; then
80515   have_mbstate_t=yes
80516 else
80517   echo "$as_me: failed program was:" >&5
80518 sed 's/^/| /' conftest.$ac_ext >&5
80519
80520 have_mbstate_t=no
80521 fi
80522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80523   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
80524 echo "${ECHO_T}$have_mbstate_t" >&6
80525   if test x"$have_mbstate_t" = xyes; then
80526     cat >>confdefs.h <<\_ACEOF
80527 #define HAVE_MBSTATE_T 1
80528 _ACEOF
80529
80530   fi
80531
80532   # Sanity check for existence of ISO C99 headers for extended encoding.
80533
80534 for ac_header in wchar.h
80535 do
80536 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80538   echo "$as_me:$LINENO: checking for $ac_header" >&5
80539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80540 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80541   echo $ECHO_N "(cached) $ECHO_C" >&6
80542 fi
80543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80544 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80545 else
80546   # Is the header compilable?
80547 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80548 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80549 cat >conftest.$ac_ext <<_ACEOF
80550 /* confdefs.h.  */
80551 _ACEOF
80552 cat confdefs.h >>conftest.$ac_ext
80553 cat >>conftest.$ac_ext <<_ACEOF
80554 /* end confdefs.h.  */
80555 $ac_includes_default
80556 #include <$ac_header>
80557 _ACEOF
80558 rm -f conftest.$ac_objext
80559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80560   (eval $ac_compile) 2>conftest.er1
80561   ac_status=$?
80562   grep -v '^ *+' conftest.er1 >conftest.err
80563   rm -f conftest.er1
80564   cat conftest.err >&5
80565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80566   (exit $ac_status); } &&
80567          { ac_try='test -z "$ac_c_werror_flag"
80568                          || test ! -s conftest.err'
80569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80570   (eval $ac_try) 2>&5
80571   ac_status=$?
80572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80573   (exit $ac_status); }; } &&
80574          { ac_try='test -s conftest.$ac_objext'
80575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80576   (eval $ac_try) 2>&5
80577   ac_status=$?
80578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80579   (exit $ac_status); }; }; then
80580   ac_header_compiler=yes
80581 else
80582   echo "$as_me: failed program was:" >&5
80583 sed 's/^/| /' conftest.$ac_ext >&5
80584
80585 ac_header_compiler=no
80586 fi
80587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80588 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80589 echo "${ECHO_T}$ac_header_compiler" >&6
80590
80591 # Is the header present?
80592 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80593 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80594 cat >conftest.$ac_ext <<_ACEOF
80595 /* confdefs.h.  */
80596 _ACEOF
80597 cat confdefs.h >>conftest.$ac_ext
80598 cat >>conftest.$ac_ext <<_ACEOF
80599 /* end confdefs.h.  */
80600 #include <$ac_header>
80601 _ACEOF
80602 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80603   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80604   ac_status=$?
80605   grep -v '^ *+' conftest.er1 >conftest.err
80606   rm -f conftest.er1
80607   cat conftest.err >&5
80608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80609   (exit $ac_status); } >/dev/null; then
80610   if test -s conftest.err; then
80611     ac_cpp_err=$ac_c_preproc_warn_flag
80612     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80613   else
80614     ac_cpp_err=
80615   fi
80616 else
80617   ac_cpp_err=yes
80618 fi
80619 if test -z "$ac_cpp_err"; then
80620   ac_header_preproc=yes
80621 else
80622   echo "$as_me: failed program was:" >&5
80623 sed 's/^/| /' conftest.$ac_ext >&5
80624
80625   ac_header_preproc=no
80626 fi
80627 rm -f conftest.err conftest.$ac_ext
80628 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80629 echo "${ECHO_T}$ac_header_preproc" >&6
80630
80631 # So?  What about this header?
80632 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80633   yes:no: )
80634     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80635 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80636     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80637 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80638     ac_header_preproc=yes
80639     ;;
80640   no:yes:* )
80641     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80642 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80643     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
80644 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
80645     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80646 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80647     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
80648 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
80649     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80650 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80651     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80652 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80653     (
80654       cat <<\_ASBOX
80655 ## ----------------------------------------- ##
80656 ## Report this to the package-unused lists.  ##
80657 ## ----------------------------------------- ##
80658 _ASBOX
80659     ) |
80660       sed "s/^/$as_me: WARNING:     /" >&2
80661     ;;
80662 esac
80663 echo "$as_me:$LINENO: checking for $ac_header" >&5
80664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80666   echo $ECHO_N "(cached) $ECHO_C" >&6
80667 else
80668   eval "$as_ac_Header=\$ac_header_preproc"
80669 fi
80670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80671 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80672
80673 fi
80674 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80675   cat >>confdefs.h <<_ACEOF
80676 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80677 _ACEOF
80678  ac_has_wchar_h=yes
80679 else
80680   ac_has_wchar_h=no
80681 fi
80682
80683 done
80684
80685
80686 for ac_header in wctype.h
80687 do
80688 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80689 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80690   echo "$as_me:$LINENO: checking for $ac_header" >&5
80691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80693   echo $ECHO_N "(cached) $ECHO_C" >&6
80694 fi
80695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80696 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80697 else
80698   # Is the header compilable?
80699 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80700 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80701 cat >conftest.$ac_ext <<_ACEOF
80702 /* confdefs.h.  */
80703 _ACEOF
80704 cat confdefs.h >>conftest.$ac_ext
80705 cat >>conftest.$ac_ext <<_ACEOF
80706 /* end confdefs.h.  */
80707 $ac_includes_default
80708 #include <$ac_header>
80709 _ACEOF
80710 rm -f conftest.$ac_objext
80711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80712   (eval $ac_compile) 2>conftest.er1
80713   ac_status=$?
80714   grep -v '^ *+' conftest.er1 >conftest.err
80715   rm -f conftest.er1
80716   cat conftest.err >&5
80717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80718   (exit $ac_status); } &&
80719          { ac_try='test -z "$ac_c_werror_flag"
80720                          || test ! -s conftest.err'
80721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80722   (eval $ac_try) 2>&5
80723   ac_status=$?
80724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80725   (exit $ac_status); }; } &&
80726          { ac_try='test -s conftest.$ac_objext'
80727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80728   (eval $ac_try) 2>&5
80729   ac_status=$?
80730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80731   (exit $ac_status); }; }; then
80732   ac_header_compiler=yes
80733 else
80734   echo "$as_me: failed program was:" >&5
80735 sed 's/^/| /' conftest.$ac_ext >&5
80736
80737 ac_header_compiler=no
80738 fi
80739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80740 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80741 echo "${ECHO_T}$ac_header_compiler" >&6
80742
80743 # Is the header present?
80744 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80745 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80746 cat >conftest.$ac_ext <<_ACEOF
80747 /* confdefs.h.  */
80748 _ACEOF
80749 cat confdefs.h >>conftest.$ac_ext
80750 cat >>conftest.$ac_ext <<_ACEOF
80751 /* end confdefs.h.  */
80752 #include <$ac_header>
80753 _ACEOF
80754 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80755   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80756   ac_status=$?
80757   grep -v '^ *+' conftest.er1 >conftest.err
80758   rm -f conftest.er1
80759   cat conftest.err >&5
80760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80761   (exit $ac_status); } >/dev/null; then
80762   if test -s conftest.err; then
80763     ac_cpp_err=$ac_c_preproc_warn_flag
80764     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80765   else
80766     ac_cpp_err=
80767   fi
80768 else
80769   ac_cpp_err=yes
80770 fi
80771 if test -z "$ac_cpp_err"; then
80772   ac_header_preproc=yes
80773 else
80774   echo "$as_me: failed program was:" >&5
80775 sed 's/^/| /' conftest.$ac_ext >&5
80776
80777   ac_header_preproc=no
80778 fi
80779 rm -f conftest.err conftest.$ac_ext
80780 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80781 echo "${ECHO_T}$ac_header_preproc" >&6
80782
80783 # So?  What about this header?
80784 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80785   yes:no: )
80786     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80787 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80788     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80789 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80790     ac_header_preproc=yes
80791     ;;
80792   no:yes:* )
80793     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80794 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80795     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
80796 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
80797     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80798 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80799     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
80800 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
80801     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80802 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80803     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80804 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80805     (
80806       cat <<\_ASBOX
80807 ## ----------------------------------------- ##
80808 ## Report this to the package-unused lists.  ##
80809 ## ----------------------------------------- ##
80810 _ASBOX
80811     ) |
80812       sed "s/^/$as_me: WARNING:     /" >&2
80813     ;;
80814 esac
80815 echo "$as_me:$LINENO: checking for $ac_header" >&5
80816 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80818   echo $ECHO_N "(cached) $ECHO_C" >&6
80819 else
80820   eval "$as_ac_Header=\$ac_header_preproc"
80821 fi
80822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80823 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80824
80825 fi
80826 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80827   cat >>confdefs.h <<_ACEOF
80828 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80829 _ACEOF
80830  ac_has_wctype_h=yes
80831 else
80832   ac_has_wctype_h=no
80833 fi
80834
80835 done
80836
80837
80838   # Only continue checking if the ISO C99 headers exist and support is on.
80839   if test x"$ac_has_wchar_h" = xyes &&
80840      test x"$ac_has_wctype_h" = xyes &&
80841      test x"$enable_c_mbchar" != xno; then
80842
80843     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
80844     # numeric_limits can instantiate type_traits<wchar_t>
80845     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
80846 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
80847     cat >conftest.$ac_ext <<_ACEOF
80848 /* confdefs.h.  */
80849 _ACEOF
80850 cat confdefs.h >>conftest.$ac_ext
80851 cat >>conftest.$ac_ext <<_ACEOF
80852 /* end confdefs.h.  */
80853 #include <wchar.h>
80854 int
80855 main ()
80856 {
80857 int i = WCHAR_MIN; int j = WCHAR_MAX;
80858   ;
80859   return 0;
80860 }
80861 _ACEOF
80862 rm -f conftest.$ac_objext
80863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80864   (eval $ac_compile) 2>conftest.er1
80865   ac_status=$?
80866   grep -v '^ *+' conftest.er1 >conftest.err
80867   rm -f conftest.er1
80868   cat conftest.err >&5
80869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80870   (exit $ac_status); } &&
80871          { ac_try='test -z "$ac_c_werror_flag"
80872                          || test ! -s conftest.err'
80873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80874   (eval $ac_try) 2>&5
80875   ac_status=$?
80876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80877   (exit $ac_status); }; } &&
80878          { ac_try='test -s conftest.$ac_objext'
80879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80880   (eval $ac_try) 2>&5
80881   ac_status=$?
80882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80883   (exit $ac_status); }; }; then
80884   has_wchar_minmax=yes
80885 else
80886   echo "$as_me: failed program was:" >&5
80887 sed 's/^/| /' conftest.$ac_ext >&5
80888
80889 has_wchar_minmax=no
80890 fi
80891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80892     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
80893 echo "${ECHO_T}$has_wchar_minmax" >&6
80894
80895     # Test wchar.h for WEOF, which is what we use to determine whether
80896     # to specialize for char_traits<wchar_t> or not.
80897     echo "$as_me:$LINENO: checking for WEOF" >&5
80898 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
80899     cat >conftest.$ac_ext <<_ACEOF
80900 /* confdefs.h.  */
80901 _ACEOF
80902 cat confdefs.h >>conftest.$ac_ext
80903 cat >>conftest.$ac_ext <<_ACEOF
80904 /* end confdefs.h.  */
80905
80906       #include <wchar.h>
80907       #include <stddef.h>
80908 int
80909 main ()
80910 {
80911 wint_t i = WEOF;
80912   ;
80913   return 0;
80914 }
80915 _ACEOF
80916 rm -f conftest.$ac_objext
80917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80918   (eval $ac_compile) 2>conftest.er1
80919   ac_status=$?
80920   grep -v '^ *+' conftest.er1 >conftest.err
80921   rm -f conftest.er1
80922   cat conftest.err >&5
80923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80924   (exit $ac_status); } &&
80925          { ac_try='test -z "$ac_c_werror_flag"
80926                          || test ! -s conftest.err'
80927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80928   (eval $ac_try) 2>&5
80929   ac_status=$?
80930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80931   (exit $ac_status); }; } &&
80932          { ac_try='test -s conftest.$ac_objext'
80933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80934   (eval $ac_try) 2>&5
80935   ac_status=$?
80936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80937   (exit $ac_status); }; }; then
80938   has_weof=yes
80939 else
80940   echo "$as_me: failed program was:" >&5
80941 sed 's/^/| /' conftest.$ac_ext >&5
80942
80943 has_weof=no
80944 fi
80945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80946     echo "$as_me:$LINENO: result: $has_weof" >&5
80947 echo "${ECHO_T}$has_weof" >&6
80948
80949     # Tests for wide character functions used in char_traits<wchar_t>.
80950     ac_wfuncs=yes
80951
80952
80953
80954
80955
80956
80957 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
80958 do
80959 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80960 echo "$as_me:$LINENO: checking for $ac_func" >&5
80961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80962 if eval "test \"\${$as_ac_var+set}\" = set"; then
80963   echo $ECHO_N "(cached) $ECHO_C" >&6
80964 else
80965   if test x$gcc_no_link = xyes; then
80966   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80968    { (exit 1); exit 1; }; }
80969 fi
80970 cat >conftest.$ac_ext <<_ACEOF
80971 /* confdefs.h.  */
80972 _ACEOF
80973 cat confdefs.h >>conftest.$ac_ext
80974 cat >>conftest.$ac_ext <<_ACEOF
80975 /* end confdefs.h.  */
80976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80977    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80978 #define $ac_func innocuous_$ac_func
80979
80980 /* System header to define __stub macros and hopefully few prototypes,
80981     which can conflict with char $ac_func (); below.
80982     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80983     <limits.h> exists even on freestanding compilers.  */
80984
80985 #ifdef __STDC__
80986 # include <limits.h>
80987 #else
80988 # include <assert.h>
80989 #endif
80990
80991 #undef $ac_func
80992
80993 /* Override any gcc2 internal prototype to avoid an error.  */
80994 #ifdef __cplusplus
80995 extern "C"
80996 {
80997 #endif
80998 /* We use char because int might match the return type of a gcc2
80999    builtin and then its argument prototype would still apply.  */
81000 char $ac_func ();
81001 /* The GNU C library defines this for functions which it implements
81002     to always fail with ENOSYS.  Some functions are actually named
81003     something starting with __ and the normal name is an alias.  */
81004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81005 choke me
81006 #else
81007 char (*f) () = $ac_func;
81008 #endif
81009 #ifdef __cplusplus
81010 }
81011 #endif
81012
81013 int
81014 main ()
81015 {
81016 return f != $ac_func;
81017   ;
81018   return 0;
81019 }
81020 _ACEOF
81021 rm -f conftest.$ac_objext conftest$ac_exeext
81022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81023   (eval $ac_link) 2>conftest.er1
81024   ac_status=$?
81025   grep -v '^ *+' conftest.er1 >conftest.err
81026   rm -f conftest.er1
81027   cat conftest.err >&5
81028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81029   (exit $ac_status); } &&
81030          { ac_try='test -z "$ac_c_werror_flag"
81031                          || test ! -s conftest.err'
81032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81033   (eval $ac_try) 2>&5
81034   ac_status=$?
81035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81036   (exit $ac_status); }; } &&
81037          { ac_try='test -s conftest$ac_exeext'
81038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81039   (eval $ac_try) 2>&5
81040   ac_status=$?
81041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81042   (exit $ac_status); }; }; then
81043   eval "$as_ac_var=yes"
81044 else
81045   echo "$as_me: failed program was:" >&5
81046 sed 's/^/| /' conftest.$ac_ext >&5
81047
81048 eval "$as_ac_var=no"
81049 fi
81050 rm -f conftest.err conftest.$ac_objext \
81051       conftest$ac_exeext conftest.$ac_ext
81052 fi
81053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81055 if test `eval echo '${'$as_ac_var'}'` = yes; then
81056   cat >>confdefs.h <<_ACEOF
81057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81058 _ACEOF
81059
81060 else
81061   ac_wfuncs=no
81062 fi
81063 done
81064
81065
81066     # Checks for names injected into std:: by the c_std headers.
81067
81068
81069
81070
81071
81072
81073
81074
81075
81076
81077
81078
81079
81080
81081
81082
81083
81084
81085
81086
81087
81088
81089
81090
81091
81092
81093
81094
81095
81096
81097
81098
81099
81100
81101
81102
81103
81104
81105
81106
81107
81108
81109
81110
81111
81112
81113 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
81114     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
81115     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
81116     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
81117     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
81118     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
81119 do
81120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81121 echo "$as_me:$LINENO: checking for $ac_func" >&5
81122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81123 if eval "test \"\${$as_ac_var+set}\" = set"; then
81124   echo $ECHO_N "(cached) $ECHO_C" >&6
81125 else
81126   if test x$gcc_no_link = xyes; then
81127   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81129    { (exit 1); exit 1; }; }
81130 fi
81131 cat >conftest.$ac_ext <<_ACEOF
81132 /* confdefs.h.  */
81133 _ACEOF
81134 cat confdefs.h >>conftest.$ac_ext
81135 cat >>conftest.$ac_ext <<_ACEOF
81136 /* end confdefs.h.  */
81137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81138    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81139 #define $ac_func innocuous_$ac_func
81140
81141 /* System header to define __stub macros and hopefully few prototypes,
81142     which can conflict with char $ac_func (); below.
81143     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81144     <limits.h> exists even on freestanding compilers.  */
81145
81146 #ifdef __STDC__
81147 # include <limits.h>
81148 #else
81149 # include <assert.h>
81150 #endif
81151
81152 #undef $ac_func
81153
81154 /* Override any gcc2 internal prototype to avoid an error.  */
81155 #ifdef __cplusplus
81156 extern "C"
81157 {
81158 #endif
81159 /* We use char because int might match the return type of a gcc2
81160    builtin and then its argument prototype would still apply.  */
81161 char $ac_func ();
81162 /* The GNU C library defines this for functions which it implements
81163     to always fail with ENOSYS.  Some functions are actually named
81164     something starting with __ and the normal name is an alias.  */
81165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81166 choke me
81167 #else
81168 char (*f) () = $ac_func;
81169 #endif
81170 #ifdef __cplusplus
81171 }
81172 #endif
81173
81174 int
81175 main ()
81176 {
81177 return f != $ac_func;
81178   ;
81179   return 0;
81180 }
81181 _ACEOF
81182 rm -f conftest.$ac_objext conftest$ac_exeext
81183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81184   (eval $ac_link) 2>conftest.er1
81185   ac_status=$?
81186   grep -v '^ *+' conftest.er1 >conftest.err
81187   rm -f conftest.er1
81188   cat conftest.err >&5
81189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81190   (exit $ac_status); } &&
81191          { ac_try='test -z "$ac_c_werror_flag"
81192                          || test ! -s conftest.err'
81193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81194   (eval $ac_try) 2>&5
81195   ac_status=$?
81196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81197   (exit $ac_status); }; } &&
81198          { ac_try='test -s conftest$ac_exeext'
81199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81200   (eval $ac_try) 2>&5
81201   ac_status=$?
81202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81203   (exit $ac_status); }; }; then
81204   eval "$as_ac_var=yes"
81205 else
81206   echo "$as_me: failed program was:" >&5
81207 sed 's/^/| /' conftest.$ac_ext >&5
81208
81209 eval "$as_ac_var=no"
81210 fi
81211 rm -f conftest.err conftest.$ac_objext \
81212       conftest$ac_exeext conftest.$ac_ext
81213 fi
81214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81216 if test `eval echo '${'$as_ac_var'}'` = yes; then
81217   cat >>confdefs.h <<_ACEOF
81218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81219 _ACEOF
81220
81221 else
81222   ac_wfuncs=no
81223 fi
81224 done
81225
81226
81227     # Checks for wide character functions that are not required
81228     # for basic wchar_t support.  Don't disable support if they are missing.
81229     # Injection of these is wrapped with guard macros.
81230
81231
81232
81233
81234
81235 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
81236 do
81237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81238 echo "$as_me:$LINENO: checking for $ac_func" >&5
81239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81240 if eval "test \"\${$as_ac_var+set}\" = set"; then
81241   echo $ECHO_N "(cached) $ECHO_C" >&6
81242 else
81243   if test x$gcc_no_link = xyes; then
81244   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81246    { (exit 1); exit 1; }; }
81247 fi
81248 cat >conftest.$ac_ext <<_ACEOF
81249 /* confdefs.h.  */
81250 _ACEOF
81251 cat confdefs.h >>conftest.$ac_ext
81252 cat >>conftest.$ac_ext <<_ACEOF
81253 /* end confdefs.h.  */
81254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81255    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81256 #define $ac_func innocuous_$ac_func
81257
81258 /* System header to define __stub macros and hopefully few prototypes,
81259     which can conflict with char $ac_func (); below.
81260     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81261     <limits.h> exists even on freestanding compilers.  */
81262
81263 #ifdef __STDC__
81264 # include <limits.h>
81265 #else
81266 # include <assert.h>
81267 #endif
81268
81269 #undef $ac_func
81270
81271 /* Override any gcc2 internal prototype to avoid an error.  */
81272 #ifdef __cplusplus
81273 extern "C"
81274 {
81275 #endif
81276 /* We use char because int might match the return type of a gcc2
81277    builtin and then its argument prototype would still apply.  */
81278 char $ac_func ();
81279 /* The GNU C library defines this for functions which it implements
81280     to always fail with ENOSYS.  Some functions are actually named
81281     something starting with __ and the normal name is an alias.  */
81282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81283 choke me
81284 #else
81285 char (*f) () = $ac_func;
81286 #endif
81287 #ifdef __cplusplus
81288 }
81289 #endif
81290
81291 int
81292 main ()
81293 {
81294 return f != $ac_func;
81295   ;
81296   return 0;
81297 }
81298 _ACEOF
81299 rm -f conftest.$ac_objext conftest$ac_exeext
81300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81301   (eval $ac_link) 2>conftest.er1
81302   ac_status=$?
81303   grep -v '^ *+' conftest.er1 >conftest.err
81304   rm -f conftest.er1
81305   cat conftest.err >&5
81306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81307   (exit $ac_status); } &&
81308          { ac_try='test -z "$ac_c_werror_flag"
81309                          || test ! -s conftest.err'
81310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81311   (eval $ac_try) 2>&5
81312   ac_status=$?
81313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81314   (exit $ac_status); }; } &&
81315          { ac_try='test -s conftest$ac_exeext'
81316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81317   (eval $ac_try) 2>&5
81318   ac_status=$?
81319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81320   (exit $ac_status); }; }; then
81321   eval "$as_ac_var=yes"
81322 else
81323   echo "$as_me: failed program was:" >&5
81324 sed 's/^/| /' conftest.$ac_ext >&5
81325
81326 eval "$as_ac_var=no"
81327 fi
81328 rm -f conftest.err conftest.$ac_objext \
81329       conftest$ac_exeext conftest.$ac_ext
81330 fi
81331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81333 if test `eval echo '${'$as_ac_var'}'` = yes; then
81334   cat >>confdefs.h <<_ACEOF
81335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81336 _ACEOF
81337
81338 fi
81339 done
81340
81341
81342     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
81343 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
81344     if test x"$has_weof" = xyes &&
81345        test x"$has_wchar_minmax" = xyes &&
81346        test x"$ac_wfuncs" = xyes;
81347     then
81348       ac_isoC99_wchar_t=yes
81349     else
81350       ac_isoC99_wchar_t=no
81351     fi
81352     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
81353 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
81354
81355     # Use iconv for wchar_t to char conversions. As such, check for
81356     # X/Open Portability Guide, version 2 features (XPG2).
81357     if test "${ac_cv_header_iconv_h+set}" = set; then
81358   echo "$as_me:$LINENO: checking for iconv.h" >&5
81359 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81360 if test "${ac_cv_header_iconv_h+set}" = set; then
81361   echo $ECHO_N "(cached) $ECHO_C" >&6
81362 fi
81363 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81364 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81365 else
81366   # Is the header compilable?
81367 echo "$as_me:$LINENO: checking iconv.h usability" >&5
81368 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
81369 cat >conftest.$ac_ext <<_ACEOF
81370 /* confdefs.h.  */
81371 _ACEOF
81372 cat confdefs.h >>conftest.$ac_ext
81373 cat >>conftest.$ac_ext <<_ACEOF
81374 /* end confdefs.h.  */
81375 $ac_includes_default
81376 #include <iconv.h>
81377 _ACEOF
81378 rm -f conftest.$ac_objext
81379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81380   (eval $ac_compile) 2>conftest.er1
81381   ac_status=$?
81382   grep -v '^ *+' conftest.er1 >conftest.err
81383   rm -f conftest.er1
81384   cat conftest.err >&5
81385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81386   (exit $ac_status); } &&
81387          { ac_try='test -z "$ac_c_werror_flag"
81388                          || test ! -s conftest.err'
81389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81390   (eval $ac_try) 2>&5
81391   ac_status=$?
81392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81393   (exit $ac_status); }; } &&
81394          { ac_try='test -s conftest.$ac_objext'
81395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81396   (eval $ac_try) 2>&5
81397   ac_status=$?
81398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81399   (exit $ac_status); }; }; then
81400   ac_header_compiler=yes
81401 else
81402   echo "$as_me: failed program was:" >&5
81403 sed 's/^/| /' conftest.$ac_ext >&5
81404
81405 ac_header_compiler=no
81406 fi
81407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81408 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81409 echo "${ECHO_T}$ac_header_compiler" >&6
81410
81411 # Is the header present?
81412 echo "$as_me:$LINENO: checking iconv.h presence" >&5
81413 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
81414 cat >conftest.$ac_ext <<_ACEOF
81415 /* confdefs.h.  */
81416 _ACEOF
81417 cat confdefs.h >>conftest.$ac_ext
81418 cat >>conftest.$ac_ext <<_ACEOF
81419 /* end confdefs.h.  */
81420 #include <iconv.h>
81421 _ACEOF
81422 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81423   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81424   ac_status=$?
81425   grep -v '^ *+' conftest.er1 >conftest.err
81426   rm -f conftest.er1
81427   cat conftest.err >&5
81428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81429   (exit $ac_status); } >/dev/null; then
81430   if test -s conftest.err; then
81431     ac_cpp_err=$ac_c_preproc_warn_flag
81432     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81433   else
81434     ac_cpp_err=
81435   fi
81436 else
81437   ac_cpp_err=yes
81438 fi
81439 if test -z "$ac_cpp_err"; then
81440   ac_header_preproc=yes
81441 else
81442   echo "$as_me: failed program was:" >&5
81443 sed 's/^/| /' conftest.$ac_ext >&5
81444
81445   ac_header_preproc=no
81446 fi
81447 rm -f conftest.err conftest.$ac_ext
81448 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81449 echo "${ECHO_T}$ac_header_preproc" >&6
81450
81451 # So?  What about this header?
81452 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81453   yes:no: )
81454     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
81455 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81456     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
81457 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
81458     ac_header_preproc=yes
81459     ;;
81460   no:yes:* )
81461     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
81462 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
81463     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
81464 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
81465     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
81466 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
81467     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
81468 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
81469     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
81470 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
81471     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
81472 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
81473     (
81474       cat <<\_ASBOX
81475 ## ----------------------------------------- ##
81476 ## Report this to the package-unused lists.  ##
81477 ## ----------------------------------------- ##
81478 _ASBOX
81479     ) |
81480       sed "s/^/$as_me: WARNING:     /" >&2
81481     ;;
81482 esac
81483 echo "$as_me:$LINENO: checking for iconv.h" >&5
81484 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81485 if test "${ac_cv_header_iconv_h+set}" = set; then
81486   echo $ECHO_N "(cached) $ECHO_C" >&6
81487 else
81488   ac_cv_header_iconv_h=$ac_header_preproc
81489 fi
81490 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81491 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81492
81493 fi
81494 if test $ac_cv_header_iconv_h = yes; then
81495   ac_has_iconv_h=yes
81496 else
81497   ac_has_iconv_h=no
81498 fi
81499
81500
81501     if test "${ac_cv_header_langinfo_h+set}" = set; then
81502   echo "$as_me:$LINENO: checking for langinfo.h" >&5
81503 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81504 if test "${ac_cv_header_langinfo_h+set}" = set; then
81505   echo $ECHO_N "(cached) $ECHO_C" >&6
81506 fi
81507 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81508 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81509 else
81510   # Is the header compilable?
81511 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
81512 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
81513 cat >conftest.$ac_ext <<_ACEOF
81514 /* confdefs.h.  */
81515 _ACEOF
81516 cat confdefs.h >>conftest.$ac_ext
81517 cat >>conftest.$ac_ext <<_ACEOF
81518 /* end confdefs.h.  */
81519 $ac_includes_default
81520 #include <langinfo.h>
81521 _ACEOF
81522 rm -f conftest.$ac_objext
81523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81524   (eval $ac_compile) 2>conftest.er1
81525   ac_status=$?
81526   grep -v '^ *+' conftest.er1 >conftest.err
81527   rm -f conftest.er1
81528   cat conftest.err >&5
81529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81530   (exit $ac_status); } &&
81531          { ac_try='test -z "$ac_c_werror_flag"
81532                          || test ! -s conftest.err'
81533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81534   (eval $ac_try) 2>&5
81535   ac_status=$?
81536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81537   (exit $ac_status); }; } &&
81538          { ac_try='test -s conftest.$ac_objext'
81539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81540   (eval $ac_try) 2>&5
81541   ac_status=$?
81542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81543   (exit $ac_status); }; }; then
81544   ac_header_compiler=yes
81545 else
81546   echo "$as_me: failed program was:" >&5
81547 sed 's/^/| /' conftest.$ac_ext >&5
81548
81549 ac_header_compiler=no
81550 fi
81551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81552 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81553 echo "${ECHO_T}$ac_header_compiler" >&6
81554
81555 # Is the header present?
81556 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
81557 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
81558 cat >conftest.$ac_ext <<_ACEOF
81559 /* confdefs.h.  */
81560 _ACEOF
81561 cat confdefs.h >>conftest.$ac_ext
81562 cat >>conftest.$ac_ext <<_ACEOF
81563 /* end confdefs.h.  */
81564 #include <langinfo.h>
81565 _ACEOF
81566 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81567   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81568   ac_status=$?
81569   grep -v '^ *+' conftest.er1 >conftest.err
81570   rm -f conftest.er1
81571   cat conftest.err >&5
81572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81573   (exit $ac_status); } >/dev/null; then
81574   if test -s conftest.err; then
81575     ac_cpp_err=$ac_c_preproc_warn_flag
81576     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81577   else
81578     ac_cpp_err=
81579   fi
81580 else
81581   ac_cpp_err=yes
81582 fi
81583 if test -z "$ac_cpp_err"; then
81584   ac_header_preproc=yes
81585 else
81586   echo "$as_me: failed program was:" >&5
81587 sed 's/^/| /' conftest.$ac_ext >&5
81588
81589   ac_header_preproc=no
81590 fi
81591 rm -f conftest.err conftest.$ac_ext
81592 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81593 echo "${ECHO_T}$ac_header_preproc" >&6
81594
81595 # So?  What about this header?
81596 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81597   yes:no: )
81598     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
81599 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81600     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
81601 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
81602     ac_header_preproc=yes
81603     ;;
81604   no:yes:* )
81605     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
81606 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
81607     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
81608 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
81609     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
81610 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
81611     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
81612 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
81613     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81614 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81615     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
81616 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
81617     (
81618       cat <<\_ASBOX
81619 ## ----------------------------------------- ##
81620 ## Report this to the package-unused lists.  ##
81621 ## ----------------------------------------- ##
81622 _ASBOX
81623     ) |
81624       sed "s/^/$as_me: WARNING:     /" >&2
81625     ;;
81626 esac
81627 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81628 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81629 if test "${ac_cv_header_langinfo_h+set}" = set; then
81630   echo $ECHO_N "(cached) $ECHO_C" >&6
81631 else
81632   ac_cv_header_langinfo_h=$ac_header_preproc
81633 fi
81634 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81635 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81636
81637 fi
81638 if test $ac_cv_header_langinfo_h = yes; then
81639   ac_has_langinfo_h=yes
81640 else
81641   ac_has_langinfo_h=no
81642 fi
81643
81644
81645
81646     # Check for existence of libiconv.a providing XPG2 wchar_t support.
81647     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81648 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81649 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81650   echo $ECHO_N "(cached) $ECHO_C" >&6
81651 else
81652   ac_check_lib_save_LIBS=$LIBS
81653 LIBS="-liconv  $LIBS"
81654 if test x$gcc_no_link = xyes; then
81655   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81657    { (exit 1); exit 1; }; }
81658 fi
81659 cat >conftest.$ac_ext <<_ACEOF
81660 /* confdefs.h.  */
81661 _ACEOF
81662 cat confdefs.h >>conftest.$ac_ext
81663 cat >>conftest.$ac_ext <<_ACEOF
81664 /* end confdefs.h.  */
81665
81666 /* Override any gcc2 internal prototype to avoid an error.  */
81667 #ifdef __cplusplus
81668 extern "C"
81669 #endif
81670 /* We use char because int might match the return type of a gcc2
81671    builtin and then its argument prototype would still apply.  */
81672 char iconv ();
81673 int
81674 main ()
81675 {
81676 iconv ();
81677   ;
81678   return 0;
81679 }
81680 _ACEOF
81681 rm -f conftest.$ac_objext conftest$ac_exeext
81682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81683   (eval $ac_link) 2>conftest.er1
81684   ac_status=$?
81685   grep -v '^ *+' conftest.er1 >conftest.err
81686   rm -f conftest.er1
81687   cat conftest.err >&5
81688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81689   (exit $ac_status); } &&
81690          { ac_try='test -z "$ac_c_werror_flag"
81691                          || test ! -s conftest.err'
81692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81693   (eval $ac_try) 2>&5
81694   ac_status=$?
81695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81696   (exit $ac_status); }; } &&
81697          { ac_try='test -s conftest$ac_exeext'
81698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81699   (eval $ac_try) 2>&5
81700   ac_status=$?
81701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81702   (exit $ac_status); }; }; then
81703   ac_cv_lib_iconv_iconv=yes
81704 else
81705   echo "$as_me: failed program was:" >&5
81706 sed 's/^/| /' conftest.$ac_ext >&5
81707
81708 ac_cv_lib_iconv_iconv=no
81709 fi
81710 rm -f conftest.err conftest.$ac_objext \
81711       conftest$ac_exeext conftest.$ac_ext
81712 LIBS=$ac_check_lib_save_LIBS
81713 fi
81714 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81715 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81716 if test $ac_cv_lib_iconv_iconv = yes; then
81717   LIBICONV="-liconv"
81718 fi
81719
81720     ac_save_LIBS="$LIBS"
81721     LIBS="$LIBS $LIBICONV"
81722
81723
81724
81725
81726
81727
81728 for ac_func in iconv_open iconv_close iconv nl_langinfo
81729 do
81730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81731 echo "$as_me:$LINENO: checking for $ac_func" >&5
81732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81733 if eval "test \"\${$as_ac_var+set}\" = set"; then
81734   echo $ECHO_N "(cached) $ECHO_C" >&6
81735 else
81736   if test x$gcc_no_link = xyes; then
81737   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81739    { (exit 1); exit 1; }; }
81740 fi
81741 cat >conftest.$ac_ext <<_ACEOF
81742 /* confdefs.h.  */
81743 _ACEOF
81744 cat confdefs.h >>conftest.$ac_ext
81745 cat >>conftest.$ac_ext <<_ACEOF
81746 /* end confdefs.h.  */
81747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81748    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81749 #define $ac_func innocuous_$ac_func
81750
81751 /* System header to define __stub macros and hopefully few prototypes,
81752     which can conflict with char $ac_func (); below.
81753     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81754     <limits.h> exists even on freestanding compilers.  */
81755
81756 #ifdef __STDC__
81757 # include <limits.h>
81758 #else
81759 # include <assert.h>
81760 #endif
81761
81762 #undef $ac_func
81763
81764 /* Override any gcc2 internal prototype to avoid an error.  */
81765 #ifdef __cplusplus
81766 extern "C"
81767 {
81768 #endif
81769 /* We use char because int might match the return type of a gcc2
81770    builtin and then its argument prototype would still apply.  */
81771 char $ac_func ();
81772 /* The GNU C library defines this for functions which it implements
81773     to always fail with ENOSYS.  Some functions are actually named
81774     something starting with __ and the normal name is an alias.  */
81775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81776 choke me
81777 #else
81778 char (*f) () = $ac_func;
81779 #endif
81780 #ifdef __cplusplus
81781 }
81782 #endif
81783
81784 int
81785 main ()
81786 {
81787 return f != $ac_func;
81788   ;
81789   return 0;
81790 }
81791 _ACEOF
81792 rm -f conftest.$ac_objext conftest$ac_exeext
81793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81794   (eval $ac_link) 2>conftest.er1
81795   ac_status=$?
81796   grep -v '^ *+' conftest.er1 >conftest.err
81797   rm -f conftest.er1
81798   cat conftest.err >&5
81799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81800   (exit $ac_status); } &&
81801          { ac_try='test -z "$ac_c_werror_flag"
81802                          || test ! -s conftest.err'
81803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81804   (eval $ac_try) 2>&5
81805   ac_status=$?
81806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81807   (exit $ac_status); }; } &&
81808          { ac_try='test -s conftest$ac_exeext'
81809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81810   (eval $ac_try) 2>&5
81811   ac_status=$?
81812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81813   (exit $ac_status); }; }; then
81814   eval "$as_ac_var=yes"
81815 else
81816   echo "$as_me: failed program was:" >&5
81817 sed 's/^/| /' conftest.$ac_ext >&5
81818
81819 eval "$as_ac_var=no"
81820 fi
81821 rm -f conftest.err conftest.$ac_objext \
81822       conftest$ac_exeext conftest.$ac_ext
81823 fi
81824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81826 if test `eval echo '${'$as_ac_var'}'` = yes; then
81827   cat >>confdefs.h <<_ACEOF
81828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81829 _ACEOF
81830  ac_XPG2funcs=yes
81831 else
81832   ac_XPG2funcs=no
81833 fi
81834 done
81835
81836
81837     LIBS="$ac_save_LIBS"
81838
81839     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
81840 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
81841     if test x"$ac_has_iconv_h" = xyes &&
81842        test x"$ac_has_langinfo_h" = xyes &&
81843        test x"$ac_XPG2funcs" = xyes;
81844     then
81845       ac_XPG2_wchar_t=yes
81846     else
81847       ac_XPG2_wchar_t=no
81848     fi
81849     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
81850 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
81851
81852     # At the moment, only enable wchar_t specializations if all the
81853     # above support is present.
81854     if test x"$ac_isoC99_wchar_t" = xyes &&
81855        test x"$ac_XPG2_wchar_t" = xyes;
81856     then
81857       cat >>confdefs.h <<\_ACEOF
81858 #define _GLIBCXX_USE_WCHAR_T 1
81859 _ACEOF
81860
81861       enable_wchar_t=yes
81862     fi
81863   fi
81864   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
81865 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
81866   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
81867 echo "${ECHO_T}$enable_wchar_t" >&6
81868
81869
81870     # For LFS.
81871     cat >>confdefs.h <<\_ACEOF
81872 #define HAVE_INT64_T 1
81873 _ACEOF
81874
81875     case "$target" in
81876       *-uclinux*)
81877         # Don't enable LFS with uClibc
81878         ;;
81879       *)
81880         cat >>confdefs.h <<\_ACEOF
81881 #define _GLIBCXX_USE_LFS 1
81882 _ACEOF
81883
81884     esac
81885
81886     # For showmanyc_helper().
81887
81888
81889 for ac_header in sys/ioctl.h sys/filio.h
81890 do
81891 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81893   echo "$as_me:$LINENO: checking for $ac_header" >&5
81894 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81896   echo $ECHO_N "(cached) $ECHO_C" >&6
81897 fi
81898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81899 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81900 else
81901   # Is the header compilable?
81902 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81903 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81904 cat >conftest.$ac_ext <<_ACEOF
81905 /* confdefs.h.  */
81906 _ACEOF
81907 cat confdefs.h >>conftest.$ac_ext
81908 cat >>conftest.$ac_ext <<_ACEOF
81909 /* end confdefs.h.  */
81910 $ac_includes_default
81911 #include <$ac_header>
81912 _ACEOF
81913 rm -f conftest.$ac_objext
81914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81915   (eval $ac_compile) 2>conftest.er1
81916   ac_status=$?
81917   grep -v '^ *+' conftest.er1 >conftest.err
81918   rm -f conftest.er1
81919   cat conftest.err >&5
81920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81921   (exit $ac_status); } &&
81922          { ac_try='test -z "$ac_c_werror_flag"
81923                          || test ! -s conftest.err'
81924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81925   (eval $ac_try) 2>&5
81926   ac_status=$?
81927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81928   (exit $ac_status); }; } &&
81929          { ac_try='test -s conftest.$ac_objext'
81930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81931   (eval $ac_try) 2>&5
81932   ac_status=$?
81933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81934   (exit $ac_status); }; }; then
81935   ac_header_compiler=yes
81936 else
81937   echo "$as_me: failed program was:" >&5
81938 sed 's/^/| /' conftest.$ac_ext >&5
81939
81940 ac_header_compiler=no
81941 fi
81942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81943 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81944 echo "${ECHO_T}$ac_header_compiler" >&6
81945
81946 # Is the header present?
81947 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81948 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81949 cat >conftest.$ac_ext <<_ACEOF
81950 /* confdefs.h.  */
81951 _ACEOF
81952 cat confdefs.h >>conftest.$ac_ext
81953 cat >>conftest.$ac_ext <<_ACEOF
81954 /* end confdefs.h.  */
81955 #include <$ac_header>
81956 _ACEOF
81957 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81958   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81959   ac_status=$?
81960   grep -v '^ *+' conftest.er1 >conftest.err
81961   rm -f conftest.er1
81962   cat conftest.err >&5
81963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81964   (exit $ac_status); } >/dev/null; then
81965   if test -s conftest.err; then
81966     ac_cpp_err=$ac_c_preproc_warn_flag
81967     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81968   else
81969     ac_cpp_err=
81970   fi
81971 else
81972   ac_cpp_err=yes
81973 fi
81974 if test -z "$ac_cpp_err"; then
81975   ac_header_preproc=yes
81976 else
81977   echo "$as_me: failed program was:" >&5
81978 sed 's/^/| /' conftest.$ac_ext >&5
81979
81980   ac_header_preproc=no
81981 fi
81982 rm -f conftest.err conftest.$ac_ext
81983 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81984 echo "${ECHO_T}$ac_header_preproc" >&6
81985
81986 # So?  What about this header?
81987 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81988   yes:no: )
81989     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81990 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81991     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81992 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81993     ac_header_preproc=yes
81994     ;;
81995   no:yes:* )
81996     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81997 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81998     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
81999 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
82000     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82001 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82002     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
82003 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
82004     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82005 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82006     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82007 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82008     (
82009       cat <<\_ASBOX
82010 ## ----------------------------------------- ##
82011 ## Report this to the package-unused lists.  ##
82012 ## ----------------------------------------- ##
82013 _ASBOX
82014     ) |
82015       sed "s/^/$as_me: WARNING:     /" >&2
82016     ;;
82017 esac
82018 echo "$as_me:$LINENO: checking for $ac_header" >&5
82019 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82020 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82021   echo $ECHO_N "(cached) $ECHO_C" >&6
82022 else
82023   eval "$as_ac_Header=\$ac_header_preproc"
82024 fi
82025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82026 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82027
82028 fi
82029 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82030   cat >>confdefs.h <<_ACEOF
82031 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82032 _ACEOF
82033
82034 fi
82035
82036 done
82037
82038
82039   if test "${glibcxx_cv_POLL+set}" = set; then
82040   echo $ECHO_N "(cached) $ECHO_C" >&6
82041 else
82042
82043     if test x$gcc_no_link = xyes; then
82044   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82046    { (exit 1); exit 1; }; }
82047 fi
82048 cat >conftest.$ac_ext <<_ACEOF
82049 /* confdefs.h.  */
82050 _ACEOF
82051 cat confdefs.h >>conftest.$ac_ext
82052 cat >>conftest.$ac_ext <<_ACEOF
82053 /* end confdefs.h.  */
82054 #include <poll.h>
82055 int
82056 main ()
82057 {
82058 struct pollfd pfd[1];
82059        pfd[0].events = POLLIN;
82060        poll(pfd, 1, 0);
82061   ;
82062   return 0;
82063 }
82064 _ACEOF
82065 rm -f conftest.$ac_objext conftest$ac_exeext
82066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82067   (eval $ac_link) 2>conftest.er1
82068   ac_status=$?
82069   grep -v '^ *+' conftest.er1 >conftest.err
82070   rm -f conftest.er1
82071   cat conftest.err >&5
82072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82073   (exit $ac_status); } &&
82074          { ac_try='test -z "$ac_c_werror_flag"
82075                          || test ! -s conftest.err'
82076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82077   (eval $ac_try) 2>&5
82078   ac_status=$?
82079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82080   (exit $ac_status); }; } &&
82081          { ac_try='test -s conftest$ac_exeext'
82082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82083   (eval $ac_try) 2>&5
82084   ac_status=$?
82085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82086   (exit $ac_status); }; }; then
82087   glibcxx_cv_POLL=yes
82088 else
82089   echo "$as_me: failed program was:" >&5
82090 sed 's/^/| /' conftest.$ac_ext >&5
82091
82092 glibcxx_cv_POLL=no
82093 fi
82094 rm -f conftest.err conftest.$ac_objext \
82095       conftest$ac_exeext conftest.$ac_ext
82096
82097 fi
82098
82099   if test $glibcxx_cv_POLL = yes; then
82100     cat >>confdefs.h <<\_ACEOF
82101 #define HAVE_POLL 1
82102 _ACEOF
82103
82104   fi
82105
82106
82107   if test "${glibcxx_cv_S_ISREG+set}" = set; then
82108   echo $ECHO_N "(cached) $ECHO_C" >&6
82109 else
82110
82111     if test x$gcc_no_link = xyes; then
82112   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82114    { (exit 1); exit 1; }; }
82115 fi
82116 cat >conftest.$ac_ext <<_ACEOF
82117 /* confdefs.h.  */
82118 _ACEOF
82119 cat confdefs.h >>conftest.$ac_ext
82120 cat >>conftest.$ac_ext <<_ACEOF
82121 /* end confdefs.h.  */
82122 #include <sys/stat.h>
82123 int
82124 main ()
82125 {
82126 struct stat buffer;
82127        fstat(0, &buffer);
82128        S_ISREG(buffer.st_mode);
82129   ;
82130   return 0;
82131 }
82132 _ACEOF
82133 rm -f conftest.$ac_objext conftest$ac_exeext
82134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82135   (eval $ac_link) 2>conftest.er1
82136   ac_status=$?
82137   grep -v '^ *+' conftest.er1 >conftest.err
82138   rm -f conftest.er1
82139   cat conftest.err >&5
82140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82141   (exit $ac_status); } &&
82142          { ac_try='test -z "$ac_c_werror_flag"
82143                          || test ! -s conftest.err'
82144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82145   (eval $ac_try) 2>&5
82146   ac_status=$?
82147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82148   (exit $ac_status); }; } &&
82149          { ac_try='test -s conftest$ac_exeext'
82150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82151   (eval $ac_try) 2>&5
82152   ac_status=$?
82153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82154   (exit $ac_status); }; }; then
82155   glibcxx_cv_S_ISREG=yes
82156 else
82157   echo "$as_me: failed program was:" >&5
82158 sed 's/^/| /' conftest.$ac_ext >&5
82159
82160 glibcxx_cv_S_ISREG=no
82161 fi
82162 rm -f conftest.err conftest.$ac_objext \
82163       conftest$ac_exeext conftest.$ac_ext
82164
82165 fi
82166
82167   if test "${glibcxx_cv_S_IFREG+set}" = set; then
82168   echo $ECHO_N "(cached) $ECHO_C" >&6
82169 else
82170
82171     if test x$gcc_no_link = xyes; then
82172   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82174    { (exit 1); exit 1; }; }
82175 fi
82176 cat >conftest.$ac_ext <<_ACEOF
82177 /* confdefs.h.  */
82178 _ACEOF
82179 cat confdefs.h >>conftest.$ac_ext
82180 cat >>conftest.$ac_ext <<_ACEOF
82181 /* end confdefs.h.  */
82182 #include <sys/stat.h>
82183 int
82184 main ()
82185 {
82186 struct stat buffer;
82187        fstat(0, &buffer);
82188        S_IFREG & buffer.st_mode;
82189   ;
82190   return 0;
82191 }
82192 _ACEOF
82193 rm -f conftest.$ac_objext conftest$ac_exeext
82194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82195   (eval $ac_link) 2>conftest.er1
82196   ac_status=$?
82197   grep -v '^ *+' conftest.er1 >conftest.err
82198   rm -f conftest.er1
82199   cat conftest.err >&5
82200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82201   (exit $ac_status); } &&
82202          { ac_try='test -z "$ac_c_werror_flag"
82203                          || test ! -s conftest.err'
82204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82205   (eval $ac_try) 2>&5
82206   ac_status=$?
82207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82208   (exit $ac_status); }; } &&
82209          { ac_try='test -s conftest$ac_exeext'
82210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82211   (eval $ac_try) 2>&5
82212   ac_status=$?
82213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82214   (exit $ac_status); }; }; then
82215   glibcxx_cv_S_IFREG=yes
82216 else
82217   echo "$as_me: failed program was:" >&5
82218 sed 's/^/| /' conftest.$ac_ext >&5
82219
82220 glibcxx_cv_S_IFREG=no
82221 fi
82222 rm -f conftest.err conftest.$ac_objext \
82223       conftest$ac_exeext conftest.$ac_ext
82224
82225 fi
82226
82227   if test $glibcxx_cv_S_ISREG = yes; then
82228     cat >>confdefs.h <<\_ACEOF
82229 #define HAVE_S_ISREG 1
82230 _ACEOF
82231
82232   elif test $glibcxx_cv_S_IFREG = yes; then
82233     cat >>confdefs.h <<\_ACEOF
82234 #define HAVE_S_IFREG 1
82235 _ACEOF
82236
82237   fi
82238
82239
82240     # For xsputn_2().
82241
82242 for ac_header in sys/uio.h
82243 do
82244 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82246   echo "$as_me:$LINENO: checking for $ac_header" >&5
82247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82249   echo $ECHO_N "(cached) $ECHO_C" >&6
82250 fi
82251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82252 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82253 else
82254   # Is the header compilable?
82255 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82256 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82257 cat >conftest.$ac_ext <<_ACEOF
82258 /* confdefs.h.  */
82259 _ACEOF
82260 cat confdefs.h >>conftest.$ac_ext
82261 cat >>conftest.$ac_ext <<_ACEOF
82262 /* end confdefs.h.  */
82263 $ac_includes_default
82264 #include <$ac_header>
82265 _ACEOF
82266 rm -f conftest.$ac_objext
82267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82268   (eval $ac_compile) 2>conftest.er1
82269   ac_status=$?
82270   grep -v '^ *+' conftest.er1 >conftest.err
82271   rm -f conftest.er1
82272   cat conftest.err >&5
82273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82274   (exit $ac_status); } &&
82275          { ac_try='test -z "$ac_c_werror_flag"
82276                          || test ! -s conftest.err'
82277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82278   (eval $ac_try) 2>&5
82279   ac_status=$?
82280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82281   (exit $ac_status); }; } &&
82282          { ac_try='test -s conftest.$ac_objext'
82283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82284   (eval $ac_try) 2>&5
82285   ac_status=$?
82286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82287   (exit $ac_status); }; }; then
82288   ac_header_compiler=yes
82289 else
82290   echo "$as_me: failed program was:" >&5
82291 sed 's/^/| /' conftest.$ac_ext >&5
82292
82293 ac_header_compiler=no
82294 fi
82295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82296 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82297 echo "${ECHO_T}$ac_header_compiler" >&6
82298
82299 # Is the header present?
82300 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82301 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82302 cat >conftest.$ac_ext <<_ACEOF
82303 /* confdefs.h.  */
82304 _ACEOF
82305 cat confdefs.h >>conftest.$ac_ext
82306 cat >>conftest.$ac_ext <<_ACEOF
82307 /* end confdefs.h.  */
82308 #include <$ac_header>
82309 _ACEOF
82310 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82311   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82312   ac_status=$?
82313   grep -v '^ *+' conftest.er1 >conftest.err
82314   rm -f conftest.er1
82315   cat conftest.err >&5
82316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82317   (exit $ac_status); } >/dev/null; then
82318   if test -s conftest.err; then
82319     ac_cpp_err=$ac_c_preproc_warn_flag
82320     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82321   else
82322     ac_cpp_err=
82323   fi
82324 else
82325   ac_cpp_err=yes
82326 fi
82327 if test -z "$ac_cpp_err"; then
82328   ac_header_preproc=yes
82329 else
82330   echo "$as_me: failed program was:" >&5
82331 sed 's/^/| /' conftest.$ac_ext >&5
82332
82333   ac_header_preproc=no
82334 fi
82335 rm -f conftest.err conftest.$ac_ext
82336 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82337 echo "${ECHO_T}$ac_header_preproc" >&6
82338
82339 # So?  What about this header?
82340 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82341   yes:no: )
82342     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82343 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82344     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82345 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82346     ac_header_preproc=yes
82347     ;;
82348   no:yes:* )
82349     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82350 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82351     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
82352 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
82353     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82354 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82355     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
82356 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
82357     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82358 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82359     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82360 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82361     (
82362       cat <<\_ASBOX
82363 ## ----------------------------------------- ##
82364 ## Report this to the package-unused lists.  ##
82365 ## ----------------------------------------- ##
82366 _ASBOX
82367     ) |
82368       sed "s/^/$as_me: WARNING:     /" >&2
82369     ;;
82370 esac
82371 echo "$as_me:$LINENO: checking for $ac_header" >&5
82372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82374   echo $ECHO_N "(cached) $ECHO_C" >&6
82375 else
82376   eval "$as_ac_Header=\$ac_header_preproc"
82377 fi
82378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82380
82381 fi
82382 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82383   cat >>confdefs.h <<_ACEOF
82384 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82385 _ACEOF
82386
82387 fi
82388
82389 done
82390
82391
82392   if test "${glibcxx_cv_WRITEV+set}" = set; then
82393   echo $ECHO_N "(cached) $ECHO_C" >&6
82394 else
82395
82396     if test x$gcc_no_link = xyes; then
82397   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82399    { (exit 1); exit 1; }; }
82400 fi
82401 cat >conftest.$ac_ext <<_ACEOF
82402 /* confdefs.h.  */
82403 _ACEOF
82404 cat confdefs.h >>conftest.$ac_ext
82405 cat >>conftest.$ac_ext <<_ACEOF
82406 /* end confdefs.h.  */
82407 #include <sys/uio.h>
82408 int
82409 main ()
82410 {
82411 struct iovec iov[2];
82412        writev(0, iov, 0);
82413   ;
82414   return 0;
82415 }
82416 _ACEOF
82417 rm -f conftest.$ac_objext conftest$ac_exeext
82418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82419   (eval $ac_link) 2>conftest.er1
82420   ac_status=$?
82421   grep -v '^ *+' conftest.er1 >conftest.err
82422   rm -f conftest.er1
82423   cat conftest.err >&5
82424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82425   (exit $ac_status); } &&
82426          { ac_try='test -z "$ac_c_werror_flag"
82427                          || test ! -s conftest.err'
82428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82429   (eval $ac_try) 2>&5
82430   ac_status=$?
82431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82432   (exit $ac_status); }; } &&
82433          { ac_try='test -s conftest$ac_exeext'
82434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82435   (eval $ac_try) 2>&5
82436   ac_status=$?
82437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82438   (exit $ac_status); }; }; then
82439   glibcxx_cv_WRITEV=yes
82440 else
82441   echo "$as_me: failed program was:" >&5
82442 sed 's/^/| /' conftest.$ac_ext >&5
82443
82444 glibcxx_cv_WRITEV=no
82445 fi
82446 rm -f conftest.err conftest.$ac_objext \
82447       conftest$ac_exeext conftest.$ac_ext
82448
82449 fi
82450
82451   if test $glibcxx_cv_WRITEV = yes; then
82452     cat >>confdefs.h <<\_ACEOF
82453 #define HAVE_WRITEV 1
82454 _ACEOF
82455
82456   fi
82457
82458
82459     cat >>confdefs.h <<\_ACEOF
82460 #define HAVE_ACOSF 1
82461 _ACEOF
82462
82463     cat >>confdefs.h <<\_ACEOF
82464 #define HAVE_ASINF 1
82465 _ACEOF
82466
82467     cat >>confdefs.h <<\_ACEOF
82468 #define HAVE_ATANF 1
82469 _ACEOF
82470
82471     cat >>confdefs.h <<\_ACEOF
82472 #define HAVE_ATAN2F 1
82473 _ACEOF
82474
82475     cat >>confdefs.h <<\_ACEOF
82476 #define HAVE_CEILF 1
82477 _ACEOF
82478
82479     cat >>confdefs.h <<\_ACEOF
82480 #define HAVE_COPYSIGN 1
82481 _ACEOF
82482
82483     cat >>confdefs.h <<\_ACEOF
82484 #define HAVE_COPYSIGNF 1
82485 _ACEOF
82486
82487     cat >>confdefs.h <<\_ACEOF
82488 #define HAVE_COSF 1
82489 _ACEOF
82490
82491     cat >>confdefs.h <<\_ACEOF
82492 #define HAVE_COSHF 1
82493 _ACEOF
82494
82495     cat >>confdefs.h <<\_ACEOF
82496 #define HAVE_EXPF 1
82497 _ACEOF
82498
82499     cat >>confdefs.h <<\_ACEOF
82500 #define HAVE_FABSF 1
82501 _ACEOF
82502
82503     cat >>confdefs.h <<\_ACEOF
82504 #define HAVE_FINITE 1
82505 _ACEOF
82506
82507     cat >>confdefs.h <<\_ACEOF
82508 #define HAVE_FINITEF 1
82509 _ACEOF
82510
82511     cat >>confdefs.h <<\_ACEOF
82512 #define HAVE_FLOORF 1
82513 _ACEOF
82514
82515     cat >>confdefs.h <<\_ACEOF
82516 #define HAVE_FMODF 1
82517 _ACEOF
82518
82519     cat >>confdefs.h <<\_ACEOF
82520 #define HAVE_FREXPF 1
82521 _ACEOF
82522
82523     cat >>confdefs.h <<\_ACEOF
82524 #define HAVE_HYPOT 1
82525 _ACEOF
82526
82527     cat >>confdefs.h <<\_ACEOF
82528 #define HAVE_HYPOTF 1
82529 _ACEOF
82530
82531     cat >>confdefs.h <<\_ACEOF
82532 #define HAVE_ISINF 1
82533 _ACEOF
82534
82535     cat >>confdefs.h <<\_ACEOF
82536 #define HAVE_ISINFF 1
82537 _ACEOF
82538
82539     cat >>confdefs.h <<\_ACEOF
82540 #define HAVE_ISNAN 1
82541 _ACEOF
82542
82543     cat >>confdefs.h <<\_ACEOF
82544 #define HAVE_ISNANF 1
82545 _ACEOF
82546
82547     cat >>confdefs.h <<\_ACEOF
82548 #define HAVE_LOGF 1
82549 _ACEOF
82550
82551     cat >>confdefs.h <<\_ACEOF
82552 #define HAVE_LOG10F 1
82553 _ACEOF
82554
82555     cat >>confdefs.h <<\_ACEOF
82556 #define HAVE_MODFF 1
82557 _ACEOF
82558
82559     cat >>confdefs.h <<\_ACEOF
82560 #define HAVE_SINF 1
82561 _ACEOF
82562
82563     cat >>confdefs.h <<\_ACEOF
82564 #define HAVE_SINHF 1
82565 _ACEOF
82566
82567     cat >>confdefs.h <<\_ACEOF
82568 #define HAVE_SINCOS 1
82569 _ACEOF
82570
82571     cat >>confdefs.h <<\_ACEOF
82572 #define HAVE_SINCOSF 1
82573 _ACEOF
82574
82575     cat >>confdefs.h <<\_ACEOF
82576 #define HAVE_SQRTF 1
82577 _ACEOF
82578
82579     cat >>confdefs.h <<\_ACEOF
82580 #define HAVE_TANF 1
82581 _ACEOF
82582
82583     cat >>confdefs.h <<\_ACEOF
82584 #define HAVE_TANHF 1
82585 _ACEOF
82586
82587     if test x"long_double_math_on_this_cpu" = x"yes"; then
82588       cat >>confdefs.h <<\_ACEOF
82589 #define HAVE_ACOSL 1
82590 _ACEOF
82591
82592       cat >>confdefs.h <<\_ACEOF
82593 #define HAVE_ASINL 1
82594 _ACEOF
82595
82596       cat >>confdefs.h <<\_ACEOF
82597 #define HAVE_ATANL 1
82598 _ACEOF
82599
82600       cat >>confdefs.h <<\_ACEOF
82601 #define HAVE_ATAN2L 1
82602 _ACEOF
82603
82604       cat >>confdefs.h <<\_ACEOF
82605 #define HAVE_CEILL 1
82606 _ACEOF
82607
82608       cat >>confdefs.h <<\_ACEOF
82609 #define HAVE_COPYSIGNL 1
82610 _ACEOF
82611
82612       cat >>confdefs.h <<\_ACEOF
82613 #define HAVE_COSL 1
82614 _ACEOF
82615
82616       cat >>confdefs.h <<\_ACEOF
82617 #define HAVE_COSHL 1
82618 _ACEOF
82619
82620       cat >>confdefs.h <<\_ACEOF
82621 #define HAVE_EXPL 1
82622 _ACEOF
82623
82624       cat >>confdefs.h <<\_ACEOF
82625 #define HAVE_FABSL 1
82626 _ACEOF
82627
82628       cat >>confdefs.h <<\_ACEOF
82629 #define HAVE_FINITEL 1
82630 _ACEOF
82631
82632       cat >>confdefs.h <<\_ACEOF
82633 #define HAVE_FLOORL 1
82634 _ACEOF
82635
82636       cat >>confdefs.h <<\_ACEOF
82637 #define HAVE_FMODL 1
82638 _ACEOF
82639
82640       cat >>confdefs.h <<\_ACEOF
82641 #define HAVE_FREXPL 1
82642 _ACEOF
82643
82644       cat >>confdefs.h <<\_ACEOF
82645 #define HAVE_HYPOTL 1
82646 _ACEOF
82647
82648       cat >>confdefs.h <<\_ACEOF
82649 #define HAVE_ISINFL 1
82650 _ACEOF
82651
82652       cat >>confdefs.h <<\_ACEOF
82653 #define HAVE_ISNANL 1
82654 _ACEOF
82655
82656       cat >>confdefs.h <<\_ACEOF
82657 #define HAVE_LOGL 1
82658 _ACEOF
82659
82660       cat >>confdefs.h <<\_ACEOF
82661 #define HAVE_LOG10L 1
82662 _ACEOF
82663
82664       cat >>confdefs.h <<\_ACEOF
82665 #define HAVE_MODFL 1
82666 _ACEOF
82667
82668       cat >>confdefs.h <<\_ACEOF
82669 #define HAVE_POWL 1
82670 _ACEOF
82671
82672       cat >>confdefs.h <<\_ACEOF
82673 #define HAVE_SINL 1
82674 _ACEOF
82675
82676       cat >>confdefs.h <<\_ACEOF
82677 #define HAVE_SINHL 1
82678 _ACEOF
82679
82680       cat >>confdefs.h <<\_ACEOF
82681 #define HAVE_SINCOSL 1
82682 _ACEOF
82683
82684       cat >>confdefs.h <<\_ACEOF
82685 #define HAVE_SQRTL 1
82686 _ACEOF
82687
82688       cat >>confdefs.h <<\_ACEOF
82689 #define HAVE_TANL 1
82690 _ACEOF
82691
82692       cat >>confdefs.h <<\_ACEOF
82693 #define HAVE_TANHL 1
82694 _ACEOF
82695
82696     fi
82697     ;;
82698   *-mingw32*)
82699
82700
82701
82702 for ac_header in sys/types.h locale.h float.h
82703 do
82704 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82706   echo "$as_me:$LINENO: checking for $ac_header" >&5
82707 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82708 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82709   echo $ECHO_N "(cached) $ECHO_C" >&6
82710 fi
82711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82712 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82713 else
82714   # Is the header compilable?
82715 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82716 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82717 cat >conftest.$ac_ext <<_ACEOF
82718 /* confdefs.h.  */
82719 _ACEOF
82720 cat confdefs.h >>conftest.$ac_ext
82721 cat >>conftest.$ac_ext <<_ACEOF
82722 /* end confdefs.h.  */
82723 $ac_includes_default
82724 #include <$ac_header>
82725 _ACEOF
82726 rm -f conftest.$ac_objext
82727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82728   (eval $ac_compile) 2>conftest.er1
82729   ac_status=$?
82730   grep -v '^ *+' conftest.er1 >conftest.err
82731   rm -f conftest.er1
82732   cat conftest.err >&5
82733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82734   (exit $ac_status); } &&
82735          { ac_try='test -z "$ac_c_werror_flag"
82736                          || test ! -s conftest.err'
82737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82738   (eval $ac_try) 2>&5
82739   ac_status=$?
82740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82741   (exit $ac_status); }; } &&
82742          { ac_try='test -s conftest.$ac_objext'
82743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82744   (eval $ac_try) 2>&5
82745   ac_status=$?
82746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82747   (exit $ac_status); }; }; then
82748   ac_header_compiler=yes
82749 else
82750   echo "$as_me: failed program was:" >&5
82751 sed 's/^/| /' conftest.$ac_ext >&5
82752
82753 ac_header_compiler=no
82754 fi
82755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82756 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82757 echo "${ECHO_T}$ac_header_compiler" >&6
82758
82759 # Is the header present?
82760 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82761 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82762 cat >conftest.$ac_ext <<_ACEOF
82763 /* confdefs.h.  */
82764 _ACEOF
82765 cat confdefs.h >>conftest.$ac_ext
82766 cat >>conftest.$ac_ext <<_ACEOF
82767 /* end confdefs.h.  */
82768 #include <$ac_header>
82769 _ACEOF
82770 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82771   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82772   ac_status=$?
82773   grep -v '^ *+' conftest.er1 >conftest.err
82774   rm -f conftest.er1
82775   cat conftest.err >&5
82776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82777   (exit $ac_status); } >/dev/null; then
82778   if test -s conftest.err; then
82779     ac_cpp_err=$ac_c_preproc_warn_flag
82780     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82781   else
82782     ac_cpp_err=
82783   fi
82784 else
82785   ac_cpp_err=yes
82786 fi
82787 if test -z "$ac_cpp_err"; then
82788   ac_header_preproc=yes
82789 else
82790   echo "$as_me: failed program was:" >&5
82791 sed 's/^/| /' conftest.$ac_ext >&5
82792
82793   ac_header_preproc=no
82794 fi
82795 rm -f conftest.err conftest.$ac_ext
82796 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82797 echo "${ECHO_T}$ac_header_preproc" >&6
82798
82799 # So?  What about this header?
82800 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82801   yes:no: )
82802     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82803 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82804     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82805 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82806     ac_header_preproc=yes
82807     ;;
82808   no:yes:* )
82809     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82810 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82811     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
82812 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
82813     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82814 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82815     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
82816 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
82817     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82818 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82819     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82820 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82821     (
82822       cat <<\_ASBOX
82823 ## ----------------------------------------- ##
82824 ## Report this to the package-unused lists.  ##
82825 ## ----------------------------------------- ##
82826 _ASBOX
82827     ) |
82828       sed "s/^/$as_me: WARNING:     /" >&2
82829     ;;
82830 esac
82831 echo "$as_me:$LINENO: checking for $ac_header" >&5
82832 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82833 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82834   echo $ECHO_N "(cached) $ECHO_C" >&6
82835 else
82836   eval "$as_ac_Header=\$ac_header_preproc"
82837 fi
82838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82839 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82840
82841 fi
82842 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82843   cat >>confdefs.h <<_ACEOF
82844 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82845 _ACEOF
82846
82847 fi
82848
82849 done
82850
82851
82852   # If we're not using GNU ld, then there's no point in even trying these
82853   # tests.  Check for that first.  We should have already tested for gld
82854   # by now (in libtool), but require it now just to be safe...
82855   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
82856   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
82857
82858
82859
82860   # The name set by libtool depends on the version of libtool.  Shame on us
82861   # for depending on an impl detail, but c'est la vie.  Older versions used
82862   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
82863   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
82864   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
82865   # set (hence we're using an older libtool), then set it.
82866   if test x${with_gnu_ld+set} != xset; then
82867     if test x${ac_cv_prog_gnu_ld+set} != xset; then
82868       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
82869       with_gnu_ld=no
82870     else
82871       with_gnu_ld=$ac_cv_prog_gnu_ld
82872     fi
82873   fi
82874
82875   # Start by getting the version number.  I think the libtool test already
82876   # does some of this, but throws away the result.
82877
82878   ldver=`$LD --version 2>/dev/null | head -1 | \
82879          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
82880
82881   glibcxx_gnu_ld_version=`echo $ldver | \
82882          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
82883
82884   # Set --gc-sections.
82885   if test "$with_gnu_ld" = "notbroken"; then
82886     # GNU ld it is!  Joy and bunny rabbits!
82887
82888     # All these tests are for C++; save the language and the compiler flags.
82889     # Need to do this so that g++ won't try to link in libstdc++
82890     ac_test_CFLAGS="${CFLAGS+set}"
82891     ac_save_CFLAGS="$CFLAGS"
82892     CFLAGS='-x c++  -Wl,--gc-sections'
82893
82894     # Check for -Wl,--gc-sections
82895     # XXX This test is broken at the moment, as symbols required for linking
82896     # are now in libsupc++ (not built yet).  In addition, this test has
82897     # cored on solaris in the past.  In addition, --gc-sections doesn't
82898     # really work at the moment (keeps on discarding used sections, first
82899     # .eh_frame and now some of the glibc sections for iconv).
82900     # Bzzzzt.  Thanks for playing, maybe next time.
82901     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
82902 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
82903     if test "$cross_compiling" = yes; then
82904   ac_sectionLDflags=yes
82905 else
82906   cat >conftest.$ac_ext <<_ACEOF
82907 /* confdefs.h.  */
82908 _ACEOF
82909 cat confdefs.h >>conftest.$ac_ext
82910 cat >>conftest.$ac_ext <<_ACEOF
82911 /* end confdefs.h.  */
82912
82913      int main(void)
82914      {
82915        try { throw 1; }
82916        catch (...) { };
82917        return 0;
82918      }
82919
82920 _ACEOF
82921 rm -f conftest$ac_exeext
82922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82923   (eval $ac_link) 2>&5
82924   ac_status=$?
82925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82926   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
82927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82928   (eval $ac_try) 2>&5
82929   ac_status=$?
82930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82931   (exit $ac_status); }; }; then
82932   ac_sectionLDflags=yes
82933 else
82934   echo "$as_me: program exited with status $ac_status" >&5
82935 echo "$as_me: failed program was:" >&5
82936 sed 's/^/| /' conftest.$ac_ext >&5
82937
82938 ( exit $ac_status )
82939 ac_sectionLDflags=no
82940 fi
82941 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
82942 fi
82943     if test "$ac_test_CFLAGS" = set; then
82944       CFLAGS="$ac_save_CFLAGS"
82945     else
82946       # this is the suspicious part
82947       CFLAGS=''
82948     fi
82949     if test "$ac_sectionLDflags" = "yes"; then
82950       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
82951     fi
82952     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
82953 echo "${ECHO_T}$ac_sectionLDflags" >&6
82954   fi
82955
82956   # Set linker optimization flags.
82957   if test x"$with_gnu_ld" = x"yes"; then
82958     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
82959   fi
82960
82961
82962
82963
82964
82965
82966 echo "$as_me:$LINENO: checking for main in -lm" >&5
82967 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
82968 if test "${ac_cv_lib_m_main+set}" = set; then
82969   echo $ECHO_N "(cached) $ECHO_C" >&6
82970 else
82971   ac_check_lib_save_LIBS=$LIBS
82972 LIBS="-lm  $LIBS"
82973 if test x$gcc_no_link = xyes; then
82974   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82976    { (exit 1); exit 1; }; }
82977 fi
82978 cat >conftest.$ac_ext <<_ACEOF
82979 /* confdefs.h.  */
82980 _ACEOF
82981 cat confdefs.h >>conftest.$ac_ext
82982 cat >>conftest.$ac_ext <<_ACEOF
82983 /* end confdefs.h.  */
82984
82985
82986 int
82987 main ()
82988 {
82989 main ();
82990   ;
82991   return 0;
82992 }
82993 _ACEOF
82994 rm -f conftest.$ac_objext conftest$ac_exeext
82995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82996   (eval $ac_link) 2>conftest.er1
82997   ac_status=$?
82998   grep -v '^ *+' conftest.er1 >conftest.err
82999   rm -f conftest.er1
83000   cat conftest.err >&5
83001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83002   (exit $ac_status); } &&
83003          { ac_try='test -z "$ac_c_werror_flag"
83004                          || test ! -s conftest.err'
83005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83006   (eval $ac_try) 2>&5
83007   ac_status=$?
83008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83009   (exit $ac_status); }; } &&
83010          { ac_try='test -s conftest$ac_exeext'
83011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83012   (eval $ac_try) 2>&5
83013   ac_status=$?
83014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83015   (exit $ac_status); }; }; then
83016   ac_cv_lib_m_main=yes
83017 else
83018   echo "$as_me: failed program was:" >&5
83019 sed 's/^/| /' conftest.$ac_ext >&5
83020
83021 ac_cv_lib_m_main=no
83022 fi
83023 rm -f conftest.err conftest.$ac_objext \
83024       conftest$ac_exeext conftest.$ac_ext
83025 LIBS=$ac_check_lib_save_LIBS
83026 fi
83027 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83028 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83029 if test $ac_cv_lib_m_main = yes; then
83030   cat >>confdefs.h <<_ACEOF
83031 #define HAVE_LIBM 1
83032 _ACEOF
83033
83034   LIBS="-lm $LIBS"
83035
83036 fi
83037
83038
83039 for ac_func in copysignf
83040 do
83041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83042 echo "$as_me:$LINENO: checking for $ac_func" >&5
83043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83044 if eval "test \"\${$as_ac_var+set}\" = set"; then
83045   echo $ECHO_N "(cached) $ECHO_C" >&6
83046 else
83047   if test x$gcc_no_link = xyes; then
83048   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83050    { (exit 1); exit 1; }; }
83051 fi
83052 cat >conftest.$ac_ext <<_ACEOF
83053 /* confdefs.h.  */
83054 _ACEOF
83055 cat confdefs.h >>conftest.$ac_ext
83056 cat >>conftest.$ac_ext <<_ACEOF
83057 /* end confdefs.h.  */
83058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83059    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83060 #define $ac_func innocuous_$ac_func
83061
83062 /* System header to define __stub macros and hopefully few prototypes,
83063     which can conflict with char $ac_func (); below.
83064     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83065     <limits.h> exists even on freestanding compilers.  */
83066
83067 #ifdef __STDC__
83068 # include <limits.h>
83069 #else
83070 # include <assert.h>
83071 #endif
83072
83073 #undef $ac_func
83074
83075 /* Override any gcc2 internal prototype to avoid an error.  */
83076 #ifdef __cplusplus
83077 extern "C"
83078 {
83079 #endif
83080 /* We use char because int might match the return type of a gcc2
83081    builtin and then its argument prototype would still apply.  */
83082 char $ac_func ();
83083 /* The GNU C library defines this for functions which it implements
83084     to always fail with ENOSYS.  Some functions are actually named
83085     something starting with __ and the normal name is an alias.  */
83086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83087 choke me
83088 #else
83089 char (*f) () = $ac_func;
83090 #endif
83091 #ifdef __cplusplus
83092 }
83093 #endif
83094
83095 int
83096 main ()
83097 {
83098 return f != $ac_func;
83099   ;
83100   return 0;
83101 }
83102 _ACEOF
83103 rm -f conftest.$ac_objext conftest$ac_exeext
83104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83105   (eval $ac_link) 2>conftest.er1
83106   ac_status=$?
83107   grep -v '^ *+' conftest.er1 >conftest.err
83108   rm -f conftest.er1
83109   cat conftest.err >&5
83110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83111   (exit $ac_status); } &&
83112          { ac_try='test -z "$ac_c_werror_flag"
83113                          || test ! -s conftest.err'
83114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83115   (eval $ac_try) 2>&5
83116   ac_status=$?
83117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83118   (exit $ac_status); }; } &&
83119          { ac_try='test -s conftest$ac_exeext'
83120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83121   (eval $ac_try) 2>&5
83122   ac_status=$?
83123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83124   (exit $ac_status); }; }; then
83125   eval "$as_ac_var=yes"
83126 else
83127   echo "$as_me: failed program was:" >&5
83128 sed 's/^/| /' conftest.$ac_ext >&5
83129
83130 eval "$as_ac_var=no"
83131 fi
83132 rm -f conftest.err conftest.$ac_objext \
83133       conftest$ac_exeext conftest.$ac_ext
83134 fi
83135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83137 if test `eval echo '${'$as_ac_var'}'` = yes; then
83138   cat >>confdefs.h <<_ACEOF
83139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83140 _ACEOF
83141
83142 else
83143   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83144 fi
83145 done
83146
83147
83148
83149 for ac_func in __signbit
83150 do
83151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83152 echo "$as_me:$LINENO: checking for $ac_func" >&5
83153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83154 if eval "test \"\${$as_ac_var+set}\" = set"; then
83155   echo $ECHO_N "(cached) $ECHO_C" >&6
83156 else
83157   if test x$gcc_no_link = xyes; then
83158   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83160    { (exit 1); exit 1; }; }
83161 fi
83162 cat >conftest.$ac_ext <<_ACEOF
83163 /* confdefs.h.  */
83164 _ACEOF
83165 cat confdefs.h >>conftest.$ac_ext
83166 cat >>conftest.$ac_ext <<_ACEOF
83167 /* end confdefs.h.  */
83168 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83169    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83170 #define $ac_func innocuous_$ac_func
83171
83172 /* System header to define __stub macros and hopefully few prototypes,
83173     which can conflict with char $ac_func (); below.
83174     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83175     <limits.h> exists even on freestanding compilers.  */
83176
83177 #ifdef __STDC__
83178 # include <limits.h>
83179 #else
83180 # include <assert.h>
83181 #endif
83182
83183 #undef $ac_func
83184
83185 /* Override any gcc2 internal prototype to avoid an error.  */
83186 #ifdef __cplusplus
83187 extern "C"
83188 {
83189 #endif
83190 /* We use char because int might match the return type of a gcc2
83191    builtin and then its argument prototype would still apply.  */
83192 char $ac_func ();
83193 /* The GNU C library defines this for functions which it implements
83194     to always fail with ENOSYS.  Some functions are actually named
83195     something starting with __ and the normal name is an alias.  */
83196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83197 choke me
83198 #else
83199 char (*f) () = $ac_func;
83200 #endif
83201 #ifdef __cplusplus
83202 }
83203 #endif
83204
83205 int
83206 main ()
83207 {
83208 return f != $ac_func;
83209   ;
83210   return 0;
83211 }
83212 _ACEOF
83213 rm -f conftest.$ac_objext conftest$ac_exeext
83214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83215   (eval $ac_link) 2>conftest.er1
83216   ac_status=$?
83217   grep -v '^ *+' conftest.er1 >conftest.err
83218   rm -f conftest.er1
83219   cat conftest.err >&5
83220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83221   (exit $ac_status); } &&
83222          { ac_try='test -z "$ac_c_werror_flag"
83223                          || test ! -s conftest.err'
83224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83225   (eval $ac_try) 2>&5
83226   ac_status=$?
83227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83228   (exit $ac_status); }; } &&
83229          { ac_try='test -s conftest$ac_exeext'
83230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83231   (eval $ac_try) 2>&5
83232   ac_status=$?
83233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83234   (exit $ac_status); }; }; then
83235   eval "$as_ac_var=yes"
83236 else
83237   echo "$as_me: failed program was:" >&5
83238 sed 's/^/| /' conftest.$ac_ext >&5
83239
83240 eval "$as_ac_var=no"
83241 fi
83242 rm -f conftest.err conftest.$ac_objext \
83243       conftest$ac_exeext conftest.$ac_ext
83244 fi
83245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83246 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83247 if test `eval echo '${'$as_ac_var'}'` = yes; then
83248   cat >>confdefs.h <<_ACEOF
83249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83250 _ACEOF
83251
83252 else
83253   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83254 fi
83255 done
83256
83257
83258
83259 for ac_func in __signbitf
83260 do
83261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83262 echo "$as_me:$LINENO: checking for $ac_func" >&5
83263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83264 if eval "test \"\${$as_ac_var+set}\" = set"; then
83265   echo $ECHO_N "(cached) $ECHO_C" >&6
83266 else
83267   if test x$gcc_no_link = xyes; then
83268   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83270    { (exit 1); exit 1; }; }
83271 fi
83272 cat >conftest.$ac_ext <<_ACEOF
83273 /* confdefs.h.  */
83274 _ACEOF
83275 cat confdefs.h >>conftest.$ac_ext
83276 cat >>conftest.$ac_ext <<_ACEOF
83277 /* end confdefs.h.  */
83278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83279    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83280 #define $ac_func innocuous_$ac_func
83281
83282 /* System header to define __stub macros and hopefully few prototypes,
83283     which can conflict with char $ac_func (); below.
83284     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83285     <limits.h> exists even on freestanding compilers.  */
83286
83287 #ifdef __STDC__
83288 # include <limits.h>
83289 #else
83290 # include <assert.h>
83291 #endif
83292
83293 #undef $ac_func
83294
83295 /* Override any gcc2 internal prototype to avoid an error.  */
83296 #ifdef __cplusplus
83297 extern "C"
83298 {
83299 #endif
83300 /* We use char because int might match the return type of a gcc2
83301    builtin and then its argument prototype would still apply.  */
83302 char $ac_func ();
83303 /* The GNU C library defines this for functions which it implements
83304     to always fail with ENOSYS.  Some functions are actually named
83305     something starting with __ and the normal name is an alias.  */
83306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83307 choke me
83308 #else
83309 char (*f) () = $ac_func;
83310 #endif
83311 #ifdef __cplusplus
83312 }
83313 #endif
83314
83315 int
83316 main ()
83317 {
83318 return f != $ac_func;
83319   ;
83320   return 0;
83321 }
83322 _ACEOF
83323 rm -f conftest.$ac_objext conftest$ac_exeext
83324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83325   (eval $ac_link) 2>conftest.er1
83326   ac_status=$?
83327   grep -v '^ *+' conftest.er1 >conftest.err
83328   rm -f conftest.er1
83329   cat conftest.err >&5
83330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83331   (exit $ac_status); } &&
83332          { ac_try='test -z "$ac_c_werror_flag"
83333                          || test ! -s conftest.err'
83334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83335   (eval $ac_try) 2>&5
83336   ac_status=$?
83337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83338   (exit $ac_status); }; } &&
83339          { ac_try='test -s conftest$ac_exeext'
83340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83341   (eval $ac_try) 2>&5
83342   ac_status=$?
83343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83344   (exit $ac_status); }; }; then
83345   eval "$as_ac_var=yes"
83346 else
83347   echo "$as_me: failed program was:" >&5
83348 sed 's/^/| /' conftest.$ac_ext >&5
83349
83350 eval "$as_ac_var=no"
83351 fi
83352 rm -f conftest.err conftest.$ac_objext \
83353       conftest$ac_exeext conftest.$ac_ext
83354 fi
83355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83357 if test `eval echo '${'$as_ac_var'}'` = yes; then
83358   cat >>confdefs.h <<_ACEOF
83359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83360 _ACEOF
83361
83362 else
83363   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
83364 fi
83365 done
83366
83367
83368           if test x$ac_cv_func_copysignl = x"yes"; then
83369
83370 for ac_func in __signbitl
83371 do
83372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83373 echo "$as_me:$LINENO: checking for $ac_func" >&5
83374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83375 if eval "test \"\${$as_ac_var+set}\" = set"; then
83376   echo $ECHO_N "(cached) $ECHO_C" >&6
83377 else
83378   if test x$gcc_no_link = xyes; then
83379   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83381    { (exit 1); exit 1; }; }
83382 fi
83383 cat >conftest.$ac_ext <<_ACEOF
83384 /* confdefs.h.  */
83385 _ACEOF
83386 cat confdefs.h >>conftest.$ac_ext
83387 cat >>conftest.$ac_ext <<_ACEOF
83388 /* end confdefs.h.  */
83389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83390    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83391 #define $ac_func innocuous_$ac_func
83392
83393 /* System header to define __stub macros and hopefully few prototypes,
83394     which can conflict with char $ac_func (); below.
83395     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83396     <limits.h> exists even on freestanding compilers.  */
83397
83398 #ifdef __STDC__
83399 # include <limits.h>
83400 #else
83401 # include <assert.h>
83402 #endif
83403
83404 #undef $ac_func
83405
83406 /* Override any gcc2 internal prototype to avoid an error.  */
83407 #ifdef __cplusplus
83408 extern "C"
83409 {
83410 #endif
83411 /* We use char because int might match the return type of a gcc2
83412    builtin and then its argument prototype would still apply.  */
83413 char $ac_func ();
83414 /* The GNU C library defines this for functions which it implements
83415     to always fail with ENOSYS.  Some functions are actually named
83416     something starting with __ and the normal name is an alias.  */
83417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83418 choke me
83419 #else
83420 char (*f) () = $ac_func;
83421 #endif
83422 #ifdef __cplusplus
83423 }
83424 #endif
83425
83426 int
83427 main ()
83428 {
83429 return f != $ac_func;
83430   ;
83431   return 0;
83432 }
83433 _ACEOF
83434 rm -f conftest.$ac_objext conftest$ac_exeext
83435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83436   (eval $ac_link) 2>conftest.er1
83437   ac_status=$?
83438   grep -v '^ *+' conftest.er1 >conftest.err
83439   rm -f conftest.er1
83440   cat conftest.err >&5
83441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83442   (exit $ac_status); } &&
83443          { ac_try='test -z "$ac_c_werror_flag"
83444                          || test ! -s conftest.err'
83445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83446   (eval $ac_try) 2>&5
83447   ac_status=$?
83448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83449   (exit $ac_status); }; } &&
83450          { ac_try='test -s conftest$ac_exeext'
83451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83452   (eval $ac_try) 2>&5
83453   ac_status=$?
83454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83455   (exit $ac_status); }; }; then
83456   eval "$as_ac_var=yes"
83457 else
83458   echo "$as_me: failed program was:" >&5
83459 sed 's/^/| /' conftest.$ac_ext >&5
83460
83461 eval "$as_ac_var=no"
83462 fi
83463 rm -f conftest.err conftest.$ac_objext \
83464       conftest$ac_exeext conftest.$ac_ext
83465 fi
83466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83468 if test `eval echo '${'$as_ac_var'}'` = yes; then
83469   cat >>confdefs.h <<_ACEOF
83470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83471 _ACEOF
83472
83473 else
83474   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
83475 fi
83476 done
83477
83478   fi
83479
83480   # Used in libmath/Makefile.am.
83481   if test -n "$LIBMATHOBJS"; then
83482     need_libmath=yes
83483   fi
83484
83485
83486
83487   # Test wchar.h for mbstate_t, which is needed for char_traits and
83488   # others even if wchar_t support is not on.
83489   echo "$as_me:$LINENO: checking for mbstate_t" >&5
83490 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
83491   cat >conftest.$ac_ext <<_ACEOF
83492 /* confdefs.h.  */
83493 _ACEOF
83494 cat confdefs.h >>conftest.$ac_ext
83495 cat >>conftest.$ac_ext <<_ACEOF
83496 /* end confdefs.h.  */
83497 #include <wchar.h>
83498 int
83499 main ()
83500 {
83501 mbstate_t teststate;
83502   ;
83503   return 0;
83504 }
83505 _ACEOF
83506 rm -f conftest.$ac_objext
83507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83508   (eval $ac_compile) 2>conftest.er1
83509   ac_status=$?
83510   grep -v '^ *+' conftest.er1 >conftest.err
83511   rm -f conftest.er1
83512   cat conftest.err >&5
83513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83514   (exit $ac_status); } &&
83515          { ac_try='test -z "$ac_c_werror_flag"
83516                          || test ! -s conftest.err'
83517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83518   (eval $ac_try) 2>&5
83519   ac_status=$?
83520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83521   (exit $ac_status); }; } &&
83522          { ac_try='test -s conftest.$ac_objext'
83523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83524   (eval $ac_try) 2>&5
83525   ac_status=$?
83526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83527   (exit $ac_status); }; }; then
83528   have_mbstate_t=yes
83529 else
83530   echo "$as_me: failed program was:" >&5
83531 sed 's/^/| /' conftest.$ac_ext >&5
83532
83533 have_mbstate_t=no
83534 fi
83535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83536   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
83537 echo "${ECHO_T}$have_mbstate_t" >&6
83538   if test x"$have_mbstate_t" = xyes; then
83539     cat >>confdefs.h <<\_ACEOF
83540 #define HAVE_MBSTATE_T 1
83541 _ACEOF
83542
83543   fi
83544
83545   # Sanity check for existence of ISO C99 headers for extended encoding.
83546
83547 for ac_header in wchar.h
83548 do
83549 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83550 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83551   echo "$as_me:$LINENO: checking for $ac_header" >&5
83552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83553 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83554   echo $ECHO_N "(cached) $ECHO_C" >&6
83555 fi
83556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83557 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83558 else
83559   # Is the header compilable?
83560 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83561 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83562 cat >conftest.$ac_ext <<_ACEOF
83563 /* confdefs.h.  */
83564 _ACEOF
83565 cat confdefs.h >>conftest.$ac_ext
83566 cat >>conftest.$ac_ext <<_ACEOF
83567 /* end confdefs.h.  */
83568 $ac_includes_default
83569 #include <$ac_header>
83570 _ACEOF
83571 rm -f conftest.$ac_objext
83572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83573   (eval $ac_compile) 2>conftest.er1
83574   ac_status=$?
83575   grep -v '^ *+' conftest.er1 >conftest.err
83576   rm -f conftest.er1
83577   cat conftest.err >&5
83578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83579   (exit $ac_status); } &&
83580          { ac_try='test -z "$ac_c_werror_flag"
83581                          || test ! -s conftest.err'
83582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83583   (eval $ac_try) 2>&5
83584   ac_status=$?
83585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83586   (exit $ac_status); }; } &&
83587          { ac_try='test -s conftest.$ac_objext'
83588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83589   (eval $ac_try) 2>&5
83590   ac_status=$?
83591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83592   (exit $ac_status); }; }; then
83593   ac_header_compiler=yes
83594 else
83595   echo "$as_me: failed program was:" >&5
83596 sed 's/^/| /' conftest.$ac_ext >&5
83597
83598 ac_header_compiler=no
83599 fi
83600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83601 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83602 echo "${ECHO_T}$ac_header_compiler" >&6
83603
83604 # Is the header present?
83605 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83606 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83607 cat >conftest.$ac_ext <<_ACEOF
83608 /* confdefs.h.  */
83609 _ACEOF
83610 cat confdefs.h >>conftest.$ac_ext
83611 cat >>conftest.$ac_ext <<_ACEOF
83612 /* end confdefs.h.  */
83613 #include <$ac_header>
83614 _ACEOF
83615 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83616   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83617   ac_status=$?
83618   grep -v '^ *+' conftest.er1 >conftest.err
83619   rm -f conftest.er1
83620   cat conftest.err >&5
83621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83622   (exit $ac_status); } >/dev/null; then
83623   if test -s conftest.err; then
83624     ac_cpp_err=$ac_c_preproc_warn_flag
83625     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83626   else
83627     ac_cpp_err=
83628   fi
83629 else
83630   ac_cpp_err=yes
83631 fi
83632 if test -z "$ac_cpp_err"; then
83633   ac_header_preproc=yes
83634 else
83635   echo "$as_me: failed program was:" >&5
83636 sed 's/^/| /' conftest.$ac_ext >&5
83637
83638   ac_header_preproc=no
83639 fi
83640 rm -f conftest.err conftest.$ac_ext
83641 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83642 echo "${ECHO_T}$ac_header_preproc" >&6
83643
83644 # So?  What about this header?
83645 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83646   yes:no: )
83647     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83648 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83649     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83650 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83651     ac_header_preproc=yes
83652     ;;
83653   no:yes:* )
83654     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83655 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83656     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
83657 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
83658     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83659 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83660     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
83661 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
83662     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83663 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83664     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83665 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83666     (
83667       cat <<\_ASBOX
83668 ## ----------------------------------------- ##
83669 ## Report this to the package-unused lists.  ##
83670 ## ----------------------------------------- ##
83671 _ASBOX
83672     ) |
83673       sed "s/^/$as_me: WARNING:     /" >&2
83674     ;;
83675 esac
83676 echo "$as_me:$LINENO: checking for $ac_header" >&5
83677 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83678 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83679   echo $ECHO_N "(cached) $ECHO_C" >&6
83680 else
83681   eval "$as_ac_Header=\$ac_header_preproc"
83682 fi
83683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83684 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83685
83686 fi
83687 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83688   cat >>confdefs.h <<_ACEOF
83689 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83690 _ACEOF
83691  ac_has_wchar_h=yes
83692 else
83693   ac_has_wchar_h=no
83694 fi
83695
83696 done
83697
83698
83699 for ac_header in wctype.h
83700 do
83701 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83702 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83703   echo "$as_me:$LINENO: checking for $ac_header" >&5
83704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83706   echo $ECHO_N "(cached) $ECHO_C" >&6
83707 fi
83708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83710 else
83711   # Is the header compilable?
83712 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83713 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83714 cat >conftest.$ac_ext <<_ACEOF
83715 /* confdefs.h.  */
83716 _ACEOF
83717 cat confdefs.h >>conftest.$ac_ext
83718 cat >>conftest.$ac_ext <<_ACEOF
83719 /* end confdefs.h.  */
83720 $ac_includes_default
83721 #include <$ac_header>
83722 _ACEOF
83723 rm -f conftest.$ac_objext
83724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83725   (eval $ac_compile) 2>conftest.er1
83726   ac_status=$?
83727   grep -v '^ *+' conftest.er1 >conftest.err
83728   rm -f conftest.er1
83729   cat conftest.err >&5
83730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83731   (exit $ac_status); } &&
83732          { ac_try='test -z "$ac_c_werror_flag"
83733                          || test ! -s conftest.err'
83734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83735   (eval $ac_try) 2>&5
83736   ac_status=$?
83737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83738   (exit $ac_status); }; } &&
83739          { ac_try='test -s conftest.$ac_objext'
83740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83741   (eval $ac_try) 2>&5
83742   ac_status=$?
83743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83744   (exit $ac_status); }; }; then
83745   ac_header_compiler=yes
83746 else
83747   echo "$as_me: failed program was:" >&5
83748 sed 's/^/| /' conftest.$ac_ext >&5
83749
83750 ac_header_compiler=no
83751 fi
83752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83753 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83754 echo "${ECHO_T}$ac_header_compiler" >&6
83755
83756 # Is the header present?
83757 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83758 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83759 cat >conftest.$ac_ext <<_ACEOF
83760 /* confdefs.h.  */
83761 _ACEOF
83762 cat confdefs.h >>conftest.$ac_ext
83763 cat >>conftest.$ac_ext <<_ACEOF
83764 /* end confdefs.h.  */
83765 #include <$ac_header>
83766 _ACEOF
83767 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83768   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83769   ac_status=$?
83770   grep -v '^ *+' conftest.er1 >conftest.err
83771   rm -f conftest.er1
83772   cat conftest.err >&5
83773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83774   (exit $ac_status); } >/dev/null; then
83775   if test -s conftest.err; then
83776     ac_cpp_err=$ac_c_preproc_warn_flag
83777     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83778   else
83779     ac_cpp_err=
83780   fi
83781 else
83782   ac_cpp_err=yes
83783 fi
83784 if test -z "$ac_cpp_err"; then
83785   ac_header_preproc=yes
83786 else
83787   echo "$as_me: failed program was:" >&5
83788 sed 's/^/| /' conftest.$ac_ext >&5
83789
83790   ac_header_preproc=no
83791 fi
83792 rm -f conftest.err conftest.$ac_ext
83793 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83794 echo "${ECHO_T}$ac_header_preproc" >&6
83795
83796 # So?  What about this header?
83797 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83798   yes:no: )
83799     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83800 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83801     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83802 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83803     ac_header_preproc=yes
83804     ;;
83805   no:yes:* )
83806     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83807 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83808     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
83809 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
83810     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83811 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83812     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
83813 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
83814     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83815 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83816     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83817 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83818     (
83819       cat <<\_ASBOX
83820 ## ----------------------------------------- ##
83821 ## Report this to the package-unused lists.  ##
83822 ## ----------------------------------------- ##
83823 _ASBOX
83824     ) |
83825       sed "s/^/$as_me: WARNING:     /" >&2
83826     ;;
83827 esac
83828 echo "$as_me:$LINENO: checking for $ac_header" >&5
83829 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83830 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83831   echo $ECHO_N "(cached) $ECHO_C" >&6
83832 else
83833   eval "$as_ac_Header=\$ac_header_preproc"
83834 fi
83835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83836 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83837
83838 fi
83839 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83840   cat >>confdefs.h <<_ACEOF
83841 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83842 _ACEOF
83843  ac_has_wctype_h=yes
83844 else
83845   ac_has_wctype_h=no
83846 fi
83847
83848 done
83849
83850
83851   # Only continue checking if the ISO C99 headers exist and support is on.
83852   if test x"$ac_has_wchar_h" = xyes &&
83853      test x"$ac_has_wctype_h" = xyes &&
83854      test x"$enable_c_mbchar" != xno; then
83855
83856     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
83857     # numeric_limits can instantiate type_traits<wchar_t>
83858     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
83859 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
83860     cat >conftest.$ac_ext <<_ACEOF
83861 /* confdefs.h.  */
83862 _ACEOF
83863 cat confdefs.h >>conftest.$ac_ext
83864 cat >>conftest.$ac_ext <<_ACEOF
83865 /* end confdefs.h.  */
83866 #include <wchar.h>
83867 int
83868 main ()
83869 {
83870 int i = WCHAR_MIN; int j = WCHAR_MAX;
83871   ;
83872   return 0;
83873 }
83874 _ACEOF
83875 rm -f conftest.$ac_objext
83876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83877   (eval $ac_compile) 2>conftest.er1
83878   ac_status=$?
83879   grep -v '^ *+' conftest.er1 >conftest.err
83880   rm -f conftest.er1
83881   cat conftest.err >&5
83882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83883   (exit $ac_status); } &&
83884          { ac_try='test -z "$ac_c_werror_flag"
83885                          || test ! -s conftest.err'
83886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83887   (eval $ac_try) 2>&5
83888   ac_status=$?
83889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83890   (exit $ac_status); }; } &&
83891          { ac_try='test -s conftest.$ac_objext'
83892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83893   (eval $ac_try) 2>&5
83894   ac_status=$?
83895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83896   (exit $ac_status); }; }; then
83897   has_wchar_minmax=yes
83898 else
83899   echo "$as_me: failed program was:" >&5
83900 sed 's/^/| /' conftest.$ac_ext >&5
83901
83902 has_wchar_minmax=no
83903 fi
83904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83905     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
83906 echo "${ECHO_T}$has_wchar_minmax" >&6
83907
83908     # Test wchar.h for WEOF, which is what we use to determine whether
83909     # to specialize for char_traits<wchar_t> or not.
83910     echo "$as_me:$LINENO: checking for WEOF" >&5
83911 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
83912     cat >conftest.$ac_ext <<_ACEOF
83913 /* confdefs.h.  */
83914 _ACEOF
83915 cat confdefs.h >>conftest.$ac_ext
83916 cat >>conftest.$ac_ext <<_ACEOF
83917 /* end confdefs.h.  */
83918
83919       #include <wchar.h>
83920       #include <stddef.h>
83921 int
83922 main ()
83923 {
83924 wint_t i = WEOF;
83925   ;
83926   return 0;
83927 }
83928 _ACEOF
83929 rm -f conftest.$ac_objext
83930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83931   (eval $ac_compile) 2>conftest.er1
83932   ac_status=$?
83933   grep -v '^ *+' conftest.er1 >conftest.err
83934   rm -f conftest.er1
83935   cat conftest.err >&5
83936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83937   (exit $ac_status); } &&
83938          { ac_try='test -z "$ac_c_werror_flag"
83939                          || test ! -s conftest.err'
83940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83941   (eval $ac_try) 2>&5
83942   ac_status=$?
83943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83944   (exit $ac_status); }; } &&
83945          { ac_try='test -s conftest.$ac_objext'
83946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83947   (eval $ac_try) 2>&5
83948   ac_status=$?
83949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83950   (exit $ac_status); }; }; then
83951   has_weof=yes
83952 else
83953   echo "$as_me: failed program was:" >&5
83954 sed 's/^/| /' conftest.$ac_ext >&5
83955
83956 has_weof=no
83957 fi
83958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83959     echo "$as_me:$LINENO: result: $has_weof" >&5
83960 echo "${ECHO_T}$has_weof" >&6
83961
83962     # Tests for wide character functions used in char_traits<wchar_t>.
83963     ac_wfuncs=yes
83964
83965
83966
83967
83968
83969
83970 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
83971 do
83972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83973 echo "$as_me:$LINENO: checking for $ac_func" >&5
83974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83975 if eval "test \"\${$as_ac_var+set}\" = set"; then
83976   echo $ECHO_N "(cached) $ECHO_C" >&6
83977 else
83978   if test x$gcc_no_link = xyes; then
83979   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83981    { (exit 1); exit 1; }; }
83982 fi
83983 cat >conftest.$ac_ext <<_ACEOF
83984 /* confdefs.h.  */
83985 _ACEOF
83986 cat confdefs.h >>conftest.$ac_ext
83987 cat >>conftest.$ac_ext <<_ACEOF
83988 /* end confdefs.h.  */
83989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83990    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83991 #define $ac_func innocuous_$ac_func
83992
83993 /* System header to define __stub macros and hopefully few prototypes,
83994     which can conflict with char $ac_func (); below.
83995     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83996     <limits.h> exists even on freestanding compilers.  */
83997
83998 #ifdef __STDC__
83999 # include <limits.h>
84000 #else
84001 # include <assert.h>
84002 #endif
84003
84004 #undef $ac_func
84005
84006 /* Override any gcc2 internal prototype to avoid an error.  */
84007 #ifdef __cplusplus
84008 extern "C"
84009 {
84010 #endif
84011 /* We use char because int might match the return type of a gcc2
84012    builtin and then its argument prototype would still apply.  */
84013 char $ac_func ();
84014 /* The GNU C library defines this for functions which it implements
84015     to always fail with ENOSYS.  Some functions are actually named
84016     something starting with __ and the normal name is an alias.  */
84017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84018 choke me
84019 #else
84020 char (*f) () = $ac_func;
84021 #endif
84022 #ifdef __cplusplus
84023 }
84024 #endif
84025
84026 int
84027 main ()
84028 {
84029 return f != $ac_func;
84030   ;
84031   return 0;
84032 }
84033 _ACEOF
84034 rm -f conftest.$ac_objext conftest$ac_exeext
84035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84036   (eval $ac_link) 2>conftest.er1
84037   ac_status=$?
84038   grep -v '^ *+' conftest.er1 >conftest.err
84039   rm -f conftest.er1
84040   cat conftest.err >&5
84041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84042   (exit $ac_status); } &&
84043          { ac_try='test -z "$ac_c_werror_flag"
84044                          || test ! -s conftest.err'
84045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84046   (eval $ac_try) 2>&5
84047   ac_status=$?
84048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84049   (exit $ac_status); }; } &&
84050          { ac_try='test -s conftest$ac_exeext'
84051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84052   (eval $ac_try) 2>&5
84053   ac_status=$?
84054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84055   (exit $ac_status); }; }; then
84056   eval "$as_ac_var=yes"
84057 else
84058   echo "$as_me: failed program was:" >&5
84059 sed 's/^/| /' conftest.$ac_ext >&5
84060
84061 eval "$as_ac_var=no"
84062 fi
84063 rm -f conftest.err conftest.$ac_objext \
84064       conftest$ac_exeext conftest.$ac_ext
84065 fi
84066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84068 if test `eval echo '${'$as_ac_var'}'` = yes; then
84069   cat >>confdefs.h <<_ACEOF
84070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84071 _ACEOF
84072
84073 else
84074   ac_wfuncs=no
84075 fi
84076 done
84077
84078
84079     # Checks for names injected into std:: by the c_std headers.
84080
84081
84082
84083
84084
84085
84086
84087
84088
84089
84090
84091
84092
84093
84094
84095
84096
84097
84098
84099
84100
84101
84102
84103
84104
84105
84106
84107
84108
84109
84110
84111
84112
84113
84114
84115
84116
84117
84118
84119
84120
84121
84122
84123
84124
84125
84126 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
84127     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
84128     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
84129     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
84130     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
84131     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
84132 do
84133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84134 echo "$as_me:$LINENO: checking for $ac_func" >&5
84135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84136 if eval "test \"\${$as_ac_var+set}\" = set"; then
84137   echo $ECHO_N "(cached) $ECHO_C" >&6
84138 else
84139   if test x$gcc_no_link = xyes; then
84140   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84142    { (exit 1); exit 1; }; }
84143 fi
84144 cat >conftest.$ac_ext <<_ACEOF
84145 /* confdefs.h.  */
84146 _ACEOF
84147 cat confdefs.h >>conftest.$ac_ext
84148 cat >>conftest.$ac_ext <<_ACEOF
84149 /* end confdefs.h.  */
84150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84151    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84152 #define $ac_func innocuous_$ac_func
84153
84154 /* System header to define __stub macros and hopefully few prototypes,
84155     which can conflict with char $ac_func (); below.
84156     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84157     <limits.h> exists even on freestanding compilers.  */
84158
84159 #ifdef __STDC__
84160 # include <limits.h>
84161 #else
84162 # include <assert.h>
84163 #endif
84164
84165 #undef $ac_func
84166
84167 /* Override any gcc2 internal prototype to avoid an error.  */
84168 #ifdef __cplusplus
84169 extern "C"
84170 {
84171 #endif
84172 /* We use char because int might match the return type of a gcc2
84173    builtin and then its argument prototype would still apply.  */
84174 char $ac_func ();
84175 /* The GNU C library defines this for functions which it implements
84176     to always fail with ENOSYS.  Some functions are actually named
84177     something starting with __ and the normal name is an alias.  */
84178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84179 choke me
84180 #else
84181 char (*f) () = $ac_func;
84182 #endif
84183 #ifdef __cplusplus
84184 }
84185 #endif
84186
84187 int
84188 main ()
84189 {
84190 return f != $ac_func;
84191   ;
84192   return 0;
84193 }
84194 _ACEOF
84195 rm -f conftest.$ac_objext conftest$ac_exeext
84196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84197   (eval $ac_link) 2>conftest.er1
84198   ac_status=$?
84199   grep -v '^ *+' conftest.er1 >conftest.err
84200   rm -f conftest.er1
84201   cat conftest.err >&5
84202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84203   (exit $ac_status); } &&
84204          { ac_try='test -z "$ac_c_werror_flag"
84205                          || test ! -s conftest.err'
84206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84207   (eval $ac_try) 2>&5
84208   ac_status=$?
84209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84210   (exit $ac_status); }; } &&
84211          { ac_try='test -s conftest$ac_exeext'
84212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84213   (eval $ac_try) 2>&5
84214   ac_status=$?
84215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84216   (exit $ac_status); }; }; then
84217   eval "$as_ac_var=yes"
84218 else
84219   echo "$as_me: failed program was:" >&5
84220 sed 's/^/| /' conftest.$ac_ext >&5
84221
84222 eval "$as_ac_var=no"
84223 fi
84224 rm -f conftest.err conftest.$ac_objext \
84225       conftest$ac_exeext conftest.$ac_ext
84226 fi
84227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84229 if test `eval echo '${'$as_ac_var'}'` = yes; then
84230   cat >>confdefs.h <<_ACEOF
84231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84232 _ACEOF
84233
84234 else
84235   ac_wfuncs=no
84236 fi
84237 done
84238
84239
84240     # Checks for wide character functions that are not required
84241     # for basic wchar_t support.  Don't disable support if they are missing.
84242     # Injection of these is wrapped with guard macros.
84243
84244
84245
84246
84247
84248 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
84249 do
84250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84251 echo "$as_me:$LINENO: checking for $ac_func" >&5
84252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84253 if eval "test \"\${$as_ac_var+set}\" = set"; then
84254   echo $ECHO_N "(cached) $ECHO_C" >&6
84255 else
84256   if test x$gcc_no_link = xyes; then
84257   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84259    { (exit 1); exit 1; }; }
84260 fi
84261 cat >conftest.$ac_ext <<_ACEOF
84262 /* confdefs.h.  */
84263 _ACEOF
84264 cat confdefs.h >>conftest.$ac_ext
84265 cat >>conftest.$ac_ext <<_ACEOF
84266 /* end confdefs.h.  */
84267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84268    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84269 #define $ac_func innocuous_$ac_func
84270
84271 /* System header to define __stub macros and hopefully few prototypes,
84272     which can conflict with char $ac_func (); below.
84273     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84274     <limits.h> exists even on freestanding compilers.  */
84275
84276 #ifdef __STDC__
84277 # include <limits.h>
84278 #else
84279 # include <assert.h>
84280 #endif
84281
84282 #undef $ac_func
84283
84284 /* Override any gcc2 internal prototype to avoid an error.  */
84285 #ifdef __cplusplus
84286 extern "C"
84287 {
84288 #endif
84289 /* We use char because int might match the return type of a gcc2
84290    builtin and then its argument prototype would still apply.  */
84291 char $ac_func ();
84292 /* The GNU C library defines this for functions which it implements
84293     to always fail with ENOSYS.  Some functions are actually named
84294     something starting with __ and the normal name is an alias.  */
84295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84296 choke me
84297 #else
84298 char (*f) () = $ac_func;
84299 #endif
84300 #ifdef __cplusplus
84301 }
84302 #endif
84303
84304 int
84305 main ()
84306 {
84307 return f != $ac_func;
84308   ;
84309   return 0;
84310 }
84311 _ACEOF
84312 rm -f conftest.$ac_objext conftest$ac_exeext
84313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84314   (eval $ac_link) 2>conftest.er1
84315   ac_status=$?
84316   grep -v '^ *+' conftest.er1 >conftest.err
84317   rm -f conftest.er1
84318   cat conftest.err >&5
84319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84320   (exit $ac_status); } &&
84321          { ac_try='test -z "$ac_c_werror_flag"
84322                          || test ! -s conftest.err'
84323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84324   (eval $ac_try) 2>&5
84325   ac_status=$?
84326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84327   (exit $ac_status); }; } &&
84328          { ac_try='test -s conftest$ac_exeext'
84329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84330   (eval $ac_try) 2>&5
84331   ac_status=$?
84332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84333   (exit $ac_status); }; }; then
84334   eval "$as_ac_var=yes"
84335 else
84336   echo "$as_me: failed program was:" >&5
84337 sed 's/^/| /' conftest.$ac_ext >&5
84338
84339 eval "$as_ac_var=no"
84340 fi
84341 rm -f conftest.err conftest.$ac_objext \
84342       conftest$ac_exeext conftest.$ac_ext
84343 fi
84344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84346 if test `eval echo '${'$as_ac_var'}'` = yes; then
84347   cat >>confdefs.h <<_ACEOF
84348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84349 _ACEOF
84350
84351 fi
84352 done
84353
84354
84355     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
84356 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
84357     if test x"$has_weof" = xyes &&
84358        test x"$has_wchar_minmax" = xyes &&
84359        test x"$ac_wfuncs" = xyes;
84360     then
84361       ac_isoC99_wchar_t=yes
84362     else
84363       ac_isoC99_wchar_t=no
84364     fi
84365     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
84366 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
84367
84368     # Use iconv for wchar_t to char conversions. As such, check for
84369     # X/Open Portability Guide, version 2 features (XPG2).
84370     if test "${ac_cv_header_iconv_h+set}" = set; then
84371   echo "$as_me:$LINENO: checking for iconv.h" >&5
84372 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84373 if test "${ac_cv_header_iconv_h+set}" = set; then
84374   echo $ECHO_N "(cached) $ECHO_C" >&6
84375 fi
84376 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84377 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84378 else
84379   # Is the header compilable?
84380 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84381 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84382 cat >conftest.$ac_ext <<_ACEOF
84383 /* confdefs.h.  */
84384 _ACEOF
84385 cat confdefs.h >>conftest.$ac_ext
84386 cat >>conftest.$ac_ext <<_ACEOF
84387 /* end confdefs.h.  */
84388 $ac_includes_default
84389 #include <iconv.h>
84390 _ACEOF
84391 rm -f conftest.$ac_objext
84392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84393   (eval $ac_compile) 2>conftest.er1
84394   ac_status=$?
84395   grep -v '^ *+' conftest.er1 >conftest.err
84396   rm -f conftest.er1
84397   cat conftest.err >&5
84398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84399   (exit $ac_status); } &&
84400          { ac_try='test -z "$ac_c_werror_flag"
84401                          || test ! -s conftest.err'
84402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84403   (eval $ac_try) 2>&5
84404   ac_status=$?
84405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84406   (exit $ac_status); }; } &&
84407          { ac_try='test -s conftest.$ac_objext'
84408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84409   (eval $ac_try) 2>&5
84410   ac_status=$?
84411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84412   (exit $ac_status); }; }; then
84413   ac_header_compiler=yes
84414 else
84415   echo "$as_me: failed program was:" >&5
84416 sed 's/^/| /' conftest.$ac_ext >&5
84417
84418 ac_header_compiler=no
84419 fi
84420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84421 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84422 echo "${ECHO_T}$ac_header_compiler" >&6
84423
84424 # Is the header present?
84425 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84426 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84427 cat >conftest.$ac_ext <<_ACEOF
84428 /* confdefs.h.  */
84429 _ACEOF
84430 cat confdefs.h >>conftest.$ac_ext
84431 cat >>conftest.$ac_ext <<_ACEOF
84432 /* end confdefs.h.  */
84433 #include <iconv.h>
84434 _ACEOF
84435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84436   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84437   ac_status=$?
84438   grep -v '^ *+' conftest.er1 >conftest.err
84439   rm -f conftest.er1
84440   cat conftest.err >&5
84441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84442   (exit $ac_status); } >/dev/null; then
84443   if test -s conftest.err; then
84444     ac_cpp_err=$ac_c_preproc_warn_flag
84445     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84446   else
84447     ac_cpp_err=
84448   fi
84449 else
84450   ac_cpp_err=yes
84451 fi
84452 if test -z "$ac_cpp_err"; then
84453   ac_header_preproc=yes
84454 else
84455   echo "$as_me: failed program was:" >&5
84456 sed 's/^/| /' conftest.$ac_ext >&5
84457
84458   ac_header_preproc=no
84459 fi
84460 rm -f conftest.err conftest.$ac_ext
84461 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84462 echo "${ECHO_T}$ac_header_preproc" >&6
84463
84464 # So?  What about this header?
84465 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84466   yes:no: )
84467     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84468 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84469     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84470 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84471     ac_header_preproc=yes
84472     ;;
84473   no:yes:* )
84474     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84475 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84476     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
84477 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
84478     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84479 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84480     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
84481 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
84482     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84483 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84484     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84485 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84486     (
84487       cat <<\_ASBOX
84488 ## ----------------------------------------- ##
84489 ## Report this to the package-unused lists.  ##
84490 ## ----------------------------------------- ##
84491 _ASBOX
84492     ) |
84493       sed "s/^/$as_me: WARNING:     /" >&2
84494     ;;
84495 esac
84496 echo "$as_me:$LINENO: checking for iconv.h" >&5
84497 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84498 if test "${ac_cv_header_iconv_h+set}" = set; then
84499   echo $ECHO_N "(cached) $ECHO_C" >&6
84500 else
84501   ac_cv_header_iconv_h=$ac_header_preproc
84502 fi
84503 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84504 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84505
84506 fi
84507 if test $ac_cv_header_iconv_h = yes; then
84508   ac_has_iconv_h=yes
84509 else
84510   ac_has_iconv_h=no
84511 fi
84512
84513
84514     if test "${ac_cv_header_langinfo_h+set}" = set; then
84515   echo "$as_me:$LINENO: checking for langinfo.h" >&5
84516 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84517 if test "${ac_cv_header_langinfo_h+set}" = set; then
84518   echo $ECHO_N "(cached) $ECHO_C" >&6
84519 fi
84520 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84521 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84522 else
84523   # Is the header compilable?
84524 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84525 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84526 cat >conftest.$ac_ext <<_ACEOF
84527 /* confdefs.h.  */
84528 _ACEOF
84529 cat confdefs.h >>conftest.$ac_ext
84530 cat >>conftest.$ac_ext <<_ACEOF
84531 /* end confdefs.h.  */
84532 $ac_includes_default
84533 #include <langinfo.h>
84534 _ACEOF
84535 rm -f conftest.$ac_objext
84536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84537   (eval $ac_compile) 2>conftest.er1
84538   ac_status=$?
84539   grep -v '^ *+' conftest.er1 >conftest.err
84540   rm -f conftest.er1
84541   cat conftest.err >&5
84542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84543   (exit $ac_status); } &&
84544          { ac_try='test -z "$ac_c_werror_flag"
84545                          || test ! -s conftest.err'
84546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84547   (eval $ac_try) 2>&5
84548   ac_status=$?
84549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84550   (exit $ac_status); }; } &&
84551          { ac_try='test -s conftest.$ac_objext'
84552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84553   (eval $ac_try) 2>&5
84554   ac_status=$?
84555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84556   (exit $ac_status); }; }; then
84557   ac_header_compiler=yes
84558 else
84559   echo "$as_me: failed program was:" >&5
84560 sed 's/^/| /' conftest.$ac_ext >&5
84561
84562 ac_header_compiler=no
84563 fi
84564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84565 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84566 echo "${ECHO_T}$ac_header_compiler" >&6
84567
84568 # Is the header present?
84569 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84570 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84571 cat >conftest.$ac_ext <<_ACEOF
84572 /* confdefs.h.  */
84573 _ACEOF
84574 cat confdefs.h >>conftest.$ac_ext
84575 cat >>conftest.$ac_ext <<_ACEOF
84576 /* end confdefs.h.  */
84577 #include <langinfo.h>
84578 _ACEOF
84579 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84580   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84581   ac_status=$?
84582   grep -v '^ *+' conftest.er1 >conftest.err
84583   rm -f conftest.er1
84584   cat conftest.err >&5
84585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84586   (exit $ac_status); } >/dev/null; then
84587   if test -s conftest.err; then
84588     ac_cpp_err=$ac_c_preproc_warn_flag
84589     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84590   else
84591     ac_cpp_err=
84592   fi
84593 else
84594   ac_cpp_err=yes
84595 fi
84596 if test -z "$ac_cpp_err"; then
84597   ac_header_preproc=yes
84598 else
84599   echo "$as_me: failed program was:" >&5
84600 sed 's/^/| /' conftest.$ac_ext >&5
84601
84602   ac_header_preproc=no
84603 fi
84604 rm -f conftest.err conftest.$ac_ext
84605 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84606 echo "${ECHO_T}$ac_header_preproc" >&6
84607
84608 # So?  What about this header?
84609 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84610   yes:no: )
84611     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84612 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84613     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84614 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84615     ac_header_preproc=yes
84616     ;;
84617   no:yes:* )
84618     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84619 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84620     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
84621 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
84622     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84623 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84624     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
84625 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
84626     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84627 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84628     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
84629 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
84630     (
84631       cat <<\_ASBOX
84632 ## ----------------------------------------- ##
84633 ## Report this to the package-unused lists.  ##
84634 ## ----------------------------------------- ##
84635 _ASBOX
84636     ) |
84637       sed "s/^/$as_me: WARNING:     /" >&2
84638     ;;
84639 esac
84640 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84641 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84642 if test "${ac_cv_header_langinfo_h+set}" = set; then
84643   echo $ECHO_N "(cached) $ECHO_C" >&6
84644 else
84645   ac_cv_header_langinfo_h=$ac_header_preproc
84646 fi
84647 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84648 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84649
84650 fi
84651 if test $ac_cv_header_langinfo_h = yes; then
84652   ac_has_langinfo_h=yes
84653 else
84654   ac_has_langinfo_h=no
84655 fi
84656
84657
84658
84659     # Check for existence of libiconv.a providing XPG2 wchar_t support.
84660     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
84661 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
84662 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
84663   echo $ECHO_N "(cached) $ECHO_C" >&6
84664 else
84665   ac_check_lib_save_LIBS=$LIBS
84666 LIBS="-liconv  $LIBS"
84667 if test x$gcc_no_link = xyes; then
84668   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84670    { (exit 1); exit 1; }; }
84671 fi
84672 cat >conftest.$ac_ext <<_ACEOF
84673 /* confdefs.h.  */
84674 _ACEOF
84675 cat confdefs.h >>conftest.$ac_ext
84676 cat >>conftest.$ac_ext <<_ACEOF
84677 /* end confdefs.h.  */
84678
84679 /* Override any gcc2 internal prototype to avoid an error.  */
84680 #ifdef __cplusplus
84681 extern "C"
84682 #endif
84683 /* We use char because int might match the return type of a gcc2
84684    builtin and then its argument prototype would still apply.  */
84685 char iconv ();
84686 int
84687 main ()
84688 {
84689 iconv ();
84690   ;
84691   return 0;
84692 }
84693 _ACEOF
84694 rm -f conftest.$ac_objext conftest$ac_exeext
84695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84696   (eval $ac_link) 2>conftest.er1
84697   ac_status=$?
84698   grep -v '^ *+' conftest.er1 >conftest.err
84699   rm -f conftest.er1
84700   cat conftest.err >&5
84701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84702   (exit $ac_status); } &&
84703          { ac_try='test -z "$ac_c_werror_flag"
84704                          || test ! -s conftest.err'
84705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84706   (eval $ac_try) 2>&5
84707   ac_status=$?
84708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84709   (exit $ac_status); }; } &&
84710          { ac_try='test -s conftest$ac_exeext'
84711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84712   (eval $ac_try) 2>&5
84713   ac_status=$?
84714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84715   (exit $ac_status); }; }; then
84716   ac_cv_lib_iconv_iconv=yes
84717 else
84718   echo "$as_me: failed program was:" >&5
84719 sed 's/^/| /' conftest.$ac_ext >&5
84720
84721 ac_cv_lib_iconv_iconv=no
84722 fi
84723 rm -f conftest.err conftest.$ac_objext \
84724       conftest$ac_exeext conftest.$ac_ext
84725 LIBS=$ac_check_lib_save_LIBS
84726 fi
84727 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
84728 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
84729 if test $ac_cv_lib_iconv_iconv = yes; then
84730   LIBICONV="-liconv"
84731 fi
84732
84733     ac_save_LIBS="$LIBS"
84734     LIBS="$LIBS $LIBICONV"
84735
84736
84737
84738
84739
84740
84741 for ac_func in iconv_open iconv_close iconv nl_langinfo
84742 do
84743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84744 echo "$as_me:$LINENO: checking for $ac_func" >&5
84745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84746 if eval "test \"\${$as_ac_var+set}\" = set"; then
84747   echo $ECHO_N "(cached) $ECHO_C" >&6
84748 else
84749   if test x$gcc_no_link = xyes; then
84750   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84752    { (exit 1); exit 1; }; }
84753 fi
84754 cat >conftest.$ac_ext <<_ACEOF
84755 /* confdefs.h.  */
84756 _ACEOF
84757 cat confdefs.h >>conftest.$ac_ext
84758 cat >>conftest.$ac_ext <<_ACEOF
84759 /* end confdefs.h.  */
84760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84761    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84762 #define $ac_func innocuous_$ac_func
84763
84764 /* System header to define __stub macros and hopefully few prototypes,
84765     which can conflict with char $ac_func (); below.
84766     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84767     <limits.h> exists even on freestanding compilers.  */
84768
84769 #ifdef __STDC__
84770 # include <limits.h>
84771 #else
84772 # include <assert.h>
84773 #endif
84774
84775 #undef $ac_func
84776
84777 /* Override any gcc2 internal prototype to avoid an error.  */
84778 #ifdef __cplusplus
84779 extern "C"
84780 {
84781 #endif
84782 /* We use char because int might match the return type of a gcc2
84783    builtin and then its argument prototype would still apply.  */
84784 char $ac_func ();
84785 /* The GNU C library defines this for functions which it implements
84786     to always fail with ENOSYS.  Some functions are actually named
84787     something starting with __ and the normal name is an alias.  */
84788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84789 choke me
84790 #else
84791 char (*f) () = $ac_func;
84792 #endif
84793 #ifdef __cplusplus
84794 }
84795 #endif
84796
84797 int
84798 main ()
84799 {
84800 return f != $ac_func;
84801   ;
84802   return 0;
84803 }
84804 _ACEOF
84805 rm -f conftest.$ac_objext conftest$ac_exeext
84806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84807   (eval $ac_link) 2>conftest.er1
84808   ac_status=$?
84809   grep -v '^ *+' conftest.er1 >conftest.err
84810   rm -f conftest.er1
84811   cat conftest.err >&5
84812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84813   (exit $ac_status); } &&
84814          { ac_try='test -z "$ac_c_werror_flag"
84815                          || test ! -s conftest.err'
84816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84817   (eval $ac_try) 2>&5
84818   ac_status=$?
84819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84820   (exit $ac_status); }; } &&
84821          { ac_try='test -s conftest$ac_exeext'
84822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84823   (eval $ac_try) 2>&5
84824   ac_status=$?
84825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84826   (exit $ac_status); }; }; then
84827   eval "$as_ac_var=yes"
84828 else
84829   echo "$as_me: failed program was:" >&5
84830 sed 's/^/| /' conftest.$ac_ext >&5
84831
84832 eval "$as_ac_var=no"
84833 fi
84834 rm -f conftest.err conftest.$ac_objext \
84835       conftest$ac_exeext conftest.$ac_ext
84836 fi
84837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84839 if test `eval echo '${'$as_ac_var'}'` = yes; then
84840   cat >>confdefs.h <<_ACEOF
84841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84842 _ACEOF
84843  ac_XPG2funcs=yes
84844 else
84845   ac_XPG2funcs=no
84846 fi
84847 done
84848
84849
84850     LIBS="$ac_save_LIBS"
84851
84852     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
84853 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
84854     if test x"$ac_has_iconv_h" = xyes &&
84855        test x"$ac_has_langinfo_h" = xyes &&
84856        test x"$ac_XPG2funcs" = xyes;
84857     then
84858       ac_XPG2_wchar_t=yes
84859     else
84860       ac_XPG2_wchar_t=no
84861     fi
84862     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
84863 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
84864
84865     # At the moment, only enable wchar_t specializations if all the
84866     # above support is present.
84867     if test x"$ac_isoC99_wchar_t" = xyes &&
84868        test x"$ac_XPG2_wchar_t" = xyes;
84869     then
84870       cat >>confdefs.h <<\_ACEOF
84871 #define _GLIBCXX_USE_WCHAR_T 1
84872 _ACEOF
84873
84874       enable_wchar_t=yes
84875     fi
84876   fi
84877   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
84878 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
84879   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
84880 echo "${ECHO_T}$enable_wchar_t" >&6
84881
84882     ;;
84883   *-netbsd*)
84884
84885
84886
84887
84888
84889
84890
84891
84892
84893
84894
84895
84896 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
84897       machine/endian.h machine/param.h sys/machine.h sys/types.h \
84898       fp.h locale.h float.h inttypes.h
84899 do
84900 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84902   echo "$as_me:$LINENO: checking for $ac_header" >&5
84903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84905   echo $ECHO_N "(cached) $ECHO_C" >&6
84906 fi
84907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84909 else
84910   # Is the header compilable?
84911 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84912 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84913 cat >conftest.$ac_ext <<_ACEOF
84914 /* confdefs.h.  */
84915 _ACEOF
84916 cat confdefs.h >>conftest.$ac_ext
84917 cat >>conftest.$ac_ext <<_ACEOF
84918 /* end confdefs.h.  */
84919 $ac_includes_default
84920 #include <$ac_header>
84921 _ACEOF
84922 rm -f conftest.$ac_objext
84923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84924   (eval $ac_compile) 2>conftest.er1
84925   ac_status=$?
84926   grep -v '^ *+' conftest.er1 >conftest.err
84927   rm -f conftest.er1
84928   cat conftest.err >&5
84929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84930   (exit $ac_status); } &&
84931          { ac_try='test -z "$ac_c_werror_flag"
84932                          || test ! -s conftest.err'
84933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84934   (eval $ac_try) 2>&5
84935   ac_status=$?
84936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84937   (exit $ac_status); }; } &&
84938          { ac_try='test -s conftest.$ac_objext'
84939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84940   (eval $ac_try) 2>&5
84941   ac_status=$?
84942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84943   (exit $ac_status); }; }; then
84944   ac_header_compiler=yes
84945 else
84946   echo "$as_me: failed program was:" >&5
84947 sed 's/^/| /' conftest.$ac_ext >&5
84948
84949 ac_header_compiler=no
84950 fi
84951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84952 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84953 echo "${ECHO_T}$ac_header_compiler" >&6
84954
84955 # Is the header present?
84956 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84957 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84958 cat >conftest.$ac_ext <<_ACEOF
84959 /* confdefs.h.  */
84960 _ACEOF
84961 cat confdefs.h >>conftest.$ac_ext
84962 cat >>conftest.$ac_ext <<_ACEOF
84963 /* end confdefs.h.  */
84964 #include <$ac_header>
84965 _ACEOF
84966 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84967   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84968   ac_status=$?
84969   grep -v '^ *+' conftest.er1 >conftest.err
84970   rm -f conftest.er1
84971   cat conftest.err >&5
84972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84973   (exit $ac_status); } >/dev/null; then
84974   if test -s conftest.err; then
84975     ac_cpp_err=$ac_c_preproc_warn_flag
84976     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84977   else
84978     ac_cpp_err=
84979   fi
84980 else
84981   ac_cpp_err=yes
84982 fi
84983 if test -z "$ac_cpp_err"; then
84984   ac_header_preproc=yes
84985 else
84986   echo "$as_me: failed program was:" >&5
84987 sed 's/^/| /' conftest.$ac_ext >&5
84988
84989   ac_header_preproc=no
84990 fi
84991 rm -f conftest.err conftest.$ac_ext
84992 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84993 echo "${ECHO_T}$ac_header_preproc" >&6
84994
84995 # So?  What about this header?
84996 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84997   yes:no: )
84998     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84999 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85000     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85001 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85002     ac_header_preproc=yes
85003     ;;
85004   no:yes:* )
85005     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85006 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85007     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
85008 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
85009     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85010 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85011     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
85012 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
85013     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85014 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85015     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85016 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85017     (
85018       cat <<\_ASBOX
85019 ## ----------------------------------------- ##
85020 ## Report this to the package-unused lists.  ##
85021 ## ----------------------------------------- ##
85022 _ASBOX
85023     ) |
85024       sed "s/^/$as_me: WARNING:     /" >&2
85025     ;;
85026 esac
85027 echo "$as_me:$LINENO: checking for $ac_header" >&5
85028 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85030   echo $ECHO_N "(cached) $ECHO_C" >&6
85031 else
85032   eval "$as_ac_Header=\$ac_header_preproc"
85033 fi
85034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85035 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85036
85037 fi
85038 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85039   cat >>confdefs.h <<_ACEOF
85040 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85041 _ACEOF
85042
85043 fi
85044
85045 done
85046
85047     SECTION_FLAGS='-ffunction-sections -fdata-sections'
85048
85049
85050   # If we're not using GNU ld, then there's no point in even trying these
85051   # tests.  Check for that first.  We should have already tested for gld
85052   # by now (in libtool), but require it now just to be safe...
85053   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85054   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85055
85056
85057
85058   # The name set by libtool depends on the version of libtool.  Shame on us
85059   # for depending on an impl detail, but c'est la vie.  Older versions used
85060   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85061   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85062   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
85063   # set (hence we're using an older libtool), then set it.
85064   if test x${with_gnu_ld+set} != xset; then
85065     if test x${ac_cv_prog_gnu_ld+set} != xset; then
85066       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
85067       with_gnu_ld=no
85068     else
85069       with_gnu_ld=$ac_cv_prog_gnu_ld
85070     fi
85071   fi
85072
85073   # Start by getting the version number.  I think the libtool test already
85074   # does some of this, but throws away the result.
85075
85076   ldver=`$LD --version 2>/dev/null | head -1 | \
85077          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
85078
85079   glibcxx_gnu_ld_version=`echo $ldver | \
85080          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85081
85082   # Set --gc-sections.
85083   if test "$with_gnu_ld" = "notbroken"; then
85084     # GNU ld it is!  Joy and bunny rabbits!
85085
85086     # All these tests are for C++; save the language and the compiler flags.
85087     # Need to do this so that g++ won't try to link in libstdc++
85088     ac_test_CFLAGS="${CFLAGS+set}"
85089     ac_save_CFLAGS="$CFLAGS"
85090     CFLAGS='-x c++  -Wl,--gc-sections'
85091
85092     # Check for -Wl,--gc-sections
85093     # XXX This test is broken at the moment, as symbols required for linking
85094     # are now in libsupc++ (not built yet).  In addition, this test has
85095     # cored on solaris in the past.  In addition, --gc-sections doesn't
85096     # really work at the moment (keeps on discarding used sections, first
85097     # .eh_frame and now some of the glibc sections for iconv).
85098     # Bzzzzt.  Thanks for playing, maybe next time.
85099     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85100 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85101     if test "$cross_compiling" = yes; then
85102   ac_sectionLDflags=yes
85103 else
85104   cat >conftest.$ac_ext <<_ACEOF
85105 /* confdefs.h.  */
85106 _ACEOF
85107 cat confdefs.h >>conftest.$ac_ext
85108 cat >>conftest.$ac_ext <<_ACEOF
85109 /* end confdefs.h.  */
85110
85111      int main(void)
85112      {
85113        try { throw 1; }
85114        catch (...) { };
85115        return 0;
85116      }
85117
85118 _ACEOF
85119 rm -f conftest$ac_exeext
85120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85121   (eval $ac_link) 2>&5
85122   ac_status=$?
85123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85124   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
85125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85126   (eval $ac_try) 2>&5
85127   ac_status=$?
85128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85129   (exit $ac_status); }; }; then
85130   ac_sectionLDflags=yes
85131 else
85132   echo "$as_me: program exited with status $ac_status" >&5
85133 echo "$as_me: failed program was:" >&5
85134 sed 's/^/| /' conftest.$ac_ext >&5
85135
85136 ( exit $ac_status )
85137 ac_sectionLDflags=no
85138 fi
85139 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
85140 fi
85141     if test "$ac_test_CFLAGS" = set; then
85142       CFLAGS="$ac_save_CFLAGS"
85143     else
85144       # this is the suspicious part
85145       CFLAGS=''
85146     fi
85147     if test "$ac_sectionLDflags" = "yes"; then
85148       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85149     fi
85150     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
85151 echo "${ECHO_T}$ac_sectionLDflags" >&6
85152   fi
85153
85154   # Set linker optimization flags.
85155   if test x"$with_gnu_ld" = x"yes"; then
85156     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85157   fi
85158
85159
85160
85161
85162
85163
85164 echo "$as_me:$LINENO: checking for main in -lm" >&5
85165 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85166 if test "${ac_cv_lib_m_main+set}" = set; then
85167   echo $ECHO_N "(cached) $ECHO_C" >&6
85168 else
85169   ac_check_lib_save_LIBS=$LIBS
85170 LIBS="-lm  $LIBS"
85171 if test x$gcc_no_link = xyes; then
85172   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85174    { (exit 1); exit 1; }; }
85175 fi
85176 cat >conftest.$ac_ext <<_ACEOF
85177 /* confdefs.h.  */
85178 _ACEOF
85179 cat confdefs.h >>conftest.$ac_ext
85180 cat >>conftest.$ac_ext <<_ACEOF
85181 /* end confdefs.h.  */
85182
85183
85184 int
85185 main ()
85186 {
85187 main ();
85188   ;
85189   return 0;
85190 }
85191 _ACEOF
85192 rm -f conftest.$ac_objext conftest$ac_exeext
85193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85194   (eval $ac_link) 2>conftest.er1
85195   ac_status=$?
85196   grep -v '^ *+' conftest.er1 >conftest.err
85197   rm -f conftest.er1
85198   cat conftest.err >&5
85199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85200   (exit $ac_status); } &&
85201          { ac_try='test -z "$ac_c_werror_flag"
85202                          || test ! -s conftest.err'
85203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85204   (eval $ac_try) 2>&5
85205   ac_status=$?
85206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85207   (exit $ac_status); }; } &&
85208          { ac_try='test -s conftest$ac_exeext'
85209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85210   (eval $ac_try) 2>&5
85211   ac_status=$?
85212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85213   (exit $ac_status); }; }; then
85214   ac_cv_lib_m_main=yes
85215 else
85216   echo "$as_me: failed program was:" >&5
85217 sed 's/^/| /' conftest.$ac_ext >&5
85218
85219 ac_cv_lib_m_main=no
85220 fi
85221 rm -f conftest.err conftest.$ac_objext \
85222       conftest$ac_exeext conftest.$ac_ext
85223 LIBS=$ac_check_lib_save_LIBS
85224 fi
85225 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85226 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85227 if test $ac_cv_lib_m_main = yes; then
85228   cat >>confdefs.h <<_ACEOF
85229 #define HAVE_LIBM 1
85230 _ACEOF
85231
85232   LIBS="-lm $LIBS"
85233
85234 fi
85235
85236
85237 for ac_func in copysignf
85238 do
85239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85240 echo "$as_me:$LINENO: checking for $ac_func" >&5
85241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85242 if eval "test \"\${$as_ac_var+set}\" = set"; then
85243   echo $ECHO_N "(cached) $ECHO_C" >&6
85244 else
85245   if test x$gcc_no_link = xyes; then
85246   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85248    { (exit 1); exit 1; }; }
85249 fi
85250 cat >conftest.$ac_ext <<_ACEOF
85251 /* confdefs.h.  */
85252 _ACEOF
85253 cat confdefs.h >>conftest.$ac_ext
85254 cat >>conftest.$ac_ext <<_ACEOF
85255 /* end confdefs.h.  */
85256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85257    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85258 #define $ac_func innocuous_$ac_func
85259
85260 /* System header to define __stub macros and hopefully few prototypes,
85261     which can conflict with char $ac_func (); below.
85262     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85263     <limits.h> exists even on freestanding compilers.  */
85264
85265 #ifdef __STDC__
85266 # include <limits.h>
85267 #else
85268 # include <assert.h>
85269 #endif
85270
85271 #undef $ac_func
85272
85273 /* Override any gcc2 internal prototype to avoid an error.  */
85274 #ifdef __cplusplus
85275 extern "C"
85276 {
85277 #endif
85278 /* We use char because int might match the return type of a gcc2
85279    builtin and then its argument prototype would still apply.  */
85280 char $ac_func ();
85281 /* The GNU C library defines this for functions which it implements
85282     to always fail with ENOSYS.  Some functions are actually named
85283     something starting with __ and the normal name is an alias.  */
85284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85285 choke me
85286 #else
85287 char (*f) () = $ac_func;
85288 #endif
85289 #ifdef __cplusplus
85290 }
85291 #endif
85292
85293 int
85294 main ()
85295 {
85296 return f != $ac_func;
85297   ;
85298   return 0;
85299 }
85300 _ACEOF
85301 rm -f conftest.$ac_objext conftest$ac_exeext
85302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85303   (eval $ac_link) 2>conftest.er1
85304   ac_status=$?
85305   grep -v '^ *+' conftest.er1 >conftest.err
85306   rm -f conftest.er1
85307   cat conftest.err >&5
85308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85309   (exit $ac_status); } &&
85310          { ac_try='test -z "$ac_c_werror_flag"
85311                          || test ! -s conftest.err'
85312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85313   (eval $ac_try) 2>&5
85314   ac_status=$?
85315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85316   (exit $ac_status); }; } &&
85317          { ac_try='test -s conftest$ac_exeext'
85318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85319   (eval $ac_try) 2>&5
85320   ac_status=$?
85321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85322   (exit $ac_status); }; }; then
85323   eval "$as_ac_var=yes"
85324 else
85325   echo "$as_me: failed program was:" >&5
85326 sed 's/^/| /' conftest.$ac_ext >&5
85327
85328 eval "$as_ac_var=no"
85329 fi
85330 rm -f conftest.err conftest.$ac_objext \
85331       conftest$ac_exeext conftest.$ac_ext
85332 fi
85333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85335 if test `eval echo '${'$as_ac_var'}'` = yes; then
85336   cat >>confdefs.h <<_ACEOF
85337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85338 _ACEOF
85339
85340 else
85341   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85342 fi
85343 done
85344
85345
85346
85347 for ac_func in __signbit
85348 do
85349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85350 echo "$as_me:$LINENO: checking for $ac_func" >&5
85351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85352 if eval "test \"\${$as_ac_var+set}\" = set"; then
85353   echo $ECHO_N "(cached) $ECHO_C" >&6
85354 else
85355   if test x$gcc_no_link = xyes; then
85356   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85358    { (exit 1); exit 1; }; }
85359 fi
85360 cat >conftest.$ac_ext <<_ACEOF
85361 /* confdefs.h.  */
85362 _ACEOF
85363 cat confdefs.h >>conftest.$ac_ext
85364 cat >>conftest.$ac_ext <<_ACEOF
85365 /* end confdefs.h.  */
85366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85367    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85368 #define $ac_func innocuous_$ac_func
85369
85370 /* System header to define __stub macros and hopefully few prototypes,
85371     which can conflict with char $ac_func (); below.
85372     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85373     <limits.h> exists even on freestanding compilers.  */
85374
85375 #ifdef __STDC__
85376 # include <limits.h>
85377 #else
85378 # include <assert.h>
85379 #endif
85380
85381 #undef $ac_func
85382
85383 /* Override any gcc2 internal prototype to avoid an error.  */
85384 #ifdef __cplusplus
85385 extern "C"
85386 {
85387 #endif
85388 /* We use char because int might match the return type of a gcc2
85389    builtin and then its argument prototype would still apply.  */
85390 char $ac_func ();
85391 /* The GNU C library defines this for functions which it implements
85392     to always fail with ENOSYS.  Some functions are actually named
85393     something starting with __ and the normal name is an alias.  */
85394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85395 choke me
85396 #else
85397 char (*f) () = $ac_func;
85398 #endif
85399 #ifdef __cplusplus
85400 }
85401 #endif
85402
85403 int
85404 main ()
85405 {
85406 return f != $ac_func;
85407   ;
85408   return 0;
85409 }
85410 _ACEOF
85411 rm -f conftest.$ac_objext conftest$ac_exeext
85412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85413   (eval $ac_link) 2>conftest.er1
85414   ac_status=$?
85415   grep -v '^ *+' conftest.er1 >conftest.err
85416   rm -f conftest.er1
85417   cat conftest.err >&5
85418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85419   (exit $ac_status); } &&
85420          { ac_try='test -z "$ac_c_werror_flag"
85421                          || test ! -s conftest.err'
85422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85423   (eval $ac_try) 2>&5
85424   ac_status=$?
85425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85426   (exit $ac_status); }; } &&
85427          { ac_try='test -s conftest$ac_exeext'
85428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85429   (eval $ac_try) 2>&5
85430   ac_status=$?
85431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85432   (exit $ac_status); }; }; then
85433   eval "$as_ac_var=yes"
85434 else
85435   echo "$as_me: failed program was:" >&5
85436 sed 's/^/| /' conftest.$ac_ext >&5
85437
85438 eval "$as_ac_var=no"
85439 fi
85440 rm -f conftest.err conftest.$ac_objext \
85441       conftest$ac_exeext conftest.$ac_ext
85442 fi
85443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85445 if test `eval echo '${'$as_ac_var'}'` = yes; then
85446   cat >>confdefs.h <<_ACEOF
85447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85448 _ACEOF
85449
85450 else
85451   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85452 fi
85453 done
85454
85455
85456
85457 for ac_func in __signbitf
85458 do
85459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85460 echo "$as_me:$LINENO: checking for $ac_func" >&5
85461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85462 if eval "test \"\${$as_ac_var+set}\" = set"; then
85463   echo $ECHO_N "(cached) $ECHO_C" >&6
85464 else
85465   if test x$gcc_no_link = xyes; then
85466   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85468    { (exit 1); exit 1; }; }
85469 fi
85470 cat >conftest.$ac_ext <<_ACEOF
85471 /* confdefs.h.  */
85472 _ACEOF
85473 cat confdefs.h >>conftest.$ac_ext
85474 cat >>conftest.$ac_ext <<_ACEOF
85475 /* end confdefs.h.  */
85476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85477    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85478 #define $ac_func innocuous_$ac_func
85479
85480 /* System header to define __stub macros and hopefully few prototypes,
85481     which can conflict with char $ac_func (); below.
85482     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85483     <limits.h> exists even on freestanding compilers.  */
85484
85485 #ifdef __STDC__
85486 # include <limits.h>
85487 #else
85488 # include <assert.h>
85489 #endif
85490
85491 #undef $ac_func
85492
85493 /* Override any gcc2 internal prototype to avoid an error.  */
85494 #ifdef __cplusplus
85495 extern "C"
85496 {
85497 #endif
85498 /* We use char because int might match the return type of a gcc2
85499    builtin and then its argument prototype would still apply.  */
85500 char $ac_func ();
85501 /* The GNU C library defines this for functions which it implements
85502     to always fail with ENOSYS.  Some functions are actually named
85503     something starting with __ and the normal name is an alias.  */
85504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85505 choke me
85506 #else
85507 char (*f) () = $ac_func;
85508 #endif
85509 #ifdef __cplusplus
85510 }
85511 #endif
85512
85513 int
85514 main ()
85515 {
85516 return f != $ac_func;
85517   ;
85518   return 0;
85519 }
85520 _ACEOF
85521 rm -f conftest.$ac_objext conftest$ac_exeext
85522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85523   (eval $ac_link) 2>conftest.er1
85524   ac_status=$?
85525   grep -v '^ *+' conftest.er1 >conftest.err
85526   rm -f conftest.er1
85527   cat conftest.err >&5
85528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85529   (exit $ac_status); } &&
85530          { ac_try='test -z "$ac_c_werror_flag"
85531                          || test ! -s conftest.err'
85532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85533   (eval $ac_try) 2>&5
85534   ac_status=$?
85535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85536   (exit $ac_status); }; } &&
85537          { ac_try='test -s conftest$ac_exeext'
85538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85539   (eval $ac_try) 2>&5
85540   ac_status=$?
85541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85542   (exit $ac_status); }; }; then
85543   eval "$as_ac_var=yes"
85544 else
85545   echo "$as_me: failed program was:" >&5
85546 sed 's/^/| /' conftest.$ac_ext >&5
85547
85548 eval "$as_ac_var=no"
85549 fi
85550 rm -f conftest.err conftest.$ac_objext \
85551       conftest$ac_exeext conftest.$ac_ext
85552 fi
85553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85555 if test `eval echo '${'$as_ac_var'}'` = yes; then
85556   cat >>confdefs.h <<_ACEOF
85557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85558 _ACEOF
85559
85560 else
85561   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
85562 fi
85563 done
85564
85565
85566           if test x$ac_cv_func_copysignl = x"yes"; then
85567
85568 for ac_func in __signbitl
85569 do
85570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85571 echo "$as_me:$LINENO: checking for $ac_func" >&5
85572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85573 if eval "test \"\${$as_ac_var+set}\" = set"; then
85574   echo $ECHO_N "(cached) $ECHO_C" >&6
85575 else
85576   if test x$gcc_no_link = xyes; then
85577   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85579    { (exit 1); exit 1; }; }
85580 fi
85581 cat >conftest.$ac_ext <<_ACEOF
85582 /* confdefs.h.  */
85583 _ACEOF
85584 cat confdefs.h >>conftest.$ac_ext
85585 cat >>conftest.$ac_ext <<_ACEOF
85586 /* end confdefs.h.  */
85587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85588    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85589 #define $ac_func innocuous_$ac_func
85590
85591 /* System header to define __stub macros and hopefully few prototypes,
85592     which can conflict with char $ac_func (); below.
85593     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85594     <limits.h> exists even on freestanding compilers.  */
85595
85596 #ifdef __STDC__
85597 # include <limits.h>
85598 #else
85599 # include <assert.h>
85600 #endif
85601
85602 #undef $ac_func
85603
85604 /* Override any gcc2 internal prototype to avoid an error.  */
85605 #ifdef __cplusplus
85606 extern "C"
85607 {
85608 #endif
85609 /* We use char because int might match the return type of a gcc2
85610    builtin and then its argument prototype would still apply.  */
85611 char $ac_func ();
85612 /* The GNU C library defines this for functions which it implements
85613     to always fail with ENOSYS.  Some functions are actually named
85614     something starting with __ and the normal name is an alias.  */
85615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85616 choke me
85617 #else
85618 char (*f) () = $ac_func;
85619 #endif
85620 #ifdef __cplusplus
85621 }
85622 #endif
85623
85624 int
85625 main ()
85626 {
85627 return f != $ac_func;
85628   ;
85629   return 0;
85630 }
85631 _ACEOF
85632 rm -f conftest.$ac_objext conftest$ac_exeext
85633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85634   (eval $ac_link) 2>conftest.er1
85635   ac_status=$?
85636   grep -v '^ *+' conftest.er1 >conftest.err
85637   rm -f conftest.er1
85638   cat conftest.err >&5
85639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85640   (exit $ac_status); } &&
85641          { ac_try='test -z "$ac_c_werror_flag"
85642                          || test ! -s conftest.err'
85643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85644   (eval $ac_try) 2>&5
85645   ac_status=$?
85646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85647   (exit $ac_status); }; } &&
85648          { ac_try='test -s conftest$ac_exeext'
85649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85650   (eval $ac_try) 2>&5
85651   ac_status=$?
85652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85653   (exit $ac_status); }; }; then
85654   eval "$as_ac_var=yes"
85655 else
85656   echo "$as_me: failed program was:" >&5
85657 sed 's/^/| /' conftest.$ac_ext >&5
85658
85659 eval "$as_ac_var=no"
85660 fi
85661 rm -f conftest.err conftest.$ac_objext \
85662       conftest$ac_exeext conftest.$ac_ext
85663 fi
85664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85666 if test `eval echo '${'$as_ac_var'}'` = yes; then
85667   cat >>confdefs.h <<_ACEOF
85668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85669 _ACEOF
85670
85671 else
85672   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
85673 fi
85674 done
85675
85676   fi
85677
85678   # Used in libmath/Makefile.am.
85679   if test -n "$LIBMATHOBJS"; then
85680     need_libmath=yes
85681   fi
85682
85683
85684
85685   # Test wchar.h for mbstate_t, which is needed for char_traits and
85686   # others even if wchar_t support is not on.
85687   echo "$as_me:$LINENO: checking for mbstate_t" >&5
85688 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
85689   cat >conftest.$ac_ext <<_ACEOF
85690 /* confdefs.h.  */
85691 _ACEOF
85692 cat confdefs.h >>conftest.$ac_ext
85693 cat >>conftest.$ac_ext <<_ACEOF
85694 /* end confdefs.h.  */
85695 #include <wchar.h>
85696 int
85697 main ()
85698 {
85699 mbstate_t teststate;
85700   ;
85701   return 0;
85702 }
85703 _ACEOF
85704 rm -f conftest.$ac_objext
85705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85706   (eval $ac_compile) 2>conftest.er1
85707   ac_status=$?
85708   grep -v '^ *+' conftest.er1 >conftest.err
85709   rm -f conftest.er1
85710   cat conftest.err >&5
85711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85712   (exit $ac_status); } &&
85713          { ac_try='test -z "$ac_c_werror_flag"
85714                          || test ! -s conftest.err'
85715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85716   (eval $ac_try) 2>&5
85717   ac_status=$?
85718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85719   (exit $ac_status); }; } &&
85720          { ac_try='test -s conftest.$ac_objext'
85721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85722   (eval $ac_try) 2>&5
85723   ac_status=$?
85724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85725   (exit $ac_status); }; }; then
85726   have_mbstate_t=yes
85727 else
85728   echo "$as_me: failed program was:" >&5
85729 sed 's/^/| /' conftest.$ac_ext >&5
85730
85731 have_mbstate_t=no
85732 fi
85733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85734   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
85735 echo "${ECHO_T}$have_mbstate_t" >&6
85736   if test x"$have_mbstate_t" = xyes; then
85737     cat >>confdefs.h <<\_ACEOF
85738 #define HAVE_MBSTATE_T 1
85739 _ACEOF
85740
85741   fi
85742
85743   # Sanity check for existence of ISO C99 headers for extended encoding.
85744
85745 for ac_header in wchar.h
85746 do
85747 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85749   echo "$as_me:$LINENO: checking for $ac_header" >&5
85750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85752   echo $ECHO_N "(cached) $ECHO_C" >&6
85753 fi
85754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85755 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85756 else
85757   # Is the header compilable?
85758 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85759 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85760 cat >conftest.$ac_ext <<_ACEOF
85761 /* confdefs.h.  */
85762 _ACEOF
85763 cat confdefs.h >>conftest.$ac_ext
85764 cat >>conftest.$ac_ext <<_ACEOF
85765 /* end confdefs.h.  */
85766 $ac_includes_default
85767 #include <$ac_header>
85768 _ACEOF
85769 rm -f conftest.$ac_objext
85770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85771   (eval $ac_compile) 2>conftest.er1
85772   ac_status=$?
85773   grep -v '^ *+' conftest.er1 >conftest.err
85774   rm -f conftest.er1
85775   cat conftest.err >&5
85776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85777   (exit $ac_status); } &&
85778          { ac_try='test -z "$ac_c_werror_flag"
85779                          || test ! -s conftest.err'
85780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85781   (eval $ac_try) 2>&5
85782   ac_status=$?
85783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85784   (exit $ac_status); }; } &&
85785          { ac_try='test -s conftest.$ac_objext'
85786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85787   (eval $ac_try) 2>&5
85788   ac_status=$?
85789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85790   (exit $ac_status); }; }; then
85791   ac_header_compiler=yes
85792 else
85793   echo "$as_me: failed program was:" >&5
85794 sed 's/^/| /' conftest.$ac_ext >&5
85795
85796 ac_header_compiler=no
85797 fi
85798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85799 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85800 echo "${ECHO_T}$ac_header_compiler" >&6
85801
85802 # Is the header present?
85803 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85804 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85805 cat >conftest.$ac_ext <<_ACEOF
85806 /* confdefs.h.  */
85807 _ACEOF
85808 cat confdefs.h >>conftest.$ac_ext
85809 cat >>conftest.$ac_ext <<_ACEOF
85810 /* end confdefs.h.  */
85811 #include <$ac_header>
85812 _ACEOF
85813 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85814   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85815   ac_status=$?
85816   grep -v '^ *+' conftest.er1 >conftest.err
85817   rm -f conftest.er1
85818   cat conftest.err >&5
85819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85820   (exit $ac_status); } >/dev/null; then
85821   if test -s conftest.err; then
85822     ac_cpp_err=$ac_c_preproc_warn_flag
85823     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85824   else
85825     ac_cpp_err=
85826   fi
85827 else
85828   ac_cpp_err=yes
85829 fi
85830 if test -z "$ac_cpp_err"; then
85831   ac_header_preproc=yes
85832 else
85833   echo "$as_me: failed program was:" >&5
85834 sed 's/^/| /' conftest.$ac_ext >&5
85835
85836   ac_header_preproc=no
85837 fi
85838 rm -f conftest.err conftest.$ac_ext
85839 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85840 echo "${ECHO_T}$ac_header_preproc" >&6
85841
85842 # So?  What about this header?
85843 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85844   yes:no: )
85845     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85846 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85847     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85848 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85849     ac_header_preproc=yes
85850     ;;
85851   no:yes:* )
85852     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85853 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85854     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
85855 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
85856     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85857 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85858     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
85859 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
85860     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85861 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85862     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85863 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85864     (
85865       cat <<\_ASBOX
85866 ## ----------------------------------------- ##
85867 ## Report this to the package-unused lists.  ##
85868 ## ----------------------------------------- ##
85869 _ASBOX
85870     ) |
85871       sed "s/^/$as_me: WARNING:     /" >&2
85872     ;;
85873 esac
85874 echo "$as_me:$LINENO: checking for $ac_header" >&5
85875 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85877   echo $ECHO_N "(cached) $ECHO_C" >&6
85878 else
85879   eval "$as_ac_Header=\$ac_header_preproc"
85880 fi
85881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85882 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85883
85884 fi
85885 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85886   cat >>confdefs.h <<_ACEOF
85887 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85888 _ACEOF
85889  ac_has_wchar_h=yes
85890 else
85891   ac_has_wchar_h=no
85892 fi
85893
85894 done
85895
85896
85897 for ac_header in wctype.h
85898 do
85899 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85901   echo "$as_me:$LINENO: checking for $ac_header" >&5
85902 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85903 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85904   echo $ECHO_N "(cached) $ECHO_C" >&6
85905 fi
85906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85907 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85908 else
85909   # Is the header compilable?
85910 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85911 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85912 cat >conftest.$ac_ext <<_ACEOF
85913 /* confdefs.h.  */
85914 _ACEOF
85915 cat confdefs.h >>conftest.$ac_ext
85916 cat >>conftest.$ac_ext <<_ACEOF
85917 /* end confdefs.h.  */
85918 $ac_includes_default
85919 #include <$ac_header>
85920 _ACEOF
85921 rm -f conftest.$ac_objext
85922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85923   (eval $ac_compile) 2>conftest.er1
85924   ac_status=$?
85925   grep -v '^ *+' conftest.er1 >conftest.err
85926   rm -f conftest.er1
85927   cat conftest.err >&5
85928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85929   (exit $ac_status); } &&
85930          { ac_try='test -z "$ac_c_werror_flag"
85931                          || test ! -s conftest.err'
85932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85933   (eval $ac_try) 2>&5
85934   ac_status=$?
85935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85936   (exit $ac_status); }; } &&
85937          { ac_try='test -s conftest.$ac_objext'
85938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85939   (eval $ac_try) 2>&5
85940   ac_status=$?
85941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85942   (exit $ac_status); }; }; then
85943   ac_header_compiler=yes
85944 else
85945   echo "$as_me: failed program was:" >&5
85946 sed 's/^/| /' conftest.$ac_ext >&5
85947
85948 ac_header_compiler=no
85949 fi
85950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85951 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85952 echo "${ECHO_T}$ac_header_compiler" >&6
85953
85954 # Is the header present?
85955 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85956 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85957 cat >conftest.$ac_ext <<_ACEOF
85958 /* confdefs.h.  */
85959 _ACEOF
85960 cat confdefs.h >>conftest.$ac_ext
85961 cat >>conftest.$ac_ext <<_ACEOF
85962 /* end confdefs.h.  */
85963 #include <$ac_header>
85964 _ACEOF
85965 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85966   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85967   ac_status=$?
85968   grep -v '^ *+' conftest.er1 >conftest.err
85969   rm -f conftest.er1
85970   cat conftest.err >&5
85971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85972   (exit $ac_status); } >/dev/null; then
85973   if test -s conftest.err; then
85974     ac_cpp_err=$ac_c_preproc_warn_flag
85975     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85976   else
85977     ac_cpp_err=
85978   fi
85979 else
85980   ac_cpp_err=yes
85981 fi
85982 if test -z "$ac_cpp_err"; then
85983   ac_header_preproc=yes
85984 else
85985   echo "$as_me: failed program was:" >&5
85986 sed 's/^/| /' conftest.$ac_ext >&5
85987
85988   ac_header_preproc=no
85989 fi
85990 rm -f conftest.err conftest.$ac_ext
85991 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85992 echo "${ECHO_T}$ac_header_preproc" >&6
85993
85994 # So?  What about this header?
85995 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85996   yes:no: )
85997     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85998 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85999     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86000 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86001     ac_header_preproc=yes
86002     ;;
86003   no:yes:* )
86004     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86005 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86006     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
86007 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
86008     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86009 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86010     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
86011 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
86012     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86013 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86014     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86015 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86016     (
86017       cat <<\_ASBOX
86018 ## ----------------------------------------- ##
86019 ## Report this to the package-unused lists.  ##
86020 ## ----------------------------------------- ##
86021 _ASBOX
86022     ) |
86023       sed "s/^/$as_me: WARNING:     /" >&2
86024     ;;
86025 esac
86026 echo "$as_me:$LINENO: checking for $ac_header" >&5
86027 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86028 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86029   echo $ECHO_N "(cached) $ECHO_C" >&6
86030 else
86031   eval "$as_ac_Header=\$ac_header_preproc"
86032 fi
86033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86034 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86035
86036 fi
86037 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86038   cat >>confdefs.h <<_ACEOF
86039 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86040 _ACEOF
86041  ac_has_wctype_h=yes
86042 else
86043   ac_has_wctype_h=no
86044 fi
86045
86046 done
86047
86048
86049   # Only continue checking if the ISO C99 headers exist and support is on.
86050   if test x"$ac_has_wchar_h" = xyes &&
86051      test x"$ac_has_wctype_h" = xyes &&
86052      test x"$enable_c_mbchar" != xno; then
86053
86054     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
86055     # numeric_limits can instantiate type_traits<wchar_t>
86056     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
86057 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
86058     cat >conftest.$ac_ext <<_ACEOF
86059 /* confdefs.h.  */
86060 _ACEOF
86061 cat confdefs.h >>conftest.$ac_ext
86062 cat >>conftest.$ac_ext <<_ACEOF
86063 /* end confdefs.h.  */
86064 #include <wchar.h>
86065 int
86066 main ()
86067 {
86068 int i = WCHAR_MIN; int j = WCHAR_MAX;
86069   ;
86070   return 0;
86071 }
86072 _ACEOF
86073 rm -f conftest.$ac_objext
86074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86075   (eval $ac_compile) 2>conftest.er1
86076   ac_status=$?
86077   grep -v '^ *+' conftest.er1 >conftest.err
86078   rm -f conftest.er1
86079   cat conftest.err >&5
86080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86081   (exit $ac_status); } &&
86082          { ac_try='test -z "$ac_c_werror_flag"
86083                          || test ! -s conftest.err'
86084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86085   (eval $ac_try) 2>&5
86086   ac_status=$?
86087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86088   (exit $ac_status); }; } &&
86089          { ac_try='test -s conftest.$ac_objext'
86090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86091   (eval $ac_try) 2>&5
86092   ac_status=$?
86093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86094   (exit $ac_status); }; }; then
86095   has_wchar_minmax=yes
86096 else
86097   echo "$as_me: failed program was:" >&5
86098 sed 's/^/| /' conftest.$ac_ext >&5
86099
86100 has_wchar_minmax=no
86101 fi
86102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86103     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
86104 echo "${ECHO_T}$has_wchar_minmax" >&6
86105
86106     # Test wchar.h for WEOF, which is what we use to determine whether
86107     # to specialize for char_traits<wchar_t> or not.
86108     echo "$as_me:$LINENO: checking for WEOF" >&5
86109 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
86110     cat >conftest.$ac_ext <<_ACEOF
86111 /* confdefs.h.  */
86112 _ACEOF
86113 cat confdefs.h >>conftest.$ac_ext
86114 cat >>conftest.$ac_ext <<_ACEOF
86115 /* end confdefs.h.  */
86116
86117       #include <wchar.h>
86118       #include <stddef.h>
86119 int
86120 main ()
86121 {
86122 wint_t i = WEOF;
86123   ;
86124   return 0;
86125 }
86126 _ACEOF
86127 rm -f conftest.$ac_objext
86128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86129   (eval $ac_compile) 2>conftest.er1
86130   ac_status=$?
86131   grep -v '^ *+' conftest.er1 >conftest.err
86132   rm -f conftest.er1
86133   cat conftest.err >&5
86134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86135   (exit $ac_status); } &&
86136          { ac_try='test -z "$ac_c_werror_flag"
86137                          || test ! -s conftest.err'
86138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86139   (eval $ac_try) 2>&5
86140   ac_status=$?
86141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86142   (exit $ac_status); }; } &&
86143          { ac_try='test -s conftest.$ac_objext'
86144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86145   (eval $ac_try) 2>&5
86146   ac_status=$?
86147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86148   (exit $ac_status); }; }; then
86149   has_weof=yes
86150 else
86151   echo "$as_me: failed program was:" >&5
86152 sed 's/^/| /' conftest.$ac_ext >&5
86153
86154 has_weof=no
86155 fi
86156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86157     echo "$as_me:$LINENO: result: $has_weof" >&5
86158 echo "${ECHO_T}$has_weof" >&6
86159
86160     # Tests for wide character functions used in char_traits<wchar_t>.
86161     ac_wfuncs=yes
86162
86163
86164
86165
86166
86167
86168 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
86169 do
86170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86171 echo "$as_me:$LINENO: checking for $ac_func" >&5
86172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86173 if eval "test \"\${$as_ac_var+set}\" = set"; then
86174   echo $ECHO_N "(cached) $ECHO_C" >&6
86175 else
86176   if test x$gcc_no_link = xyes; then
86177   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86179    { (exit 1); exit 1; }; }
86180 fi
86181 cat >conftest.$ac_ext <<_ACEOF
86182 /* confdefs.h.  */
86183 _ACEOF
86184 cat confdefs.h >>conftest.$ac_ext
86185 cat >>conftest.$ac_ext <<_ACEOF
86186 /* end confdefs.h.  */
86187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86188    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86189 #define $ac_func innocuous_$ac_func
86190
86191 /* System header to define __stub macros and hopefully few prototypes,
86192     which can conflict with char $ac_func (); below.
86193     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86194     <limits.h> exists even on freestanding compilers.  */
86195
86196 #ifdef __STDC__
86197 # include <limits.h>
86198 #else
86199 # include <assert.h>
86200 #endif
86201
86202 #undef $ac_func
86203
86204 /* Override any gcc2 internal prototype to avoid an error.  */
86205 #ifdef __cplusplus
86206 extern "C"
86207 {
86208 #endif
86209 /* We use char because int might match the return type of a gcc2
86210    builtin and then its argument prototype would still apply.  */
86211 char $ac_func ();
86212 /* The GNU C library defines this for functions which it implements
86213     to always fail with ENOSYS.  Some functions are actually named
86214     something starting with __ and the normal name is an alias.  */
86215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86216 choke me
86217 #else
86218 char (*f) () = $ac_func;
86219 #endif
86220 #ifdef __cplusplus
86221 }
86222 #endif
86223
86224 int
86225 main ()
86226 {
86227 return f != $ac_func;
86228   ;
86229   return 0;
86230 }
86231 _ACEOF
86232 rm -f conftest.$ac_objext conftest$ac_exeext
86233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86234   (eval $ac_link) 2>conftest.er1
86235   ac_status=$?
86236   grep -v '^ *+' conftest.er1 >conftest.err
86237   rm -f conftest.er1
86238   cat conftest.err >&5
86239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86240   (exit $ac_status); } &&
86241          { ac_try='test -z "$ac_c_werror_flag"
86242                          || test ! -s conftest.err'
86243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86244   (eval $ac_try) 2>&5
86245   ac_status=$?
86246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86247   (exit $ac_status); }; } &&
86248          { ac_try='test -s conftest$ac_exeext'
86249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86250   (eval $ac_try) 2>&5
86251   ac_status=$?
86252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86253   (exit $ac_status); }; }; then
86254   eval "$as_ac_var=yes"
86255 else
86256   echo "$as_me: failed program was:" >&5
86257 sed 's/^/| /' conftest.$ac_ext >&5
86258
86259 eval "$as_ac_var=no"
86260 fi
86261 rm -f conftest.err conftest.$ac_objext \
86262       conftest$ac_exeext conftest.$ac_ext
86263 fi
86264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86266 if test `eval echo '${'$as_ac_var'}'` = yes; then
86267   cat >>confdefs.h <<_ACEOF
86268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86269 _ACEOF
86270
86271 else
86272   ac_wfuncs=no
86273 fi
86274 done
86275
86276
86277     # Checks for names injected into std:: by the c_std headers.
86278
86279
86280
86281
86282
86283
86284
86285
86286
86287
86288
86289
86290
86291
86292
86293
86294
86295
86296
86297
86298
86299
86300
86301
86302
86303
86304
86305
86306
86307
86308
86309
86310
86311
86312
86313
86314
86315
86316
86317
86318
86319
86320
86321
86322
86323
86324 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
86325     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
86326     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
86327     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
86328     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
86329     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
86330 do
86331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86332 echo "$as_me:$LINENO: checking for $ac_func" >&5
86333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86334 if eval "test \"\${$as_ac_var+set}\" = set"; then
86335   echo $ECHO_N "(cached) $ECHO_C" >&6
86336 else
86337   if test x$gcc_no_link = xyes; then
86338   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86340    { (exit 1); exit 1; }; }
86341 fi
86342 cat >conftest.$ac_ext <<_ACEOF
86343 /* confdefs.h.  */
86344 _ACEOF
86345 cat confdefs.h >>conftest.$ac_ext
86346 cat >>conftest.$ac_ext <<_ACEOF
86347 /* end confdefs.h.  */
86348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86349    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86350 #define $ac_func innocuous_$ac_func
86351
86352 /* System header to define __stub macros and hopefully few prototypes,
86353     which can conflict with char $ac_func (); below.
86354     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86355     <limits.h> exists even on freestanding compilers.  */
86356
86357 #ifdef __STDC__
86358 # include <limits.h>
86359 #else
86360 # include <assert.h>
86361 #endif
86362
86363 #undef $ac_func
86364
86365 /* Override any gcc2 internal prototype to avoid an error.  */
86366 #ifdef __cplusplus
86367 extern "C"
86368 {
86369 #endif
86370 /* We use char because int might match the return type of a gcc2
86371    builtin and then its argument prototype would still apply.  */
86372 char $ac_func ();
86373 /* The GNU C library defines this for functions which it implements
86374     to always fail with ENOSYS.  Some functions are actually named
86375     something starting with __ and the normal name is an alias.  */
86376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86377 choke me
86378 #else
86379 char (*f) () = $ac_func;
86380 #endif
86381 #ifdef __cplusplus
86382 }
86383 #endif
86384
86385 int
86386 main ()
86387 {
86388 return f != $ac_func;
86389   ;
86390   return 0;
86391 }
86392 _ACEOF
86393 rm -f conftest.$ac_objext conftest$ac_exeext
86394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86395   (eval $ac_link) 2>conftest.er1
86396   ac_status=$?
86397   grep -v '^ *+' conftest.er1 >conftest.err
86398   rm -f conftest.er1
86399   cat conftest.err >&5
86400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86401   (exit $ac_status); } &&
86402          { ac_try='test -z "$ac_c_werror_flag"
86403                          || test ! -s conftest.err'
86404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86405   (eval $ac_try) 2>&5
86406   ac_status=$?
86407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86408   (exit $ac_status); }; } &&
86409          { ac_try='test -s conftest$ac_exeext'
86410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86411   (eval $ac_try) 2>&5
86412   ac_status=$?
86413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86414   (exit $ac_status); }; }; then
86415   eval "$as_ac_var=yes"
86416 else
86417   echo "$as_me: failed program was:" >&5
86418 sed 's/^/| /' conftest.$ac_ext >&5
86419
86420 eval "$as_ac_var=no"
86421 fi
86422 rm -f conftest.err conftest.$ac_objext \
86423       conftest$ac_exeext conftest.$ac_ext
86424 fi
86425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86427 if test `eval echo '${'$as_ac_var'}'` = yes; then
86428   cat >>confdefs.h <<_ACEOF
86429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86430 _ACEOF
86431
86432 else
86433   ac_wfuncs=no
86434 fi
86435 done
86436
86437
86438     # Checks for wide character functions that are not required
86439     # for basic wchar_t support.  Don't disable support if they are missing.
86440     # Injection of these is wrapped with guard macros.
86441
86442
86443
86444
86445
86446 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
86447 do
86448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86449 echo "$as_me:$LINENO: checking for $ac_func" >&5
86450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86451 if eval "test \"\${$as_ac_var+set}\" = set"; then
86452   echo $ECHO_N "(cached) $ECHO_C" >&6
86453 else
86454   if test x$gcc_no_link = xyes; then
86455   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86457    { (exit 1); exit 1; }; }
86458 fi
86459 cat >conftest.$ac_ext <<_ACEOF
86460 /* confdefs.h.  */
86461 _ACEOF
86462 cat confdefs.h >>conftest.$ac_ext
86463 cat >>conftest.$ac_ext <<_ACEOF
86464 /* end confdefs.h.  */
86465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86466    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86467 #define $ac_func innocuous_$ac_func
86468
86469 /* System header to define __stub macros and hopefully few prototypes,
86470     which can conflict with char $ac_func (); below.
86471     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86472     <limits.h> exists even on freestanding compilers.  */
86473
86474 #ifdef __STDC__
86475 # include <limits.h>
86476 #else
86477 # include <assert.h>
86478 #endif
86479
86480 #undef $ac_func
86481
86482 /* Override any gcc2 internal prototype to avoid an error.  */
86483 #ifdef __cplusplus
86484 extern "C"
86485 {
86486 #endif
86487 /* We use char because int might match the return type of a gcc2
86488    builtin and then its argument prototype would still apply.  */
86489 char $ac_func ();
86490 /* The GNU C library defines this for functions which it implements
86491     to always fail with ENOSYS.  Some functions are actually named
86492     something starting with __ and the normal name is an alias.  */
86493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86494 choke me
86495 #else
86496 char (*f) () = $ac_func;
86497 #endif
86498 #ifdef __cplusplus
86499 }
86500 #endif
86501
86502 int
86503 main ()
86504 {
86505 return f != $ac_func;
86506   ;
86507   return 0;
86508 }
86509 _ACEOF
86510 rm -f conftest.$ac_objext conftest$ac_exeext
86511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86512   (eval $ac_link) 2>conftest.er1
86513   ac_status=$?
86514   grep -v '^ *+' conftest.er1 >conftest.err
86515   rm -f conftest.er1
86516   cat conftest.err >&5
86517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86518   (exit $ac_status); } &&
86519          { ac_try='test -z "$ac_c_werror_flag"
86520                          || test ! -s conftest.err'
86521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86522   (eval $ac_try) 2>&5
86523   ac_status=$?
86524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86525   (exit $ac_status); }; } &&
86526          { ac_try='test -s conftest$ac_exeext'
86527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86528   (eval $ac_try) 2>&5
86529   ac_status=$?
86530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86531   (exit $ac_status); }; }; then
86532   eval "$as_ac_var=yes"
86533 else
86534   echo "$as_me: failed program was:" >&5
86535 sed 's/^/| /' conftest.$ac_ext >&5
86536
86537 eval "$as_ac_var=no"
86538 fi
86539 rm -f conftest.err conftest.$ac_objext \
86540       conftest$ac_exeext conftest.$ac_ext
86541 fi
86542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86544 if test `eval echo '${'$as_ac_var'}'` = yes; then
86545   cat >>confdefs.h <<_ACEOF
86546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86547 _ACEOF
86548
86549 fi
86550 done
86551
86552
86553     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
86554 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
86555     if test x"$has_weof" = xyes &&
86556        test x"$has_wchar_minmax" = xyes &&
86557        test x"$ac_wfuncs" = xyes;
86558     then
86559       ac_isoC99_wchar_t=yes
86560     else
86561       ac_isoC99_wchar_t=no
86562     fi
86563     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
86564 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
86565
86566     # Use iconv for wchar_t to char conversions. As such, check for
86567     # X/Open Portability Guide, version 2 features (XPG2).
86568     if test "${ac_cv_header_iconv_h+set}" = set; then
86569   echo "$as_me:$LINENO: checking for iconv.h" >&5
86570 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86571 if test "${ac_cv_header_iconv_h+set}" = set; then
86572   echo $ECHO_N "(cached) $ECHO_C" >&6
86573 fi
86574 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86575 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86576 else
86577   # Is the header compilable?
86578 echo "$as_me:$LINENO: checking iconv.h usability" >&5
86579 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
86580 cat >conftest.$ac_ext <<_ACEOF
86581 /* confdefs.h.  */
86582 _ACEOF
86583 cat confdefs.h >>conftest.$ac_ext
86584 cat >>conftest.$ac_ext <<_ACEOF
86585 /* end confdefs.h.  */
86586 $ac_includes_default
86587 #include <iconv.h>
86588 _ACEOF
86589 rm -f conftest.$ac_objext
86590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86591   (eval $ac_compile) 2>conftest.er1
86592   ac_status=$?
86593   grep -v '^ *+' conftest.er1 >conftest.err
86594   rm -f conftest.er1
86595   cat conftest.err >&5
86596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86597   (exit $ac_status); } &&
86598          { ac_try='test -z "$ac_c_werror_flag"
86599                          || test ! -s conftest.err'
86600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86601   (eval $ac_try) 2>&5
86602   ac_status=$?
86603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86604   (exit $ac_status); }; } &&
86605          { ac_try='test -s conftest.$ac_objext'
86606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86607   (eval $ac_try) 2>&5
86608   ac_status=$?
86609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86610   (exit $ac_status); }; }; then
86611   ac_header_compiler=yes
86612 else
86613   echo "$as_me: failed program was:" >&5
86614 sed 's/^/| /' conftest.$ac_ext >&5
86615
86616 ac_header_compiler=no
86617 fi
86618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86619 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86620 echo "${ECHO_T}$ac_header_compiler" >&6
86621
86622 # Is the header present?
86623 echo "$as_me:$LINENO: checking iconv.h presence" >&5
86624 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
86625 cat >conftest.$ac_ext <<_ACEOF
86626 /* confdefs.h.  */
86627 _ACEOF
86628 cat confdefs.h >>conftest.$ac_ext
86629 cat >>conftest.$ac_ext <<_ACEOF
86630 /* end confdefs.h.  */
86631 #include <iconv.h>
86632 _ACEOF
86633 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86634   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86635   ac_status=$?
86636   grep -v '^ *+' conftest.er1 >conftest.err
86637   rm -f conftest.er1
86638   cat conftest.err >&5
86639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86640   (exit $ac_status); } >/dev/null; then
86641   if test -s conftest.err; then
86642     ac_cpp_err=$ac_c_preproc_warn_flag
86643     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86644   else
86645     ac_cpp_err=
86646   fi
86647 else
86648   ac_cpp_err=yes
86649 fi
86650 if test -z "$ac_cpp_err"; then
86651   ac_header_preproc=yes
86652 else
86653   echo "$as_me: failed program was:" >&5
86654 sed 's/^/| /' conftest.$ac_ext >&5
86655
86656   ac_header_preproc=no
86657 fi
86658 rm -f conftest.err conftest.$ac_ext
86659 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86660 echo "${ECHO_T}$ac_header_preproc" >&6
86661
86662 # So?  What about this header?
86663 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86664   yes:no: )
86665     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
86666 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86667     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
86668 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
86669     ac_header_preproc=yes
86670     ;;
86671   no:yes:* )
86672     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
86673 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
86674     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
86675 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
86676     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
86677 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
86678     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
86679 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
86680     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
86681 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
86682     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
86683 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
86684     (
86685       cat <<\_ASBOX
86686 ## ----------------------------------------- ##
86687 ## Report this to the package-unused lists.  ##
86688 ## ----------------------------------------- ##
86689 _ASBOX
86690     ) |
86691       sed "s/^/$as_me: WARNING:     /" >&2
86692     ;;
86693 esac
86694 echo "$as_me:$LINENO: checking for iconv.h" >&5
86695 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86696 if test "${ac_cv_header_iconv_h+set}" = set; then
86697   echo $ECHO_N "(cached) $ECHO_C" >&6
86698 else
86699   ac_cv_header_iconv_h=$ac_header_preproc
86700 fi
86701 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86702 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86703
86704 fi
86705 if test $ac_cv_header_iconv_h = yes; then
86706   ac_has_iconv_h=yes
86707 else
86708   ac_has_iconv_h=no
86709 fi
86710
86711
86712     if test "${ac_cv_header_langinfo_h+set}" = set; then
86713   echo "$as_me:$LINENO: checking for langinfo.h" >&5
86714 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86715 if test "${ac_cv_header_langinfo_h+set}" = set; then
86716   echo $ECHO_N "(cached) $ECHO_C" >&6
86717 fi
86718 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86719 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86720 else
86721   # Is the header compilable?
86722 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
86723 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
86724 cat >conftest.$ac_ext <<_ACEOF
86725 /* confdefs.h.  */
86726 _ACEOF
86727 cat confdefs.h >>conftest.$ac_ext
86728 cat >>conftest.$ac_ext <<_ACEOF
86729 /* end confdefs.h.  */
86730 $ac_includes_default
86731 #include <langinfo.h>
86732 _ACEOF
86733 rm -f conftest.$ac_objext
86734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86735   (eval $ac_compile) 2>conftest.er1
86736   ac_status=$?
86737   grep -v '^ *+' conftest.er1 >conftest.err
86738   rm -f conftest.er1
86739   cat conftest.err >&5
86740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86741   (exit $ac_status); } &&
86742          { ac_try='test -z "$ac_c_werror_flag"
86743                          || test ! -s conftest.err'
86744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86745   (eval $ac_try) 2>&5
86746   ac_status=$?
86747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86748   (exit $ac_status); }; } &&
86749          { ac_try='test -s conftest.$ac_objext'
86750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86751   (eval $ac_try) 2>&5
86752   ac_status=$?
86753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86754   (exit $ac_status); }; }; then
86755   ac_header_compiler=yes
86756 else
86757   echo "$as_me: failed program was:" >&5
86758 sed 's/^/| /' conftest.$ac_ext >&5
86759
86760 ac_header_compiler=no
86761 fi
86762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86763 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86764 echo "${ECHO_T}$ac_header_compiler" >&6
86765
86766 # Is the header present?
86767 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
86768 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
86769 cat >conftest.$ac_ext <<_ACEOF
86770 /* confdefs.h.  */
86771 _ACEOF
86772 cat confdefs.h >>conftest.$ac_ext
86773 cat >>conftest.$ac_ext <<_ACEOF
86774 /* end confdefs.h.  */
86775 #include <langinfo.h>
86776 _ACEOF
86777 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86778   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86779   ac_status=$?
86780   grep -v '^ *+' conftest.er1 >conftest.err
86781   rm -f conftest.er1
86782   cat conftest.err >&5
86783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86784   (exit $ac_status); } >/dev/null; then
86785   if test -s conftest.err; then
86786     ac_cpp_err=$ac_c_preproc_warn_flag
86787     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86788   else
86789     ac_cpp_err=
86790   fi
86791 else
86792   ac_cpp_err=yes
86793 fi
86794 if test -z "$ac_cpp_err"; then
86795   ac_header_preproc=yes
86796 else
86797   echo "$as_me: failed program was:" >&5
86798 sed 's/^/| /' conftest.$ac_ext >&5
86799
86800   ac_header_preproc=no
86801 fi
86802 rm -f conftest.err conftest.$ac_ext
86803 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86804 echo "${ECHO_T}$ac_header_preproc" >&6
86805
86806 # So?  What about this header?
86807 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86808   yes:no: )
86809     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
86810 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86811     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
86812 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
86813     ac_header_preproc=yes
86814     ;;
86815   no:yes:* )
86816     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
86817 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
86818     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
86819 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
86820     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
86821 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
86822     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
86823 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
86824     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
86825 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
86826     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
86827 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
86828     (
86829       cat <<\_ASBOX
86830 ## ----------------------------------------- ##
86831 ## Report this to the package-unused lists.  ##
86832 ## ----------------------------------------- ##
86833 _ASBOX
86834     ) |
86835       sed "s/^/$as_me: WARNING:     /" >&2
86836     ;;
86837 esac
86838 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86839 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86840 if test "${ac_cv_header_langinfo_h+set}" = set; then
86841   echo $ECHO_N "(cached) $ECHO_C" >&6
86842 else
86843   ac_cv_header_langinfo_h=$ac_header_preproc
86844 fi
86845 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86846 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86847
86848 fi
86849 if test $ac_cv_header_langinfo_h = yes; then
86850   ac_has_langinfo_h=yes
86851 else
86852   ac_has_langinfo_h=no
86853 fi
86854
86855
86856
86857     # Check for existence of libiconv.a providing XPG2 wchar_t support.
86858     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
86859 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
86860 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
86861   echo $ECHO_N "(cached) $ECHO_C" >&6
86862 else
86863   ac_check_lib_save_LIBS=$LIBS
86864 LIBS="-liconv  $LIBS"
86865 if test x$gcc_no_link = xyes; then
86866   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86868    { (exit 1); exit 1; }; }
86869 fi
86870 cat >conftest.$ac_ext <<_ACEOF
86871 /* confdefs.h.  */
86872 _ACEOF
86873 cat confdefs.h >>conftest.$ac_ext
86874 cat >>conftest.$ac_ext <<_ACEOF
86875 /* end confdefs.h.  */
86876
86877 /* Override any gcc2 internal prototype to avoid an error.  */
86878 #ifdef __cplusplus
86879 extern "C"
86880 #endif
86881 /* We use char because int might match the return type of a gcc2
86882    builtin and then its argument prototype would still apply.  */
86883 char iconv ();
86884 int
86885 main ()
86886 {
86887 iconv ();
86888   ;
86889   return 0;
86890 }
86891 _ACEOF
86892 rm -f conftest.$ac_objext conftest$ac_exeext
86893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86894   (eval $ac_link) 2>conftest.er1
86895   ac_status=$?
86896   grep -v '^ *+' conftest.er1 >conftest.err
86897   rm -f conftest.er1
86898   cat conftest.err >&5
86899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86900   (exit $ac_status); } &&
86901          { ac_try='test -z "$ac_c_werror_flag"
86902                          || test ! -s conftest.err'
86903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86904   (eval $ac_try) 2>&5
86905   ac_status=$?
86906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86907   (exit $ac_status); }; } &&
86908          { ac_try='test -s conftest$ac_exeext'
86909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86910   (eval $ac_try) 2>&5
86911   ac_status=$?
86912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86913   (exit $ac_status); }; }; then
86914   ac_cv_lib_iconv_iconv=yes
86915 else
86916   echo "$as_me: failed program was:" >&5
86917 sed 's/^/| /' conftest.$ac_ext >&5
86918
86919 ac_cv_lib_iconv_iconv=no
86920 fi
86921 rm -f conftest.err conftest.$ac_objext \
86922       conftest$ac_exeext conftest.$ac_ext
86923 LIBS=$ac_check_lib_save_LIBS
86924 fi
86925 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
86926 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
86927 if test $ac_cv_lib_iconv_iconv = yes; then
86928   LIBICONV="-liconv"
86929 fi
86930
86931     ac_save_LIBS="$LIBS"
86932     LIBS="$LIBS $LIBICONV"
86933
86934
86935
86936
86937
86938
86939 for ac_func in iconv_open iconv_close iconv nl_langinfo
86940 do
86941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86942 echo "$as_me:$LINENO: checking for $ac_func" >&5
86943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86944 if eval "test \"\${$as_ac_var+set}\" = set"; then
86945   echo $ECHO_N "(cached) $ECHO_C" >&6
86946 else
86947   if test x$gcc_no_link = xyes; then
86948   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86950    { (exit 1); exit 1; }; }
86951 fi
86952 cat >conftest.$ac_ext <<_ACEOF
86953 /* confdefs.h.  */
86954 _ACEOF
86955 cat confdefs.h >>conftest.$ac_ext
86956 cat >>conftest.$ac_ext <<_ACEOF
86957 /* end confdefs.h.  */
86958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86959    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86960 #define $ac_func innocuous_$ac_func
86961
86962 /* System header to define __stub macros and hopefully few prototypes,
86963     which can conflict with char $ac_func (); below.
86964     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86965     <limits.h> exists even on freestanding compilers.  */
86966
86967 #ifdef __STDC__
86968 # include <limits.h>
86969 #else
86970 # include <assert.h>
86971 #endif
86972
86973 #undef $ac_func
86974
86975 /* Override any gcc2 internal prototype to avoid an error.  */
86976 #ifdef __cplusplus
86977 extern "C"
86978 {
86979 #endif
86980 /* We use char because int might match the return type of a gcc2
86981    builtin and then its argument prototype would still apply.  */
86982 char $ac_func ();
86983 /* The GNU C library defines this for functions which it implements
86984     to always fail with ENOSYS.  Some functions are actually named
86985     something starting with __ and the normal name is an alias.  */
86986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86987 choke me
86988 #else
86989 char (*f) () = $ac_func;
86990 #endif
86991 #ifdef __cplusplus
86992 }
86993 #endif
86994
86995 int
86996 main ()
86997 {
86998 return f != $ac_func;
86999   ;
87000   return 0;
87001 }
87002 _ACEOF
87003 rm -f conftest.$ac_objext conftest$ac_exeext
87004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87005   (eval $ac_link) 2>conftest.er1
87006   ac_status=$?
87007   grep -v '^ *+' conftest.er1 >conftest.err
87008   rm -f conftest.er1
87009   cat conftest.err >&5
87010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87011   (exit $ac_status); } &&
87012          { ac_try='test -z "$ac_c_werror_flag"
87013                          || test ! -s conftest.err'
87014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87015   (eval $ac_try) 2>&5
87016   ac_status=$?
87017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87018   (exit $ac_status); }; } &&
87019          { ac_try='test -s conftest$ac_exeext'
87020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87021   (eval $ac_try) 2>&5
87022   ac_status=$?
87023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87024   (exit $ac_status); }; }; then
87025   eval "$as_ac_var=yes"
87026 else
87027   echo "$as_me: failed program was:" >&5
87028 sed 's/^/| /' conftest.$ac_ext >&5
87029
87030 eval "$as_ac_var=no"
87031 fi
87032 rm -f conftest.err conftest.$ac_objext \
87033       conftest$ac_exeext conftest.$ac_ext
87034 fi
87035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87037 if test `eval echo '${'$as_ac_var'}'` = yes; then
87038   cat >>confdefs.h <<_ACEOF
87039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87040 _ACEOF
87041  ac_XPG2funcs=yes
87042 else
87043   ac_XPG2funcs=no
87044 fi
87045 done
87046
87047
87048     LIBS="$ac_save_LIBS"
87049
87050     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
87051 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
87052     if test x"$ac_has_iconv_h" = xyes &&
87053        test x"$ac_has_langinfo_h" = xyes &&
87054        test x"$ac_XPG2funcs" = xyes;
87055     then
87056       ac_XPG2_wchar_t=yes
87057     else
87058       ac_XPG2_wchar_t=no
87059     fi
87060     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
87061 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
87062
87063     # At the moment, only enable wchar_t specializations if all the
87064     # above support is present.
87065     if test x"$ac_isoC99_wchar_t" = xyes &&
87066        test x"$ac_XPG2_wchar_t" = xyes;
87067     then
87068       cat >>confdefs.h <<\_ACEOF
87069 #define _GLIBCXX_USE_WCHAR_T 1
87070 _ACEOF
87071
87072       enable_wchar_t=yes
87073     fi
87074   fi
87075   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
87076 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
87077   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
87078 echo "${ECHO_T}$enable_wchar_t" >&6
87079
87080     cat >>confdefs.h <<\_ACEOF
87081 #define HAVE_COPYSIGN 1
87082 _ACEOF
87083
87084     cat >>confdefs.h <<\_ACEOF
87085 #define HAVE_COPYSIGNF 1
87086 _ACEOF
87087
87088     cat >>confdefs.h <<\_ACEOF
87089 #define HAVE_FINITEF 1
87090 _ACEOF
87091
87092     cat >>confdefs.h <<\_ACEOF
87093 #define HAVE_FINITE 1
87094 _ACEOF
87095
87096     cat >>confdefs.h <<\_ACEOF
87097 #define HAVE_FREXPF 1
87098 _ACEOF
87099
87100     cat >>confdefs.h <<\_ACEOF
87101 #define HAVE_HYPOTF 1
87102 _ACEOF
87103
87104     cat >>confdefs.h <<\_ACEOF
87105 #define HAVE_ISINF 1
87106 _ACEOF
87107
87108     cat >>confdefs.h <<\_ACEOF
87109 #define HAVE_ISINFF 1
87110 _ACEOF
87111
87112     cat >>confdefs.h <<\_ACEOF
87113 #define HAVE_ISNAN 1
87114 _ACEOF
87115
87116     cat >>confdefs.h <<\_ACEOF
87117 #define HAVE_ISNANF 1
87118 _ACEOF
87119
87120     if test x"long_double_math_on_this_cpu" = x"yes"; then
87121       cat >>confdefs.h <<\_ACEOF
87122 #define HAVE_FINITEL 1
87123 _ACEOF
87124
87125       cat >>confdefs.h <<\_ACEOF
87126 #define HAVE_ISINFL 1
87127 _ACEOF
87128
87129       cat >>confdefs.h <<\_ACEOF
87130 #define HAVE_ISNANL 1
87131 _ACEOF
87132
87133     fi
87134     ;;
87135   *-netware)
87136
87137
87138
87139
87140
87141
87142
87143
87144 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
87145       sys/types.h locale.h float.h inttypes.h
87146 do
87147 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87148 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87149   echo "$as_me:$LINENO: checking for $ac_header" >&5
87150 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87151 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87152   echo $ECHO_N "(cached) $ECHO_C" >&6
87153 fi
87154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87155 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87156 else
87157   # Is the header compilable?
87158 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87159 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87160 cat >conftest.$ac_ext <<_ACEOF
87161 /* confdefs.h.  */
87162 _ACEOF
87163 cat confdefs.h >>conftest.$ac_ext
87164 cat >>conftest.$ac_ext <<_ACEOF
87165 /* end confdefs.h.  */
87166 $ac_includes_default
87167 #include <$ac_header>
87168 _ACEOF
87169 rm -f conftest.$ac_objext
87170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87171   (eval $ac_compile) 2>conftest.er1
87172   ac_status=$?
87173   grep -v '^ *+' conftest.er1 >conftest.err
87174   rm -f conftest.er1
87175   cat conftest.err >&5
87176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87177   (exit $ac_status); } &&
87178          { ac_try='test -z "$ac_c_werror_flag"
87179                          || test ! -s conftest.err'
87180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87181   (eval $ac_try) 2>&5
87182   ac_status=$?
87183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87184   (exit $ac_status); }; } &&
87185          { ac_try='test -s conftest.$ac_objext'
87186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87187   (eval $ac_try) 2>&5
87188   ac_status=$?
87189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87190   (exit $ac_status); }; }; then
87191   ac_header_compiler=yes
87192 else
87193   echo "$as_me: failed program was:" >&5
87194 sed 's/^/| /' conftest.$ac_ext >&5
87195
87196 ac_header_compiler=no
87197 fi
87198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87199 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87200 echo "${ECHO_T}$ac_header_compiler" >&6
87201
87202 # Is the header present?
87203 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87204 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87205 cat >conftest.$ac_ext <<_ACEOF
87206 /* confdefs.h.  */
87207 _ACEOF
87208 cat confdefs.h >>conftest.$ac_ext
87209 cat >>conftest.$ac_ext <<_ACEOF
87210 /* end confdefs.h.  */
87211 #include <$ac_header>
87212 _ACEOF
87213 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87214   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87215   ac_status=$?
87216   grep -v '^ *+' conftest.er1 >conftest.err
87217   rm -f conftest.er1
87218   cat conftest.err >&5
87219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87220   (exit $ac_status); } >/dev/null; then
87221   if test -s conftest.err; then
87222     ac_cpp_err=$ac_c_preproc_warn_flag
87223     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87224   else
87225     ac_cpp_err=
87226   fi
87227 else
87228   ac_cpp_err=yes
87229 fi
87230 if test -z "$ac_cpp_err"; then
87231   ac_header_preproc=yes
87232 else
87233   echo "$as_me: failed program was:" >&5
87234 sed 's/^/| /' conftest.$ac_ext >&5
87235
87236   ac_header_preproc=no
87237 fi
87238 rm -f conftest.err conftest.$ac_ext
87239 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87240 echo "${ECHO_T}$ac_header_preproc" >&6
87241
87242 # So?  What about this header?
87243 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87244   yes:no: )
87245     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87246 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87247     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87248 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87249     ac_header_preproc=yes
87250     ;;
87251   no:yes:* )
87252     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87253 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87254     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
87255 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
87256     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87257 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87258     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
87259 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
87260     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87261 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87262     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87263 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87264     (
87265       cat <<\_ASBOX
87266 ## ----------------------------------------- ##
87267 ## Report this to the package-unused lists.  ##
87268 ## ----------------------------------------- ##
87269 _ASBOX
87270     ) |
87271       sed "s/^/$as_me: WARNING:     /" >&2
87272     ;;
87273 esac
87274 echo "$as_me:$LINENO: checking for $ac_header" >&5
87275 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87276 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87277   echo $ECHO_N "(cached) $ECHO_C" >&6
87278 else
87279   eval "$as_ac_Header=\$ac_header_preproc"
87280 fi
87281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87282 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87283
87284 fi
87285 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87286   cat >>confdefs.h <<_ACEOF
87287 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87288 _ACEOF
87289
87290 fi
87291
87292 done
87293
87294     SECTION_FLAGS='-ffunction-sections -fdata-sections'
87295
87296
87297   # If we're not using GNU ld, then there's no point in even trying these
87298   # tests.  Check for that first.  We should have already tested for gld
87299   # by now (in libtool), but require it now just to be safe...
87300   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87301   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87302
87303
87304
87305   # The name set by libtool depends on the version of libtool.  Shame on us
87306   # for depending on an impl detail, but c'est la vie.  Older versions used
87307   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87308   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87309   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
87310   # set (hence we're using an older libtool), then set it.
87311   if test x${with_gnu_ld+set} != xset; then
87312     if test x${ac_cv_prog_gnu_ld+set} != xset; then
87313       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
87314       with_gnu_ld=no
87315     else
87316       with_gnu_ld=$ac_cv_prog_gnu_ld
87317     fi
87318   fi
87319
87320   # Start by getting the version number.  I think the libtool test already
87321   # does some of this, but throws away the result.
87322
87323   ldver=`$LD --version 2>/dev/null | head -1 | \
87324          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
87325
87326   glibcxx_gnu_ld_version=`echo $ldver | \
87327          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87328
87329   # Set --gc-sections.
87330   if test "$with_gnu_ld" = "notbroken"; then
87331     # GNU ld it is!  Joy and bunny rabbits!
87332
87333     # All these tests are for C++; save the language and the compiler flags.
87334     # Need to do this so that g++ won't try to link in libstdc++
87335     ac_test_CFLAGS="${CFLAGS+set}"
87336     ac_save_CFLAGS="$CFLAGS"
87337     CFLAGS='-x c++  -Wl,--gc-sections'
87338
87339     # Check for -Wl,--gc-sections
87340     # XXX This test is broken at the moment, as symbols required for linking
87341     # are now in libsupc++ (not built yet).  In addition, this test has
87342     # cored on solaris in the past.  In addition, --gc-sections doesn't
87343     # really work at the moment (keeps on discarding used sections, first
87344     # .eh_frame and now some of the glibc sections for iconv).
87345     # Bzzzzt.  Thanks for playing, maybe next time.
87346     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87347 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87348     if test "$cross_compiling" = yes; then
87349   ac_sectionLDflags=yes
87350 else
87351   cat >conftest.$ac_ext <<_ACEOF
87352 /* confdefs.h.  */
87353 _ACEOF
87354 cat confdefs.h >>conftest.$ac_ext
87355 cat >>conftest.$ac_ext <<_ACEOF
87356 /* end confdefs.h.  */
87357
87358      int main(void)
87359      {
87360        try { throw 1; }
87361        catch (...) { };
87362        return 0;
87363      }
87364
87365 _ACEOF
87366 rm -f conftest$ac_exeext
87367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87368   (eval $ac_link) 2>&5
87369   ac_status=$?
87370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87371   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
87372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87373   (eval $ac_try) 2>&5
87374   ac_status=$?
87375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87376   (exit $ac_status); }; }; then
87377   ac_sectionLDflags=yes
87378 else
87379   echo "$as_me: program exited with status $ac_status" >&5
87380 echo "$as_me: failed program was:" >&5
87381 sed 's/^/| /' conftest.$ac_ext >&5
87382
87383 ( exit $ac_status )
87384 ac_sectionLDflags=no
87385 fi
87386 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
87387 fi
87388     if test "$ac_test_CFLAGS" = set; then
87389       CFLAGS="$ac_save_CFLAGS"
87390     else
87391       # this is the suspicious part
87392       CFLAGS=''
87393     fi
87394     if test "$ac_sectionLDflags" = "yes"; then
87395       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87396     fi
87397     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
87398 echo "${ECHO_T}$ac_sectionLDflags" >&6
87399   fi
87400
87401   # Set linker optimization flags.
87402   if test x"$with_gnu_ld" = x"yes"; then
87403     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87404   fi
87405
87406
87407
87408
87409
87410
87411 echo "$as_me:$LINENO: checking for main in -lm" >&5
87412 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
87413 if test "${ac_cv_lib_m_main+set}" = set; then
87414   echo $ECHO_N "(cached) $ECHO_C" >&6
87415 else
87416   ac_check_lib_save_LIBS=$LIBS
87417 LIBS="-lm  $LIBS"
87418 if test x$gcc_no_link = xyes; then
87419   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87421    { (exit 1); exit 1; }; }
87422 fi
87423 cat >conftest.$ac_ext <<_ACEOF
87424 /* confdefs.h.  */
87425 _ACEOF
87426 cat confdefs.h >>conftest.$ac_ext
87427 cat >>conftest.$ac_ext <<_ACEOF
87428 /* end confdefs.h.  */
87429
87430
87431 int
87432 main ()
87433 {
87434 main ();
87435   ;
87436   return 0;
87437 }
87438 _ACEOF
87439 rm -f conftest.$ac_objext conftest$ac_exeext
87440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87441   (eval $ac_link) 2>conftest.er1
87442   ac_status=$?
87443   grep -v '^ *+' conftest.er1 >conftest.err
87444   rm -f conftest.er1
87445   cat conftest.err >&5
87446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87447   (exit $ac_status); } &&
87448          { ac_try='test -z "$ac_c_werror_flag"
87449                          || test ! -s conftest.err'
87450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87451   (eval $ac_try) 2>&5
87452   ac_status=$?
87453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87454   (exit $ac_status); }; } &&
87455          { ac_try='test -s conftest$ac_exeext'
87456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87457   (eval $ac_try) 2>&5
87458   ac_status=$?
87459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87460   (exit $ac_status); }; }; then
87461   ac_cv_lib_m_main=yes
87462 else
87463   echo "$as_me: failed program was:" >&5
87464 sed 's/^/| /' conftest.$ac_ext >&5
87465
87466 ac_cv_lib_m_main=no
87467 fi
87468 rm -f conftest.err conftest.$ac_objext \
87469       conftest$ac_exeext conftest.$ac_ext
87470 LIBS=$ac_check_lib_save_LIBS
87471 fi
87472 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
87473 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
87474 if test $ac_cv_lib_m_main = yes; then
87475   cat >>confdefs.h <<_ACEOF
87476 #define HAVE_LIBM 1
87477 _ACEOF
87478
87479   LIBS="-lm $LIBS"
87480
87481 fi
87482
87483
87484 for ac_func in copysignf
87485 do
87486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87487 echo "$as_me:$LINENO: checking for $ac_func" >&5
87488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87489 if eval "test \"\${$as_ac_var+set}\" = set"; then
87490   echo $ECHO_N "(cached) $ECHO_C" >&6
87491 else
87492   if test x$gcc_no_link = xyes; then
87493   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87495    { (exit 1); exit 1; }; }
87496 fi
87497 cat >conftest.$ac_ext <<_ACEOF
87498 /* confdefs.h.  */
87499 _ACEOF
87500 cat confdefs.h >>conftest.$ac_ext
87501 cat >>conftest.$ac_ext <<_ACEOF
87502 /* end confdefs.h.  */
87503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87504    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87505 #define $ac_func innocuous_$ac_func
87506
87507 /* System header to define __stub macros and hopefully few prototypes,
87508     which can conflict with char $ac_func (); below.
87509     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87510     <limits.h> exists even on freestanding compilers.  */
87511
87512 #ifdef __STDC__
87513 # include <limits.h>
87514 #else
87515 # include <assert.h>
87516 #endif
87517
87518 #undef $ac_func
87519
87520 /* Override any gcc2 internal prototype to avoid an error.  */
87521 #ifdef __cplusplus
87522 extern "C"
87523 {
87524 #endif
87525 /* We use char because int might match the return type of a gcc2
87526    builtin and then its argument prototype would still apply.  */
87527 char $ac_func ();
87528 /* The GNU C library defines this for functions which it implements
87529     to always fail with ENOSYS.  Some functions are actually named
87530     something starting with __ and the normal name is an alias.  */
87531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87532 choke me
87533 #else
87534 char (*f) () = $ac_func;
87535 #endif
87536 #ifdef __cplusplus
87537 }
87538 #endif
87539
87540 int
87541 main ()
87542 {
87543 return f != $ac_func;
87544   ;
87545   return 0;
87546 }
87547 _ACEOF
87548 rm -f conftest.$ac_objext conftest$ac_exeext
87549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87550   (eval $ac_link) 2>conftest.er1
87551   ac_status=$?
87552   grep -v '^ *+' conftest.er1 >conftest.err
87553   rm -f conftest.er1
87554   cat conftest.err >&5
87555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87556   (exit $ac_status); } &&
87557          { ac_try='test -z "$ac_c_werror_flag"
87558                          || test ! -s conftest.err'
87559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87560   (eval $ac_try) 2>&5
87561   ac_status=$?
87562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87563   (exit $ac_status); }; } &&
87564          { ac_try='test -s conftest$ac_exeext'
87565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87566   (eval $ac_try) 2>&5
87567   ac_status=$?
87568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87569   (exit $ac_status); }; }; then
87570   eval "$as_ac_var=yes"
87571 else
87572   echo "$as_me: failed program was:" >&5
87573 sed 's/^/| /' conftest.$ac_ext >&5
87574
87575 eval "$as_ac_var=no"
87576 fi
87577 rm -f conftest.err conftest.$ac_objext \
87578       conftest$ac_exeext conftest.$ac_ext
87579 fi
87580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87582 if test `eval echo '${'$as_ac_var'}'` = yes; then
87583   cat >>confdefs.h <<_ACEOF
87584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87585 _ACEOF
87586
87587 else
87588   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87589 fi
87590 done
87591
87592
87593
87594 for ac_func in __signbit
87595 do
87596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87597 echo "$as_me:$LINENO: checking for $ac_func" >&5
87598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87599 if eval "test \"\${$as_ac_var+set}\" = set"; then
87600   echo $ECHO_N "(cached) $ECHO_C" >&6
87601 else
87602   if test x$gcc_no_link = xyes; then
87603   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87605    { (exit 1); exit 1; }; }
87606 fi
87607 cat >conftest.$ac_ext <<_ACEOF
87608 /* confdefs.h.  */
87609 _ACEOF
87610 cat confdefs.h >>conftest.$ac_ext
87611 cat >>conftest.$ac_ext <<_ACEOF
87612 /* end confdefs.h.  */
87613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87614    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87615 #define $ac_func innocuous_$ac_func
87616
87617 /* System header to define __stub macros and hopefully few prototypes,
87618     which can conflict with char $ac_func (); below.
87619     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87620     <limits.h> exists even on freestanding compilers.  */
87621
87622 #ifdef __STDC__
87623 # include <limits.h>
87624 #else
87625 # include <assert.h>
87626 #endif
87627
87628 #undef $ac_func
87629
87630 /* Override any gcc2 internal prototype to avoid an error.  */
87631 #ifdef __cplusplus
87632 extern "C"
87633 {
87634 #endif
87635 /* We use char because int might match the return type of a gcc2
87636    builtin and then its argument prototype would still apply.  */
87637 char $ac_func ();
87638 /* The GNU C library defines this for functions which it implements
87639     to always fail with ENOSYS.  Some functions are actually named
87640     something starting with __ and the normal name is an alias.  */
87641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87642 choke me
87643 #else
87644 char (*f) () = $ac_func;
87645 #endif
87646 #ifdef __cplusplus
87647 }
87648 #endif
87649
87650 int
87651 main ()
87652 {
87653 return f != $ac_func;
87654   ;
87655   return 0;
87656 }
87657 _ACEOF
87658 rm -f conftest.$ac_objext conftest$ac_exeext
87659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87660   (eval $ac_link) 2>conftest.er1
87661   ac_status=$?
87662   grep -v '^ *+' conftest.er1 >conftest.err
87663   rm -f conftest.er1
87664   cat conftest.err >&5
87665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87666   (exit $ac_status); } &&
87667          { ac_try='test -z "$ac_c_werror_flag"
87668                          || test ! -s conftest.err'
87669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87670   (eval $ac_try) 2>&5
87671   ac_status=$?
87672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87673   (exit $ac_status); }; } &&
87674          { ac_try='test -s conftest$ac_exeext'
87675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87676   (eval $ac_try) 2>&5
87677   ac_status=$?
87678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87679   (exit $ac_status); }; }; then
87680   eval "$as_ac_var=yes"
87681 else
87682   echo "$as_me: failed program was:" >&5
87683 sed 's/^/| /' conftest.$ac_ext >&5
87684
87685 eval "$as_ac_var=no"
87686 fi
87687 rm -f conftest.err conftest.$ac_objext \
87688       conftest$ac_exeext conftest.$ac_ext
87689 fi
87690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87692 if test `eval echo '${'$as_ac_var'}'` = yes; then
87693   cat >>confdefs.h <<_ACEOF
87694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87695 _ACEOF
87696
87697 else
87698   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87699 fi
87700 done
87701
87702
87703
87704 for ac_func in __signbitf
87705 do
87706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87707 echo "$as_me:$LINENO: checking for $ac_func" >&5
87708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87709 if eval "test \"\${$as_ac_var+set}\" = set"; then
87710   echo $ECHO_N "(cached) $ECHO_C" >&6
87711 else
87712   if test x$gcc_no_link = xyes; then
87713   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87715    { (exit 1); exit 1; }; }
87716 fi
87717 cat >conftest.$ac_ext <<_ACEOF
87718 /* confdefs.h.  */
87719 _ACEOF
87720 cat confdefs.h >>conftest.$ac_ext
87721 cat >>conftest.$ac_ext <<_ACEOF
87722 /* end confdefs.h.  */
87723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87724    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87725 #define $ac_func innocuous_$ac_func
87726
87727 /* System header to define __stub macros and hopefully few prototypes,
87728     which can conflict with char $ac_func (); below.
87729     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87730     <limits.h> exists even on freestanding compilers.  */
87731
87732 #ifdef __STDC__
87733 # include <limits.h>
87734 #else
87735 # include <assert.h>
87736 #endif
87737
87738 #undef $ac_func
87739
87740 /* Override any gcc2 internal prototype to avoid an error.  */
87741 #ifdef __cplusplus
87742 extern "C"
87743 {
87744 #endif
87745 /* We use char because int might match the return type of a gcc2
87746    builtin and then its argument prototype would still apply.  */
87747 char $ac_func ();
87748 /* The GNU C library defines this for functions which it implements
87749     to always fail with ENOSYS.  Some functions are actually named
87750     something starting with __ and the normal name is an alias.  */
87751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87752 choke me
87753 #else
87754 char (*f) () = $ac_func;
87755 #endif
87756 #ifdef __cplusplus
87757 }
87758 #endif
87759
87760 int
87761 main ()
87762 {
87763 return f != $ac_func;
87764   ;
87765   return 0;
87766 }
87767 _ACEOF
87768 rm -f conftest.$ac_objext conftest$ac_exeext
87769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87770   (eval $ac_link) 2>conftest.er1
87771   ac_status=$?
87772   grep -v '^ *+' conftest.er1 >conftest.err
87773   rm -f conftest.er1
87774   cat conftest.err >&5
87775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87776   (exit $ac_status); } &&
87777          { ac_try='test -z "$ac_c_werror_flag"
87778                          || test ! -s conftest.err'
87779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87780   (eval $ac_try) 2>&5
87781   ac_status=$?
87782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87783   (exit $ac_status); }; } &&
87784          { ac_try='test -s conftest$ac_exeext'
87785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87786   (eval $ac_try) 2>&5
87787   ac_status=$?
87788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87789   (exit $ac_status); }; }; then
87790   eval "$as_ac_var=yes"
87791 else
87792   echo "$as_me: failed program was:" >&5
87793 sed 's/^/| /' conftest.$ac_ext >&5
87794
87795 eval "$as_ac_var=no"
87796 fi
87797 rm -f conftest.err conftest.$ac_objext \
87798       conftest$ac_exeext conftest.$ac_ext
87799 fi
87800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87802 if test `eval echo '${'$as_ac_var'}'` = yes; then
87803   cat >>confdefs.h <<_ACEOF
87804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87805 _ACEOF
87806
87807 else
87808   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87809 fi
87810 done
87811
87812
87813           if test x$ac_cv_func_copysignl = x"yes"; then
87814
87815 for ac_func in __signbitl
87816 do
87817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87818 echo "$as_me:$LINENO: checking for $ac_func" >&5
87819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87820 if eval "test \"\${$as_ac_var+set}\" = set"; then
87821   echo $ECHO_N "(cached) $ECHO_C" >&6
87822 else
87823   if test x$gcc_no_link = xyes; then
87824   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87826    { (exit 1); exit 1; }; }
87827 fi
87828 cat >conftest.$ac_ext <<_ACEOF
87829 /* confdefs.h.  */
87830 _ACEOF
87831 cat confdefs.h >>conftest.$ac_ext
87832 cat >>conftest.$ac_ext <<_ACEOF
87833 /* end confdefs.h.  */
87834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87835    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87836 #define $ac_func innocuous_$ac_func
87837
87838 /* System header to define __stub macros and hopefully few prototypes,
87839     which can conflict with char $ac_func (); below.
87840     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87841     <limits.h> exists even on freestanding compilers.  */
87842
87843 #ifdef __STDC__
87844 # include <limits.h>
87845 #else
87846 # include <assert.h>
87847 #endif
87848
87849 #undef $ac_func
87850
87851 /* Override any gcc2 internal prototype to avoid an error.  */
87852 #ifdef __cplusplus
87853 extern "C"
87854 {
87855 #endif
87856 /* We use char because int might match the return type of a gcc2
87857    builtin and then its argument prototype would still apply.  */
87858 char $ac_func ();
87859 /* The GNU C library defines this for functions which it implements
87860     to always fail with ENOSYS.  Some functions are actually named
87861     something starting with __ and the normal name is an alias.  */
87862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87863 choke me
87864 #else
87865 char (*f) () = $ac_func;
87866 #endif
87867 #ifdef __cplusplus
87868 }
87869 #endif
87870
87871 int
87872 main ()
87873 {
87874 return f != $ac_func;
87875   ;
87876   return 0;
87877 }
87878 _ACEOF
87879 rm -f conftest.$ac_objext conftest$ac_exeext
87880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87881   (eval $ac_link) 2>conftest.er1
87882   ac_status=$?
87883   grep -v '^ *+' conftest.er1 >conftest.err
87884   rm -f conftest.er1
87885   cat conftest.err >&5
87886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87887   (exit $ac_status); } &&
87888          { ac_try='test -z "$ac_c_werror_flag"
87889                          || test ! -s conftest.err'
87890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87891   (eval $ac_try) 2>&5
87892   ac_status=$?
87893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87894   (exit $ac_status); }; } &&
87895          { ac_try='test -s conftest$ac_exeext'
87896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87897   (eval $ac_try) 2>&5
87898   ac_status=$?
87899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87900   (exit $ac_status); }; }; then
87901   eval "$as_ac_var=yes"
87902 else
87903   echo "$as_me: failed program was:" >&5
87904 sed 's/^/| /' conftest.$ac_ext >&5
87905
87906 eval "$as_ac_var=no"
87907 fi
87908 rm -f conftest.err conftest.$ac_objext \
87909       conftest$ac_exeext conftest.$ac_ext
87910 fi
87911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87913 if test `eval echo '${'$as_ac_var'}'` = yes; then
87914   cat >>confdefs.h <<_ACEOF
87915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87916 _ACEOF
87917
87918 else
87919   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87920 fi
87921 done
87922
87923   fi
87924
87925   # Used in libmath/Makefile.am.
87926   if test -n "$LIBMATHOBJS"; then
87927     need_libmath=yes
87928   fi
87929
87930
87931
87932   # Test wchar.h for mbstate_t, which is needed for char_traits and
87933   # others even if wchar_t support is not on.
87934   echo "$as_me:$LINENO: checking for mbstate_t" >&5
87935 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
87936   cat >conftest.$ac_ext <<_ACEOF
87937 /* confdefs.h.  */
87938 _ACEOF
87939 cat confdefs.h >>conftest.$ac_ext
87940 cat >>conftest.$ac_ext <<_ACEOF
87941 /* end confdefs.h.  */
87942 #include <wchar.h>
87943 int
87944 main ()
87945 {
87946 mbstate_t teststate;
87947   ;
87948   return 0;
87949 }
87950 _ACEOF
87951 rm -f conftest.$ac_objext
87952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87953   (eval $ac_compile) 2>conftest.er1
87954   ac_status=$?
87955   grep -v '^ *+' conftest.er1 >conftest.err
87956   rm -f conftest.er1
87957   cat conftest.err >&5
87958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87959   (exit $ac_status); } &&
87960          { ac_try='test -z "$ac_c_werror_flag"
87961                          || test ! -s conftest.err'
87962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87963   (eval $ac_try) 2>&5
87964   ac_status=$?
87965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87966   (exit $ac_status); }; } &&
87967          { ac_try='test -s conftest.$ac_objext'
87968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87969   (eval $ac_try) 2>&5
87970   ac_status=$?
87971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87972   (exit $ac_status); }; }; then
87973   have_mbstate_t=yes
87974 else
87975   echo "$as_me: failed program was:" >&5
87976 sed 's/^/| /' conftest.$ac_ext >&5
87977
87978 have_mbstate_t=no
87979 fi
87980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87981   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
87982 echo "${ECHO_T}$have_mbstate_t" >&6
87983   if test x"$have_mbstate_t" = xyes; then
87984     cat >>confdefs.h <<\_ACEOF
87985 #define HAVE_MBSTATE_T 1
87986 _ACEOF
87987
87988   fi
87989
87990   # Sanity check for existence of ISO C99 headers for extended encoding.
87991
87992 for ac_header in wchar.h
87993 do
87994 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87996   echo "$as_me:$LINENO: checking for $ac_header" >&5
87997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87999   echo $ECHO_N "(cached) $ECHO_C" >&6
88000 fi
88001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88003 else
88004   # Is the header compilable?
88005 echo "$as_me:$LINENO: checking $ac_header usability" >&5
88006 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
88007 cat >conftest.$ac_ext <<_ACEOF
88008 /* confdefs.h.  */
88009 _ACEOF
88010 cat confdefs.h >>conftest.$ac_ext
88011 cat >>conftest.$ac_ext <<_ACEOF
88012 /* end confdefs.h.  */
88013 $ac_includes_default
88014 #include <$ac_header>
88015 _ACEOF
88016 rm -f conftest.$ac_objext
88017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88018   (eval $ac_compile) 2>conftest.er1
88019   ac_status=$?
88020   grep -v '^ *+' conftest.er1 >conftest.err
88021   rm -f conftest.er1
88022   cat conftest.err >&5
88023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88024   (exit $ac_status); } &&
88025          { ac_try='test -z "$ac_c_werror_flag"
88026                          || test ! -s conftest.err'
88027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88028   (eval $ac_try) 2>&5
88029   ac_status=$?
88030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88031   (exit $ac_status); }; } &&
88032          { ac_try='test -s conftest.$ac_objext'
88033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88034   (eval $ac_try) 2>&5
88035   ac_status=$?
88036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88037   (exit $ac_status); }; }; then
88038   ac_header_compiler=yes
88039 else
88040   echo "$as_me: failed program was:" >&5
88041 sed 's/^/| /' conftest.$ac_ext >&5
88042
88043 ac_header_compiler=no
88044 fi
88045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88046 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88047 echo "${ECHO_T}$ac_header_compiler" >&6
88048
88049 # Is the header present?
88050 echo "$as_me:$LINENO: checking $ac_header presence" >&5
88051 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
88052 cat >conftest.$ac_ext <<_ACEOF
88053 /* confdefs.h.  */
88054 _ACEOF
88055 cat confdefs.h >>conftest.$ac_ext
88056 cat >>conftest.$ac_ext <<_ACEOF
88057 /* end confdefs.h.  */
88058 #include <$ac_header>
88059 _ACEOF
88060 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88061   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88062   ac_status=$?
88063   grep -v '^ *+' conftest.er1 >conftest.err
88064   rm -f conftest.er1
88065   cat conftest.err >&5
88066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88067   (exit $ac_status); } >/dev/null; then
88068   if test -s conftest.err; then
88069     ac_cpp_err=$ac_c_preproc_warn_flag
88070     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88071   else
88072     ac_cpp_err=
88073   fi
88074 else
88075   ac_cpp_err=yes
88076 fi
88077 if test -z "$ac_cpp_err"; then
88078   ac_header_preproc=yes
88079 else
88080   echo "$as_me: failed program was:" >&5
88081 sed 's/^/| /' conftest.$ac_ext >&5
88082
88083   ac_header_preproc=no
88084 fi
88085 rm -f conftest.err conftest.$ac_ext
88086 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88087 echo "${ECHO_T}$ac_header_preproc" >&6
88088
88089 # So?  What about this header?
88090 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88091   yes:no: )
88092     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88093 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88094     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88095 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88096     ac_header_preproc=yes
88097     ;;
88098   no:yes:* )
88099     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88100 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88101     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
88102 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
88103     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88104 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88105     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
88106 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
88107     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88108 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88109     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88110 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88111     (
88112       cat <<\_ASBOX
88113 ## ----------------------------------------- ##
88114 ## Report this to the package-unused lists.  ##
88115 ## ----------------------------------------- ##
88116 _ASBOX
88117     ) |
88118       sed "s/^/$as_me: WARNING:     /" >&2
88119     ;;
88120 esac
88121 echo "$as_me:$LINENO: checking for $ac_header" >&5
88122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88124   echo $ECHO_N "(cached) $ECHO_C" >&6
88125 else
88126   eval "$as_ac_Header=\$ac_header_preproc"
88127 fi
88128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88130
88131 fi
88132 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88133   cat >>confdefs.h <<_ACEOF
88134 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88135 _ACEOF
88136  ac_has_wchar_h=yes
88137 else
88138   ac_has_wchar_h=no
88139 fi
88140
88141 done
88142
88143
88144 for ac_header in wctype.h
88145 do
88146 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
88147 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88148   echo "$as_me:$LINENO: checking for $ac_header" >&5
88149 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88150 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88151   echo $ECHO_N "(cached) $ECHO_C" >&6
88152 fi
88153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88154 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88155 else
88156   # Is the header compilable?
88157 echo "$as_me:$LINENO: checking $ac_header usability" >&5
88158 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
88159 cat >conftest.$ac_ext <<_ACEOF
88160 /* confdefs.h.  */
88161 _ACEOF
88162 cat confdefs.h >>conftest.$ac_ext
88163 cat >>conftest.$ac_ext <<_ACEOF
88164 /* end confdefs.h.  */
88165 $ac_includes_default
88166 #include <$ac_header>
88167 _ACEOF
88168 rm -f conftest.$ac_objext
88169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88170   (eval $ac_compile) 2>conftest.er1
88171   ac_status=$?
88172   grep -v '^ *+' conftest.er1 >conftest.err
88173   rm -f conftest.er1
88174   cat conftest.err >&5
88175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88176   (exit $ac_status); } &&
88177          { ac_try='test -z "$ac_c_werror_flag"
88178                          || test ! -s conftest.err'
88179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88180   (eval $ac_try) 2>&5
88181   ac_status=$?
88182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88183   (exit $ac_status); }; } &&
88184          { ac_try='test -s conftest.$ac_objext'
88185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88186   (eval $ac_try) 2>&5
88187   ac_status=$?
88188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88189   (exit $ac_status); }; }; then
88190   ac_header_compiler=yes
88191 else
88192   echo "$as_me: failed program was:" >&5
88193 sed 's/^/| /' conftest.$ac_ext >&5
88194
88195 ac_header_compiler=no
88196 fi
88197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88198 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88199 echo "${ECHO_T}$ac_header_compiler" >&6
88200
88201 # Is the header present?
88202 echo "$as_me:$LINENO: checking $ac_header presence" >&5
88203 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
88204 cat >conftest.$ac_ext <<_ACEOF
88205 /* confdefs.h.  */
88206 _ACEOF
88207 cat confdefs.h >>conftest.$ac_ext
88208 cat >>conftest.$ac_ext <<_ACEOF
88209 /* end confdefs.h.  */
88210 #include <$ac_header>
88211 _ACEOF
88212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88213   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88214   ac_status=$?
88215   grep -v '^ *+' conftest.er1 >conftest.err
88216   rm -f conftest.er1
88217   cat conftest.err >&5
88218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88219   (exit $ac_status); } >/dev/null; then
88220   if test -s conftest.err; then
88221     ac_cpp_err=$ac_c_preproc_warn_flag
88222     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88223   else
88224     ac_cpp_err=
88225   fi
88226 else
88227   ac_cpp_err=yes
88228 fi
88229 if test -z "$ac_cpp_err"; then
88230   ac_header_preproc=yes
88231 else
88232   echo "$as_me: failed program was:" >&5
88233 sed 's/^/| /' conftest.$ac_ext >&5
88234
88235   ac_header_preproc=no
88236 fi
88237 rm -f conftest.err conftest.$ac_ext
88238 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88239 echo "${ECHO_T}$ac_header_preproc" >&6
88240
88241 # So?  What about this header?
88242 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88243   yes:no: )
88244     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88245 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88246     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88247 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88248     ac_header_preproc=yes
88249     ;;
88250   no:yes:* )
88251     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88252 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88253     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
88254 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
88255     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88256 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88257     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
88258 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
88259     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88260 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88261     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88262 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88263     (
88264       cat <<\_ASBOX
88265 ## ----------------------------------------- ##
88266 ## Report this to the package-unused lists.  ##
88267 ## ----------------------------------------- ##
88268 _ASBOX
88269     ) |
88270       sed "s/^/$as_me: WARNING:     /" >&2
88271     ;;
88272 esac
88273 echo "$as_me:$LINENO: checking for $ac_header" >&5
88274 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88275 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88276   echo $ECHO_N "(cached) $ECHO_C" >&6
88277 else
88278   eval "$as_ac_Header=\$ac_header_preproc"
88279 fi
88280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88281 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88282
88283 fi
88284 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88285   cat >>confdefs.h <<_ACEOF
88286 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88287 _ACEOF
88288  ac_has_wctype_h=yes
88289 else
88290   ac_has_wctype_h=no
88291 fi
88292
88293 done
88294
88295
88296   # Only continue checking if the ISO C99 headers exist and support is on.
88297   if test x"$ac_has_wchar_h" = xyes &&
88298      test x"$ac_has_wctype_h" = xyes &&
88299      test x"$enable_c_mbchar" != xno; then
88300
88301     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
88302     # numeric_limits can instantiate type_traits<wchar_t>
88303     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
88304 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
88305     cat >conftest.$ac_ext <<_ACEOF
88306 /* confdefs.h.  */
88307 _ACEOF
88308 cat confdefs.h >>conftest.$ac_ext
88309 cat >>conftest.$ac_ext <<_ACEOF
88310 /* end confdefs.h.  */
88311 #include <wchar.h>
88312 int
88313 main ()
88314 {
88315 int i = WCHAR_MIN; int j = WCHAR_MAX;
88316   ;
88317   return 0;
88318 }
88319 _ACEOF
88320 rm -f conftest.$ac_objext
88321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88322   (eval $ac_compile) 2>conftest.er1
88323   ac_status=$?
88324   grep -v '^ *+' conftest.er1 >conftest.err
88325   rm -f conftest.er1
88326   cat conftest.err >&5
88327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88328   (exit $ac_status); } &&
88329          { ac_try='test -z "$ac_c_werror_flag"
88330                          || test ! -s conftest.err'
88331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88332   (eval $ac_try) 2>&5
88333   ac_status=$?
88334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88335   (exit $ac_status); }; } &&
88336          { ac_try='test -s conftest.$ac_objext'
88337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88338   (eval $ac_try) 2>&5
88339   ac_status=$?
88340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88341   (exit $ac_status); }; }; then
88342   has_wchar_minmax=yes
88343 else
88344   echo "$as_me: failed program was:" >&5
88345 sed 's/^/| /' conftest.$ac_ext >&5
88346
88347 has_wchar_minmax=no
88348 fi
88349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88350     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
88351 echo "${ECHO_T}$has_wchar_minmax" >&6
88352
88353     # Test wchar.h for WEOF, which is what we use to determine whether
88354     # to specialize for char_traits<wchar_t> or not.
88355     echo "$as_me:$LINENO: checking for WEOF" >&5
88356 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
88357     cat >conftest.$ac_ext <<_ACEOF
88358 /* confdefs.h.  */
88359 _ACEOF
88360 cat confdefs.h >>conftest.$ac_ext
88361 cat >>conftest.$ac_ext <<_ACEOF
88362 /* end confdefs.h.  */
88363
88364       #include <wchar.h>
88365       #include <stddef.h>
88366 int
88367 main ()
88368 {
88369 wint_t i = WEOF;
88370   ;
88371   return 0;
88372 }
88373 _ACEOF
88374 rm -f conftest.$ac_objext
88375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88376   (eval $ac_compile) 2>conftest.er1
88377   ac_status=$?
88378   grep -v '^ *+' conftest.er1 >conftest.err
88379   rm -f conftest.er1
88380   cat conftest.err >&5
88381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88382   (exit $ac_status); } &&
88383          { ac_try='test -z "$ac_c_werror_flag"
88384                          || test ! -s conftest.err'
88385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88386   (eval $ac_try) 2>&5
88387   ac_status=$?
88388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88389   (exit $ac_status); }; } &&
88390          { ac_try='test -s conftest.$ac_objext'
88391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88392   (eval $ac_try) 2>&5
88393   ac_status=$?
88394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88395   (exit $ac_status); }; }; then
88396   has_weof=yes
88397 else
88398   echo "$as_me: failed program was:" >&5
88399 sed 's/^/| /' conftest.$ac_ext >&5
88400
88401 has_weof=no
88402 fi
88403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88404     echo "$as_me:$LINENO: result: $has_weof" >&5
88405 echo "${ECHO_T}$has_weof" >&6
88406
88407     # Tests for wide character functions used in char_traits<wchar_t>.
88408     ac_wfuncs=yes
88409
88410
88411
88412
88413
88414
88415 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
88416 do
88417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88418 echo "$as_me:$LINENO: checking for $ac_func" >&5
88419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88420 if eval "test \"\${$as_ac_var+set}\" = set"; then
88421   echo $ECHO_N "(cached) $ECHO_C" >&6
88422 else
88423   if test x$gcc_no_link = xyes; then
88424   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88426    { (exit 1); exit 1; }; }
88427 fi
88428 cat >conftest.$ac_ext <<_ACEOF
88429 /* confdefs.h.  */
88430 _ACEOF
88431 cat confdefs.h >>conftest.$ac_ext
88432 cat >>conftest.$ac_ext <<_ACEOF
88433 /* end confdefs.h.  */
88434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88435    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88436 #define $ac_func innocuous_$ac_func
88437
88438 /* System header to define __stub macros and hopefully few prototypes,
88439     which can conflict with char $ac_func (); below.
88440     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88441     <limits.h> exists even on freestanding compilers.  */
88442
88443 #ifdef __STDC__
88444 # include <limits.h>
88445 #else
88446 # include <assert.h>
88447 #endif
88448
88449 #undef $ac_func
88450
88451 /* Override any gcc2 internal prototype to avoid an error.  */
88452 #ifdef __cplusplus
88453 extern "C"
88454 {
88455 #endif
88456 /* We use char because int might match the return type of a gcc2
88457    builtin and then its argument prototype would still apply.  */
88458 char $ac_func ();
88459 /* The GNU C library defines this for functions which it implements
88460     to always fail with ENOSYS.  Some functions are actually named
88461     something starting with __ and the normal name is an alias.  */
88462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88463 choke me
88464 #else
88465 char (*f) () = $ac_func;
88466 #endif
88467 #ifdef __cplusplus
88468 }
88469 #endif
88470
88471 int
88472 main ()
88473 {
88474 return f != $ac_func;
88475   ;
88476   return 0;
88477 }
88478 _ACEOF
88479 rm -f conftest.$ac_objext conftest$ac_exeext
88480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88481   (eval $ac_link) 2>conftest.er1
88482   ac_status=$?
88483   grep -v '^ *+' conftest.er1 >conftest.err
88484   rm -f conftest.er1
88485   cat conftest.err >&5
88486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88487   (exit $ac_status); } &&
88488          { ac_try='test -z "$ac_c_werror_flag"
88489                          || test ! -s conftest.err'
88490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88491   (eval $ac_try) 2>&5
88492   ac_status=$?
88493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88494   (exit $ac_status); }; } &&
88495          { ac_try='test -s conftest$ac_exeext'
88496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88497   (eval $ac_try) 2>&5
88498   ac_status=$?
88499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88500   (exit $ac_status); }; }; then
88501   eval "$as_ac_var=yes"
88502 else
88503   echo "$as_me: failed program was:" >&5
88504 sed 's/^/| /' conftest.$ac_ext >&5
88505
88506 eval "$as_ac_var=no"
88507 fi
88508 rm -f conftest.err conftest.$ac_objext \
88509       conftest$ac_exeext conftest.$ac_ext
88510 fi
88511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88513 if test `eval echo '${'$as_ac_var'}'` = yes; then
88514   cat >>confdefs.h <<_ACEOF
88515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88516 _ACEOF
88517
88518 else
88519   ac_wfuncs=no
88520 fi
88521 done
88522
88523
88524     # Checks for names injected into std:: by the c_std headers.
88525
88526
88527
88528
88529
88530
88531
88532
88533
88534
88535
88536
88537
88538
88539
88540
88541
88542
88543
88544
88545
88546
88547
88548
88549
88550
88551
88552
88553
88554
88555
88556
88557
88558
88559
88560
88561
88562
88563
88564
88565
88566
88567
88568
88569
88570
88571 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
88572     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
88573     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
88574     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
88575     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
88576     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
88577 do
88578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88579 echo "$as_me:$LINENO: checking for $ac_func" >&5
88580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88581 if eval "test \"\${$as_ac_var+set}\" = set"; then
88582   echo $ECHO_N "(cached) $ECHO_C" >&6
88583 else
88584   if test x$gcc_no_link = xyes; then
88585   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88587    { (exit 1); exit 1; }; }
88588 fi
88589 cat >conftest.$ac_ext <<_ACEOF
88590 /* confdefs.h.  */
88591 _ACEOF
88592 cat confdefs.h >>conftest.$ac_ext
88593 cat >>conftest.$ac_ext <<_ACEOF
88594 /* end confdefs.h.  */
88595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88596    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88597 #define $ac_func innocuous_$ac_func
88598
88599 /* System header to define __stub macros and hopefully few prototypes,
88600     which can conflict with char $ac_func (); below.
88601     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88602     <limits.h> exists even on freestanding compilers.  */
88603
88604 #ifdef __STDC__
88605 # include <limits.h>
88606 #else
88607 # include <assert.h>
88608 #endif
88609
88610 #undef $ac_func
88611
88612 /* Override any gcc2 internal prototype to avoid an error.  */
88613 #ifdef __cplusplus
88614 extern "C"
88615 {
88616 #endif
88617 /* We use char because int might match the return type of a gcc2
88618    builtin and then its argument prototype would still apply.  */
88619 char $ac_func ();
88620 /* The GNU C library defines this for functions which it implements
88621     to always fail with ENOSYS.  Some functions are actually named
88622     something starting with __ and the normal name is an alias.  */
88623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88624 choke me
88625 #else
88626 char (*f) () = $ac_func;
88627 #endif
88628 #ifdef __cplusplus
88629 }
88630 #endif
88631
88632 int
88633 main ()
88634 {
88635 return f != $ac_func;
88636   ;
88637   return 0;
88638 }
88639 _ACEOF
88640 rm -f conftest.$ac_objext conftest$ac_exeext
88641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88642   (eval $ac_link) 2>conftest.er1
88643   ac_status=$?
88644   grep -v '^ *+' conftest.er1 >conftest.err
88645   rm -f conftest.er1
88646   cat conftest.err >&5
88647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88648   (exit $ac_status); } &&
88649          { ac_try='test -z "$ac_c_werror_flag"
88650                          || test ! -s conftest.err'
88651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88652   (eval $ac_try) 2>&5
88653   ac_status=$?
88654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88655   (exit $ac_status); }; } &&
88656          { ac_try='test -s conftest$ac_exeext'
88657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88658   (eval $ac_try) 2>&5
88659   ac_status=$?
88660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88661   (exit $ac_status); }; }; then
88662   eval "$as_ac_var=yes"
88663 else
88664   echo "$as_me: failed program was:" >&5
88665 sed 's/^/| /' conftest.$ac_ext >&5
88666
88667 eval "$as_ac_var=no"
88668 fi
88669 rm -f conftest.err conftest.$ac_objext \
88670       conftest$ac_exeext conftest.$ac_ext
88671 fi
88672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88674 if test `eval echo '${'$as_ac_var'}'` = yes; then
88675   cat >>confdefs.h <<_ACEOF
88676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88677 _ACEOF
88678
88679 else
88680   ac_wfuncs=no
88681 fi
88682 done
88683
88684
88685     # Checks for wide character functions that are not required
88686     # for basic wchar_t support.  Don't disable support if they are missing.
88687     # Injection of these is wrapped with guard macros.
88688
88689
88690
88691
88692
88693 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
88694 do
88695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88696 echo "$as_me:$LINENO: checking for $ac_func" >&5
88697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88698 if eval "test \"\${$as_ac_var+set}\" = set"; then
88699   echo $ECHO_N "(cached) $ECHO_C" >&6
88700 else
88701   if test x$gcc_no_link = xyes; then
88702   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88704    { (exit 1); exit 1; }; }
88705 fi
88706 cat >conftest.$ac_ext <<_ACEOF
88707 /* confdefs.h.  */
88708 _ACEOF
88709 cat confdefs.h >>conftest.$ac_ext
88710 cat >>conftest.$ac_ext <<_ACEOF
88711 /* end confdefs.h.  */
88712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88713    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88714 #define $ac_func innocuous_$ac_func
88715
88716 /* System header to define __stub macros and hopefully few prototypes,
88717     which can conflict with char $ac_func (); below.
88718     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88719     <limits.h> exists even on freestanding compilers.  */
88720
88721 #ifdef __STDC__
88722 # include <limits.h>
88723 #else
88724 # include <assert.h>
88725 #endif
88726
88727 #undef $ac_func
88728
88729 /* Override any gcc2 internal prototype to avoid an error.  */
88730 #ifdef __cplusplus
88731 extern "C"
88732 {
88733 #endif
88734 /* We use char because int might match the return type of a gcc2
88735    builtin and then its argument prototype would still apply.  */
88736 char $ac_func ();
88737 /* The GNU C library defines this for functions which it implements
88738     to always fail with ENOSYS.  Some functions are actually named
88739     something starting with __ and the normal name is an alias.  */
88740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88741 choke me
88742 #else
88743 char (*f) () = $ac_func;
88744 #endif
88745 #ifdef __cplusplus
88746 }
88747 #endif
88748
88749 int
88750 main ()
88751 {
88752 return f != $ac_func;
88753   ;
88754   return 0;
88755 }
88756 _ACEOF
88757 rm -f conftest.$ac_objext conftest$ac_exeext
88758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88759   (eval $ac_link) 2>conftest.er1
88760   ac_status=$?
88761   grep -v '^ *+' conftest.er1 >conftest.err
88762   rm -f conftest.er1
88763   cat conftest.err >&5
88764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88765   (exit $ac_status); } &&
88766          { ac_try='test -z "$ac_c_werror_flag"
88767                          || test ! -s conftest.err'
88768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88769   (eval $ac_try) 2>&5
88770   ac_status=$?
88771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88772   (exit $ac_status); }; } &&
88773          { ac_try='test -s conftest$ac_exeext'
88774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88775   (eval $ac_try) 2>&5
88776   ac_status=$?
88777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88778   (exit $ac_status); }; }; then
88779   eval "$as_ac_var=yes"
88780 else
88781   echo "$as_me: failed program was:" >&5
88782 sed 's/^/| /' conftest.$ac_ext >&5
88783
88784 eval "$as_ac_var=no"
88785 fi
88786 rm -f conftest.err conftest.$ac_objext \
88787       conftest$ac_exeext conftest.$ac_ext
88788 fi
88789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88791 if test `eval echo '${'$as_ac_var'}'` = yes; then
88792   cat >>confdefs.h <<_ACEOF
88793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88794 _ACEOF
88795
88796 fi
88797 done
88798
88799
88800     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
88801 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
88802     if test x"$has_weof" = xyes &&
88803        test x"$has_wchar_minmax" = xyes &&
88804        test x"$ac_wfuncs" = xyes;
88805     then
88806       ac_isoC99_wchar_t=yes
88807     else
88808       ac_isoC99_wchar_t=no
88809     fi
88810     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
88811 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
88812
88813     # Use iconv for wchar_t to char conversions. As such, check for
88814     # X/Open Portability Guide, version 2 features (XPG2).
88815     if test "${ac_cv_header_iconv_h+set}" = set; then
88816   echo "$as_me:$LINENO: checking for iconv.h" >&5
88817 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
88818 if test "${ac_cv_header_iconv_h+set}" = set; then
88819   echo $ECHO_N "(cached) $ECHO_C" >&6
88820 fi
88821 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
88822 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
88823 else
88824   # Is the header compilable?
88825 echo "$as_me:$LINENO: checking iconv.h usability" >&5
88826 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
88827 cat >conftest.$ac_ext <<_ACEOF
88828 /* confdefs.h.  */
88829 _ACEOF
88830 cat confdefs.h >>conftest.$ac_ext
88831 cat >>conftest.$ac_ext <<_ACEOF
88832 /* end confdefs.h.  */
88833 $ac_includes_default
88834 #include <iconv.h>
88835 _ACEOF
88836 rm -f conftest.$ac_objext
88837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88838   (eval $ac_compile) 2>conftest.er1
88839   ac_status=$?
88840   grep -v '^ *+' conftest.er1 >conftest.err
88841   rm -f conftest.er1
88842   cat conftest.err >&5
88843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88844   (exit $ac_status); } &&
88845          { ac_try='test -z "$ac_c_werror_flag"
88846                          || test ! -s conftest.err'
88847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88848   (eval $ac_try) 2>&5
88849   ac_status=$?
88850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88851   (exit $ac_status); }; } &&
88852          { ac_try='test -s conftest.$ac_objext'
88853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88854   (eval $ac_try) 2>&5
88855   ac_status=$?
88856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88857   (exit $ac_status); }; }; then
88858   ac_header_compiler=yes
88859 else
88860   echo "$as_me: failed program was:" >&5
88861 sed 's/^/| /' conftest.$ac_ext >&5
88862
88863 ac_header_compiler=no
88864 fi
88865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88866 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88867 echo "${ECHO_T}$ac_header_compiler" >&6
88868
88869 # Is the header present?
88870 echo "$as_me:$LINENO: checking iconv.h presence" >&5
88871 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
88872 cat >conftest.$ac_ext <<_ACEOF
88873 /* confdefs.h.  */
88874 _ACEOF
88875 cat confdefs.h >>conftest.$ac_ext
88876 cat >>conftest.$ac_ext <<_ACEOF
88877 /* end confdefs.h.  */
88878 #include <iconv.h>
88879 _ACEOF
88880 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88881   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88882   ac_status=$?
88883   grep -v '^ *+' conftest.er1 >conftest.err
88884   rm -f conftest.er1
88885   cat conftest.err >&5
88886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88887   (exit $ac_status); } >/dev/null; then
88888   if test -s conftest.err; then
88889     ac_cpp_err=$ac_c_preproc_warn_flag
88890     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88891   else
88892     ac_cpp_err=
88893   fi
88894 else
88895   ac_cpp_err=yes
88896 fi
88897 if test -z "$ac_cpp_err"; then
88898   ac_header_preproc=yes
88899 else
88900   echo "$as_me: failed program was:" >&5
88901 sed 's/^/| /' conftest.$ac_ext >&5
88902
88903   ac_header_preproc=no
88904 fi
88905 rm -f conftest.err conftest.$ac_ext
88906 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88907 echo "${ECHO_T}$ac_header_preproc" >&6
88908
88909 # So?  What about this header?
88910 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88911   yes:no: )
88912     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
88913 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
88914     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
88915 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
88916     ac_header_preproc=yes
88917     ;;
88918   no:yes:* )
88919     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
88920 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
88921     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
88922 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
88923     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
88924 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
88925     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
88926 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
88927     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
88928 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
88929     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
88930 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
88931     (
88932       cat <<\_ASBOX
88933 ## ----------------------------------------- ##
88934 ## Report this to the package-unused lists.  ##
88935 ## ----------------------------------------- ##
88936 _ASBOX
88937     ) |
88938       sed "s/^/$as_me: WARNING:     /" >&2
88939     ;;
88940 esac
88941 echo "$as_me:$LINENO: checking for iconv.h" >&5
88942 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
88943 if test "${ac_cv_header_iconv_h+set}" = set; then
88944   echo $ECHO_N "(cached) $ECHO_C" >&6
88945 else
88946   ac_cv_header_iconv_h=$ac_header_preproc
88947 fi
88948 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
88949 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
88950
88951 fi
88952 if test $ac_cv_header_iconv_h = yes; then
88953   ac_has_iconv_h=yes
88954 else
88955   ac_has_iconv_h=no
88956 fi
88957
88958
88959     if test "${ac_cv_header_langinfo_h+set}" = set; then
88960   echo "$as_me:$LINENO: checking for langinfo.h" >&5
88961 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
88962 if test "${ac_cv_header_langinfo_h+set}" = set; then
88963   echo $ECHO_N "(cached) $ECHO_C" >&6
88964 fi
88965 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
88966 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
88967 else
88968   # Is the header compilable?
88969 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
88970 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
88971 cat >conftest.$ac_ext <<_ACEOF
88972 /* confdefs.h.  */
88973 _ACEOF
88974 cat confdefs.h >>conftest.$ac_ext
88975 cat >>conftest.$ac_ext <<_ACEOF
88976 /* end confdefs.h.  */
88977 $ac_includes_default
88978 #include <langinfo.h>
88979 _ACEOF
88980 rm -f conftest.$ac_objext
88981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88982   (eval $ac_compile) 2>conftest.er1
88983   ac_status=$?
88984   grep -v '^ *+' conftest.er1 >conftest.err
88985   rm -f conftest.er1
88986   cat conftest.err >&5
88987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88988   (exit $ac_status); } &&
88989          { ac_try='test -z "$ac_c_werror_flag"
88990                          || test ! -s conftest.err'
88991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88992   (eval $ac_try) 2>&5
88993   ac_status=$?
88994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88995   (exit $ac_status); }; } &&
88996          { ac_try='test -s conftest.$ac_objext'
88997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88998   (eval $ac_try) 2>&5
88999   ac_status=$?
89000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89001   (exit $ac_status); }; }; then
89002   ac_header_compiler=yes
89003 else
89004   echo "$as_me: failed program was:" >&5
89005 sed 's/^/| /' conftest.$ac_ext >&5
89006
89007 ac_header_compiler=no
89008 fi
89009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89010 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89011 echo "${ECHO_T}$ac_header_compiler" >&6
89012
89013 # Is the header present?
89014 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
89015 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
89016 cat >conftest.$ac_ext <<_ACEOF
89017 /* confdefs.h.  */
89018 _ACEOF
89019 cat confdefs.h >>conftest.$ac_ext
89020 cat >>conftest.$ac_ext <<_ACEOF
89021 /* end confdefs.h.  */
89022 #include <langinfo.h>
89023 _ACEOF
89024 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89025   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89026   ac_status=$?
89027   grep -v '^ *+' conftest.er1 >conftest.err
89028   rm -f conftest.er1
89029   cat conftest.err >&5
89030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89031   (exit $ac_status); } >/dev/null; then
89032   if test -s conftest.err; then
89033     ac_cpp_err=$ac_c_preproc_warn_flag
89034     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89035   else
89036     ac_cpp_err=
89037   fi
89038 else
89039   ac_cpp_err=yes
89040 fi
89041 if test -z "$ac_cpp_err"; then
89042   ac_header_preproc=yes
89043 else
89044   echo "$as_me: failed program was:" >&5
89045 sed 's/^/| /' conftest.$ac_ext >&5
89046
89047   ac_header_preproc=no
89048 fi
89049 rm -f conftest.err conftest.$ac_ext
89050 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89051 echo "${ECHO_T}$ac_header_preproc" >&6
89052
89053 # So?  What about this header?
89054 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89055   yes:no: )
89056     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
89057 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
89058     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
89059 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
89060     ac_header_preproc=yes
89061     ;;
89062   no:yes:* )
89063     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
89064 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
89065     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
89066 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
89067     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
89068 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
89069     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
89070 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
89071     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
89072 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
89073     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
89074 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
89075     (
89076       cat <<\_ASBOX
89077 ## ----------------------------------------- ##
89078 ## Report this to the package-unused lists.  ##
89079 ## ----------------------------------------- ##
89080 _ASBOX
89081     ) |
89082       sed "s/^/$as_me: WARNING:     /" >&2
89083     ;;
89084 esac
89085 echo "$as_me:$LINENO: checking for langinfo.h" >&5
89086 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
89087 if test "${ac_cv_header_langinfo_h+set}" = set; then
89088   echo $ECHO_N "(cached) $ECHO_C" >&6
89089 else
89090   ac_cv_header_langinfo_h=$ac_header_preproc
89091 fi
89092 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
89093 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
89094
89095 fi
89096 if test $ac_cv_header_langinfo_h = yes; then
89097   ac_has_langinfo_h=yes
89098 else
89099   ac_has_langinfo_h=no
89100 fi
89101
89102
89103
89104     # Check for existence of libiconv.a providing XPG2 wchar_t support.
89105     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
89106 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
89107 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
89108   echo $ECHO_N "(cached) $ECHO_C" >&6
89109 else
89110   ac_check_lib_save_LIBS=$LIBS
89111 LIBS="-liconv  $LIBS"
89112 if test x$gcc_no_link = xyes; then
89113   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89115    { (exit 1); exit 1; }; }
89116 fi
89117 cat >conftest.$ac_ext <<_ACEOF
89118 /* confdefs.h.  */
89119 _ACEOF
89120 cat confdefs.h >>conftest.$ac_ext
89121 cat >>conftest.$ac_ext <<_ACEOF
89122 /* end confdefs.h.  */
89123
89124 /* Override any gcc2 internal prototype to avoid an error.  */
89125 #ifdef __cplusplus
89126 extern "C"
89127 #endif
89128 /* We use char because int might match the return type of a gcc2
89129    builtin and then its argument prototype would still apply.  */
89130 char iconv ();
89131 int
89132 main ()
89133 {
89134 iconv ();
89135   ;
89136   return 0;
89137 }
89138 _ACEOF
89139 rm -f conftest.$ac_objext conftest$ac_exeext
89140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89141   (eval $ac_link) 2>conftest.er1
89142   ac_status=$?
89143   grep -v '^ *+' conftest.er1 >conftest.err
89144   rm -f conftest.er1
89145   cat conftest.err >&5
89146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89147   (exit $ac_status); } &&
89148          { ac_try='test -z "$ac_c_werror_flag"
89149                          || test ! -s conftest.err'
89150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89151   (eval $ac_try) 2>&5
89152   ac_status=$?
89153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89154   (exit $ac_status); }; } &&
89155          { ac_try='test -s conftest$ac_exeext'
89156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89157   (eval $ac_try) 2>&5
89158   ac_status=$?
89159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89160   (exit $ac_status); }; }; then
89161   ac_cv_lib_iconv_iconv=yes
89162 else
89163   echo "$as_me: failed program was:" >&5
89164 sed 's/^/| /' conftest.$ac_ext >&5
89165
89166 ac_cv_lib_iconv_iconv=no
89167 fi
89168 rm -f conftest.err conftest.$ac_objext \
89169       conftest$ac_exeext conftest.$ac_ext
89170 LIBS=$ac_check_lib_save_LIBS
89171 fi
89172 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
89173 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
89174 if test $ac_cv_lib_iconv_iconv = yes; then
89175   LIBICONV="-liconv"
89176 fi
89177
89178     ac_save_LIBS="$LIBS"
89179     LIBS="$LIBS $LIBICONV"
89180
89181
89182
89183
89184
89185
89186 for ac_func in iconv_open iconv_close iconv nl_langinfo
89187 do
89188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89189 echo "$as_me:$LINENO: checking for $ac_func" >&5
89190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89191 if eval "test \"\${$as_ac_var+set}\" = set"; then
89192   echo $ECHO_N "(cached) $ECHO_C" >&6
89193 else
89194   if test x$gcc_no_link = xyes; then
89195   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89197    { (exit 1); exit 1; }; }
89198 fi
89199 cat >conftest.$ac_ext <<_ACEOF
89200 /* confdefs.h.  */
89201 _ACEOF
89202 cat confdefs.h >>conftest.$ac_ext
89203 cat >>conftest.$ac_ext <<_ACEOF
89204 /* end confdefs.h.  */
89205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89206    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89207 #define $ac_func innocuous_$ac_func
89208
89209 /* System header to define __stub macros and hopefully few prototypes,
89210     which can conflict with char $ac_func (); below.
89211     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89212     <limits.h> exists even on freestanding compilers.  */
89213
89214 #ifdef __STDC__
89215 # include <limits.h>
89216 #else
89217 # include <assert.h>
89218 #endif
89219
89220 #undef $ac_func
89221
89222 /* Override any gcc2 internal prototype to avoid an error.  */
89223 #ifdef __cplusplus
89224 extern "C"
89225 {
89226 #endif
89227 /* We use char because int might match the return type of a gcc2
89228    builtin and then its argument prototype would still apply.  */
89229 char $ac_func ();
89230 /* The GNU C library defines this for functions which it implements
89231     to always fail with ENOSYS.  Some functions are actually named
89232     something starting with __ and the normal name is an alias.  */
89233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89234 choke me
89235 #else
89236 char (*f) () = $ac_func;
89237 #endif
89238 #ifdef __cplusplus
89239 }
89240 #endif
89241
89242 int
89243 main ()
89244 {
89245 return f != $ac_func;
89246   ;
89247   return 0;
89248 }
89249 _ACEOF
89250 rm -f conftest.$ac_objext conftest$ac_exeext
89251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89252   (eval $ac_link) 2>conftest.er1
89253   ac_status=$?
89254   grep -v '^ *+' conftest.er1 >conftest.err
89255   rm -f conftest.er1
89256   cat conftest.err >&5
89257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89258   (exit $ac_status); } &&
89259          { ac_try='test -z "$ac_c_werror_flag"
89260                          || test ! -s conftest.err'
89261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89262   (eval $ac_try) 2>&5
89263   ac_status=$?
89264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89265   (exit $ac_status); }; } &&
89266          { ac_try='test -s conftest$ac_exeext'
89267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89268   (eval $ac_try) 2>&5
89269   ac_status=$?
89270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89271   (exit $ac_status); }; }; then
89272   eval "$as_ac_var=yes"
89273 else
89274   echo "$as_me: failed program was:" >&5
89275 sed 's/^/| /' conftest.$ac_ext >&5
89276
89277 eval "$as_ac_var=no"
89278 fi
89279 rm -f conftest.err conftest.$ac_objext \
89280       conftest$ac_exeext conftest.$ac_ext
89281 fi
89282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89284 if test `eval echo '${'$as_ac_var'}'` = yes; then
89285   cat >>confdefs.h <<_ACEOF
89286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89287 _ACEOF
89288  ac_XPG2funcs=yes
89289 else
89290   ac_XPG2funcs=no
89291 fi
89292 done
89293
89294
89295     LIBS="$ac_save_LIBS"
89296
89297     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
89298 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
89299     if test x"$ac_has_iconv_h" = xyes &&
89300        test x"$ac_has_langinfo_h" = xyes &&
89301        test x"$ac_XPG2funcs" = xyes;
89302     then
89303       ac_XPG2_wchar_t=yes
89304     else
89305       ac_XPG2_wchar_t=no
89306     fi
89307     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
89308 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
89309
89310     # At the moment, only enable wchar_t specializations if all the
89311     # above support is present.
89312     if test x"$ac_isoC99_wchar_t" = xyes &&
89313        test x"$ac_XPG2_wchar_t" = xyes;
89314     then
89315       cat >>confdefs.h <<\_ACEOF
89316 #define _GLIBCXX_USE_WCHAR_T 1
89317 _ACEOF
89318
89319       enable_wchar_t=yes
89320     fi
89321   fi
89322   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
89323 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
89324   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
89325 echo "${ECHO_T}$enable_wchar_t" >&6
89326
89327
89328     # For showmanyc_helper().
89329
89330
89331 for ac_header in sys/ioctl.h sys/filio.h
89332 do
89333 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89335   echo "$as_me:$LINENO: checking for $ac_header" >&5
89336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89338   echo $ECHO_N "(cached) $ECHO_C" >&6
89339 fi
89340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89342 else
89343   # Is the header compilable?
89344 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89345 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89346 cat >conftest.$ac_ext <<_ACEOF
89347 /* confdefs.h.  */
89348 _ACEOF
89349 cat confdefs.h >>conftest.$ac_ext
89350 cat >>conftest.$ac_ext <<_ACEOF
89351 /* end confdefs.h.  */
89352 $ac_includes_default
89353 #include <$ac_header>
89354 _ACEOF
89355 rm -f conftest.$ac_objext
89356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89357   (eval $ac_compile) 2>conftest.er1
89358   ac_status=$?
89359   grep -v '^ *+' conftest.er1 >conftest.err
89360   rm -f conftest.er1
89361   cat conftest.err >&5
89362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89363   (exit $ac_status); } &&
89364          { ac_try='test -z "$ac_c_werror_flag"
89365                          || test ! -s conftest.err'
89366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89367   (eval $ac_try) 2>&5
89368   ac_status=$?
89369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89370   (exit $ac_status); }; } &&
89371          { ac_try='test -s conftest.$ac_objext'
89372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89373   (eval $ac_try) 2>&5
89374   ac_status=$?
89375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89376   (exit $ac_status); }; }; then
89377   ac_header_compiler=yes
89378 else
89379   echo "$as_me: failed program was:" >&5
89380 sed 's/^/| /' conftest.$ac_ext >&5
89381
89382 ac_header_compiler=no
89383 fi
89384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89385 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89386 echo "${ECHO_T}$ac_header_compiler" >&6
89387
89388 # Is the header present?
89389 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89390 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89391 cat >conftest.$ac_ext <<_ACEOF
89392 /* confdefs.h.  */
89393 _ACEOF
89394 cat confdefs.h >>conftest.$ac_ext
89395 cat >>conftest.$ac_ext <<_ACEOF
89396 /* end confdefs.h.  */
89397 #include <$ac_header>
89398 _ACEOF
89399 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89400   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89401   ac_status=$?
89402   grep -v '^ *+' conftest.er1 >conftest.err
89403   rm -f conftest.er1
89404   cat conftest.err >&5
89405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89406   (exit $ac_status); } >/dev/null; then
89407   if test -s conftest.err; then
89408     ac_cpp_err=$ac_c_preproc_warn_flag
89409     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89410   else
89411     ac_cpp_err=
89412   fi
89413 else
89414   ac_cpp_err=yes
89415 fi
89416 if test -z "$ac_cpp_err"; then
89417   ac_header_preproc=yes
89418 else
89419   echo "$as_me: failed program was:" >&5
89420 sed 's/^/| /' conftest.$ac_ext >&5
89421
89422   ac_header_preproc=no
89423 fi
89424 rm -f conftest.err conftest.$ac_ext
89425 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89426 echo "${ECHO_T}$ac_header_preproc" >&6
89427
89428 # So?  What about this header?
89429 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89430   yes:no: )
89431     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89432 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89433     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89434 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89435     ac_header_preproc=yes
89436     ;;
89437   no:yes:* )
89438     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89439 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89440     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
89441 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
89442     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89443 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89444     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
89445 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
89446     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89447 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89448     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89449 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89450     (
89451       cat <<\_ASBOX
89452 ## ----------------------------------------- ##
89453 ## Report this to the package-unused lists.  ##
89454 ## ----------------------------------------- ##
89455 _ASBOX
89456     ) |
89457       sed "s/^/$as_me: WARNING:     /" >&2
89458     ;;
89459 esac
89460 echo "$as_me:$LINENO: checking for $ac_header" >&5
89461 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89463   echo $ECHO_N "(cached) $ECHO_C" >&6
89464 else
89465   eval "$as_ac_Header=\$ac_header_preproc"
89466 fi
89467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89468 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89469
89470 fi
89471 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89472   cat >>confdefs.h <<_ACEOF
89473 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89474 _ACEOF
89475
89476 fi
89477
89478 done
89479
89480
89481   if test "${glibcxx_cv_POLL+set}" = set; then
89482   echo $ECHO_N "(cached) $ECHO_C" >&6
89483 else
89484
89485     if test x$gcc_no_link = xyes; then
89486   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89488    { (exit 1); exit 1; }; }
89489 fi
89490 cat >conftest.$ac_ext <<_ACEOF
89491 /* confdefs.h.  */
89492 _ACEOF
89493 cat confdefs.h >>conftest.$ac_ext
89494 cat >>conftest.$ac_ext <<_ACEOF
89495 /* end confdefs.h.  */
89496 #include <poll.h>
89497 int
89498 main ()
89499 {
89500 struct pollfd pfd[1];
89501        pfd[0].events = POLLIN;
89502        poll(pfd, 1, 0);
89503   ;
89504   return 0;
89505 }
89506 _ACEOF
89507 rm -f conftest.$ac_objext conftest$ac_exeext
89508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89509   (eval $ac_link) 2>conftest.er1
89510   ac_status=$?
89511   grep -v '^ *+' conftest.er1 >conftest.err
89512   rm -f conftest.er1
89513   cat conftest.err >&5
89514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89515   (exit $ac_status); } &&
89516          { ac_try='test -z "$ac_c_werror_flag"
89517                          || test ! -s conftest.err'
89518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89519   (eval $ac_try) 2>&5
89520   ac_status=$?
89521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89522   (exit $ac_status); }; } &&
89523          { ac_try='test -s conftest$ac_exeext'
89524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89525   (eval $ac_try) 2>&5
89526   ac_status=$?
89527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89528   (exit $ac_status); }; }; then
89529   glibcxx_cv_POLL=yes
89530 else
89531   echo "$as_me: failed program was:" >&5
89532 sed 's/^/| /' conftest.$ac_ext >&5
89533
89534 glibcxx_cv_POLL=no
89535 fi
89536 rm -f conftest.err conftest.$ac_objext \
89537       conftest$ac_exeext conftest.$ac_ext
89538
89539 fi
89540
89541   if test $glibcxx_cv_POLL = yes; then
89542     cat >>confdefs.h <<\_ACEOF
89543 #define HAVE_POLL 1
89544 _ACEOF
89545
89546   fi
89547
89548
89549   if test "${glibcxx_cv_S_ISREG+set}" = set; then
89550   echo $ECHO_N "(cached) $ECHO_C" >&6
89551 else
89552
89553     if test x$gcc_no_link = xyes; then
89554   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89556    { (exit 1); exit 1; }; }
89557 fi
89558 cat >conftest.$ac_ext <<_ACEOF
89559 /* confdefs.h.  */
89560 _ACEOF
89561 cat confdefs.h >>conftest.$ac_ext
89562 cat >>conftest.$ac_ext <<_ACEOF
89563 /* end confdefs.h.  */
89564 #include <sys/stat.h>
89565 int
89566 main ()
89567 {
89568 struct stat buffer;
89569        fstat(0, &buffer);
89570        S_ISREG(buffer.st_mode);
89571   ;
89572   return 0;
89573 }
89574 _ACEOF
89575 rm -f conftest.$ac_objext conftest$ac_exeext
89576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89577   (eval $ac_link) 2>conftest.er1
89578   ac_status=$?
89579   grep -v '^ *+' conftest.er1 >conftest.err
89580   rm -f conftest.er1
89581   cat conftest.err >&5
89582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89583   (exit $ac_status); } &&
89584          { ac_try='test -z "$ac_c_werror_flag"
89585                          || test ! -s conftest.err'
89586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89587   (eval $ac_try) 2>&5
89588   ac_status=$?
89589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89590   (exit $ac_status); }; } &&
89591          { ac_try='test -s conftest$ac_exeext'
89592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89593   (eval $ac_try) 2>&5
89594   ac_status=$?
89595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89596   (exit $ac_status); }; }; then
89597   glibcxx_cv_S_ISREG=yes
89598 else
89599   echo "$as_me: failed program was:" >&5
89600 sed 's/^/| /' conftest.$ac_ext >&5
89601
89602 glibcxx_cv_S_ISREG=no
89603 fi
89604 rm -f conftest.err conftest.$ac_objext \
89605       conftest$ac_exeext conftest.$ac_ext
89606
89607 fi
89608
89609   if test "${glibcxx_cv_S_IFREG+set}" = set; then
89610   echo $ECHO_N "(cached) $ECHO_C" >&6
89611 else
89612
89613     if test x$gcc_no_link = xyes; then
89614   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89616    { (exit 1); exit 1; }; }
89617 fi
89618 cat >conftest.$ac_ext <<_ACEOF
89619 /* confdefs.h.  */
89620 _ACEOF
89621 cat confdefs.h >>conftest.$ac_ext
89622 cat >>conftest.$ac_ext <<_ACEOF
89623 /* end confdefs.h.  */
89624 #include <sys/stat.h>
89625 int
89626 main ()
89627 {
89628 struct stat buffer;
89629        fstat(0, &buffer);
89630        S_IFREG & buffer.st_mode;
89631   ;
89632   return 0;
89633 }
89634 _ACEOF
89635 rm -f conftest.$ac_objext conftest$ac_exeext
89636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89637   (eval $ac_link) 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_exeext'
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   glibcxx_cv_S_IFREG=yes
89658 else
89659   echo "$as_me: failed program was:" >&5
89660 sed 's/^/| /' conftest.$ac_ext >&5
89661
89662 glibcxx_cv_S_IFREG=no
89663 fi
89664 rm -f conftest.err conftest.$ac_objext \
89665       conftest$ac_exeext conftest.$ac_ext
89666
89667 fi
89668
89669   if test $glibcxx_cv_S_ISREG = yes; then
89670     cat >>confdefs.h <<\_ACEOF
89671 #define HAVE_S_ISREG 1
89672 _ACEOF
89673
89674   elif test $glibcxx_cv_S_IFREG = yes; then
89675     cat >>confdefs.h <<\_ACEOF
89676 #define HAVE_S_IFREG 1
89677 _ACEOF
89678
89679   fi
89680
89681
89682     # For xsputn_2().
89683
89684 for ac_header in sys/uio.h
89685 do
89686 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89687 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89688   echo "$as_me:$LINENO: checking for $ac_header" >&5
89689 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89690 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89691   echo $ECHO_N "(cached) $ECHO_C" >&6
89692 fi
89693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89694 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89695 else
89696   # Is the header compilable?
89697 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89698 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89699 cat >conftest.$ac_ext <<_ACEOF
89700 /* confdefs.h.  */
89701 _ACEOF
89702 cat confdefs.h >>conftest.$ac_ext
89703 cat >>conftest.$ac_ext <<_ACEOF
89704 /* end confdefs.h.  */
89705 $ac_includes_default
89706 #include <$ac_header>
89707 _ACEOF
89708 rm -f conftest.$ac_objext
89709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89710   (eval $ac_compile) 2>conftest.er1
89711   ac_status=$?
89712   grep -v '^ *+' conftest.er1 >conftest.err
89713   rm -f conftest.er1
89714   cat conftest.err >&5
89715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89716   (exit $ac_status); } &&
89717          { ac_try='test -z "$ac_c_werror_flag"
89718                          || test ! -s conftest.err'
89719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89720   (eval $ac_try) 2>&5
89721   ac_status=$?
89722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89723   (exit $ac_status); }; } &&
89724          { ac_try='test -s conftest.$ac_objext'
89725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89726   (eval $ac_try) 2>&5
89727   ac_status=$?
89728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89729   (exit $ac_status); }; }; then
89730   ac_header_compiler=yes
89731 else
89732   echo "$as_me: failed program was:" >&5
89733 sed 's/^/| /' conftest.$ac_ext >&5
89734
89735 ac_header_compiler=no
89736 fi
89737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89738 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89739 echo "${ECHO_T}$ac_header_compiler" >&6
89740
89741 # Is the header present?
89742 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89743 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89744 cat >conftest.$ac_ext <<_ACEOF
89745 /* confdefs.h.  */
89746 _ACEOF
89747 cat confdefs.h >>conftest.$ac_ext
89748 cat >>conftest.$ac_ext <<_ACEOF
89749 /* end confdefs.h.  */
89750 #include <$ac_header>
89751 _ACEOF
89752 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89753   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89754   ac_status=$?
89755   grep -v '^ *+' conftest.er1 >conftest.err
89756   rm -f conftest.er1
89757   cat conftest.err >&5
89758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89759   (exit $ac_status); } >/dev/null; then
89760   if test -s conftest.err; then
89761     ac_cpp_err=$ac_c_preproc_warn_flag
89762     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89763   else
89764     ac_cpp_err=
89765   fi
89766 else
89767   ac_cpp_err=yes
89768 fi
89769 if test -z "$ac_cpp_err"; then
89770   ac_header_preproc=yes
89771 else
89772   echo "$as_me: failed program was:" >&5
89773 sed 's/^/| /' conftest.$ac_ext >&5
89774
89775   ac_header_preproc=no
89776 fi
89777 rm -f conftest.err conftest.$ac_ext
89778 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89779 echo "${ECHO_T}$ac_header_preproc" >&6
89780
89781 # So?  What about this header?
89782 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89783   yes:no: )
89784     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89785 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89786     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89787 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89788     ac_header_preproc=yes
89789     ;;
89790   no:yes:* )
89791     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89792 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89793     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
89794 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
89795     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89796 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89797     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
89798 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
89799     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89800 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89801     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89802 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89803     (
89804       cat <<\_ASBOX
89805 ## ----------------------------------------- ##
89806 ## Report this to the package-unused lists.  ##
89807 ## ----------------------------------------- ##
89808 _ASBOX
89809     ) |
89810       sed "s/^/$as_me: WARNING:     /" >&2
89811     ;;
89812 esac
89813 echo "$as_me:$LINENO: checking for $ac_header" >&5
89814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89816   echo $ECHO_N "(cached) $ECHO_C" >&6
89817 else
89818   eval "$as_ac_Header=\$ac_header_preproc"
89819 fi
89820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89821 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89822
89823 fi
89824 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89825   cat >>confdefs.h <<_ACEOF
89826 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89827 _ACEOF
89828
89829 fi
89830
89831 done
89832
89833
89834   if test "${glibcxx_cv_WRITEV+set}" = set; then
89835   echo $ECHO_N "(cached) $ECHO_C" >&6
89836 else
89837
89838     if test x$gcc_no_link = xyes; then
89839   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89841    { (exit 1); exit 1; }; }
89842 fi
89843 cat >conftest.$ac_ext <<_ACEOF
89844 /* confdefs.h.  */
89845 _ACEOF
89846 cat confdefs.h >>conftest.$ac_ext
89847 cat >>conftest.$ac_ext <<_ACEOF
89848 /* end confdefs.h.  */
89849 #include <sys/uio.h>
89850 int
89851 main ()
89852 {
89853 struct iovec iov[2];
89854        writev(0, iov, 0);
89855   ;
89856   return 0;
89857 }
89858 _ACEOF
89859 rm -f conftest.$ac_objext conftest$ac_exeext
89860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89861   (eval $ac_link) 2>conftest.er1
89862   ac_status=$?
89863   grep -v '^ *+' conftest.er1 >conftest.err
89864   rm -f conftest.er1
89865   cat conftest.err >&5
89866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89867   (exit $ac_status); } &&
89868          { ac_try='test -z "$ac_c_werror_flag"
89869                          || test ! -s conftest.err'
89870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89871   (eval $ac_try) 2>&5
89872   ac_status=$?
89873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89874   (exit $ac_status); }; } &&
89875          { ac_try='test -s conftest$ac_exeext'
89876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89877   (eval $ac_try) 2>&5
89878   ac_status=$?
89879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89880   (exit $ac_status); }; }; then
89881   glibcxx_cv_WRITEV=yes
89882 else
89883   echo "$as_me: failed program was:" >&5
89884 sed 's/^/| /' conftest.$ac_ext >&5
89885
89886 glibcxx_cv_WRITEV=no
89887 fi
89888 rm -f conftest.err conftest.$ac_objext \
89889       conftest$ac_exeext conftest.$ac_ext
89890
89891 fi
89892
89893   if test $glibcxx_cv_WRITEV = yes; then
89894     cat >>confdefs.h <<\_ACEOF
89895 #define HAVE_WRITEV 1
89896 _ACEOF
89897
89898   fi
89899
89900     ;;
89901   *-qnx6.1* | *-qnx6.2*)
89902     SECTION_FLAGS='-ffunction-sections -fdata-sections'
89903
89904
89905   # If we're not using GNU ld, then there's no point in even trying these
89906   # tests.  Check for that first.  We should have already tested for gld
89907   # by now (in libtool), but require it now just to be safe...
89908   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
89909   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
89910
89911
89912
89913   # The name set by libtool depends on the version of libtool.  Shame on us
89914   # for depending on an impl detail, but c'est la vie.  Older versions used
89915   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
89916   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
89917   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
89918   # set (hence we're using an older libtool), then set it.
89919   if test x${with_gnu_ld+set} != xset; then
89920     if test x${ac_cv_prog_gnu_ld+set} != xset; then
89921       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
89922       with_gnu_ld=no
89923     else
89924       with_gnu_ld=$ac_cv_prog_gnu_ld
89925     fi
89926   fi
89927
89928   # Start by getting the version number.  I think the libtool test already
89929   # does some of this, but throws away the result.
89930
89931   ldver=`$LD --version 2>/dev/null | head -1 | \
89932          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
89933
89934   glibcxx_gnu_ld_version=`echo $ldver | \
89935          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
89936
89937   # Set --gc-sections.
89938   if test "$with_gnu_ld" = "notbroken"; then
89939     # GNU ld it is!  Joy and bunny rabbits!
89940
89941     # All these tests are for C++; save the language and the compiler flags.
89942     # Need to do this so that g++ won't try to link in libstdc++
89943     ac_test_CFLAGS="${CFLAGS+set}"
89944     ac_save_CFLAGS="$CFLAGS"
89945     CFLAGS='-x c++  -Wl,--gc-sections'
89946
89947     # Check for -Wl,--gc-sections
89948     # XXX This test is broken at the moment, as symbols required for linking
89949     # are now in libsupc++ (not built yet).  In addition, this test has
89950     # cored on solaris in the past.  In addition, --gc-sections doesn't
89951     # really work at the moment (keeps on discarding used sections, first
89952     # .eh_frame and now some of the glibc sections for iconv).
89953     # Bzzzzt.  Thanks for playing, maybe next time.
89954     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
89955 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
89956     if test "$cross_compiling" = yes; then
89957   ac_sectionLDflags=yes
89958 else
89959   cat >conftest.$ac_ext <<_ACEOF
89960 /* confdefs.h.  */
89961 _ACEOF
89962 cat confdefs.h >>conftest.$ac_ext
89963 cat >>conftest.$ac_ext <<_ACEOF
89964 /* end confdefs.h.  */
89965
89966      int main(void)
89967      {
89968        try { throw 1; }
89969        catch (...) { };
89970        return 0;
89971      }
89972
89973 _ACEOF
89974 rm -f conftest$ac_exeext
89975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89976   (eval $ac_link) 2>&5
89977   ac_status=$?
89978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89979   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
89980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89981   (eval $ac_try) 2>&5
89982   ac_status=$?
89983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89984   (exit $ac_status); }; }; then
89985   ac_sectionLDflags=yes
89986 else
89987   echo "$as_me: program exited with status $ac_status" >&5
89988 echo "$as_me: failed program was:" >&5
89989 sed 's/^/| /' conftest.$ac_ext >&5
89990
89991 ( exit $ac_status )
89992 ac_sectionLDflags=no
89993 fi
89994 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
89995 fi
89996     if test "$ac_test_CFLAGS" = set; then
89997       CFLAGS="$ac_save_CFLAGS"
89998     else
89999       # this is the suspicious part
90000       CFLAGS=''
90001     fi
90002     if test "$ac_sectionLDflags" = "yes"; then
90003       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
90004     fi
90005     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
90006 echo "${ECHO_T}$ac_sectionLDflags" >&6
90007   fi
90008
90009   # Set linker optimization flags.
90010   if test x"$with_gnu_ld" = x"yes"; then
90011     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
90012   fi
90013
90014
90015
90016
90017
90018
90019 echo "$as_me:$LINENO: checking for main in -lm" >&5
90020 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
90021 if test "${ac_cv_lib_m_main+set}" = set; then
90022   echo $ECHO_N "(cached) $ECHO_C" >&6
90023 else
90024   ac_check_lib_save_LIBS=$LIBS
90025 LIBS="-lm  $LIBS"
90026 if test x$gcc_no_link = xyes; then
90027   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90029    { (exit 1); exit 1; }; }
90030 fi
90031 cat >conftest.$ac_ext <<_ACEOF
90032 /* confdefs.h.  */
90033 _ACEOF
90034 cat confdefs.h >>conftest.$ac_ext
90035 cat >>conftest.$ac_ext <<_ACEOF
90036 /* end confdefs.h.  */
90037
90038
90039 int
90040 main ()
90041 {
90042 main ();
90043   ;
90044   return 0;
90045 }
90046 _ACEOF
90047 rm -f conftest.$ac_objext conftest$ac_exeext
90048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90049   (eval $ac_link) 2>conftest.er1
90050   ac_status=$?
90051   grep -v '^ *+' conftest.er1 >conftest.err
90052   rm -f conftest.er1
90053   cat conftest.err >&5
90054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90055   (exit $ac_status); } &&
90056          { ac_try='test -z "$ac_c_werror_flag"
90057                          || test ! -s conftest.err'
90058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90059   (eval $ac_try) 2>&5
90060   ac_status=$?
90061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90062   (exit $ac_status); }; } &&
90063          { ac_try='test -s conftest$ac_exeext'
90064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90065   (eval $ac_try) 2>&5
90066   ac_status=$?
90067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90068   (exit $ac_status); }; }; then
90069   ac_cv_lib_m_main=yes
90070 else
90071   echo "$as_me: failed program was:" >&5
90072 sed 's/^/| /' conftest.$ac_ext >&5
90073
90074 ac_cv_lib_m_main=no
90075 fi
90076 rm -f conftest.err conftest.$ac_objext \
90077       conftest$ac_exeext conftest.$ac_ext
90078 LIBS=$ac_check_lib_save_LIBS
90079 fi
90080 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
90081 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
90082 if test $ac_cv_lib_m_main = yes; then
90083   cat >>confdefs.h <<_ACEOF
90084 #define HAVE_LIBM 1
90085 _ACEOF
90086
90087   LIBS="-lm $LIBS"
90088
90089 fi
90090
90091
90092 for ac_func in copysignf
90093 do
90094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90095 echo "$as_me:$LINENO: checking for $ac_func" >&5
90096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90097 if eval "test \"\${$as_ac_var+set}\" = set"; then
90098   echo $ECHO_N "(cached) $ECHO_C" >&6
90099 else
90100   if test x$gcc_no_link = xyes; then
90101   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90103    { (exit 1); exit 1; }; }
90104 fi
90105 cat >conftest.$ac_ext <<_ACEOF
90106 /* confdefs.h.  */
90107 _ACEOF
90108 cat confdefs.h >>conftest.$ac_ext
90109 cat >>conftest.$ac_ext <<_ACEOF
90110 /* end confdefs.h.  */
90111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90112    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90113 #define $ac_func innocuous_$ac_func
90114
90115 /* System header to define __stub macros and hopefully few prototypes,
90116     which can conflict with char $ac_func (); below.
90117     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90118     <limits.h> exists even on freestanding compilers.  */
90119
90120 #ifdef __STDC__
90121 # include <limits.h>
90122 #else
90123 # include <assert.h>
90124 #endif
90125
90126 #undef $ac_func
90127
90128 /* Override any gcc2 internal prototype to avoid an error.  */
90129 #ifdef __cplusplus
90130 extern "C"
90131 {
90132 #endif
90133 /* We use char because int might match the return type of a gcc2
90134    builtin and then its argument prototype would still apply.  */
90135 char $ac_func ();
90136 /* The GNU C library defines this for functions which it implements
90137     to always fail with ENOSYS.  Some functions are actually named
90138     something starting with __ and the normal name is an alias.  */
90139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90140 choke me
90141 #else
90142 char (*f) () = $ac_func;
90143 #endif
90144 #ifdef __cplusplus
90145 }
90146 #endif
90147
90148 int
90149 main ()
90150 {
90151 return f != $ac_func;
90152   ;
90153   return 0;
90154 }
90155 _ACEOF
90156 rm -f conftest.$ac_objext conftest$ac_exeext
90157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90158   (eval $ac_link) 2>conftest.er1
90159   ac_status=$?
90160   grep -v '^ *+' conftest.er1 >conftest.err
90161   rm -f conftest.er1
90162   cat conftest.err >&5
90163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90164   (exit $ac_status); } &&
90165          { ac_try='test -z "$ac_c_werror_flag"
90166                          || test ! -s conftest.err'
90167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90168   (eval $ac_try) 2>&5
90169   ac_status=$?
90170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90171   (exit $ac_status); }; } &&
90172          { ac_try='test -s conftest$ac_exeext'
90173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90174   (eval $ac_try) 2>&5
90175   ac_status=$?
90176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90177   (exit $ac_status); }; }; then
90178   eval "$as_ac_var=yes"
90179 else
90180   echo "$as_me: failed program was:" >&5
90181 sed 's/^/| /' conftest.$ac_ext >&5
90182
90183 eval "$as_ac_var=no"
90184 fi
90185 rm -f conftest.err conftest.$ac_objext \
90186       conftest$ac_exeext conftest.$ac_ext
90187 fi
90188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90190 if test `eval echo '${'$as_ac_var'}'` = yes; then
90191   cat >>confdefs.h <<_ACEOF
90192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90193 _ACEOF
90194
90195 else
90196   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
90197 fi
90198 done
90199
90200
90201
90202 for ac_func in __signbit
90203 do
90204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90205 echo "$as_me:$LINENO: checking for $ac_func" >&5
90206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90207 if eval "test \"\${$as_ac_var+set}\" = set"; then
90208   echo $ECHO_N "(cached) $ECHO_C" >&6
90209 else
90210   if test x$gcc_no_link = xyes; then
90211   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90213    { (exit 1); exit 1; }; }
90214 fi
90215 cat >conftest.$ac_ext <<_ACEOF
90216 /* confdefs.h.  */
90217 _ACEOF
90218 cat confdefs.h >>conftest.$ac_ext
90219 cat >>conftest.$ac_ext <<_ACEOF
90220 /* end confdefs.h.  */
90221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90222    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90223 #define $ac_func innocuous_$ac_func
90224
90225 /* System header to define __stub macros and hopefully few prototypes,
90226     which can conflict with char $ac_func (); below.
90227     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90228     <limits.h> exists even on freestanding compilers.  */
90229
90230 #ifdef __STDC__
90231 # include <limits.h>
90232 #else
90233 # include <assert.h>
90234 #endif
90235
90236 #undef $ac_func
90237
90238 /* Override any gcc2 internal prototype to avoid an error.  */
90239 #ifdef __cplusplus
90240 extern "C"
90241 {
90242 #endif
90243 /* We use char because int might match the return type of a gcc2
90244    builtin and then its argument prototype would still apply.  */
90245 char $ac_func ();
90246 /* The GNU C library defines this for functions which it implements
90247     to always fail with ENOSYS.  Some functions are actually named
90248     something starting with __ and the normal name is an alias.  */
90249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90250 choke me
90251 #else
90252 char (*f) () = $ac_func;
90253 #endif
90254 #ifdef __cplusplus
90255 }
90256 #endif
90257
90258 int
90259 main ()
90260 {
90261 return f != $ac_func;
90262   ;
90263   return 0;
90264 }
90265 _ACEOF
90266 rm -f conftest.$ac_objext conftest$ac_exeext
90267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90268   (eval $ac_link) 2>conftest.er1
90269   ac_status=$?
90270   grep -v '^ *+' conftest.er1 >conftest.err
90271   rm -f conftest.er1
90272   cat conftest.err >&5
90273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90274   (exit $ac_status); } &&
90275          { ac_try='test -z "$ac_c_werror_flag"
90276                          || test ! -s conftest.err'
90277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90278   (eval $ac_try) 2>&5
90279   ac_status=$?
90280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90281   (exit $ac_status); }; } &&
90282          { ac_try='test -s conftest$ac_exeext'
90283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90284   (eval $ac_try) 2>&5
90285   ac_status=$?
90286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90287   (exit $ac_status); }; }; then
90288   eval "$as_ac_var=yes"
90289 else
90290   echo "$as_me: failed program was:" >&5
90291 sed 's/^/| /' conftest.$ac_ext >&5
90292
90293 eval "$as_ac_var=no"
90294 fi
90295 rm -f conftest.err conftest.$ac_objext \
90296       conftest$ac_exeext conftest.$ac_ext
90297 fi
90298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90300 if test `eval echo '${'$as_ac_var'}'` = yes; then
90301   cat >>confdefs.h <<_ACEOF
90302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90303 _ACEOF
90304
90305 else
90306   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
90307 fi
90308 done
90309
90310
90311
90312 for ac_func in __signbitf
90313 do
90314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90315 echo "$as_me:$LINENO: checking for $ac_func" >&5
90316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90317 if eval "test \"\${$as_ac_var+set}\" = set"; then
90318   echo $ECHO_N "(cached) $ECHO_C" >&6
90319 else
90320   if test x$gcc_no_link = xyes; then
90321   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90323    { (exit 1); exit 1; }; }
90324 fi
90325 cat >conftest.$ac_ext <<_ACEOF
90326 /* confdefs.h.  */
90327 _ACEOF
90328 cat confdefs.h >>conftest.$ac_ext
90329 cat >>conftest.$ac_ext <<_ACEOF
90330 /* end confdefs.h.  */
90331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90332    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90333 #define $ac_func innocuous_$ac_func
90334
90335 /* System header to define __stub macros and hopefully few prototypes,
90336     which can conflict with char $ac_func (); below.
90337     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90338     <limits.h> exists even on freestanding compilers.  */
90339
90340 #ifdef __STDC__
90341 # include <limits.h>
90342 #else
90343 # include <assert.h>
90344 #endif
90345
90346 #undef $ac_func
90347
90348 /* Override any gcc2 internal prototype to avoid an error.  */
90349 #ifdef __cplusplus
90350 extern "C"
90351 {
90352 #endif
90353 /* We use char because int might match the return type of a gcc2
90354    builtin and then its argument prototype would still apply.  */
90355 char $ac_func ();
90356 /* The GNU C library defines this for functions which it implements
90357     to always fail with ENOSYS.  Some functions are actually named
90358     something starting with __ and the normal name is an alias.  */
90359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90360 choke me
90361 #else
90362 char (*f) () = $ac_func;
90363 #endif
90364 #ifdef __cplusplus
90365 }
90366 #endif
90367
90368 int
90369 main ()
90370 {
90371 return f != $ac_func;
90372   ;
90373   return 0;
90374 }
90375 _ACEOF
90376 rm -f conftest.$ac_objext conftest$ac_exeext
90377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90378   (eval $ac_link) 2>conftest.er1
90379   ac_status=$?
90380   grep -v '^ *+' conftest.er1 >conftest.err
90381   rm -f conftest.er1
90382   cat conftest.err >&5
90383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90384   (exit $ac_status); } &&
90385          { ac_try='test -z "$ac_c_werror_flag"
90386                          || test ! -s conftest.err'
90387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90388   (eval $ac_try) 2>&5
90389   ac_status=$?
90390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90391   (exit $ac_status); }; } &&
90392          { ac_try='test -s conftest$ac_exeext'
90393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90394   (eval $ac_try) 2>&5
90395   ac_status=$?
90396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90397   (exit $ac_status); }; }; then
90398   eval "$as_ac_var=yes"
90399 else
90400   echo "$as_me: failed program was:" >&5
90401 sed 's/^/| /' conftest.$ac_ext >&5
90402
90403 eval "$as_ac_var=no"
90404 fi
90405 rm -f conftest.err conftest.$ac_objext \
90406       conftest$ac_exeext conftest.$ac_ext
90407 fi
90408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90410 if test `eval echo '${'$as_ac_var'}'` = yes; then
90411   cat >>confdefs.h <<_ACEOF
90412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90413 _ACEOF
90414
90415 else
90416   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
90417 fi
90418 done
90419
90420
90421           if test x$ac_cv_func_copysignl = x"yes"; then
90422
90423 for ac_func in __signbitl
90424 do
90425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90426 echo "$as_me:$LINENO: checking for $ac_func" >&5
90427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90428 if eval "test \"\${$as_ac_var+set}\" = set"; then
90429   echo $ECHO_N "(cached) $ECHO_C" >&6
90430 else
90431   if test x$gcc_no_link = xyes; then
90432   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90434    { (exit 1); exit 1; }; }
90435 fi
90436 cat >conftest.$ac_ext <<_ACEOF
90437 /* confdefs.h.  */
90438 _ACEOF
90439 cat confdefs.h >>conftest.$ac_ext
90440 cat >>conftest.$ac_ext <<_ACEOF
90441 /* end confdefs.h.  */
90442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90443    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90444 #define $ac_func innocuous_$ac_func
90445
90446 /* System header to define __stub macros and hopefully few prototypes,
90447     which can conflict with char $ac_func (); below.
90448     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90449     <limits.h> exists even on freestanding compilers.  */
90450
90451 #ifdef __STDC__
90452 # include <limits.h>
90453 #else
90454 # include <assert.h>
90455 #endif
90456
90457 #undef $ac_func
90458
90459 /* Override any gcc2 internal prototype to avoid an error.  */
90460 #ifdef __cplusplus
90461 extern "C"
90462 {
90463 #endif
90464 /* We use char because int might match the return type of a gcc2
90465    builtin and then its argument prototype would still apply.  */
90466 char $ac_func ();
90467 /* The GNU C library defines this for functions which it implements
90468     to always fail with ENOSYS.  Some functions are actually named
90469     something starting with __ and the normal name is an alias.  */
90470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90471 choke me
90472 #else
90473 char (*f) () = $ac_func;
90474 #endif
90475 #ifdef __cplusplus
90476 }
90477 #endif
90478
90479 int
90480 main ()
90481 {
90482 return f != $ac_func;
90483   ;
90484   return 0;
90485 }
90486 _ACEOF
90487 rm -f conftest.$ac_objext conftest$ac_exeext
90488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90489   (eval $ac_link) 2>conftest.er1
90490   ac_status=$?
90491   grep -v '^ *+' conftest.er1 >conftest.err
90492   rm -f conftest.er1
90493   cat conftest.err >&5
90494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90495   (exit $ac_status); } &&
90496          { ac_try='test -z "$ac_c_werror_flag"
90497                          || test ! -s conftest.err'
90498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90499   (eval $ac_try) 2>&5
90500   ac_status=$?
90501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90502   (exit $ac_status); }; } &&
90503          { ac_try='test -s conftest$ac_exeext'
90504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90505   (eval $ac_try) 2>&5
90506   ac_status=$?
90507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90508   (exit $ac_status); }; }; then
90509   eval "$as_ac_var=yes"
90510 else
90511   echo "$as_me: failed program was:" >&5
90512 sed 's/^/| /' conftest.$ac_ext >&5
90513
90514 eval "$as_ac_var=no"
90515 fi
90516 rm -f conftest.err conftest.$ac_objext \
90517       conftest$ac_exeext conftest.$ac_ext
90518 fi
90519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90521 if test `eval echo '${'$as_ac_var'}'` = yes; then
90522   cat >>confdefs.h <<_ACEOF
90523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90524 _ACEOF
90525
90526 else
90527   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
90528 fi
90529 done
90530
90531   fi
90532
90533   # Used in libmath/Makefile.am.
90534   if test -n "$LIBMATHOBJS"; then
90535     need_libmath=yes
90536   fi
90537
90538
90539
90540   # Test wchar.h for mbstate_t, which is needed for char_traits and
90541   # others even if wchar_t support is not on.
90542   echo "$as_me:$LINENO: checking for mbstate_t" >&5
90543 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
90544   cat >conftest.$ac_ext <<_ACEOF
90545 /* confdefs.h.  */
90546 _ACEOF
90547 cat confdefs.h >>conftest.$ac_ext
90548 cat >>conftest.$ac_ext <<_ACEOF
90549 /* end confdefs.h.  */
90550 #include <wchar.h>
90551 int
90552 main ()
90553 {
90554 mbstate_t teststate;
90555   ;
90556   return 0;
90557 }
90558 _ACEOF
90559 rm -f conftest.$ac_objext
90560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90561   (eval $ac_compile) 2>conftest.er1
90562   ac_status=$?
90563   grep -v '^ *+' conftest.er1 >conftest.err
90564   rm -f conftest.er1
90565   cat conftest.err >&5
90566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90567   (exit $ac_status); } &&
90568          { ac_try='test -z "$ac_c_werror_flag"
90569                          || test ! -s conftest.err'
90570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90571   (eval $ac_try) 2>&5
90572   ac_status=$?
90573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90574   (exit $ac_status); }; } &&
90575          { ac_try='test -s conftest.$ac_objext'
90576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90577   (eval $ac_try) 2>&5
90578   ac_status=$?
90579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90580   (exit $ac_status); }; }; then
90581   have_mbstate_t=yes
90582 else
90583   echo "$as_me: failed program was:" >&5
90584 sed 's/^/| /' conftest.$ac_ext >&5
90585
90586 have_mbstate_t=no
90587 fi
90588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90589   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
90590 echo "${ECHO_T}$have_mbstate_t" >&6
90591   if test x"$have_mbstate_t" = xyes; then
90592     cat >>confdefs.h <<\_ACEOF
90593 #define HAVE_MBSTATE_T 1
90594 _ACEOF
90595
90596   fi
90597
90598   # Sanity check for existence of ISO C99 headers for extended encoding.
90599
90600 for ac_header in wchar.h
90601 do
90602 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
90603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90604   echo "$as_me:$LINENO: checking for $ac_header" >&5
90605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90607   echo $ECHO_N "(cached) $ECHO_C" >&6
90608 fi
90609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90610 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90611 else
90612   # Is the header compilable?
90613 echo "$as_me:$LINENO: checking $ac_header usability" >&5
90614 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
90615 cat >conftest.$ac_ext <<_ACEOF
90616 /* confdefs.h.  */
90617 _ACEOF
90618 cat confdefs.h >>conftest.$ac_ext
90619 cat >>conftest.$ac_ext <<_ACEOF
90620 /* end confdefs.h.  */
90621 $ac_includes_default
90622 #include <$ac_header>
90623 _ACEOF
90624 rm -f conftest.$ac_objext
90625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90626   (eval $ac_compile) 2>conftest.er1
90627   ac_status=$?
90628   grep -v '^ *+' conftest.er1 >conftest.err
90629   rm -f conftest.er1
90630   cat conftest.err >&5
90631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90632   (exit $ac_status); } &&
90633          { ac_try='test -z "$ac_c_werror_flag"
90634                          || test ! -s conftest.err'
90635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90636   (eval $ac_try) 2>&5
90637   ac_status=$?
90638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90639   (exit $ac_status); }; } &&
90640          { ac_try='test -s conftest.$ac_objext'
90641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90642   (eval $ac_try) 2>&5
90643   ac_status=$?
90644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90645   (exit $ac_status); }; }; then
90646   ac_header_compiler=yes
90647 else
90648   echo "$as_me: failed program was:" >&5
90649 sed 's/^/| /' conftest.$ac_ext >&5
90650
90651 ac_header_compiler=no
90652 fi
90653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90654 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90655 echo "${ECHO_T}$ac_header_compiler" >&6
90656
90657 # Is the header present?
90658 echo "$as_me:$LINENO: checking $ac_header presence" >&5
90659 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
90660 cat >conftest.$ac_ext <<_ACEOF
90661 /* confdefs.h.  */
90662 _ACEOF
90663 cat confdefs.h >>conftest.$ac_ext
90664 cat >>conftest.$ac_ext <<_ACEOF
90665 /* end confdefs.h.  */
90666 #include <$ac_header>
90667 _ACEOF
90668 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90669   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90670   ac_status=$?
90671   grep -v '^ *+' conftest.er1 >conftest.err
90672   rm -f conftest.er1
90673   cat conftest.err >&5
90674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90675   (exit $ac_status); } >/dev/null; then
90676   if test -s conftest.err; then
90677     ac_cpp_err=$ac_c_preproc_warn_flag
90678     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90679   else
90680     ac_cpp_err=
90681   fi
90682 else
90683   ac_cpp_err=yes
90684 fi
90685 if test -z "$ac_cpp_err"; then
90686   ac_header_preproc=yes
90687 else
90688   echo "$as_me: failed program was:" >&5
90689 sed 's/^/| /' conftest.$ac_ext >&5
90690
90691   ac_header_preproc=no
90692 fi
90693 rm -f conftest.err conftest.$ac_ext
90694 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90695 echo "${ECHO_T}$ac_header_preproc" >&6
90696
90697 # So?  What about this header?
90698 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90699   yes:no: )
90700     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
90701 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
90702     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
90703 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
90704     ac_header_preproc=yes
90705     ;;
90706   no:yes:* )
90707     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
90708 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
90709     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
90710 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
90711     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
90712 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
90713     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
90714 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
90715     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
90716 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
90717     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
90718 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
90719     (
90720       cat <<\_ASBOX
90721 ## ----------------------------------------- ##
90722 ## Report this to the package-unused lists.  ##
90723 ## ----------------------------------------- ##
90724 _ASBOX
90725     ) |
90726       sed "s/^/$as_me: WARNING:     /" >&2
90727     ;;
90728 esac
90729 echo "$as_me:$LINENO: checking for $ac_header" >&5
90730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90732   echo $ECHO_N "(cached) $ECHO_C" >&6
90733 else
90734   eval "$as_ac_Header=\$ac_header_preproc"
90735 fi
90736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90737 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90738
90739 fi
90740 if test `eval echo '${'$as_ac_Header'}'` = yes; then
90741   cat >>confdefs.h <<_ACEOF
90742 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
90743 _ACEOF
90744  ac_has_wchar_h=yes
90745 else
90746   ac_has_wchar_h=no
90747 fi
90748
90749 done
90750
90751
90752 for ac_header in wctype.h
90753 do
90754 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
90755 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90756   echo "$as_me:$LINENO: checking for $ac_header" >&5
90757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90758 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90759   echo $ECHO_N "(cached) $ECHO_C" >&6
90760 fi
90761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90762 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90763 else
90764   # Is the header compilable?
90765 echo "$as_me:$LINENO: checking $ac_header usability" >&5
90766 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
90767 cat >conftest.$ac_ext <<_ACEOF
90768 /* confdefs.h.  */
90769 _ACEOF
90770 cat confdefs.h >>conftest.$ac_ext
90771 cat >>conftest.$ac_ext <<_ACEOF
90772 /* end confdefs.h.  */
90773 $ac_includes_default
90774 #include <$ac_header>
90775 _ACEOF
90776 rm -f conftest.$ac_objext
90777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90778   (eval $ac_compile) 2>conftest.er1
90779   ac_status=$?
90780   grep -v '^ *+' conftest.er1 >conftest.err
90781   rm -f conftest.er1
90782   cat conftest.err >&5
90783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90784   (exit $ac_status); } &&
90785          { ac_try='test -z "$ac_c_werror_flag"
90786                          || test ! -s conftest.err'
90787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90788   (eval $ac_try) 2>&5
90789   ac_status=$?
90790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90791   (exit $ac_status); }; } &&
90792          { ac_try='test -s conftest.$ac_objext'
90793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90794   (eval $ac_try) 2>&5
90795   ac_status=$?
90796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90797   (exit $ac_status); }; }; then
90798   ac_header_compiler=yes
90799 else
90800   echo "$as_me: failed program was:" >&5
90801 sed 's/^/| /' conftest.$ac_ext >&5
90802
90803 ac_header_compiler=no
90804 fi
90805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90806 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90807 echo "${ECHO_T}$ac_header_compiler" >&6
90808
90809 # Is the header present?
90810 echo "$as_me:$LINENO: checking $ac_header presence" >&5
90811 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
90812 cat >conftest.$ac_ext <<_ACEOF
90813 /* confdefs.h.  */
90814 _ACEOF
90815 cat confdefs.h >>conftest.$ac_ext
90816 cat >>conftest.$ac_ext <<_ACEOF
90817 /* end confdefs.h.  */
90818 #include <$ac_header>
90819 _ACEOF
90820 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90821   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90822   ac_status=$?
90823   grep -v '^ *+' conftest.er1 >conftest.err
90824   rm -f conftest.er1
90825   cat conftest.err >&5
90826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90827   (exit $ac_status); } >/dev/null; then
90828   if test -s conftest.err; then
90829     ac_cpp_err=$ac_c_preproc_warn_flag
90830     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90831   else
90832     ac_cpp_err=
90833   fi
90834 else
90835   ac_cpp_err=yes
90836 fi
90837 if test -z "$ac_cpp_err"; then
90838   ac_header_preproc=yes
90839 else
90840   echo "$as_me: failed program was:" >&5
90841 sed 's/^/| /' conftest.$ac_ext >&5
90842
90843   ac_header_preproc=no
90844 fi
90845 rm -f conftest.err conftest.$ac_ext
90846 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90847 echo "${ECHO_T}$ac_header_preproc" >&6
90848
90849 # So?  What about this header?
90850 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90851   yes:no: )
90852     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
90853 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
90854     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
90855 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
90856     ac_header_preproc=yes
90857     ;;
90858   no:yes:* )
90859     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
90860 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
90861     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
90862 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
90863     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
90864 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
90865     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
90866 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
90867     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
90868 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
90869     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
90870 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
90871     (
90872       cat <<\_ASBOX
90873 ## ----------------------------------------- ##
90874 ## Report this to the package-unused lists.  ##
90875 ## ----------------------------------------- ##
90876 _ASBOX
90877     ) |
90878       sed "s/^/$as_me: WARNING:     /" >&2
90879     ;;
90880 esac
90881 echo "$as_me:$LINENO: checking for $ac_header" >&5
90882 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90883 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90884   echo $ECHO_N "(cached) $ECHO_C" >&6
90885 else
90886   eval "$as_ac_Header=\$ac_header_preproc"
90887 fi
90888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90889 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90890
90891 fi
90892 if test `eval echo '${'$as_ac_Header'}'` = yes; then
90893   cat >>confdefs.h <<_ACEOF
90894 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
90895 _ACEOF
90896  ac_has_wctype_h=yes
90897 else
90898   ac_has_wctype_h=no
90899 fi
90900
90901 done
90902
90903
90904   # Only continue checking if the ISO C99 headers exist and support is on.
90905   if test x"$ac_has_wchar_h" = xyes &&
90906      test x"$ac_has_wctype_h" = xyes &&
90907      test x"$enable_c_mbchar" != xno; then
90908
90909     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
90910     # numeric_limits can instantiate type_traits<wchar_t>
90911     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
90912 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
90913     cat >conftest.$ac_ext <<_ACEOF
90914 /* confdefs.h.  */
90915 _ACEOF
90916 cat confdefs.h >>conftest.$ac_ext
90917 cat >>conftest.$ac_ext <<_ACEOF
90918 /* end confdefs.h.  */
90919 #include <wchar.h>
90920 int
90921 main ()
90922 {
90923 int i = WCHAR_MIN; int j = WCHAR_MAX;
90924   ;
90925   return 0;
90926 }
90927 _ACEOF
90928 rm -f conftest.$ac_objext
90929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90930   (eval $ac_compile) 2>conftest.er1
90931   ac_status=$?
90932   grep -v '^ *+' conftest.er1 >conftest.err
90933   rm -f conftest.er1
90934   cat conftest.err >&5
90935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90936   (exit $ac_status); } &&
90937          { ac_try='test -z "$ac_c_werror_flag"
90938                          || test ! -s conftest.err'
90939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90940   (eval $ac_try) 2>&5
90941   ac_status=$?
90942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90943   (exit $ac_status); }; } &&
90944          { ac_try='test -s conftest.$ac_objext'
90945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90946   (eval $ac_try) 2>&5
90947   ac_status=$?
90948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90949   (exit $ac_status); }; }; then
90950   has_wchar_minmax=yes
90951 else
90952   echo "$as_me: failed program was:" >&5
90953 sed 's/^/| /' conftest.$ac_ext >&5
90954
90955 has_wchar_minmax=no
90956 fi
90957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90958     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
90959 echo "${ECHO_T}$has_wchar_minmax" >&6
90960
90961     # Test wchar.h for WEOF, which is what we use to determine whether
90962     # to specialize for char_traits<wchar_t> or not.
90963     echo "$as_me:$LINENO: checking for WEOF" >&5
90964 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
90965     cat >conftest.$ac_ext <<_ACEOF
90966 /* confdefs.h.  */
90967 _ACEOF
90968 cat confdefs.h >>conftest.$ac_ext
90969 cat >>conftest.$ac_ext <<_ACEOF
90970 /* end confdefs.h.  */
90971
90972       #include <wchar.h>
90973       #include <stddef.h>
90974 int
90975 main ()
90976 {
90977 wint_t i = WEOF;
90978   ;
90979   return 0;
90980 }
90981 _ACEOF
90982 rm -f conftest.$ac_objext
90983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90984   (eval $ac_compile) 2>conftest.er1
90985   ac_status=$?
90986   grep -v '^ *+' conftest.er1 >conftest.err
90987   rm -f conftest.er1
90988   cat conftest.err >&5
90989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90990   (exit $ac_status); } &&
90991          { ac_try='test -z "$ac_c_werror_flag"
90992                          || test ! -s conftest.err'
90993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90994   (eval $ac_try) 2>&5
90995   ac_status=$?
90996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90997   (exit $ac_status); }; } &&
90998          { ac_try='test -s conftest.$ac_objext'
90999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91000   (eval $ac_try) 2>&5
91001   ac_status=$?
91002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91003   (exit $ac_status); }; }; then
91004   has_weof=yes
91005 else
91006   echo "$as_me: failed program was:" >&5
91007 sed 's/^/| /' conftest.$ac_ext >&5
91008
91009 has_weof=no
91010 fi
91011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91012     echo "$as_me:$LINENO: result: $has_weof" >&5
91013 echo "${ECHO_T}$has_weof" >&6
91014
91015     # Tests for wide character functions used in char_traits<wchar_t>.
91016     ac_wfuncs=yes
91017
91018
91019
91020
91021
91022
91023 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
91024 do
91025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91026 echo "$as_me:$LINENO: checking for $ac_func" >&5
91027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91028 if eval "test \"\${$as_ac_var+set}\" = set"; then
91029   echo $ECHO_N "(cached) $ECHO_C" >&6
91030 else
91031   if test x$gcc_no_link = xyes; then
91032   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91034    { (exit 1); exit 1; }; }
91035 fi
91036 cat >conftest.$ac_ext <<_ACEOF
91037 /* confdefs.h.  */
91038 _ACEOF
91039 cat confdefs.h >>conftest.$ac_ext
91040 cat >>conftest.$ac_ext <<_ACEOF
91041 /* end confdefs.h.  */
91042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91043    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91044 #define $ac_func innocuous_$ac_func
91045
91046 /* System header to define __stub macros and hopefully few prototypes,
91047     which can conflict with char $ac_func (); below.
91048     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91049     <limits.h> exists even on freestanding compilers.  */
91050
91051 #ifdef __STDC__
91052 # include <limits.h>
91053 #else
91054 # include <assert.h>
91055 #endif
91056
91057 #undef $ac_func
91058
91059 /* Override any gcc2 internal prototype to avoid an error.  */
91060 #ifdef __cplusplus
91061 extern "C"
91062 {
91063 #endif
91064 /* We use char because int might match the return type of a gcc2
91065    builtin and then its argument prototype would still apply.  */
91066 char $ac_func ();
91067 /* The GNU C library defines this for functions which it implements
91068     to always fail with ENOSYS.  Some functions are actually named
91069     something starting with __ and the normal name is an alias.  */
91070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91071 choke me
91072 #else
91073 char (*f) () = $ac_func;
91074 #endif
91075 #ifdef __cplusplus
91076 }
91077 #endif
91078
91079 int
91080 main ()
91081 {
91082 return f != $ac_func;
91083   ;
91084   return 0;
91085 }
91086 _ACEOF
91087 rm -f conftest.$ac_objext conftest$ac_exeext
91088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91089   (eval $ac_link) 2>conftest.er1
91090   ac_status=$?
91091   grep -v '^ *+' conftest.er1 >conftest.err
91092   rm -f conftest.er1
91093   cat conftest.err >&5
91094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91095   (exit $ac_status); } &&
91096          { ac_try='test -z "$ac_c_werror_flag"
91097                          || test ! -s conftest.err'
91098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91099   (eval $ac_try) 2>&5
91100   ac_status=$?
91101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91102   (exit $ac_status); }; } &&
91103          { ac_try='test -s conftest$ac_exeext'
91104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91105   (eval $ac_try) 2>&5
91106   ac_status=$?
91107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91108   (exit $ac_status); }; }; then
91109   eval "$as_ac_var=yes"
91110 else
91111   echo "$as_me: failed program was:" >&5
91112 sed 's/^/| /' conftest.$ac_ext >&5
91113
91114 eval "$as_ac_var=no"
91115 fi
91116 rm -f conftest.err conftest.$ac_objext \
91117       conftest$ac_exeext conftest.$ac_ext
91118 fi
91119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91121 if test `eval echo '${'$as_ac_var'}'` = yes; then
91122   cat >>confdefs.h <<_ACEOF
91123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91124 _ACEOF
91125
91126 else
91127   ac_wfuncs=no
91128 fi
91129 done
91130
91131
91132     # Checks for names injected into std:: by the c_std headers.
91133
91134
91135
91136
91137
91138
91139
91140
91141
91142
91143
91144
91145
91146
91147
91148
91149
91150
91151
91152
91153
91154
91155
91156
91157
91158
91159
91160
91161
91162
91163
91164
91165
91166
91167
91168
91169
91170
91171
91172
91173
91174
91175
91176
91177
91178
91179 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
91180     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
91181     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
91182     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
91183     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
91184     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
91185 do
91186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91187 echo "$as_me:$LINENO: checking for $ac_func" >&5
91188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91189 if eval "test \"\${$as_ac_var+set}\" = set"; then
91190   echo $ECHO_N "(cached) $ECHO_C" >&6
91191 else
91192   if test x$gcc_no_link = xyes; then
91193   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91195    { (exit 1); exit 1; }; }
91196 fi
91197 cat >conftest.$ac_ext <<_ACEOF
91198 /* confdefs.h.  */
91199 _ACEOF
91200 cat confdefs.h >>conftest.$ac_ext
91201 cat >>conftest.$ac_ext <<_ACEOF
91202 /* end confdefs.h.  */
91203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91204    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91205 #define $ac_func innocuous_$ac_func
91206
91207 /* System header to define __stub macros and hopefully few prototypes,
91208     which can conflict with char $ac_func (); below.
91209     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91210     <limits.h> exists even on freestanding compilers.  */
91211
91212 #ifdef __STDC__
91213 # include <limits.h>
91214 #else
91215 # include <assert.h>
91216 #endif
91217
91218 #undef $ac_func
91219
91220 /* Override any gcc2 internal prototype to avoid an error.  */
91221 #ifdef __cplusplus
91222 extern "C"
91223 {
91224 #endif
91225 /* We use char because int might match the return type of a gcc2
91226    builtin and then its argument prototype would still apply.  */
91227 char $ac_func ();
91228 /* The GNU C library defines this for functions which it implements
91229     to always fail with ENOSYS.  Some functions are actually named
91230     something starting with __ and the normal name is an alias.  */
91231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91232 choke me
91233 #else
91234 char (*f) () = $ac_func;
91235 #endif
91236 #ifdef __cplusplus
91237 }
91238 #endif
91239
91240 int
91241 main ()
91242 {
91243 return f != $ac_func;
91244   ;
91245   return 0;
91246 }
91247 _ACEOF
91248 rm -f conftest.$ac_objext conftest$ac_exeext
91249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91250   (eval $ac_link) 2>conftest.er1
91251   ac_status=$?
91252   grep -v '^ *+' conftest.er1 >conftest.err
91253   rm -f conftest.er1
91254   cat conftest.err >&5
91255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91256   (exit $ac_status); } &&
91257          { ac_try='test -z "$ac_c_werror_flag"
91258                          || test ! -s conftest.err'
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); }; } &&
91264          { ac_try='test -s conftest$ac_exeext'
91265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91266   (eval $ac_try) 2>&5
91267   ac_status=$?
91268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91269   (exit $ac_status); }; }; then
91270   eval "$as_ac_var=yes"
91271 else
91272   echo "$as_me: failed program was:" >&5
91273 sed 's/^/| /' conftest.$ac_ext >&5
91274
91275 eval "$as_ac_var=no"
91276 fi
91277 rm -f conftest.err conftest.$ac_objext \
91278       conftest$ac_exeext conftest.$ac_ext
91279 fi
91280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91282 if test `eval echo '${'$as_ac_var'}'` = yes; then
91283   cat >>confdefs.h <<_ACEOF
91284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91285 _ACEOF
91286
91287 else
91288   ac_wfuncs=no
91289 fi
91290 done
91291
91292
91293     # Checks for wide character functions that are not required
91294     # for basic wchar_t support.  Don't disable support if they are missing.
91295     # Injection of these is wrapped with guard macros.
91296
91297
91298
91299
91300
91301 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
91302 do
91303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91304 echo "$as_me:$LINENO: checking for $ac_func" >&5
91305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91306 if eval "test \"\${$as_ac_var+set}\" = set"; then
91307   echo $ECHO_N "(cached) $ECHO_C" >&6
91308 else
91309   if test x$gcc_no_link = xyes; then
91310   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91312    { (exit 1); exit 1; }; }
91313 fi
91314 cat >conftest.$ac_ext <<_ACEOF
91315 /* confdefs.h.  */
91316 _ACEOF
91317 cat confdefs.h >>conftest.$ac_ext
91318 cat >>conftest.$ac_ext <<_ACEOF
91319 /* end confdefs.h.  */
91320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91321    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91322 #define $ac_func innocuous_$ac_func
91323
91324 /* System header to define __stub macros and hopefully few prototypes,
91325     which can conflict with char $ac_func (); below.
91326     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91327     <limits.h> exists even on freestanding compilers.  */
91328
91329 #ifdef __STDC__
91330 # include <limits.h>
91331 #else
91332 # include <assert.h>
91333 #endif
91334
91335 #undef $ac_func
91336
91337 /* Override any gcc2 internal prototype to avoid an error.  */
91338 #ifdef __cplusplus
91339 extern "C"
91340 {
91341 #endif
91342 /* We use char because int might match the return type of a gcc2
91343    builtin and then its argument prototype would still apply.  */
91344 char $ac_func ();
91345 /* The GNU C library defines this for functions which it implements
91346     to always fail with ENOSYS.  Some functions are actually named
91347     something starting with __ and the normal name is an alias.  */
91348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91349 choke me
91350 #else
91351 char (*f) () = $ac_func;
91352 #endif
91353 #ifdef __cplusplus
91354 }
91355 #endif
91356
91357 int
91358 main ()
91359 {
91360 return f != $ac_func;
91361   ;
91362   return 0;
91363 }
91364 _ACEOF
91365 rm -f conftest.$ac_objext conftest$ac_exeext
91366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91367   (eval $ac_link) 2>conftest.er1
91368   ac_status=$?
91369   grep -v '^ *+' conftest.er1 >conftest.err
91370   rm -f conftest.er1
91371   cat conftest.err >&5
91372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91373   (exit $ac_status); } &&
91374          { ac_try='test -z "$ac_c_werror_flag"
91375                          || test ! -s conftest.err'
91376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91377   (eval $ac_try) 2>&5
91378   ac_status=$?
91379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91380   (exit $ac_status); }; } &&
91381          { ac_try='test -s conftest$ac_exeext'
91382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91383   (eval $ac_try) 2>&5
91384   ac_status=$?
91385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91386   (exit $ac_status); }; }; then
91387   eval "$as_ac_var=yes"
91388 else
91389   echo "$as_me: failed program was:" >&5
91390 sed 's/^/| /' conftest.$ac_ext >&5
91391
91392 eval "$as_ac_var=no"
91393 fi
91394 rm -f conftest.err conftest.$ac_objext \
91395       conftest$ac_exeext conftest.$ac_ext
91396 fi
91397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91399 if test `eval echo '${'$as_ac_var'}'` = yes; then
91400   cat >>confdefs.h <<_ACEOF
91401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91402 _ACEOF
91403
91404 fi
91405 done
91406
91407
91408     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
91409 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
91410     if test x"$has_weof" = xyes &&
91411        test x"$has_wchar_minmax" = xyes &&
91412        test x"$ac_wfuncs" = xyes;
91413     then
91414       ac_isoC99_wchar_t=yes
91415     else
91416       ac_isoC99_wchar_t=no
91417     fi
91418     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
91419 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
91420
91421     # Use iconv for wchar_t to char conversions. As such, check for
91422     # X/Open Portability Guide, version 2 features (XPG2).
91423     if test "${ac_cv_header_iconv_h+set}" = set; then
91424   echo "$as_me:$LINENO: checking for iconv.h" >&5
91425 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
91426 if test "${ac_cv_header_iconv_h+set}" = set; then
91427   echo $ECHO_N "(cached) $ECHO_C" >&6
91428 fi
91429 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
91430 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
91431 else
91432   # Is the header compilable?
91433 echo "$as_me:$LINENO: checking iconv.h usability" >&5
91434 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
91435 cat >conftest.$ac_ext <<_ACEOF
91436 /* confdefs.h.  */
91437 _ACEOF
91438 cat confdefs.h >>conftest.$ac_ext
91439 cat >>conftest.$ac_ext <<_ACEOF
91440 /* end confdefs.h.  */
91441 $ac_includes_default
91442 #include <iconv.h>
91443 _ACEOF
91444 rm -f conftest.$ac_objext
91445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91446   (eval $ac_compile) 2>conftest.er1
91447   ac_status=$?
91448   grep -v '^ *+' conftest.er1 >conftest.err
91449   rm -f conftest.er1
91450   cat conftest.err >&5
91451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91452   (exit $ac_status); } &&
91453          { ac_try='test -z "$ac_c_werror_flag"
91454                          || test ! -s conftest.err'
91455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91456   (eval $ac_try) 2>&5
91457   ac_status=$?
91458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91459   (exit $ac_status); }; } &&
91460          { ac_try='test -s conftest.$ac_objext'
91461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91462   (eval $ac_try) 2>&5
91463   ac_status=$?
91464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91465   (exit $ac_status); }; }; then
91466   ac_header_compiler=yes
91467 else
91468   echo "$as_me: failed program was:" >&5
91469 sed 's/^/| /' conftest.$ac_ext >&5
91470
91471 ac_header_compiler=no
91472 fi
91473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91474 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91475 echo "${ECHO_T}$ac_header_compiler" >&6
91476
91477 # Is the header present?
91478 echo "$as_me:$LINENO: checking iconv.h presence" >&5
91479 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
91480 cat >conftest.$ac_ext <<_ACEOF
91481 /* confdefs.h.  */
91482 _ACEOF
91483 cat confdefs.h >>conftest.$ac_ext
91484 cat >>conftest.$ac_ext <<_ACEOF
91485 /* end confdefs.h.  */
91486 #include <iconv.h>
91487 _ACEOF
91488 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91489   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91490   ac_status=$?
91491   grep -v '^ *+' conftest.er1 >conftest.err
91492   rm -f conftest.er1
91493   cat conftest.err >&5
91494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91495   (exit $ac_status); } >/dev/null; then
91496   if test -s conftest.err; then
91497     ac_cpp_err=$ac_c_preproc_warn_flag
91498     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91499   else
91500     ac_cpp_err=
91501   fi
91502 else
91503   ac_cpp_err=yes
91504 fi
91505 if test -z "$ac_cpp_err"; then
91506   ac_header_preproc=yes
91507 else
91508   echo "$as_me: failed program was:" >&5
91509 sed 's/^/| /' conftest.$ac_ext >&5
91510
91511   ac_header_preproc=no
91512 fi
91513 rm -f conftest.err conftest.$ac_ext
91514 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91515 echo "${ECHO_T}$ac_header_preproc" >&6
91516
91517 # So?  What about this header?
91518 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91519   yes:no: )
91520     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
91521 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
91522     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
91523 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
91524     ac_header_preproc=yes
91525     ;;
91526   no:yes:* )
91527     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
91528 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
91529     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
91530 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
91531     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
91532 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
91533     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
91534 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
91535     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
91536 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
91537     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
91538 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
91539     (
91540       cat <<\_ASBOX
91541 ## ----------------------------------------- ##
91542 ## Report this to the package-unused lists.  ##
91543 ## ----------------------------------------- ##
91544 _ASBOX
91545     ) |
91546       sed "s/^/$as_me: WARNING:     /" >&2
91547     ;;
91548 esac
91549 echo "$as_me:$LINENO: checking for iconv.h" >&5
91550 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
91551 if test "${ac_cv_header_iconv_h+set}" = set; then
91552   echo $ECHO_N "(cached) $ECHO_C" >&6
91553 else
91554   ac_cv_header_iconv_h=$ac_header_preproc
91555 fi
91556 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
91557 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
91558
91559 fi
91560 if test $ac_cv_header_iconv_h = yes; then
91561   ac_has_iconv_h=yes
91562 else
91563   ac_has_iconv_h=no
91564 fi
91565
91566
91567     if test "${ac_cv_header_langinfo_h+set}" = set; then
91568   echo "$as_me:$LINENO: checking for langinfo.h" >&5
91569 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
91570 if test "${ac_cv_header_langinfo_h+set}" = set; then
91571   echo $ECHO_N "(cached) $ECHO_C" >&6
91572 fi
91573 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
91574 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
91575 else
91576   # Is the header compilable?
91577 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
91578 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
91579 cat >conftest.$ac_ext <<_ACEOF
91580 /* confdefs.h.  */
91581 _ACEOF
91582 cat confdefs.h >>conftest.$ac_ext
91583 cat >>conftest.$ac_ext <<_ACEOF
91584 /* end confdefs.h.  */
91585 $ac_includes_default
91586 #include <langinfo.h>
91587 _ACEOF
91588 rm -f conftest.$ac_objext
91589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91590   (eval $ac_compile) 2>conftest.er1
91591   ac_status=$?
91592   grep -v '^ *+' conftest.er1 >conftest.err
91593   rm -f conftest.er1
91594   cat conftest.err >&5
91595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91596   (exit $ac_status); } &&
91597          { ac_try='test -z "$ac_c_werror_flag"
91598                          || test ! -s conftest.err'
91599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91600   (eval $ac_try) 2>&5
91601   ac_status=$?
91602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91603   (exit $ac_status); }; } &&
91604          { ac_try='test -s conftest.$ac_objext'
91605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91606   (eval $ac_try) 2>&5
91607   ac_status=$?
91608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91609   (exit $ac_status); }; }; then
91610   ac_header_compiler=yes
91611 else
91612   echo "$as_me: failed program was:" >&5
91613 sed 's/^/| /' conftest.$ac_ext >&5
91614
91615 ac_header_compiler=no
91616 fi
91617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91618 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91619 echo "${ECHO_T}$ac_header_compiler" >&6
91620
91621 # Is the header present?
91622 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
91623 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
91624 cat >conftest.$ac_ext <<_ACEOF
91625 /* confdefs.h.  */
91626 _ACEOF
91627 cat confdefs.h >>conftest.$ac_ext
91628 cat >>conftest.$ac_ext <<_ACEOF
91629 /* end confdefs.h.  */
91630 #include <langinfo.h>
91631 _ACEOF
91632 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91633   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91634   ac_status=$?
91635   grep -v '^ *+' conftest.er1 >conftest.err
91636   rm -f conftest.er1
91637   cat conftest.err >&5
91638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91639   (exit $ac_status); } >/dev/null; then
91640   if test -s conftest.err; then
91641     ac_cpp_err=$ac_c_preproc_warn_flag
91642     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91643   else
91644     ac_cpp_err=
91645   fi
91646 else
91647   ac_cpp_err=yes
91648 fi
91649 if test -z "$ac_cpp_err"; then
91650   ac_header_preproc=yes
91651 else
91652   echo "$as_me: failed program was:" >&5
91653 sed 's/^/| /' conftest.$ac_ext >&5
91654
91655   ac_header_preproc=no
91656 fi
91657 rm -f conftest.err conftest.$ac_ext
91658 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91659 echo "${ECHO_T}$ac_header_preproc" >&6
91660
91661 # So?  What about this header?
91662 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91663   yes:no: )
91664     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
91665 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
91666     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
91667 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
91668     ac_header_preproc=yes
91669     ;;
91670   no:yes:* )
91671     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
91672 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
91673     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
91674 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
91675     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
91676 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
91677     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
91678 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
91679     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
91680 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
91681     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
91682 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
91683     (
91684       cat <<\_ASBOX
91685 ## ----------------------------------------- ##
91686 ## Report this to the package-unused lists.  ##
91687 ## ----------------------------------------- ##
91688 _ASBOX
91689     ) |
91690       sed "s/^/$as_me: WARNING:     /" >&2
91691     ;;
91692 esac
91693 echo "$as_me:$LINENO: checking for langinfo.h" >&5
91694 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
91695 if test "${ac_cv_header_langinfo_h+set}" = set; then
91696   echo $ECHO_N "(cached) $ECHO_C" >&6
91697 else
91698   ac_cv_header_langinfo_h=$ac_header_preproc
91699 fi
91700 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
91701 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
91702
91703 fi
91704 if test $ac_cv_header_langinfo_h = yes; then
91705   ac_has_langinfo_h=yes
91706 else
91707   ac_has_langinfo_h=no
91708 fi
91709
91710
91711
91712     # Check for existence of libiconv.a providing XPG2 wchar_t support.
91713     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
91714 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
91715 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
91716   echo $ECHO_N "(cached) $ECHO_C" >&6
91717 else
91718   ac_check_lib_save_LIBS=$LIBS
91719 LIBS="-liconv  $LIBS"
91720 if test x$gcc_no_link = xyes; then
91721   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91723    { (exit 1); exit 1; }; }
91724 fi
91725 cat >conftest.$ac_ext <<_ACEOF
91726 /* confdefs.h.  */
91727 _ACEOF
91728 cat confdefs.h >>conftest.$ac_ext
91729 cat >>conftest.$ac_ext <<_ACEOF
91730 /* end confdefs.h.  */
91731
91732 /* Override any gcc2 internal prototype to avoid an error.  */
91733 #ifdef __cplusplus
91734 extern "C"
91735 #endif
91736 /* We use char because int might match the return type of a gcc2
91737    builtin and then its argument prototype would still apply.  */
91738 char iconv ();
91739 int
91740 main ()
91741 {
91742 iconv ();
91743   ;
91744   return 0;
91745 }
91746 _ACEOF
91747 rm -f conftest.$ac_objext conftest$ac_exeext
91748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91749   (eval $ac_link) 2>conftest.er1
91750   ac_status=$?
91751   grep -v '^ *+' conftest.er1 >conftest.err
91752   rm -f conftest.er1
91753   cat conftest.err >&5
91754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91755   (exit $ac_status); } &&
91756          { ac_try='test -z "$ac_c_werror_flag"
91757                          || test ! -s conftest.err'
91758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91759   (eval $ac_try) 2>&5
91760   ac_status=$?
91761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91762   (exit $ac_status); }; } &&
91763          { ac_try='test -s conftest$ac_exeext'
91764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91765   (eval $ac_try) 2>&5
91766   ac_status=$?
91767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91768   (exit $ac_status); }; }; then
91769   ac_cv_lib_iconv_iconv=yes
91770 else
91771   echo "$as_me: failed program was:" >&5
91772 sed 's/^/| /' conftest.$ac_ext >&5
91773
91774 ac_cv_lib_iconv_iconv=no
91775 fi
91776 rm -f conftest.err conftest.$ac_objext \
91777       conftest$ac_exeext conftest.$ac_ext
91778 LIBS=$ac_check_lib_save_LIBS
91779 fi
91780 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
91781 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
91782 if test $ac_cv_lib_iconv_iconv = yes; then
91783   LIBICONV="-liconv"
91784 fi
91785
91786     ac_save_LIBS="$LIBS"
91787     LIBS="$LIBS $LIBICONV"
91788
91789
91790
91791
91792
91793
91794 for ac_func in iconv_open iconv_close iconv nl_langinfo
91795 do
91796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91797 echo "$as_me:$LINENO: checking for $ac_func" >&5
91798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91799 if eval "test \"\${$as_ac_var+set}\" = set"; then
91800   echo $ECHO_N "(cached) $ECHO_C" >&6
91801 else
91802   if test x$gcc_no_link = xyes; then
91803   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91805    { (exit 1); exit 1; }; }
91806 fi
91807 cat >conftest.$ac_ext <<_ACEOF
91808 /* confdefs.h.  */
91809 _ACEOF
91810 cat confdefs.h >>conftest.$ac_ext
91811 cat >>conftest.$ac_ext <<_ACEOF
91812 /* end confdefs.h.  */
91813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91814    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91815 #define $ac_func innocuous_$ac_func
91816
91817 /* System header to define __stub macros and hopefully few prototypes,
91818     which can conflict with char $ac_func (); below.
91819     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91820     <limits.h> exists even on freestanding compilers.  */
91821
91822 #ifdef __STDC__
91823 # include <limits.h>
91824 #else
91825 # include <assert.h>
91826 #endif
91827
91828 #undef $ac_func
91829
91830 /* Override any gcc2 internal prototype to avoid an error.  */
91831 #ifdef __cplusplus
91832 extern "C"
91833 {
91834 #endif
91835 /* We use char because int might match the return type of a gcc2
91836    builtin and then its argument prototype would still apply.  */
91837 char $ac_func ();
91838 /* The GNU C library defines this for functions which it implements
91839     to always fail with ENOSYS.  Some functions are actually named
91840     something starting with __ and the normal name is an alias.  */
91841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91842 choke me
91843 #else
91844 char (*f) () = $ac_func;
91845 #endif
91846 #ifdef __cplusplus
91847 }
91848 #endif
91849
91850 int
91851 main ()
91852 {
91853 return f != $ac_func;
91854   ;
91855   return 0;
91856 }
91857 _ACEOF
91858 rm -f conftest.$ac_objext conftest$ac_exeext
91859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91860   (eval $ac_link) 2>conftest.er1
91861   ac_status=$?
91862   grep -v '^ *+' conftest.er1 >conftest.err
91863   rm -f conftest.er1
91864   cat conftest.err >&5
91865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91866   (exit $ac_status); } &&
91867          { ac_try='test -z "$ac_c_werror_flag"
91868                          || test ! -s conftest.err'
91869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91870   (eval $ac_try) 2>&5
91871   ac_status=$?
91872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91873   (exit $ac_status); }; } &&
91874          { ac_try='test -s conftest$ac_exeext'
91875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91876   (eval $ac_try) 2>&5
91877   ac_status=$?
91878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91879   (exit $ac_status); }; }; then
91880   eval "$as_ac_var=yes"
91881 else
91882   echo "$as_me: failed program was:" >&5
91883 sed 's/^/| /' conftest.$ac_ext >&5
91884
91885 eval "$as_ac_var=no"
91886 fi
91887 rm -f conftest.err conftest.$ac_objext \
91888       conftest$ac_exeext conftest.$ac_ext
91889 fi
91890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91892 if test `eval echo '${'$as_ac_var'}'` = yes; then
91893   cat >>confdefs.h <<_ACEOF
91894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91895 _ACEOF
91896  ac_XPG2funcs=yes
91897 else
91898   ac_XPG2funcs=no
91899 fi
91900 done
91901
91902
91903     LIBS="$ac_save_LIBS"
91904
91905     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
91906 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
91907     if test x"$ac_has_iconv_h" = xyes &&
91908        test x"$ac_has_langinfo_h" = xyes &&
91909        test x"$ac_XPG2funcs" = xyes;
91910     then
91911       ac_XPG2_wchar_t=yes
91912     else
91913       ac_XPG2_wchar_t=no
91914     fi
91915     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
91916 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
91917
91918     # At the moment, only enable wchar_t specializations if all the
91919     # above support is present.
91920     if test x"$ac_isoC99_wchar_t" = xyes &&
91921        test x"$ac_XPG2_wchar_t" = xyes;
91922     then
91923       cat >>confdefs.h <<\_ACEOF
91924 #define _GLIBCXX_USE_WCHAR_T 1
91925 _ACEOF
91926
91927       enable_wchar_t=yes
91928     fi
91929   fi
91930   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
91931 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
91932   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
91933 echo "${ECHO_T}$enable_wchar_t" >&6
91934
91935     cat >>confdefs.h <<\_ACEOF
91936 #define HAVE_COSF 1
91937 _ACEOF
91938
91939     cat >>confdefs.h <<\_ACEOF
91940 #define HAVE_COSL 1
91941 _ACEOF
91942
91943     cat >>confdefs.h <<\_ACEOF
91944 #define HAVE_COSHF 1
91945 _ACEOF
91946
91947     cat >>confdefs.h <<\_ACEOF
91948 #define HAVE_COSHL 1
91949 _ACEOF
91950
91951     cat >>confdefs.h <<\_ACEOF
91952 #define HAVE_LOGF 1
91953 _ACEOF
91954
91955     cat >>confdefs.h <<\_ACEOF
91956 #define HAVE_LOGL 1
91957 _ACEOF
91958
91959     cat >>confdefs.h <<\_ACEOF
91960 #define HAVE_LOG10F 1
91961 _ACEOF
91962
91963     cat >>confdefs.h <<\_ACEOF
91964 #define HAVE_LOG10L 1
91965 _ACEOF
91966
91967     cat >>confdefs.h <<\_ACEOF
91968 #define HAVE_SINF 1
91969 _ACEOF
91970
91971     cat >>confdefs.h <<\_ACEOF
91972 #define HAVE_SINL 1
91973 _ACEOF
91974
91975     cat >>confdefs.h <<\_ACEOF
91976 #define HAVE_SINHF 1
91977 _ACEOF
91978
91979     cat >>confdefs.h <<\_ACEOF
91980 #define HAVE_SINHL 1
91981 _ACEOF
91982
91983     ;;
91984   *-solaris*)
91985     case "$target" in
91986     #  *-solaris2.5)
91987     #    os_include_dir="os/solaris/solaris2.5"
91988     #    ;;
91989     #  *-solaris2.6)
91990     #    os_include_dir="os/solaris/solaris2.6"
91991     #    ;;
91992       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
91993          cat >>confdefs.h <<\_ACEOF
91994 #define HAVE_GETPAGESIZE 1
91995 _ACEOF
91996
91997          cat >>confdefs.h <<\_ACEOF
91998 #define HAVE_SIGSETJMP 1
91999 _ACEOF
92000
92001          cat >>confdefs.h <<\_ACEOF
92002 #define HAVE_MBSTATE_T 1
92003 _ACEOF
92004
92005          cat >>confdefs.h <<\_ACEOF
92006 #define HAVE_POLL 1
92007 _ACEOF
92008
92009          cat >>confdefs.h <<\_ACEOF
92010 #define HAVE_S_ISREG 1
92011 _ACEOF
92012
92013          cat >>confdefs.h <<\_ACEOF
92014 #define HAVE_LC_MESSAGES 1
92015 _ACEOF
92016
92017          cat >>confdefs.h <<\_ACEOF
92018 #define HAVE_BTOWC 1
92019 _ACEOF
92020
92021          cat >>confdefs.h <<\_ACEOF
92022 #define HAVE_FGETWC 1
92023 _ACEOF
92024
92025          cat >>confdefs.h <<\_ACEOF
92026 #define HAVE_FGETWS 1
92027 _ACEOF
92028
92029          cat >>confdefs.h <<\_ACEOF
92030 #define HAVE_FINITE 1
92031 _ACEOF
92032
92033          cat >>confdefs.h <<\_ACEOF
92034 #define HAVE_FPCLASS 1
92035 _ACEOF
92036
92037          cat >>confdefs.h <<\_ACEOF
92038 #define HAVE_FPUTWC 1
92039 _ACEOF
92040
92041          cat >>confdefs.h <<\_ACEOF
92042 #define HAVE_FPUTWS 1
92043 _ACEOF
92044
92045          cat >>confdefs.h <<\_ACEOF
92046 #define HAVE_FWIDE 1
92047 _ACEOF
92048
92049          cat >>confdefs.h <<\_ACEOF
92050 #define HAVE_FWPRINTF 1
92051 _ACEOF
92052
92053          cat >>confdefs.h <<\_ACEOF
92054 #define HAVE_FWSCANF 1
92055 _ACEOF
92056
92057          cat >>confdefs.h <<\_ACEOF
92058 #define HAVE_GETPAGESIZE 1
92059 _ACEOF
92060
92061          cat >>confdefs.h <<\_ACEOF
92062 #define HAVE_GETWC 1
92063 _ACEOF
92064
92065          cat >>confdefs.h <<\_ACEOF
92066 #define HAVE_GETWCHAR 1
92067 _ACEOF
92068
92069          cat >>confdefs.h <<\_ACEOF
92070 #define HAVE_MBRLEN 1
92071 _ACEOF
92072
92073          cat >>confdefs.h <<\_ACEOF
92074 #define HAVE_MBRTOWC 1
92075 _ACEOF
92076
92077          cat >>confdefs.h <<\_ACEOF
92078 #define HAVE_MBSINIT 1
92079 _ACEOF
92080
92081          cat >>confdefs.h <<\_ACEOF
92082 #define HAVE_MBSRTOWCS 1
92083 _ACEOF
92084
92085          cat >>confdefs.h <<\_ACEOF
92086 #define HAVE_NL_LANGINFO 1
92087 _ACEOF
92088
92089          cat >>confdefs.h <<\_ACEOF
92090 #define HAVE_PUTWC 1
92091 _ACEOF
92092
92093          cat >>confdefs.h <<\_ACEOF
92094 #define HAVE_PUTWCHAR 1
92095 _ACEOF
92096
92097          cat >>confdefs.h <<\_ACEOF
92098 #define HAVE_SWPRINTF 1
92099 _ACEOF
92100
92101          cat >>confdefs.h <<\_ACEOF
92102 #define HAVE_SWSCANF 1
92103 _ACEOF
92104
92105          cat >>confdefs.h <<\_ACEOF
92106 #define HAVE_UNGETWC 1
92107 _ACEOF
92108
92109          cat >>confdefs.h <<\_ACEOF
92110 #define HAVE_VFWPRINTF 1
92111 _ACEOF
92112
92113          cat >>confdefs.h <<\_ACEOF
92114 #define HAVE_VSWPRINTF 1
92115 _ACEOF
92116
92117          cat >>confdefs.h <<\_ACEOF
92118 #define HAVE_VWPRINTF 1
92119 _ACEOF
92120
92121          cat >>confdefs.h <<\_ACEOF
92122 #define HAVE_WCRTOMB 1
92123 _ACEOF
92124
92125          cat >>confdefs.h <<\_ACEOF
92126 #define HAVE_WCSCAT 1
92127 _ACEOF
92128
92129          cat >>confdefs.h <<\_ACEOF
92130 #define HAVE_WCSCHR 1
92131 _ACEOF
92132
92133          cat >>confdefs.h <<\_ACEOF
92134 #define HAVE_WCSCMP 1
92135 _ACEOF
92136
92137          cat >>confdefs.h <<\_ACEOF
92138 #define HAVE_WCSCOLL 1
92139 _ACEOF
92140
92141          cat >>confdefs.h <<\_ACEOF
92142 #define HAVE_WCSCPY 1
92143 _ACEOF
92144
92145          cat >>confdefs.h <<\_ACEOF
92146 #define HAVE_WCSCSPN 1
92147 _ACEOF
92148
92149          cat >>confdefs.h <<\_ACEOF
92150 #define HAVE_WCSFTIME 1
92151 _ACEOF
92152
92153          cat >>confdefs.h <<\_ACEOF
92154 #define HAVE_WCSLEN 1
92155 _ACEOF
92156
92157          cat >>confdefs.h <<\_ACEOF
92158 #define HAVE_WCSNCAT 1
92159 _ACEOF
92160
92161          cat >>confdefs.h <<\_ACEOF
92162 #define HAVE_WCSNCMP 1
92163 _ACEOF
92164
92165          cat >>confdefs.h <<\_ACEOF
92166 #define HAVE_WCSNCPY 1
92167 _ACEOF
92168
92169          cat >>confdefs.h <<\_ACEOF
92170 #define HAVE_WCSPBRK 1
92171 _ACEOF
92172
92173          cat >>confdefs.h <<\_ACEOF
92174 #define HAVE_WCSRCHR 1
92175 _ACEOF
92176
92177          cat >>confdefs.h <<\_ACEOF
92178 #define HAVE_WCSRTOMBS 1
92179 _ACEOF
92180
92181          cat >>confdefs.h <<\_ACEOF
92182 #define HAVE_WCSSPN 1
92183 _ACEOF
92184
92185          cat >>confdefs.h <<\_ACEOF
92186 #define HAVE_WCSSTR 1
92187 _ACEOF
92188
92189          cat >>confdefs.h <<\_ACEOF
92190 #define HAVE_WCSTOD 1
92191 _ACEOF
92192
92193          cat >>confdefs.h <<\_ACEOF
92194 #define HAVE_WCSTOK 1
92195 _ACEOF
92196
92197          cat >>confdefs.h <<\_ACEOF
92198 #define HAVE_WCSTOL 1
92199 _ACEOF
92200
92201          cat >>confdefs.h <<\_ACEOF
92202 #define HAVE_WCSTOUL 1
92203 _ACEOF
92204
92205          cat >>confdefs.h <<\_ACEOF
92206 #define HAVE_WCSXFRM 1
92207 _ACEOF
92208
92209          cat >>confdefs.h <<\_ACEOF
92210 #define HAVE_WCTOB 1
92211 _ACEOF
92212
92213          cat >>confdefs.h <<\_ACEOF
92214 #define HAVE_WMEMCHR 1
92215 _ACEOF
92216
92217          cat >>confdefs.h <<\_ACEOF
92218 #define HAVE_WMEMCMP 1
92219 _ACEOF
92220
92221          cat >>confdefs.h <<\_ACEOF
92222 #define HAVE_WMEMCPY 1
92223 _ACEOF
92224
92225          cat >>confdefs.h <<\_ACEOF
92226 #define HAVE_WMEMMOVE 1
92227 _ACEOF
92228
92229          cat >>confdefs.h <<\_ACEOF
92230 #define HAVE_WMEMSET 1
92231 _ACEOF
92232
92233          cat >>confdefs.h <<\_ACEOF
92234 #define HAVE_WPRINTF 1
92235 _ACEOF
92236
92237          cat >>confdefs.h <<\_ACEOF
92238 #define HAVE_WSCANF 1
92239 _ACEOF
92240
92241          cat >>confdefs.h <<\_ACEOF
92242 #define HAVE_ICONV 1
92243 _ACEOF
92244
92245          cat >>confdefs.h <<\_ACEOF
92246 #define HAVE_ICONV_CLOSE 1
92247 _ACEOF
92248
92249          cat >>confdefs.h <<\_ACEOF
92250 #define HAVE_ICONV_OPEN 1
92251 _ACEOF
92252
92253          # Look for the pieces required for wchar_t support in order to
92254          # get all the right HAVE_* macros defined.
92255
92256   # Test wchar.h for mbstate_t, which is needed for char_traits and
92257   # others even if wchar_t support is not on.
92258   echo "$as_me:$LINENO: checking for mbstate_t" >&5
92259 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
92260   cat >conftest.$ac_ext <<_ACEOF
92261 /* confdefs.h.  */
92262 _ACEOF
92263 cat confdefs.h >>conftest.$ac_ext
92264 cat >>conftest.$ac_ext <<_ACEOF
92265 /* end confdefs.h.  */
92266 #include <wchar.h>
92267 int
92268 main ()
92269 {
92270 mbstate_t teststate;
92271   ;
92272   return 0;
92273 }
92274 _ACEOF
92275 rm -f conftest.$ac_objext
92276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92277   (eval $ac_compile) 2>conftest.er1
92278   ac_status=$?
92279   grep -v '^ *+' conftest.er1 >conftest.err
92280   rm -f conftest.er1
92281   cat conftest.err >&5
92282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92283   (exit $ac_status); } &&
92284          { ac_try='test -z "$ac_c_werror_flag"
92285                          || test ! -s conftest.err'
92286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92287   (eval $ac_try) 2>&5
92288   ac_status=$?
92289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92290   (exit $ac_status); }; } &&
92291          { ac_try='test -s conftest.$ac_objext'
92292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92293   (eval $ac_try) 2>&5
92294   ac_status=$?
92295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92296   (exit $ac_status); }; }; then
92297   have_mbstate_t=yes
92298 else
92299   echo "$as_me: failed program was:" >&5
92300 sed 's/^/| /' conftest.$ac_ext >&5
92301
92302 have_mbstate_t=no
92303 fi
92304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92305   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
92306 echo "${ECHO_T}$have_mbstate_t" >&6
92307   if test x"$have_mbstate_t" = xyes; then
92308     cat >>confdefs.h <<\_ACEOF
92309 #define HAVE_MBSTATE_T 1
92310 _ACEOF
92311
92312   fi
92313
92314   # Sanity check for existence of ISO C99 headers for extended encoding.
92315
92316 for ac_header in wchar.h
92317 do
92318 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
92319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92320   echo "$as_me:$LINENO: checking for $ac_header" >&5
92321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92323   echo $ECHO_N "(cached) $ECHO_C" >&6
92324 fi
92325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92326 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92327 else
92328   # Is the header compilable?
92329 echo "$as_me:$LINENO: checking $ac_header usability" >&5
92330 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
92331 cat >conftest.$ac_ext <<_ACEOF
92332 /* confdefs.h.  */
92333 _ACEOF
92334 cat confdefs.h >>conftest.$ac_ext
92335 cat >>conftest.$ac_ext <<_ACEOF
92336 /* end confdefs.h.  */
92337 $ac_includes_default
92338 #include <$ac_header>
92339 _ACEOF
92340 rm -f conftest.$ac_objext
92341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92342   (eval $ac_compile) 2>conftest.er1
92343   ac_status=$?
92344   grep -v '^ *+' conftest.er1 >conftest.err
92345   rm -f conftest.er1
92346   cat conftest.err >&5
92347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92348   (exit $ac_status); } &&
92349          { ac_try='test -z "$ac_c_werror_flag"
92350                          || test ! -s conftest.err'
92351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92352   (eval $ac_try) 2>&5
92353   ac_status=$?
92354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92355   (exit $ac_status); }; } &&
92356          { ac_try='test -s conftest.$ac_objext'
92357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92358   (eval $ac_try) 2>&5
92359   ac_status=$?
92360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92361   (exit $ac_status); }; }; then
92362   ac_header_compiler=yes
92363 else
92364   echo "$as_me: failed program was:" >&5
92365 sed 's/^/| /' conftest.$ac_ext >&5
92366
92367 ac_header_compiler=no
92368 fi
92369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92370 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92371 echo "${ECHO_T}$ac_header_compiler" >&6
92372
92373 # Is the header present?
92374 echo "$as_me:$LINENO: checking $ac_header presence" >&5
92375 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
92376 cat >conftest.$ac_ext <<_ACEOF
92377 /* confdefs.h.  */
92378 _ACEOF
92379 cat confdefs.h >>conftest.$ac_ext
92380 cat >>conftest.$ac_ext <<_ACEOF
92381 /* end confdefs.h.  */
92382 #include <$ac_header>
92383 _ACEOF
92384 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92385   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92386   ac_status=$?
92387   grep -v '^ *+' conftest.er1 >conftest.err
92388   rm -f conftest.er1
92389   cat conftest.err >&5
92390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92391   (exit $ac_status); } >/dev/null; then
92392   if test -s conftest.err; then
92393     ac_cpp_err=$ac_c_preproc_warn_flag
92394     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92395   else
92396     ac_cpp_err=
92397   fi
92398 else
92399   ac_cpp_err=yes
92400 fi
92401 if test -z "$ac_cpp_err"; then
92402   ac_header_preproc=yes
92403 else
92404   echo "$as_me: failed program was:" >&5
92405 sed 's/^/| /' conftest.$ac_ext >&5
92406
92407   ac_header_preproc=no
92408 fi
92409 rm -f conftest.err conftest.$ac_ext
92410 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92411 echo "${ECHO_T}$ac_header_preproc" >&6
92412
92413 # So?  What about this header?
92414 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92415   yes:no: )
92416     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
92417 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
92418     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
92419 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
92420     ac_header_preproc=yes
92421     ;;
92422   no:yes:* )
92423     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
92424 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
92425     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
92426 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
92427     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
92428 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
92429     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
92430 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
92431     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
92432 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
92433     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
92434 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
92435     (
92436       cat <<\_ASBOX
92437 ## ----------------------------------------- ##
92438 ## Report this to the package-unused lists.  ##
92439 ## ----------------------------------------- ##
92440 _ASBOX
92441     ) |
92442       sed "s/^/$as_me: WARNING:     /" >&2
92443     ;;
92444 esac
92445 echo "$as_me:$LINENO: checking for $ac_header" >&5
92446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92448   echo $ECHO_N "(cached) $ECHO_C" >&6
92449 else
92450   eval "$as_ac_Header=\$ac_header_preproc"
92451 fi
92452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92453 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92454
92455 fi
92456 if test `eval echo '${'$as_ac_Header'}'` = yes; then
92457   cat >>confdefs.h <<_ACEOF
92458 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
92459 _ACEOF
92460  ac_has_wchar_h=yes
92461 else
92462   ac_has_wchar_h=no
92463 fi
92464
92465 done
92466
92467
92468 for ac_header in wctype.h
92469 do
92470 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
92471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92472   echo "$as_me:$LINENO: checking for $ac_header" >&5
92473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92475   echo $ECHO_N "(cached) $ECHO_C" >&6
92476 fi
92477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92478 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92479 else
92480   # Is the header compilable?
92481 echo "$as_me:$LINENO: checking $ac_header usability" >&5
92482 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
92483 cat >conftest.$ac_ext <<_ACEOF
92484 /* confdefs.h.  */
92485 _ACEOF
92486 cat confdefs.h >>conftest.$ac_ext
92487 cat >>conftest.$ac_ext <<_ACEOF
92488 /* end confdefs.h.  */
92489 $ac_includes_default
92490 #include <$ac_header>
92491 _ACEOF
92492 rm -f conftest.$ac_objext
92493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92494   (eval $ac_compile) 2>conftest.er1
92495   ac_status=$?
92496   grep -v '^ *+' conftest.er1 >conftest.err
92497   rm -f conftest.er1
92498   cat conftest.err >&5
92499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92500   (exit $ac_status); } &&
92501          { ac_try='test -z "$ac_c_werror_flag"
92502                          || test ! -s conftest.err'
92503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92504   (eval $ac_try) 2>&5
92505   ac_status=$?
92506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92507   (exit $ac_status); }; } &&
92508          { ac_try='test -s conftest.$ac_objext'
92509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92510   (eval $ac_try) 2>&5
92511   ac_status=$?
92512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92513   (exit $ac_status); }; }; then
92514   ac_header_compiler=yes
92515 else
92516   echo "$as_me: failed program was:" >&5
92517 sed 's/^/| /' conftest.$ac_ext >&5
92518
92519 ac_header_compiler=no
92520 fi
92521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92522 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92523 echo "${ECHO_T}$ac_header_compiler" >&6
92524
92525 # Is the header present?
92526 echo "$as_me:$LINENO: checking $ac_header presence" >&5
92527 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
92528 cat >conftest.$ac_ext <<_ACEOF
92529 /* confdefs.h.  */
92530 _ACEOF
92531 cat confdefs.h >>conftest.$ac_ext
92532 cat >>conftest.$ac_ext <<_ACEOF
92533 /* end confdefs.h.  */
92534 #include <$ac_header>
92535 _ACEOF
92536 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92537   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92538   ac_status=$?
92539   grep -v '^ *+' conftest.er1 >conftest.err
92540   rm -f conftest.er1
92541   cat conftest.err >&5
92542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92543   (exit $ac_status); } >/dev/null; then
92544   if test -s conftest.err; then
92545     ac_cpp_err=$ac_c_preproc_warn_flag
92546     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92547   else
92548     ac_cpp_err=
92549   fi
92550 else
92551   ac_cpp_err=yes
92552 fi
92553 if test -z "$ac_cpp_err"; then
92554   ac_header_preproc=yes
92555 else
92556   echo "$as_me: failed program was:" >&5
92557 sed 's/^/| /' conftest.$ac_ext >&5
92558
92559   ac_header_preproc=no
92560 fi
92561 rm -f conftest.err conftest.$ac_ext
92562 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92563 echo "${ECHO_T}$ac_header_preproc" >&6
92564
92565 # So?  What about this header?
92566 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92567   yes:no: )
92568     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
92569 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
92570     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
92571 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
92572     ac_header_preproc=yes
92573     ;;
92574   no:yes:* )
92575     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
92576 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
92577     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
92578 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
92579     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
92580 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
92581     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
92582 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
92583     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
92584 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
92585     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
92586 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
92587     (
92588       cat <<\_ASBOX
92589 ## ----------------------------------------- ##
92590 ## Report this to the package-unused lists.  ##
92591 ## ----------------------------------------- ##
92592 _ASBOX
92593     ) |
92594       sed "s/^/$as_me: WARNING:     /" >&2
92595     ;;
92596 esac
92597 echo "$as_me:$LINENO: checking for $ac_header" >&5
92598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92600   echo $ECHO_N "(cached) $ECHO_C" >&6
92601 else
92602   eval "$as_ac_Header=\$ac_header_preproc"
92603 fi
92604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92606
92607 fi
92608 if test `eval echo '${'$as_ac_Header'}'` = yes; then
92609   cat >>confdefs.h <<_ACEOF
92610 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
92611 _ACEOF
92612  ac_has_wctype_h=yes
92613 else
92614   ac_has_wctype_h=no
92615 fi
92616
92617 done
92618
92619
92620   # Only continue checking if the ISO C99 headers exist and support is on.
92621   if test x"$ac_has_wchar_h" = xyes &&
92622      test x"$ac_has_wctype_h" = xyes &&
92623      test x"$enable_c_mbchar" != xno; then
92624
92625     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
92626     # numeric_limits can instantiate type_traits<wchar_t>
92627     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
92628 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
92629     cat >conftest.$ac_ext <<_ACEOF
92630 /* confdefs.h.  */
92631 _ACEOF
92632 cat confdefs.h >>conftest.$ac_ext
92633 cat >>conftest.$ac_ext <<_ACEOF
92634 /* end confdefs.h.  */
92635 #include <wchar.h>
92636 int
92637 main ()
92638 {
92639 int i = WCHAR_MIN; int j = WCHAR_MAX;
92640   ;
92641   return 0;
92642 }
92643 _ACEOF
92644 rm -f conftest.$ac_objext
92645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92646   (eval $ac_compile) 2>conftest.er1
92647   ac_status=$?
92648   grep -v '^ *+' conftest.er1 >conftest.err
92649   rm -f conftest.er1
92650   cat conftest.err >&5
92651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92652   (exit $ac_status); } &&
92653          { ac_try='test -z "$ac_c_werror_flag"
92654                          || test ! -s conftest.err'
92655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92656   (eval $ac_try) 2>&5
92657   ac_status=$?
92658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92659   (exit $ac_status); }; } &&
92660          { ac_try='test -s conftest.$ac_objext'
92661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92662   (eval $ac_try) 2>&5
92663   ac_status=$?
92664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92665   (exit $ac_status); }; }; then
92666   has_wchar_minmax=yes
92667 else
92668   echo "$as_me: failed program was:" >&5
92669 sed 's/^/| /' conftest.$ac_ext >&5
92670
92671 has_wchar_minmax=no
92672 fi
92673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92674     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
92675 echo "${ECHO_T}$has_wchar_minmax" >&6
92676
92677     # Test wchar.h for WEOF, which is what we use to determine whether
92678     # to specialize for char_traits<wchar_t> or not.
92679     echo "$as_me:$LINENO: checking for WEOF" >&5
92680 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
92681     cat >conftest.$ac_ext <<_ACEOF
92682 /* confdefs.h.  */
92683 _ACEOF
92684 cat confdefs.h >>conftest.$ac_ext
92685 cat >>conftest.$ac_ext <<_ACEOF
92686 /* end confdefs.h.  */
92687
92688       #include <wchar.h>
92689       #include <stddef.h>
92690 int
92691 main ()
92692 {
92693 wint_t i = WEOF;
92694   ;
92695   return 0;
92696 }
92697 _ACEOF
92698 rm -f conftest.$ac_objext
92699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92700   (eval $ac_compile) 2>conftest.er1
92701   ac_status=$?
92702   grep -v '^ *+' conftest.er1 >conftest.err
92703   rm -f conftest.er1
92704   cat conftest.err >&5
92705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92706   (exit $ac_status); } &&
92707          { ac_try='test -z "$ac_c_werror_flag"
92708                          || test ! -s conftest.err'
92709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92710   (eval $ac_try) 2>&5
92711   ac_status=$?
92712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92713   (exit $ac_status); }; } &&
92714          { ac_try='test -s conftest.$ac_objext'
92715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92716   (eval $ac_try) 2>&5
92717   ac_status=$?
92718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92719   (exit $ac_status); }; }; then
92720   has_weof=yes
92721 else
92722   echo "$as_me: failed program was:" >&5
92723 sed 's/^/| /' conftest.$ac_ext >&5
92724
92725 has_weof=no
92726 fi
92727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92728     echo "$as_me:$LINENO: result: $has_weof" >&5
92729 echo "${ECHO_T}$has_weof" >&6
92730
92731     # Tests for wide character functions used in char_traits<wchar_t>.
92732     ac_wfuncs=yes
92733
92734
92735
92736
92737
92738
92739 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
92740 do
92741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92742 echo "$as_me:$LINENO: checking for $ac_func" >&5
92743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92744 if eval "test \"\${$as_ac_var+set}\" = set"; then
92745   echo $ECHO_N "(cached) $ECHO_C" >&6
92746 else
92747   if test x$gcc_no_link = xyes; then
92748   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92750    { (exit 1); exit 1; }; }
92751 fi
92752 cat >conftest.$ac_ext <<_ACEOF
92753 /* confdefs.h.  */
92754 _ACEOF
92755 cat confdefs.h >>conftest.$ac_ext
92756 cat >>conftest.$ac_ext <<_ACEOF
92757 /* end confdefs.h.  */
92758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92759    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92760 #define $ac_func innocuous_$ac_func
92761
92762 /* System header to define __stub macros and hopefully few prototypes,
92763     which can conflict with char $ac_func (); below.
92764     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92765     <limits.h> exists even on freestanding compilers.  */
92766
92767 #ifdef __STDC__
92768 # include <limits.h>
92769 #else
92770 # include <assert.h>
92771 #endif
92772
92773 #undef $ac_func
92774
92775 /* Override any gcc2 internal prototype to avoid an error.  */
92776 #ifdef __cplusplus
92777 extern "C"
92778 {
92779 #endif
92780 /* We use char because int might match the return type of a gcc2
92781    builtin and then its argument prototype would still apply.  */
92782 char $ac_func ();
92783 /* The GNU C library defines this for functions which it implements
92784     to always fail with ENOSYS.  Some functions are actually named
92785     something starting with __ and the normal name is an alias.  */
92786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92787 choke me
92788 #else
92789 char (*f) () = $ac_func;
92790 #endif
92791 #ifdef __cplusplus
92792 }
92793 #endif
92794
92795 int
92796 main ()
92797 {
92798 return f != $ac_func;
92799   ;
92800   return 0;
92801 }
92802 _ACEOF
92803 rm -f conftest.$ac_objext conftest$ac_exeext
92804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92805   (eval $ac_link) 2>conftest.er1
92806   ac_status=$?
92807   grep -v '^ *+' conftest.er1 >conftest.err
92808   rm -f conftest.er1
92809   cat conftest.err >&5
92810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92811   (exit $ac_status); } &&
92812          { ac_try='test -z "$ac_c_werror_flag"
92813                          || test ! -s conftest.err'
92814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92815   (eval $ac_try) 2>&5
92816   ac_status=$?
92817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92818   (exit $ac_status); }; } &&
92819          { ac_try='test -s conftest$ac_exeext'
92820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92821   (eval $ac_try) 2>&5
92822   ac_status=$?
92823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92824   (exit $ac_status); }; }; then
92825   eval "$as_ac_var=yes"
92826 else
92827   echo "$as_me: failed program was:" >&5
92828 sed 's/^/| /' conftest.$ac_ext >&5
92829
92830 eval "$as_ac_var=no"
92831 fi
92832 rm -f conftest.err conftest.$ac_objext \
92833       conftest$ac_exeext conftest.$ac_ext
92834 fi
92835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92837 if test `eval echo '${'$as_ac_var'}'` = yes; then
92838   cat >>confdefs.h <<_ACEOF
92839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92840 _ACEOF
92841
92842 else
92843   ac_wfuncs=no
92844 fi
92845 done
92846
92847
92848     # Checks for names injected into std:: by the c_std headers.
92849
92850
92851
92852
92853
92854
92855
92856
92857
92858
92859
92860
92861
92862
92863
92864
92865
92866
92867
92868
92869
92870
92871
92872
92873
92874
92875
92876
92877
92878
92879
92880
92881
92882
92883
92884
92885
92886
92887
92888
92889
92890
92891
92892
92893
92894
92895 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
92896     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
92897     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
92898     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
92899     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
92900     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
92901 do
92902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92903 echo "$as_me:$LINENO: checking for $ac_func" >&5
92904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92905 if eval "test \"\${$as_ac_var+set}\" = set"; then
92906   echo $ECHO_N "(cached) $ECHO_C" >&6
92907 else
92908   if test x$gcc_no_link = xyes; then
92909   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92911    { (exit 1); exit 1; }; }
92912 fi
92913 cat >conftest.$ac_ext <<_ACEOF
92914 /* confdefs.h.  */
92915 _ACEOF
92916 cat confdefs.h >>conftest.$ac_ext
92917 cat >>conftest.$ac_ext <<_ACEOF
92918 /* end confdefs.h.  */
92919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92920    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92921 #define $ac_func innocuous_$ac_func
92922
92923 /* System header to define __stub macros and hopefully few prototypes,
92924     which can conflict with char $ac_func (); below.
92925     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92926     <limits.h> exists even on freestanding compilers.  */
92927
92928 #ifdef __STDC__
92929 # include <limits.h>
92930 #else
92931 # include <assert.h>
92932 #endif
92933
92934 #undef $ac_func
92935
92936 /* Override any gcc2 internal prototype to avoid an error.  */
92937 #ifdef __cplusplus
92938 extern "C"
92939 {
92940 #endif
92941 /* We use char because int might match the return type of a gcc2
92942    builtin and then its argument prototype would still apply.  */
92943 char $ac_func ();
92944 /* The GNU C library defines this for functions which it implements
92945     to always fail with ENOSYS.  Some functions are actually named
92946     something starting with __ and the normal name is an alias.  */
92947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92948 choke me
92949 #else
92950 char (*f) () = $ac_func;
92951 #endif
92952 #ifdef __cplusplus
92953 }
92954 #endif
92955
92956 int
92957 main ()
92958 {
92959 return f != $ac_func;
92960   ;
92961   return 0;
92962 }
92963 _ACEOF
92964 rm -f conftest.$ac_objext conftest$ac_exeext
92965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92966   (eval $ac_link) 2>conftest.er1
92967   ac_status=$?
92968   grep -v '^ *+' conftest.er1 >conftest.err
92969   rm -f conftest.er1
92970   cat conftest.err >&5
92971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92972   (exit $ac_status); } &&
92973          { ac_try='test -z "$ac_c_werror_flag"
92974                          || test ! -s conftest.err'
92975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92976   (eval $ac_try) 2>&5
92977   ac_status=$?
92978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92979   (exit $ac_status); }; } &&
92980          { ac_try='test -s conftest$ac_exeext'
92981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92982   (eval $ac_try) 2>&5
92983   ac_status=$?
92984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92985   (exit $ac_status); }; }; then
92986   eval "$as_ac_var=yes"
92987 else
92988   echo "$as_me: failed program was:" >&5
92989 sed 's/^/| /' conftest.$ac_ext >&5
92990
92991 eval "$as_ac_var=no"
92992 fi
92993 rm -f conftest.err conftest.$ac_objext \
92994       conftest$ac_exeext conftest.$ac_ext
92995 fi
92996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92998 if test `eval echo '${'$as_ac_var'}'` = yes; then
92999   cat >>confdefs.h <<_ACEOF
93000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93001 _ACEOF
93002
93003 else
93004   ac_wfuncs=no
93005 fi
93006 done
93007
93008
93009     # Checks for wide character functions that are not required
93010     # for basic wchar_t support.  Don't disable support if they are missing.
93011     # Injection of these is wrapped with guard macros.
93012
93013
93014
93015
93016
93017 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
93018 do
93019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93020 echo "$as_me:$LINENO: checking for $ac_func" >&5
93021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93022 if eval "test \"\${$as_ac_var+set}\" = set"; then
93023   echo $ECHO_N "(cached) $ECHO_C" >&6
93024 else
93025   if test x$gcc_no_link = xyes; then
93026   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93028    { (exit 1); exit 1; }; }
93029 fi
93030 cat >conftest.$ac_ext <<_ACEOF
93031 /* confdefs.h.  */
93032 _ACEOF
93033 cat confdefs.h >>conftest.$ac_ext
93034 cat >>conftest.$ac_ext <<_ACEOF
93035 /* end confdefs.h.  */
93036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93037    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93038 #define $ac_func innocuous_$ac_func
93039
93040 /* System header to define __stub macros and hopefully few prototypes,
93041     which can conflict with char $ac_func (); below.
93042     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93043     <limits.h> exists even on freestanding compilers.  */
93044
93045 #ifdef __STDC__
93046 # include <limits.h>
93047 #else
93048 # include <assert.h>
93049 #endif
93050
93051 #undef $ac_func
93052
93053 /* Override any gcc2 internal prototype to avoid an error.  */
93054 #ifdef __cplusplus
93055 extern "C"
93056 {
93057 #endif
93058 /* We use char because int might match the return type of a gcc2
93059    builtin and then its argument prototype would still apply.  */
93060 char $ac_func ();
93061 /* The GNU C library defines this for functions which it implements
93062     to always fail with ENOSYS.  Some functions are actually named
93063     something starting with __ and the normal name is an alias.  */
93064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93065 choke me
93066 #else
93067 char (*f) () = $ac_func;
93068 #endif
93069 #ifdef __cplusplus
93070 }
93071 #endif
93072
93073 int
93074 main ()
93075 {
93076 return f != $ac_func;
93077   ;
93078   return 0;
93079 }
93080 _ACEOF
93081 rm -f conftest.$ac_objext conftest$ac_exeext
93082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93083   (eval $ac_link) 2>conftest.er1
93084   ac_status=$?
93085   grep -v '^ *+' conftest.er1 >conftest.err
93086   rm -f conftest.er1
93087   cat conftest.err >&5
93088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93089   (exit $ac_status); } &&
93090          { ac_try='test -z "$ac_c_werror_flag"
93091                          || test ! -s conftest.err'
93092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93093   (eval $ac_try) 2>&5
93094   ac_status=$?
93095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93096   (exit $ac_status); }; } &&
93097          { ac_try='test -s conftest$ac_exeext'
93098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93099   (eval $ac_try) 2>&5
93100   ac_status=$?
93101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93102   (exit $ac_status); }; }; then
93103   eval "$as_ac_var=yes"
93104 else
93105   echo "$as_me: failed program was:" >&5
93106 sed 's/^/| /' conftest.$ac_ext >&5
93107
93108 eval "$as_ac_var=no"
93109 fi
93110 rm -f conftest.err conftest.$ac_objext \
93111       conftest$ac_exeext conftest.$ac_ext
93112 fi
93113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93115 if test `eval echo '${'$as_ac_var'}'` = yes; then
93116   cat >>confdefs.h <<_ACEOF
93117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93118 _ACEOF
93119
93120 fi
93121 done
93122
93123
93124     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
93125 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
93126     if test x"$has_weof" = xyes &&
93127        test x"$has_wchar_minmax" = xyes &&
93128        test x"$ac_wfuncs" = xyes;
93129     then
93130       ac_isoC99_wchar_t=yes
93131     else
93132       ac_isoC99_wchar_t=no
93133     fi
93134     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
93135 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
93136
93137     # Use iconv for wchar_t to char conversions. As such, check for
93138     # X/Open Portability Guide, version 2 features (XPG2).
93139     if test "${ac_cv_header_iconv_h+set}" = set; then
93140   echo "$as_me:$LINENO: checking for iconv.h" >&5
93141 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
93142 if test "${ac_cv_header_iconv_h+set}" = set; then
93143   echo $ECHO_N "(cached) $ECHO_C" >&6
93144 fi
93145 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
93146 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
93147 else
93148   # Is the header compilable?
93149 echo "$as_me:$LINENO: checking iconv.h usability" >&5
93150 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
93151 cat >conftest.$ac_ext <<_ACEOF
93152 /* confdefs.h.  */
93153 _ACEOF
93154 cat confdefs.h >>conftest.$ac_ext
93155 cat >>conftest.$ac_ext <<_ACEOF
93156 /* end confdefs.h.  */
93157 $ac_includes_default
93158 #include <iconv.h>
93159 _ACEOF
93160 rm -f conftest.$ac_objext
93161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93162   (eval $ac_compile) 2>conftest.er1
93163   ac_status=$?
93164   grep -v '^ *+' conftest.er1 >conftest.err
93165   rm -f conftest.er1
93166   cat conftest.err >&5
93167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93168   (exit $ac_status); } &&
93169          { ac_try='test -z "$ac_c_werror_flag"
93170                          || test ! -s conftest.err'
93171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93172   (eval $ac_try) 2>&5
93173   ac_status=$?
93174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93175   (exit $ac_status); }; } &&
93176          { ac_try='test -s conftest.$ac_objext'
93177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93178   (eval $ac_try) 2>&5
93179   ac_status=$?
93180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93181   (exit $ac_status); }; }; then
93182   ac_header_compiler=yes
93183 else
93184   echo "$as_me: failed program was:" >&5
93185 sed 's/^/| /' conftest.$ac_ext >&5
93186
93187 ac_header_compiler=no
93188 fi
93189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93190 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93191 echo "${ECHO_T}$ac_header_compiler" >&6
93192
93193 # Is the header present?
93194 echo "$as_me:$LINENO: checking iconv.h presence" >&5
93195 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
93196 cat >conftest.$ac_ext <<_ACEOF
93197 /* confdefs.h.  */
93198 _ACEOF
93199 cat confdefs.h >>conftest.$ac_ext
93200 cat >>conftest.$ac_ext <<_ACEOF
93201 /* end confdefs.h.  */
93202 #include <iconv.h>
93203 _ACEOF
93204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93205   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93206   ac_status=$?
93207   grep -v '^ *+' conftest.er1 >conftest.err
93208   rm -f conftest.er1
93209   cat conftest.err >&5
93210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93211   (exit $ac_status); } >/dev/null; then
93212   if test -s conftest.err; then
93213     ac_cpp_err=$ac_c_preproc_warn_flag
93214     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93215   else
93216     ac_cpp_err=
93217   fi
93218 else
93219   ac_cpp_err=yes
93220 fi
93221 if test -z "$ac_cpp_err"; then
93222   ac_header_preproc=yes
93223 else
93224   echo "$as_me: failed program was:" >&5
93225 sed 's/^/| /' conftest.$ac_ext >&5
93226
93227   ac_header_preproc=no
93228 fi
93229 rm -f conftest.err conftest.$ac_ext
93230 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93231 echo "${ECHO_T}$ac_header_preproc" >&6
93232
93233 # So?  What about this header?
93234 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93235   yes:no: )
93236     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
93237 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
93238     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
93239 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
93240     ac_header_preproc=yes
93241     ;;
93242   no:yes:* )
93243     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
93244 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
93245     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
93246 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
93247     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
93248 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
93249     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
93250 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
93251     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
93252 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
93253     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
93254 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
93255     (
93256       cat <<\_ASBOX
93257 ## ----------------------------------------- ##
93258 ## Report this to the package-unused lists.  ##
93259 ## ----------------------------------------- ##
93260 _ASBOX
93261     ) |
93262       sed "s/^/$as_me: WARNING:     /" >&2
93263     ;;
93264 esac
93265 echo "$as_me:$LINENO: checking for iconv.h" >&5
93266 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
93267 if test "${ac_cv_header_iconv_h+set}" = set; then
93268   echo $ECHO_N "(cached) $ECHO_C" >&6
93269 else
93270   ac_cv_header_iconv_h=$ac_header_preproc
93271 fi
93272 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
93273 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
93274
93275 fi
93276 if test $ac_cv_header_iconv_h = yes; then
93277   ac_has_iconv_h=yes
93278 else
93279   ac_has_iconv_h=no
93280 fi
93281
93282
93283     if test "${ac_cv_header_langinfo_h+set}" = set; then
93284   echo "$as_me:$LINENO: checking for langinfo.h" >&5
93285 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
93286 if test "${ac_cv_header_langinfo_h+set}" = set; then
93287   echo $ECHO_N "(cached) $ECHO_C" >&6
93288 fi
93289 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
93290 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
93291 else
93292   # Is the header compilable?
93293 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
93294 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
93295 cat >conftest.$ac_ext <<_ACEOF
93296 /* confdefs.h.  */
93297 _ACEOF
93298 cat confdefs.h >>conftest.$ac_ext
93299 cat >>conftest.$ac_ext <<_ACEOF
93300 /* end confdefs.h.  */
93301 $ac_includes_default
93302 #include <langinfo.h>
93303 _ACEOF
93304 rm -f conftest.$ac_objext
93305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93306   (eval $ac_compile) 2>conftest.er1
93307   ac_status=$?
93308   grep -v '^ *+' conftest.er1 >conftest.err
93309   rm -f conftest.er1
93310   cat conftest.err >&5
93311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93312   (exit $ac_status); } &&
93313          { ac_try='test -z "$ac_c_werror_flag"
93314                          || test ! -s conftest.err'
93315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93316   (eval $ac_try) 2>&5
93317   ac_status=$?
93318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93319   (exit $ac_status); }; } &&
93320          { ac_try='test -s conftest.$ac_objext'
93321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93322   (eval $ac_try) 2>&5
93323   ac_status=$?
93324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93325   (exit $ac_status); }; }; then
93326   ac_header_compiler=yes
93327 else
93328   echo "$as_me: failed program was:" >&5
93329 sed 's/^/| /' conftest.$ac_ext >&5
93330
93331 ac_header_compiler=no
93332 fi
93333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93334 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93335 echo "${ECHO_T}$ac_header_compiler" >&6
93336
93337 # Is the header present?
93338 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
93339 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
93340 cat >conftest.$ac_ext <<_ACEOF
93341 /* confdefs.h.  */
93342 _ACEOF
93343 cat confdefs.h >>conftest.$ac_ext
93344 cat >>conftest.$ac_ext <<_ACEOF
93345 /* end confdefs.h.  */
93346 #include <langinfo.h>
93347 _ACEOF
93348 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93349   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93350   ac_status=$?
93351   grep -v '^ *+' conftest.er1 >conftest.err
93352   rm -f conftest.er1
93353   cat conftest.err >&5
93354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93355   (exit $ac_status); } >/dev/null; then
93356   if test -s conftest.err; then
93357     ac_cpp_err=$ac_c_preproc_warn_flag
93358     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93359   else
93360     ac_cpp_err=
93361   fi
93362 else
93363   ac_cpp_err=yes
93364 fi
93365 if test -z "$ac_cpp_err"; then
93366   ac_header_preproc=yes
93367 else
93368   echo "$as_me: failed program was:" >&5
93369 sed 's/^/| /' conftest.$ac_ext >&5
93370
93371   ac_header_preproc=no
93372 fi
93373 rm -f conftest.err conftest.$ac_ext
93374 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93375 echo "${ECHO_T}$ac_header_preproc" >&6
93376
93377 # So?  What about this header?
93378 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93379   yes:no: )
93380     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
93381 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
93382     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
93383 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
93384     ac_header_preproc=yes
93385     ;;
93386   no:yes:* )
93387     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
93388 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
93389     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
93390 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
93391     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
93392 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
93393     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
93394 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
93395     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
93396 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
93397     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
93398 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
93399     (
93400       cat <<\_ASBOX
93401 ## ----------------------------------------- ##
93402 ## Report this to the package-unused lists.  ##
93403 ## ----------------------------------------- ##
93404 _ASBOX
93405     ) |
93406       sed "s/^/$as_me: WARNING:     /" >&2
93407     ;;
93408 esac
93409 echo "$as_me:$LINENO: checking for langinfo.h" >&5
93410 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
93411 if test "${ac_cv_header_langinfo_h+set}" = set; then
93412   echo $ECHO_N "(cached) $ECHO_C" >&6
93413 else
93414   ac_cv_header_langinfo_h=$ac_header_preproc
93415 fi
93416 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
93417 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
93418
93419 fi
93420 if test $ac_cv_header_langinfo_h = yes; then
93421   ac_has_langinfo_h=yes
93422 else
93423   ac_has_langinfo_h=no
93424 fi
93425
93426
93427
93428     # Check for existence of libiconv.a providing XPG2 wchar_t support.
93429     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
93430 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
93431 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
93432   echo $ECHO_N "(cached) $ECHO_C" >&6
93433 else
93434   ac_check_lib_save_LIBS=$LIBS
93435 LIBS="-liconv  $LIBS"
93436 if test x$gcc_no_link = xyes; then
93437   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93439    { (exit 1); exit 1; }; }
93440 fi
93441 cat >conftest.$ac_ext <<_ACEOF
93442 /* confdefs.h.  */
93443 _ACEOF
93444 cat confdefs.h >>conftest.$ac_ext
93445 cat >>conftest.$ac_ext <<_ACEOF
93446 /* end confdefs.h.  */
93447
93448 /* Override any gcc2 internal prototype to avoid an error.  */
93449 #ifdef __cplusplus
93450 extern "C"
93451 #endif
93452 /* We use char because int might match the return type of a gcc2
93453    builtin and then its argument prototype would still apply.  */
93454 char iconv ();
93455 int
93456 main ()
93457 {
93458 iconv ();
93459   ;
93460   return 0;
93461 }
93462 _ACEOF
93463 rm -f conftest.$ac_objext conftest$ac_exeext
93464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93465   (eval $ac_link) 2>conftest.er1
93466   ac_status=$?
93467   grep -v '^ *+' conftest.er1 >conftest.err
93468   rm -f conftest.er1
93469   cat conftest.err >&5
93470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93471   (exit $ac_status); } &&
93472          { ac_try='test -z "$ac_c_werror_flag"
93473                          || test ! -s conftest.err'
93474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93475   (eval $ac_try) 2>&5
93476   ac_status=$?
93477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93478   (exit $ac_status); }; } &&
93479          { ac_try='test -s conftest$ac_exeext'
93480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93481   (eval $ac_try) 2>&5
93482   ac_status=$?
93483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93484   (exit $ac_status); }; }; then
93485   ac_cv_lib_iconv_iconv=yes
93486 else
93487   echo "$as_me: failed program was:" >&5
93488 sed 's/^/| /' conftest.$ac_ext >&5
93489
93490 ac_cv_lib_iconv_iconv=no
93491 fi
93492 rm -f conftest.err conftest.$ac_objext \
93493       conftest$ac_exeext conftest.$ac_ext
93494 LIBS=$ac_check_lib_save_LIBS
93495 fi
93496 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
93497 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
93498 if test $ac_cv_lib_iconv_iconv = yes; then
93499   LIBICONV="-liconv"
93500 fi
93501
93502     ac_save_LIBS="$LIBS"
93503     LIBS="$LIBS $LIBICONV"
93504
93505
93506
93507
93508
93509
93510 for ac_func in iconv_open iconv_close iconv nl_langinfo
93511 do
93512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93513 echo "$as_me:$LINENO: checking for $ac_func" >&5
93514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93515 if eval "test \"\${$as_ac_var+set}\" = set"; then
93516   echo $ECHO_N "(cached) $ECHO_C" >&6
93517 else
93518   if test x$gcc_no_link = xyes; then
93519   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93521    { (exit 1); exit 1; }; }
93522 fi
93523 cat >conftest.$ac_ext <<_ACEOF
93524 /* confdefs.h.  */
93525 _ACEOF
93526 cat confdefs.h >>conftest.$ac_ext
93527 cat >>conftest.$ac_ext <<_ACEOF
93528 /* end confdefs.h.  */
93529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93530    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93531 #define $ac_func innocuous_$ac_func
93532
93533 /* System header to define __stub macros and hopefully few prototypes,
93534     which can conflict with char $ac_func (); below.
93535     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93536     <limits.h> exists even on freestanding compilers.  */
93537
93538 #ifdef __STDC__
93539 # include <limits.h>
93540 #else
93541 # include <assert.h>
93542 #endif
93543
93544 #undef $ac_func
93545
93546 /* Override any gcc2 internal prototype to avoid an error.  */
93547 #ifdef __cplusplus
93548 extern "C"
93549 {
93550 #endif
93551 /* We use char because int might match the return type of a gcc2
93552    builtin and then its argument prototype would still apply.  */
93553 char $ac_func ();
93554 /* The GNU C library defines this for functions which it implements
93555     to always fail with ENOSYS.  Some functions are actually named
93556     something starting with __ and the normal name is an alias.  */
93557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93558 choke me
93559 #else
93560 char (*f) () = $ac_func;
93561 #endif
93562 #ifdef __cplusplus
93563 }
93564 #endif
93565
93566 int
93567 main ()
93568 {
93569 return f != $ac_func;
93570   ;
93571   return 0;
93572 }
93573 _ACEOF
93574 rm -f conftest.$ac_objext conftest$ac_exeext
93575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93576   (eval $ac_link) 2>conftest.er1
93577   ac_status=$?
93578   grep -v '^ *+' conftest.er1 >conftest.err
93579   rm -f conftest.er1
93580   cat conftest.err >&5
93581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93582   (exit $ac_status); } &&
93583          { ac_try='test -z "$ac_c_werror_flag"
93584                          || test ! -s conftest.err'
93585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93586   (eval $ac_try) 2>&5
93587   ac_status=$?
93588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93589   (exit $ac_status); }; } &&
93590          { ac_try='test -s conftest$ac_exeext'
93591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93592   (eval $ac_try) 2>&5
93593   ac_status=$?
93594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93595   (exit $ac_status); }; }; then
93596   eval "$as_ac_var=yes"
93597 else
93598   echo "$as_me: failed program was:" >&5
93599 sed 's/^/| /' conftest.$ac_ext >&5
93600
93601 eval "$as_ac_var=no"
93602 fi
93603 rm -f conftest.err conftest.$ac_objext \
93604       conftest$ac_exeext conftest.$ac_ext
93605 fi
93606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93608 if test `eval echo '${'$as_ac_var'}'` = yes; then
93609   cat >>confdefs.h <<_ACEOF
93610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93611 _ACEOF
93612  ac_XPG2funcs=yes
93613 else
93614   ac_XPG2funcs=no
93615 fi
93616 done
93617
93618
93619     LIBS="$ac_save_LIBS"
93620
93621     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
93622 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
93623     if test x"$ac_has_iconv_h" = xyes &&
93624        test x"$ac_has_langinfo_h" = xyes &&
93625        test x"$ac_XPG2funcs" = xyes;
93626     then
93627       ac_XPG2_wchar_t=yes
93628     else
93629       ac_XPG2_wchar_t=no
93630     fi
93631     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
93632 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
93633
93634     # At the moment, only enable wchar_t specializations if all the
93635     # above support is present.
93636     if test x"$ac_isoC99_wchar_t" = xyes &&
93637        test x"$ac_XPG2_wchar_t" = xyes;
93638     then
93639       cat >>confdefs.h <<\_ACEOF
93640 #define _GLIBCXX_USE_WCHAR_T 1
93641 _ACEOF
93642
93643       enable_wchar_t=yes
93644     fi
93645   fi
93646   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
93647 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
93648   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
93649 echo "${ECHO_T}$enable_wchar_t" >&6
93650
93651          # All of the dependencies for wide character support are here, so
93652          # turn it on.  This requires some syncronization with the
93653          # GLIBCXX_CHECK_WCHAR_T_SUPPORT in acinclude.m4
93654          cat >>confdefs.h <<\_ACEOF
93655 #define _GLIBCXX_USE_WCHAR_T 1
93656 _ACEOF
93657
93658          # Are these tested for even when cross?
93659          cat >>confdefs.h <<\_ACEOF
93660 #define HAVE_FLOAT_H 1
93661 _ACEOF
93662
93663          cat >>confdefs.h <<\_ACEOF
93664 #define HAVE_IEEEFP_H 1
93665 _ACEOF
93666
93667          cat >>confdefs.h <<\_ACEOF
93668 #define HAVE_INTTYPES_H 1
93669 _ACEOF
93670
93671          cat >>confdefs.h <<\_ACEOF
93672 #define HAVE_LOCALE_H 1
93673 _ACEOF
93674
93675          cat >>confdefs.h <<\_ACEOF
93676 #define HAVE_NAN_H 1
93677 _ACEOF
93678
93679          cat >>confdefs.h <<\_ACEOF
93680 #define HAVE_SYS_FILIO_H 1
93681 _ACEOF
93682
93683          cat >>confdefs.h <<\_ACEOF
93684 #define HAVE_SYS_IOCTL_H 1
93685 _ACEOF
93686
93687          cat >>confdefs.h <<\_ACEOF
93688 #define HAVE_SYS_ISA_DEFS_H 1
93689 _ACEOF
93690
93691          cat >>confdefs.h <<\_ACEOF
93692 #define HAVE_SYS_RESOURCE_H 1
93693 _ACEOF
93694
93695          cat >>confdefs.h <<\_ACEOF
93696 #define HAVE_SYS_TIME_H 1
93697 _ACEOF
93698
93699          cat >>confdefs.h <<\_ACEOF
93700 #define HAVE_SYS_TYPES_H 1
93701 _ACEOF
93702
93703          cat >>confdefs.h <<\_ACEOF
93704 #define HAVE_UNISTD_H 1
93705 _ACEOF
93706
93707          cat >>confdefs.h <<\_ACEOF
93708 #define HAVE_WCHAR_H 1
93709 _ACEOF
93710
93711          cat >>confdefs.h <<\_ACEOF
93712 #define HAVE_WCTYPE_H 1
93713 _ACEOF
93714
93715          cat >>confdefs.h <<\_ACEOF
93716 #define HAVE_LIBM 1
93717 _ACEOF
93718
93719         ;;
93720     esac
93721     case "$target" in
93722       sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
93723         # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
93724         cat >>confdefs.h <<\_ACEOF
93725 #define HAVE___BUILTIN_ABS 1
93726 _ACEOF
93727
93728         cat >>confdefs.h <<\_ACEOF
93729 #define HAVE___BUILTIN_LABS 1
93730 _ACEOF
93731
93732         cat >>confdefs.h <<\_ACEOF
93733 #define HAVE___BUILTIN_FABS 1
93734 _ACEOF
93735
93736         cat >>confdefs.h <<\_ACEOF
93737 #define HAVE___BUILTIN_FABSF 1
93738 _ACEOF
93739
93740         cat >>confdefs.h <<\_ACEOF
93741 #define HAVE___BUILTIN_FABSL 1
93742 _ACEOF
93743
93744         cat >>confdefs.h <<\_ACEOF
93745 #define HAVE___BUILTIN_COS 1
93746 _ACEOF
93747
93748         cat >>confdefs.h <<\_ACEOF
93749 #define HAVE___BUILTIN_COSF 1
93750 _ACEOF
93751
93752         cat >>confdefs.h <<\_ACEOF
93753 #define HAVE___BUILTIN_SIN 1
93754 _ACEOF
93755
93756         cat >>confdefs.h <<\_ACEOF
93757 #define HAVE___BUILTIN_SINF 1
93758 _ACEOF
93759
93760        ;;
93761     esac
93762     cat >>confdefs.h <<\_ACEOF
93763 #define HAVE_STRTOF 1
93764 _ACEOF
93765
93766     cat >>confdefs.h <<\_ACEOF
93767 #define HAVE_STRTOLD 1
93768 _ACEOF
93769
93770     cat >>confdefs.h <<\_ACEOF
93771 #define HAVE_MMAP 1
93772 _ACEOF
93773
93774     cat >>confdefs.h <<\_ACEOF
93775 #define HAVE_COPYSIGN 1
93776 _ACEOF
93777
93778     cat >>confdefs.h <<\_ACEOF
93779 #define HAVE_ISNAN 1
93780 _ACEOF
93781
93782     cat >>confdefs.h <<\_ACEOF
93783 #define HAVE_ISNANF 1
93784 _ACEOF
93785
93786     cat >>confdefs.h <<\_ACEOF
93787 #define HAVE_MODFF 1
93788 _ACEOF
93789
93790     cat >>confdefs.h <<\_ACEOF
93791 #define HAVE_HYPOT 1
93792 _ACEOF
93793
93794     ;;
93795   *-tpf)
93796
93797
93798
93799
93800
93801
93802
93803
93804 for ac_header in nan.h endian.h machine/endian.h  \
93805       sys/param.h sys/types.h locale.h float.h inttypes.h
93806 do
93807 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
93808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93809   echo "$as_me:$LINENO: checking for $ac_header" >&5
93810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
93811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93812   echo $ECHO_N "(cached) $ECHO_C" >&6
93813 fi
93814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
93815 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
93816 else
93817   # Is the header compilable?
93818 echo "$as_me:$LINENO: checking $ac_header usability" >&5
93819 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
93820 cat >conftest.$ac_ext <<_ACEOF
93821 /* confdefs.h.  */
93822 _ACEOF
93823 cat confdefs.h >>conftest.$ac_ext
93824 cat >>conftest.$ac_ext <<_ACEOF
93825 /* end confdefs.h.  */
93826 $ac_includes_default
93827 #include <$ac_header>
93828 _ACEOF
93829 rm -f conftest.$ac_objext
93830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93831   (eval $ac_compile) 2>conftest.er1
93832   ac_status=$?
93833   grep -v '^ *+' conftest.er1 >conftest.err
93834   rm -f conftest.er1
93835   cat conftest.err >&5
93836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93837   (exit $ac_status); } &&
93838          { ac_try='test -z "$ac_c_werror_flag"
93839                          || test ! -s conftest.err'
93840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93841   (eval $ac_try) 2>&5
93842   ac_status=$?
93843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93844   (exit $ac_status); }; } &&
93845          { ac_try='test -s conftest.$ac_objext'
93846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93847   (eval $ac_try) 2>&5
93848   ac_status=$?
93849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93850   (exit $ac_status); }; }; then
93851   ac_header_compiler=yes
93852 else
93853   echo "$as_me: failed program was:" >&5
93854 sed 's/^/| /' conftest.$ac_ext >&5
93855
93856 ac_header_compiler=no
93857 fi
93858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93859 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93860 echo "${ECHO_T}$ac_header_compiler" >&6
93861
93862 # Is the header present?
93863 echo "$as_me:$LINENO: checking $ac_header presence" >&5
93864 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
93865 cat >conftest.$ac_ext <<_ACEOF
93866 /* confdefs.h.  */
93867 _ACEOF
93868 cat confdefs.h >>conftest.$ac_ext
93869 cat >>conftest.$ac_ext <<_ACEOF
93870 /* end confdefs.h.  */
93871 #include <$ac_header>
93872 _ACEOF
93873 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93874   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93875   ac_status=$?
93876   grep -v '^ *+' conftest.er1 >conftest.err
93877   rm -f conftest.er1
93878   cat conftest.err >&5
93879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93880   (exit $ac_status); } >/dev/null; then
93881   if test -s conftest.err; then
93882     ac_cpp_err=$ac_c_preproc_warn_flag
93883     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93884   else
93885     ac_cpp_err=
93886   fi
93887 else
93888   ac_cpp_err=yes
93889 fi
93890 if test -z "$ac_cpp_err"; then
93891   ac_header_preproc=yes
93892 else
93893   echo "$as_me: failed program was:" >&5
93894 sed 's/^/| /' conftest.$ac_ext >&5
93895
93896   ac_header_preproc=no
93897 fi
93898 rm -f conftest.err conftest.$ac_ext
93899 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93900 echo "${ECHO_T}$ac_header_preproc" >&6
93901
93902 # So?  What about this header?
93903 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93904   yes:no: )
93905     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
93906 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
93907     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
93908 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
93909     ac_header_preproc=yes
93910     ;;
93911   no:yes:* )
93912     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
93913 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
93914     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
93915 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
93916     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
93917 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
93918     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
93919 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
93920     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
93921 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
93922     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
93923 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
93924     (
93925       cat <<\_ASBOX
93926 ## ----------------------------------------- ##
93927 ## Report this to the package-unused lists.  ##
93928 ## ----------------------------------------- ##
93929 _ASBOX
93930     ) |
93931       sed "s/^/$as_me: WARNING:     /" >&2
93932     ;;
93933 esac
93934 echo "$as_me:$LINENO: checking for $ac_header" >&5
93935 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
93936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93937   echo $ECHO_N "(cached) $ECHO_C" >&6
93938 else
93939   eval "$as_ac_Header=\$ac_header_preproc"
93940 fi
93941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
93942 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
93943
93944 fi
93945 if test `eval echo '${'$as_ac_Header'}'` = yes; then
93946   cat >>confdefs.h <<_ACEOF
93947 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
93948 _ACEOF
93949
93950 fi
93951
93952 done
93953
93954     SECTION_FLAGS='-ffunction-sections -fdata-sections'
93955
93956
93957   # If we're not using GNU ld, then there's no point in even trying these
93958   # tests.  Check for that first.  We should have already tested for gld
93959   # by now (in libtool), but require it now just to be safe...
93960   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
93961   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
93962
93963
93964
93965   # The name set by libtool depends on the version of libtool.  Shame on us
93966   # for depending on an impl detail, but c'est la vie.  Older versions used
93967   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
93968   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
93969   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
93970   # set (hence we're using an older libtool), then set it.
93971   if test x${with_gnu_ld+set} != xset; then
93972     if test x${ac_cv_prog_gnu_ld+set} != xset; then
93973       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
93974       with_gnu_ld=no
93975     else
93976       with_gnu_ld=$ac_cv_prog_gnu_ld
93977     fi
93978   fi
93979
93980   # Start by getting the version number.  I think the libtool test already
93981   # does some of this, but throws away the result.
93982
93983   ldver=`$LD --version 2>/dev/null | head -1 | \
93984          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
93985
93986   glibcxx_gnu_ld_version=`echo $ldver | \
93987          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
93988
93989   # Set --gc-sections.
93990   if test "$with_gnu_ld" = "notbroken"; then
93991     # GNU ld it is!  Joy and bunny rabbits!
93992
93993     # All these tests are for C++; save the language and the compiler flags.
93994     # Need to do this so that g++ won't try to link in libstdc++
93995     ac_test_CFLAGS="${CFLAGS+set}"
93996     ac_save_CFLAGS="$CFLAGS"
93997     CFLAGS='-x c++  -Wl,--gc-sections'
93998
93999     # Check for -Wl,--gc-sections
94000     # XXX This test is broken at the moment, as symbols required for linking
94001     # are now in libsupc++ (not built yet).  In addition, this test has
94002     # cored on solaris in the past.  In addition, --gc-sections doesn't
94003     # really work at the moment (keeps on discarding used sections, first
94004     # .eh_frame and now some of the glibc sections for iconv).
94005     # Bzzzzt.  Thanks for playing, maybe next time.
94006     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
94007 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
94008     if test "$cross_compiling" = yes; then
94009   ac_sectionLDflags=yes
94010 else
94011   cat >conftest.$ac_ext <<_ACEOF
94012 /* confdefs.h.  */
94013 _ACEOF
94014 cat confdefs.h >>conftest.$ac_ext
94015 cat >>conftest.$ac_ext <<_ACEOF
94016 /* end confdefs.h.  */
94017
94018      int main(void)
94019      {
94020        try { throw 1; }
94021        catch (...) { };
94022        return 0;
94023      }
94024
94025 _ACEOF
94026 rm -f conftest$ac_exeext
94027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94028   (eval $ac_link) 2>&5
94029   ac_status=$?
94030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94031   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
94032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94033   (eval $ac_try) 2>&5
94034   ac_status=$?
94035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94036   (exit $ac_status); }; }; then
94037   ac_sectionLDflags=yes
94038 else
94039   echo "$as_me: program exited with status $ac_status" >&5
94040 echo "$as_me: failed program was:" >&5
94041 sed 's/^/| /' conftest.$ac_ext >&5
94042
94043 ( exit $ac_status )
94044 ac_sectionLDflags=no
94045 fi
94046 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
94047 fi
94048     if test "$ac_test_CFLAGS" = set; then
94049       CFLAGS="$ac_save_CFLAGS"
94050     else
94051       # this is the suspicious part
94052       CFLAGS=''
94053     fi
94054     if test "$ac_sectionLDflags" = "yes"; then
94055       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
94056     fi
94057     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
94058 echo "${ECHO_T}$ac_sectionLDflags" >&6
94059   fi
94060
94061   # Set linker optimization flags.
94062   if test x"$with_gnu_ld" = x"yes"; then
94063     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
94064   fi
94065
94066
94067
94068
94069
94070
94071 echo "$as_me:$LINENO: checking for main in -lm" >&5
94072 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
94073 if test "${ac_cv_lib_m_main+set}" = set; then
94074   echo $ECHO_N "(cached) $ECHO_C" >&6
94075 else
94076   ac_check_lib_save_LIBS=$LIBS
94077 LIBS="-lm  $LIBS"
94078 if test x$gcc_no_link = xyes; then
94079   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94081    { (exit 1); exit 1; }; }
94082 fi
94083 cat >conftest.$ac_ext <<_ACEOF
94084 /* confdefs.h.  */
94085 _ACEOF
94086 cat confdefs.h >>conftest.$ac_ext
94087 cat >>conftest.$ac_ext <<_ACEOF
94088 /* end confdefs.h.  */
94089
94090
94091 int
94092 main ()
94093 {
94094 main ();
94095   ;
94096   return 0;
94097 }
94098 _ACEOF
94099 rm -f conftest.$ac_objext conftest$ac_exeext
94100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94101   (eval $ac_link) 2>conftest.er1
94102   ac_status=$?
94103   grep -v '^ *+' conftest.er1 >conftest.err
94104   rm -f conftest.er1
94105   cat conftest.err >&5
94106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94107   (exit $ac_status); } &&
94108          { ac_try='test -z "$ac_c_werror_flag"
94109                          || test ! -s conftest.err'
94110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94111   (eval $ac_try) 2>&5
94112   ac_status=$?
94113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94114   (exit $ac_status); }; } &&
94115          { ac_try='test -s conftest$ac_exeext'
94116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94117   (eval $ac_try) 2>&5
94118   ac_status=$?
94119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94120   (exit $ac_status); }; }; then
94121   ac_cv_lib_m_main=yes
94122 else
94123   echo "$as_me: failed program was:" >&5
94124 sed 's/^/| /' conftest.$ac_ext >&5
94125
94126 ac_cv_lib_m_main=no
94127 fi
94128 rm -f conftest.err conftest.$ac_objext \
94129       conftest$ac_exeext conftest.$ac_ext
94130 LIBS=$ac_check_lib_save_LIBS
94131 fi
94132 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
94133 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
94134 if test $ac_cv_lib_m_main = yes; then
94135   cat >>confdefs.h <<_ACEOF
94136 #define HAVE_LIBM 1
94137 _ACEOF
94138
94139   LIBS="-lm $LIBS"
94140
94141 fi
94142
94143
94144 for ac_func in copysignf
94145 do
94146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94147 echo "$as_me:$LINENO: checking for $ac_func" >&5
94148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94149 if eval "test \"\${$as_ac_var+set}\" = set"; then
94150   echo $ECHO_N "(cached) $ECHO_C" >&6
94151 else
94152   if test x$gcc_no_link = xyes; then
94153   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94155    { (exit 1); exit 1; }; }
94156 fi
94157 cat >conftest.$ac_ext <<_ACEOF
94158 /* confdefs.h.  */
94159 _ACEOF
94160 cat confdefs.h >>conftest.$ac_ext
94161 cat >>conftest.$ac_ext <<_ACEOF
94162 /* end confdefs.h.  */
94163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94164    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94165 #define $ac_func innocuous_$ac_func
94166
94167 /* System header to define __stub macros and hopefully few prototypes,
94168     which can conflict with char $ac_func (); below.
94169     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94170     <limits.h> exists even on freestanding compilers.  */
94171
94172 #ifdef __STDC__
94173 # include <limits.h>
94174 #else
94175 # include <assert.h>
94176 #endif
94177
94178 #undef $ac_func
94179
94180 /* Override any gcc2 internal prototype to avoid an error.  */
94181 #ifdef __cplusplus
94182 extern "C"
94183 {
94184 #endif
94185 /* We use char because int might match the return type of a gcc2
94186    builtin and then its argument prototype would still apply.  */
94187 char $ac_func ();
94188 /* The GNU C library defines this for functions which it implements
94189     to always fail with ENOSYS.  Some functions are actually named
94190     something starting with __ and the normal name is an alias.  */
94191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94192 choke me
94193 #else
94194 char (*f) () = $ac_func;
94195 #endif
94196 #ifdef __cplusplus
94197 }
94198 #endif
94199
94200 int
94201 main ()
94202 {
94203 return f != $ac_func;
94204   ;
94205   return 0;
94206 }
94207 _ACEOF
94208 rm -f conftest.$ac_objext conftest$ac_exeext
94209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94210   (eval $ac_link) 2>conftest.er1
94211   ac_status=$?
94212   grep -v '^ *+' conftest.er1 >conftest.err
94213   rm -f conftest.er1
94214   cat conftest.err >&5
94215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94216   (exit $ac_status); } &&
94217          { ac_try='test -z "$ac_c_werror_flag"
94218                          || test ! -s conftest.err'
94219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94220   (eval $ac_try) 2>&5
94221   ac_status=$?
94222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94223   (exit $ac_status); }; } &&
94224          { ac_try='test -s conftest$ac_exeext'
94225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94226   (eval $ac_try) 2>&5
94227   ac_status=$?
94228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94229   (exit $ac_status); }; }; then
94230   eval "$as_ac_var=yes"
94231 else
94232   echo "$as_me: failed program was:" >&5
94233 sed 's/^/| /' conftest.$ac_ext >&5
94234
94235 eval "$as_ac_var=no"
94236 fi
94237 rm -f conftest.err conftest.$ac_objext \
94238       conftest$ac_exeext conftest.$ac_ext
94239 fi
94240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94242 if test `eval echo '${'$as_ac_var'}'` = yes; then
94243   cat >>confdefs.h <<_ACEOF
94244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94245 _ACEOF
94246
94247 else
94248   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
94249 fi
94250 done
94251
94252
94253
94254 for ac_func in __signbit
94255 do
94256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94257 echo "$as_me:$LINENO: checking for $ac_func" >&5
94258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94259 if eval "test \"\${$as_ac_var+set}\" = set"; then
94260   echo $ECHO_N "(cached) $ECHO_C" >&6
94261 else
94262   if test x$gcc_no_link = xyes; then
94263   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94265    { (exit 1); exit 1; }; }
94266 fi
94267 cat >conftest.$ac_ext <<_ACEOF
94268 /* confdefs.h.  */
94269 _ACEOF
94270 cat confdefs.h >>conftest.$ac_ext
94271 cat >>conftest.$ac_ext <<_ACEOF
94272 /* end confdefs.h.  */
94273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94274    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94275 #define $ac_func innocuous_$ac_func
94276
94277 /* System header to define __stub macros and hopefully few prototypes,
94278     which can conflict with char $ac_func (); below.
94279     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94280     <limits.h> exists even on freestanding compilers.  */
94281
94282 #ifdef __STDC__
94283 # include <limits.h>
94284 #else
94285 # include <assert.h>
94286 #endif
94287
94288 #undef $ac_func
94289
94290 /* Override any gcc2 internal prototype to avoid an error.  */
94291 #ifdef __cplusplus
94292 extern "C"
94293 {
94294 #endif
94295 /* We use char because int might match the return type of a gcc2
94296    builtin and then its argument prototype would still apply.  */
94297 char $ac_func ();
94298 /* The GNU C library defines this for functions which it implements
94299     to always fail with ENOSYS.  Some functions are actually named
94300     something starting with __ and the normal name is an alias.  */
94301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94302 choke me
94303 #else
94304 char (*f) () = $ac_func;
94305 #endif
94306 #ifdef __cplusplus
94307 }
94308 #endif
94309
94310 int
94311 main ()
94312 {
94313 return f != $ac_func;
94314   ;
94315   return 0;
94316 }
94317 _ACEOF
94318 rm -f conftest.$ac_objext conftest$ac_exeext
94319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94320   (eval $ac_link) 2>conftest.er1
94321   ac_status=$?
94322   grep -v '^ *+' conftest.er1 >conftest.err
94323   rm -f conftest.er1
94324   cat conftest.err >&5
94325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94326   (exit $ac_status); } &&
94327          { ac_try='test -z "$ac_c_werror_flag"
94328                          || test ! -s conftest.err'
94329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94330   (eval $ac_try) 2>&5
94331   ac_status=$?
94332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94333   (exit $ac_status); }; } &&
94334          { ac_try='test -s conftest$ac_exeext'
94335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94336   (eval $ac_try) 2>&5
94337   ac_status=$?
94338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94339   (exit $ac_status); }; }; then
94340   eval "$as_ac_var=yes"
94341 else
94342   echo "$as_me: failed program was:" >&5
94343 sed 's/^/| /' conftest.$ac_ext >&5
94344
94345 eval "$as_ac_var=no"
94346 fi
94347 rm -f conftest.err conftest.$ac_objext \
94348       conftest$ac_exeext conftest.$ac_ext
94349 fi
94350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94352 if test `eval echo '${'$as_ac_var'}'` = yes; then
94353   cat >>confdefs.h <<_ACEOF
94354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94355 _ACEOF
94356
94357 else
94358   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
94359 fi
94360 done
94361
94362
94363
94364 for ac_func in __signbitf
94365 do
94366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94367 echo "$as_me:$LINENO: checking for $ac_func" >&5
94368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94369 if eval "test \"\${$as_ac_var+set}\" = set"; then
94370   echo $ECHO_N "(cached) $ECHO_C" >&6
94371 else
94372   if test x$gcc_no_link = xyes; then
94373   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94375    { (exit 1); exit 1; }; }
94376 fi
94377 cat >conftest.$ac_ext <<_ACEOF
94378 /* confdefs.h.  */
94379 _ACEOF
94380 cat confdefs.h >>conftest.$ac_ext
94381 cat >>conftest.$ac_ext <<_ACEOF
94382 /* end confdefs.h.  */
94383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94384    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94385 #define $ac_func innocuous_$ac_func
94386
94387 /* System header to define __stub macros and hopefully few prototypes,
94388     which can conflict with char $ac_func (); below.
94389     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94390     <limits.h> exists even on freestanding compilers.  */
94391
94392 #ifdef __STDC__
94393 # include <limits.h>
94394 #else
94395 # include <assert.h>
94396 #endif
94397
94398 #undef $ac_func
94399
94400 /* Override any gcc2 internal prototype to avoid an error.  */
94401 #ifdef __cplusplus
94402 extern "C"
94403 {
94404 #endif
94405 /* We use char because int might match the return type of a gcc2
94406    builtin and then its argument prototype would still apply.  */
94407 char $ac_func ();
94408 /* The GNU C library defines this for functions which it implements
94409     to always fail with ENOSYS.  Some functions are actually named
94410     something starting with __ and the normal name is an alias.  */
94411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94412 choke me
94413 #else
94414 char (*f) () = $ac_func;
94415 #endif
94416 #ifdef __cplusplus
94417 }
94418 #endif
94419
94420 int
94421 main ()
94422 {
94423 return f != $ac_func;
94424   ;
94425   return 0;
94426 }
94427 _ACEOF
94428 rm -f conftest.$ac_objext conftest$ac_exeext
94429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94430   (eval $ac_link) 2>conftest.er1
94431   ac_status=$?
94432   grep -v '^ *+' conftest.er1 >conftest.err
94433   rm -f conftest.er1
94434   cat conftest.err >&5
94435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94436   (exit $ac_status); } &&
94437          { ac_try='test -z "$ac_c_werror_flag"
94438                          || test ! -s conftest.err'
94439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94440   (eval $ac_try) 2>&5
94441   ac_status=$?
94442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94443   (exit $ac_status); }; } &&
94444          { ac_try='test -s conftest$ac_exeext'
94445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94446   (eval $ac_try) 2>&5
94447   ac_status=$?
94448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94449   (exit $ac_status); }; }; then
94450   eval "$as_ac_var=yes"
94451 else
94452   echo "$as_me: failed program was:" >&5
94453 sed 's/^/| /' conftest.$ac_ext >&5
94454
94455 eval "$as_ac_var=no"
94456 fi
94457 rm -f conftest.err conftest.$ac_objext \
94458       conftest$ac_exeext conftest.$ac_ext
94459 fi
94460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94462 if test `eval echo '${'$as_ac_var'}'` = yes; then
94463   cat >>confdefs.h <<_ACEOF
94464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94465 _ACEOF
94466
94467 else
94468   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
94469 fi
94470 done
94471
94472
94473           if test x$ac_cv_func_copysignl = x"yes"; then
94474
94475 for ac_func in __signbitl
94476 do
94477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94478 echo "$as_me:$LINENO: checking for $ac_func" >&5
94479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94480 if eval "test \"\${$as_ac_var+set}\" = set"; then
94481   echo $ECHO_N "(cached) $ECHO_C" >&6
94482 else
94483   if test x$gcc_no_link = xyes; then
94484   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94486    { (exit 1); exit 1; }; }
94487 fi
94488 cat >conftest.$ac_ext <<_ACEOF
94489 /* confdefs.h.  */
94490 _ACEOF
94491 cat confdefs.h >>conftest.$ac_ext
94492 cat >>conftest.$ac_ext <<_ACEOF
94493 /* end confdefs.h.  */
94494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94495    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94496 #define $ac_func innocuous_$ac_func
94497
94498 /* System header to define __stub macros and hopefully few prototypes,
94499     which can conflict with char $ac_func (); below.
94500     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94501     <limits.h> exists even on freestanding compilers.  */
94502
94503 #ifdef __STDC__
94504 # include <limits.h>
94505 #else
94506 # include <assert.h>
94507 #endif
94508
94509 #undef $ac_func
94510
94511 /* Override any gcc2 internal prototype to avoid an error.  */
94512 #ifdef __cplusplus
94513 extern "C"
94514 {
94515 #endif
94516 /* We use char because int might match the return type of a gcc2
94517    builtin and then its argument prototype would still apply.  */
94518 char $ac_func ();
94519 /* The GNU C library defines this for functions which it implements
94520     to always fail with ENOSYS.  Some functions are actually named
94521     something starting with __ and the normal name is an alias.  */
94522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94523 choke me
94524 #else
94525 char (*f) () = $ac_func;
94526 #endif
94527 #ifdef __cplusplus
94528 }
94529 #endif
94530
94531 int
94532 main ()
94533 {
94534 return f != $ac_func;
94535   ;
94536   return 0;
94537 }
94538 _ACEOF
94539 rm -f conftest.$ac_objext conftest$ac_exeext
94540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94541   (eval $ac_link) 2>conftest.er1
94542   ac_status=$?
94543   grep -v '^ *+' conftest.er1 >conftest.err
94544   rm -f conftest.er1
94545   cat conftest.err >&5
94546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94547   (exit $ac_status); } &&
94548          { ac_try='test -z "$ac_c_werror_flag"
94549                          || test ! -s conftest.err'
94550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94551   (eval $ac_try) 2>&5
94552   ac_status=$?
94553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94554   (exit $ac_status); }; } &&
94555          { ac_try='test -s conftest$ac_exeext'
94556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94557   (eval $ac_try) 2>&5
94558   ac_status=$?
94559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94560   (exit $ac_status); }; }; then
94561   eval "$as_ac_var=yes"
94562 else
94563   echo "$as_me: failed program was:" >&5
94564 sed 's/^/| /' conftest.$ac_ext >&5
94565
94566 eval "$as_ac_var=no"
94567 fi
94568 rm -f conftest.err conftest.$ac_objext \
94569       conftest$ac_exeext conftest.$ac_ext
94570 fi
94571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94573 if test `eval echo '${'$as_ac_var'}'` = yes; then
94574   cat >>confdefs.h <<_ACEOF
94575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94576 _ACEOF
94577
94578 else
94579   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
94580 fi
94581 done
94582
94583   fi
94584
94585   # Used in libmath/Makefile.am.
94586   if test -n "$LIBMATHOBJS"; then
94587     need_libmath=yes
94588   fi
94589
94590
94591
94592   # Test wchar.h for mbstate_t, which is needed for char_traits and
94593   # others even if wchar_t support is not on.
94594   echo "$as_me:$LINENO: checking for mbstate_t" >&5
94595 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
94596   cat >conftest.$ac_ext <<_ACEOF
94597 /* confdefs.h.  */
94598 _ACEOF
94599 cat confdefs.h >>conftest.$ac_ext
94600 cat >>conftest.$ac_ext <<_ACEOF
94601 /* end confdefs.h.  */
94602 #include <wchar.h>
94603 int
94604 main ()
94605 {
94606 mbstate_t teststate;
94607   ;
94608   return 0;
94609 }
94610 _ACEOF
94611 rm -f conftest.$ac_objext
94612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94613   (eval $ac_compile) 2>conftest.er1
94614   ac_status=$?
94615   grep -v '^ *+' conftest.er1 >conftest.err
94616   rm -f conftest.er1
94617   cat conftest.err >&5
94618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94619   (exit $ac_status); } &&
94620          { ac_try='test -z "$ac_c_werror_flag"
94621                          || test ! -s conftest.err'
94622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94623   (eval $ac_try) 2>&5
94624   ac_status=$?
94625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94626   (exit $ac_status); }; } &&
94627          { ac_try='test -s conftest.$ac_objext'
94628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94629   (eval $ac_try) 2>&5
94630   ac_status=$?
94631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94632   (exit $ac_status); }; }; then
94633   have_mbstate_t=yes
94634 else
94635   echo "$as_me: failed program was:" >&5
94636 sed 's/^/| /' conftest.$ac_ext >&5
94637
94638 have_mbstate_t=no
94639 fi
94640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94641   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
94642 echo "${ECHO_T}$have_mbstate_t" >&6
94643   if test x"$have_mbstate_t" = xyes; then
94644     cat >>confdefs.h <<\_ACEOF
94645 #define HAVE_MBSTATE_T 1
94646 _ACEOF
94647
94648   fi
94649
94650   # Sanity check for existence of ISO C99 headers for extended encoding.
94651
94652 for ac_header in wchar.h
94653 do
94654 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
94655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94656   echo "$as_me:$LINENO: checking for $ac_header" >&5
94657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94659   echo $ECHO_N "(cached) $ECHO_C" >&6
94660 fi
94661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94662 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94663 else
94664   # Is the header compilable?
94665 echo "$as_me:$LINENO: checking $ac_header usability" >&5
94666 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
94667 cat >conftest.$ac_ext <<_ACEOF
94668 /* confdefs.h.  */
94669 _ACEOF
94670 cat confdefs.h >>conftest.$ac_ext
94671 cat >>conftest.$ac_ext <<_ACEOF
94672 /* end confdefs.h.  */
94673 $ac_includes_default
94674 #include <$ac_header>
94675 _ACEOF
94676 rm -f conftest.$ac_objext
94677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94678   (eval $ac_compile) 2>conftest.er1
94679   ac_status=$?
94680   grep -v '^ *+' conftest.er1 >conftest.err
94681   rm -f conftest.er1
94682   cat conftest.err >&5
94683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94684   (exit $ac_status); } &&
94685          { ac_try='test -z "$ac_c_werror_flag"
94686                          || test ! -s conftest.err'
94687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94688   (eval $ac_try) 2>&5
94689   ac_status=$?
94690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94691   (exit $ac_status); }; } &&
94692          { ac_try='test -s conftest.$ac_objext'
94693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94694   (eval $ac_try) 2>&5
94695   ac_status=$?
94696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94697   (exit $ac_status); }; }; then
94698   ac_header_compiler=yes
94699 else
94700   echo "$as_me: failed program was:" >&5
94701 sed 's/^/| /' conftest.$ac_ext >&5
94702
94703 ac_header_compiler=no
94704 fi
94705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94706 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
94707 echo "${ECHO_T}$ac_header_compiler" >&6
94708
94709 # Is the header present?
94710 echo "$as_me:$LINENO: checking $ac_header presence" >&5
94711 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
94712 cat >conftest.$ac_ext <<_ACEOF
94713 /* confdefs.h.  */
94714 _ACEOF
94715 cat confdefs.h >>conftest.$ac_ext
94716 cat >>conftest.$ac_ext <<_ACEOF
94717 /* end confdefs.h.  */
94718 #include <$ac_header>
94719 _ACEOF
94720 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
94721   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
94722   ac_status=$?
94723   grep -v '^ *+' conftest.er1 >conftest.err
94724   rm -f conftest.er1
94725   cat conftest.err >&5
94726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94727   (exit $ac_status); } >/dev/null; then
94728   if test -s conftest.err; then
94729     ac_cpp_err=$ac_c_preproc_warn_flag
94730     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
94731   else
94732     ac_cpp_err=
94733   fi
94734 else
94735   ac_cpp_err=yes
94736 fi
94737 if test -z "$ac_cpp_err"; then
94738   ac_header_preproc=yes
94739 else
94740   echo "$as_me: failed program was:" >&5
94741 sed 's/^/| /' conftest.$ac_ext >&5
94742
94743   ac_header_preproc=no
94744 fi
94745 rm -f conftest.err conftest.$ac_ext
94746 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
94747 echo "${ECHO_T}$ac_header_preproc" >&6
94748
94749 # So?  What about this header?
94750 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
94751   yes:no: )
94752     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
94753 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
94754     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
94755 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
94756     ac_header_preproc=yes
94757     ;;
94758   no:yes:* )
94759     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
94760 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
94761     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
94762 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
94763     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
94764 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
94765     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
94766 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
94767     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
94768 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
94769     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
94770 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
94771     (
94772       cat <<\_ASBOX
94773 ## ----------------------------------------- ##
94774 ## Report this to the package-unused lists.  ##
94775 ## ----------------------------------------- ##
94776 _ASBOX
94777     ) |
94778       sed "s/^/$as_me: WARNING:     /" >&2
94779     ;;
94780 esac
94781 echo "$as_me:$LINENO: checking for $ac_header" >&5
94782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94784   echo $ECHO_N "(cached) $ECHO_C" >&6
94785 else
94786   eval "$as_ac_Header=\$ac_header_preproc"
94787 fi
94788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94789 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94790
94791 fi
94792 if test `eval echo '${'$as_ac_Header'}'` = yes; then
94793   cat >>confdefs.h <<_ACEOF
94794 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
94795 _ACEOF
94796  ac_has_wchar_h=yes
94797 else
94798   ac_has_wchar_h=no
94799 fi
94800
94801 done
94802
94803
94804 for ac_header in wctype.h
94805 do
94806 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
94807 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94808   echo "$as_me:$LINENO: checking for $ac_header" >&5
94809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94811   echo $ECHO_N "(cached) $ECHO_C" >&6
94812 fi
94813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94814 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94815 else
94816   # Is the header compilable?
94817 echo "$as_me:$LINENO: checking $ac_header usability" >&5
94818 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
94819 cat >conftest.$ac_ext <<_ACEOF
94820 /* confdefs.h.  */
94821 _ACEOF
94822 cat confdefs.h >>conftest.$ac_ext
94823 cat >>conftest.$ac_ext <<_ACEOF
94824 /* end confdefs.h.  */
94825 $ac_includes_default
94826 #include <$ac_header>
94827 _ACEOF
94828 rm -f conftest.$ac_objext
94829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94830   (eval $ac_compile) 2>conftest.er1
94831   ac_status=$?
94832   grep -v '^ *+' conftest.er1 >conftest.err
94833   rm -f conftest.er1
94834   cat conftest.err >&5
94835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94836   (exit $ac_status); } &&
94837          { ac_try='test -z "$ac_c_werror_flag"
94838                          || test ! -s conftest.err'
94839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94840   (eval $ac_try) 2>&5
94841   ac_status=$?
94842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94843   (exit $ac_status); }; } &&
94844          { ac_try='test -s conftest.$ac_objext'
94845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94846   (eval $ac_try) 2>&5
94847   ac_status=$?
94848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94849   (exit $ac_status); }; }; then
94850   ac_header_compiler=yes
94851 else
94852   echo "$as_me: failed program was:" >&5
94853 sed 's/^/| /' conftest.$ac_ext >&5
94854
94855 ac_header_compiler=no
94856 fi
94857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94858 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
94859 echo "${ECHO_T}$ac_header_compiler" >&6
94860
94861 # Is the header present?
94862 echo "$as_me:$LINENO: checking $ac_header presence" >&5
94863 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
94864 cat >conftest.$ac_ext <<_ACEOF
94865 /* confdefs.h.  */
94866 _ACEOF
94867 cat confdefs.h >>conftest.$ac_ext
94868 cat >>conftest.$ac_ext <<_ACEOF
94869 /* end confdefs.h.  */
94870 #include <$ac_header>
94871 _ACEOF
94872 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
94873   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
94874   ac_status=$?
94875   grep -v '^ *+' conftest.er1 >conftest.err
94876   rm -f conftest.er1
94877   cat conftest.err >&5
94878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94879   (exit $ac_status); } >/dev/null; then
94880   if test -s conftest.err; then
94881     ac_cpp_err=$ac_c_preproc_warn_flag
94882     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
94883   else
94884     ac_cpp_err=
94885   fi
94886 else
94887   ac_cpp_err=yes
94888 fi
94889 if test -z "$ac_cpp_err"; then
94890   ac_header_preproc=yes
94891 else
94892   echo "$as_me: failed program was:" >&5
94893 sed 's/^/| /' conftest.$ac_ext >&5
94894
94895   ac_header_preproc=no
94896 fi
94897 rm -f conftest.err conftest.$ac_ext
94898 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
94899 echo "${ECHO_T}$ac_header_preproc" >&6
94900
94901 # So?  What about this header?
94902 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
94903   yes:no: )
94904     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
94905 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
94906     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
94907 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
94908     ac_header_preproc=yes
94909     ;;
94910   no:yes:* )
94911     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
94912 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
94913     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
94914 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
94915     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
94916 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
94917     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
94918 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
94919     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
94920 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
94921     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
94922 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
94923     (
94924       cat <<\_ASBOX
94925 ## ----------------------------------------- ##
94926 ## Report this to the package-unused lists.  ##
94927 ## ----------------------------------------- ##
94928 _ASBOX
94929     ) |
94930       sed "s/^/$as_me: WARNING:     /" >&2
94931     ;;
94932 esac
94933 echo "$as_me:$LINENO: checking for $ac_header" >&5
94934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94936   echo $ECHO_N "(cached) $ECHO_C" >&6
94937 else
94938   eval "$as_ac_Header=\$ac_header_preproc"
94939 fi
94940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94941 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94942
94943 fi
94944 if test `eval echo '${'$as_ac_Header'}'` = yes; then
94945   cat >>confdefs.h <<_ACEOF
94946 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
94947 _ACEOF
94948  ac_has_wctype_h=yes
94949 else
94950   ac_has_wctype_h=no
94951 fi
94952
94953 done
94954
94955
94956   # Only continue checking if the ISO C99 headers exist and support is on.
94957   if test x"$ac_has_wchar_h" = xyes &&
94958      test x"$ac_has_wctype_h" = xyes &&
94959      test x"$enable_c_mbchar" != xno; then
94960
94961     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
94962     # numeric_limits can instantiate type_traits<wchar_t>
94963     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
94964 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
94965     cat >conftest.$ac_ext <<_ACEOF
94966 /* confdefs.h.  */
94967 _ACEOF
94968 cat confdefs.h >>conftest.$ac_ext
94969 cat >>conftest.$ac_ext <<_ACEOF
94970 /* end confdefs.h.  */
94971 #include <wchar.h>
94972 int
94973 main ()
94974 {
94975 int i = WCHAR_MIN; int j = WCHAR_MAX;
94976   ;
94977   return 0;
94978 }
94979 _ACEOF
94980 rm -f conftest.$ac_objext
94981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94982   (eval $ac_compile) 2>conftest.er1
94983   ac_status=$?
94984   grep -v '^ *+' conftest.er1 >conftest.err
94985   rm -f conftest.er1
94986   cat conftest.err >&5
94987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94988   (exit $ac_status); } &&
94989          { ac_try='test -z "$ac_c_werror_flag"
94990                          || test ! -s conftest.err'
94991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94992   (eval $ac_try) 2>&5
94993   ac_status=$?
94994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94995   (exit $ac_status); }; } &&
94996          { ac_try='test -s conftest.$ac_objext'
94997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94998   (eval $ac_try) 2>&5
94999   ac_status=$?
95000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95001   (exit $ac_status); }; }; then
95002   has_wchar_minmax=yes
95003 else
95004   echo "$as_me: failed program was:" >&5
95005 sed 's/^/| /' conftest.$ac_ext >&5
95006
95007 has_wchar_minmax=no
95008 fi
95009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95010     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
95011 echo "${ECHO_T}$has_wchar_minmax" >&6
95012
95013     # Test wchar.h for WEOF, which is what we use to determine whether
95014     # to specialize for char_traits<wchar_t> or not.
95015     echo "$as_me:$LINENO: checking for WEOF" >&5
95016 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
95017     cat >conftest.$ac_ext <<_ACEOF
95018 /* confdefs.h.  */
95019 _ACEOF
95020 cat confdefs.h >>conftest.$ac_ext
95021 cat >>conftest.$ac_ext <<_ACEOF
95022 /* end confdefs.h.  */
95023
95024       #include <wchar.h>
95025       #include <stddef.h>
95026 int
95027 main ()
95028 {
95029 wint_t i = WEOF;
95030   ;
95031   return 0;
95032 }
95033 _ACEOF
95034 rm -f conftest.$ac_objext
95035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95036   (eval $ac_compile) 2>conftest.er1
95037   ac_status=$?
95038   grep -v '^ *+' conftest.er1 >conftest.err
95039   rm -f conftest.er1
95040   cat conftest.err >&5
95041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95042   (exit $ac_status); } &&
95043          { ac_try='test -z "$ac_c_werror_flag"
95044                          || test ! -s conftest.err'
95045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95046   (eval $ac_try) 2>&5
95047   ac_status=$?
95048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95049   (exit $ac_status); }; } &&
95050          { ac_try='test -s conftest.$ac_objext'
95051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95052   (eval $ac_try) 2>&5
95053   ac_status=$?
95054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95055   (exit $ac_status); }; }; then
95056   has_weof=yes
95057 else
95058   echo "$as_me: failed program was:" >&5
95059 sed 's/^/| /' conftest.$ac_ext >&5
95060
95061 has_weof=no
95062 fi
95063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95064     echo "$as_me:$LINENO: result: $has_weof" >&5
95065 echo "${ECHO_T}$has_weof" >&6
95066
95067     # Tests for wide character functions used in char_traits<wchar_t>.
95068     ac_wfuncs=yes
95069
95070
95071
95072
95073
95074
95075 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
95076 do
95077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95078 echo "$as_me:$LINENO: checking for $ac_func" >&5
95079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95080 if eval "test \"\${$as_ac_var+set}\" = set"; then
95081   echo $ECHO_N "(cached) $ECHO_C" >&6
95082 else
95083   if test x$gcc_no_link = xyes; then
95084   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95086    { (exit 1); exit 1; }; }
95087 fi
95088 cat >conftest.$ac_ext <<_ACEOF
95089 /* confdefs.h.  */
95090 _ACEOF
95091 cat confdefs.h >>conftest.$ac_ext
95092 cat >>conftest.$ac_ext <<_ACEOF
95093 /* end confdefs.h.  */
95094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95095    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95096 #define $ac_func innocuous_$ac_func
95097
95098 /* System header to define __stub macros and hopefully few prototypes,
95099     which can conflict with char $ac_func (); below.
95100     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95101     <limits.h> exists even on freestanding compilers.  */
95102
95103 #ifdef __STDC__
95104 # include <limits.h>
95105 #else
95106 # include <assert.h>
95107 #endif
95108
95109 #undef $ac_func
95110
95111 /* Override any gcc2 internal prototype to avoid an error.  */
95112 #ifdef __cplusplus
95113 extern "C"
95114 {
95115 #endif
95116 /* We use char because int might match the return type of a gcc2
95117    builtin and then its argument prototype would still apply.  */
95118 char $ac_func ();
95119 /* The GNU C library defines this for functions which it implements
95120     to always fail with ENOSYS.  Some functions are actually named
95121     something starting with __ and the normal name is an alias.  */
95122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95123 choke me
95124 #else
95125 char (*f) () = $ac_func;
95126 #endif
95127 #ifdef __cplusplus
95128 }
95129 #endif
95130
95131 int
95132 main ()
95133 {
95134 return f != $ac_func;
95135   ;
95136   return 0;
95137 }
95138 _ACEOF
95139 rm -f conftest.$ac_objext conftest$ac_exeext
95140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95141   (eval $ac_link) 2>conftest.er1
95142   ac_status=$?
95143   grep -v '^ *+' conftest.er1 >conftest.err
95144   rm -f conftest.er1
95145   cat conftest.err >&5
95146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95147   (exit $ac_status); } &&
95148          { ac_try='test -z "$ac_c_werror_flag"
95149                          || test ! -s conftest.err'
95150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95151   (eval $ac_try) 2>&5
95152   ac_status=$?
95153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95154   (exit $ac_status); }; } &&
95155          { ac_try='test -s conftest$ac_exeext'
95156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95157   (eval $ac_try) 2>&5
95158   ac_status=$?
95159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95160   (exit $ac_status); }; }; then
95161   eval "$as_ac_var=yes"
95162 else
95163   echo "$as_me: failed program was:" >&5
95164 sed 's/^/| /' conftest.$ac_ext >&5
95165
95166 eval "$as_ac_var=no"
95167 fi
95168 rm -f conftest.err conftest.$ac_objext \
95169       conftest$ac_exeext conftest.$ac_ext
95170 fi
95171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95173 if test `eval echo '${'$as_ac_var'}'` = yes; then
95174   cat >>confdefs.h <<_ACEOF
95175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95176 _ACEOF
95177
95178 else
95179   ac_wfuncs=no
95180 fi
95181 done
95182
95183
95184     # Checks for names injected into std:: by the c_std headers.
95185
95186
95187
95188
95189
95190
95191
95192
95193
95194
95195
95196
95197
95198
95199
95200
95201
95202
95203
95204
95205
95206
95207
95208
95209
95210
95211
95212
95213
95214
95215
95216
95217
95218
95219
95220
95221
95222
95223
95224
95225
95226
95227
95228
95229
95230
95231 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
95232     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
95233     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
95234     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
95235     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
95236     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
95237 do
95238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95239 echo "$as_me:$LINENO: checking for $ac_func" >&5
95240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95241 if eval "test \"\${$as_ac_var+set}\" = set"; then
95242   echo $ECHO_N "(cached) $ECHO_C" >&6
95243 else
95244   if test x$gcc_no_link = xyes; then
95245   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95247    { (exit 1); exit 1; }; }
95248 fi
95249 cat >conftest.$ac_ext <<_ACEOF
95250 /* confdefs.h.  */
95251 _ACEOF
95252 cat confdefs.h >>conftest.$ac_ext
95253 cat >>conftest.$ac_ext <<_ACEOF
95254 /* end confdefs.h.  */
95255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95256    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95257 #define $ac_func innocuous_$ac_func
95258
95259 /* System header to define __stub macros and hopefully few prototypes,
95260     which can conflict with char $ac_func (); below.
95261     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95262     <limits.h> exists even on freestanding compilers.  */
95263
95264 #ifdef __STDC__
95265 # include <limits.h>
95266 #else
95267 # include <assert.h>
95268 #endif
95269
95270 #undef $ac_func
95271
95272 /* Override any gcc2 internal prototype to avoid an error.  */
95273 #ifdef __cplusplus
95274 extern "C"
95275 {
95276 #endif
95277 /* We use char because int might match the return type of a gcc2
95278    builtin and then its argument prototype would still apply.  */
95279 char $ac_func ();
95280 /* The GNU C library defines this for functions which it implements
95281     to always fail with ENOSYS.  Some functions are actually named
95282     something starting with __ and the normal name is an alias.  */
95283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95284 choke me
95285 #else
95286 char (*f) () = $ac_func;
95287 #endif
95288 #ifdef __cplusplus
95289 }
95290 #endif
95291
95292 int
95293 main ()
95294 {
95295 return f != $ac_func;
95296   ;
95297   return 0;
95298 }
95299 _ACEOF
95300 rm -f conftest.$ac_objext conftest$ac_exeext
95301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95302   (eval $ac_link) 2>conftest.er1
95303   ac_status=$?
95304   grep -v '^ *+' conftest.er1 >conftest.err
95305   rm -f conftest.er1
95306   cat conftest.err >&5
95307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95308   (exit $ac_status); } &&
95309          { ac_try='test -z "$ac_c_werror_flag"
95310                          || test ! -s conftest.err'
95311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95312   (eval $ac_try) 2>&5
95313   ac_status=$?
95314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95315   (exit $ac_status); }; } &&
95316          { ac_try='test -s conftest$ac_exeext'
95317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95318   (eval $ac_try) 2>&5
95319   ac_status=$?
95320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95321   (exit $ac_status); }; }; then
95322   eval "$as_ac_var=yes"
95323 else
95324   echo "$as_me: failed program was:" >&5
95325 sed 's/^/| /' conftest.$ac_ext >&5
95326
95327 eval "$as_ac_var=no"
95328 fi
95329 rm -f conftest.err conftest.$ac_objext \
95330       conftest$ac_exeext conftest.$ac_ext
95331 fi
95332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95334 if test `eval echo '${'$as_ac_var'}'` = yes; then
95335   cat >>confdefs.h <<_ACEOF
95336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95337 _ACEOF
95338
95339 else
95340   ac_wfuncs=no
95341 fi
95342 done
95343
95344
95345     # Checks for wide character functions that are not required
95346     # for basic wchar_t support.  Don't disable support if they are missing.
95347     # Injection of these is wrapped with guard macros.
95348
95349
95350
95351
95352
95353 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
95354 do
95355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95356 echo "$as_me:$LINENO: checking for $ac_func" >&5
95357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95358 if eval "test \"\${$as_ac_var+set}\" = set"; then
95359   echo $ECHO_N "(cached) $ECHO_C" >&6
95360 else
95361   if test x$gcc_no_link = xyes; then
95362   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95364    { (exit 1); exit 1; }; }
95365 fi
95366 cat >conftest.$ac_ext <<_ACEOF
95367 /* confdefs.h.  */
95368 _ACEOF
95369 cat confdefs.h >>conftest.$ac_ext
95370 cat >>conftest.$ac_ext <<_ACEOF
95371 /* end confdefs.h.  */
95372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95373    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95374 #define $ac_func innocuous_$ac_func
95375
95376 /* System header to define __stub macros and hopefully few prototypes,
95377     which can conflict with char $ac_func (); below.
95378     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95379     <limits.h> exists even on freestanding compilers.  */
95380
95381 #ifdef __STDC__
95382 # include <limits.h>
95383 #else
95384 # include <assert.h>
95385 #endif
95386
95387 #undef $ac_func
95388
95389 /* Override any gcc2 internal prototype to avoid an error.  */
95390 #ifdef __cplusplus
95391 extern "C"
95392 {
95393 #endif
95394 /* We use char because int might match the return type of a gcc2
95395    builtin and then its argument prototype would still apply.  */
95396 char $ac_func ();
95397 /* The GNU C library defines this for functions which it implements
95398     to always fail with ENOSYS.  Some functions are actually named
95399     something starting with __ and the normal name is an alias.  */
95400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95401 choke me
95402 #else
95403 char (*f) () = $ac_func;
95404 #endif
95405 #ifdef __cplusplus
95406 }
95407 #endif
95408
95409 int
95410 main ()
95411 {
95412 return f != $ac_func;
95413   ;
95414   return 0;
95415 }
95416 _ACEOF
95417 rm -f conftest.$ac_objext conftest$ac_exeext
95418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95419   (eval $ac_link) 2>conftest.er1
95420   ac_status=$?
95421   grep -v '^ *+' conftest.er1 >conftest.err
95422   rm -f conftest.er1
95423   cat conftest.err >&5
95424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95425   (exit $ac_status); } &&
95426          { ac_try='test -z "$ac_c_werror_flag"
95427                          || test ! -s conftest.err'
95428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95429   (eval $ac_try) 2>&5
95430   ac_status=$?
95431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95432   (exit $ac_status); }; } &&
95433          { ac_try='test -s conftest$ac_exeext'
95434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95435   (eval $ac_try) 2>&5
95436   ac_status=$?
95437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95438   (exit $ac_status); }; }; then
95439   eval "$as_ac_var=yes"
95440 else
95441   echo "$as_me: failed program was:" >&5
95442 sed 's/^/| /' conftest.$ac_ext >&5
95443
95444 eval "$as_ac_var=no"
95445 fi
95446 rm -f conftest.err conftest.$ac_objext \
95447       conftest$ac_exeext conftest.$ac_ext
95448 fi
95449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95451 if test `eval echo '${'$as_ac_var'}'` = yes; then
95452   cat >>confdefs.h <<_ACEOF
95453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95454 _ACEOF
95455
95456 fi
95457 done
95458
95459
95460     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
95461 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
95462     if test x"$has_weof" = xyes &&
95463        test x"$has_wchar_minmax" = xyes &&
95464        test x"$ac_wfuncs" = xyes;
95465     then
95466       ac_isoC99_wchar_t=yes
95467     else
95468       ac_isoC99_wchar_t=no
95469     fi
95470     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
95471 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
95472
95473     # Use iconv for wchar_t to char conversions. As such, check for
95474     # X/Open Portability Guide, version 2 features (XPG2).
95475     if test "${ac_cv_header_iconv_h+set}" = set; then
95476   echo "$as_me:$LINENO: checking for iconv.h" >&5
95477 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
95478 if test "${ac_cv_header_iconv_h+set}" = set; then
95479   echo $ECHO_N "(cached) $ECHO_C" >&6
95480 fi
95481 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
95482 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
95483 else
95484   # Is the header compilable?
95485 echo "$as_me:$LINENO: checking iconv.h usability" >&5
95486 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
95487 cat >conftest.$ac_ext <<_ACEOF
95488 /* confdefs.h.  */
95489 _ACEOF
95490 cat confdefs.h >>conftest.$ac_ext
95491 cat >>conftest.$ac_ext <<_ACEOF
95492 /* end confdefs.h.  */
95493 $ac_includes_default
95494 #include <iconv.h>
95495 _ACEOF
95496 rm -f conftest.$ac_objext
95497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95498   (eval $ac_compile) 2>conftest.er1
95499   ac_status=$?
95500   grep -v '^ *+' conftest.er1 >conftest.err
95501   rm -f conftest.er1
95502   cat conftest.err >&5
95503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95504   (exit $ac_status); } &&
95505          { ac_try='test -z "$ac_c_werror_flag"
95506                          || test ! -s conftest.err'
95507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95508   (eval $ac_try) 2>&5
95509   ac_status=$?
95510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95511   (exit $ac_status); }; } &&
95512          { ac_try='test -s conftest.$ac_objext'
95513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95514   (eval $ac_try) 2>&5
95515   ac_status=$?
95516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95517   (exit $ac_status); }; }; then
95518   ac_header_compiler=yes
95519 else
95520   echo "$as_me: failed program was:" >&5
95521 sed 's/^/| /' conftest.$ac_ext >&5
95522
95523 ac_header_compiler=no
95524 fi
95525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95526 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
95527 echo "${ECHO_T}$ac_header_compiler" >&6
95528
95529 # Is the header present?
95530 echo "$as_me:$LINENO: checking iconv.h presence" >&5
95531 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
95532 cat >conftest.$ac_ext <<_ACEOF
95533 /* confdefs.h.  */
95534 _ACEOF
95535 cat confdefs.h >>conftest.$ac_ext
95536 cat >>conftest.$ac_ext <<_ACEOF
95537 /* end confdefs.h.  */
95538 #include <iconv.h>
95539 _ACEOF
95540 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
95541   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
95542   ac_status=$?
95543   grep -v '^ *+' conftest.er1 >conftest.err
95544   rm -f conftest.er1
95545   cat conftest.err >&5
95546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95547   (exit $ac_status); } >/dev/null; then
95548   if test -s conftest.err; then
95549     ac_cpp_err=$ac_c_preproc_warn_flag
95550     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
95551   else
95552     ac_cpp_err=
95553   fi
95554 else
95555   ac_cpp_err=yes
95556 fi
95557 if test -z "$ac_cpp_err"; then
95558   ac_header_preproc=yes
95559 else
95560   echo "$as_me: failed program was:" >&5
95561 sed 's/^/| /' conftest.$ac_ext >&5
95562
95563   ac_header_preproc=no
95564 fi
95565 rm -f conftest.err conftest.$ac_ext
95566 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
95567 echo "${ECHO_T}$ac_header_preproc" >&6
95568
95569 # So?  What about this header?
95570 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
95571   yes:no: )
95572     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
95573 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
95574     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
95575 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
95576     ac_header_preproc=yes
95577     ;;
95578   no:yes:* )
95579     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
95580 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
95581     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
95582 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
95583     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
95584 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
95585     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
95586 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
95587     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
95588 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
95589     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
95590 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
95591     (
95592       cat <<\_ASBOX
95593 ## ----------------------------------------- ##
95594 ## Report this to the package-unused lists.  ##
95595 ## ----------------------------------------- ##
95596 _ASBOX
95597     ) |
95598       sed "s/^/$as_me: WARNING:     /" >&2
95599     ;;
95600 esac
95601 echo "$as_me:$LINENO: checking for iconv.h" >&5
95602 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
95603 if test "${ac_cv_header_iconv_h+set}" = set; then
95604   echo $ECHO_N "(cached) $ECHO_C" >&6
95605 else
95606   ac_cv_header_iconv_h=$ac_header_preproc
95607 fi
95608 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
95609 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
95610
95611 fi
95612 if test $ac_cv_header_iconv_h = yes; then
95613   ac_has_iconv_h=yes
95614 else
95615   ac_has_iconv_h=no
95616 fi
95617
95618
95619     if test "${ac_cv_header_langinfo_h+set}" = set; then
95620   echo "$as_me:$LINENO: checking for langinfo.h" >&5
95621 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
95622 if test "${ac_cv_header_langinfo_h+set}" = set; then
95623   echo $ECHO_N "(cached) $ECHO_C" >&6
95624 fi
95625 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
95626 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
95627 else
95628   # Is the header compilable?
95629 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
95630 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
95631 cat >conftest.$ac_ext <<_ACEOF
95632 /* confdefs.h.  */
95633 _ACEOF
95634 cat confdefs.h >>conftest.$ac_ext
95635 cat >>conftest.$ac_ext <<_ACEOF
95636 /* end confdefs.h.  */
95637 $ac_includes_default
95638 #include <langinfo.h>
95639 _ACEOF
95640 rm -f conftest.$ac_objext
95641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95642   (eval $ac_compile) 2>conftest.er1
95643   ac_status=$?
95644   grep -v '^ *+' conftest.er1 >conftest.err
95645   rm -f conftest.er1
95646   cat conftest.err >&5
95647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95648   (exit $ac_status); } &&
95649          { ac_try='test -z "$ac_c_werror_flag"
95650                          || test ! -s conftest.err'
95651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95652   (eval $ac_try) 2>&5
95653   ac_status=$?
95654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95655   (exit $ac_status); }; } &&
95656          { ac_try='test -s conftest.$ac_objext'
95657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95658   (eval $ac_try) 2>&5
95659   ac_status=$?
95660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95661   (exit $ac_status); }; }; then
95662   ac_header_compiler=yes
95663 else
95664   echo "$as_me: failed program was:" >&5
95665 sed 's/^/| /' conftest.$ac_ext >&5
95666
95667 ac_header_compiler=no
95668 fi
95669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95670 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
95671 echo "${ECHO_T}$ac_header_compiler" >&6
95672
95673 # Is the header present?
95674 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
95675 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
95676 cat >conftest.$ac_ext <<_ACEOF
95677 /* confdefs.h.  */
95678 _ACEOF
95679 cat confdefs.h >>conftest.$ac_ext
95680 cat >>conftest.$ac_ext <<_ACEOF
95681 /* end confdefs.h.  */
95682 #include <langinfo.h>
95683 _ACEOF
95684 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
95685   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
95686   ac_status=$?
95687   grep -v '^ *+' conftest.er1 >conftest.err
95688   rm -f conftest.er1
95689   cat conftest.err >&5
95690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95691   (exit $ac_status); } >/dev/null; then
95692   if test -s conftest.err; then
95693     ac_cpp_err=$ac_c_preproc_warn_flag
95694     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
95695   else
95696     ac_cpp_err=
95697   fi
95698 else
95699   ac_cpp_err=yes
95700 fi
95701 if test -z "$ac_cpp_err"; then
95702   ac_header_preproc=yes
95703 else
95704   echo "$as_me: failed program was:" >&5
95705 sed 's/^/| /' conftest.$ac_ext >&5
95706
95707   ac_header_preproc=no
95708 fi
95709 rm -f conftest.err conftest.$ac_ext
95710 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
95711 echo "${ECHO_T}$ac_header_preproc" >&6
95712
95713 # So?  What about this header?
95714 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
95715   yes:no: )
95716     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
95717 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
95718     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
95719 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
95720     ac_header_preproc=yes
95721     ;;
95722   no:yes:* )
95723     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
95724 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
95725     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
95726 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
95727     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
95728 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
95729     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
95730 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
95731     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
95732 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
95733     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
95734 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
95735     (
95736       cat <<\_ASBOX
95737 ## ----------------------------------------- ##
95738 ## Report this to the package-unused lists.  ##
95739 ## ----------------------------------------- ##
95740 _ASBOX
95741     ) |
95742       sed "s/^/$as_me: WARNING:     /" >&2
95743     ;;
95744 esac
95745 echo "$as_me:$LINENO: checking for langinfo.h" >&5
95746 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
95747 if test "${ac_cv_header_langinfo_h+set}" = set; then
95748   echo $ECHO_N "(cached) $ECHO_C" >&6
95749 else
95750   ac_cv_header_langinfo_h=$ac_header_preproc
95751 fi
95752 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
95753 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
95754
95755 fi
95756 if test $ac_cv_header_langinfo_h = yes; then
95757   ac_has_langinfo_h=yes
95758 else
95759   ac_has_langinfo_h=no
95760 fi
95761
95762
95763
95764     # Check for existence of libiconv.a providing XPG2 wchar_t support.
95765     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
95766 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
95767 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
95768   echo $ECHO_N "(cached) $ECHO_C" >&6
95769 else
95770   ac_check_lib_save_LIBS=$LIBS
95771 LIBS="-liconv  $LIBS"
95772 if test x$gcc_no_link = xyes; then
95773   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95775    { (exit 1); exit 1; }; }
95776 fi
95777 cat >conftest.$ac_ext <<_ACEOF
95778 /* confdefs.h.  */
95779 _ACEOF
95780 cat confdefs.h >>conftest.$ac_ext
95781 cat >>conftest.$ac_ext <<_ACEOF
95782 /* end confdefs.h.  */
95783
95784 /* Override any gcc2 internal prototype to avoid an error.  */
95785 #ifdef __cplusplus
95786 extern "C"
95787 #endif
95788 /* We use char because int might match the return type of a gcc2
95789    builtin and then its argument prototype would still apply.  */
95790 char iconv ();
95791 int
95792 main ()
95793 {
95794 iconv ();
95795   ;
95796   return 0;
95797 }
95798 _ACEOF
95799 rm -f conftest.$ac_objext conftest$ac_exeext
95800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95801   (eval $ac_link) 2>conftest.er1
95802   ac_status=$?
95803   grep -v '^ *+' conftest.er1 >conftest.err
95804   rm -f conftest.er1
95805   cat conftest.err >&5
95806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95807   (exit $ac_status); } &&
95808          { ac_try='test -z "$ac_c_werror_flag"
95809                          || test ! -s conftest.err'
95810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95811   (eval $ac_try) 2>&5
95812   ac_status=$?
95813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95814   (exit $ac_status); }; } &&
95815          { ac_try='test -s conftest$ac_exeext'
95816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95817   (eval $ac_try) 2>&5
95818   ac_status=$?
95819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95820   (exit $ac_status); }; }; then
95821   ac_cv_lib_iconv_iconv=yes
95822 else
95823   echo "$as_me: failed program was:" >&5
95824 sed 's/^/| /' conftest.$ac_ext >&5
95825
95826 ac_cv_lib_iconv_iconv=no
95827 fi
95828 rm -f conftest.err conftest.$ac_objext \
95829       conftest$ac_exeext conftest.$ac_ext
95830 LIBS=$ac_check_lib_save_LIBS
95831 fi
95832 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
95833 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
95834 if test $ac_cv_lib_iconv_iconv = yes; then
95835   LIBICONV="-liconv"
95836 fi
95837
95838     ac_save_LIBS="$LIBS"
95839     LIBS="$LIBS $LIBICONV"
95840
95841
95842
95843
95844
95845
95846 for ac_func in iconv_open iconv_close iconv nl_langinfo
95847 do
95848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95849 echo "$as_me:$LINENO: checking for $ac_func" >&5
95850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95851 if eval "test \"\${$as_ac_var+set}\" = set"; then
95852   echo $ECHO_N "(cached) $ECHO_C" >&6
95853 else
95854   if test x$gcc_no_link = xyes; then
95855   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95857    { (exit 1); exit 1; }; }
95858 fi
95859 cat >conftest.$ac_ext <<_ACEOF
95860 /* confdefs.h.  */
95861 _ACEOF
95862 cat confdefs.h >>conftest.$ac_ext
95863 cat >>conftest.$ac_ext <<_ACEOF
95864 /* end confdefs.h.  */
95865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95866    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95867 #define $ac_func innocuous_$ac_func
95868
95869 /* System header to define __stub macros and hopefully few prototypes,
95870     which can conflict with char $ac_func (); below.
95871     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95872     <limits.h> exists even on freestanding compilers.  */
95873
95874 #ifdef __STDC__
95875 # include <limits.h>
95876 #else
95877 # include <assert.h>
95878 #endif
95879
95880 #undef $ac_func
95881
95882 /* Override any gcc2 internal prototype to avoid an error.  */
95883 #ifdef __cplusplus
95884 extern "C"
95885 {
95886 #endif
95887 /* We use char because int might match the return type of a gcc2
95888    builtin and then its argument prototype would still apply.  */
95889 char $ac_func ();
95890 /* The GNU C library defines this for functions which it implements
95891     to always fail with ENOSYS.  Some functions are actually named
95892     something starting with __ and the normal name is an alias.  */
95893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95894 choke me
95895 #else
95896 char (*f) () = $ac_func;
95897 #endif
95898 #ifdef __cplusplus
95899 }
95900 #endif
95901
95902 int
95903 main ()
95904 {
95905 return f != $ac_func;
95906   ;
95907   return 0;
95908 }
95909 _ACEOF
95910 rm -f conftest.$ac_objext conftest$ac_exeext
95911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95912   (eval $ac_link) 2>conftest.er1
95913   ac_status=$?
95914   grep -v '^ *+' conftest.er1 >conftest.err
95915   rm -f conftest.er1
95916   cat conftest.err >&5
95917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95918   (exit $ac_status); } &&
95919          { ac_try='test -z "$ac_c_werror_flag"
95920                          || test ! -s conftest.err'
95921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95922   (eval $ac_try) 2>&5
95923   ac_status=$?
95924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95925   (exit $ac_status); }; } &&
95926          { ac_try='test -s conftest$ac_exeext'
95927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95928   (eval $ac_try) 2>&5
95929   ac_status=$?
95930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95931   (exit $ac_status); }; }; then
95932   eval "$as_ac_var=yes"
95933 else
95934   echo "$as_me: failed program was:" >&5
95935 sed 's/^/| /' conftest.$ac_ext >&5
95936
95937 eval "$as_ac_var=no"
95938 fi
95939 rm -f conftest.err conftest.$ac_objext \
95940       conftest$ac_exeext conftest.$ac_ext
95941 fi
95942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95944 if test `eval echo '${'$as_ac_var'}'` = yes; then
95945   cat >>confdefs.h <<_ACEOF
95946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95947 _ACEOF
95948  ac_XPG2funcs=yes
95949 else
95950   ac_XPG2funcs=no
95951 fi
95952 done
95953
95954
95955     LIBS="$ac_save_LIBS"
95956
95957     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
95958 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
95959     if test x"$ac_has_iconv_h" = xyes &&
95960        test x"$ac_has_langinfo_h" = xyes &&
95961        test x"$ac_XPG2funcs" = xyes;
95962     then
95963       ac_XPG2_wchar_t=yes
95964     else
95965       ac_XPG2_wchar_t=no
95966     fi
95967     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
95968 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
95969
95970     # At the moment, only enable wchar_t specializations if all the
95971     # above support is present.
95972     if test x"$ac_isoC99_wchar_t" = xyes &&
95973        test x"$ac_XPG2_wchar_t" = xyes;
95974     then
95975       cat >>confdefs.h <<\_ACEOF
95976 #define _GLIBCXX_USE_WCHAR_T 1
95977 _ACEOF
95978
95979       enable_wchar_t=yes
95980     fi
95981   fi
95982   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
95983 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
95984   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
95985 echo "${ECHO_T}$enable_wchar_t" >&6
95986
95987     cat >>confdefs.h <<\_ACEOF
95988 #define HAVE_COPYSIGN 1
95989 _ACEOF
95990
95991     cat >>confdefs.h <<\_ACEOF
95992 #define HAVE_COPYSIGNF 1
95993 _ACEOF
95994
95995     cat >>confdefs.h <<\_ACEOF
95996 #define HAVE_FINITE 1
95997 _ACEOF
95998
95999     cat >>confdefs.h <<\_ACEOF
96000 #define HAVE_FINITEF 1
96001 _ACEOF
96002
96003     cat >>confdefs.h <<\_ACEOF
96004 #define HAVE_FREXPF 1
96005 _ACEOF
96006
96007     cat >>confdefs.h <<\_ACEOF
96008 #define HAVE_HYPOTF 1
96009 _ACEOF
96010
96011     cat >>confdefs.h <<\_ACEOF
96012 #define HAVE_ISINF 1
96013 _ACEOF
96014
96015     cat >>confdefs.h <<\_ACEOF
96016 #define HAVE_ISINFF 1
96017 _ACEOF
96018
96019     cat >>confdefs.h <<\_ACEOF
96020 #define HAVE_ISNAN 1
96021 _ACEOF
96022
96023     cat >>confdefs.h <<\_ACEOF
96024 #define HAVE_ISNANF 1
96025 _ACEOF
96026
96027     cat >>confdefs.h <<\_ACEOF
96028 #define HAVE_SINCOS 1
96029 _ACEOF
96030
96031     cat >>confdefs.h <<\_ACEOF
96032 #define HAVE_SINCOSF 1
96033 _ACEOF
96034
96035     if test x"long_double_math_on_this_cpu" = x"yes"; then
96036       cat >>confdefs.h <<\_ACEOF
96037 #define HAVE_FINITEL 1
96038 _ACEOF
96039
96040       cat >>confdefs.h <<\_ACEOF
96041 #define HAVE_HYPOTL 1
96042 _ACEOF
96043
96044       cat >>confdefs.h <<\_ACEOF
96045 #define HAVE_ISINFL 1
96046 _ACEOF
96047
96048       cat >>confdefs.h <<\_ACEOF
96049 #define HAVE_ISNANL 1
96050 _ACEOF
96051
96052     fi
96053     ;;
96054   *-vxworks)
96055     cat >>confdefs.h <<\_ACEOF
96056 #define HAVE_MMAP 1
96057 _ACEOF
96058
96059     cat >>confdefs.h <<\_ACEOF
96060 #define HAVE_ACOSF 1
96061 _ACEOF
96062
96063     cat >>confdefs.h <<\_ACEOF
96064 #define HAVE_ASINF 1
96065 _ACEOF
96066
96067     cat >>confdefs.h <<\_ACEOF
96068 #define HAVE_ATAN2F 1
96069 _ACEOF
96070
96071     cat >>confdefs.h <<\_ACEOF
96072 #define HAVE_ATANF 1
96073 _ACEOF
96074
96075     cat >>confdefs.h <<\_ACEOF
96076 #define HAVE_CEILF 1
96077 _ACEOF
96078
96079     cat >>confdefs.h <<\_ACEOF
96080 #define HAVE_COSF 1
96081 _ACEOF
96082
96083     cat >>confdefs.h <<\_ACEOF
96084 #define HAVE_COSHF 1
96085 _ACEOF
96086
96087     cat >>confdefs.h <<\_ACEOF
96088 #define HAVE_EXPF 1
96089 _ACEOF
96090
96091     cat >>confdefs.h <<\_ACEOF
96092 #define HAVE_FABSF 1
96093 _ACEOF
96094
96095     cat >>confdefs.h <<\_ACEOF
96096 #define HAVE_FLOORF 1
96097 _ACEOF
96098
96099     cat >>confdefs.h <<\_ACEOF
96100 #define HAVE_FMODF 1
96101 _ACEOF
96102
96103     cat >>confdefs.h <<\_ACEOF
96104 #define HAVE_HYPOT 1
96105 _ACEOF
96106
96107     cat >>confdefs.h <<\_ACEOF
96108 #define HAVE_LOG10F 1
96109 _ACEOF
96110
96111     cat >>confdefs.h <<\_ACEOF
96112 #define HAVE_LOGF 1
96113 _ACEOF
96114
96115     cat >>confdefs.h <<\_ACEOF
96116 #define HAVE_POWF 1
96117 _ACEOF
96118
96119     cat >>confdefs.h <<\_ACEOF
96120 #define HAVE_SINF 1
96121 _ACEOF
96122
96123     cat >>confdefs.h <<\_ACEOF
96124 #define HAVE_SINHF 1
96125 _ACEOF
96126
96127     cat >>confdefs.h <<\_ACEOF
96128 #define HAVE_SQRTF 1
96129 _ACEOF
96130
96131     cat >>confdefs.h <<\_ACEOF
96132 #define HAVE_TANF 1
96133 _ACEOF
96134
96135     cat >>confdefs.h <<\_ACEOF
96136 #define HAVE_TANHF 1
96137 _ACEOF
96138
96139     ;;
96140   *-windiss*)
96141     cat >>confdefs.h <<\_ACEOF
96142 #define HAVE_ACOSF 1
96143 _ACEOF
96144
96145     cat >>confdefs.h <<\_ACEOF
96146 #define HAVE_ACOSL 1
96147 _ACEOF
96148
96149     cat >>confdefs.h <<\_ACEOF
96150 #define HAVE_ASINF 1
96151 _ACEOF
96152
96153     cat >>confdefs.h <<\_ACEOF
96154 #define HAVE_ASINL 1
96155 _ACEOF
96156
96157     cat >>confdefs.h <<\_ACEOF
96158 #define HAVE_ATAN2F 1
96159 _ACEOF
96160
96161     cat >>confdefs.h <<\_ACEOF
96162 #define HAVE_ATAN2L 1
96163 _ACEOF
96164
96165     cat >>confdefs.h <<\_ACEOF
96166 #define HAVE_ATANF 1
96167 _ACEOF
96168
96169     cat >>confdefs.h <<\_ACEOF
96170 #define HAVE_ATANL 1
96171 _ACEOF
96172
96173     cat >>confdefs.h <<\_ACEOF
96174 #define HAVE_CEILF 1
96175 _ACEOF
96176
96177     cat >>confdefs.h <<\_ACEOF
96178 #define HAVE_CEILL 1
96179 _ACEOF
96180
96181     cat >>confdefs.h <<\_ACEOF
96182 #define HAVE_COPYSIGN 1
96183 _ACEOF
96184
96185     cat >>confdefs.h <<\_ACEOF
96186 #define HAVE_COPYSIGNF 1
96187 _ACEOF
96188
96189     cat >>confdefs.h <<\_ACEOF
96190 #define HAVE_COSF 1
96191 _ACEOF
96192
96193     cat >>confdefs.h <<\_ACEOF
96194 #define HAVE_COSL 1
96195 _ACEOF
96196
96197     cat >>confdefs.h <<\_ACEOF
96198 #define HAVE_COSHF 1
96199 _ACEOF
96200
96201     cat >>confdefs.h <<\_ACEOF
96202 #define HAVE_COSHL 1
96203 _ACEOF
96204
96205     cat >>confdefs.h <<\_ACEOF
96206 #define HAVE_EXPF 1
96207 _ACEOF
96208
96209     cat >>confdefs.h <<\_ACEOF
96210 #define HAVE_EXPL 1
96211 _ACEOF
96212
96213     cat >>confdefs.h <<\_ACEOF
96214 #define HAVE_FABSF 1
96215 _ACEOF
96216
96217     cat >>confdefs.h <<\_ACEOF
96218 #define HAVE_FABSL 1
96219 _ACEOF
96220
96221     cat >>confdefs.h <<\_ACEOF
96222 #define HAVE_FLOORF 1
96223 _ACEOF
96224
96225     cat >>confdefs.h <<\_ACEOF
96226 #define HAVE_FLOORL 1
96227 _ACEOF
96228
96229     cat >>confdefs.h <<\_ACEOF
96230 #define HAVE_FMODF 1
96231 _ACEOF
96232
96233     cat >>confdefs.h <<\_ACEOF
96234 #define HAVE_FMODL 1
96235 _ACEOF
96236
96237     cat >>confdefs.h <<\_ACEOF
96238 #define HAVE_FREXPF 1
96239 _ACEOF
96240
96241     cat >>confdefs.h <<\_ACEOF
96242 #define HAVE_FREXPL 1
96243 _ACEOF
96244
96245     cat >>confdefs.h <<\_ACEOF
96246 #define HAVE_LDEXPF 1
96247 _ACEOF
96248
96249     cat >>confdefs.h <<\_ACEOF
96250 #define HAVE_LDEXPL 1
96251 _ACEOF
96252
96253     cat >>confdefs.h <<\_ACEOF
96254 #define HAVE_LOG10F 1
96255 _ACEOF
96256
96257     cat >>confdefs.h <<\_ACEOF
96258 #define HAVE_LOG10L 1
96259 _ACEOF
96260
96261     cat >>confdefs.h <<\_ACEOF
96262 #define HAVE_LOGF 1
96263 _ACEOF
96264
96265     cat >>confdefs.h <<\_ACEOF
96266 #define HAVE_MODFF 1
96267 _ACEOF
96268
96269     cat >>confdefs.h <<\_ACEOF
96270 #define HAVE_MODFL 1
96271 _ACEOF
96272
96273     cat >>confdefs.h <<\_ACEOF
96274 #define HAVE_POWF 1
96275 _ACEOF
96276
96277     cat >>confdefs.h <<\_ACEOF
96278 #define HAVE_POWL 1
96279 _ACEOF
96280
96281     cat >>confdefs.h <<\_ACEOF
96282 #define HAVE_SINF 1
96283 _ACEOF
96284
96285     cat >>confdefs.h <<\_ACEOF
96286 #define HAVE_SINL 1
96287 _ACEOF
96288
96289     cat >>confdefs.h <<\_ACEOF
96290 #define HAVE_SINHF 1
96291 _ACEOF
96292
96293     cat >>confdefs.h <<\_ACEOF
96294 #define HAVE_SINHL 1
96295 _ACEOF
96296
96297     cat >>confdefs.h <<\_ACEOF
96298 #define HAVE_SQRTF 1
96299 _ACEOF
96300
96301     cat >>confdefs.h <<\_ACEOF
96302 #define HAVE_SQRTL 1
96303 _ACEOF
96304
96305     cat >>confdefs.h <<\_ACEOF
96306 #define HAVE_TANF 1
96307 _ACEOF
96308
96309     cat >>confdefs.h <<\_ACEOF
96310 #define HAVE_TANL 1
96311 _ACEOF
96312
96313     cat >>confdefs.h <<\_ACEOF
96314 #define HAVE_TANHF 1
96315 _ACEOF
96316
96317     cat >>confdefs.h <<\_ACEOF
96318 #define HAVE_TANHL 1
96319 _ACEOF
96320
96321     ;;
96322   *)
96323     { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
96324 echo "$as_me: error: No support for this host/target combination." >&2;}
96325    { (exit 1); exit 1; }; }
96326    ;;
96327 esac
96328
96329
96330   fi
96331
96332   # At some point, we should differentiate between architectures
96333   # like x86, which have long double versions, and alpha/powerpc/etc.,
96334   # which don't. For the time being, punt.
96335   if test x"long_double_math_on_this_cpu" = x"yes"; then
96336     cat >>confdefs.h <<\_ACEOF
96337 #define HAVE_ACOSL 1
96338 _ACEOF
96339
96340     cat >>confdefs.h <<\_ACEOF
96341 #define HAVE_ASINL 1
96342 _ACEOF
96343
96344     cat >>confdefs.h <<\_ACEOF
96345 #define HAVE_ATAN2L 1
96346 _ACEOF
96347
96348     cat >>confdefs.h <<\_ACEOF
96349 #define HAVE_ATANL 1
96350 _ACEOF
96351
96352     cat >>confdefs.h <<\_ACEOF
96353 #define HAVE_CEILL 1
96354 _ACEOF
96355
96356     cat >>confdefs.h <<\_ACEOF
96357 #define HAVE_COPYSIGNL 1
96358 _ACEOF
96359
96360     cat >>confdefs.h <<\_ACEOF
96361 #define HAVE_COSL 1
96362 _ACEOF
96363
96364     cat >>confdefs.h <<\_ACEOF
96365 #define HAVE_COSHL 1
96366 _ACEOF
96367
96368     cat >>confdefs.h <<\_ACEOF
96369 #define HAVE_EXPL 1
96370 _ACEOF
96371
96372     cat >>confdefs.h <<\_ACEOF
96373 #define HAVE_FABSL 1
96374 _ACEOF
96375
96376     cat >>confdefs.h <<\_ACEOF
96377 #define HAVE_FLOORL 1
96378 _ACEOF
96379
96380     cat >>confdefs.h <<\_ACEOF
96381 #define HAVE_FMODL 1
96382 _ACEOF
96383
96384     cat >>confdefs.h <<\_ACEOF
96385 #define HAVE_FREXPL 1
96386 _ACEOF
96387
96388     cat >>confdefs.h <<\_ACEOF
96389 #define HAVE_LDEXPL 1
96390 _ACEOF
96391
96392     cat >>confdefs.h <<\_ACEOF
96393 #define HAVE_LOG10L 1
96394 _ACEOF
96395
96396     cat >>confdefs.h <<\_ACEOF
96397 #define HAVE_LOGL 1
96398 _ACEOF
96399
96400     cat >>confdefs.h <<\_ACEOF
96401 #define HAVE_MODFL 1
96402 _ACEOF
96403
96404     cat >>confdefs.h <<\_ACEOF
96405 #define HAVE_POWL 1
96406 _ACEOF
96407
96408     cat >>confdefs.h <<\_ACEOF
96409 #define HAVE_SINCOSL 1
96410 _ACEOF
96411
96412     cat >>confdefs.h <<\_ACEOF
96413 #define HAVE_SINL 1
96414 _ACEOF
96415
96416     cat >>confdefs.h <<\_ACEOF
96417 #define HAVE_SINHL 1
96418 _ACEOF
96419
96420     cat >>confdefs.h <<\_ACEOF
96421 #define HAVE_SQRTL 1
96422 _ACEOF
96423
96424     cat >>confdefs.h <<\_ACEOF
96425 #define HAVE_TANL 1
96426 _ACEOF
96427
96428     cat >>confdefs.h <<\_ACEOF
96429 #define HAVE_TANHL 1
96430 _ACEOF
96431
96432   fi
96433
96434 fi
96435
96436 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
96437
96438
96439  # Check whether --enable-symvers or --disable-symvers was given.
96440 if test "${enable_symvers+set}" = set; then
96441   enableval="$enable_symvers"
96442
96443       case "$enableval" in
96444        yes|no|gnu) ;;
96445        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
96446 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
96447    { (exit 1); exit 1; }; } ;;
96448                           esac
96449
96450 else
96451   enable_symvers=yes
96452 fi;
96453
96454
96455 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
96456 # don't know enough about $LD to do tricks...
96457
96458 # FIXME  The following test is too strict, in theory.
96459 if test $enable_shared = no ||
96460         test "x$LD" = x ||
96461         test x$glibcxx_gnu_ld_version = x; then
96462   enable_symvers=no
96463 fi
96464
96465 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
96466 if test $enable_symvers != no; then
96467   echo "$as_me:$LINENO: checking for shared libgcc" >&5
96468 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
96469   ac_save_CFLAGS="$CFLAGS"
96470   CFLAGS=' -lgcc_s'
96471   if test x$gcc_no_link = xyes; then
96472   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96474    { (exit 1); exit 1; }; }
96475 fi
96476 cat >conftest.$ac_ext <<_ACEOF
96477 /* confdefs.h.  */
96478 _ACEOF
96479 cat confdefs.h >>conftest.$ac_ext
96480 cat >>conftest.$ac_ext <<_ACEOF
96481 /* end confdefs.h.  */
96482
96483 int
96484 main ()
96485 {
96486 return 0;
96487   ;
96488   return 0;
96489 }
96490 _ACEOF
96491 rm -f conftest.$ac_objext conftest$ac_exeext
96492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96493   (eval $ac_link) 2>conftest.er1
96494   ac_status=$?
96495   grep -v '^ *+' conftest.er1 >conftest.err
96496   rm -f conftest.er1
96497   cat conftest.err >&5
96498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96499   (exit $ac_status); } &&
96500          { ac_try='test -z "$ac_c_werror_flag"
96501                          || test ! -s conftest.err'
96502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96503   (eval $ac_try) 2>&5
96504   ac_status=$?
96505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96506   (exit $ac_status); }; } &&
96507          { ac_try='test -s conftest$ac_exeext'
96508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96509   (eval $ac_try) 2>&5
96510   ac_status=$?
96511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96512   (exit $ac_status); }; }; then
96513   glibcxx_shared_libgcc=yes
96514 else
96515   echo "$as_me: failed program was:" >&5
96516 sed 's/^/| /' conftest.$ac_ext >&5
96517
96518 glibcxx_shared_libgcc=no
96519 fi
96520 rm -f conftest.err conftest.$ac_objext \
96521       conftest$ac_exeext conftest.$ac_ext
96522   CFLAGS="$ac_save_CFLAGS"
96523   if test $glibcxx_shared_libgcc = no; then
96524     cat > conftest.c <<EOF
96525 int main (void) { return 0; }
96526 EOF
96527     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
96528                              -shared -shared-libgcc -o conftest.so \
96529                              conftest.c -v 2>&1 >/dev/null \
96530                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
96531     rm -f conftest.c conftest.so
96532     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
96533       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
96534       if test x$gcc_no_link = xyes; then
96535   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96537    { (exit 1); exit 1; }; }
96538 fi
96539 cat >conftest.$ac_ext <<_ACEOF
96540 /* confdefs.h.  */
96541 _ACEOF
96542 cat confdefs.h >>conftest.$ac_ext
96543 cat >>conftest.$ac_ext <<_ACEOF
96544 /* end confdefs.h.  */
96545
96546 int
96547 main ()
96548 {
96549 return 0;
96550   ;
96551   return 0;
96552 }
96553 _ACEOF
96554 rm -f conftest.$ac_objext conftest$ac_exeext
96555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96556   (eval $ac_link) 2>conftest.er1
96557   ac_status=$?
96558   grep -v '^ *+' conftest.er1 >conftest.err
96559   rm -f conftest.er1
96560   cat conftest.err >&5
96561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96562   (exit $ac_status); } &&
96563          { ac_try='test -z "$ac_c_werror_flag"
96564                          || test ! -s conftest.err'
96565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96566   (eval $ac_try) 2>&5
96567   ac_status=$?
96568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96569   (exit $ac_status); }; } &&
96570          { ac_try='test -s conftest$ac_exeext'
96571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96572   (eval $ac_try) 2>&5
96573   ac_status=$?
96574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96575   (exit $ac_status); }; }; then
96576   glibcxx_shared_libgcc=yes
96577 else
96578   echo "$as_me: failed program was:" >&5
96579 sed 's/^/| /' conftest.$ac_ext >&5
96580
96581 fi
96582 rm -f conftest.err conftest.$ac_objext \
96583       conftest$ac_exeext conftest.$ac_ext
96584       CFLAGS="$ac_save_CFLAGS"
96585     fi
96586   fi
96587   echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
96588 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
96589 fi
96590
96591 # For GNU ld, we need at least this version.  The format is described in
96592 # GLIBCXX_CHECK_LINKER_FEATURES above.
96593 glibcxx_min_gnu_ld_version=21400
96594 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
96595
96596 # Check to see if unspecified "yes" value can win, given results above.
96597 # Change "yes" into either "no" or a style name.
96598 if test $enable_symvers = yes; then
96599   if test $with_gnu_ld = yes &&
96600      test $glibcxx_shared_libgcc = yes;
96601   then
96602     if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
96603       enable_symvers=gnu
96604     else
96605       # The right tools, the right setup, but too old.  Fallbacks?
96606       { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
96607 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
96608       { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
96609 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
96610       { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
96611 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
96612       { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
96613 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
96614       if test $glibcxx_gnu_ld_version -ge 21200 ; then
96615         # Globbing fix is present, proper block support is not.
96616                         { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
96617 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
96618         enable_symvers=no
96619       else
96620         # 2.11 or older.
96621         { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
96622 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
96623         enable_symvers=no
96624       fi
96625     fi
96626   else
96627     # just fail for now
96628     { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
96629 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
96630     { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
96631 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
96632     { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
96633 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
96634     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
96635 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
96636     enable_symvers=no
96637   fi
96638 fi
96639
96640 # Everything parsed; figure out what file to use.
96641 case $enable_symvers in
96642   no)
96643     SYMVER_MAP=config/linker-map.dummy
96644     ;;
96645   gnu)
96646     SYMVER_MAP=config/linker-map.gnu
96647     cat >>confdefs.h <<\_ACEOF
96648 #define _GLIBCXX_SYMVER 1
96649 _ACEOF
96650
96651     ;;
96652 esac
96653
96654
96655
96656
96657 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
96658 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
96659
96660
96661 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
96662
96663   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
96664     # Do checks for resource limit functions.
96665
96666   setrlimit_have_headers=yes
96667
96668
96669
96670 for ac_header in unistd.h sys/time.h sys/resource.h
96671 do
96672 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
96673 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96674   echo "$as_me:$LINENO: checking for $ac_header" >&5
96675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
96676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96677   echo $ECHO_N "(cached) $ECHO_C" >&6
96678 fi
96679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
96680 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
96681 else
96682   # Is the header compilable?
96683 echo "$as_me:$LINENO: checking $ac_header usability" >&5
96684 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
96685 cat >conftest.$ac_ext <<_ACEOF
96686 /* confdefs.h.  */
96687 _ACEOF
96688 cat confdefs.h >>conftest.$ac_ext
96689 cat >>conftest.$ac_ext <<_ACEOF
96690 /* end confdefs.h.  */
96691 $ac_includes_default
96692 #include <$ac_header>
96693 _ACEOF
96694 rm -f conftest.$ac_objext
96695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96696   (eval $ac_compile) 2>conftest.er1
96697   ac_status=$?
96698   grep -v '^ *+' conftest.er1 >conftest.err
96699   rm -f conftest.er1
96700   cat conftest.err >&5
96701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96702   (exit $ac_status); } &&
96703          { ac_try='test -z "$ac_c_werror_flag"
96704                          || test ! -s conftest.err'
96705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96706   (eval $ac_try) 2>&5
96707   ac_status=$?
96708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96709   (exit $ac_status); }; } &&
96710          { ac_try='test -s conftest.$ac_objext'
96711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96712   (eval $ac_try) 2>&5
96713   ac_status=$?
96714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96715   (exit $ac_status); }; }; then
96716   ac_header_compiler=yes
96717 else
96718   echo "$as_me: failed program was:" >&5
96719 sed 's/^/| /' conftest.$ac_ext >&5
96720
96721 ac_header_compiler=no
96722 fi
96723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96724 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
96725 echo "${ECHO_T}$ac_header_compiler" >&6
96726
96727 # Is the header present?
96728 echo "$as_me:$LINENO: checking $ac_header presence" >&5
96729 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
96730 cat >conftest.$ac_ext <<_ACEOF
96731 /* confdefs.h.  */
96732 _ACEOF
96733 cat confdefs.h >>conftest.$ac_ext
96734 cat >>conftest.$ac_ext <<_ACEOF
96735 /* end confdefs.h.  */
96736 #include <$ac_header>
96737 _ACEOF
96738 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
96739   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
96740   ac_status=$?
96741   grep -v '^ *+' conftest.er1 >conftest.err
96742   rm -f conftest.er1
96743   cat conftest.err >&5
96744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96745   (exit $ac_status); } >/dev/null; then
96746   if test -s conftest.err; then
96747     ac_cpp_err=$ac_c_preproc_warn_flag
96748     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
96749   else
96750     ac_cpp_err=
96751   fi
96752 else
96753   ac_cpp_err=yes
96754 fi
96755 if test -z "$ac_cpp_err"; then
96756   ac_header_preproc=yes
96757 else
96758   echo "$as_me: failed program was:" >&5
96759 sed 's/^/| /' conftest.$ac_ext >&5
96760
96761   ac_header_preproc=no
96762 fi
96763 rm -f conftest.err conftest.$ac_ext
96764 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
96765 echo "${ECHO_T}$ac_header_preproc" >&6
96766
96767 # So?  What about this header?
96768 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
96769   yes:no: )
96770     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
96771 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
96772     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
96773 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
96774     ac_header_preproc=yes
96775     ;;
96776   no:yes:* )
96777     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
96778 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
96779     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
96780 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
96781     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
96782 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
96783     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
96784 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
96785     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
96786 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
96787     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
96788 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
96789     (
96790       cat <<\_ASBOX
96791 ## ----------------------------------------- ##
96792 ## Report this to the package-unused lists.  ##
96793 ## ----------------------------------------- ##
96794 _ASBOX
96795     ) |
96796       sed "s/^/$as_me: WARNING:     /" >&2
96797     ;;
96798 esac
96799 echo "$as_me:$LINENO: checking for $ac_header" >&5
96800 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
96801 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96802   echo $ECHO_N "(cached) $ECHO_C" >&6
96803 else
96804   eval "$as_ac_Header=\$ac_header_preproc"
96805 fi
96806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
96807 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
96808
96809 fi
96810 if test `eval echo '${'$as_ac_Header'}'` = yes; then
96811   cat >>confdefs.h <<_ACEOF
96812 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
96813 _ACEOF
96814
96815 else
96816   setrlimit_have_headers=no
96817 fi
96818
96819 done
96820
96821   # If don't have the headers, then we can't run the tests now, and we
96822   # won't be seeing any of these during testsuite compilation.
96823   if test $setrlimit_have_headers = yes; then
96824     # Can't do these in a loop, else the resulting syntax is wrong.
96825
96826   cat >conftest.$ac_ext <<_ACEOF
96827 /* confdefs.h.  */
96828 _ACEOF
96829 cat confdefs.h >>conftest.$ac_ext
96830 cat >>conftest.$ac_ext <<_ACEOF
96831 /* end confdefs.h.  */
96832 #include <unistd.h>
96833      #include <sys/time.h>
96834      #include <sys/resource.h>
96835
96836 int
96837 main ()
96838 {
96839  int f = RLIMIT_DATA ;
96840   ;
96841   return 0;
96842 }
96843 _ACEOF
96844 rm -f conftest.$ac_objext
96845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96846   (eval $ac_compile) 2>conftest.er1
96847   ac_status=$?
96848   grep -v '^ *+' conftest.er1 >conftest.err
96849   rm -f conftest.er1
96850   cat conftest.err >&5
96851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96852   (exit $ac_status); } &&
96853          { ac_try='test -z "$ac_c_werror_flag"
96854                          || test ! -s conftest.err'
96855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96856   (eval $ac_try) 2>&5
96857   ac_status=$?
96858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96859   (exit $ac_status); }; } &&
96860          { ac_try='test -s conftest.$ac_objext'
96861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96862   (eval $ac_try) 2>&5
96863   ac_status=$?
96864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96865   (exit $ac_status); }; }; then
96866   glibcxx_mresult=1
96867 else
96868   echo "$as_me: failed program was:" >&5
96869 sed 's/^/| /' conftest.$ac_ext >&5
96870
96871 glibcxx_mresult=0
96872 fi
96873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96874
96875 cat >>confdefs.h <<_ACEOF
96876 #define HAVE_LIMIT_DATA $glibcxx_mresult
96877 _ACEOF
96878
96879
96880
96881   cat >conftest.$ac_ext <<_ACEOF
96882 /* confdefs.h.  */
96883 _ACEOF
96884 cat confdefs.h >>conftest.$ac_ext
96885 cat >>conftest.$ac_ext <<_ACEOF
96886 /* end confdefs.h.  */
96887 #include <unistd.h>
96888      #include <sys/time.h>
96889      #include <sys/resource.h>
96890
96891 int
96892 main ()
96893 {
96894  int f = RLIMIT_RSS ;
96895   ;
96896   return 0;
96897 }
96898 _ACEOF
96899 rm -f conftest.$ac_objext
96900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96901   (eval $ac_compile) 2>conftest.er1
96902   ac_status=$?
96903   grep -v '^ *+' conftest.er1 >conftest.err
96904   rm -f conftest.er1
96905   cat conftest.err >&5
96906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96907   (exit $ac_status); } &&
96908          { ac_try='test -z "$ac_c_werror_flag"
96909                          || test ! -s conftest.err'
96910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96911   (eval $ac_try) 2>&5
96912   ac_status=$?
96913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96914   (exit $ac_status); }; } &&
96915          { ac_try='test -s conftest.$ac_objext'
96916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96917   (eval $ac_try) 2>&5
96918   ac_status=$?
96919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96920   (exit $ac_status); }; }; then
96921   glibcxx_mresult=1
96922 else
96923   echo "$as_me: failed program was:" >&5
96924 sed 's/^/| /' conftest.$ac_ext >&5
96925
96926 glibcxx_mresult=0
96927 fi
96928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96929
96930 cat >>confdefs.h <<_ACEOF
96931 #define HAVE_LIMIT_RSS $glibcxx_mresult
96932 _ACEOF
96933
96934
96935
96936   cat >conftest.$ac_ext <<_ACEOF
96937 /* confdefs.h.  */
96938 _ACEOF
96939 cat confdefs.h >>conftest.$ac_ext
96940 cat >>conftest.$ac_ext <<_ACEOF
96941 /* end confdefs.h.  */
96942 #include <unistd.h>
96943      #include <sys/time.h>
96944      #include <sys/resource.h>
96945
96946 int
96947 main ()
96948 {
96949  int f = RLIMIT_VMEM ;
96950   ;
96951   return 0;
96952 }
96953 _ACEOF
96954 rm -f conftest.$ac_objext
96955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96956   (eval $ac_compile) 2>conftest.er1
96957   ac_status=$?
96958   grep -v '^ *+' conftest.er1 >conftest.err
96959   rm -f conftest.er1
96960   cat conftest.err >&5
96961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96962   (exit $ac_status); } &&
96963          { ac_try='test -z "$ac_c_werror_flag"
96964                          || test ! -s conftest.err'
96965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96966   (eval $ac_try) 2>&5
96967   ac_status=$?
96968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96969   (exit $ac_status); }; } &&
96970          { ac_try='test -s conftest.$ac_objext'
96971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96972   (eval $ac_try) 2>&5
96973   ac_status=$?
96974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96975   (exit $ac_status); }; }; then
96976   glibcxx_mresult=1
96977 else
96978   echo "$as_me: failed program was:" >&5
96979 sed 's/^/| /' conftest.$ac_ext >&5
96980
96981 glibcxx_mresult=0
96982 fi
96983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96984
96985 cat >>confdefs.h <<_ACEOF
96986 #define HAVE_LIMIT_VMEM $glibcxx_mresult
96987 _ACEOF
96988
96989
96990
96991   cat >conftest.$ac_ext <<_ACEOF
96992 /* confdefs.h.  */
96993 _ACEOF
96994 cat confdefs.h >>conftest.$ac_ext
96995 cat >>conftest.$ac_ext <<_ACEOF
96996 /* end confdefs.h.  */
96997 #include <unistd.h>
96998      #include <sys/time.h>
96999      #include <sys/resource.h>
97000
97001 int
97002 main ()
97003 {
97004  int f = RLIMIT_AS ;
97005   ;
97006   return 0;
97007 }
97008 _ACEOF
97009 rm -f conftest.$ac_objext
97010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97011   (eval $ac_compile) 2>conftest.er1
97012   ac_status=$?
97013   grep -v '^ *+' conftest.er1 >conftest.err
97014   rm -f conftest.er1
97015   cat conftest.err >&5
97016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97017   (exit $ac_status); } &&
97018          { ac_try='test -z "$ac_c_werror_flag"
97019                          || test ! -s conftest.err'
97020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97021   (eval $ac_try) 2>&5
97022   ac_status=$?
97023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97024   (exit $ac_status); }; } &&
97025          { ac_try='test -s conftest.$ac_objext'
97026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97027   (eval $ac_try) 2>&5
97028   ac_status=$?
97029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97030   (exit $ac_status); }; }; then
97031   glibcxx_mresult=1
97032 else
97033   echo "$as_me: failed program was:" >&5
97034 sed 's/^/| /' conftest.$ac_ext >&5
97035
97036 glibcxx_mresult=0
97037 fi
97038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97039
97040 cat >>confdefs.h <<_ACEOF
97041 #define HAVE_LIMIT_AS $glibcxx_mresult
97042 _ACEOF
97043
97044
97045
97046   cat >conftest.$ac_ext <<_ACEOF
97047 /* confdefs.h.  */
97048 _ACEOF
97049 cat confdefs.h >>conftest.$ac_ext
97050 cat >>conftest.$ac_ext <<_ACEOF
97051 /* end confdefs.h.  */
97052 #include <unistd.h>
97053      #include <sys/time.h>
97054      #include <sys/resource.h>
97055
97056 int
97057 main ()
97058 {
97059  int f = RLIMIT_FSIZE ;
97060   ;
97061   return 0;
97062 }
97063 _ACEOF
97064 rm -f conftest.$ac_objext
97065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97066   (eval $ac_compile) 2>conftest.er1
97067   ac_status=$?
97068   grep -v '^ *+' conftest.er1 >conftest.err
97069   rm -f conftest.er1
97070   cat conftest.err >&5
97071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97072   (exit $ac_status); } &&
97073          { ac_try='test -z "$ac_c_werror_flag"
97074                          || test ! -s conftest.err'
97075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97076   (eval $ac_try) 2>&5
97077   ac_status=$?
97078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97079   (exit $ac_status); }; } &&
97080          { ac_try='test -s conftest.$ac_objext'
97081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97082   (eval $ac_try) 2>&5
97083   ac_status=$?
97084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97085   (exit $ac_status); }; }; then
97086   glibcxx_mresult=1
97087 else
97088   echo "$as_me: failed program was:" >&5
97089 sed 's/^/| /' conftest.$ac_ext >&5
97090
97091 glibcxx_mresult=0
97092 fi
97093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97094
97095 cat >>confdefs.h <<_ACEOF
97096 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
97097 _ACEOF
97098
97099
97100
97101     # Check for rlimit, setrlimit.
97102     if test "${ac_setrlimit+set}" = set; then
97103   echo $ECHO_N "(cached) $ECHO_C" >&6
97104 else
97105
97106       cat >conftest.$ac_ext <<_ACEOF
97107 /* confdefs.h.  */
97108 _ACEOF
97109 cat confdefs.h >>conftest.$ac_ext
97110 cat >>conftest.$ac_ext <<_ACEOF
97111 /* end confdefs.h.  */
97112 #include <unistd.h>
97113          #include <sys/time.h>
97114          #include <sys/resource.h>
97115
97116 int
97117 main ()
97118 {
97119 struct rlimit r;
97120          setrlimit(0, &r);
97121   ;
97122   return 0;
97123 }
97124 _ACEOF
97125 rm -f conftest.$ac_objext
97126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97127   (eval $ac_compile) 2>conftest.er1
97128   ac_status=$?
97129   grep -v '^ *+' conftest.er1 >conftest.err
97130   rm -f conftest.er1
97131   cat conftest.err >&5
97132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97133   (exit $ac_status); } &&
97134          { ac_try='test -z "$ac_c_werror_flag"
97135                          || test ! -s conftest.err'
97136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97137   (eval $ac_try) 2>&5
97138   ac_status=$?
97139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97140   (exit $ac_status); }; } &&
97141          { ac_try='test -s conftest.$ac_objext'
97142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97143   (eval $ac_try) 2>&5
97144   ac_status=$?
97145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97146   (exit $ac_status); }; }; then
97147   ac_setrlimit=yes
97148 else
97149   echo "$as_me: failed program was:" >&5
97150 sed 's/^/| /' conftest.$ac_ext >&5
97151
97152 ac_setrlimit=no
97153 fi
97154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97155
97156 fi
97157
97158   fi
97159
97160   echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
97161 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
97162   if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
97163     ac_res_limits=yes
97164     cat >>confdefs.h <<\_ACEOF
97165 #define _GLIBCXX_RES_LIMITS 1
97166 _ACEOF
97167
97168   else
97169     ac_res_limits=no
97170   fi
97171   echo "$as_me:$LINENO: result: $ac_res_limits" >&5
97172 echo "${ECHO_T}$ac_res_limits" >&6
97173
97174
97175     # Look for setenv, so that extended locale tests can be performed.
97176
97177   echo "$as_me:$LINENO: checking for setenv declaration" >&5
97178 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
97179   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
97180     if test "${glibcxx_cv_func_setenv_use+set}" = set; then
97181   echo $ECHO_N "(cached) $ECHO_C" >&6
97182 else
97183
97184
97185
97186       ac_ext=cc
97187 ac_cpp='$CXXCPP $CPPFLAGS'
97188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97191
97192       cat >conftest.$ac_ext <<_ACEOF
97193 /* confdefs.h.  */
97194 _ACEOF
97195 cat confdefs.h >>conftest.$ac_ext
97196 cat >>conftest.$ac_ext <<_ACEOF
97197 /* end confdefs.h.  */
97198 #include <stdlib.h>
97199 int
97200 main ()
97201 {
97202  setenv(0, 0, 0);
97203   ;
97204   return 0;
97205 }
97206 _ACEOF
97207 rm -f conftest.$ac_objext
97208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97209   (eval $ac_compile) 2>conftest.er1
97210   ac_status=$?
97211   grep -v '^ *+' conftest.er1 >conftest.err
97212   rm -f conftest.er1
97213   cat conftest.err >&5
97214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97215   (exit $ac_status); } &&
97216          { ac_try='test -z "$ac_cxx_werror_flag"
97217                          || test ! -s conftest.err'
97218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97219   (eval $ac_try) 2>&5
97220   ac_status=$?
97221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97222   (exit $ac_status); }; } &&
97223          { ac_try='test -s conftest.$ac_objext'
97224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97225   (eval $ac_try) 2>&5
97226   ac_status=$?
97227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97228   (exit $ac_status); }; }; then
97229   glibcxx_cv_func_setenv_use=yes
97230 else
97231   echo "$as_me: failed program was:" >&5
97232 sed 's/^/| /' conftest.$ac_ext >&5
97233
97234 glibcxx_cv_func_setenv_use=no
97235 fi
97236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97237       ac_ext=c
97238 ac_cpp='$CPP $CPPFLAGS'
97239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97242
97243
97244 fi
97245
97246   fi
97247   echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
97248 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
97249   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
97250
97251 for ac_func in setenv
97252 do
97253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97254 echo "$as_me:$LINENO: checking for $ac_func" >&5
97255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97256 if eval "test \"\${$as_ac_var+set}\" = set"; then
97257   echo $ECHO_N "(cached) $ECHO_C" >&6
97258 else
97259   if test x$gcc_no_link = xyes; then
97260   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97262    { (exit 1); exit 1; }; }
97263 fi
97264 cat >conftest.$ac_ext <<_ACEOF
97265 /* confdefs.h.  */
97266 _ACEOF
97267 cat confdefs.h >>conftest.$ac_ext
97268 cat >>conftest.$ac_ext <<_ACEOF
97269 /* end confdefs.h.  */
97270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97271    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97272 #define $ac_func innocuous_$ac_func
97273
97274 /* System header to define __stub macros and hopefully few prototypes,
97275     which can conflict with char $ac_func (); below.
97276     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97277     <limits.h> exists even on freestanding compilers.  */
97278
97279 #ifdef __STDC__
97280 # include <limits.h>
97281 #else
97282 # include <assert.h>
97283 #endif
97284
97285 #undef $ac_func
97286
97287 /* Override any gcc2 internal prototype to avoid an error.  */
97288 #ifdef __cplusplus
97289 extern "C"
97290 {
97291 #endif
97292 /* We use char because int might match the return type of a gcc2
97293    builtin and then its argument prototype would still apply.  */
97294 char $ac_func ();
97295 /* The GNU C library defines this for functions which it implements
97296     to always fail with ENOSYS.  Some functions are actually named
97297     something starting with __ and the normal name is an alias.  */
97298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97299 choke me
97300 #else
97301 char (*f) () = $ac_func;
97302 #endif
97303 #ifdef __cplusplus
97304 }
97305 #endif
97306
97307 int
97308 main ()
97309 {
97310 return f != $ac_func;
97311   ;
97312   return 0;
97313 }
97314 _ACEOF
97315 rm -f conftest.$ac_objext conftest$ac_exeext
97316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97317   (eval $ac_link) 2>conftest.er1
97318   ac_status=$?
97319   grep -v '^ *+' conftest.er1 >conftest.err
97320   rm -f conftest.er1
97321   cat conftest.err >&5
97322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97323   (exit $ac_status); } &&
97324          { ac_try='test -z "$ac_c_werror_flag"
97325                          || test ! -s conftest.err'
97326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97327   (eval $ac_try) 2>&5
97328   ac_status=$?
97329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97330   (exit $ac_status); }; } &&
97331          { ac_try='test -s conftest$ac_exeext'
97332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97333   (eval $ac_try) 2>&5
97334   ac_status=$?
97335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97336   (exit $ac_status); }; }; then
97337   eval "$as_ac_var=yes"
97338 else
97339   echo "$as_me: failed program was:" >&5
97340 sed 's/^/| /' conftest.$ac_ext >&5
97341
97342 eval "$as_ac_var=no"
97343 fi
97344 rm -f conftest.err conftest.$ac_objext \
97345       conftest$ac_exeext conftest.$ac_ext
97346 fi
97347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97349 if test `eval echo '${'$as_ac_var'}'` = yes; then
97350   cat >>confdefs.h <<_ACEOF
97351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97352 _ACEOF
97353
97354 fi
97355 done
97356
97357   fi
97358
97359
97360     if test $enable_symvers = no; then
97361       enable_abi_check=no
97362     else
97363       case "$host" in
97364         *-*-cygwin*)
97365           enable_abi_check=no ;;
97366         *)
97367           enable_abi_check=yes ;;
97368       esac
97369     fi
97370   else
97371     # Only build this as native, since automake does not understand
97372     # CXX_FOR_BUILD.
97373     enable_abi_check=no
97374   fi
97375
97376   # Export file names for ABI checking.
97377   baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
97378
97379
97380
97381
97382
97383
97384
97385 # Propagate the target-specific source directories through the build chain.
97386 ATOMICITY_SRCDIR=config/${atomicity_dir}
97387 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
97388 OS_INC_SRCDIR=config/${os_include_dir}
97389 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
97390
97391
97392
97393
97394
97395 # Determine cross-compile flags and AM_CONDITIONALs.
97396 #AC_SUBST(GLIBCXX_IS_NATIVE)
97397 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
97398 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
97399 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH,  test $need_libmath = yes)
97400
97401
97402 if test $is_hosted = yes; then
97403   GLIBCXX_HOSTED_TRUE=
97404   GLIBCXX_HOSTED_FALSE='#'
97405 else
97406   GLIBCXX_HOSTED_TRUE='#'
97407   GLIBCXX_HOSTED_FALSE=
97408 fi
97409
97410
97411
97412
97413 if test $enable_libstdcxx_pch = yes; then
97414   GLIBCXX_BUILD_PCH_TRUE=
97415   GLIBCXX_BUILD_PCH_FALSE='#'
97416 else
97417   GLIBCXX_BUILD_PCH_TRUE='#'
97418   GLIBCXX_BUILD_PCH_FALSE=
97419 fi
97420
97421
97422
97423
97424 if test $enable_cheaders = c; then
97425   GLIBCXX_C_HEADERS_C_TRUE=
97426   GLIBCXX_C_HEADERS_C_FALSE='#'
97427 else
97428   GLIBCXX_C_HEADERS_C_TRUE='#'
97429   GLIBCXX_C_HEADERS_C_FALSE=
97430 fi
97431
97432
97433
97434
97435 if test $enable_cheaders = c_std; then
97436   GLIBCXX_C_HEADERS_C_STD_TRUE=
97437   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
97438 else
97439   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
97440   GLIBCXX_C_HEADERS_C_STD_FALSE=
97441 fi
97442
97443
97444
97445
97446 if test $c_compatibility = yes; then
97447   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
97448   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
97449 else
97450   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
97451   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
97452 fi
97453
97454
97455
97456
97457 if test $enable_libstdcxx_debug = yes; then
97458   GLIBCXX_BUILD_DEBUG_TRUE=
97459   GLIBCXX_BUILD_DEBUG_FALSE='#'
97460 else
97461   GLIBCXX_BUILD_DEBUG_TRUE='#'
97462   GLIBCXX_BUILD_DEBUG_FALSE=
97463 fi
97464
97465
97466
97467
97468 if test $enable_symvers != no; then
97469   GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
97470   GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
97471 else
97472   GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
97473   GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
97474 fi
97475
97476
97477
97478
97479 if test $enable_wchar_t = yes; then
97480   GLIBCXX_TEST_WCHAR_T_TRUE=
97481   GLIBCXX_TEST_WCHAR_T_FALSE='#'
97482 else
97483   GLIBCXX_TEST_WCHAR_T_TRUE='#'
97484   GLIBCXX_TEST_WCHAR_T_FALSE=
97485 fi
97486
97487
97488
97489
97490 if test $enable_thread = yes; then
97491   GLIBCXX_TEST_THREAD_TRUE=
97492   GLIBCXX_TEST_THREAD_FALSE='#'
97493 else
97494   GLIBCXX_TEST_THREAD_TRUE='#'
97495   GLIBCXX_TEST_THREAD_FALSE=
97496 fi
97497
97498
97499
97500
97501 if test $enable_abi_check = yes; then
97502   GLIBCXX_TEST_ABI_TRUE=
97503   GLIBCXX_TEST_ABI_FALSE='#'
97504 else
97505   GLIBCXX_TEST_ABI_TRUE='#'
97506   GLIBCXX_TEST_ABI_FALSE=
97507 fi
97508
97509
97510
97511
97512 cat >confcache <<\_ACEOF
97513 # This file is a shell script that caches the results of configure
97514 # tests run on this system so they can be shared between configure
97515 # scripts and configure runs, see configure's option --config-cache.
97516 # It is not useful on other systems.  If it contains results you don't
97517 # want to keep, you may remove or edit it.
97518 #
97519 # config.status only pays attention to the cache file if you give it
97520 # the --recheck option to rerun configure.
97521 #
97522 # `ac_cv_env_foo' variables (set or unset) will be overridden when
97523 # loading this file, other *unset* `ac_cv_foo' will be assigned the
97524 # following values.
97525
97526 _ACEOF
97527
97528 # The following way of writing the cache mishandles newlines in values,
97529 # but we know of no workaround that is simple, portable, and efficient.
97530 # So, don't put newlines in cache variables' values.
97531 # Ultrix sh set writes to stderr and can't be redirected directly,
97532 # and sets the high bit in the cache file unless we assign to the vars.
97533 {
97534   (set) 2>&1 |
97535     case `(ac_space=' '; set | grep ac_space) 2>&1` in
97536     *ac_space=\ *)
97537       # `set' does not quote correctly, so add quotes (double-quote
97538       # substitution turns \\\\ into \\, and sed turns \\ into \).
97539       sed -n \
97540         "s/'/'\\\\''/g;
97541           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
97542       ;;
97543     *)
97544       # `set' quotes correctly as required by POSIX, so do not add quotes.
97545       sed -n \
97546         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
97547       ;;
97548     esac;
97549 } |
97550   sed '
97551      t clear
97552      : clear
97553      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
97554      t end
97555      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
97556      : end' >>confcache
97557 if diff $cache_file confcache >/dev/null 2>&1; then :; else
97558   if test -w $cache_file; then
97559     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
97560     cat confcache >$cache_file
97561   else
97562     echo "not updating unwritable cache $cache_file"
97563   fi
97564 fi
97565 rm -f confcache
97566
97567 if test ${multilib} = yes; then
97568   multilib_arg="--enable-multilib"
97569 else
97570   multilib_arg=
97571 fi
97572
97573 # Export all the install information.
97574
97575   glibcxx_toolexecdir=no
97576   glibcxx_toolexeclibdir=no
97577   glibcxx_prefixdir=$prefix
97578
97579   echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
97580 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
97581
97582 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
97583 if test "${with_gxx_include_dir+set}" = set; then
97584   withval="$with_gxx_include_dir"
97585   case "$withval" in
97586       yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
97587 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
97588    { (exit 1); exit 1; }; } ;;
97589       no)  gxx_include_dir=no ;;
97590       *)   gxx_include_dir=$withval ;;
97591      esac
97592 else
97593   gxx_include_dir=no
97594 fi;
97595   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
97596 echo "${ECHO_T}$gxx_include_dir" >&6
97597
97598   echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
97599 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
97600   # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
97601 if test "${enable_version_specific_runtime_libs+set}" = set; then
97602   enableval="$enable_version_specific_runtime_libs"
97603   case "$enableval" in
97604       yes) version_specific_libs=yes ;;
97605       no)  version_specific_libs=no ;;
97606       *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
97607 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
97608    { (exit 1); exit 1; }; };;
97609      esac
97610 else
97611   version_specific_libs=no
97612 fi;
97613   echo "$as_me:$LINENO: result: $version_specific_libs" >&5
97614 echo "${ECHO_T}$version_specific_libs" >&6
97615
97616   # Default case for install directory for include files.
97617   if test $version_specific_libs = no && test $gxx_include_dir = no; then
97618     gxx_include_dir='${prefix}'/include/c++/${gcc_version}
97619   fi
97620
97621   # Version-specific runtime libs processing.
97622   if test $version_specific_libs = yes; then
97623     # Need the gcc compiler version to know where to install libraries
97624     # and header files if --enable-version-specific-runtime-libs option
97625     # is selected.  FIXME: these variables are misnamed, there are
97626     # no executables installed in _toolexecdir or _toolexeclibdir.
97627     if test x"$gxx_include_dir" = x"no"; then
97628       gxx_include_dir='${libdir}/gcc/${host_alias}/'$gcc_version/include/c++
97629     fi
97630     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
97631     glibcxx_toolexeclibdir='${toolexecdir}/'$gcc_version'$(MULTISUBDIR)'
97632   fi
97633
97634   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
97635   # Install a library built with a cross compiler in tooldir, not libdir.
97636   if test x"$glibcxx_toolexecdir" = x"no"; then
97637     if test -n "$with_cross_host" &&
97638        test x"$with_cross_host" != x"no"; then
97639       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
97640       glibcxx_toolexeclibdir='${toolexecdir}/lib'
97641     else
97642       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
97643       glibcxx_toolexeclibdir='${libdir}'
97644     fi
97645     multi_os_directory=`$CXX -print-multi-os-directory`
97646     case $multi_os_directory in
97647       .) ;; # Avoid trailing /.
97648       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
97649     esac
97650   fi
97651
97652   echo "$as_me:$LINENO: checking for install location" >&5
97653 echo $ECHO_N "checking for install location... $ECHO_C" >&6
97654   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
97655 echo "${ECHO_T}$gxx_include_dir" >&6
97656
97657
97658
97659
97660
97661
97662
97663 # Export all the include and flag information to Makefiles.
97664
97665   # Used for every C++ compile we perform.
97666   GLIBCXX_INCLUDES="\
97667 -I$glibcxx_builddir/include/$host_alias \
97668 -I$glibcxx_builddir/include \
97669 -I$glibcxx_srcdir/libsupc++"
97670
97671   # For Canadian crosses, pick this up too.
97672   if test $CANADIAN = yes; then
97673     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
97674   fi
97675
97676   # Stuff in the actual top level.  Currently only used by libsupc++ to
97677   # get unwind* headers from the gcc dir.
97678   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
97679   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
97680
97681   # Now, export this to all the little Makefiles....
97682
97683
97684
97685
97686   # Optimization flags that are probably a good idea for thrill-seekers. Just
97687   # uncomment the lines below and make, everything else is ready to go...
97688   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
97689   OPTIMIZE_CXXFLAGS=
97690
97691
97692   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
97693
97694
97695
97696 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
97697    grep "enable shared" > /dev/null;
97698 then
97699   LIBSUPCXX_PICFLAGS=-prefer-pic
97700 else
97701   LIBSUPCXX_PICFLAGS=
97702 fi
97703
97704
97705                                                                       ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
97706
97707           ac_config_files="$ac_config_files scripts/check_survey"
97708
97709           ac_config_files="$ac_config_files scripts/testsuite_flags"
97710
97711
97712           ac_config_commands="$ac_config_commands default"
97713
97714
97715 cat >confcache <<\_ACEOF
97716 # This file is a shell script that caches the results of configure
97717 # tests run on this system so they can be shared between configure
97718 # scripts and configure runs, see configure's option --config-cache.
97719 # It is not useful on other systems.  If it contains results you don't
97720 # want to keep, you may remove or edit it.
97721 #
97722 # config.status only pays attention to the cache file if you give it
97723 # the --recheck option to rerun configure.
97724 #
97725 # `ac_cv_env_foo' variables (set or unset) will be overridden when
97726 # loading this file, other *unset* `ac_cv_foo' will be assigned the
97727 # following values.
97728
97729 _ACEOF
97730
97731 # The following way of writing the cache mishandles newlines in values,
97732 # but we know of no workaround that is simple, portable, and efficient.
97733 # So, don't put newlines in cache variables' values.
97734 # Ultrix sh set writes to stderr and can't be redirected directly,
97735 # and sets the high bit in the cache file unless we assign to the vars.
97736 {
97737   (set) 2>&1 |
97738     case `(ac_space=' '; set | grep ac_space) 2>&1` in
97739     *ac_space=\ *)
97740       # `set' does not quote correctly, so add quotes (double-quote
97741       # substitution turns \\\\ into \\, and sed turns \\ into \).
97742       sed -n \
97743         "s/'/'\\\\''/g;
97744           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
97745       ;;
97746     *)
97747       # `set' quotes correctly as required by POSIX, so do not add quotes.
97748       sed -n \
97749         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
97750       ;;
97751     esac;
97752 } |
97753   sed '
97754      t clear
97755      : clear
97756      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
97757      t end
97758      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
97759      : end' >>confcache
97760 if diff $cache_file confcache >/dev/null 2>&1; then :; else
97761   if test -w $cache_file; then
97762     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
97763     cat confcache >$cache_file
97764   else
97765     echo "not updating unwritable cache $cache_file"
97766   fi
97767 fi
97768 rm -f confcache
97769
97770 test "x$prefix" = xNONE && prefix=$ac_default_prefix
97771 # Let make expand exec_prefix.
97772 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
97773
97774 # VPATH may cause trouble with some makes, so we remove $(srcdir),
97775 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
97776 # trailing colons and then remove the whole line if VPATH becomes empty
97777 # (actually we leave an empty line to preserve line numbers).
97778 if test "x$srcdir" = x.; then
97779   ac_vpsub='/^[  ]*VPATH[        ]*=/{
97780 s/:*\$(srcdir):*/:/;
97781 s/:*\${srcdir}:*/:/;
97782 s/:*@srcdir@:*/:/;
97783 s/^\([^=]*=[     ]*\):*/\1/;
97784 s/:*$//;
97785 s/^[^=]*=[       ]*$//;
97786 }'
97787 fi
97788
97789 DEFS=-DHAVE_CONFIG_H
97790
97791 ac_libobjs=
97792 ac_ltlibobjs=
97793 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
97794   # 1. Remove the extension, and $U if already installed.
97795   ac_i=`echo "$ac_i" |
97796          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
97797   # 2. Add them.
97798   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
97799   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
97800 done
97801 LIBOBJS=$ac_libobjs
97802
97803 LTLIBOBJS=$ac_ltlibobjs
97804
97805
97806 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
97807   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
97808 Usually this means the macro was only invoked conditionally." >&5
97809 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
97810 Usually this means the macro was only invoked conditionally." >&2;}
97811    { (exit 1); exit 1; }; }
97812 fi
97813 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
97814   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
97815 Usually this means the macro was only invoked conditionally." >&5
97816 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
97817 Usually this means the macro was only invoked conditionally." >&2;}
97818    { (exit 1); exit 1; }; }
97819 fi
97820 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
97821   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
97822 Usually this means the macro was only invoked conditionally." >&5
97823 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
97824 Usually this means the macro was only invoked conditionally." >&2;}
97825    { (exit 1); exit 1; }; }
97826 fi
97827 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
97828   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
97829 Usually this means the macro was only invoked conditionally." >&5
97830 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
97831 Usually this means the macro was only invoked conditionally." >&2;}
97832    { (exit 1); exit 1; }; }
97833 fi
97834 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
97835   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
97836 Usually this means the macro was only invoked conditionally." >&5
97837 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
97838 Usually this means the macro was only invoked conditionally." >&2;}
97839    { (exit 1); exit 1; }; }
97840 fi
97841 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
97842   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
97843 Usually this means the macro was only invoked conditionally." >&5
97844 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
97845 Usually this means the macro was only invoked conditionally." >&2;}
97846    { (exit 1); exit 1; }; }
97847 fi
97848 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
97849   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
97850 Usually this means the macro was only invoked conditionally." >&5
97851 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
97852 Usually this means the macro was only invoked conditionally." >&2;}
97853    { (exit 1); exit 1; }; }
97854 fi
97855 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
97856   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
97857 Usually this means the macro was only invoked conditionally." >&5
97858 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
97859 Usually this means the macro was only invoked conditionally." >&2;}
97860    { (exit 1); exit 1; }; }
97861 fi
97862 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
97863   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
97864 Usually this means the macro was only invoked conditionally." >&5
97865 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
97866 Usually this means the macro was only invoked conditionally." >&2;}
97867    { (exit 1); exit 1; }; }
97868 fi
97869 if test -z "${GLIBCXX_TEST_THREAD_TRUE}" && test -z "${GLIBCXX_TEST_THREAD_FALSE}"; then
97870   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_THREAD\" was never defined.
97871 Usually this means the macro was only invoked conditionally." >&5
97872 echo "$as_me: error: conditional \"GLIBCXX_TEST_THREAD\" was never defined.
97873 Usually this means the macro was only invoked conditionally." >&2;}
97874    { (exit 1); exit 1; }; }
97875 fi
97876 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
97877   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
97878 Usually this means the macro was only invoked conditionally." >&5
97879 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
97880 Usually this means the macro was only invoked conditionally." >&2;}
97881    { (exit 1); exit 1; }; }
97882 fi
97883
97884 : ${CONFIG_STATUS=./config.status}
97885 ac_clean_files_save=$ac_clean_files
97886 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
97887 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
97888 echo "$as_me: creating $CONFIG_STATUS" >&6;}
97889 cat >$CONFIG_STATUS <<_ACEOF
97890 #! $SHELL
97891 # Generated by $as_me.
97892 # Run this file to recreate the current configuration.
97893 # Compiler output produced by configure, useful for debugging
97894 # configure, is in config.log if it exists.
97895
97896 debug=false
97897 ac_cs_recheck=false
97898 ac_cs_silent=false
97899 SHELL=\${CONFIG_SHELL-$SHELL}
97900 _ACEOF
97901
97902 cat >>$CONFIG_STATUS <<\_ACEOF
97903 ## --------------------- ##
97904 ## M4sh Initialization.  ##
97905 ## --------------------- ##
97906
97907 # Be Bourne compatible
97908 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
97909   emulate sh
97910   NULLCMD=:
97911   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
97912   # is contrary to our usage.  Disable this feature.
97913   alias -g '${1+"$@"}'='"$@"'
97914 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
97915   set -o posix
97916 fi
97917 DUALCASE=1; export DUALCASE # for MKS sh
97918
97919 # Support unset when possible.
97920 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
97921   as_unset=unset
97922 else
97923   as_unset=false
97924 fi
97925
97926
97927 # Work around bugs in pre-3.0 UWIN ksh.
97928 $as_unset ENV MAIL MAILPATH
97929 PS1='$ '
97930 PS2='> '
97931 PS4='+ '
97932
97933 # NLS nuisances.
97934 for as_var in \
97935   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
97936   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
97937   LC_TELEPHONE LC_TIME
97938 do
97939   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
97940     eval $as_var=C; export $as_var
97941   else
97942     $as_unset $as_var
97943   fi
97944 done
97945
97946 # Required to use basename.
97947 if expr a : '\(a\)' >/dev/null 2>&1; then
97948   as_expr=expr
97949 else
97950   as_expr=false
97951 fi
97952
97953 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
97954   as_basename=basename
97955 else
97956   as_basename=false
97957 fi
97958
97959
97960 # Name of the executable.
97961 as_me=`$as_basename "$0" ||
97962 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
97963          X"$0" : 'X\(//\)$' \| \
97964          X"$0" : 'X\(/\)$' \| \
97965          .     : '\(.\)' 2>/dev/null ||
97966 echo X/"$0" |
97967     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
97968           /^X\/\(\/\/\)$/{ s//\1/; q; }
97969           /^X\/\(\/\).*/{ s//\1/; q; }
97970           s/.*/./; q'`
97971
97972
97973 # PATH needs CR, and LINENO needs CR and PATH.
97974 # Avoid depending upon Character Ranges.
97975 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
97976 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
97977 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
97978 as_cr_digits='0123456789'
97979 as_cr_alnum=$as_cr_Letters$as_cr_digits
97980
97981 # The user is always right.
97982 if test "${PATH_SEPARATOR+set}" != set; then
97983   echo "#! /bin/sh" >conf$$.sh
97984   echo  "exit 0"   >>conf$$.sh
97985   chmod +x conf$$.sh
97986   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
97987     PATH_SEPARATOR=';'
97988   else
97989     PATH_SEPARATOR=:
97990   fi
97991   rm -f conf$$.sh
97992 fi
97993
97994
97995   as_lineno_1=$LINENO
97996   as_lineno_2=$LINENO
97997   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
97998   test "x$as_lineno_1" != "x$as_lineno_2" &&
97999   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
98000   # Find who we are.  Look in the path if we contain no path at all
98001   # relative or not.
98002   case $0 in
98003     *[\\/]* ) as_myself=$0 ;;
98004     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98005 for as_dir in $PATH
98006 do
98007   IFS=$as_save_IFS
98008   test -z "$as_dir" && as_dir=.
98009   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98010 done
98011
98012        ;;
98013   esac
98014   # We did not find ourselves, most probably we were run as `sh COMMAND'
98015   # in which case we are not to be found in the path.
98016   if test "x$as_myself" = x; then
98017     as_myself=$0
98018   fi
98019   if test ! -f "$as_myself"; then
98020     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
98021 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
98022    { (exit 1); exit 1; }; }
98023   fi
98024   case $CONFIG_SHELL in
98025   '')
98026     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98027 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
98028 do
98029   IFS=$as_save_IFS
98030   test -z "$as_dir" && as_dir=.
98031   for as_base in sh bash ksh sh5; do
98032          case $as_dir in
98033          /*)
98034            if ("$as_dir/$as_base" -c '
98035   as_lineno_1=$LINENO
98036   as_lineno_2=$LINENO
98037   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
98038   test "x$as_lineno_1" != "x$as_lineno_2" &&
98039   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
98040              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
98041              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
98042              CONFIG_SHELL=$as_dir/$as_base
98043              export CONFIG_SHELL
98044              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
98045            fi;;
98046          esac
98047        done
98048 done
98049 ;;
98050   esac
98051
98052   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
98053   # uniformly replaced by the line number.  The first 'sed' inserts a
98054   # line-number line before each line; the second 'sed' does the real
98055   # work.  The second script uses 'N' to pair each line-number line
98056   # with the numbered line, and appends trailing '-' during
98057   # substitution so that $LINENO is not a special case at line end.
98058   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
98059   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
98060   sed '=' <$as_myself |
98061     sed '
98062       N
98063       s,$,-,
98064       : loop
98065       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
98066       t loop
98067       s,-$,,
98068       s,^['$as_cr_digits']*\n,,
98069     ' >$as_me.lineno &&
98070   chmod +x $as_me.lineno ||
98071     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
98072 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
98073    { (exit 1); exit 1; }; }
98074
98075   # Don't try to exec as it changes $[0], causing all sort of problems
98076   # (the dirname of $[0] is not the place where we might find the
98077   # original and so on.  Autoconf is especially sensible to this).
98078   . ./$as_me.lineno
98079   # Exit status is that of the last command.
98080   exit
98081 }
98082
98083
98084 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
98085   *c*,-n*) ECHO_N= ECHO_C='
98086 ' ECHO_T='      ' ;;
98087   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
98088   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
98089 esac
98090
98091 if expr a : '\(a\)' >/dev/null 2>&1; then
98092   as_expr=expr
98093 else
98094   as_expr=false
98095 fi
98096
98097 rm -f conf$$ conf$$.exe conf$$.file
98098 echo >conf$$.file
98099 if ln -s conf$$.file conf$$ 2>/dev/null; then
98100   # We could just check for DJGPP; but this test a) works b) is more generic
98101   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
98102   if test -f conf$$.exe; then
98103     # Don't use ln at all; we don't have any links
98104     as_ln_s='cp -p'
98105   else
98106     as_ln_s='ln -s'
98107   fi
98108 elif ln conf$$.file conf$$ 2>/dev/null; then
98109   as_ln_s=ln
98110 else
98111   as_ln_s='cp -p'
98112 fi
98113 rm -f conf$$ conf$$.exe conf$$.file
98114
98115 if mkdir -p . 2>/dev/null; then
98116   as_mkdir_p=:
98117 else
98118   test -d ./-p && rmdir ./-p
98119   as_mkdir_p=false
98120 fi
98121
98122 as_executable_p="test -f"
98123
98124 # Sed expression to map a string onto a valid CPP name.
98125 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
98126
98127 # Sed expression to map a string onto a valid variable name.
98128 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
98129
98130
98131 # IFS
98132 # We need space, tab and new line, in precisely that order.
98133 as_nl='
98134 '
98135 IFS="   $as_nl"
98136
98137 # CDPATH.
98138 $as_unset CDPATH
98139
98140 exec 6>&1
98141
98142 # Open the log real soon, to keep \$[0] and so on meaningful, and to
98143 # report actual input values of CONFIG_FILES etc. instead of their
98144 # values after options handling.  Logging --version etc. is OK.
98145 exec 5>>config.log
98146 {
98147   echo
98148   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
98149 ## Running $as_me. ##
98150 _ASBOX
98151 } >&5
98152 cat >&5 <<_CSEOF
98153
98154 This file was extended by package-unused $as_me version-unused, which was
98155 generated by GNU Autoconf 2.59.  Invocation command line was
98156
98157   CONFIG_FILES    = $CONFIG_FILES
98158   CONFIG_HEADERS  = $CONFIG_HEADERS
98159   CONFIG_LINKS    = $CONFIG_LINKS
98160   CONFIG_COMMANDS = $CONFIG_COMMANDS
98161   $ $0 $@
98162
98163 _CSEOF
98164 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
98165 echo >&5
98166 _ACEOF
98167
98168 # Files that config.status was made for.
98169 if test -n "$ac_config_files"; then
98170   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
98171 fi
98172
98173 if test -n "$ac_config_headers"; then
98174   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
98175 fi
98176
98177 if test -n "$ac_config_links"; then
98178   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
98179 fi
98180
98181 if test -n "$ac_config_commands"; then
98182   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
98183 fi
98184
98185 cat >>$CONFIG_STATUS <<\_ACEOF
98186
98187 ac_cs_usage="\
98188 \`$as_me' instantiates files from templates according to the
98189 current configuration.
98190
98191 Usage: $0 [OPTIONS] [FILE]...
98192
98193   -h, --help       print this help, then exit
98194   -V, --version    print version number, then exit
98195   -q, --quiet      do not print progress messages
98196   -d, --debug      don't remove temporary files
98197       --recheck    update $as_me by reconfiguring in the same conditions
98198   --file=FILE[:TEMPLATE]
98199                    instantiate the configuration file FILE
98200   --header=FILE[:TEMPLATE]
98201                    instantiate the configuration header FILE
98202
98203 Configuration files:
98204 $config_files
98205
98206 Configuration headers:
98207 $config_headers
98208
98209 Configuration commands:
98210 $config_commands
98211
98212 Report bugs to <bug-autoconf@gnu.org>."
98213 _ACEOF
98214
98215 cat >>$CONFIG_STATUS <<_ACEOF
98216 ac_cs_version="\\
98217 package-unused config.status version-unused
98218 configured by $0, generated by GNU Autoconf 2.59,
98219   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
98220
98221 Copyright (C) 2003 Free Software Foundation, Inc.
98222 This config.status script is free software; the Free Software Foundation
98223 gives unlimited permission to copy, distribute and modify it."
98224 srcdir=$srcdir
98225 INSTALL="$INSTALL"
98226 _ACEOF
98227
98228 cat >>$CONFIG_STATUS <<\_ACEOF
98229 # If no file are specified by the user, then we need to provide default
98230 # value.  By we need to know if files were specified by the user.
98231 ac_need_defaults=:
98232 while test $# != 0
98233 do
98234   case $1 in
98235   --*=*)
98236     ac_option=`expr "x$1" : 'x\([^=]*\)='`
98237     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
98238     ac_shift=:
98239     ;;
98240   -*)
98241     ac_option=$1
98242     ac_optarg=$2
98243     ac_shift=shift
98244     ;;
98245   *) # This is not an option, so the user has probably given explicit
98246      # arguments.
98247      ac_option=$1
98248      ac_need_defaults=false;;
98249   esac
98250
98251   case $ac_option in
98252   # Handling of the options.
98253 _ACEOF
98254 cat >>$CONFIG_STATUS <<\_ACEOF
98255   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
98256     ac_cs_recheck=: ;;
98257   --version | --vers* | -V )
98258     echo "$ac_cs_version"; exit 0 ;;
98259   --he | --h)
98260     # Conflict between --help and --header
98261     { { echo "$as_me:$LINENO: error: ambiguous option: $1
98262 Try \`$0 --help' for more information." >&5
98263 echo "$as_me: error: ambiguous option: $1
98264 Try \`$0 --help' for more information." >&2;}
98265    { (exit 1); exit 1; }; };;
98266   --help | --hel | -h )
98267     echo "$ac_cs_usage"; exit 0 ;;
98268   --debug | --d* | -d )
98269     debug=: ;;
98270   --file | --fil | --fi | --f )
98271     $ac_shift
98272     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
98273     ac_need_defaults=false;;
98274   --header | --heade | --head | --hea )
98275     $ac_shift
98276     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
98277     ac_need_defaults=false;;
98278   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
98279   | -silent | --silent | --silen | --sile | --sil | --si | --s)
98280     ac_cs_silent=: ;;
98281
98282   # This is an error.
98283   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
98284 Try \`$0 --help' for more information." >&5
98285 echo "$as_me: error: unrecognized option: $1
98286 Try \`$0 --help' for more information." >&2;}
98287    { (exit 1); exit 1; }; } ;;
98288
98289   *) ac_config_targets="$ac_config_targets $1" ;;
98290
98291   esac
98292   shift
98293 done
98294
98295 ac_configure_extra_args=
98296
98297 if $ac_cs_silent; then
98298   exec 6>/dev/null
98299   ac_configure_extra_args="$ac_configure_extra_args --silent"
98300 fi
98301
98302 _ACEOF
98303 cat >>$CONFIG_STATUS <<_ACEOF
98304 if \$ac_cs_recheck; then
98305   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
98306   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
98307 fi
98308
98309 _ACEOF
98310
98311 cat >>$CONFIG_STATUS <<_ACEOF
98312 #
98313 # INIT-COMMANDS section.
98314 #
98315
98316
98317 srcdir="$srcdir"
98318 host="$host"
98319 target="$target"
98320 with_multisubdir="$with_multisubdir"
98321 with_multisrctop="$with_multisrctop"
98322 with_target_subdir="$with_target_subdir"
98323 ac_configure_args="${multilib_arg} ${ac_configure_args}"
98324 multi_basedir="$multi_basedir"
98325 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
98326 CC="$CC"
98327
98328 # Variables needed in config.status (file generation) which aren't already
98329 # passed by autoconf.
98330 SUBDIRS="$SUBDIRS"
98331
98332
98333 _ACEOF
98334
98335
98336
98337 cat >>$CONFIG_STATUS <<\_ACEOF
98338 for ac_config_target in $ac_config_targets
98339 do
98340   case "$ac_config_target" in
98341   # Handling of arguments.
98342   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
98343   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
98344   "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
98345   "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
98346   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
98347   "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
98348   "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
98349   "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
98350   "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
98351   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
98352   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
98353   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
98354   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
98355 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
98356    { (exit 1); exit 1; }; };;
98357   esac
98358 done
98359
98360 # If the user did not use the arguments to specify the items to instantiate,
98361 # then the envvar interface is used.  Set only those that are not.
98362 # We use the long form for the default assignment because of an extremely
98363 # bizarre bug on SunOS 4.1.3.
98364 if $ac_need_defaults; then
98365   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
98366   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
98367   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
98368 fi
98369
98370 # Have a temporary directory for convenience.  Make it in the build tree
98371 # simply because there is no reason to put it here, and in addition,
98372 # creating and moving files from /tmp can sometimes cause problems.
98373 # Create a temporary directory, and hook for its removal unless debugging.
98374 $debug ||
98375 {
98376   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
98377   trap '{ (exit 1); exit 1; }' 1 2 13 15
98378 }
98379
98380 # Create a (secure) tmp directory for tmp files.
98381
98382 {
98383   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
98384   test -n "$tmp" && test -d "$tmp"
98385 }  ||
98386 {
98387   tmp=./confstat$$-$RANDOM
98388   (umask 077 && mkdir $tmp)
98389 } ||
98390 {
98391    echo "$me: cannot create a temporary directory in ." >&2
98392    { (exit 1); exit 1; }
98393 }
98394
98395 _ACEOF
98396
98397 cat >>$CONFIG_STATUS <<_ACEOF
98398
98399 #
98400 # CONFIG_FILES section.
98401 #
98402
98403 # No need to generate the scripts if there are no CONFIG_FILES.
98404 # This happens for instance when ./config.status config.h
98405 if test -n "\$CONFIG_FILES"; then
98406   # Protect against being on the right side of a sed subst in config.status.
98407   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
98408    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
98409 s,@SHELL@,$SHELL,;t t
98410 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
98411 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
98412 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
98413 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
98414 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
98415 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
98416 s,@exec_prefix@,$exec_prefix,;t t
98417 s,@prefix@,$prefix,;t t
98418 s,@program_transform_name@,$program_transform_name,;t t
98419 s,@bindir@,$bindir,;t t
98420 s,@sbindir@,$sbindir,;t t
98421 s,@libexecdir@,$libexecdir,;t t
98422 s,@datadir@,$datadir,;t t
98423 s,@sysconfdir@,$sysconfdir,;t t
98424 s,@sharedstatedir@,$sharedstatedir,;t t
98425 s,@localstatedir@,$localstatedir,;t t
98426 s,@libdir@,$libdir,;t t
98427 s,@includedir@,$includedir,;t t
98428 s,@oldincludedir@,$oldincludedir,;t t
98429 s,@infodir@,$infodir,;t t
98430 s,@mandir@,$mandir,;t t
98431 s,@build_alias@,$build_alias,;t t
98432 s,@host_alias@,$host_alias,;t t
98433 s,@target_alias@,$target_alias,;t t
98434 s,@DEFS@,$DEFS,;t t
98435 s,@ECHO_C@,$ECHO_C,;t t
98436 s,@ECHO_N@,$ECHO_N,;t t
98437 s,@ECHO_T@,$ECHO_T,;t t
98438 s,@LIBS@,$LIBS,;t t
98439 s,@libtool_VERSION@,$libtool_VERSION,;t t
98440 s,@multi_basedir@,$multi_basedir,;t t
98441 s,@build@,$build,;t t
98442 s,@build_cpu@,$build_cpu,;t t
98443 s,@build_vendor@,$build_vendor,;t t
98444 s,@build_os@,$build_os,;t t
98445 s,@host@,$host,;t t
98446 s,@host_cpu@,$host_cpu,;t t
98447 s,@host_vendor@,$host_vendor,;t t
98448 s,@host_os@,$host_os,;t t
98449 s,@target@,$target,;t t
98450 s,@target_cpu@,$target_cpu,;t t
98451 s,@target_vendor@,$target_vendor,;t t
98452 s,@target_os@,$target_os,;t t
98453 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
98454 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
98455 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
98456 s,@CYGPATH_W@,$CYGPATH_W,;t t
98457 s,@PACKAGE@,$PACKAGE,;t t
98458 s,@VERSION@,$VERSION,;t t
98459 s,@ACLOCAL@,$ACLOCAL,;t t
98460 s,@AUTOCONF@,$AUTOCONF,;t t
98461 s,@AUTOMAKE@,$AUTOMAKE,;t t
98462 s,@AUTOHEADER@,$AUTOHEADER,;t t
98463 s,@MAKEINFO@,$MAKEINFO,;t t
98464 s,@install_sh@,$install_sh,;t t
98465 s,@STRIP@,$STRIP,;t t
98466 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
98467 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
98468 s,@mkdir_p@,$mkdir_p,;t t
98469 s,@AWK@,$AWK,;t t
98470 s,@SET_MAKE@,$SET_MAKE,;t t
98471 s,@am__leading_dot@,$am__leading_dot,;t t
98472 s,@AMTAR@,$AMTAR,;t t
98473 s,@am__tar@,$am__tar,;t t
98474 s,@am__untar@,$am__untar,;t t
98475 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
98476 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
98477 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
98478 s,@CC@,$CC,;t t
98479 s,@ac_ct_CC@,$ac_ct_CC,;t t
98480 s,@EXEEXT@,$EXEEXT,;t t
98481 s,@OBJEXT@,$OBJEXT,;t t
98482 s,@CXX@,$CXX,;t t
98483 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
98484 s,@CFLAGS@,$CFLAGS,;t t
98485 s,@CXXFLAGS@,$CXXFLAGS,;t t
98486 s,@LN_S@,$LN_S,;t t
98487 s,@AS@,$AS,;t t
98488 s,@ac_ct_AS@,$ac_ct_AS,;t t
98489 s,@AR@,$AR,;t t
98490 s,@ac_ct_AR@,$ac_ct_AR,;t t
98491 s,@RANLIB@,$RANLIB,;t t
98492 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
98493 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
98494 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
98495 s,@MAINT@,$MAINT,;t t
98496 s,@LIBTOOL@,$LIBTOOL,;t t
98497 s,@CXXCPP@,$CXXCPP,;t t
98498 s,@CPPFLAGS@,$CPPFLAGS,;t t
98499 s,@enable_shared@,$enable_shared,;t t
98500 s,@enable_static@,$enable_static,;t t
98501 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
98502 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
98503 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
98504 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
98505 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
98506 s,@CSTDIO_H@,$CSTDIO_H,;t t
98507 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
98508 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
98509 s,@CPP@,$CPP,;t t
98510 s,@EGREP@,$EGREP,;t t
98511 s,@check_msgfmt@,$check_msgfmt,;t t
98512 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
98513 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
98514 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
98515 s,@USE_NLS@,$USE_NLS,;t t
98516 s,@CLOCALE_H@,$CLOCALE_H,;t t
98517 s,@CCODECVT_H@,$CCODECVT_H,;t t
98518 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
98519 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
98520 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
98521 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
98522 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
98523 s,@CMONEY_CC@,$CMONEY_CC,;t t
98524 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
98525 s,@CTIME_H@,$CTIME_H,;t t
98526 s,@CTIME_CC@,$CTIME_CC,;t t
98527 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
98528 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
98529 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
98530 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
98531 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
98532 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
98533 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
98534 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
98535 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
98536 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
98537 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
98538 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
98539 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
98540 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
98541 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
98542 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
98543 s,@WERROR@,$WERROR,;t t
98544 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
98545 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
98546 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
98547 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
98548 s,@LIBICONV@,$LIBICONV,;t t
98549 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
98550 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
98551 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
98552 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
98553 s,@baseline_dir@,$baseline_dir,;t t
98554 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
98555 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
98556 s,@GLIBCXX_TEST_THREAD_TRUE@,$GLIBCXX_TEST_THREAD_TRUE,;t t
98557 s,@GLIBCXX_TEST_THREAD_FALSE@,$GLIBCXX_TEST_THREAD_FALSE,;t t
98558 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
98559 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
98560 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
98561 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
98562 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
98563 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
98564 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
98565 s,@gxx_include_dir@,$gxx_include_dir,;t t
98566 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
98567 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
98568 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
98569 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
98570 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
98571 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
98572 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
98573 s,@LIBOBJS@,$LIBOBJS,;t t
98574 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
98575 CEOF
98576
98577 _ACEOF
98578
98579   cat >>$CONFIG_STATUS <<\_ACEOF
98580   # Split the substitutions into bite-sized pieces for seds with
98581   # small command number limits, like on Digital OSF/1 and HP-UX.
98582   ac_max_sed_lines=48
98583   ac_sed_frag=1 # Number of current file.
98584   ac_beg=1 # First line for current file.
98585   ac_end=$ac_max_sed_lines # Line after last line for current file.
98586   ac_more_lines=:
98587   ac_sed_cmds=
98588   while $ac_more_lines; do
98589     if test $ac_beg -gt 1; then
98590       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
98591     else
98592       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
98593     fi
98594     if test ! -s $tmp/subs.frag; then
98595       ac_more_lines=false
98596     else
98597       # The purpose of the label and of the branching condition is to
98598       # speed up the sed processing (if there are no `@' at all, there
98599       # is no need to browse any of the substitutions).
98600       # These are the two extra sed commands mentioned above.
98601       (echo ':t
98602   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
98603       if test -z "$ac_sed_cmds"; then
98604         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
98605       else
98606         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
98607       fi
98608       ac_sed_frag=`expr $ac_sed_frag + 1`
98609       ac_beg=$ac_end
98610       ac_end=`expr $ac_end + $ac_max_sed_lines`
98611     fi
98612   done
98613   if test -z "$ac_sed_cmds"; then
98614     ac_sed_cmds=cat
98615   fi
98616 fi # test -n "$CONFIG_FILES"
98617
98618 _ACEOF
98619 cat >>$CONFIG_STATUS <<\_ACEOF
98620 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
98621   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
98622   case $ac_file in
98623   - | *:- | *:-:* ) # input from stdin
98624         cat >$tmp/stdin
98625         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98626         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98627   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98628         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98629   * )   ac_file_in=$ac_file.in ;;
98630   esac
98631
98632   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
98633   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
98634 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
98635          X"$ac_file" : 'X\(//\)[^/]' \| \
98636          X"$ac_file" : 'X\(//\)$' \| \
98637          X"$ac_file" : 'X\(/\)' \| \
98638          .     : '\(.\)' 2>/dev/null ||
98639 echo X"$ac_file" |
98640     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
98641           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
98642           /^X\(\/\/\)$/{ s//\1/; q; }
98643           /^X\(\/\).*/{ s//\1/; q; }
98644           s/.*/./; q'`
98645   { if $as_mkdir_p; then
98646     mkdir -p "$ac_dir"
98647   else
98648     as_dir="$ac_dir"
98649     as_dirs=
98650     while test ! -d "$as_dir"; do
98651       as_dirs="$as_dir $as_dirs"
98652       as_dir=`(dirname "$as_dir") 2>/dev/null ||
98653 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
98654          X"$as_dir" : 'X\(//\)[^/]' \| \
98655          X"$as_dir" : 'X\(//\)$' \| \
98656          X"$as_dir" : 'X\(/\)' \| \
98657          .     : '\(.\)' 2>/dev/null ||
98658 echo X"$as_dir" |
98659     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
98660           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
98661           /^X\(\/\/\)$/{ s//\1/; q; }
98662           /^X\(\/\).*/{ s//\1/; q; }
98663           s/.*/./; q'`
98664     done
98665     test ! -n "$as_dirs" || mkdir $as_dirs
98666   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
98667 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
98668    { (exit 1); exit 1; }; }; }
98669
98670   ac_builddir=.
98671
98672 if test "$ac_dir" != .; then
98673   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
98674   # A "../" for each directory in $ac_dir_suffix.
98675   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
98676 else
98677   ac_dir_suffix= ac_top_builddir=
98678 fi
98679
98680 case $srcdir in
98681   .)  # No --srcdir option.  We are building in place.
98682     ac_srcdir=.
98683     if test -z "$ac_top_builddir"; then
98684        ac_top_srcdir=.
98685     else
98686        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
98687     fi ;;
98688   [\\/]* | ?:[\\/]* )  # Absolute path.
98689     ac_srcdir=$srcdir$ac_dir_suffix;
98690     ac_top_srcdir=$srcdir ;;
98691   *) # Relative path.
98692     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
98693     ac_top_srcdir=$ac_top_builddir$srcdir ;;
98694 esac
98695
98696 # Do not use `cd foo && pwd` to compute absolute paths, because
98697 # the directories may not exist.
98698 case `pwd` in
98699 .) ac_abs_builddir="$ac_dir";;
98700 *)
98701   case "$ac_dir" in
98702   .) ac_abs_builddir=`pwd`;;
98703   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
98704   *) ac_abs_builddir=`pwd`/"$ac_dir";;
98705   esac;;
98706 esac
98707 case $ac_abs_builddir in
98708 .) ac_abs_top_builddir=${ac_top_builddir}.;;
98709 *)
98710   case ${ac_top_builddir}. in
98711   .) ac_abs_top_builddir=$ac_abs_builddir;;
98712   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
98713   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
98714   esac;;
98715 esac
98716 case $ac_abs_builddir in
98717 .) ac_abs_srcdir=$ac_srcdir;;
98718 *)
98719   case $ac_srcdir in
98720   .) ac_abs_srcdir=$ac_abs_builddir;;
98721   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
98722   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
98723   esac;;
98724 esac
98725 case $ac_abs_builddir in
98726 .) ac_abs_top_srcdir=$ac_top_srcdir;;
98727 *)
98728   case $ac_top_srcdir in
98729   .) ac_abs_top_srcdir=$ac_abs_builddir;;
98730   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
98731   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
98732   esac;;
98733 esac
98734
98735
98736   case $INSTALL in
98737   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
98738   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
98739   esac
98740
98741   if test x"$ac_file" != x-; then
98742     { echo "$as_me:$LINENO: creating $ac_file" >&5
98743 echo "$as_me: creating $ac_file" >&6;}
98744     rm -f "$ac_file"
98745   fi
98746   # Let's still pretend it is `configure' which instantiates (i.e., don't
98747   # use $as_me), people would be surprised to read:
98748   #    /* config.h.  Generated by config.status.  */
98749   if test x"$ac_file" = x-; then
98750     configure_input=
98751   else
98752     configure_input="$ac_file.  "
98753   fi
98754   configure_input=$configure_input"Generated from `echo $ac_file_in |
98755                                      sed 's,.*/,,'` by configure."
98756
98757   # First look for the input files in the build tree, otherwise in the
98758   # src tree.
98759   ac_file_inputs=`IFS=:
98760     for f in $ac_file_in; do
98761       case $f in
98762       -) echo $tmp/stdin ;;
98763       [\\/$]*)
98764          # Absolute (can't be DOS-style, as IFS=:)
98765          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98766 echo "$as_me: error: cannot find input file: $f" >&2;}
98767    { (exit 1); exit 1; }; }
98768          echo "$f";;
98769       *) # Relative
98770          if test -f "$f"; then
98771            # Build tree
98772            echo "$f"
98773          elif test -f "$srcdir/$f"; then
98774            # Source tree
98775            echo "$srcdir/$f"
98776          else
98777            # /dev/null tree
98778            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98779 echo "$as_me: error: cannot find input file: $f" >&2;}
98780    { (exit 1); exit 1; }; }
98781          fi;;
98782       esac
98783     done` || { (exit 1); exit 1; }
98784 _ACEOF
98785 cat >>$CONFIG_STATUS <<_ACEOF
98786   sed "$ac_vpsub
98787 $extrasub
98788 _ACEOF
98789 cat >>$CONFIG_STATUS <<\_ACEOF
98790 :t
98791 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
98792 s,@configure_input@,$configure_input,;t t
98793 s,@srcdir@,$ac_srcdir,;t t
98794 s,@abs_srcdir@,$ac_abs_srcdir,;t t
98795 s,@top_srcdir@,$ac_top_srcdir,;t t
98796 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
98797 s,@builddir@,$ac_builddir,;t t
98798 s,@abs_builddir@,$ac_abs_builddir,;t t
98799 s,@top_builddir@,$ac_top_builddir,;t t
98800 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
98801 s,@INSTALL@,$ac_INSTALL,;t t
98802 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
98803   rm -f $tmp/stdin
98804   if test x"$ac_file" != x-; then
98805     mv $tmp/out $ac_file
98806   else
98807     cat $tmp/out
98808     rm -f $tmp/out
98809   fi
98810
98811   # Run the commands associated with the file.
98812   case $ac_file in
98813     scripts/check_survey ) chmod +x scripts/check_survey ;;
98814     scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
98815   esac
98816 done
98817 _ACEOF
98818 cat >>$CONFIG_STATUS <<\_ACEOF
98819
98820 #
98821 # CONFIG_HEADER section.
98822 #
98823
98824 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
98825 # NAME is the cpp macro being defined and VALUE is the value it is being given.
98826 #
98827 # ac_d sets the value in "#define NAME VALUE" lines.
98828 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
98829 ac_dB='[         ].*$,\1#\2'
98830 ac_dC=' '
98831 ac_dD=',;t'
98832 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
98833 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
98834 ac_uB='$,\1#\2define\3'
98835 ac_uC=' '
98836 ac_uD=',;t'
98837
98838 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
98839   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
98840   case $ac_file in
98841   - | *:- | *:-:* ) # input from stdin
98842         cat >$tmp/stdin
98843         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98844         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98845   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98846         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98847   * )   ac_file_in=$ac_file.in ;;
98848   esac
98849
98850   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
98851 echo "$as_me: creating $ac_file" >&6;}
98852
98853   # First look for the input files in the build tree, otherwise in the
98854   # src tree.
98855   ac_file_inputs=`IFS=:
98856     for f in $ac_file_in; do
98857       case $f in
98858       -) echo $tmp/stdin ;;
98859       [\\/$]*)
98860          # Absolute (can't be DOS-style, as IFS=:)
98861          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98862 echo "$as_me: error: cannot find input file: $f" >&2;}
98863    { (exit 1); exit 1; }; }
98864          # Do quote $f, to prevent DOS paths from being IFS'd.
98865          echo "$f";;
98866       *) # Relative
98867          if test -f "$f"; then
98868            # Build tree
98869            echo "$f"
98870          elif test -f "$srcdir/$f"; then
98871            # Source tree
98872            echo "$srcdir/$f"
98873          else
98874            # /dev/null tree
98875            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98876 echo "$as_me: error: cannot find input file: $f" >&2;}
98877    { (exit 1); exit 1; }; }
98878          fi;;
98879       esac
98880     done` || { (exit 1); exit 1; }
98881   # Remove the trailing spaces.
98882   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
98883
98884 _ACEOF
98885
98886 # Transform confdefs.h into two sed scripts, `conftest.defines' and
98887 # `conftest.undefs', that substitutes the proper values into
98888 # config.h.in to produce config.h.  The first handles `#define'
98889 # templates, and the second `#undef' templates.
98890 # And first: Protect against being on the right side of a sed subst in
98891 # config.status.  Protect against being in an unquoted here document
98892 # in config.status.
98893 rm -f conftest.defines conftest.undefs
98894 # Using a here document instead of a string reduces the quoting nightmare.
98895 # Putting comments in sed scripts is not portable.
98896 #
98897 # `end' is used to avoid that the second main sed command (meant for
98898 # 0-ary CPP macros) applies to n-ary macro definitions.
98899 # See the Autoconf documentation for `clear'.
98900 cat >confdef2sed.sed <<\_ACEOF
98901 s/[\\&,]/\\&/g
98902 s,[\\$`],\\&,g
98903 t clear
98904 : clear
98905 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
98906 t end
98907 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
98908 : end
98909 _ACEOF
98910 # If some macros were called several times there might be several times
98911 # the same #defines, which is useless.  Nevertheless, we may not want to
98912 # sort them, since we want the *last* AC-DEFINE to be honored.
98913 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
98914 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
98915 rm -f confdef2sed.sed
98916
98917 # This sed command replaces #undef with comments.  This is necessary, for
98918 # example, in the case of _POSIX_SOURCE, which is predefined and required
98919 # on some systems where configure will not decide to define it.
98920 cat >>conftest.undefs <<\_ACEOF
98921 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
98922 _ACEOF
98923
98924 # Break up conftest.defines because some shells have a limit on the size
98925 # of here documents, and old seds have small limits too (100 cmds).
98926 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
98927 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
98928 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
98929 echo '  :' >>$CONFIG_STATUS
98930 rm -f conftest.tail
98931 while grep . conftest.defines >/dev/null
98932 do
98933   # Write a limited-size here document to $tmp/defines.sed.
98934   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
98935   # Speed up: don't consider the non `#define' lines.
98936   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
98937   # Work around the forget-to-reset-the-flag bug.
98938   echo 't clr' >>$CONFIG_STATUS
98939   echo ': clr' >>$CONFIG_STATUS
98940   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
98941   echo 'CEOF
98942   sed -f $tmp/defines.sed $tmp/in >$tmp/out
98943   rm -f $tmp/in
98944   mv $tmp/out $tmp/in
98945 ' >>$CONFIG_STATUS
98946   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
98947   rm -f conftest.defines
98948   mv conftest.tail conftest.defines
98949 done
98950 rm -f conftest.defines
98951 echo '  fi # grep' >>$CONFIG_STATUS
98952 echo >>$CONFIG_STATUS
98953
98954 # Break up conftest.undefs because some shells have a limit on the size
98955 # of here documents, and old seds have small limits too (100 cmds).
98956 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
98957 rm -f conftest.tail
98958 while grep . conftest.undefs >/dev/null
98959 do
98960   # Write a limited-size here document to $tmp/undefs.sed.
98961   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
98962   # Speed up: don't consider the non `#undef'
98963   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
98964   # Work around the forget-to-reset-the-flag bug.
98965   echo 't clr' >>$CONFIG_STATUS
98966   echo ': clr' >>$CONFIG_STATUS
98967   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
98968   echo 'CEOF
98969   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
98970   rm -f $tmp/in
98971   mv $tmp/out $tmp/in
98972 ' >>$CONFIG_STATUS
98973   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
98974   rm -f conftest.undefs
98975   mv conftest.tail conftest.undefs
98976 done
98977 rm -f conftest.undefs
98978
98979 cat >>$CONFIG_STATUS <<\_ACEOF
98980   # Let's still pretend it is `configure' which instantiates (i.e., don't
98981   # use $as_me), people would be surprised to read:
98982   #    /* config.h.  Generated by config.status.  */
98983   if test x"$ac_file" = x-; then
98984     echo "/* Generated by configure.  */" >$tmp/config.h
98985   else
98986     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
98987   fi
98988   cat $tmp/in >>$tmp/config.h
98989   rm -f $tmp/in
98990   if test x"$ac_file" != x-; then
98991     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
98992       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
98993 echo "$as_me: $ac_file is unchanged" >&6;}
98994     else
98995       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
98996 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
98997          X"$ac_file" : 'X\(//\)[^/]' \| \
98998          X"$ac_file" : 'X\(//\)$' \| \
98999          X"$ac_file" : 'X\(/\)' \| \
99000          .     : '\(.\)' 2>/dev/null ||
99001 echo X"$ac_file" |
99002     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99003           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99004           /^X\(\/\/\)$/{ s//\1/; q; }
99005           /^X\(\/\).*/{ s//\1/; q; }
99006           s/.*/./; q'`
99007       { if $as_mkdir_p; then
99008     mkdir -p "$ac_dir"
99009   else
99010     as_dir="$ac_dir"
99011     as_dirs=
99012     while test ! -d "$as_dir"; do
99013       as_dirs="$as_dir $as_dirs"
99014       as_dir=`(dirname "$as_dir") 2>/dev/null ||
99015 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
99016          X"$as_dir" : 'X\(//\)[^/]' \| \
99017          X"$as_dir" : 'X\(//\)$' \| \
99018          X"$as_dir" : 'X\(/\)' \| \
99019          .     : '\(.\)' 2>/dev/null ||
99020 echo X"$as_dir" |
99021     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99022           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99023           /^X\(\/\/\)$/{ s//\1/; q; }
99024           /^X\(\/\).*/{ s//\1/; q; }
99025           s/.*/./; q'`
99026     done
99027     test ! -n "$as_dirs" || mkdir $as_dirs
99028   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
99029 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
99030    { (exit 1); exit 1; }; }; }
99031
99032       rm -f $ac_file
99033       mv $tmp/config.h $ac_file
99034     fi
99035   else
99036     cat $tmp/config.h
99037     rm -f $tmp/config.h
99038   fi
99039 # Compute $ac_file's index in $config_headers.
99040 _am_stamp_count=1
99041 for _am_header in $config_headers :; do
99042   case $_am_header in
99043     $ac_file | $ac_file:* )
99044       break ;;
99045     * )
99046       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
99047   esac
99048 done
99049 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
99050 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
99051          X$ac_file : 'X\(//\)[^/]' \| \
99052          X$ac_file : 'X\(//\)$' \| \
99053          X$ac_file : 'X\(/\)' \| \
99054          .     : '\(.\)' 2>/dev/null ||
99055 echo X$ac_file |
99056     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99057           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99058           /^X\(\/\/\)$/{ s//\1/; q; }
99059           /^X\(\/\).*/{ s//\1/; q; }
99060           s/.*/./; q'`/stamp-h$_am_stamp_count
99061 done
99062 _ACEOF
99063 cat >>$CONFIG_STATUS <<\_ACEOF
99064
99065 #
99066 # CONFIG_COMMANDS section.
99067 #
99068 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
99069   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
99070   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
99071   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
99072 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
99073          X"$ac_dest" : 'X\(//\)[^/]' \| \
99074          X"$ac_dest" : 'X\(//\)$' \| \
99075          X"$ac_dest" : 'X\(/\)' \| \
99076          .     : '\(.\)' 2>/dev/null ||
99077 echo X"$ac_dest" |
99078     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99079           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99080           /^X\(\/\/\)$/{ s//\1/; q; }
99081           /^X\(\/\).*/{ s//\1/; q; }
99082           s/.*/./; q'`
99083   { if $as_mkdir_p; then
99084     mkdir -p "$ac_dir"
99085   else
99086     as_dir="$ac_dir"
99087     as_dirs=
99088     while test ! -d "$as_dir"; do
99089       as_dirs="$as_dir $as_dirs"
99090       as_dir=`(dirname "$as_dir") 2>/dev/null ||
99091 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
99092          X"$as_dir" : 'X\(//\)[^/]' \| \
99093          X"$as_dir" : 'X\(//\)$' \| \
99094          X"$as_dir" : 'X\(/\)' \| \
99095          .     : '\(.\)' 2>/dev/null ||
99096 echo X"$as_dir" |
99097     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99098           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99099           /^X\(\/\/\)$/{ s//\1/; q; }
99100           /^X\(\/\).*/{ s//\1/; q; }
99101           s/.*/./; q'`
99102     done
99103     test ! -n "$as_dirs" || mkdir $as_dirs
99104   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
99105 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
99106    { (exit 1); exit 1; }; }; }
99107
99108   ac_builddir=.
99109
99110 if test "$ac_dir" != .; then
99111   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
99112   # A "../" for each directory in $ac_dir_suffix.
99113   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
99114 else
99115   ac_dir_suffix= ac_top_builddir=
99116 fi
99117
99118 case $srcdir in
99119   .)  # No --srcdir option.  We are building in place.
99120     ac_srcdir=.
99121     if test -z "$ac_top_builddir"; then
99122        ac_top_srcdir=.
99123     else
99124        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
99125     fi ;;
99126   [\\/]* | ?:[\\/]* )  # Absolute path.
99127     ac_srcdir=$srcdir$ac_dir_suffix;
99128     ac_top_srcdir=$srcdir ;;
99129   *) # Relative path.
99130     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
99131     ac_top_srcdir=$ac_top_builddir$srcdir ;;
99132 esac
99133
99134 # Do not use `cd foo && pwd` to compute absolute paths, because
99135 # the directories may not exist.
99136 case `pwd` in
99137 .) ac_abs_builddir="$ac_dir";;
99138 *)
99139   case "$ac_dir" in
99140   .) ac_abs_builddir=`pwd`;;
99141   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
99142   *) ac_abs_builddir=`pwd`/"$ac_dir";;
99143   esac;;
99144 esac
99145 case $ac_abs_builddir in
99146 .) ac_abs_top_builddir=${ac_top_builddir}.;;
99147 *)
99148   case ${ac_top_builddir}. in
99149   .) ac_abs_top_builddir=$ac_abs_builddir;;
99150   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
99151   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
99152   esac;;
99153 esac
99154 case $ac_abs_builddir in
99155 .) ac_abs_srcdir=$ac_srcdir;;
99156 *)
99157   case $ac_srcdir in
99158   .) ac_abs_srcdir=$ac_abs_builddir;;
99159   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
99160   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
99161   esac;;
99162 esac
99163 case $ac_abs_builddir in
99164 .) ac_abs_top_srcdir=$ac_top_srcdir;;
99165 *)
99166   case $ac_top_srcdir in
99167   .) ac_abs_top_srcdir=$ac_abs_builddir;;
99168   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
99169   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
99170   esac;;
99171 esac
99172
99173
99174   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
99175 echo "$as_me: executing $ac_dest commands" >&6;}
99176   case $ac_dest in
99177     default-1 )
99178 # Only add multilib support code if we just rebuilt the top-level
99179 # Makefile.
99180 case " $CONFIG_FILES " in
99181  *" Makefile "*)
99182    ac_file=Makefile . ${multi_basedir}/config-ml.in
99183    ;;
99184 esac ;;
99185     default ) if test -n "$CONFIG_FILES"; then
99186    # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
99187    # that multilib installs will end up installed in the correct place.
99188    # The testsuite needs it for multilib-aware ABI baseline files.
99189    # To work around this not being passed down from config-ml.in ->
99190    # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
99191    # append it here.  Only modify Makefiles that have just been created.
99192    #
99193    # Also, get rid of this simulated-VPATH thing that automake does.
99194    cat > vpsed << \_EOF
99195 s!`test -f '$<' || echo '$(srcdir)/'`!!
99196 _EOF
99197    for i in $SUBDIRS; do
99198     case $CONFIG_FILES in
99199      *${i}/Makefile*)
99200        #echo "Adding MULTISUBDIR to $i/Makefile"
99201        sed -f vpsed $i/Makefile > tmp
99202        grep '^MULTISUBDIR =' Makefile >> tmp
99203        mv tmp $i/Makefile
99204        ;;
99205     esac
99206    done
99207    rm vpsed
99208  fi
99209  (cd include && ${MAKE-make})
99210  ;;
99211   esac
99212 done
99213 _ACEOF
99214
99215 cat >>$CONFIG_STATUS <<\_ACEOF
99216
99217 { (exit 0); exit 0; }
99218 _ACEOF
99219 chmod +x $CONFIG_STATUS
99220 ac_clean_files=$ac_clean_files_save
99221
99222
99223 # configure is writing to config.log, and then calls config.status.
99224 # config.status does its own redirection, appending to config.log.
99225 # Unfortunately, on DOS this fails, as config.log is still kept open
99226 # by configure, so config.status won't be able to write to it; its
99227 # output is simply discarded.  So we exec the FD to /dev/null,
99228 # effectively closing config.log, so it can be properly (re)opened and
99229 # appended to by config.status.  When coming back to configure, we
99230 # need to make the FD available again.
99231 if test "$no_create" != yes; then
99232   ac_cs_success=:
99233   ac_config_status_args=
99234   test "$silent" = yes &&
99235     ac_config_status_args="$ac_config_status_args --quiet"
99236   exec 5>/dev/null
99237   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
99238   exec 5>>config.log
99239   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
99240   # would make configure fail if this is the last instruction.
99241   $ac_cs_success || { (exit 1); exit 1; }
99242 fi
99243