OSDN Git Service

2004-10-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-__cxa_atexit   Define if __cxa_atexit is to be used instead of
860                           atexit. [default=no]
861   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
862                           [default=$is_hosted]
863   --enable-cstdio=PACKAGE use target-specific I/O package
864                           [default=stdio]
865   --enable-clocale[=MODEL]
866                           use MODEL for target locale package
867                           [default=auto]
868   --enable-nls            use Native Language Support (default)
869   --enable-libstdcxx-allocator=KIND
870                           use KIND for target std::allocator base
871                           [default=auto]
872   --enable-cheaders=KIND  construct "C" headers for g++
873                           [default=$c_model]
874   --enable-c-mbchar       enable multibyte (wide) characters
875                           [default=yes]
876   --enable-c99            turns on ISO/IEC 9899:1999 support
877                           [default=yes]
878   --enable-long-long      enables I/O support for 'long long'
879                           [default=yes]
880   --enable-concept-checks use Boost-derived template checks [default=no]
881   --enable-libstdcxx-debug-flags=FLAGS
882                           pass compiler FLAGS when building debug library
883                           [default="-g3 -O0"]
884   --enable-libstdcxx-debug
885                           build extra debug library [default=no]
886   --enable-cxx-flags=FLAGS
887                           pass compiler FLAGS when building library
888                           [default=]
889   --enable-fully-dynamic-string
890                           do not put empty strings in per-process static
891                           memory [default=no]
892   --enable-symvers=STYLE  enables symbol versioning of the shared library
893                           [default=yes]
894   --enable-version-specific-runtime-libs
895                           Specify that runtime libraries should be installed
896                           in a compiler-specific directory
897
898 Optional Packages:
899   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
900   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
901   --with-target-subdir=SUBDIR
902                           configuring in a subdirectory
903   --with-cross-host=HOST  configuring with a cross compiler
904   --with-newlib           assume newlib as a system C library
905   --with-gnu-ld           assume the C compiler uses GNU ld default=no
906   --with-pic              try to use only PIC/non-PIC objects default=use both
907   --with-gxx-include-dir=DIR
908                           installation directory for include files
909
910 Some influential environment variables:
911   CC          C compiler command
912   CFLAGS      C compiler flags
913   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
914               nonstandard directory <lib dir>
915   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
916               headers in a nonstandard directory <include dir>
917   CXX         C++ compiler command
918   CXXFLAGS    C++ compiler flags
919   CXXCPP      C++ preprocessor
920   CPP         C preprocessor
921
922 Use these variables to override the choices made by `configure' or to help
923 it to find libraries and programs with nonstandard names/locations.
924
925 _ACEOF
926 fi
927
928 if test "$ac_init_help" = "recursive"; then
929   # If there are subdirs, report their specific --help.
930   ac_popdir=`pwd`
931   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
932     test -d $ac_dir || continue
933     ac_builddir=.
934
935 if test "$ac_dir" != .; then
936   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
937   # A "../" for each directory in $ac_dir_suffix.
938   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
939 else
940   ac_dir_suffix= ac_top_builddir=
941 fi
942
943 case $srcdir in
944   .)  # No --srcdir option.  We are building in place.
945     ac_srcdir=.
946     if test -z "$ac_top_builddir"; then
947        ac_top_srcdir=.
948     else
949        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
950     fi ;;
951   [\\/]* | ?:[\\/]* )  # Absolute path.
952     ac_srcdir=$srcdir$ac_dir_suffix;
953     ac_top_srcdir=$srcdir ;;
954   *) # Relative path.
955     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
956     ac_top_srcdir=$ac_top_builddir$srcdir ;;
957 esac
958
959 # Do not use `cd foo && pwd` to compute absolute paths, because
960 # the directories may not exist.
961 case `pwd` in
962 .) ac_abs_builddir="$ac_dir";;
963 *)
964   case "$ac_dir" in
965   .) ac_abs_builddir=`pwd`;;
966   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
967   *) ac_abs_builddir=`pwd`/"$ac_dir";;
968   esac;;
969 esac
970 case $ac_abs_builddir in
971 .) ac_abs_top_builddir=${ac_top_builddir}.;;
972 *)
973   case ${ac_top_builddir}. in
974   .) ac_abs_top_builddir=$ac_abs_builddir;;
975   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
976   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
977   esac;;
978 esac
979 case $ac_abs_builddir in
980 .) ac_abs_srcdir=$ac_srcdir;;
981 *)
982   case $ac_srcdir in
983   .) ac_abs_srcdir=$ac_abs_builddir;;
984   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
985   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
986   esac;;
987 esac
988 case $ac_abs_builddir in
989 .) ac_abs_top_srcdir=$ac_top_srcdir;;
990 *)
991   case $ac_top_srcdir in
992   .) ac_abs_top_srcdir=$ac_abs_builddir;;
993   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
994   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
995   esac;;
996 esac
997
998     cd $ac_dir
999     # Check for guested configure; otherwise get Cygnus style configure.
1000     if test -f $ac_srcdir/configure.gnu; then
1001       echo
1002       $SHELL $ac_srcdir/configure.gnu  --help=recursive
1003     elif test -f $ac_srcdir/configure; then
1004       echo
1005       $SHELL $ac_srcdir/configure  --help=recursive
1006     elif test -f $ac_srcdir/configure.ac ||
1007            test -f $ac_srcdir/configure.in; then
1008       echo
1009       $ac_configure --help
1010     else
1011       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1012     fi
1013     cd $ac_popdir
1014   done
1015 fi
1016
1017 test -n "$ac_init_help" && exit 0
1018 if $ac_init_version; then
1019   cat <<\_ACEOF
1020 package-unused configure version-unused
1021 generated by GNU Autoconf 2.59
1022
1023 Copyright (C) 2003 Free Software Foundation, Inc.
1024 This configure script is free software; the Free Software Foundation
1025 gives unlimited permission to copy, distribute and modify it.
1026 _ACEOF
1027   exit 0
1028 fi
1029 exec 5>config.log
1030 cat >&5 <<_ACEOF
1031 This file contains any messages produced by compilers while
1032 running configure, to aid debugging if configure makes a mistake.
1033
1034 It was created by package-unused $as_me version-unused, which was
1035 generated by GNU Autoconf 2.59.  Invocation command line was
1036
1037   $ $0 $@
1038
1039 _ACEOF
1040 {
1041 cat <<_ASUNAME
1042 ## --------- ##
1043 ## Platform. ##
1044 ## --------- ##
1045
1046 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1047 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1048 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1049 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1050 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1051
1052 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1053 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1054
1055 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1056 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1057 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1058 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1059 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1060 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1061 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1062
1063 _ASUNAME
1064
1065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1066 for as_dir in $PATH
1067 do
1068   IFS=$as_save_IFS
1069   test -z "$as_dir" && as_dir=.
1070   echo "PATH: $as_dir"
1071 done
1072
1073 } >&5
1074
1075 cat >&5 <<_ACEOF
1076
1077
1078 ## ----------- ##
1079 ## Core tests. ##
1080 ## ----------- ##
1081
1082 _ACEOF
1083
1084
1085 # Keep a trace of the command line.
1086 # Strip out --no-create and --no-recursion so they do not pile up.
1087 # Strip out --silent because we don't want to record it for future runs.
1088 # Also quote any args containing shell meta-characters.
1089 # Make two passes to allow for proper duplicate-argument suppression.
1090 ac_configure_args=
1091 ac_configure_args0=
1092 ac_configure_args1=
1093 ac_sep=
1094 ac_must_keep_next=false
1095 for ac_pass in 1 2
1096 do
1097   for ac_arg
1098   do
1099     case $ac_arg in
1100     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1101     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1102     | -silent | --silent | --silen | --sile | --sil)
1103       continue ;;
1104     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1105       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1106     esac
1107     case $ac_pass in
1108     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1109     2)
1110       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1111       if test $ac_must_keep_next = true; then
1112         ac_must_keep_next=false # Got value, back to normal.
1113       else
1114         case $ac_arg in
1115           *=* | --config-cache | -C | -disable-* | --disable-* \
1116           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1117           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1118           | -with-* | --with-* | -without-* | --without-* | --x)
1119             case "$ac_configure_args0 " in
1120               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1121             esac
1122             ;;
1123           -* ) ac_must_keep_next=true ;;
1124         esac
1125       fi
1126       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1127       # Get rid of the leading space.
1128       ac_sep=" "
1129       ;;
1130     esac
1131   done
1132 done
1133 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1134 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1135
1136 # When interrupted or exit'd, cleanup temporary files, and complete
1137 # config.log.  We remove comments because anyway the quotes in there
1138 # would cause problems or look ugly.
1139 # WARNING: Be sure not to use single quotes in there, as some shells,
1140 # such as our DU 5.0 friend, will then `close' the trap.
1141 trap 'exit_status=$?
1142   # Save into config.log some information that might help in debugging.
1143   {
1144     echo
1145
1146     cat <<\_ASBOX
1147 ## ---------------- ##
1148 ## Cache variables. ##
1149 ## ---------------- ##
1150 _ASBOX
1151     echo
1152     # The following way of writing the cache mishandles newlines in values,
1153 {
1154   (set) 2>&1 |
1155     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1156     *ac_space=\ *)
1157       sed -n \
1158         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1159           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1160       ;;
1161     *)
1162       sed -n \
1163         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1164       ;;
1165     esac;
1166 }
1167     echo
1168
1169     cat <<\_ASBOX
1170 ## ----------------- ##
1171 ## Output variables. ##
1172 ## ----------------- ##
1173 _ASBOX
1174     echo
1175     for ac_var in $ac_subst_vars
1176     do
1177       eval ac_val=$`echo $ac_var`
1178       echo "$ac_var='"'"'$ac_val'"'"'"
1179     done | sort
1180     echo
1181
1182     if test -n "$ac_subst_files"; then
1183       cat <<\_ASBOX
1184 ## ------------- ##
1185 ## Output files. ##
1186 ## ------------- ##
1187 _ASBOX
1188       echo
1189       for ac_var in $ac_subst_files
1190       do
1191         eval ac_val=$`echo $ac_var`
1192         echo "$ac_var='"'"'$ac_val'"'"'"
1193       done | sort
1194       echo
1195     fi
1196
1197     if test -s confdefs.h; then
1198       cat <<\_ASBOX
1199 ## ----------- ##
1200 ## confdefs.h. ##
1201 ## ----------- ##
1202 _ASBOX
1203       echo
1204       sed "/^$/d" confdefs.h | sort
1205       echo
1206     fi
1207     test "$ac_signal" != 0 &&
1208       echo "$as_me: caught signal $ac_signal"
1209     echo "$as_me: exit $exit_status"
1210   } >&5
1211   rm -f core *.core &&
1212   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1213     exit $exit_status
1214      ' 0
1215 for ac_signal in 1 2 13 15; do
1216   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1217 done
1218 ac_signal=0
1219
1220 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1221 rm -rf conftest* confdefs.h
1222 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1223 echo >confdefs.h
1224
1225 # Predefined preprocessor variables.
1226
1227 cat >>confdefs.h <<_ACEOF
1228 #define PACKAGE_NAME "$PACKAGE_NAME"
1229 _ACEOF
1230
1231
1232 cat >>confdefs.h <<_ACEOF
1233 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1234 _ACEOF
1235
1236
1237 cat >>confdefs.h <<_ACEOF
1238 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1239 _ACEOF
1240
1241
1242 cat >>confdefs.h <<_ACEOF
1243 #define PACKAGE_STRING "$PACKAGE_STRING"
1244 _ACEOF
1245
1246
1247 cat >>confdefs.h <<_ACEOF
1248 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1249 _ACEOF
1250
1251
1252 # Let the site file select an alternate cache file if it wants to.
1253 # Prefer explicitly selected file to automatically selected ones.
1254 if test -z "$CONFIG_SITE"; then
1255   if test "x$prefix" != xNONE; then
1256     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1257   else
1258     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1259   fi
1260 fi
1261 for ac_site_file in $CONFIG_SITE; do
1262   if test -r "$ac_site_file"; then
1263     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1264 echo "$as_me: loading site script $ac_site_file" >&6;}
1265     sed 's/^/| /' "$ac_site_file" >&5
1266     . "$ac_site_file"
1267   fi
1268 done
1269
1270 if test -r "$cache_file"; then
1271   # Some versions of bash will fail to source /dev/null (special
1272   # files actually), so we avoid doing that.
1273   if test -f "$cache_file"; then
1274     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1275 echo "$as_me: loading cache $cache_file" >&6;}
1276     case $cache_file in
1277       [\\/]* | ?:[\\/]* ) . $cache_file;;
1278       *)                      . ./$cache_file;;
1279     esac
1280   fi
1281 else
1282   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1283 echo "$as_me: creating cache $cache_file" >&6;}
1284   >$cache_file
1285 fi
1286
1287 # Check that the precious variables saved in the cache have kept the same
1288 # value.
1289 ac_cache_corrupted=false
1290 for ac_var in `(set) 2>&1 |
1291                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1292   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1293   eval ac_new_set=\$ac_env_${ac_var}_set
1294   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1295   eval ac_new_val="\$ac_env_${ac_var}_value"
1296   case $ac_old_set,$ac_new_set in
1297     set,)
1298       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1299 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1300       ac_cache_corrupted=: ;;
1301     ,set)
1302       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1303 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1304       ac_cache_corrupted=: ;;
1305     ,);;
1306     *)
1307       if test "x$ac_old_val" != "x$ac_new_val"; then
1308         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1309 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1310         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1311 echo "$as_me:   former value:  $ac_old_val" >&2;}
1312         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1313 echo "$as_me:   current value: $ac_new_val" >&2;}
1314         ac_cache_corrupted=:
1315       fi;;
1316   esac
1317   # Pass precious variables to config.status.
1318   if test "$ac_new_set" = set; then
1319     case $ac_new_val in
1320     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1321       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1322     *) ac_arg=$ac_var=$ac_new_val ;;
1323     esac
1324     case " $ac_configure_args " in
1325       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1326       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1327     esac
1328   fi
1329 done
1330 if $ac_cache_corrupted; then
1331   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1332 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1333   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1334 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1335    { (exit 1); exit 1; }; }
1336 fi
1337
1338 ac_ext=c
1339 ac_cpp='$CPP $CPPFLAGS'
1340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371           ac_config_headers="$ac_config_headers config.h"
1372
1373
1374 # This works around the fact that libtool configuration may change LD
1375 # for this particular configuration, but some shells, instead of
1376 # keeping the changes in LD private, export them just because LD is
1377 # exported.  Only used at the end of this file.
1378 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
1379
1380 # For libtool versioning info, format is CURRENT:REVISION:AGE
1381 libtool_VERSION=6:3:0
1382
1383
1384 # Find the rest of the source tree framework.
1385 # Default to --enable-multilib
1386 # Check whether --enable-multilib or --disable-multilib was given.
1387 if test "${enable_multilib+set}" = set; then
1388   enableval="$enable_multilib"
1389   case "$enableval" in
1390   yes) multilib=yes ;;
1391   no)  multilib=no ;;
1392   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1393 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1394    { (exit 1); exit 1; }; } ;;
1395  esac
1396 else
1397   multilib=yes
1398 fi;
1399
1400 # We may get other options which we leave undocumented:
1401 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1402 # See config-ml.in if you want the gory details.
1403
1404 if test "$srcdir" = "."; then
1405   if test "$with_target_subdir" != "."; then
1406     multi_basedir="$srcdir/$with_multisrctop../.."
1407   else
1408     multi_basedir="$srcdir/$with_multisrctop.."
1409   fi
1410 else
1411   multi_basedir="$srcdir/.."
1412 fi
1413
1414
1415           ac_config_commands="$ac_config_commands default-1"
1416
1417
1418 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1419 #
1420 # You will slowly go insane if you do not grok the following fact:  when
1421 # building v3 as part of the compiler, the top-level /target/ becomes the
1422 # library's /host/.  configure then causes --target to default to --host,
1423 # exactly like any other package using autoconf.  Therefore, 'target' and
1424 # 'host' will always be the same.  This makes sense both for native and
1425 # cross compilers, just think about it for a little while.  :-)
1426 #
1427 # Also, if v3 is being configured as part of a cross compiler, the top-level
1428 # configure script will pass the "real" host as $with_cross_host.
1429 #
1430 # Do not delete or change the following two lines.  For why, see
1431 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1432 ac_aux_dir=
1433 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1434   if test -f $ac_dir/install-sh; then
1435     ac_aux_dir=$ac_dir
1436     ac_install_sh="$ac_aux_dir/install-sh -c"
1437     break
1438   elif test -f $ac_dir/install.sh; then
1439     ac_aux_dir=$ac_dir
1440     ac_install_sh="$ac_aux_dir/install.sh -c"
1441     break
1442   elif test -f $ac_dir/shtool; then
1443     ac_aux_dir=$ac_dir
1444     ac_install_sh="$ac_aux_dir/shtool install -c"
1445     break
1446   fi
1447 done
1448 if test -z "$ac_aux_dir"; then
1449   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1450 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1451    { (exit 1); exit 1; }; }
1452 fi
1453 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1454 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1455 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1456
1457 # Make sure we can run config.sub.
1458 $ac_config_sub sun4 >/dev/null 2>&1 ||
1459   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1460 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1461    { (exit 1); exit 1; }; }
1462
1463 echo "$as_me:$LINENO: checking build system type" >&5
1464 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1465 if test "${ac_cv_build+set}" = set; then
1466   echo $ECHO_N "(cached) $ECHO_C" >&6
1467 else
1468   ac_cv_build_alias=$build_alias
1469 test -z "$ac_cv_build_alias" &&
1470   ac_cv_build_alias=`$ac_config_guess`
1471 test -z "$ac_cv_build_alias" &&
1472   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1473 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1474    { (exit 1); exit 1; }; }
1475 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1476   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1477 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1478    { (exit 1); exit 1; }; }
1479
1480 fi
1481 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1482 echo "${ECHO_T}$ac_cv_build" >&6
1483 build=$ac_cv_build
1484 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1485 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1486 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1487
1488
1489 echo "$as_me:$LINENO: checking host system type" >&5
1490 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1491 if test "${ac_cv_host+set}" = set; then
1492   echo $ECHO_N "(cached) $ECHO_C" >&6
1493 else
1494   ac_cv_host_alias=$host_alias
1495 test -z "$ac_cv_host_alias" &&
1496   ac_cv_host_alias=$ac_cv_build_alias
1497 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1498   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1499 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1500    { (exit 1); exit 1; }; }
1501
1502 fi
1503 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1504 echo "${ECHO_T}$ac_cv_host" >&6
1505 host=$ac_cv_host
1506 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1507 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1508 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1509
1510
1511 echo "$as_me:$LINENO: checking target system type" >&5
1512 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1513 if test "${ac_cv_target+set}" = set; then
1514   echo $ECHO_N "(cached) $ECHO_C" >&6
1515 else
1516   ac_cv_target_alias=$target_alias
1517 test "x$ac_cv_target_alias" = "x" &&
1518   ac_cv_target_alias=$ac_cv_host_alias
1519 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1520   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1521 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1522    { (exit 1); exit 1; }; }
1523
1524 fi
1525 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1526 echo "${ECHO_T}$ac_cv_target" >&6
1527 target=$ac_cv_target
1528 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1529 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1530 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1531
1532
1533 # The aliases save the names the user supplied, while $host etc.
1534 # will get canonicalized.
1535 test -n "$target_alias" &&
1536   test "$program_prefix$program_suffix$program_transform_name" = \
1537     NONENONEs,x,x, &&
1538   program_prefix=${target_alias}-
1539 target_alias=${target_alias-$host_alias}
1540
1541 # Handy for debugging:
1542 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1543
1544 if test "$build" != "$host"; then
1545   # We are being configured with some form of cross compiler.
1546   GLIBCXX_IS_NATIVE=false
1547
1548 else
1549   GLIBCXX_IS_NATIVE=true
1550 fi
1551
1552 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1553 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1554 #  1.x:  minimum required version
1555 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1556 #              of other PACKAGE_* variables will, however, and there's nothing
1557 #              we can do about that; they come from AC_INIT).
1558 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1559 #            file in the top srcdir, etc, etc), so stop complaining.
1560 #  no-dependencies:  turns off auto dependency generation (just for now)
1561 #  -Wall:  turns on all automake warnings...
1562 #  -Wno-portability:  ...except this one, since GNU make is now required.
1563 am__api_version="1.9"
1564 # Find a good install program.  We prefer a C program (faster),
1565 # so one script is as good as another.  But avoid the broken or
1566 # incompatible versions:
1567 # SysV /etc/install, /usr/sbin/install
1568 # SunOS /usr/etc/install
1569 # IRIX /sbin/install
1570 # AIX /bin/install
1571 # AmigaOS /C/install, which installs bootblocks on floppy discs
1572 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1573 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1574 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1575 # OS/2's system install, which has a completely different semantic
1576 # ./install, which can be erroneously created by make from ./install.sh.
1577 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1578 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1579 if test -z "$INSTALL"; then
1580 if test "${ac_cv_path_install+set}" = set; then
1581   echo $ECHO_N "(cached) $ECHO_C" >&6
1582 else
1583   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1584 for as_dir in $PATH
1585 do
1586   IFS=$as_save_IFS
1587   test -z "$as_dir" && as_dir=.
1588   # Account for people who put trailing slashes in PATH elements.
1589 case $as_dir/ in
1590   ./ | .// | /cC/* | \
1591   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1592   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1593   /usr/ucb/* ) ;;
1594   *)
1595     # OSF1 and SCO ODT 3.0 have their own names for install.
1596     # Don't use installbsd from OSF since it installs stuff as root
1597     # by default.
1598     for ac_prog in ginstall scoinst install; do
1599       for ac_exec_ext in '' $ac_executable_extensions; do
1600         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1601           if test $ac_prog = install &&
1602             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1603             # AIX install.  It has an incompatible calling convention.
1604             :
1605           elif test $ac_prog = install &&
1606             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1607             # program-specific install script used by HP pwplus--don't use.
1608             :
1609           else
1610             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1611             break 3
1612           fi
1613         fi
1614       done
1615     done
1616     ;;
1617 esac
1618 done
1619
1620
1621 fi
1622   if test "${ac_cv_path_install+set}" = set; then
1623     INSTALL=$ac_cv_path_install
1624   else
1625     # As a last resort, use the slow shell script.  We don't cache a
1626     # path for INSTALL within a source directory, because that will
1627     # break other packages using the cache if that directory is
1628     # removed, or if the path is relative.
1629     INSTALL=$ac_install_sh
1630   fi
1631 fi
1632 echo "$as_me:$LINENO: result: $INSTALL" >&5
1633 echo "${ECHO_T}$INSTALL" >&6
1634
1635 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1636 # It thinks the first close brace ends the variable substitution.
1637 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1638
1639 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1640
1641 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1642
1643 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1644 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1645 # Just in case
1646 sleep 1
1647 echo timestamp > conftest.file
1648 # Do `set' in a subshell so we don't clobber the current shell's
1649 # arguments.  Must try -L first in case configure is actually a
1650 # symlink; some systems play weird games with the mod time of symlinks
1651 # (eg FreeBSD returns the mod time of the symlink's containing
1652 # directory).
1653 if (
1654    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1655    if test "$*" = "X"; then
1656       # -L didn't work.
1657       set X `ls -t $srcdir/configure conftest.file`
1658    fi
1659    rm -f conftest.file
1660    if test "$*" != "X $srcdir/configure conftest.file" \
1661       && test "$*" != "X conftest.file $srcdir/configure"; then
1662
1663       # If neither matched, then we have a broken ls.  This can happen
1664       # if, for instance, CONFIG_SHELL is bash and it inherits a
1665       # broken ls alias from the environment.  This has actually
1666       # happened.  Such a system could not be considered "sane".
1667       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1668 alias in your environment" >&5
1669 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1670 alias in your environment" >&2;}
1671    { (exit 1); exit 1; }; }
1672    fi
1673
1674    test "$2" = conftest.file
1675    )
1676 then
1677    # Ok.
1678    :
1679 else
1680    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1681 Check your system clock" >&5
1682 echo "$as_me: error: newly created file is older than distributed files!
1683 Check your system clock" >&2;}
1684    { (exit 1); exit 1; }; }
1685 fi
1686 echo "$as_me:$LINENO: result: yes" >&5
1687 echo "${ECHO_T}yes" >&6
1688 test "$program_prefix" != NONE &&
1689   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1690 # Use a double $ so make ignores it.
1691 test "$program_suffix" != NONE &&
1692   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1693 # Double any \ or $.  echo might interpret backslashes.
1694 # By default was `s,x,x', remove it if useless.
1695 cat <<\_ACEOF >conftest.sed
1696 s/[\\$]/&&/g;s/;s,x,x,$//
1697 _ACEOF
1698 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1699 rm conftest.sed
1700
1701 # expand $ac_aux_dir to an absolute path
1702 am_aux_dir=`cd $ac_aux_dir && pwd`
1703
1704 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1705 # Use eval to expand $SHELL
1706 if eval "$MISSING --run true"; then
1707   am_missing_run="$MISSING --run "
1708 else
1709   am_missing_run=
1710   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1711 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1712 fi
1713
1714 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1715   # We used to keeping the `.' as first argument, in order to
1716   # allow $(mkdir_p) to be used without argument.  As in
1717   #   $(mkdir_p) $(somedir)
1718   # where $(somedir) is conditionally defined.  However this is wrong
1719   # for two reasons:
1720   #  1. if the package is installed by a user who cannot write `.'
1721   #     make install will fail,
1722   #  2. the above comment should most certainly read
1723   #     $(mkdir_p) $(DESTDIR)$(somedir)
1724   #     so it does not work when $(somedir) is undefined and
1725   #     $(DESTDIR) is not.
1726   #  To support the latter case, we have to write
1727   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1728   #  so the `.' trick is pointless.
1729   mkdir_p='mkdir -p --'
1730 else
1731   # On NextStep and OpenStep, the `mkdir' command does not
1732   # recognize any option.  It will interpret all options as
1733   # directories to create, and then abort because `.' already
1734   # exists.
1735   for d in ./-p ./--version;
1736   do
1737     test -d $d && rmdir $d
1738   done
1739   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1740   if test -f "$ac_aux_dir/mkinstalldirs"; then
1741     mkdir_p='$(mkinstalldirs)'
1742   else
1743     mkdir_p='$(install_sh) -d'
1744   fi
1745 fi
1746
1747 for ac_prog in gawk mawk nawk awk
1748 do
1749   # Extract the first word of "$ac_prog", so it can be a program name with args.
1750 set dummy $ac_prog; ac_word=$2
1751 echo "$as_me:$LINENO: checking for $ac_word" >&5
1752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1753 if test "${ac_cv_prog_AWK+set}" = set; then
1754   echo $ECHO_N "(cached) $ECHO_C" >&6
1755 else
1756   if test -n "$AWK"; then
1757   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1758 else
1759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1760 for as_dir in $PATH
1761 do
1762   IFS=$as_save_IFS
1763   test -z "$as_dir" && as_dir=.
1764   for ac_exec_ext in '' $ac_executable_extensions; do
1765   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1766     ac_cv_prog_AWK="$ac_prog"
1767     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1768     break 2
1769   fi
1770 done
1771 done
1772
1773 fi
1774 fi
1775 AWK=$ac_cv_prog_AWK
1776 if test -n "$AWK"; then
1777   echo "$as_me:$LINENO: result: $AWK" >&5
1778 echo "${ECHO_T}$AWK" >&6
1779 else
1780   echo "$as_me:$LINENO: result: no" >&5
1781 echo "${ECHO_T}no" >&6
1782 fi
1783
1784   test -n "$AWK" && break
1785 done
1786
1787 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1788 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1789 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1790 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1791   echo $ECHO_N "(cached) $ECHO_C" >&6
1792 else
1793   cat >conftest.make <<\_ACEOF
1794 all:
1795         @echo 'ac_maketemp="$(MAKE)"'
1796 _ACEOF
1797 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1798 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1799 if test -n "$ac_maketemp"; then
1800   eval ac_cv_prog_make_${ac_make}_set=yes
1801 else
1802   eval ac_cv_prog_make_${ac_make}_set=no
1803 fi
1804 rm -f conftest.make
1805 fi
1806 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1807   echo "$as_me:$LINENO: result: yes" >&5
1808 echo "${ECHO_T}yes" >&6
1809   SET_MAKE=
1810 else
1811   echo "$as_me:$LINENO: result: no" >&5
1812 echo "${ECHO_T}no" >&6
1813   SET_MAKE="MAKE=${MAKE-make}"
1814 fi
1815
1816 rm -rf .tst 2>/dev/null
1817 mkdir .tst 2>/dev/null
1818 if test -d .tst; then
1819   am__leading_dot=.
1820 else
1821   am__leading_dot=_
1822 fi
1823 rmdir .tst 2>/dev/null
1824
1825 # test to see if srcdir already configured
1826 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1827    test -f $srcdir/config.status; then
1828   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1829 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1830    { (exit 1); exit 1; }; }
1831 fi
1832
1833 # test whether we have cygpath
1834 if test -z "$CYGPATH_W"; then
1835   if (cygpath --version) >/dev/null 2>/dev/null; then
1836     CYGPATH_W='cygpath -w'
1837   else
1838     CYGPATH_W=echo
1839   fi
1840 fi
1841
1842
1843 # Define the identity of the package.
1844  PACKAGE='libstdc++'
1845  VERSION='version-unused'
1846
1847
1848 # Some tools Automake needs.
1849
1850 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1851
1852
1853 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1854
1855
1856 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1857
1858
1859 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1860
1861
1862 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1863
1864 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1865
1866 # Installed binaries are usually stripped using `strip' when the user
1867 # run `make install-strip'.  However `strip' might not be the right
1868 # tool to use in cross-compilation environments, therefore Automake
1869 # will honor the `STRIP' environment variable to overrule this program.
1870 if test "$cross_compiling" != no; then
1871   if test -n "$ac_tool_prefix"; then
1872   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1873 set dummy ${ac_tool_prefix}strip; ac_word=$2
1874 echo "$as_me:$LINENO: checking for $ac_word" >&5
1875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1876 if test "${ac_cv_prog_STRIP+set}" = set; then
1877   echo $ECHO_N "(cached) $ECHO_C" >&6
1878 else
1879   if test -n "$STRIP"; then
1880   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1881 else
1882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1883 for as_dir in $PATH
1884 do
1885   IFS=$as_save_IFS
1886   test -z "$as_dir" && as_dir=.
1887   for ac_exec_ext in '' $ac_executable_extensions; do
1888   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1889     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1890     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1891     break 2
1892   fi
1893 done
1894 done
1895
1896 fi
1897 fi
1898 STRIP=$ac_cv_prog_STRIP
1899 if test -n "$STRIP"; then
1900   echo "$as_me:$LINENO: result: $STRIP" >&5
1901 echo "${ECHO_T}$STRIP" >&6
1902 else
1903   echo "$as_me:$LINENO: result: no" >&5
1904 echo "${ECHO_T}no" >&6
1905 fi
1906
1907 fi
1908 if test -z "$ac_cv_prog_STRIP"; then
1909   ac_ct_STRIP=$STRIP
1910   # Extract the first word of "strip", so it can be a program name with args.
1911 set dummy strip; ac_word=$2
1912 echo "$as_me:$LINENO: checking for $ac_word" >&5
1913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1914 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1915   echo $ECHO_N "(cached) $ECHO_C" >&6
1916 else
1917   if test -n "$ac_ct_STRIP"; then
1918   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1919 else
1920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1921 for as_dir in $PATH
1922 do
1923   IFS=$as_save_IFS
1924   test -z "$as_dir" && as_dir=.
1925   for ac_exec_ext in '' $ac_executable_extensions; do
1926   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1927     ac_cv_prog_ac_ct_STRIP="strip"
1928     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1929     break 2
1930   fi
1931 done
1932 done
1933
1934   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1935 fi
1936 fi
1937 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1938 if test -n "$ac_ct_STRIP"; then
1939   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1940 echo "${ECHO_T}$ac_ct_STRIP" >&6
1941 else
1942   echo "$as_me:$LINENO: result: no" >&5
1943 echo "${ECHO_T}no" >&6
1944 fi
1945
1946   STRIP=$ac_ct_STRIP
1947 else
1948   STRIP="$ac_cv_prog_STRIP"
1949 fi
1950
1951 fi
1952 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1953
1954 # We need awk for the "check" target.  The system "awk" is bad on
1955 # some platforms.
1956 # Always define AMTAR for backward compatibility.
1957
1958 AMTAR=${AMTAR-"${am_missing_run}tar"}
1959
1960 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1961
1962
1963
1964
1965
1966
1967 # Runs configure.host, finds CC, CXX, and assorted other critical bits.  Sets
1968 # up critical shell variables.
1969
1970   # Keep these sync'd with the list in Makefile.am.  The first provides an
1971   # expandable list at autoconf time; the second provides an expandable list
1972   # (i.e., shell variable) at configure time.
1973
1974   SUBDIRS='include libmath libsupc++ src po testsuite'
1975
1976   # These need to be absolute paths, yet at the same time need to
1977   # canonicalize only relative paths, because then amd will not unmount
1978   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1979   glibcxx_builddir=`${PWDCMD-pwd}`
1980   case $srcdir in
1981     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1982     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1983   esac
1984   toplevel_srcdir=${glibcxx_srcdir}/..
1985
1986
1987
1988
1989   # We use these options to decide which functions to include.  They are
1990   # set from the top level.
1991
1992 # Check whether --with-target-subdir or --without-target-subdir was given.
1993 if test "${with_target_subdir+set}" = set; then
1994   withval="$with_target_subdir"
1995
1996 fi;
1997
1998
1999 # Check whether --with-cross-host or --without-cross-host was given.
2000 if test "${with_cross_host+set}" = set; then
2001   withval="$with_cross_host"
2002
2003 fi;
2004
2005
2006 # Check whether --with-newlib or --without-newlib was given.
2007 if test "${with_newlib+set}" = set; then
2008   withval="$with_newlib"
2009
2010 fi;
2011
2012   # We're almost certainly being configured before anything else which uses
2013   # C++, so all of our AC_PROG_* discoveries will be cached.  It's vital that
2014   # we not cache the value of CXX that we "discover" here, because it's set
2015   # to something unique for us and libjava.  Other target libraries need to
2016   # find CXX for themselves.  We yank the rug out from under the normal AC_*
2017   # process by sneakily renaming the cache variable.  This also lets us debug
2018   # the value of "our" CXX in postmortems.
2019   #
2020   # We must also force CXX to /not/ be a precious variable, otherwise the
2021   # wrong (non-multilib-adjusted) value will be used in multilibs.  This
2022   # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS.  And as a side
2023   # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2024   # that ourselves.  Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2025   #
2026   # -fno-builtin must be present here so that a non-conflicting form of
2027   # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2028
2029
2030
2031
2032   save_CXXFLAGS="$CXXFLAGS"
2033   CXXFLAGS="$CXXFLAGS -fno-builtin"
2034   ac_ext=c
2035 ac_cpp='$CPP $CPPFLAGS'
2036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2039 if test -n "$ac_tool_prefix"; then
2040   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2041 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2042 echo "$as_me:$LINENO: checking for $ac_word" >&5
2043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2044 if test "${ac_cv_prog_CC+set}" = set; then
2045   echo $ECHO_N "(cached) $ECHO_C" >&6
2046 else
2047   if test -n "$CC"; then
2048   ac_cv_prog_CC="$CC" # Let the user override the test.
2049 else
2050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2051 for as_dir in $PATH
2052 do
2053   IFS=$as_save_IFS
2054   test -z "$as_dir" && as_dir=.
2055   for ac_exec_ext in '' $ac_executable_extensions; do
2056   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2057     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2058     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2059     break 2
2060   fi
2061 done
2062 done
2063
2064 fi
2065 fi
2066 CC=$ac_cv_prog_CC
2067 if test -n "$CC"; then
2068   echo "$as_me:$LINENO: result: $CC" >&5
2069 echo "${ECHO_T}$CC" >&6
2070 else
2071   echo "$as_me:$LINENO: result: no" >&5
2072 echo "${ECHO_T}no" >&6
2073 fi
2074
2075 fi
2076 if test -z "$ac_cv_prog_CC"; then
2077   ac_ct_CC=$CC
2078   # Extract the first word of "gcc", so it can be a program name with args.
2079 set dummy gcc; ac_word=$2
2080 echo "$as_me:$LINENO: checking for $ac_word" >&5
2081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2082 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2083   echo $ECHO_N "(cached) $ECHO_C" >&6
2084 else
2085   if test -n "$ac_ct_CC"; then
2086   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2087 else
2088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2089 for as_dir in $PATH
2090 do
2091   IFS=$as_save_IFS
2092   test -z "$as_dir" && as_dir=.
2093   for ac_exec_ext in '' $ac_executable_extensions; do
2094   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2095     ac_cv_prog_ac_ct_CC="gcc"
2096     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2097     break 2
2098   fi
2099 done
2100 done
2101
2102 fi
2103 fi
2104 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2105 if test -n "$ac_ct_CC"; then
2106   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2107 echo "${ECHO_T}$ac_ct_CC" >&6
2108 else
2109   echo "$as_me:$LINENO: result: no" >&5
2110 echo "${ECHO_T}no" >&6
2111 fi
2112
2113   CC=$ac_ct_CC
2114 else
2115   CC="$ac_cv_prog_CC"
2116 fi
2117
2118 if test -z "$CC"; then
2119   if test -n "$ac_tool_prefix"; then
2120   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2121 set dummy ${ac_tool_prefix}cc; ac_word=$2
2122 echo "$as_me:$LINENO: checking for $ac_word" >&5
2123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2124 if test "${ac_cv_prog_CC+set}" = set; then
2125   echo $ECHO_N "(cached) $ECHO_C" >&6
2126 else
2127   if test -n "$CC"; then
2128   ac_cv_prog_CC="$CC" # Let the user override the test.
2129 else
2130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2131 for as_dir in $PATH
2132 do
2133   IFS=$as_save_IFS
2134   test -z "$as_dir" && as_dir=.
2135   for ac_exec_ext in '' $ac_executable_extensions; do
2136   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2137     ac_cv_prog_CC="${ac_tool_prefix}cc"
2138     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2139     break 2
2140   fi
2141 done
2142 done
2143
2144 fi
2145 fi
2146 CC=$ac_cv_prog_CC
2147 if test -n "$CC"; then
2148   echo "$as_me:$LINENO: result: $CC" >&5
2149 echo "${ECHO_T}$CC" >&6
2150 else
2151   echo "$as_me:$LINENO: result: no" >&5
2152 echo "${ECHO_T}no" >&6
2153 fi
2154
2155 fi
2156 if test -z "$ac_cv_prog_CC"; then
2157   ac_ct_CC=$CC
2158   # Extract the first word of "cc", so it can be a program name with args.
2159 set dummy cc; ac_word=$2
2160 echo "$as_me:$LINENO: checking for $ac_word" >&5
2161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2162 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2163   echo $ECHO_N "(cached) $ECHO_C" >&6
2164 else
2165   if test -n "$ac_ct_CC"; then
2166   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2167 else
2168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2169 for as_dir in $PATH
2170 do
2171   IFS=$as_save_IFS
2172   test -z "$as_dir" && as_dir=.
2173   for ac_exec_ext in '' $ac_executable_extensions; do
2174   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2175     ac_cv_prog_ac_ct_CC="cc"
2176     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2177     break 2
2178   fi
2179 done
2180 done
2181
2182 fi
2183 fi
2184 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2185 if test -n "$ac_ct_CC"; then
2186   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2187 echo "${ECHO_T}$ac_ct_CC" >&6
2188 else
2189   echo "$as_me:$LINENO: result: no" >&5
2190 echo "${ECHO_T}no" >&6
2191 fi
2192
2193   CC=$ac_ct_CC
2194 else
2195   CC="$ac_cv_prog_CC"
2196 fi
2197
2198 fi
2199 if test -z "$CC"; then
2200   # Extract the first word of "cc", so it can be a program name with args.
2201 set dummy cc; ac_word=$2
2202 echo "$as_me:$LINENO: checking for $ac_word" >&5
2203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2204 if test "${ac_cv_prog_CC+set}" = set; then
2205   echo $ECHO_N "(cached) $ECHO_C" >&6
2206 else
2207   if test -n "$CC"; then
2208   ac_cv_prog_CC="$CC" # Let the user override the test.
2209 else
2210   ac_prog_rejected=no
2211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2212 for as_dir in $PATH
2213 do
2214   IFS=$as_save_IFS
2215   test -z "$as_dir" && as_dir=.
2216   for ac_exec_ext in '' $ac_executable_extensions; do
2217   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2218     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2219        ac_prog_rejected=yes
2220        continue
2221      fi
2222     ac_cv_prog_CC="cc"
2223     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2224     break 2
2225   fi
2226 done
2227 done
2228
2229 if test $ac_prog_rejected = yes; then
2230   # We found a bogon in the path, so make sure we never use it.
2231   set dummy $ac_cv_prog_CC
2232   shift
2233   if test $# != 0; then
2234     # We chose a different compiler from the bogus one.
2235     # However, it has the same basename, so the bogon will be chosen
2236     # first if we set CC to just the basename; use the full file name.
2237     shift
2238     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2239   fi
2240 fi
2241 fi
2242 fi
2243 CC=$ac_cv_prog_CC
2244 if test -n "$CC"; then
2245   echo "$as_me:$LINENO: result: $CC" >&5
2246 echo "${ECHO_T}$CC" >&6
2247 else
2248   echo "$as_me:$LINENO: result: no" >&5
2249 echo "${ECHO_T}no" >&6
2250 fi
2251
2252 fi
2253 if test -z "$CC"; then
2254   if test -n "$ac_tool_prefix"; then
2255   for ac_prog in cl
2256   do
2257     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2258 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2259 echo "$as_me:$LINENO: checking for $ac_word" >&5
2260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2261 if test "${ac_cv_prog_CC+set}" = set; then
2262   echo $ECHO_N "(cached) $ECHO_C" >&6
2263 else
2264   if test -n "$CC"; then
2265   ac_cv_prog_CC="$CC" # Let the user override the test.
2266 else
2267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2268 for as_dir in $PATH
2269 do
2270   IFS=$as_save_IFS
2271   test -z "$as_dir" && as_dir=.
2272   for ac_exec_ext in '' $ac_executable_extensions; do
2273   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2274     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2275     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2276     break 2
2277   fi
2278 done
2279 done
2280
2281 fi
2282 fi
2283 CC=$ac_cv_prog_CC
2284 if test -n "$CC"; then
2285   echo "$as_me:$LINENO: result: $CC" >&5
2286 echo "${ECHO_T}$CC" >&6
2287 else
2288   echo "$as_me:$LINENO: result: no" >&5
2289 echo "${ECHO_T}no" >&6
2290 fi
2291
2292     test -n "$CC" && break
2293   done
2294 fi
2295 if test -z "$CC"; then
2296   ac_ct_CC=$CC
2297   for ac_prog in cl
2298 do
2299   # Extract the first word of "$ac_prog", so it can be a program name with args.
2300 set dummy $ac_prog; ac_word=$2
2301 echo "$as_me:$LINENO: checking for $ac_word" >&5
2302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2303 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2304   echo $ECHO_N "(cached) $ECHO_C" >&6
2305 else
2306   if test -n "$ac_ct_CC"; then
2307   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2308 else
2309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2310 for as_dir in $PATH
2311 do
2312   IFS=$as_save_IFS
2313   test -z "$as_dir" && as_dir=.
2314   for ac_exec_ext in '' $ac_executable_extensions; do
2315   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2316     ac_cv_prog_ac_ct_CC="$ac_prog"
2317     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2318     break 2
2319   fi
2320 done
2321 done
2322
2323 fi
2324 fi
2325 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2326 if test -n "$ac_ct_CC"; then
2327   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2328 echo "${ECHO_T}$ac_ct_CC" >&6
2329 else
2330   echo "$as_me:$LINENO: result: no" >&5
2331 echo "${ECHO_T}no" >&6
2332 fi
2333
2334   test -n "$ac_ct_CC" && break
2335 done
2336
2337   CC=$ac_ct_CC
2338 fi
2339
2340 fi
2341
2342
2343 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2344 See \`config.log' for more details." >&5
2345 echo "$as_me: error: no acceptable C compiler found in \$PATH
2346 See \`config.log' for more details." >&2;}
2347    { (exit 1); exit 1; }; }
2348
2349 # Provide some information about the compiler.
2350 echo "$as_me:$LINENO:" \
2351      "checking for C compiler version" >&5
2352 ac_compiler=`set X $ac_compile; echo $2`
2353 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2354   (eval $ac_compiler --version </dev/null >&5) 2>&5
2355   ac_status=$?
2356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357   (exit $ac_status); }
2358 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2359   (eval $ac_compiler -v </dev/null >&5) 2>&5
2360   ac_status=$?
2361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362   (exit $ac_status); }
2363 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2364   (eval $ac_compiler -V </dev/null >&5) 2>&5
2365   ac_status=$?
2366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2367   (exit $ac_status); }
2368
2369 cat >conftest.$ac_ext <<_ACEOF
2370 /* confdefs.h.  */
2371 _ACEOF
2372 cat confdefs.h >>conftest.$ac_ext
2373 cat >>conftest.$ac_ext <<_ACEOF
2374 /* end confdefs.h.  */
2375
2376 int
2377 main ()
2378 {
2379
2380   ;
2381   return 0;
2382 }
2383 _ACEOF
2384 # FIXME: Cleanup?
2385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2386   (eval $ac_link) 2>&5
2387   ac_status=$?
2388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389   (exit $ac_status); }; then
2390   gcc_no_link=no
2391 else
2392   gcc_no_link=yes
2393 fi
2394
2395 if test x$gcc_no_link = xyes; then
2396   # Setting cross_compile will disable run tests; it will
2397   # also disable AC_CHECK_FILE but that's generally
2398   # correct if we can't link.
2399   cross_compiling=yes
2400   EXEEXT=
2401 else
2402   cat >conftest.$ac_ext <<_ACEOF
2403 /* confdefs.h.  */
2404 _ACEOF
2405 cat confdefs.h >>conftest.$ac_ext
2406 cat >>conftest.$ac_ext <<_ACEOF
2407 /* end confdefs.h.  */
2408
2409 int
2410 main ()
2411 {
2412
2413   ;
2414   return 0;
2415 }
2416 _ACEOF
2417 ac_clean_files_save=$ac_clean_files
2418 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2419 # Try to create an executable without -o first, disregard a.out.
2420 # It will help us diagnose broken compilers, and finding out an intuition
2421 # of exeext.
2422 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2423 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2424 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2425 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2426   (eval $ac_link_default) 2>&5
2427   ac_status=$?
2428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429   (exit $ac_status); }; then
2430   # Find the output, starting from the most likely.  This scheme is
2431 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2432 # resort.
2433
2434 # Be careful to initialize this variable, since it used to be cached.
2435 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2436 ac_cv_exeext=
2437 # b.out is created by i960 compilers.
2438 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2439 do
2440   test -f "$ac_file" || continue
2441   case $ac_file in
2442     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2443         ;;
2444     conftest.$ac_ext )
2445         # This is the source file.
2446         ;;
2447     [ab].out )
2448         # We found the default executable, but exeext='' is most
2449         # certainly right.
2450         break;;
2451     *.* )
2452         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2453         # FIXME: I believe we export ac_cv_exeext for Libtool,
2454         # but it would be cool to find out if it's true.  Does anybody
2455         # maintain Libtool? --akim.
2456         export ac_cv_exeext
2457         break;;
2458     * )
2459         break;;
2460   esac
2461 done
2462 else
2463   echo "$as_me: failed program was:" >&5
2464 sed 's/^/| /' conftest.$ac_ext >&5
2465
2466 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2467 See \`config.log' for more details." >&5
2468 echo "$as_me: error: C compiler cannot create executables
2469 See \`config.log' for more details." >&2;}
2470    { (exit 77); exit 77; }; }
2471 fi
2472
2473 ac_exeext=$ac_cv_exeext
2474 echo "$as_me:$LINENO: result: $ac_file" >&5
2475 echo "${ECHO_T}$ac_file" >&6
2476
2477 # Check the compiler produces executables we can run.  If not, either
2478 # the compiler is broken, or we cross compile.
2479 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2480 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2481 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2482 # If not cross compiling, check that we can run a simple program.
2483 if test "$cross_compiling" != yes; then
2484   if { ac_try='./$ac_file'
2485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2486   (eval $ac_try) 2>&5
2487   ac_status=$?
2488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2489   (exit $ac_status); }; }; then
2490     cross_compiling=no
2491   else
2492     if test "$cross_compiling" = maybe; then
2493         cross_compiling=yes
2494     else
2495         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2496 If you meant to cross compile, use \`--host'.
2497 See \`config.log' for more details." >&5
2498 echo "$as_me: error: cannot run C compiled programs.
2499 If you meant to cross compile, use \`--host'.
2500 See \`config.log' for more details." >&2;}
2501    { (exit 1); exit 1; }; }
2502     fi
2503   fi
2504 fi
2505 echo "$as_me:$LINENO: result: yes" >&5
2506 echo "${ECHO_T}yes" >&6
2507
2508 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2509 ac_clean_files=$ac_clean_files_save
2510 # Check the compiler produces executables we can run.  If not, either
2511 # the compiler is broken, or we cross compile.
2512 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2513 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2514 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2515 echo "${ECHO_T}$cross_compiling" >&6
2516
2517 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2518 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2520   (eval $ac_link) 2>&5
2521   ac_status=$?
2522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2523   (exit $ac_status); }; then
2524   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2525 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2526 # work properly (i.e., refer to `conftest.exe'), while it won't with
2527 # `rm'.
2528 for ac_file in conftest.exe conftest conftest.*; do
2529   test -f "$ac_file" || continue
2530   case $ac_file in
2531     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2532     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2533           export ac_cv_exeext
2534           break;;
2535     * ) break;;
2536   esac
2537 done
2538 else
2539   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2540 See \`config.log' for more details." >&5
2541 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2542 See \`config.log' for more details." >&2;}
2543    { (exit 1); exit 1; }; }
2544 fi
2545
2546 rm -f conftest$ac_cv_exeext
2547 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2548 echo "${ECHO_T}$ac_cv_exeext" >&6
2549
2550 rm -f conftest.$ac_ext
2551 EXEEXT=$ac_cv_exeext
2552 ac_exeext=$EXEEXT
2553 fi
2554 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2555 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2556 if test "${ac_cv_objext+set}" = set; then
2557   echo $ECHO_N "(cached) $ECHO_C" >&6
2558 else
2559   cat >conftest.$ac_ext <<_ACEOF
2560 /* confdefs.h.  */
2561 _ACEOF
2562 cat confdefs.h >>conftest.$ac_ext
2563 cat >>conftest.$ac_ext <<_ACEOF
2564 /* end confdefs.h.  */
2565
2566 int
2567 main ()
2568 {
2569
2570   ;
2571   return 0;
2572 }
2573 _ACEOF
2574 rm -f conftest.o conftest.obj
2575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2576   (eval $ac_compile) 2>&5
2577   ac_status=$?
2578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2579   (exit $ac_status); }; then
2580   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2581   case $ac_file in
2582     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2583     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2584        break;;
2585   esac
2586 done
2587 else
2588   echo "$as_me: failed program was:" >&5
2589 sed 's/^/| /' conftest.$ac_ext >&5
2590
2591 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2592 See \`config.log' for more details." >&5
2593 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2594 See \`config.log' for more details." >&2;}
2595    { (exit 1); exit 1; }; }
2596 fi
2597
2598 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2599 fi
2600 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2601 echo "${ECHO_T}$ac_cv_objext" >&6
2602 OBJEXT=$ac_cv_objext
2603 ac_objext=$OBJEXT
2604 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2605 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2606 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2607   echo $ECHO_N "(cached) $ECHO_C" >&6
2608 else
2609   cat >conftest.$ac_ext <<_ACEOF
2610 /* confdefs.h.  */
2611 _ACEOF
2612 cat confdefs.h >>conftest.$ac_ext
2613 cat >>conftest.$ac_ext <<_ACEOF
2614 /* end confdefs.h.  */
2615
2616 int
2617 main ()
2618 {
2619 #ifndef __GNUC__
2620        choke me
2621 #endif
2622
2623   ;
2624   return 0;
2625 }
2626 _ACEOF
2627 rm -f conftest.$ac_objext
2628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2629   (eval $ac_compile) 2>conftest.er1
2630   ac_status=$?
2631   grep -v '^ *+' conftest.er1 >conftest.err
2632   rm -f conftest.er1
2633   cat conftest.err >&5
2634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635   (exit $ac_status); } &&
2636          { ac_try='test -z "$ac_c_werror_flag"
2637                          || test ! -s conftest.err'
2638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2639   (eval $ac_try) 2>&5
2640   ac_status=$?
2641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642   (exit $ac_status); }; } &&
2643          { ac_try='test -s conftest.$ac_objext'
2644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2645   (eval $ac_try) 2>&5
2646   ac_status=$?
2647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648   (exit $ac_status); }; }; then
2649   ac_compiler_gnu=yes
2650 else
2651   echo "$as_me: failed program was:" >&5
2652 sed 's/^/| /' conftest.$ac_ext >&5
2653
2654 ac_compiler_gnu=no
2655 fi
2656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2657 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2658
2659 fi
2660 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2661 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2662 GCC=`test $ac_compiler_gnu = yes && echo yes`
2663 ac_test_CFLAGS=${CFLAGS+set}
2664 ac_save_CFLAGS=$CFLAGS
2665 CFLAGS="-g"
2666 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2667 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2668 if test "${ac_cv_prog_cc_g+set}" = set; then
2669   echo $ECHO_N "(cached) $ECHO_C" >&6
2670 else
2671   cat >conftest.$ac_ext <<_ACEOF
2672 /* confdefs.h.  */
2673 _ACEOF
2674 cat confdefs.h >>conftest.$ac_ext
2675 cat >>conftest.$ac_ext <<_ACEOF
2676 /* end confdefs.h.  */
2677
2678 int
2679 main ()
2680 {
2681
2682   ;
2683   return 0;
2684 }
2685 _ACEOF
2686 rm -f conftest.$ac_objext
2687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2688   (eval $ac_compile) 2>conftest.er1
2689   ac_status=$?
2690   grep -v '^ *+' conftest.er1 >conftest.err
2691   rm -f conftest.er1
2692   cat conftest.err >&5
2693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2694   (exit $ac_status); } &&
2695          { ac_try='test -z "$ac_c_werror_flag"
2696                          || test ! -s conftest.err'
2697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2698   (eval $ac_try) 2>&5
2699   ac_status=$?
2700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2701   (exit $ac_status); }; } &&
2702          { ac_try='test -s conftest.$ac_objext'
2703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2704   (eval $ac_try) 2>&5
2705   ac_status=$?
2706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2707   (exit $ac_status); }; }; then
2708   ac_cv_prog_cc_g=yes
2709 else
2710   echo "$as_me: failed program was:" >&5
2711 sed 's/^/| /' conftest.$ac_ext >&5
2712
2713 ac_cv_prog_cc_g=no
2714 fi
2715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2716 fi
2717 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2718 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2719 if test "$ac_test_CFLAGS" = set; then
2720   CFLAGS=$ac_save_CFLAGS
2721 elif test $ac_cv_prog_cc_g = yes; then
2722   if test "$GCC" = yes; then
2723     CFLAGS="-g -O2"
2724   else
2725     CFLAGS="-g"
2726   fi
2727 else
2728   if test "$GCC" = yes; then
2729     CFLAGS="-O2"
2730   else
2731     CFLAGS=
2732   fi
2733 fi
2734 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2735 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2736 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2737   echo $ECHO_N "(cached) $ECHO_C" >&6
2738 else
2739   ac_cv_prog_cc_stdc=no
2740 ac_save_CC=$CC
2741 cat >conftest.$ac_ext <<_ACEOF
2742 /* confdefs.h.  */
2743 _ACEOF
2744 cat confdefs.h >>conftest.$ac_ext
2745 cat >>conftest.$ac_ext <<_ACEOF
2746 /* end confdefs.h.  */
2747 #include <stdarg.h>
2748 #include <stdio.h>
2749 #include <sys/types.h>
2750 #include <sys/stat.h>
2751 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2752 struct buf { int x; };
2753 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2754 static char *e (p, i)
2755      char **p;
2756      int i;
2757 {
2758   return p[i];
2759 }
2760 static char *f (char * (*g) (char **, int), char **p, ...)
2761 {
2762   char *s;
2763   va_list v;
2764   va_start (v,p);
2765   s = g (p, va_arg (v,int));
2766   va_end (v);
2767   return s;
2768 }
2769
2770 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2771    function prototypes and stuff, but not '\xHH' hex character constants.
2772    These don't provoke an error unfortunately, instead are silently treated
2773    as 'x'.  The following induces an error, until -std1 is added to get
2774    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2775    array size at least.  It's necessary to write '\x00'==0 to get something
2776    that's true only with -std1.  */
2777 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2778
2779 int test (int i, double x);
2780 struct s1 {int (*f) (int a);};
2781 struct s2 {int (*f) (double a);};
2782 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2783 int argc;
2784 char **argv;
2785 int
2786 main ()
2787 {
2788 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2789   ;
2790   return 0;
2791 }
2792 _ACEOF
2793 # Don't try gcc -ansi; that turns off useful extensions and
2794 # breaks some systems' header files.
2795 # AIX                   -qlanglvl=ansi
2796 # Ultrix and OSF/1      -std1
2797 # HP-UX 10.20 and later -Ae
2798 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2799 # SVR4                  -Xc -D__EXTENSIONS__
2800 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2801 do
2802   CC="$ac_save_CC $ac_arg"
2803   rm -f conftest.$ac_objext
2804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2805   (eval $ac_compile) 2>conftest.er1
2806   ac_status=$?
2807   grep -v '^ *+' conftest.er1 >conftest.err
2808   rm -f conftest.er1
2809   cat conftest.err >&5
2810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2811   (exit $ac_status); } &&
2812          { ac_try='test -z "$ac_c_werror_flag"
2813                          || test ! -s conftest.err'
2814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2815   (eval $ac_try) 2>&5
2816   ac_status=$?
2817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818   (exit $ac_status); }; } &&
2819          { ac_try='test -s conftest.$ac_objext'
2820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2821   (eval $ac_try) 2>&5
2822   ac_status=$?
2823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2824   (exit $ac_status); }; }; then
2825   ac_cv_prog_cc_stdc=$ac_arg
2826 break
2827 else
2828   echo "$as_me: failed program was:" >&5
2829 sed 's/^/| /' conftest.$ac_ext >&5
2830
2831 fi
2832 rm -f conftest.err conftest.$ac_objext
2833 done
2834 rm -f conftest.$ac_ext conftest.$ac_objext
2835 CC=$ac_save_CC
2836
2837 fi
2838
2839 case "x$ac_cv_prog_cc_stdc" in
2840   x|xno)
2841     echo "$as_me:$LINENO: result: none needed" >&5
2842 echo "${ECHO_T}none needed" >&6 ;;
2843   *)
2844     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2845 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2846     CC="$CC $ac_cv_prog_cc_stdc" ;;
2847 esac
2848
2849 # Some people use a C++ compiler to compile C.  Since we use `exit',
2850 # in C++ we need to declare it.  In case someone uses the same compiler
2851 # for both compiling C and C++ we need to have the C++ compiler decide
2852 # the declaration of exit, since it's the most demanding environment.
2853 cat >conftest.$ac_ext <<_ACEOF
2854 #ifndef __cplusplus
2855   choke me
2856 #endif
2857 _ACEOF
2858 rm -f conftest.$ac_objext
2859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2860   (eval $ac_compile) 2>conftest.er1
2861   ac_status=$?
2862   grep -v '^ *+' conftest.er1 >conftest.err
2863   rm -f conftest.er1
2864   cat conftest.err >&5
2865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2866   (exit $ac_status); } &&
2867          { ac_try='test -z "$ac_c_werror_flag"
2868                          || test ! -s conftest.err'
2869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2870   (eval $ac_try) 2>&5
2871   ac_status=$?
2872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873   (exit $ac_status); }; } &&
2874          { ac_try='test -s conftest.$ac_objext'
2875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2876   (eval $ac_try) 2>&5
2877   ac_status=$?
2878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879   (exit $ac_status); }; }; then
2880   for ac_declaration in \
2881    '' \
2882    'extern "C" void std::exit (int) throw (); using std::exit;' \
2883    'extern "C" void std::exit (int); using std::exit;' \
2884    'extern "C" void exit (int) throw ();' \
2885    'extern "C" void exit (int);' \
2886    'void exit (int);'
2887 do
2888   cat >conftest.$ac_ext <<_ACEOF
2889 /* confdefs.h.  */
2890 _ACEOF
2891 cat confdefs.h >>conftest.$ac_ext
2892 cat >>conftest.$ac_ext <<_ACEOF
2893 /* end confdefs.h.  */
2894 $ac_declaration
2895 #include <stdlib.h>
2896 int
2897 main ()
2898 {
2899 exit (42);
2900   ;
2901   return 0;
2902 }
2903 _ACEOF
2904 rm -f conftest.$ac_objext
2905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2906   (eval $ac_compile) 2>conftest.er1
2907   ac_status=$?
2908   grep -v '^ *+' conftest.er1 >conftest.err
2909   rm -f conftest.er1
2910   cat conftest.err >&5
2911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2912   (exit $ac_status); } &&
2913          { ac_try='test -z "$ac_c_werror_flag"
2914                          || test ! -s conftest.err'
2915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2916   (eval $ac_try) 2>&5
2917   ac_status=$?
2918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919   (exit $ac_status); }; } &&
2920          { ac_try='test -s conftest.$ac_objext'
2921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2922   (eval $ac_try) 2>&5
2923   ac_status=$?
2924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2925   (exit $ac_status); }; }; then
2926   :
2927 else
2928   echo "$as_me: failed program was:" >&5
2929 sed 's/^/| /' conftest.$ac_ext >&5
2930
2931 continue
2932 fi
2933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2934   cat >conftest.$ac_ext <<_ACEOF
2935 /* confdefs.h.  */
2936 _ACEOF
2937 cat confdefs.h >>conftest.$ac_ext
2938 cat >>conftest.$ac_ext <<_ACEOF
2939 /* end confdefs.h.  */
2940 $ac_declaration
2941 int
2942 main ()
2943 {
2944 exit (42);
2945   ;
2946   return 0;
2947 }
2948 _ACEOF
2949 rm -f conftest.$ac_objext
2950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2951   (eval $ac_compile) 2>conftest.er1
2952   ac_status=$?
2953   grep -v '^ *+' conftest.er1 >conftest.err
2954   rm -f conftest.er1
2955   cat conftest.err >&5
2956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957   (exit $ac_status); } &&
2958          { ac_try='test -z "$ac_c_werror_flag"
2959                          || test ! -s conftest.err'
2960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2961   (eval $ac_try) 2>&5
2962   ac_status=$?
2963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2964   (exit $ac_status); }; } &&
2965          { ac_try='test -s conftest.$ac_objext'
2966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2967   (eval $ac_try) 2>&5
2968   ac_status=$?
2969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970   (exit $ac_status); }; }; then
2971   break
2972 else
2973   echo "$as_me: failed program was:" >&5
2974 sed 's/^/| /' conftest.$ac_ext >&5
2975
2976 fi
2977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2978 done
2979 rm -f conftest*
2980 if test -n "$ac_declaration"; then
2981   echo '#ifdef __cplusplus' >>confdefs.h
2982   echo $ac_declaration      >>confdefs.h
2983   echo '#endif'             >>confdefs.h
2984 fi
2985
2986 else
2987   echo "$as_me: failed program was:" >&5
2988 sed 's/^/| /' conftest.$ac_ext >&5
2989
2990 fi
2991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2992 ac_ext=c
2993 ac_cpp='$CPP $CPPFLAGS'
2994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2997
2998   ac_ext=cc
2999 ac_cpp='$CXXCPP $CPPFLAGS'
3000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3003 if test -n "$ac_tool_prefix"; then
3004   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3005   do
3006     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3007 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3008 echo "$as_me:$LINENO: checking for $ac_word" >&5
3009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3010 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3011   echo $ECHO_N "(cached) $ECHO_C" >&6
3012 else
3013   if test -n "$CXX"; then
3014   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3015 else
3016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3017 for as_dir in $PATH
3018 do
3019   IFS=$as_save_IFS
3020   test -z "$as_dir" && as_dir=.
3021   for ac_exec_ext in '' $ac_executable_extensions; do
3022   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3023     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3024     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3025     break 2
3026   fi
3027 done
3028 done
3029
3030 fi
3031 fi
3032 CXX=$glibcxx_cv_prog_CXX
3033 if test -n "$CXX"; then
3034   echo "$as_me:$LINENO: result: $CXX" >&5
3035 echo "${ECHO_T}$CXX" >&6
3036 else
3037   echo "$as_me:$LINENO: result: no" >&5
3038 echo "${ECHO_T}no" >&6
3039 fi
3040
3041     test -n "$CXX" && break
3042   done
3043 fi
3044 if test -z "$CXX"; then
3045   ac_ct_CXX=$CXX
3046   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3047 do
3048   # Extract the first word of "$ac_prog", so it can be a program name with args.
3049 set dummy $ac_prog; ac_word=$2
3050 echo "$as_me:$LINENO: checking for $ac_word" >&5
3051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3052 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3053   echo $ECHO_N "(cached) $ECHO_C" >&6
3054 else
3055   if test -n "$ac_ct_CXX"; then
3056   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3057 else
3058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3059 for as_dir in $PATH
3060 do
3061   IFS=$as_save_IFS
3062   test -z "$as_dir" && as_dir=.
3063   for ac_exec_ext in '' $ac_executable_extensions; do
3064   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3065     ac_cv_prog_ac_ct_CXX="$ac_prog"
3066     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3067     break 2
3068   fi
3069 done
3070 done
3071
3072 fi
3073 fi
3074 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3075 if test -n "$ac_ct_CXX"; then
3076   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3077 echo "${ECHO_T}$ac_ct_CXX" >&6
3078 else
3079   echo "$as_me:$LINENO: result: no" >&5
3080 echo "${ECHO_T}no" >&6
3081 fi
3082
3083   test -n "$ac_ct_CXX" && break
3084 done
3085 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3086
3087   CXX=$ac_ct_CXX
3088 fi
3089
3090
3091 # Provide some information about the compiler.
3092 echo "$as_me:$LINENO:" \
3093      "checking for C++ compiler version" >&5
3094 ac_compiler=`set X $ac_compile; echo $2`
3095 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3096   (eval $ac_compiler --version </dev/null >&5) 2>&5
3097   ac_status=$?
3098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099   (exit $ac_status); }
3100 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3101   (eval $ac_compiler -v </dev/null >&5) 2>&5
3102   ac_status=$?
3103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3104   (exit $ac_status); }
3105 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3106   (eval $ac_compiler -V </dev/null >&5) 2>&5
3107   ac_status=$?
3108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3109   (exit $ac_status); }
3110
3111 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3112 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3113 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3114   echo $ECHO_N "(cached) $ECHO_C" >&6
3115 else
3116   cat >conftest.$ac_ext <<_ACEOF
3117 /* confdefs.h.  */
3118 _ACEOF
3119 cat confdefs.h >>conftest.$ac_ext
3120 cat >>conftest.$ac_ext <<_ACEOF
3121 /* end confdefs.h.  */
3122
3123 int
3124 main ()
3125 {
3126 #ifndef __GNUC__
3127        choke me
3128 #endif
3129
3130   ;
3131   return 0;
3132 }
3133 _ACEOF
3134 rm -f conftest.$ac_objext
3135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3136   (eval $ac_compile) 2>conftest.er1
3137   ac_status=$?
3138   grep -v '^ *+' conftest.er1 >conftest.err
3139   rm -f conftest.er1
3140   cat conftest.err >&5
3141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142   (exit $ac_status); } &&
3143          { ac_try='test -z "$ac_cxx_werror_flag"
3144                          || test ! -s conftest.err'
3145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3146   (eval $ac_try) 2>&5
3147   ac_status=$?
3148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3149   (exit $ac_status); }; } &&
3150          { ac_try='test -s conftest.$ac_objext'
3151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3152   (eval $ac_try) 2>&5
3153   ac_status=$?
3154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155   (exit $ac_status); }; }; then
3156   ac_compiler_gnu=yes
3157 else
3158   echo "$as_me: failed program was:" >&5
3159 sed 's/^/| /' conftest.$ac_ext >&5
3160
3161 ac_compiler_gnu=no
3162 fi
3163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3164 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3165
3166 fi
3167 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3168 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3169 GXX=`test $ac_compiler_gnu = yes && echo yes`
3170 ac_test_CXXFLAGS=${CXXFLAGS+set}
3171 ac_save_CXXFLAGS=$CXXFLAGS
3172 CXXFLAGS="-g"
3173 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3174 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3175 if test "${ac_cv_prog_cxx_g+set}" = set; then
3176   echo $ECHO_N "(cached) $ECHO_C" >&6
3177 else
3178   cat >conftest.$ac_ext <<_ACEOF
3179 /* confdefs.h.  */
3180 _ACEOF
3181 cat confdefs.h >>conftest.$ac_ext
3182 cat >>conftest.$ac_ext <<_ACEOF
3183 /* end confdefs.h.  */
3184
3185 int
3186 main ()
3187 {
3188
3189   ;
3190   return 0;
3191 }
3192 _ACEOF
3193 rm -f conftest.$ac_objext
3194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3195   (eval $ac_compile) 2>conftest.er1
3196   ac_status=$?
3197   grep -v '^ *+' conftest.er1 >conftest.err
3198   rm -f conftest.er1
3199   cat conftest.err >&5
3200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201   (exit $ac_status); } &&
3202          { ac_try='test -z "$ac_cxx_werror_flag"
3203                          || test ! -s conftest.err'
3204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3205   (eval $ac_try) 2>&5
3206   ac_status=$?
3207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3208   (exit $ac_status); }; } &&
3209          { ac_try='test -s conftest.$ac_objext'
3210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3211   (eval $ac_try) 2>&5
3212   ac_status=$?
3213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214   (exit $ac_status); }; }; then
3215   ac_cv_prog_cxx_g=yes
3216 else
3217   echo "$as_me: failed program was:" >&5
3218 sed 's/^/| /' conftest.$ac_ext >&5
3219
3220 ac_cv_prog_cxx_g=no
3221 fi
3222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3223 fi
3224 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3225 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3226 if test "$ac_test_CXXFLAGS" = set; then
3227   CXXFLAGS=$ac_save_CXXFLAGS
3228 elif test $ac_cv_prog_cxx_g = yes; then
3229   if test "$GXX" = yes; then
3230     CXXFLAGS="-g -O2"
3231   else
3232     CXXFLAGS="-g"
3233   fi
3234 else
3235   if test "$GXX" = yes; then
3236     CXXFLAGS="-O2"
3237   else
3238     CXXFLAGS=
3239   fi
3240 fi
3241 for ac_declaration in \
3242    '' \
3243    'extern "C" void std::exit (int) throw (); using std::exit;' \
3244    'extern "C" void std::exit (int); using std::exit;' \
3245    'extern "C" void exit (int) throw ();' \
3246    'extern "C" void exit (int);' \
3247    'void exit (int);'
3248 do
3249   cat >conftest.$ac_ext <<_ACEOF
3250 /* confdefs.h.  */
3251 _ACEOF
3252 cat confdefs.h >>conftest.$ac_ext
3253 cat >>conftest.$ac_ext <<_ACEOF
3254 /* end confdefs.h.  */
3255 $ac_declaration
3256 #include <stdlib.h>
3257 int
3258 main ()
3259 {
3260 exit (42);
3261   ;
3262   return 0;
3263 }
3264 _ACEOF
3265 rm -f conftest.$ac_objext
3266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3267   (eval $ac_compile) 2>conftest.er1
3268   ac_status=$?
3269   grep -v '^ *+' conftest.er1 >conftest.err
3270   rm -f conftest.er1
3271   cat conftest.err >&5
3272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273   (exit $ac_status); } &&
3274          { ac_try='test -z "$ac_cxx_werror_flag"
3275                          || test ! -s conftest.err'
3276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3277   (eval $ac_try) 2>&5
3278   ac_status=$?
3279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3280   (exit $ac_status); }; } &&
3281          { ac_try='test -s conftest.$ac_objext'
3282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3283   (eval $ac_try) 2>&5
3284   ac_status=$?
3285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3286   (exit $ac_status); }; }; then
3287   :
3288 else
3289   echo "$as_me: failed program was:" >&5
3290 sed 's/^/| /' conftest.$ac_ext >&5
3291
3292 continue
3293 fi
3294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3295   cat >conftest.$ac_ext <<_ACEOF
3296 /* confdefs.h.  */
3297 _ACEOF
3298 cat confdefs.h >>conftest.$ac_ext
3299 cat >>conftest.$ac_ext <<_ACEOF
3300 /* end confdefs.h.  */
3301 $ac_declaration
3302 int
3303 main ()
3304 {
3305 exit (42);
3306   ;
3307   return 0;
3308 }
3309 _ACEOF
3310 rm -f conftest.$ac_objext
3311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3312   (eval $ac_compile) 2>conftest.er1
3313   ac_status=$?
3314   grep -v '^ *+' conftest.er1 >conftest.err
3315   rm -f conftest.er1
3316   cat conftest.err >&5
3317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3318   (exit $ac_status); } &&
3319          { ac_try='test -z "$ac_cxx_werror_flag"
3320                          || test ! -s conftest.err'
3321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3322   (eval $ac_try) 2>&5
3323   ac_status=$?
3324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3325   (exit $ac_status); }; } &&
3326          { ac_try='test -s conftest.$ac_objext'
3327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3328   (eval $ac_try) 2>&5
3329   ac_status=$?
3330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3331   (exit $ac_status); }; }; then
3332   break
3333 else
3334   echo "$as_me: failed program was:" >&5
3335 sed 's/^/| /' conftest.$ac_ext >&5
3336
3337 fi
3338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3339 done
3340 rm -f conftest*
3341 if test -n "$ac_declaration"; then
3342   echo '#ifdef __cplusplus' >>confdefs.h
3343   echo $ac_declaration      >>confdefs.h
3344   echo '#endif'             >>confdefs.h
3345 fi
3346
3347 ac_ext=c
3348 ac_cpp='$CPP $CPPFLAGS'
3349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3352
3353   CXXFLAGS="$save_CXXFLAGS"
3354
3355
3356
3357
3358   # For directory versioning (e.g., headers) and other variables.
3359   echo "$as_me:$LINENO: checking for GCC version number" >&5
3360 echo $ECHO_N "checking for GCC version number... $ECHO_C" >&6
3361   gcc_version=`$CXX -dumpversion`
3362   echo "$as_me:$LINENO: result: $gcc_version" >&5
3363 echo "${ECHO_T}$gcc_version" >&6
3364
3365   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3366   # available).  Uncomment the next line to force a particular method.
3367   echo "$as_me:$LINENO: checking whether ln -s works" >&5
3368 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3369 LN_S=$as_ln_s
3370 if test "$LN_S" = "ln -s"; then
3371   echo "$as_me:$LINENO: result: yes" >&5
3372 echo "${ECHO_T}yes" >&6
3373 else
3374   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3375 echo "${ECHO_T}no, using $LN_S" >&6
3376 fi
3377
3378   #LN_S='cp -p'
3379
3380   if test -n "$ac_tool_prefix"; then
3381   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3382 set dummy ${ac_tool_prefix}as; ac_word=$2
3383 echo "$as_me:$LINENO: checking for $ac_word" >&5
3384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3385 if test "${ac_cv_prog_AS+set}" = set; then
3386   echo $ECHO_N "(cached) $ECHO_C" >&6
3387 else
3388   if test -n "$AS"; then
3389   ac_cv_prog_AS="$AS" # Let the user override the test.
3390 else
3391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3392 for as_dir in $PATH
3393 do
3394   IFS=$as_save_IFS
3395   test -z "$as_dir" && as_dir=.
3396   for ac_exec_ext in '' $ac_executable_extensions; do
3397   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3398     ac_cv_prog_AS="${ac_tool_prefix}as"
3399     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3400     break 2
3401   fi
3402 done
3403 done
3404
3405 fi
3406 fi
3407 AS=$ac_cv_prog_AS
3408 if test -n "$AS"; then
3409   echo "$as_me:$LINENO: result: $AS" >&5
3410 echo "${ECHO_T}$AS" >&6
3411 else
3412   echo "$as_me:$LINENO: result: no" >&5
3413 echo "${ECHO_T}no" >&6
3414 fi
3415
3416 fi
3417 if test -z "$ac_cv_prog_AS"; then
3418   ac_ct_AS=$AS
3419   # Extract the first word of "as", so it can be a program name with args.
3420 set dummy as; ac_word=$2
3421 echo "$as_me:$LINENO: checking for $ac_word" >&5
3422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3423 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3424   echo $ECHO_N "(cached) $ECHO_C" >&6
3425 else
3426   if test -n "$ac_ct_AS"; then
3427   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3428 else
3429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3430 for as_dir in $PATH
3431 do
3432   IFS=$as_save_IFS
3433   test -z "$as_dir" && as_dir=.
3434   for ac_exec_ext in '' $ac_executable_extensions; do
3435   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3436     ac_cv_prog_ac_ct_AS="as"
3437     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3438     break 2
3439   fi
3440 done
3441 done
3442
3443 fi
3444 fi
3445 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3446 if test -n "$ac_ct_AS"; then
3447   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3448 echo "${ECHO_T}$ac_ct_AS" >&6
3449 else
3450   echo "$as_me:$LINENO: result: no" >&5
3451 echo "${ECHO_T}no" >&6
3452 fi
3453
3454   AS=$ac_ct_AS
3455 else
3456   AS="$ac_cv_prog_AS"
3457 fi
3458
3459   if test -n "$ac_tool_prefix"; then
3460   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3461 set dummy ${ac_tool_prefix}ar; ac_word=$2
3462 echo "$as_me:$LINENO: checking for $ac_word" >&5
3463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3464 if test "${ac_cv_prog_AR+set}" = set; then
3465   echo $ECHO_N "(cached) $ECHO_C" >&6
3466 else
3467   if test -n "$AR"; then
3468   ac_cv_prog_AR="$AR" # Let the user override the test.
3469 else
3470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3471 for as_dir in $PATH
3472 do
3473   IFS=$as_save_IFS
3474   test -z "$as_dir" && as_dir=.
3475   for ac_exec_ext in '' $ac_executable_extensions; do
3476   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3477     ac_cv_prog_AR="${ac_tool_prefix}ar"
3478     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3479     break 2
3480   fi
3481 done
3482 done
3483
3484 fi
3485 fi
3486 AR=$ac_cv_prog_AR
3487 if test -n "$AR"; then
3488   echo "$as_me:$LINENO: result: $AR" >&5
3489 echo "${ECHO_T}$AR" >&6
3490 else
3491   echo "$as_me:$LINENO: result: no" >&5
3492 echo "${ECHO_T}no" >&6
3493 fi
3494
3495 fi
3496 if test -z "$ac_cv_prog_AR"; then
3497   ac_ct_AR=$AR
3498   # Extract the first word of "ar", so it can be a program name with args.
3499 set dummy ar; ac_word=$2
3500 echo "$as_me:$LINENO: checking for $ac_word" >&5
3501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3502 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3503   echo $ECHO_N "(cached) $ECHO_C" >&6
3504 else
3505   if test -n "$ac_ct_AR"; then
3506   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3507 else
3508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3509 for as_dir in $PATH
3510 do
3511   IFS=$as_save_IFS
3512   test -z "$as_dir" && as_dir=.
3513   for ac_exec_ext in '' $ac_executable_extensions; do
3514   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3515     ac_cv_prog_ac_ct_AR="ar"
3516     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3517     break 2
3518   fi
3519 done
3520 done
3521
3522 fi
3523 fi
3524 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3525 if test -n "$ac_ct_AR"; then
3526   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3527 echo "${ECHO_T}$ac_ct_AR" >&6
3528 else
3529   echo "$as_me:$LINENO: result: no" >&5
3530 echo "${ECHO_T}no" >&6
3531 fi
3532
3533   AR=$ac_ct_AR
3534 else
3535   AR="$ac_cv_prog_AR"
3536 fi
3537
3538   if test -n "$ac_tool_prefix"; then
3539   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3540 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3541 echo "$as_me:$LINENO: checking for $ac_word" >&5
3542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3543 if test "${ac_cv_prog_RANLIB+set}" = set; then
3544   echo $ECHO_N "(cached) $ECHO_C" >&6
3545 else
3546   if test -n "$RANLIB"; then
3547   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3548 else
3549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3550 for as_dir in $PATH
3551 do
3552   IFS=$as_save_IFS
3553   test -z "$as_dir" && as_dir=.
3554   for ac_exec_ext in '' $ac_executable_extensions; do
3555   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3556     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3557     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3558     break 2
3559   fi
3560 done
3561 done
3562
3563 fi
3564 fi
3565 RANLIB=$ac_cv_prog_RANLIB
3566 if test -n "$RANLIB"; then
3567   echo "$as_me:$LINENO: result: $RANLIB" >&5
3568 echo "${ECHO_T}$RANLIB" >&6
3569 else
3570   echo "$as_me:$LINENO: result: no" >&5
3571 echo "${ECHO_T}no" >&6
3572 fi
3573
3574 fi
3575 if test -z "$ac_cv_prog_RANLIB"; then
3576   ac_ct_RANLIB=$RANLIB
3577   # Extract the first word of "ranlib", so it can be a program name with args.
3578 set dummy ranlib; ac_word=$2
3579 echo "$as_me:$LINENO: checking for $ac_word" >&5
3580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3581 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3582   echo $ECHO_N "(cached) $ECHO_C" >&6
3583 else
3584   if test -n "$ac_ct_RANLIB"; then
3585   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3586 else
3587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3588 for as_dir in $PATH
3589 do
3590   IFS=$as_save_IFS
3591   test -z "$as_dir" && as_dir=.
3592   for ac_exec_ext in '' $ac_executable_extensions; do
3593   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3594     ac_cv_prog_ac_ct_RANLIB="ranlib"
3595     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3596     break 2
3597   fi
3598 done
3599 done
3600
3601   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3602 fi
3603 fi
3604 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3605 if test -n "$ac_ct_RANLIB"; then
3606   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3607 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3608 else
3609   echo "$as_me:$LINENO: result: no" >&5
3610 echo "${ECHO_T}no" >&6
3611 fi
3612
3613   RANLIB=$ac_ct_RANLIB
3614 else
3615   RANLIB="$ac_cv_prog_RANLIB"
3616 fi
3617
3618
3619   echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3620 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3621     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3622 if test "${enable_maintainer_mode+set}" = set; then
3623   enableval="$enable_maintainer_mode"
3624   USE_MAINTAINER_MODE=$enableval
3625 else
3626   USE_MAINTAINER_MODE=no
3627 fi;
3628   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3629 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3630
3631
3632 if test $USE_MAINTAINER_MODE = yes; then
3633   MAINTAINER_MODE_TRUE=
3634   MAINTAINER_MODE_FALSE='#'
3635 else
3636   MAINTAINER_MODE_TRUE='#'
3637   MAINTAINER_MODE_FALSE=
3638 fi
3639
3640   MAINT=$MAINTAINER_MODE_TRUE
3641
3642
3643
3644   # Set up safe default values for all subsequent AM_CONDITIONAL tests
3645   # which are themselves conditionally expanded.
3646   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3647   ## other macros from doing the same.  This should be automated.)  -pme
3648   need_libmath=no
3649   enable_wchar_t=no
3650   #enable_libstdcxx_debug=no
3651   #enable_libstdcxx_pch=no
3652   #enable_cheaders=c
3653   #c_compatibility=no
3654   #enable_abi_check=no
3655   #enable_symvers=no
3656   #enable_hosted_libstdcxx=yes
3657
3658   # Find platform-specific directories containing configuration info.
3659   # Also possibly modify flags used elsewhere, as needed by the platform.
3660
3661   . $glibcxx_srcdir/configure.host
3662   { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3663 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3664   { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3665 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3666
3667
3668
3669 #AC_MSG_NOTICE([====== Starting libtool configuration])
3670
3671 # Check whether --enable-shared or --disable-shared was given.
3672 if test "${enable_shared+set}" = set; then
3673   enableval="$enable_shared"
3674   p=${PACKAGE-default}
3675 case $enableval in
3676 yes) enable_shared=yes ;;
3677 no) enable_shared=no ;;
3678 *)
3679   enable_shared=no
3680   # Look at the argument we got.  We use all the common list separators.
3681   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3682   for pkg in $enableval; do
3683     if test "X$pkg" = "X$p"; then
3684       enable_shared=yes
3685     fi
3686   done
3687   IFS="$ac_save_ifs"
3688   ;;
3689 esac
3690 else
3691   enable_shared=yes
3692 fi;
3693 # Check whether --enable-static or --disable-static was given.
3694 if test "${enable_static+set}" = set; then
3695   enableval="$enable_static"
3696   p=${PACKAGE-default}
3697 case $enableval in
3698 yes) enable_static=yes ;;
3699 no) enable_static=no ;;
3700 *)
3701   enable_static=no
3702   # Look at the argument we got.  We use all the common list separators.
3703   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3704   for pkg in $enableval; do
3705     if test "X$pkg" = "X$p"; then
3706       enable_static=yes
3707     fi
3708   done
3709   IFS="$ac_save_ifs"
3710   ;;
3711 esac
3712 else
3713   enable_static=yes
3714 fi;
3715 # Check whether --enable-fast-install or --disable-fast-install was given.
3716 if test "${enable_fast_install+set}" = set; then
3717   enableval="$enable_fast_install"
3718   p=${PACKAGE-default}
3719 case $enableval in
3720 yes) enable_fast_install=yes ;;
3721 no) enable_fast_install=no ;;
3722 *)
3723   enable_fast_install=no
3724   # Look at the argument we got.  We use all the common list separators.
3725   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3726   for pkg in $enableval; do
3727     if test "X$pkg" = "X$p"; then
3728       enable_fast_install=yes
3729     fi
3730   done
3731   IFS="$ac_save_ifs"
3732   ;;
3733 esac
3734 else
3735   enable_fast_install=yes
3736 fi;
3737
3738 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3739 if test "${with_gnu_ld+set}" = set; then
3740   withval="$with_gnu_ld"
3741   test "$withval" = no || with_gnu_ld=yes
3742 else
3743   with_gnu_ld=no
3744 fi;
3745 ac_prog=ld
3746 if test "$GCC" = yes; then
3747   # Check if gcc -print-prog-name=ld gives a path.
3748   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3749 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3750   case $host in
3751   *-*-mingw*)
3752     # gcc leaves a trailing carriage return which upsets mingw
3753     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3754   *)
3755     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3756   esac
3757   case $ac_prog in
3758     # Accept absolute paths.
3759     [\\/]* | [A-Za-z]:[\\/]*)
3760       re_direlt='/[^/][^/]*/\.\./'
3761       # Canonicalize the path of ld
3762       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3763       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3764         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3765       done
3766       test -z "$LD" && LD="$ac_prog"
3767       ;;
3768   "")
3769     # If it fails, then pretend we aren't using GCC.
3770     ac_prog=ld
3771     ;;
3772   *)
3773     # If it is relative, then search for the first ld in PATH.
3774     with_gnu_ld=unknown
3775     ;;
3776   esac
3777 elif test "$with_gnu_ld" = yes; then
3778   echo "$as_me:$LINENO: checking for GNU ld" >&5
3779 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3780 else
3781   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3782 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3783 fi
3784 if test "${lt_cv_path_LD+set}" = set; then
3785   echo $ECHO_N "(cached) $ECHO_C" >&6
3786 else
3787   if test -z "$LD"; then
3788   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3789   for ac_dir in $PATH; do
3790     test -z "$ac_dir" && ac_dir=.
3791     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3792       lt_cv_path_LD="$ac_dir/$ac_prog"
3793       # Check to see if the program is GNU ld.  I'd rather use --version,
3794       # but apparently some GNU ld's only accept -v.
3795       # Break only if it was the GNU/non-GNU ld that we prefer.
3796       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3797         test "$with_gnu_ld" != no && break
3798       else
3799         test "$with_gnu_ld" != yes && break
3800       fi
3801     fi
3802   done
3803   IFS="$ac_save_ifs"
3804 else
3805   lt_cv_path_LD="$LD" # Let the user override the test with a path.
3806 fi
3807 fi
3808
3809 LD="$lt_cv_path_LD"
3810 if test -n "$LD"; then
3811   echo "$as_me:$LINENO: result: $LD" >&5
3812 echo "${ECHO_T}$LD" >&6
3813 else
3814   echo "$as_me:$LINENO: result: no" >&5
3815 echo "${ECHO_T}no" >&6
3816 fi
3817 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3818 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3819    { (exit 1); exit 1; }; }
3820 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3821 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3822 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3823   echo $ECHO_N "(cached) $ECHO_C" >&6
3824 else
3825   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3826 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3827   lt_cv_prog_gnu_ld=yes
3828 else
3829   lt_cv_prog_gnu_ld=no
3830 fi
3831 fi
3832 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3833 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3834 with_gnu_ld=$lt_cv_prog_gnu_ld
3835
3836
3837 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3838 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3839 if test "${lt_cv_ld_reload_flag+set}" = set; then
3840   echo $ECHO_N "(cached) $ECHO_C" >&6
3841 else
3842   lt_cv_ld_reload_flag='-r'
3843 fi
3844 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3845 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3846 reload_flag=$lt_cv_ld_reload_flag
3847 test -n "$reload_flag" && reload_flag=" $reload_flag"
3848
3849 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3850 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3851 if test "${lt_cv_path_NM+set}" = set; then
3852   echo $ECHO_N "(cached) $ECHO_C" >&6
3853 else
3854   if test -n "$NM"; then
3855   # Let the user override the test.
3856   lt_cv_path_NM="$NM"
3857 else
3858   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3859   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3860     test -z "$ac_dir" && ac_dir=.
3861     tmp_nm=$ac_dir/${ac_tool_prefix}nm
3862     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3863       # Check to see if the nm accepts a BSD-compat flag.
3864       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3865       #   nm: unknown option "B" ignored
3866       # Tru64's nm complains that /dev/null is an invalid object file
3867       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3868         lt_cv_path_NM="$tmp_nm -B"
3869         break
3870       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3871         lt_cv_path_NM="$tmp_nm -p"
3872         break
3873       else
3874         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3875         continue # so that we can try to find one that supports BSD flags
3876       fi
3877     fi
3878   done
3879   IFS="$ac_save_ifs"
3880   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3881 fi
3882 fi
3883
3884 NM="$lt_cv_path_NM"
3885 echo "$as_me:$LINENO: result: $NM" >&5
3886 echo "${ECHO_T}$NM" >&6
3887
3888 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3889 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3890 if test "${lt_cv_deplibs_check_method+set}" = set; then
3891   echo $ECHO_N "(cached) $ECHO_C" >&6
3892 else
3893   lt_cv_file_magic_cmd='$MAGIC_CMD'
3894 lt_cv_file_magic_test_file=
3895 lt_cv_deplibs_check_method='unknown'
3896 # Need to set the preceding variable on all platforms that support
3897 # interlibrary dependencies.
3898 # 'none' -- dependencies not supported.
3899 # `unknown' -- same as none, but documents that we really don't know.
3900 # 'pass_all' -- all dependencies passed with no checks.
3901 # 'test_compile' -- check by making test program.
3902 # 'file_magic [regex]' -- check by looking for files in library path
3903 # which responds to the $file_magic_cmd with a given egrep regex.
3904 # If you have `file' or equivalent on your system and you're not sure
3905 # whether `pass_all' will *always* work, you probably want this one.
3906
3907 case $host_os in
3908 aix*)
3909   lt_cv_deplibs_check_method=pass_all
3910   ;;
3911
3912 beos*)
3913   lt_cv_deplibs_check_method=pass_all
3914   ;;
3915
3916 bsdi4*)
3917   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3918   lt_cv_file_magic_cmd='/usr/bin/file -L'
3919   lt_cv_file_magic_test_file=/shlib/libc.so
3920   ;;
3921
3922 cygwin* | mingw* |pw32*)
3923   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3924   lt_cv_file_magic_cmd='$OBJDUMP -f'
3925   ;;
3926
3927 darwin* | rhapsody*)
3928   # this will be overwritten by pass_all, but leave it in just in case
3929   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3930   lt_cv_file_magic_cmd='/usr/bin/file -L'
3931   case "$host_os" in
3932   rhapsody* | darwin1.012)
3933     lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3934     ;;
3935   *) # Darwin 1.3 on
3936     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3937     ;;
3938   esac
3939   lt_cv_deplibs_check_method=pass_all
3940   ;;
3941
3942 freebsd* | kfreebsd*-gnu)
3943   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3944     case $host_cpu in
3945     i*86 )
3946       # Not sure whether the presence of OpenBSD here was a mistake.
3947       # Let's accept both of them until this is cleared up.
3948       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3949       lt_cv_file_magic_cmd=/usr/bin/file
3950       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3951       ;;
3952     esac
3953   else
3954     lt_cv_deplibs_check_method=pass_all
3955   fi
3956   ;;
3957
3958 gnu*)
3959   lt_cv_deplibs_check_method=pass_all
3960   ;;
3961
3962 hpux10.20*|hpux11*)
3963   case $host_cpu in
3964   hppa*)
3965     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3966     lt_cv_file_magic_cmd=/usr/bin/file
3967     lt_cv_file_magic_test_file=/usr/lib/libc.sl
3968     ;;
3969   ia64*)
3970     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3971     lt_cv_file_magic_cmd=/usr/bin/file
3972     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3973     ;;
3974   esac
3975   ;;
3976
3977 irix5* | irix6*)
3978   case $host_os in
3979   irix5*)
3980     # this will be overridden with pass_all, but let us keep it just in case
3981     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3982     ;;
3983   *)
3984     case $LD in
3985     *-32|*"-32 ") libmagic=32-bit;;
3986     *-n32|*"-n32 ") libmagic=N32;;
3987     *-64|*"-64 ") libmagic=64-bit;;
3988     *) libmagic=never-match;;
3989     esac
3990     # this will be overridden with pass_all, but let us keep it just in case
3991     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3992     ;;
3993   esac
3994   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3995   lt_cv_deplibs_check_method=pass_all
3996   ;;
3997
3998 # This must be Linux ELF.
3999 linux-gnu*)
4000   case $host_cpu in
4001   alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
4002     lt_cv_deplibs_check_method=pass_all ;;
4003   *)
4004     # glibc up to 2.1.1 does not perform some relocations on ARM
4005     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4006   esac
4007   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4008   ;;
4009
4010 netbsd* | knetbsd*-gnu)
4011   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4012     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4013   else
4014     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4015   fi
4016   ;;
4017
4018 newsos6)
4019   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4020   lt_cv_file_magic_cmd=/usr/bin/file
4021   lt_cv_file_magic_test_file=/usr/lib/libnls.so
4022   ;;
4023
4024 osf3* | osf4* | osf5*)
4025   # this will be overridden with pass_all, but let us keep it just in case
4026   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4027   lt_cv_file_magic_test_file=/shlib/libc.so
4028   lt_cv_deplibs_check_method=pass_all
4029   ;;
4030
4031 sco3.2v5*)
4032   lt_cv_deplibs_check_method=pass_all
4033   ;;
4034
4035 solaris*)
4036   lt_cv_deplibs_check_method=pass_all
4037   lt_cv_file_magic_test_file=/lib/libc.so
4038   ;;
4039
4040 sysv5uw[78]* | sysv4*uw2*)
4041   lt_cv_deplibs_check_method=pass_all
4042   ;;
4043
4044 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4045   case $host_vendor in
4046   ncr)
4047     lt_cv_deplibs_check_method=pass_all
4048     ;;
4049   motorola)
4050     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]'
4051     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4052     ;;
4053   esac
4054   ;;
4055 esac
4056
4057 fi
4058 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4059 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4060 file_magic_cmd=$lt_cv_file_magic_cmd
4061 deplibs_check_method=$lt_cv_deplibs_check_method
4062
4063
4064
4065
4066
4067 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4068
4069 # Only perform the check for file, if the check method requires it
4070 case $deplibs_check_method in
4071 file_magic*)
4072   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4073     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4074 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4075 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4076   echo $ECHO_N "(cached) $ECHO_C" >&6
4077 else
4078   case $MAGIC_CMD in
4079   /*)
4080   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4081   ;;
4082   ?:/*)
4083   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4084   ;;
4085   *)
4086   ac_save_MAGIC_CMD="$MAGIC_CMD"
4087   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4088   ac_dummy="/usr/bin:$PATH"
4089   for ac_dir in $ac_dummy; do
4090     test -z "$ac_dir" && ac_dir=.
4091     if test -f $ac_dir/${ac_tool_prefix}file; then
4092       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4093       if test -n "$file_magic_test_file"; then
4094         case $deplibs_check_method in
4095         "file_magic "*)
4096           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4097           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4098           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4099             egrep "$file_magic_regex" > /dev/null; then
4100             :
4101           else
4102             cat <<EOF 1>&2
4103
4104 *** Warning: the command libtool uses to detect shared libraries,
4105 *** $file_magic_cmd, produces output that libtool cannot recognize.
4106 *** The result is that libtool may fail to recognize shared libraries
4107 *** as such.  This will affect the creation of libtool libraries that
4108 *** depend on shared libraries, but programs linked with such libtool
4109 *** libraries will work regardless of this problem.  Nevertheless, you
4110 *** may want to report the problem to your system manager and/or to
4111 *** bug-libtool@gnu.org
4112
4113 EOF
4114           fi ;;
4115         esac
4116       fi
4117       break
4118     fi
4119   done
4120   IFS="$ac_save_ifs"
4121   MAGIC_CMD="$ac_save_MAGIC_CMD"
4122   ;;
4123 esac
4124 fi
4125
4126 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4127 if test -n "$MAGIC_CMD"; then
4128   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4129 echo "${ECHO_T}$MAGIC_CMD" >&6
4130 else
4131   echo "$as_me:$LINENO: result: no" >&5
4132 echo "${ECHO_T}no" >&6
4133 fi
4134
4135 if test -z "$lt_cv_path_MAGIC_CMD"; then
4136   if test -n "$ac_tool_prefix"; then
4137     echo "$as_me:$LINENO: checking for file" >&5
4138 echo $ECHO_N "checking for file... $ECHO_C" >&6
4139 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4140   echo $ECHO_N "(cached) $ECHO_C" >&6
4141 else
4142   case $MAGIC_CMD in
4143   /*)
4144   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4145   ;;
4146   ?:/*)
4147   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4148   ;;
4149   *)
4150   ac_save_MAGIC_CMD="$MAGIC_CMD"
4151   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4152   ac_dummy="/usr/bin:$PATH"
4153   for ac_dir in $ac_dummy; do
4154     test -z "$ac_dir" && ac_dir=.
4155     if test -f $ac_dir/file; then
4156       lt_cv_path_MAGIC_CMD="$ac_dir/file"
4157       if test -n "$file_magic_test_file"; then
4158         case $deplibs_check_method in
4159         "file_magic "*)
4160           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4161           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4162           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4163             egrep "$file_magic_regex" > /dev/null; then
4164             :
4165           else
4166             cat <<EOF 1>&2
4167
4168 *** Warning: the command libtool uses to detect shared libraries,
4169 *** $file_magic_cmd, produces output that libtool cannot recognize.
4170 *** The result is that libtool may fail to recognize shared libraries
4171 *** as such.  This will affect the creation of libtool libraries that
4172 *** depend on shared libraries, but programs linked with such libtool
4173 *** libraries will work regardless of this problem.  Nevertheless, you
4174 *** may want to report the problem to your system manager and/or to
4175 *** bug-libtool@gnu.org
4176
4177 EOF
4178           fi ;;
4179         esac
4180       fi
4181       break
4182     fi
4183   done
4184   IFS="$ac_save_ifs"
4185   MAGIC_CMD="$ac_save_MAGIC_CMD"
4186   ;;
4187 esac
4188 fi
4189
4190 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4191 if test -n "$MAGIC_CMD"; then
4192   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4193 echo "${ECHO_T}$MAGIC_CMD" >&6
4194 else
4195   echo "$as_me:$LINENO: result: no" >&5
4196 echo "${ECHO_T}no" >&6
4197 fi
4198
4199   else
4200     MAGIC_CMD=:
4201   fi
4202 fi
4203
4204   fi
4205   ;;
4206 esac
4207
4208 if test -n "$ac_tool_prefix"; then
4209   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4210 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4211 echo "$as_me:$LINENO: checking for $ac_word" >&5
4212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4213 if test "${ac_cv_prog_RANLIB+set}" = set; then
4214   echo $ECHO_N "(cached) $ECHO_C" >&6
4215 else
4216   if test -n "$RANLIB"; then
4217   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4218 else
4219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4220 for as_dir in $PATH
4221 do
4222   IFS=$as_save_IFS
4223   test -z "$as_dir" && as_dir=.
4224   for ac_exec_ext in '' $ac_executable_extensions; do
4225   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4226     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4227     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4228     break 2
4229   fi
4230 done
4231 done
4232
4233 fi
4234 fi
4235 RANLIB=$ac_cv_prog_RANLIB
4236 if test -n "$RANLIB"; then
4237   echo "$as_me:$LINENO: result: $RANLIB" >&5
4238 echo "${ECHO_T}$RANLIB" >&6
4239 else
4240   echo "$as_me:$LINENO: result: no" >&5
4241 echo "${ECHO_T}no" >&6
4242 fi
4243
4244 fi
4245 if test -z "$ac_cv_prog_RANLIB"; then
4246   ac_ct_RANLIB=$RANLIB
4247   # Extract the first word of "ranlib", so it can be a program name with args.
4248 set dummy ranlib; ac_word=$2
4249 echo "$as_me:$LINENO: checking for $ac_word" >&5
4250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4251 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4252   echo $ECHO_N "(cached) $ECHO_C" >&6
4253 else
4254   if test -n "$ac_ct_RANLIB"; then
4255   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4256 else
4257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4258 for as_dir in $PATH
4259 do
4260   IFS=$as_save_IFS
4261   test -z "$as_dir" && as_dir=.
4262   for ac_exec_ext in '' $ac_executable_extensions; do
4263   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4264     ac_cv_prog_ac_ct_RANLIB="ranlib"
4265     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4266     break 2
4267   fi
4268 done
4269 done
4270
4271   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4272 fi
4273 fi
4274 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4275 if test -n "$ac_ct_RANLIB"; then
4276   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4277 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4278 else
4279   echo "$as_me:$LINENO: result: no" >&5
4280 echo "${ECHO_T}no" >&6
4281 fi
4282
4283   RANLIB=$ac_ct_RANLIB
4284 else
4285   RANLIB="$ac_cv_prog_RANLIB"
4286 fi
4287
4288 if test -n "$ac_tool_prefix"; then
4289   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4290 set dummy ${ac_tool_prefix}strip; ac_word=$2
4291 echo "$as_me:$LINENO: checking for $ac_word" >&5
4292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4293 if test "${ac_cv_prog_STRIP+set}" = set; then
4294   echo $ECHO_N "(cached) $ECHO_C" >&6
4295 else
4296   if test -n "$STRIP"; then
4297   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4298 else
4299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4300 for as_dir in $PATH
4301 do
4302   IFS=$as_save_IFS
4303   test -z "$as_dir" && as_dir=.
4304   for ac_exec_ext in '' $ac_executable_extensions; do
4305   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4306     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4307     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4308     break 2
4309   fi
4310 done
4311 done
4312
4313 fi
4314 fi
4315 STRIP=$ac_cv_prog_STRIP
4316 if test -n "$STRIP"; then
4317   echo "$as_me:$LINENO: result: $STRIP" >&5
4318 echo "${ECHO_T}$STRIP" >&6
4319 else
4320   echo "$as_me:$LINENO: result: no" >&5
4321 echo "${ECHO_T}no" >&6
4322 fi
4323
4324 fi
4325 if test -z "$ac_cv_prog_STRIP"; then
4326   ac_ct_STRIP=$STRIP
4327   # Extract the first word of "strip", so it can be a program name with args.
4328 set dummy strip; ac_word=$2
4329 echo "$as_me:$LINENO: checking for $ac_word" >&5
4330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4331 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4332   echo $ECHO_N "(cached) $ECHO_C" >&6
4333 else
4334   if test -n "$ac_ct_STRIP"; then
4335   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4336 else
4337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4338 for as_dir in $PATH
4339 do
4340   IFS=$as_save_IFS
4341   test -z "$as_dir" && as_dir=.
4342   for ac_exec_ext in '' $ac_executable_extensions; do
4343   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4344     ac_cv_prog_ac_ct_STRIP="strip"
4345     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4346     break 2
4347   fi
4348 done
4349 done
4350
4351   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4352 fi
4353 fi
4354 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4355 if test -n "$ac_ct_STRIP"; then
4356   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4357 echo "${ECHO_T}$ac_ct_STRIP" >&6
4358 else
4359   echo "$as_me:$LINENO: result: no" >&5
4360 echo "${ECHO_T}no" >&6
4361 fi
4362
4363   STRIP=$ac_ct_STRIP
4364 else
4365   STRIP="$ac_cv_prog_STRIP"
4366 fi
4367
4368
4369 # Check for any special flags to pass to ltconfig.
4370 libtool_flags="--cache-file=$cache_file"
4371 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4372 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4373 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4374 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4375 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4376
4377
4378 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4379 if test "${enable_libtool_lock+set}" = set; then
4380   enableval="$enable_libtool_lock"
4381
4382 fi;
4383 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4384 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4385
4386
4387 # Check whether --with-pic or --without-pic was given.
4388 if test "${with_pic+set}" = set; then
4389   withval="$with_pic"
4390   pic_mode="$withval"
4391 else
4392   pic_mode=default
4393 fi;
4394 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4395 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4396
4397 # Some flags need to be propagated to the compiler or linker for good
4398 # libtool support.
4399 case $host in
4400 *-*-irix6*)
4401   # Find out which ABI we are using.
4402   echo '#line 4402 "configure"' > conftest.$ac_ext
4403   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4404   (eval $ac_compile) 2>&5
4405   ac_status=$?
4406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4407   (exit $ac_status); }; then
4408    if test "$lt_cv_prog_gnu_ld" = yes; then
4409     case `/usr/bin/file conftest.$ac_objext` in
4410     *32-bit*)
4411       LD="${LD-ld} -melf32bsmip"
4412       ;;
4413     *N32*)
4414       LD="${LD-ld} -melf32bmipn32"
4415       ;;
4416     *64-bit*)
4417       LD="${LD-ld} -melf64bmip"
4418       ;;
4419     esac
4420    else
4421     case `/usr/bin/file conftest.$ac_objext` in
4422     *32-bit*)
4423       LD="${LD-ld} -32"
4424       ;;
4425     *N32*)
4426       LD="${LD-ld} -n32"
4427       ;;
4428     *64-bit*)
4429       LD="${LD-ld} -64"
4430       ;;
4431     esac
4432    fi
4433   fi
4434   rm -rf conftest*
4435   ;;
4436
4437 ia64-*-hpux*)
4438   # Find out which ABI we are using.
4439   echo 'int i;' > conftest.$ac_ext
4440   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4441   (eval $ac_compile) 2>&5
4442   ac_status=$?
4443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4444   (exit $ac_status); }; then
4445     case "`/usr/bin/file conftest.o`" in
4446     *ELF-32*)
4447       HPUX_IA64_MODE="32"
4448       ;;
4449     *ELF-64*)
4450       HPUX_IA64_MODE="64"
4451       ;;
4452     esac
4453   fi
4454   rm -rf conftest*
4455   ;;
4456
4457 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4458   # Find out which ABI we are using.
4459   echo 'int i;' > conftest.$ac_ext
4460   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4461   (eval $ac_compile) 2>&5
4462   ac_status=$?
4463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464   (exit $ac_status); }; then
4465     case "`/usr/bin/file conftest.o`" in
4466     *32-bit*)
4467       case $host in
4468         x86_64-*linux*)
4469           LD="${LD-ld} -m elf_i386"
4470           ;;
4471         ppc64-*linux*|powerpc64-*linux*)
4472           LD="${LD-ld} -m elf32ppclinux"
4473           ;;
4474         s390x-*linux*)
4475           LD="${LD-ld} -m elf_s390"
4476           ;;
4477         sparc64-*linux*)
4478           LD="${LD-ld} -m elf32_sparc"
4479           ;;
4480       esac
4481       ;;
4482     *64-bit*)
4483       case $host in
4484         x86_64-*linux*)
4485           LD="${LD-ld} -m elf_x86_64"
4486           ;;
4487         ppc*-*linux*|powerpc*-*linux*)
4488           LD="${LD-ld} -m elf64ppc"
4489           ;;
4490         s390*-*linux*)
4491           LD="${LD-ld} -m elf64_s390"
4492           ;;
4493         sparc*-*linux*)
4494           LD="${LD-ld} -m elf64_sparc"
4495           ;;
4496       esac
4497       ;;
4498     esac
4499   fi
4500   rm -rf conftest*
4501   ;;
4502
4503 *-*-sco3.2v5*)
4504   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4505   SAVE_CFLAGS="$CFLAGS"
4506   CFLAGS="$CFLAGS -belf"
4507   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4508 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4509 if test "${lt_cv_cc_needs_belf+set}" = set; then
4510   echo $ECHO_N "(cached) $ECHO_C" >&6
4511 else
4512
4513
4514      ac_ext=c
4515 ac_cpp='$CPP $CPPFLAGS'
4516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4519
4520      if test x$gcc_no_link = xyes; then
4521   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4523    { (exit 1); exit 1; }; }
4524 fi
4525 cat >conftest.$ac_ext <<_ACEOF
4526 /* confdefs.h.  */
4527 _ACEOF
4528 cat confdefs.h >>conftest.$ac_ext
4529 cat >>conftest.$ac_ext <<_ACEOF
4530 /* end confdefs.h.  */
4531
4532 int
4533 main ()
4534 {
4535
4536   ;
4537   return 0;
4538 }
4539 _ACEOF
4540 rm -f conftest.$ac_objext conftest$ac_exeext
4541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4542   (eval $ac_link) 2>conftest.er1
4543   ac_status=$?
4544   grep -v '^ *+' conftest.er1 >conftest.err
4545   rm -f conftest.er1
4546   cat conftest.err >&5
4547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4548   (exit $ac_status); } &&
4549          { ac_try='test -z "$ac_c_werror_flag"
4550                          || test ! -s conftest.err'
4551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4552   (eval $ac_try) 2>&5
4553   ac_status=$?
4554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4555   (exit $ac_status); }; } &&
4556          { ac_try='test -s conftest$ac_exeext'
4557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4558   (eval $ac_try) 2>&5
4559   ac_status=$?
4560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4561   (exit $ac_status); }; }; then
4562   lt_cv_cc_needs_belf=yes
4563 else
4564   echo "$as_me: failed program was:" >&5
4565 sed 's/^/| /' conftest.$ac_ext >&5
4566
4567 lt_cv_cc_needs_belf=no
4568 fi
4569 rm -f conftest.err conftest.$ac_objext \
4570       conftest$ac_exeext conftest.$ac_ext
4571      ac_ext=c
4572 ac_cpp='$CPP $CPPFLAGS'
4573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4576
4577 fi
4578 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4579 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4580   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4581     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4582     CFLAGS="$SAVE_CFLAGS"
4583   fi
4584   ;;
4585
4586
4587 esac
4588
4589
4590 # Save cache, so that ltconfig can load it
4591 cat >confcache <<\_ACEOF
4592 # This file is a shell script that caches the results of configure
4593 # tests run on this system so they can be shared between configure
4594 # scripts and configure runs, see configure's option --config-cache.
4595 # It is not useful on other systems.  If it contains results you don't
4596 # want to keep, you may remove or edit it.
4597 #
4598 # config.status only pays attention to the cache file if you give it
4599 # the --recheck option to rerun configure.
4600 #
4601 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4602 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4603 # following values.
4604
4605 _ACEOF
4606
4607 # The following way of writing the cache mishandles newlines in values,
4608 # but we know of no workaround that is simple, portable, and efficient.
4609 # So, don't put newlines in cache variables' values.
4610 # Ultrix sh set writes to stderr and can't be redirected directly,
4611 # and sets the high bit in the cache file unless we assign to the vars.
4612 {
4613   (set) 2>&1 |
4614     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4615     *ac_space=\ *)
4616       # `set' does not quote correctly, so add quotes (double-quote
4617       # substitution turns \\\\ into \\, and sed turns \\ into \).
4618       sed -n \
4619         "s/'/'\\\\''/g;
4620           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4621       ;;
4622     *)
4623       # `set' quotes correctly as required by POSIX, so do not add quotes.
4624       sed -n \
4625         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4626       ;;
4627     esac;
4628 } |
4629   sed '
4630      t clear
4631      : clear
4632      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4633      t end
4634      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4635      : end' >>confcache
4636 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4637   if test -w $cache_file; then
4638     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4639     cat confcache >$cache_file
4640   else
4641     echo "not updating unwritable cache $cache_file"
4642   fi
4643 fi
4644 rm -f confcache
4645
4646 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
4647 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4648 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4649 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4650 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4651 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4652 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4653 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4654 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4655 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4656 echo "$as_me: error: libtool configure failed" >&2;}
4657    { (exit 1); exit 1; }; }
4658
4659 # Reload cache, that may have been modified by ltconfig
4660 if test -r "$cache_file"; then
4661   # Some versions of bash will fail to source /dev/null (special
4662   # files actually), so we avoid doing that.
4663   if test -f "$cache_file"; then
4664     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4665 echo "$as_me: loading cache $cache_file" >&6;}
4666     case $cache_file in
4667       [\\/]* | ?:[\\/]* ) . $cache_file;;
4668       *)                      . ./$cache_file;;
4669     esac
4670   fi
4671 else
4672   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4673 echo "$as_me: creating cache $cache_file" >&6;}
4674   >$cache_file
4675 fi
4676
4677
4678 # This can be used to rebuild libtool when needed
4679 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4680
4681 # Always use our own libtool.
4682 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4683
4684 # Redirect the config.log output again, so that the ltconfig log is not
4685 # clobbered by the next message.
4686 exec 5>>./config.log
4687
4688 ac_ext=cc
4689 ac_cpp='$CXXCPP $CPPFLAGS'
4690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4693 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4694 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4695 if test -z "$CXXCPP"; then
4696   if test "${ac_cv_prog_CXXCPP+set}" = set; then
4697   echo $ECHO_N "(cached) $ECHO_C" >&6
4698 else
4699       # Double quotes because CXXCPP needs to be expanded
4700     for CXXCPP in "$CXX -E" "/lib/cpp"
4701     do
4702       ac_preproc_ok=false
4703 for ac_cxx_preproc_warn_flag in '' yes
4704 do
4705   # Use a header file that comes with gcc, so configuring glibc
4706   # with a fresh cross-compiler works.
4707   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4708   # <limits.h> exists even on freestanding compilers.
4709   # On the NeXT, cc -E runs the code through the compiler's parser,
4710   # not just through cpp. "Syntax error" is here to catch this case.
4711   cat >conftest.$ac_ext <<_ACEOF
4712 /* confdefs.h.  */
4713 _ACEOF
4714 cat confdefs.h >>conftest.$ac_ext
4715 cat >>conftest.$ac_ext <<_ACEOF
4716 /* end confdefs.h.  */
4717 #ifdef __STDC__
4718 # include <limits.h>
4719 #else
4720 # include <assert.h>
4721 #endif
4722                      Syntax error
4723 _ACEOF
4724 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4725   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4726   ac_status=$?
4727   grep -v '^ *+' conftest.er1 >conftest.err
4728   rm -f conftest.er1
4729   cat conftest.err >&5
4730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731   (exit $ac_status); } >/dev/null; then
4732   if test -s conftest.err; then
4733     ac_cpp_err=$ac_cxx_preproc_warn_flag
4734     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4735   else
4736     ac_cpp_err=
4737   fi
4738 else
4739   ac_cpp_err=yes
4740 fi
4741 if test -z "$ac_cpp_err"; then
4742   :
4743 else
4744   echo "$as_me: failed program was:" >&5
4745 sed 's/^/| /' conftest.$ac_ext >&5
4746
4747   # Broken: fails on valid input.
4748 continue
4749 fi
4750 rm -f conftest.err conftest.$ac_ext
4751
4752   # OK, works on sane cases.  Now check whether non-existent headers
4753   # can be detected and how.
4754   cat >conftest.$ac_ext <<_ACEOF
4755 /* confdefs.h.  */
4756 _ACEOF
4757 cat confdefs.h >>conftest.$ac_ext
4758 cat >>conftest.$ac_ext <<_ACEOF
4759 /* end confdefs.h.  */
4760 #include <ac_nonexistent.h>
4761 _ACEOF
4762 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4763   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4764   ac_status=$?
4765   grep -v '^ *+' conftest.er1 >conftest.err
4766   rm -f conftest.er1
4767   cat conftest.err >&5
4768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4769   (exit $ac_status); } >/dev/null; then
4770   if test -s conftest.err; then
4771     ac_cpp_err=$ac_cxx_preproc_warn_flag
4772     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4773   else
4774     ac_cpp_err=
4775   fi
4776 else
4777   ac_cpp_err=yes
4778 fi
4779 if test -z "$ac_cpp_err"; then
4780   # Broken: success on invalid input.
4781 continue
4782 else
4783   echo "$as_me: failed program was:" >&5
4784 sed 's/^/| /' conftest.$ac_ext >&5
4785
4786   # Passes both tests.
4787 ac_preproc_ok=:
4788 break
4789 fi
4790 rm -f conftest.err conftest.$ac_ext
4791
4792 done
4793 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4794 rm -f conftest.err conftest.$ac_ext
4795 if $ac_preproc_ok; then
4796   break
4797 fi
4798
4799     done
4800     ac_cv_prog_CXXCPP=$CXXCPP
4801
4802 fi
4803   CXXCPP=$ac_cv_prog_CXXCPP
4804 else
4805   ac_cv_prog_CXXCPP=$CXXCPP
4806 fi
4807 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4808 echo "${ECHO_T}$CXXCPP" >&6
4809 ac_preproc_ok=false
4810 for ac_cxx_preproc_warn_flag in '' yes
4811 do
4812   # Use a header file that comes with gcc, so configuring glibc
4813   # with a fresh cross-compiler works.
4814   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4815   # <limits.h> exists even on freestanding compilers.
4816   # On the NeXT, cc -E runs the code through the compiler's parser,
4817   # not just through cpp. "Syntax error" is here to catch this case.
4818   cat >conftest.$ac_ext <<_ACEOF
4819 /* confdefs.h.  */
4820 _ACEOF
4821 cat confdefs.h >>conftest.$ac_ext
4822 cat >>conftest.$ac_ext <<_ACEOF
4823 /* end confdefs.h.  */
4824 #ifdef __STDC__
4825 # include <limits.h>
4826 #else
4827 # include <assert.h>
4828 #endif
4829                      Syntax error
4830 _ACEOF
4831 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4832   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4833   ac_status=$?
4834   grep -v '^ *+' conftest.er1 >conftest.err
4835   rm -f conftest.er1
4836   cat conftest.err >&5
4837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838   (exit $ac_status); } >/dev/null; then
4839   if test -s conftest.err; then
4840     ac_cpp_err=$ac_cxx_preproc_warn_flag
4841     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4842   else
4843     ac_cpp_err=
4844   fi
4845 else
4846   ac_cpp_err=yes
4847 fi
4848 if test -z "$ac_cpp_err"; then
4849   :
4850 else
4851   echo "$as_me: failed program was:" >&5
4852 sed 's/^/| /' conftest.$ac_ext >&5
4853
4854   # Broken: fails on valid input.
4855 continue
4856 fi
4857 rm -f conftest.err conftest.$ac_ext
4858
4859   # OK, works on sane cases.  Now check whether non-existent headers
4860   # can be detected and how.
4861   cat >conftest.$ac_ext <<_ACEOF
4862 /* confdefs.h.  */
4863 _ACEOF
4864 cat confdefs.h >>conftest.$ac_ext
4865 cat >>conftest.$ac_ext <<_ACEOF
4866 /* end confdefs.h.  */
4867 #include <ac_nonexistent.h>
4868 _ACEOF
4869 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4870   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4871   ac_status=$?
4872   grep -v '^ *+' conftest.er1 >conftest.err
4873   rm -f conftest.er1
4874   cat conftest.err >&5
4875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4876   (exit $ac_status); } >/dev/null; then
4877   if test -s conftest.err; then
4878     ac_cpp_err=$ac_cxx_preproc_warn_flag
4879     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4880   else
4881     ac_cpp_err=
4882   fi
4883 else
4884   ac_cpp_err=yes
4885 fi
4886 if test -z "$ac_cpp_err"; then
4887   # Broken: success on invalid input.
4888 continue
4889 else
4890   echo "$as_me: failed program was:" >&5
4891 sed 's/^/| /' conftest.$ac_ext >&5
4892
4893   # Passes both tests.
4894 ac_preproc_ok=:
4895 break
4896 fi
4897 rm -f conftest.err conftest.$ac_ext
4898
4899 done
4900 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4901 rm -f conftest.err conftest.$ac_ext
4902 if $ac_preproc_ok; then
4903   :
4904 else
4905   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4906 See \`config.log' for more details." >&5
4907 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4908 See \`config.log' for more details." >&2;}
4909    { (exit 1); exit 1; }; }
4910 fi
4911
4912 ac_ext=c
4913 ac_cpp='$CPP $CPPFLAGS'
4914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4917
4918
4919
4920 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4921 lt_save_CC="$CC"
4922 lt_save_CFLAGS="$CFLAGS"
4923 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4924 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4925 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4926 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4927 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4928 deplibs_check_method="$deplibs_check_method" \
4929 file_magic_cmd="$file_magic_cmd" \
4930 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4931 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4932 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4933 echo "$as_me: error: libtool tag configuration failed" >&2;}
4934    { (exit 1); exit 1; }; }
4935 CC="$lt_save_CC"
4936 CFLAGS="$lt_save_CFLAGS"
4937
4938 # Redirect the config.log output again, so that the ltconfig log is not
4939 # clobbered by the next message.
4940 exec 5>>./config.log
4941
4942
4943
4944
4945
4946
4947
4948
4949 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4950
4951 # Possibly disable most of the library.
4952 ## XXX Consider skipping unncessary tests altogether in this case, rather
4953 ## than just ignoring the results.  Faster /and/ more correct, win win.
4954
4955   # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4956 if test "${enable_hosted_libstdcxx+set}" = set; then
4957   enableval="$enable_hosted_libstdcxx"
4958
4959 else
4960   case "$host" in
4961         arm*-*-symbianelf*)
4962             enable_hosted_libstdcxx=no
4963             ;;
4964         *)
4965             enable_hosted_libstdcxx=yes
4966             ;;
4967      esac
4968 fi;
4969   if test "$enable_hosted_libstdcxx" = no; then
4970     { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
4971 echo "$as_me: Only freestanding libraries will be built" >&6;}
4972     is_hosted=no
4973     hosted_define=0
4974     enable_abi_check=no
4975     enable_libstdcxx_pch=no
4976   else
4977     is_hosted=yes
4978     hosted_define=1
4979   fi
4980
4981
4982 cat >>confdefs.h <<_ACEOF
4983 #define _GLIBCXX_HOSTED $hosted_define
4984 _ACEOF
4985
4986
4987
4988 # Check for support bits and g++ features that don't require linking.
4989
4990   echo "$as_me:$LINENO: checking for exception model to use" >&5
4991 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4992
4993
4994   ac_ext=cc
4995 ac_cpp='$CXXCPP $CPPFLAGS'
4996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4999
5000    # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
5001 if test "${enable_sjlj_exceptions+set}" = set; then
5002   enableval="$enable_sjlj_exceptions"
5003
5004       case "$enableval" in
5005        yes|no|auto) ;;
5006        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5007 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5008    { (exit 1); exit 1; }; } ;;
5009                           esac
5010
5011 else
5012   enable_sjlj_exceptions=auto
5013 fi;
5014
5015
5016   if test $enable_sjlj_exceptions = auto; then
5017     # Botheration.  Now we've got to detect the exception model.  Link tests
5018     # against libgcc.a are problematic since we've not been given proper -L
5019     # bits for single-tree newlib and libgloss.
5020     #
5021     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
5022     cat > conftest.$ac_ext << EOF
5023 #line 5023 "configure"
5024 struct S { ~S(); };
5025 void bar();
5026 void foo()
5027 {
5028   S s;
5029   bar();
5030 }
5031 EOF
5032     old_CXXFLAGS="$CXXFLAGS"
5033     CXXFLAGS=-S
5034     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5035   (eval $ac_compile) 2>&5
5036   ac_status=$?
5037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5038   (exit $ac_status); }; then
5039       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5040         enable_sjlj_exceptions=yes
5041       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5042         enable_sjlj_exceptions=no
5043       fi
5044     fi
5045     CXXFLAGS="$old_CXXFLAGS"
5046     rm -f conftest*
5047   fi
5048
5049   # This is a tad weird, for hysterical raisins.  We have to map enable/disable
5050   # to two different models.
5051   case $enable_sjlj_exceptions in
5052     yes)
5053
5054 cat >>confdefs.h <<\_ACEOF
5055 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5056 _ACEOF
5057
5058       ac_exception_model_name=sjlj
5059       ;;
5060     no)
5061       ac_exception_model_name="call frame"
5062       ;;
5063     *)
5064       { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5065 echo "$as_me: error: unable to detect exception model" >&2;}
5066    { (exit 1); exit 1; }; }
5067       ;;
5068   esac
5069  ac_ext=c
5070 ac_cpp='$CPP $CPPFLAGS'
5071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5074
5075  echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5076 echo "${ECHO_T}$ac_exception_model_name" >&6
5077
5078
5079    # Check whether --enable-__cxa_atexit or --disable-__cxa_atexit was given.
5080 if test "${enable___cxa_atexit+set}" = set; then
5081   enableval="$enable___cxa_atexit"
5082
5083       case "$enableval" in
5084        yes|no) ;;
5085        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable __cxa_atexit must be yes or no" >&5
5086 echo "$as_me: error: Argument to enable/disable __cxa_atexit must be yes or no" >&2;}
5087    { (exit 1); exit 1; }; } ;;
5088       esac
5089
5090 else
5091   enable___cxa_atexit=no
5092 fi;
5093
5094   if test $enable___cxa_atexit = yes; then
5095     cat >>confdefs.h <<\_ACEOF
5096 #define _GLIBCXX_USE___CXA_ATEXIT 1
5097 _ACEOF
5098
5099   fi
5100
5101
5102   echo "$as_me:$LINENO: checking for enabled PCH" >&5
5103 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5104    # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5105 if test "${enable_libstdcxx_pch+set}" = set; then
5106   enableval="$enable_libstdcxx_pch"
5107
5108       case "$enableval" in
5109        yes|no) ;;
5110        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5111 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5112    { (exit 1); exit 1; }; } ;;
5113       esac
5114
5115 else
5116   enable_libstdcxx_pch=$is_hosted
5117 fi;
5118
5119   echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5120 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5121
5122   if test $enable_libstdcxx_pch = yes; then
5123     echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5124 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5125 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5126   echo $ECHO_N "(cached) $ECHO_C" >&6
5127 else
5128   ac_save_CXXFLAGS="$CXXFLAGS"
5129        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5130
5131
5132        ac_ext=cc
5133 ac_cpp='$CXXCPP $CPPFLAGS'
5134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5137
5138        echo '#include <math.h>' > conftest.h
5139        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5140                           -o conftest.h.gch 1>&5 2>&1 &&
5141                 echo '#error "pch failed"' > conftest.h &&
5142           echo '#include "conftest.h"' > conftest.cc &&
5143                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5144        then
5145          glibcxx_cv_prog_CXX_pch=yes
5146        else
5147          glibcxx_cv_prog_CXX_pch=no
5148        fi
5149        rm -f conftest*
5150        CXXFLAGS=$ac_save_CXXFLAGS
5151        ac_ext=c
5152 ac_cpp='$CPP $CPPFLAGS'
5153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5156
5157
5158 fi
5159 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5160 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5161     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5162   fi
5163
5164
5165   if test $enable_libstdcxx_pch = yes; then
5166     glibcxx_PCHFLAGS="-include bits/stdc++.h"
5167   else
5168     glibcxx_PCHFLAGS=""
5169   fi
5170
5171
5172
5173 # Enable all the variable C++ runtime options.
5174 # NB: C_MBCHAR must come early.
5175
5176   echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5177 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5178    # Check whether --enable-cstdio or --disable-cstdio was given.
5179 if test "${enable_cstdio+set}" = set; then
5180   enableval="$enable_cstdio"
5181
5182       case "$enableval" in
5183        stdio) ;;
5184        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5185 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5186    { (exit 1); exit 1; }; } ;;
5187                           esac
5188
5189 else
5190   enable_cstdio=stdio
5191 fi;
5192
5193
5194   # Now that libio has been removed, you can have any color you want as long
5195   # as it's black.  This is one big no-op until other packages are added, but
5196   # showing the framework never hurts.
5197   case ${enable_cstdio} in
5198     stdio)
5199       CSTDIO_H=config/io/c_io_stdio.h
5200       BASIC_FILE_H=config/io/basic_file_stdio.h
5201       BASIC_FILE_CC=config/io/basic_file_stdio.cc
5202       echo "$as_me:$LINENO: result: stdio" >&5
5203 echo "${ECHO_T}stdio" >&6
5204       ;;
5205   esac
5206
5207
5208
5209
5210
5211 ac_ext=c
5212 ac_cpp='$CPP $CPPFLAGS'
5213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5216 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5217 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5218 # On Suns, sometimes $CPP names a directory.
5219 if test -n "$CPP" && test -d "$CPP"; then
5220   CPP=
5221 fi
5222 if test -z "$CPP"; then
5223   if test "${ac_cv_prog_CPP+set}" = set; then
5224   echo $ECHO_N "(cached) $ECHO_C" >&6
5225 else
5226       # Double quotes because CPP needs to be expanded
5227     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5228     do
5229       ac_preproc_ok=false
5230 for ac_c_preproc_warn_flag in '' yes
5231 do
5232   # Use a header file that comes with gcc, so configuring glibc
5233   # with a fresh cross-compiler works.
5234   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5235   # <limits.h> exists even on freestanding compilers.
5236   # On the NeXT, cc -E runs the code through the compiler's parser,
5237   # not just through cpp. "Syntax error" is here to catch this case.
5238   cat >conftest.$ac_ext <<_ACEOF
5239 /* confdefs.h.  */
5240 _ACEOF
5241 cat confdefs.h >>conftest.$ac_ext
5242 cat >>conftest.$ac_ext <<_ACEOF
5243 /* end confdefs.h.  */
5244 #ifdef __STDC__
5245 # include <limits.h>
5246 #else
5247 # include <assert.h>
5248 #endif
5249                      Syntax error
5250 _ACEOF
5251 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5252   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5253   ac_status=$?
5254   grep -v '^ *+' conftest.er1 >conftest.err
5255   rm -f conftest.er1
5256   cat conftest.err >&5
5257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5258   (exit $ac_status); } >/dev/null; then
5259   if test -s conftest.err; then
5260     ac_cpp_err=$ac_c_preproc_warn_flag
5261     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5262   else
5263     ac_cpp_err=
5264   fi
5265 else
5266   ac_cpp_err=yes
5267 fi
5268 if test -z "$ac_cpp_err"; then
5269   :
5270 else
5271   echo "$as_me: failed program was:" >&5
5272 sed 's/^/| /' conftest.$ac_ext >&5
5273
5274   # Broken: fails on valid input.
5275 continue
5276 fi
5277 rm -f conftest.err conftest.$ac_ext
5278
5279   # OK, works on sane cases.  Now check whether non-existent headers
5280   # can be detected and how.
5281   cat >conftest.$ac_ext <<_ACEOF
5282 /* confdefs.h.  */
5283 _ACEOF
5284 cat confdefs.h >>conftest.$ac_ext
5285 cat >>conftest.$ac_ext <<_ACEOF
5286 /* end confdefs.h.  */
5287 #include <ac_nonexistent.h>
5288 _ACEOF
5289 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5290   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5291   ac_status=$?
5292   grep -v '^ *+' conftest.er1 >conftest.err
5293   rm -f conftest.er1
5294   cat conftest.err >&5
5295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296   (exit $ac_status); } >/dev/null; then
5297   if test -s conftest.err; then
5298     ac_cpp_err=$ac_c_preproc_warn_flag
5299     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5300   else
5301     ac_cpp_err=
5302   fi
5303 else
5304   ac_cpp_err=yes
5305 fi
5306 if test -z "$ac_cpp_err"; then
5307   # Broken: success on invalid input.
5308 continue
5309 else
5310   echo "$as_me: failed program was:" >&5
5311 sed 's/^/| /' conftest.$ac_ext >&5
5312
5313   # Passes both tests.
5314 ac_preproc_ok=:
5315 break
5316 fi
5317 rm -f conftest.err conftest.$ac_ext
5318
5319 done
5320 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5321 rm -f conftest.err conftest.$ac_ext
5322 if $ac_preproc_ok; then
5323   break
5324 fi
5325
5326     done
5327     ac_cv_prog_CPP=$CPP
5328
5329 fi
5330   CPP=$ac_cv_prog_CPP
5331 else
5332   ac_cv_prog_CPP=$CPP
5333 fi
5334 echo "$as_me:$LINENO: result: $CPP" >&5
5335 echo "${ECHO_T}$CPP" >&6
5336 ac_preproc_ok=false
5337 for ac_c_preproc_warn_flag in '' yes
5338 do
5339   # Use a header file that comes with gcc, so configuring glibc
5340   # with a fresh cross-compiler works.
5341   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5342   # <limits.h> exists even on freestanding compilers.
5343   # On the NeXT, cc -E runs the code through the compiler's parser,
5344   # not just through cpp. "Syntax error" is here to catch this case.
5345   cat >conftest.$ac_ext <<_ACEOF
5346 /* confdefs.h.  */
5347 _ACEOF
5348 cat confdefs.h >>conftest.$ac_ext
5349 cat >>conftest.$ac_ext <<_ACEOF
5350 /* end confdefs.h.  */
5351 #ifdef __STDC__
5352 # include <limits.h>
5353 #else
5354 # include <assert.h>
5355 #endif
5356                      Syntax error
5357 _ACEOF
5358 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5359   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5360   ac_status=$?
5361   grep -v '^ *+' conftest.er1 >conftest.err
5362   rm -f conftest.er1
5363   cat conftest.err >&5
5364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5365   (exit $ac_status); } >/dev/null; then
5366   if test -s conftest.err; then
5367     ac_cpp_err=$ac_c_preproc_warn_flag
5368     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5369   else
5370     ac_cpp_err=
5371   fi
5372 else
5373   ac_cpp_err=yes
5374 fi
5375 if test -z "$ac_cpp_err"; then
5376   :
5377 else
5378   echo "$as_me: failed program was:" >&5
5379 sed 's/^/| /' conftest.$ac_ext >&5
5380
5381   # Broken: fails on valid input.
5382 continue
5383 fi
5384 rm -f conftest.err conftest.$ac_ext
5385
5386   # OK, works on sane cases.  Now check whether non-existent headers
5387   # can be detected and how.
5388   cat >conftest.$ac_ext <<_ACEOF
5389 /* confdefs.h.  */
5390 _ACEOF
5391 cat confdefs.h >>conftest.$ac_ext
5392 cat >>conftest.$ac_ext <<_ACEOF
5393 /* end confdefs.h.  */
5394 #include <ac_nonexistent.h>
5395 _ACEOF
5396 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5397   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5398   ac_status=$?
5399   grep -v '^ *+' conftest.er1 >conftest.err
5400   rm -f conftest.er1
5401   cat conftest.err >&5
5402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5403   (exit $ac_status); } >/dev/null; then
5404   if test -s conftest.err; then
5405     ac_cpp_err=$ac_c_preproc_warn_flag
5406     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5407   else
5408     ac_cpp_err=
5409   fi
5410 else
5411   ac_cpp_err=yes
5412 fi
5413 if test -z "$ac_cpp_err"; then
5414   # Broken: success on invalid input.
5415 continue
5416 else
5417   echo "$as_me: failed program was:" >&5
5418 sed 's/^/| /' conftest.$ac_ext >&5
5419
5420   # Passes both tests.
5421 ac_preproc_ok=:
5422 break
5423 fi
5424 rm -f conftest.err conftest.$ac_ext
5425
5426 done
5427 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5428 rm -f conftest.err conftest.$ac_ext
5429 if $ac_preproc_ok; then
5430   :
5431 else
5432   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5433 See \`config.log' for more details." >&5
5434 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5435 See \`config.log' for more details." >&2;}
5436    { (exit 1); exit 1; }; }
5437 fi
5438
5439 ac_ext=c
5440 ac_cpp='$CPP $CPPFLAGS'
5441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5444
5445
5446 echo "$as_me:$LINENO: checking for egrep" >&5
5447 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5448 if test "${ac_cv_prog_egrep+set}" = set; then
5449   echo $ECHO_N "(cached) $ECHO_C" >&6
5450 else
5451   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5452     then ac_cv_prog_egrep='grep -E'
5453     else ac_cv_prog_egrep='egrep'
5454     fi
5455 fi
5456 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5457 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5458  EGREP=$ac_cv_prog_egrep
5459
5460
5461 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5462 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5463 if test "${ac_cv_header_stdc+set}" = set; then
5464   echo $ECHO_N "(cached) $ECHO_C" >&6
5465 else
5466   cat >conftest.$ac_ext <<_ACEOF
5467 /* confdefs.h.  */
5468 _ACEOF
5469 cat confdefs.h >>conftest.$ac_ext
5470 cat >>conftest.$ac_ext <<_ACEOF
5471 /* end confdefs.h.  */
5472 #include <stdlib.h>
5473 #include <stdarg.h>
5474 #include <string.h>
5475 #include <float.h>
5476
5477 int
5478 main ()
5479 {
5480
5481   ;
5482   return 0;
5483 }
5484 _ACEOF
5485 rm -f conftest.$ac_objext
5486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5487   (eval $ac_compile) 2>conftest.er1
5488   ac_status=$?
5489   grep -v '^ *+' conftest.er1 >conftest.err
5490   rm -f conftest.er1
5491   cat conftest.err >&5
5492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5493   (exit $ac_status); } &&
5494          { ac_try='test -z "$ac_c_werror_flag"
5495                          || test ! -s conftest.err'
5496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5497   (eval $ac_try) 2>&5
5498   ac_status=$?
5499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5500   (exit $ac_status); }; } &&
5501          { ac_try='test -s conftest.$ac_objext'
5502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5503   (eval $ac_try) 2>&5
5504   ac_status=$?
5505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5506   (exit $ac_status); }; }; then
5507   ac_cv_header_stdc=yes
5508 else
5509   echo "$as_me: failed program was:" >&5
5510 sed 's/^/| /' conftest.$ac_ext >&5
5511
5512 ac_cv_header_stdc=no
5513 fi
5514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5515
5516 if test $ac_cv_header_stdc = yes; then
5517   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5518   cat >conftest.$ac_ext <<_ACEOF
5519 /* confdefs.h.  */
5520 _ACEOF
5521 cat confdefs.h >>conftest.$ac_ext
5522 cat >>conftest.$ac_ext <<_ACEOF
5523 /* end confdefs.h.  */
5524 #include <string.h>
5525
5526 _ACEOF
5527 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5528   $EGREP "memchr" >/dev/null 2>&1; then
5529   :
5530 else
5531   ac_cv_header_stdc=no
5532 fi
5533 rm -f conftest*
5534
5535 fi
5536
5537 if test $ac_cv_header_stdc = yes; then
5538   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5539   cat >conftest.$ac_ext <<_ACEOF
5540 /* confdefs.h.  */
5541 _ACEOF
5542 cat confdefs.h >>conftest.$ac_ext
5543 cat >>conftest.$ac_ext <<_ACEOF
5544 /* end confdefs.h.  */
5545 #include <stdlib.h>
5546
5547 _ACEOF
5548 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5549   $EGREP "free" >/dev/null 2>&1; then
5550   :
5551 else
5552   ac_cv_header_stdc=no
5553 fi
5554 rm -f conftest*
5555
5556 fi
5557
5558 if test $ac_cv_header_stdc = yes; then
5559   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5560   if test "$cross_compiling" = yes; then
5561   :
5562 else
5563   cat >conftest.$ac_ext <<_ACEOF
5564 /* confdefs.h.  */
5565 _ACEOF
5566 cat confdefs.h >>conftest.$ac_ext
5567 cat >>conftest.$ac_ext <<_ACEOF
5568 /* end confdefs.h.  */
5569 #include <ctype.h>
5570 #if ((' ' & 0x0FF) == 0x020)
5571 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5572 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5573 #else
5574 # define ISLOWER(c) \
5575                    (('a' <= (c) && (c) <= 'i') \
5576                      || ('j' <= (c) && (c) <= 'r') \
5577                      || ('s' <= (c) && (c) <= 'z'))
5578 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5579 #endif
5580
5581 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5582 int
5583 main ()
5584 {
5585   int i;
5586   for (i = 0; i < 256; i++)
5587     if (XOR (islower (i), ISLOWER (i))
5588         || toupper (i) != TOUPPER (i))
5589       exit(2);
5590   exit (0);
5591 }
5592 _ACEOF
5593 rm -f conftest$ac_exeext
5594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5595   (eval $ac_link) 2>&5
5596   ac_status=$?
5597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5598   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5600   (eval $ac_try) 2>&5
5601   ac_status=$?
5602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5603   (exit $ac_status); }; }; then
5604   :
5605 else
5606   echo "$as_me: program exited with status $ac_status" >&5
5607 echo "$as_me: failed program was:" >&5
5608 sed 's/^/| /' conftest.$ac_ext >&5
5609
5610 ( exit $ac_status )
5611 ac_cv_header_stdc=no
5612 fi
5613 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5614 fi
5615 fi
5616 fi
5617 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5618 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5619 if test $ac_cv_header_stdc = yes; then
5620
5621 cat >>confdefs.h <<\_ACEOF
5622 #define STDC_HEADERS 1
5623 _ACEOF
5624
5625 fi
5626
5627 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5638                   inttypes.h stdint.h unistd.h
5639 do
5640 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5641 echo "$as_me:$LINENO: checking for $ac_header" >&5
5642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5643 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5644   echo $ECHO_N "(cached) $ECHO_C" >&6
5645 else
5646   cat >conftest.$ac_ext <<_ACEOF
5647 /* confdefs.h.  */
5648 _ACEOF
5649 cat confdefs.h >>conftest.$ac_ext
5650 cat >>conftest.$ac_ext <<_ACEOF
5651 /* end confdefs.h.  */
5652 $ac_includes_default
5653
5654 #include <$ac_header>
5655 _ACEOF
5656 rm -f conftest.$ac_objext
5657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5658   (eval $ac_compile) 2>conftest.er1
5659   ac_status=$?
5660   grep -v '^ *+' conftest.er1 >conftest.err
5661   rm -f conftest.er1
5662   cat conftest.err >&5
5663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5664   (exit $ac_status); } &&
5665          { ac_try='test -z "$ac_c_werror_flag"
5666                          || test ! -s conftest.err'
5667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5668   (eval $ac_try) 2>&5
5669   ac_status=$?
5670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5671   (exit $ac_status); }; } &&
5672          { ac_try='test -s conftest.$ac_objext'
5673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5674   (eval $ac_try) 2>&5
5675   ac_status=$?
5676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677   (exit $ac_status); }; }; then
5678   eval "$as_ac_Header=yes"
5679 else
5680   echo "$as_me: failed program was:" >&5
5681 sed 's/^/| /' conftest.$ac_ext >&5
5682
5683 eval "$as_ac_Header=no"
5684 fi
5685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5686 fi
5687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5688 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5689 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5690   cat >>confdefs.h <<_ACEOF
5691 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5692 _ACEOF
5693
5694 fi
5695
5696 done
5697
5698
5699
5700   echo "$as_me:$LINENO: checking for C locale to use" >&5
5701 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5702    # Check whether --enable-clocale or --disable-clocale was given.
5703 if test "${enable_clocale+set}" = set; then
5704   enableval="$enable_clocale"
5705
5706       case "$enableval" in
5707        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5708        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5709 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5710    { (exit 1); exit 1; }; } ;;
5711                           esac
5712
5713 else
5714   enable_clocale=auto
5715 fi;
5716
5717
5718   # If they didn't use this option switch, or if they specified --enable
5719   # with no specific model, we'll have to look for one.  If they
5720   # specified --disable (???), do likewise.
5721   if test $enable_clocale = no || test $enable_clocale = yes; then
5722      enable_clocale=auto
5723   fi
5724
5725   # Either a known package, or "auto"
5726   enable_clocale_flag=$enable_clocale
5727
5728   # Probe for locale support if no specific model is specified.
5729   # Default to "generic".
5730   if test $enable_clocale_flag = auto; then
5731     case ${target_os} in
5732       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5733         cat >conftest.$ac_ext <<_ACEOF
5734 /* confdefs.h.  */
5735 _ACEOF
5736 cat confdefs.h >>conftest.$ac_ext
5737 cat >>conftest.$ac_ext <<_ACEOF
5738 /* end confdefs.h.  */
5739
5740         #include <features.h>
5741         #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5742           _GLIBCXX_ok
5743         #endif
5744
5745 _ACEOF
5746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5747   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5748   enable_clocale_flag=gnu
5749 else
5750   enable_clocale_flag=generic
5751 fi
5752 rm -f conftest*
5753
5754
5755         # Test for bugs early in glibc-2.2.x series
5756           if test $enable_clocale_flag = gnu; then
5757           if test "$cross_compiling" = yes; then
5758   enable_clocale_flag=generic
5759 else
5760   cat >conftest.$ac_ext <<_ACEOF
5761 /* confdefs.h.  */
5762 _ACEOF
5763 cat confdefs.h >>conftest.$ac_ext
5764 cat >>conftest.$ac_ext <<_ACEOF
5765 /* end confdefs.h.  */
5766
5767           #define _GNU_SOURCE 1
5768           #include <locale.h>
5769           #include <string.h>
5770           #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5771           extern __typeof(newlocale) __newlocale;
5772           extern __typeof(duplocale) __duplocale;
5773           extern __typeof(strcoll_l) __strcoll_l;
5774           #endif
5775           int main()
5776           {
5777               const char __one[] = "Äuglein Augmen";
5778               const char __two[] = "Äuglein";
5779               int i;
5780               int j;
5781               __locale_t        loc;
5782                __locale_t        loc_dup;
5783               loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5784               loc_dup = __duplocale(loc);
5785               i = __strcoll_l(__one, __two, loc);
5786               j = __strcoll_l(__one, __two, loc_dup);
5787               return 0;
5788           }
5789
5790 _ACEOF
5791 rm -f conftest$ac_exeext
5792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5793   (eval $ac_link) 2>&5
5794   ac_status=$?
5795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5796   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5798   (eval $ac_try) 2>&5
5799   ac_status=$?
5800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5801   (exit $ac_status); }; }; then
5802   enable_clocale_flag=gnu
5803 else
5804   echo "$as_me: program exited with status $ac_status" >&5
5805 echo "$as_me: failed program was:" >&5
5806 sed 's/^/| /' conftest.$ac_ext >&5
5807
5808 ( exit $ac_status )
5809 enable_clocale_flag=generic
5810 fi
5811 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5812 fi
5813           fi
5814
5815         # ... at some point put __strxfrm_l tests in as well.
5816         ;;
5817       *)
5818         enable_clocale_flag=generic
5819         ;;
5820     esac
5821   fi
5822
5823   # Deal with gettext issues.  Default to not using it (=no) until we detect
5824   # support for it later.  Let the user turn it off via --e/d, but let that
5825   # default to on for easier handling.
5826   USE_NLS=no
5827   # Check whether --enable-nls or --disable-nls was given.
5828 if test "${enable_nls+set}" = set; then
5829   enableval="$enable_nls"
5830
5831 else
5832   enable_nls=yes
5833 fi;
5834
5835   # Set configure bits for specified locale package
5836   case ${enable_clocale_flag} in
5837     generic)
5838       echo "$as_me:$LINENO: result: generic" >&5
5839 echo "${ECHO_T}generic" >&6
5840
5841       CLOCALE_H=config/locale/generic/c_locale.h
5842       CLOCALE_CC=config/locale/generic/c_locale.cc
5843       CCODECVT_H=config/locale/generic/codecvt_specializations.h
5844       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5845       CCOLLATE_CC=config/locale/generic/collate_members.cc
5846       CCTYPE_CC=config/locale/generic/ctype_members.cc
5847       CMESSAGES_H=config/locale/generic/messages_members.h
5848       CMESSAGES_CC=config/locale/generic/messages_members.cc
5849       CMONEY_CC=config/locale/generic/monetary_members.cc
5850       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5851       CTIME_H=config/locale/generic/time_members.h
5852       CTIME_CC=config/locale/generic/time_members.cc
5853       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5854       ;;
5855     gnu)
5856       echo "$as_me:$LINENO: result: gnu" >&5
5857 echo "${ECHO_T}gnu" >&6
5858
5859       # Declare intention to use gettext, and add support for specific
5860       # languages.
5861       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5862       ALL_LINGUAS="de fr"
5863
5864       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5865       # Extract the first word of "msgfmt", so it can be a program name with args.
5866 set dummy msgfmt; ac_word=$2
5867 echo "$as_me:$LINENO: checking for $ac_word" >&5
5868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5869 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5870   echo $ECHO_N "(cached) $ECHO_C" >&6
5871 else
5872   if test -n "$check_msgfmt"; then
5873   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5874 else
5875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5876 for as_dir in $PATH
5877 do
5878   IFS=$as_save_IFS
5879   test -z "$as_dir" && as_dir=.
5880   for ac_exec_ext in '' $ac_executable_extensions; do
5881   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5882     ac_cv_prog_check_msgfmt="yes"
5883     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5884     break 2
5885   fi
5886 done
5887 done
5888
5889   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5890 fi
5891 fi
5892 check_msgfmt=$ac_cv_prog_check_msgfmt
5893 if test -n "$check_msgfmt"; then
5894   echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5895 echo "${ECHO_T}$check_msgfmt" >&6
5896 else
5897   echo "$as_me:$LINENO: result: no" >&5
5898 echo "${ECHO_T}no" >&6
5899 fi
5900
5901       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5902         USE_NLS=yes
5903       fi
5904       # Export the build objects.
5905       for ling in $ALL_LINGUAS; do \
5906         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5907         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5908       done
5909
5910
5911
5912       CLOCALE_H=config/locale/gnu/c_locale.h
5913       CLOCALE_CC=config/locale/gnu/c_locale.cc
5914       CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5915       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5916       CCOLLATE_CC=config/locale/gnu/collate_members.cc
5917       CCTYPE_CC=config/locale/gnu/ctype_members.cc
5918       CMESSAGES_H=config/locale/gnu/messages_members.h
5919       CMESSAGES_CC=config/locale/gnu/messages_members.cc
5920       CMONEY_CC=config/locale/gnu/monetary_members.cc
5921       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5922       CTIME_H=config/locale/gnu/time_members.h
5923       CTIME_CC=config/locale/gnu/time_members.cc
5924       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5925       ;;
5926     ieee_1003.1-2001)
5927       echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5928 echo "${ECHO_T}IEEE 1003.1" >&6
5929
5930       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5931       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5932       CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5933       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5934       CCOLLATE_CC=config/locale/generic/collate_members.cc
5935       CCTYPE_CC=config/locale/generic/ctype_members.cc
5936       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5937       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5938       CMONEY_CC=config/locale/generic/monetary_members.cc
5939       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5940       CTIME_H=config/locale/generic/time_members.h
5941       CTIME_CC=config/locale/generic/time_members.cc
5942       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5943       ;;
5944   esac
5945
5946   # This is where the testsuite looks for locale catalogs, using the
5947   # -DLOCALEDIR define during testsuite compilation.
5948   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5949
5950
5951   # A standalone libintl (e.g., GNU libintl) may be in use.
5952   if test $USE_NLS = yes; then
5953
5954 for ac_header in libintl.h
5955 do
5956 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5958   echo "$as_me:$LINENO: checking for $ac_header" >&5
5959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5961   echo $ECHO_N "(cached) $ECHO_C" >&6
5962 fi
5963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5964 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5965 else
5966   # Is the header compilable?
5967 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5968 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5969 cat >conftest.$ac_ext <<_ACEOF
5970 /* confdefs.h.  */
5971 _ACEOF
5972 cat confdefs.h >>conftest.$ac_ext
5973 cat >>conftest.$ac_ext <<_ACEOF
5974 /* end confdefs.h.  */
5975 $ac_includes_default
5976 #include <$ac_header>
5977 _ACEOF
5978 rm -f conftest.$ac_objext
5979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5980   (eval $ac_compile) 2>conftest.er1
5981   ac_status=$?
5982   grep -v '^ *+' conftest.er1 >conftest.err
5983   rm -f conftest.er1
5984   cat conftest.err >&5
5985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5986   (exit $ac_status); } &&
5987          { ac_try='test -z "$ac_c_werror_flag"
5988                          || test ! -s conftest.err'
5989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5990   (eval $ac_try) 2>&5
5991   ac_status=$?
5992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5993   (exit $ac_status); }; } &&
5994          { ac_try='test -s conftest.$ac_objext'
5995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5996   (eval $ac_try) 2>&5
5997   ac_status=$?
5998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5999   (exit $ac_status); }; }; then
6000   ac_header_compiler=yes
6001 else
6002   echo "$as_me: failed program was:" >&5
6003 sed 's/^/| /' conftest.$ac_ext >&5
6004
6005 ac_header_compiler=no
6006 fi
6007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6008 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6009 echo "${ECHO_T}$ac_header_compiler" >&6
6010
6011 # Is the header present?
6012 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6013 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6014 cat >conftest.$ac_ext <<_ACEOF
6015 /* confdefs.h.  */
6016 _ACEOF
6017 cat confdefs.h >>conftest.$ac_ext
6018 cat >>conftest.$ac_ext <<_ACEOF
6019 /* end confdefs.h.  */
6020 #include <$ac_header>
6021 _ACEOF
6022 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6023   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6024   ac_status=$?
6025   grep -v '^ *+' conftest.er1 >conftest.err
6026   rm -f conftest.er1
6027   cat conftest.err >&5
6028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6029   (exit $ac_status); } >/dev/null; then
6030   if test -s conftest.err; then
6031     ac_cpp_err=$ac_c_preproc_warn_flag
6032     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6033   else
6034     ac_cpp_err=
6035   fi
6036 else
6037   ac_cpp_err=yes
6038 fi
6039 if test -z "$ac_cpp_err"; then
6040   ac_header_preproc=yes
6041 else
6042   echo "$as_me: failed program was:" >&5
6043 sed 's/^/| /' conftest.$ac_ext >&5
6044
6045   ac_header_preproc=no
6046 fi
6047 rm -f conftest.err conftest.$ac_ext
6048 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6049 echo "${ECHO_T}$ac_header_preproc" >&6
6050
6051 # So?  What about this header?
6052 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6053   yes:no: )
6054     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6055 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6056     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6057 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6058     ac_header_preproc=yes
6059     ;;
6060   no:yes:* )
6061     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6062 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6063     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6064 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6065     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6066 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6067     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6068 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6069     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6070 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6071     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6072 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6073     (
6074       cat <<\_ASBOX
6075 ## ----------------------------------------- ##
6076 ## Report this to the package-unused lists.  ##
6077 ## ----------------------------------------- ##
6078 _ASBOX
6079     ) |
6080       sed "s/^/$as_me: WARNING:     /" >&2
6081     ;;
6082 esac
6083 echo "$as_me:$LINENO: checking for $ac_header" >&5
6084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6086   echo $ECHO_N "(cached) $ECHO_C" >&6
6087 else
6088   eval "$as_ac_Header=\$ac_header_preproc"
6089 fi
6090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6091 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6092
6093 fi
6094 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6095   cat >>confdefs.h <<_ACEOF
6096 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6097 _ACEOF
6098
6099 else
6100   USE_NLS=no
6101 fi
6102
6103 done
6104
6105     echo "$as_me:$LINENO: checking for library containing gettext" >&5
6106 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6107 if test "${ac_cv_search_gettext+set}" = set; then
6108   echo $ECHO_N "(cached) $ECHO_C" >&6
6109 else
6110   ac_func_search_save_LIBS=$LIBS
6111 ac_cv_search_gettext=no
6112 if test x$gcc_no_link = xyes; then
6113   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6115    { (exit 1); exit 1; }; }
6116 fi
6117 cat >conftest.$ac_ext <<_ACEOF
6118 /* confdefs.h.  */
6119 _ACEOF
6120 cat confdefs.h >>conftest.$ac_ext
6121 cat >>conftest.$ac_ext <<_ACEOF
6122 /* end confdefs.h.  */
6123
6124 /* Override any gcc2 internal prototype to avoid an error.  */
6125 #ifdef __cplusplus
6126 extern "C"
6127 #endif
6128 /* We use char because int might match the return type of a gcc2
6129    builtin and then its argument prototype would still apply.  */
6130 char gettext ();
6131 int
6132 main ()
6133 {
6134 gettext ();
6135   ;
6136   return 0;
6137 }
6138 _ACEOF
6139 rm -f conftest.$ac_objext conftest$ac_exeext
6140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6141   (eval $ac_link) 2>conftest.er1
6142   ac_status=$?
6143   grep -v '^ *+' conftest.er1 >conftest.err
6144   rm -f conftest.er1
6145   cat conftest.err >&5
6146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6147   (exit $ac_status); } &&
6148          { ac_try='test -z "$ac_c_werror_flag"
6149                          || test ! -s conftest.err'
6150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6151   (eval $ac_try) 2>&5
6152   ac_status=$?
6153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6154   (exit $ac_status); }; } &&
6155          { ac_try='test -s conftest$ac_exeext'
6156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6157   (eval $ac_try) 2>&5
6158   ac_status=$?
6159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6160   (exit $ac_status); }; }; then
6161   ac_cv_search_gettext="none required"
6162 else
6163   echo "$as_me: failed program was:" >&5
6164 sed 's/^/| /' conftest.$ac_ext >&5
6165
6166 fi
6167 rm -f conftest.err conftest.$ac_objext \
6168       conftest$ac_exeext conftest.$ac_ext
6169 if test "$ac_cv_search_gettext" = no; then
6170   for ac_lib in intl; do
6171     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6172     if test x$gcc_no_link = xyes; then
6173   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6175    { (exit 1); exit 1; }; }
6176 fi
6177 cat >conftest.$ac_ext <<_ACEOF
6178 /* confdefs.h.  */
6179 _ACEOF
6180 cat confdefs.h >>conftest.$ac_ext
6181 cat >>conftest.$ac_ext <<_ACEOF
6182 /* end confdefs.h.  */
6183
6184 /* Override any gcc2 internal prototype to avoid an error.  */
6185 #ifdef __cplusplus
6186 extern "C"
6187 #endif
6188 /* We use char because int might match the return type of a gcc2
6189    builtin and then its argument prototype would still apply.  */
6190 char gettext ();
6191 int
6192 main ()
6193 {
6194 gettext ();
6195   ;
6196   return 0;
6197 }
6198 _ACEOF
6199 rm -f conftest.$ac_objext conftest$ac_exeext
6200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6201   (eval $ac_link) 2>conftest.er1
6202   ac_status=$?
6203   grep -v '^ *+' conftest.er1 >conftest.err
6204   rm -f conftest.er1
6205   cat conftest.err >&5
6206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6207   (exit $ac_status); } &&
6208          { ac_try='test -z "$ac_c_werror_flag"
6209                          || test ! -s conftest.err'
6210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6211   (eval $ac_try) 2>&5
6212   ac_status=$?
6213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6214   (exit $ac_status); }; } &&
6215          { ac_try='test -s conftest$ac_exeext'
6216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6217   (eval $ac_try) 2>&5
6218   ac_status=$?
6219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6220   (exit $ac_status); }; }; then
6221   ac_cv_search_gettext="-l$ac_lib"
6222 break
6223 else
6224   echo "$as_me: failed program was:" >&5
6225 sed 's/^/| /' conftest.$ac_ext >&5
6226
6227 fi
6228 rm -f conftest.err conftest.$ac_objext \
6229       conftest$ac_exeext conftest.$ac_ext
6230   done
6231 fi
6232 LIBS=$ac_func_search_save_LIBS
6233 fi
6234 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6235 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6236 if test "$ac_cv_search_gettext" != no; then
6237   test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6238
6239 else
6240   USE_NLS=no
6241 fi
6242
6243   fi
6244   if test $USE_NLS = yes; then
6245     cat >>confdefs.h <<\_ACEOF
6246 #define _GLIBCXX_USE_NLS 1
6247 _ACEOF
6248
6249   fi
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267   echo "$as_me:$LINENO: checking for std::allocator base class to use" >&5
6268 echo $ECHO_N "checking for std::allocator base class to use... $ECHO_C" >&6
6269    # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6270 if test "${enable_libstdcxx_allocator+set}" = set; then
6271   enableval="$enable_libstdcxx_allocator"
6272
6273       case "$enableval" in
6274        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6275        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6276 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6277    { (exit 1); exit 1; }; } ;;
6278                           esac
6279
6280 else
6281   enable_libstdcxx_allocator=auto
6282 fi;
6283
6284
6285   # If they didn't use this option switch, or if they specified --enable
6286   # with no specific model, we'll have to look for one.  If they
6287   # specified --disable (???), do likewise.
6288   if test $enable_libstdcxx_allocator = no ||
6289      test $enable_libstdcxx_allocator = yes;
6290   then
6291      enable_libstdcxx_allocator=auto
6292   fi
6293
6294   # Either a known package, or "auto". Auto implies the default choice
6295   # for a particular platform.
6296   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6297
6298   # Probe for host-specific support if no specific model is specified.
6299   # Default to "new".
6300   if test $enable_libstdcxx_allocator_flag = auto; then
6301     case ${target_os} in
6302       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6303         enable_libstdcxx_allocator_flag=mt
6304         ;;
6305       *)
6306         enable_libstdcxx_allocator_flag=new
6307         ;;
6308     esac
6309   fi
6310   echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6311 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6312
6313
6314   # Set configure bits for specified locale package
6315   case ${enable_libstdcxx_allocator_flag} in
6316     bitmap)
6317       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6318       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6319       ;;
6320     malloc)
6321       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6322       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6323       ;;
6324     mt)
6325       ALLOCATOR_H=config/allocator/mt_allocator_base.h
6326       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6327       ;;
6328     new)
6329       ALLOCATOR_H=config/allocator/new_allocator_base.h
6330       ALLOCATOR_NAME=__gnu_cxx::new_allocator
6331       ;;
6332     pool)
6333       ALLOCATOR_H=config/allocator/pool_allocator_base.h
6334       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6335       ;;
6336   esac
6337
6338
6339
6340
6341
6342    # Check whether --enable-cheaders or --disable-cheaders was given.
6343 if test "${enable_cheaders+set}" = set; then
6344   enableval="$enable_cheaders"
6345
6346       case "$enableval" in
6347        c|c_std) ;;
6348        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6349 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6350    { (exit 1); exit 1; }; } ;;
6351                           esac
6352
6353 else
6354   enable_cheaders=$c_model
6355 fi;
6356
6357   { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6358 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6359
6360   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6361
6362
6363
6364
6365
6366
6367    # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
6368 if test "${enable_c_mbchar+set}" = set; then
6369   enableval="$enable_c_mbchar"
6370
6371       case "$enableval" in
6372        yes|no) ;;
6373        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c-mbchar must be yes or no" >&5
6374 echo "$as_me: error: Argument to enable/disable c-mbchar must be yes or no" >&2;}
6375    { (exit 1); exit 1; }; } ;;
6376       esac
6377
6378 else
6379   enable_c_mbchar=yes
6380 fi;
6381
6382   # Option parsed, now other scripts can test enable_c_mbchar for yes/no.
6383
6384
6385
6386    # Check whether --enable-c99 or --disable-c99 was given.
6387 if test "${enable_c99+set}" = set; then
6388   enableval="$enable_c99"
6389
6390       case "$enableval" in
6391        yes|no) ;;
6392        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6393 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6394    { (exit 1); exit 1; }; } ;;
6395       esac
6396
6397 else
6398   enable_c99=yes
6399 fi;
6400
6401
6402
6403
6404   ac_ext=cc
6405 ac_cpp='$CXXCPP $CPPFLAGS'
6406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6409
6410
6411   # Check for the existence of <math.h> functions used if C99 is enabled.
6412   ac_c99_math=yes;
6413   echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6414 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6415   cat >conftest.$ac_ext <<_ACEOF
6416 /* confdefs.h.  */
6417 _ACEOF
6418 cat confdefs.h >>conftest.$ac_ext
6419 cat >>conftest.$ac_ext <<_ACEOF
6420 /* end confdefs.h.  */
6421 #include <math.h>
6422 int
6423 main ()
6424 {
6425 fpclassify(0.0);
6426   ;
6427   return 0;
6428 }
6429 _ACEOF
6430 rm -f conftest.$ac_objext
6431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6432   (eval $ac_compile) 2>conftest.er1
6433   ac_status=$?
6434   grep -v '^ *+' conftest.er1 >conftest.err
6435   rm -f conftest.er1
6436   cat conftest.err >&5
6437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6438   (exit $ac_status); } &&
6439          { ac_try='test -z "$ac_cxx_werror_flag"
6440                          || test ! -s conftest.err'
6441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6442   (eval $ac_try) 2>&5
6443   ac_status=$?
6444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6445   (exit $ac_status); }; } &&
6446          { ac_try='test -s conftest.$ac_objext'
6447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6448   (eval $ac_try) 2>&5
6449   ac_status=$?
6450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6451   (exit $ac_status); }; }; then
6452   :
6453 else
6454   echo "$as_me: failed program was:" >&5
6455 sed 's/^/| /' conftest.$ac_ext >&5
6456
6457 ac_c99_math=no
6458 fi
6459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6460   cat >conftest.$ac_ext <<_ACEOF
6461 /* confdefs.h.  */
6462 _ACEOF
6463 cat confdefs.h >>conftest.$ac_ext
6464 cat >>conftest.$ac_ext <<_ACEOF
6465 /* end confdefs.h.  */
6466 #include <math.h>
6467 int
6468 main ()
6469 {
6470 isfinite(0.0);
6471   ;
6472   return 0;
6473 }
6474 _ACEOF
6475 rm -f conftest.$ac_objext
6476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6477   (eval $ac_compile) 2>conftest.er1
6478   ac_status=$?
6479   grep -v '^ *+' conftest.er1 >conftest.err
6480   rm -f conftest.er1
6481   cat conftest.err >&5
6482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6483   (exit $ac_status); } &&
6484          { ac_try='test -z "$ac_cxx_werror_flag"
6485                          || test ! -s conftest.err'
6486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6487   (eval $ac_try) 2>&5
6488   ac_status=$?
6489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6490   (exit $ac_status); }; } &&
6491          { ac_try='test -s conftest.$ac_objext'
6492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6493   (eval $ac_try) 2>&5
6494   ac_status=$?
6495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6496   (exit $ac_status); }; }; then
6497   :
6498 else
6499   echo "$as_me: failed program was:" >&5
6500 sed 's/^/| /' conftest.$ac_ext >&5
6501
6502 ac_c99_math=no
6503 fi
6504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6505   cat >conftest.$ac_ext <<_ACEOF
6506 /* confdefs.h.  */
6507 _ACEOF
6508 cat confdefs.h >>conftest.$ac_ext
6509 cat >>conftest.$ac_ext <<_ACEOF
6510 /* end confdefs.h.  */
6511 #include <math.h>
6512 int
6513 main ()
6514 {
6515 isinf(0.0);
6516   ;
6517   return 0;
6518 }
6519 _ACEOF
6520 rm -f conftest.$ac_objext
6521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6522   (eval $ac_compile) 2>conftest.er1
6523   ac_status=$?
6524   grep -v '^ *+' conftest.er1 >conftest.err
6525   rm -f conftest.er1
6526   cat conftest.err >&5
6527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6528   (exit $ac_status); } &&
6529          { ac_try='test -z "$ac_cxx_werror_flag"
6530                          || test ! -s conftest.err'
6531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6532   (eval $ac_try) 2>&5
6533   ac_status=$?
6534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6535   (exit $ac_status); }; } &&
6536          { ac_try='test -s conftest.$ac_objext'
6537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6538   (eval $ac_try) 2>&5
6539   ac_status=$?
6540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6541   (exit $ac_status); }; }; then
6542   :
6543 else
6544   echo "$as_me: failed program was:" >&5
6545 sed 's/^/| /' conftest.$ac_ext >&5
6546
6547 ac_c99_math=no
6548 fi
6549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6550   cat >conftest.$ac_ext <<_ACEOF
6551 /* confdefs.h.  */
6552 _ACEOF
6553 cat confdefs.h >>conftest.$ac_ext
6554 cat >>conftest.$ac_ext <<_ACEOF
6555 /* end confdefs.h.  */
6556 #include <math.h>
6557 int
6558 main ()
6559 {
6560 isnan(0.0);
6561   ;
6562   return 0;
6563 }
6564 _ACEOF
6565 rm -f conftest.$ac_objext
6566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6567   (eval $ac_compile) 2>conftest.er1
6568   ac_status=$?
6569   grep -v '^ *+' conftest.er1 >conftest.err
6570   rm -f conftest.er1
6571   cat conftest.err >&5
6572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6573   (exit $ac_status); } &&
6574          { ac_try='test -z "$ac_cxx_werror_flag"
6575                          || test ! -s conftest.err'
6576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6577   (eval $ac_try) 2>&5
6578   ac_status=$?
6579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6580   (exit $ac_status); }; } &&
6581          { ac_try='test -s conftest.$ac_objext'
6582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6583   (eval $ac_try) 2>&5
6584   ac_status=$?
6585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6586   (exit $ac_status); }; }; then
6587   :
6588 else
6589   echo "$as_me: failed program was:" >&5
6590 sed 's/^/| /' conftest.$ac_ext >&5
6591
6592 ac_c99_math=no
6593 fi
6594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6595   cat >conftest.$ac_ext <<_ACEOF
6596 /* confdefs.h.  */
6597 _ACEOF
6598 cat confdefs.h >>conftest.$ac_ext
6599 cat >>conftest.$ac_ext <<_ACEOF
6600 /* end confdefs.h.  */
6601 #include <math.h>
6602 int
6603 main ()
6604 {
6605 isnormal(0.0);
6606   ;
6607   return 0;
6608 }
6609 _ACEOF
6610 rm -f conftest.$ac_objext
6611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6612   (eval $ac_compile) 2>conftest.er1
6613   ac_status=$?
6614   grep -v '^ *+' conftest.er1 >conftest.err
6615   rm -f conftest.er1
6616   cat conftest.err >&5
6617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618   (exit $ac_status); } &&
6619          { ac_try='test -z "$ac_cxx_werror_flag"
6620                          || test ! -s conftest.err'
6621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6622   (eval $ac_try) 2>&5
6623   ac_status=$?
6624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625   (exit $ac_status); }; } &&
6626          { ac_try='test -s conftest.$ac_objext'
6627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6628   (eval $ac_try) 2>&5
6629   ac_status=$?
6630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631   (exit $ac_status); }; }; then
6632   :
6633 else
6634   echo "$as_me: failed program was:" >&5
6635 sed 's/^/| /' conftest.$ac_ext >&5
6636
6637 ac_c99_math=no
6638 fi
6639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6640   cat >conftest.$ac_ext <<_ACEOF
6641 /* confdefs.h.  */
6642 _ACEOF
6643 cat confdefs.h >>conftest.$ac_ext
6644 cat >>conftest.$ac_ext <<_ACEOF
6645 /* end confdefs.h.  */
6646 #include <math.h>
6647 int
6648 main ()
6649 {
6650 signbit(0.0);
6651   ;
6652   return 0;
6653 }
6654 _ACEOF
6655 rm -f conftest.$ac_objext
6656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6657   (eval $ac_compile) 2>conftest.er1
6658   ac_status=$?
6659   grep -v '^ *+' conftest.er1 >conftest.err
6660   rm -f conftest.er1
6661   cat conftest.err >&5
6662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6663   (exit $ac_status); } &&
6664          { ac_try='test -z "$ac_cxx_werror_flag"
6665                          || test ! -s conftest.err'
6666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6667   (eval $ac_try) 2>&5
6668   ac_status=$?
6669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6670   (exit $ac_status); }; } &&
6671          { ac_try='test -s conftest.$ac_objext'
6672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6673   (eval $ac_try) 2>&5
6674   ac_status=$?
6675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6676   (exit $ac_status); }; }; then
6677   :
6678 else
6679   echo "$as_me: failed program was:" >&5
6680 sed 's/^/| /' conftest.$ac_ext >&5
6681
6682 ac_c99_math=no
6683 fi
6684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6685   cat >conftest.$ac_ext <<_ACEOF
6686 /* confdefs.h.  */
6687 _ACEOF
6688 cat confdefs.h >>conftest.$ac_ext
6689 cat >>conftest.$ac_ext <<_ACEOF
6690 /* end confdefs.h.  */
6691 #include <math.h>
6692 int
6693 main ()
6694 {
6695 isgreater(0.0,0.0);
6696   ;
6697   return 0;
6698 }
6699 _ACEOF
6700 rm -f conftest.$ac_objext
6701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6702   (eval $ac_compile) 2>conftest.er1
6703   ac_status=$?
6704   grep -v '^ *+' conftest.er1 >conftest.err
6705   rm -f conftest.er1
6706   cat conftest.err >&5
6707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6708   (exit $ac_status); } &&
6709          { ac_try='test -z "$ac_cxx_werror_flag"
6710                          || test ! -s conftest.err'
6711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6712   (eval $ac_try) 2>&5
6713   ac_status=$?
6714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6715   (exit $ac_status); }; } &&
6716          { ac_try='test -s conftest.$ac_objext'
6717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6718   (eval $ac_try) 2>&5
6719   ac_status=$?
6720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6721   (exit $ac_status); }; }; then
6722   :
6723 else
6724   echo "$as_me: failed program was:" >&5
6725 sed 's/^/| /' conftest.$ac_ext >&5
6726
6727 ac_c99_math=no
6728 fi
6729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6730   cat >conftest.$ac_ext <<_ACEOF
6731 /* confdefs.h.  */
6732 _ACEOF
6733 cat confdefs.h >>conftest.$ac_ext
6734 cat >>conftest.$ac_ext <<_ACEOF
6735 /* end confdefs.h.  */
6736 #include <math.h>
6737 int
6738 main ()
6739 {
6740 isgreaterequal(0.0,0.0);
6741   ;
6742   return 0;
6743 }
6744 _ACEOF
6745 rm -f conftest.$ac_objext
6746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6747   (eval $ac_compile) 2>conftest.er1
6748   ac_status=$?
6749   grep -v '^ *+' conftest.er1 >conftest.err
6750   rm -f conftest.er1
6751   cat conftest.err >&5
6752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6753   (exit $ac_status); } &&
6754          { ac_try='test -z "$ac_cxx_werror_flag"
6755                          || test ! -s conftest.err'
6756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6757   (eval $ac_try) 2>&5
6758   ac_status=$?
6759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6760   (exit $ac_status); }; } &&
6761          { ac_try='test -s conftest.$ac_objext'
6762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6763   (eval $ac_try) 2>&5
6764   ac_status=$?
6765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6766   (exit $ac_status); }; }; then
6767   :
6768 else
6769   echo "$as_me: failed program was:" >&5
6770 sed 's/^/| /' conftest.$ac_ext >&5
6771
6772 ac_c99_math=no
6773 fi
6774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6775   cat >conftest.$ac_ext <<_ACEOF
6776 /* confdefs.h.  */
6777 _ACEOF
6778 cat confdefs.h >>conftest.$ac_ext
6779 cat >>conftest.$ac_ext <<_ACEOF
6780 /* end confdefs.h.  */
6781 #include <math.h>
6782 int
6783 main ()
6784 {
6785 isless(0.0,0.0);
6786   ;
6787   return 0;
6788 }
6789 _ACEOF
6790 rm -f conftest.$ac_objext
6791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6792   (eval $ac_compile) 2>conftest.er1
6793   ac_status=$?
6794   grep -v '^ *+' conftest.er1 >conftest.err
6795   rm -f conftest.er1
6796   cat conftest.err >&5
6797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6798   (exit $ac_status); } &&
6799          { ac_try='test -z "$ac_cxx_werror_flag"
6800                          || test ! -s conftest.err'
6801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6802   (eval $ac_try) 2>&5
6803   ac_status=$?
6804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6805   (exit $ac_status); }; } &&
6806          { ac_try='test -s conftest.$ac_objext'
6807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6808   (eval $ac_try) 2>&5
6809   ac_status=$?
6810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6811   (exit $ac_status); }; }; then
6812   :
6813 else
6814   echo "$as_me: failed program was:" >&5
6815 sed 's/^/| /' conftest.$ac_ext >&5
6816
6817 ac_c99_math=no
6818 fi
6819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6820   cat >conftest.$ac_ext <<_ACEOF
6821 /* confdefs.h.  */
6822 _ACEOF
6823 cat confdefs.h >>conftest.$ac_ext
6824 cat >>conftest.$ac_ext <<_ACEOF
6825 /* end confdefs.h.  */
6826 #include <math.h>
6827 int
6828 main ()
6829 {
6830 islessequal(0.0,0.0);
6831   ;
6832   return 0;
6833 }
6834 _ACEOF
6835 rm -f conftest.$ac_objext
6836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6837   (eval $ac_compile) 2>conftest.er1
6838   ac_status=$?
6839   grep -v '^ *+' conftest.er1 >conftest.err
6840   rm -f conftest.er1
6841   cat conftest.err >&5
6842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6843   (exit $ac_status); } &&
6844          { ac_try='test -z "$ac_cxx_werror_flag"
6845                          || test ! -s conftest.err'
6846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6847   (eval $ac_try) 2>&5
6848   ac_status=$?
6849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6850   (exit $ac_status); }; } &&
6851          { ac_try='test -s conftest.$ac_objext'
6852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6853   (eval $ac_try) 2>&5
6854   ac_status=$?
6855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6856   (exit $ac_status); }; }; then
6857   :
6858 else
6859   echo "$as_me: failed program was:" >&5
6860 sed 's/^/| /' conftest.$ac_ext >&5
6861
6862 ac_c99_math=no
6863 fi
6864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6865   cat >conftest.$ac_ext <<_ACEOF
6866 /* confdefs.h.  */
6867 _ACEOF
6868 cat confdefs.h >>conftest.$ac_ext
6869 cat >>conftest.$ac_ext <<_ACEOF
6870 /* end confdefs.h.  */
6871 #include <math.h>
6872 int
6873 main ()
6874 {
6875 islessgreater(0.0,0.0);
6876   ;
6877   return 0;
6878 }
6879 _ACEOF
6880 rm -f conftest.$ac_objext
6881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6882   (eval $ac_compile) 2>conftest.er1
6883   ac_status=$?
6884   grep -v '^ *+' conftest.er1 >conftest.err
6885   rm -f conftest.er1
6886   cat conftest.err >&5
6887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6888   (exit $ac_status); } &&
6889          { ac_try='test -z "$ac_cxx_werror_flag"
6890                          || test ! -s conftest.err'
6891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6892   (eval $ac_try) 2>&5
6893   ac_status=$?
6894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6895   (exit $ac_status); }; } &&
6896          { ac_try='test -s conftest.$ac_objext'
6897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6898   (eval $ac_try) 2>&5
6899   ac_status=$?
6900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6901   (exit $ac_status); }; }; then
6902   :
6903 else
6904   echo "$as_me: failed program was:" >&5
6905 sed 's/^/| /' conftest.$ac_ext >&5
6906
6907 ac_c99_math=no
6908 fi
6909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6910   cat >conftest.$ac_ext <<_ACEOF
6911 /* confdefs.h.  */
6912 _ACEOF
6913 cat confdefs.h >>conftest.$ac_ext
6914 cat >>conftest.$ac_ext <<_ACEOF
6915 /* end confdefs.h.  */
6916 #include <math.h>
6917 int
6918 main ()
6919 {
6920 isunordered(0.0,0.0);
6921   ;
6922   return 0;
6923 }
6924 _ACEOF
6925 rm -f conftest.$ac_objext
6926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6927   (eval $ac_compile) 2>conftest.er1
6928   ac_status=$?
6929   grep -v '^ *+' conftest.er1 >conftest.err
6930   rm -f conftest.er1
6931   cat conftest.err >&5
6932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6933   (exit $ac_status); } &&
6934          { ac_try='test -z "$ac_cxx_werror_flag"
6935                          || test ! -s conftest.err'
6936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6937   (eval $ac_try) 2>&5
6938   ac_status=$?
6939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6940   (exit $ac_status); }; } &&
6941          { ac_try='test -s conftest.$ac_objext'
6942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6943   (eval $ac_try) 2>&5
6944   ac_status=$?
6945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6946   (exit $ac_status); }; }; then
6947   :
6948 else
6949   echo "$as_me: failed program was:" >&5
6950 sed 's/^/| /' conftest.$ac_ext >&5
6951
6952 ac_c99_math=no
6953 fi
6954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6955   echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6956 echo "${ECHO_T}$ac_c99_math" >&6
6957
6958   if test x"$ac_c99_math" = x"yes"; then
6959     cat >>confdefs.h <<\_ACEOF
6960 #define _GLIBCXX_USE_C99_MATH 1
6961 _ACEOF
6962
6963   fi
6964
6965   # Check for the existence in <stdio.h> of vscanf, et. al.
6966   ac_c99_stdio=yes;
6967   echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6968 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6969   cat >conftest.$ac_ext <<_ACEOF
6970 /* confdefs.h.  */
6971 _ACEOF
6972 cat confdefs.h >>conftest.$ac_ext
6973 cat >>conftest.$ac_ext <<_ACEOF
6974 /* end confdefs.h.  */
6975 #include <stdio.h>
6976 int
6977 main ()
6978 {
6979 snprintf("12", 0, "%i");
6980   ;
6981   return 0;
6982 }
6983 _ACEOF
6984 rm -f conftest.$ac_objext
6985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6986   (eval $ac_compile) 2>conftest.er1
6987   ac_status=$?
6988   grep -v '^ *+' conftest.er1 >conftest.err
6989   rm -f conftest.er1
6990   cat conftest.err >&5
6991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6992   (exit $ac_status); } &&
6993          { ac_try='test -z "$ac_cxx_werror_flag"
6994                          || test ! -s conftest.err'
6995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6996   (eval $ac_try) 2>&5
6997   ac_status=$?
6998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6999   (exit $ac_status); }; } &&
7000          { ac_try='test -s conftest.$ac_objext'
7001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7002   (eval $ac_try) 2>&5
7003   ac_status=$?
7004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7005   (exit $ac_status); }; }; then
7006   :
7007 else
7008   echo "$as_me: failed program was:" >&5
7009 sed 's/^/| /' conftest.$ac_ext >&5
7010
7011 ac_c99_stdio=no
7012 fi
7013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7014   cat >conftest.$ac_ext <<_ACEOF
7015 /* confdefs.h.  */
7016 _ACEOF
7017 cat confdefs.h >>conftest.$ac_ext
7018 cat >>conftest.$ac_ext <<_ACEOF
7019 /* end confdefs.h.  */
7020 #include <stdio.h>
7021                   #include <stdarg.h>
7022                   void foo(char* fmt, ...)
7023                   {va_list args; va_start(args, fmt);
7024                   vfscanf(stderr, "%i", args);}
7025 int
7026 main ()
7027 {
7028
7029   ;
7030   return 0;
7031 }
7032 _ACEOF
7033 rm -f conftest.$ac_objext
7034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7035   (eval $ac_compile) 2>conftest.er1
7036   ac_status=$?
7037   grep -v '^ *+' conftest.er1 >conftest.err
7038   rm -f conftest.er1
7039   cat conftest.err >&5
7040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7041   (exit $ac_status); } &&
7042          { ac_try='test -z "$ac_cxx_werror_flag"
7043                          || test ! -s conftest.err'
7044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7045   (eval $ac_try) 2>&5
7046   ac_status=$?
7047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7048   (exit $ac_status); }; } &&
7049          { ac_try='test -s conftest.$ac_objext'
7050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7051   (eval $ac_try) 2>&5
7052   ac_status=$?
7053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7054   (exit $ac_status); }; }; then
7055   :
7056 else
7057   echo "$as_me: failed program was:" >&5
7058 sed 's/^/| /' conftest.$ac_ext >&5
7059
7060 ac_c99_stdio=no
7061 fi
7062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7063   cat >conftest.$ac_ext <<_ACEOF
7064 /* confdefs.h.  */
7065 _ACEOF
7066 cat confdefs.h >>conftest.$ac_ext
7067 cat >>conftest.$ac_ext <<_ACEOF
7068 /* end confdefs.h.  */
7069 #include <stdio.h>
7070                   #include <stdarg.h>
7071                   void foo(char* fmt, ...)
7072                   {va_list args; va_start(args, fmt);
7073                   vscanf("%i", args);}
7074 int
7075 main ()
7076 {
7077
7078   ;
7079   return 0;
7080 }
7081 _ACEOF
7082 rm -f conftest.$ac_objext
7083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7084   (eval $ac_compile) 2>conftest.er1
7085   ac_status=$?
7086   grep -v '^ *+' conftest.er1 >conftest.err
7087   rm -f conftest.er1
7088   cat conftest.err >&5
7089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7090   (exit $ac_status); } &&
7091          { ac_try='test -z "$ac_cxx_werror_flag"
7092                          || test ! -s conftest.err'
7093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7094   (eval $ac_try) 2>&5
7095   ac_status=$?
7096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7097   (exit $ac_status); }; } &&
7098          { ac_try='test -s conftest.$ac_objext'
7099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7100   (eval $ac_try) 2>&5
7101   ac_status=$?
7102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7103   (exit $ac_status); }; }; then
7104   :
7105 else
7106   echo "$as_me: failed program was:" >&5
7107 sed 's/^/| /' conftest.$ac_ext >&5
7108
7109 ac_c99_stdio=no
7110 fi
7111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7112   cat >conftest.$ac_ext <<_ACEOF
7113 /* confdefs.h.  */
7114 _ACEOF
7115 cat confdefs.h >>conftest.$ac_ext
7116 cat >>conftest.$ac_ext <<_ACEOF
7117 /* end confdefs.h.  */
7118 #include <stdio.h>
7119                   #include <stdarg.h>
7120                   void foo(char* fmt, ...)
7121                   {va_list args; va_start(args, fmt);
7122                   vsnprintf(fmt, 0, "%i", args);}
7123 int
7124 main ()
7125 {
7126
7127   ;
7128   return 0;
7129 }
7130 _ACEOF
7131 rm -f conftest.$ac_objext
7132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7133   (eval $ac_compile) 2>conftest.er1
7134   ac_status=$?
7135   grep -v '^ *+' conftest.er1 >conftest.err
7136   rm -f conftest.er1
7137   cat conftest.err >&5
7138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7139   (exit $ac_status); } &&
7140          { ac_try='test -z "$ac_cxx_werror_flag"
7141                          || test ! -s conftest.err'
7142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7143   (eval $ac_try) 2>&5
7144   ac_status=$?
7145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7146   (exit $ac_status); }; } &&
7147          { ac_try='test -s conftest.$ac_objext'
7148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7149   (eval $ac_try) 2>&5
7150   ac_status=$?
7151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7152   (exit $ac_status); }; }; then
7153   :
7154 else
7155   echo "$as_me: failed program was:" >&5
7156 sed 's/^/| /' conftest.$ac_ext >&5
7157
7158 ac_c99_stdio=no
7159 fi
7160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7161   cat >conftest.$ac_ext <<_ACEOF
7162 /* confdefs.h.  */
7163 _ACEOF
7164 cat confdefs.h >>conftest.$ac_ext
7165 cat >>conftest.$ac_ext <<_ACEOF
7166 /* end confdefs.h.  */
7167 #include <stdio.h>
7168                   #include <stdarg.h>
7169                   void foo(char* fmt, ...)
7170                   {va_list args; va_start(args, fmt);
7171                   vsscanf(fmt, "%i", args);}
7172 int
7173 main ()
7174 {
7175
7176   ;
7177   return 0;
7178 }
7179 _ACEOF
7180 rm -f conftest.$ac_objext
7181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7182   (eval $ac_compile) 2>conftest.er1
7183   ac_status=$?
7184   grep -v '^ *+' conftest.er1 >conftest.err
7185   rm -f conftest.er1
7186   cat conftest.err >&5
7187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7188   (exit $ac_status); } &&
7189          { ac_try='test -z "$ac_cxx_werror_flag"
7190                          || test ! -s conftest.err'
7191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7192   (eval $ac_try) 2>&5
7193   ac_status=$?
7194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7195   (exit $ac_status); }; } &&
7196          { ac_try='test -s conftest.$ac_objext'
7197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7198   (eval $ac_try) 2>&5
7199   ac_status=$?
7200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7201   (exit $ac_status); }; }; then
7202   :
7203 else
7204   echo "$as_me: failed program was:" >&5
7205 sed 's/^/| /' conftest.$ac_ext >&5
7206
7207 ac_c99_stdio=no
7208 fi
7209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7210   echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7211 echo "${ECHO_T}$ac_c99_stdio" >&6
7212
7213   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7214   ac_c99_stdlib=yes;
7215   echo "$as_me:$LINENO: checking for lldiv_t declaration" >&5
7216 echo $ECHO_N "checking for lldiv_t declaration... $ECHO_C" >&6
7217   if test "${ac_c99_lldiv_t+set}" = set; then
7218   echo $ECHO_N "(cached) $ECHO_C" >&6
7219 else
7220
7221   cat >conftest.$ac_ext <<_ACEOF
7222 /* confdefs.h.  */
7223 _ACEOF
7224 cat confdefs.h >>conftest.$ac_ext
7225 cat >>conftest.$ac_ext <<_ACEOF
7226 /* end confdefs.h.  */
7227 #include <stdlib.h>
7228 int
7229 main ()
7230 {
7231  lldiv_t mydivt;
7232   ;
7233   return 0;
7234 }
7235 _ACEOF
7236 rm -f conftest.$ac_objext
7237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7238   (eval $ac_compile) 2>conftest.er1
7239   ac_status=$?
7240   grep -v '^ *+' conftest.er1 >conftest.err
7241   rm -f conftest.er1
7242   cat conftest.err >&5
7243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7244   (exit $ac_status); } &&
7245          { ac_try='test -z "$ac_cxx_werror_flag"
7246                          || test ! -s conftest.err'
7247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7248   (eval $ac_try) 2>&5
7249   ac_status=$?
7250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7251   (exit $ac_status); }; } &&
7252          { ac_try='test -s conftest.$ac_objext'
7253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7254   (eval $ac_try) 2>&5
7255   ac_status=$?
7256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7257   (exit $ac_status); }; }; then
7258   ac_c99_lldiv_t=yes
7259 else
7260   echo "$as_me: failed program was:" >&5
7261 sed 's/^/| /' conftest.$ac_ext >&5
7262
7263 ac_c99_lldiv_t=no
7264 fi
7265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7266
7267 fi
7268
7269   echo "$as_me:$LINENO: result: $ac_c99_lldiv_t" >&5
7270 echo "${ECHO_T}$ac_c99_lldiv_t" >&6
7271
7272   echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7273 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7274   cat >conftest.$ac_ext <<_ACEOF
7275 /* confdefs.h.  */
7276 _ACEOF
7277 cat confdefs.h >>conftest.$ac_ext
7278 cat >>conftest.$ac_ext <<_ACEOF
7279 /* end confdefs.h.  */
7280 #include <stdlib.h>
7281 int
7282 main ()
7283 {
7284 char* tmp; strtof("gnu", &tmp);
7285   ;
7286   return 0;
7287 }
7288 _ACEOF
7289 rm -f conftest.$ac_objext
7290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7291   (eval $ac_compile) 2>conftest.er1
7292   ac_status=$?
7293   grep -v '^ *+' conftest.er1 >conftest.err
7294   rm -f conftest.er1
7295   cat conftest.err >&5
7296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7297   (exit $ac_status); } &&
7298          { ac_try='test -z "$ac_cxx_werror_flag"
7299                          || test ! -s conftest.err'
7300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7301   (eval $ac_try) 2>&5
7302   ac_status=$?
7303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7304   (exit $ac_status); }; } &&
7305          { ac_try='test -s conftest.$ac_objext'
7306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7307   (eval $ac_try) 2>&5
7308   ac_status=$?
7309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7310   (exit $ac_status); }; }; then
7311   :
7312 else
7313   echo "$as_me: failed program was:" >&5
7314 sed 's/^/| /' conftest.$ac_ext >&5
7315
7316 ac_c99_stdlib=no
7317 fi
7318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7319   cat >conftest.$ac_ext <<_ACEOF
7320 /* confdefs.h.  */
7321 _ACEOF
7322 cat confdefs.h >>conftest.$ac_ext
7323 cat >>conftest.$ac_ext <<_ACEOF
7324 /* end confdefs.h.  */
7325 #include <stdlib.h>
7326 int
7327 main ()
7328 {
7329 char* tmp; strtold("gnu", &tmp);
7330   ;
7331   return 0;
7332 }
7333 _ACEOF
7334 rm -f conftest.$ac_objext
7335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7336   (eval $ac_compile) 2>conftest.er1
7337   ac_status=$?
7338   grep -v '^ *+' conftest.er1 >conftest.err
7339   rm -f conftest.er1
7340   cat conftest.err >&5
7341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7342   (exit $ac_status); } &&
7343          { ac_try='test -z "$ac_cxx_werror_flag"
7344                          || test ! -s conftest.err'
7345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7346   (eval $ac_try) 2>&5
7347   ac_status=$?
7348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7349   (exit $ac_status); }; } &&
7350          { ac_try='test -s conftest.$ac_objext'
7351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7352   (eval $ac_try) 2>&5
7353   ac_status=$?
7354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7355   (exit $ac_status); }; }; then
7356   :
7357 else
7358   echo "$as_me: failed program was:" >&5
7359 sed 's/^/| /' conftest.$ac_ext >&5
7360
7361 ac_c99_stdlib=no
7362 fi
7363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7364   cat >conftest.$ac_ext <<_ACEOF
7365 /* confdefs.h.  */
7366 _ACEOF
7367 cat confdefs.h >>conftest.$ac_ext
7368 cat >>conftest.$ac_ext <<_ACEOF
7369 /* end confdefs.h.  */
7370 #include <stdlib.h>
7371 int
7372 main ()
7373 {
7374 llabs(10);
7375   ;
7376   return 0;
7377 }
7378 _ACEOF
7379 rm -f conftest.$ac_objext
7380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7381   (eval $ac_compile) 2>conftest.er1
7382   ac_status=$?
7383   grep -v '^ *+' conftest.er1 >conftest.err
7384   rm -f conftest.er1
7385   cat conftest.err >&5
7386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7387   (exit $ac_status); } &&
7388          { ac_try='test -z "$ac_cxx_werror_flag"
7389                          || test ! -s conftest.err'
7390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7391   (eval $ac_try) 2>&5
7392   ac_status=$?
7393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7394   (exit $ac_status); }; } &&
7395          { ac_try='test -s conftest.$ac_objext'
7396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7397   (eval $ac_try) 2>&5
7398   ac_status=$?
7399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7400   (exit $ac_status); }; }; then
7401   :
7402 else
7403   echo "$as_me: failed program was:" >&5
7404 sed 's/^/| /' conftest.$ac_ext >&5
7405
7406 ac_c99_stdlib=no
7407 fi
7408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7409   cat >conftest.$ac_ext <<_ACEOF
7410 /* confdefs.h.  */
7411 _ACEOF
7412 cat confdefs.h >>conftest.$ac_ext
7413 cat >>conftest.$ac_ext <<_ACEOF
7414 /* end confdefs.h.  */
7415 #include <stdlib.h>
7416 int
7417 main ()
7418 {
7419 lldiv(10,1);
7420   ;
7421   return 0;
7422 }
7423 _ACEOF
7424 rm -f conftest.$ac_objext
7425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7426   (eval $ac_compile) 2>conftest.er1
7427   ac_status=$?
7428   grep -v '^ *+' conftest.er1 >conftest.err
7429   rm -f conftest.er1
7430   cat conftest.err >&5
7431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7432   (exit $ac_status); } &&
7433          { ac_try='test -z "$ac_cxx_werror_flag"
7434                          || test ! -s conftest.err'
7435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7436   (eval $ac_try) 2>&5
7437   ac_status=$?
7438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7439   (exit $ac_status); }; } &&
7440          { ac_try='test -s conftest.$ac_objext'
7441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7442   (eval $ac_try) 2>&5
7443   ac_status=$?
7444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7445   (exit $ac_status); }; }; then
7446   :
7447 else
7448   echo "$as_me: failed program was:" >&5
7449 sed 's/^/| /' conftest.$ac_ext >&5
7450
7451 ac_c99_stdlib=no
7452 fi
7453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7454   cat >conftest.$ac_ext <<_ACEOF
7455 /* confdefs.h.  */
7456 _ACEOF
7457 cat confdefs.h >>conftest.$ac_ext
7458 cat >>conftest.$ac_ext <<_ACEOF
7459 /* end confdefs.h.  */
7460 #include <stdlib.h>
7461 int
7462 main ()
7463 {
7464 atoll("10");
7465   ;
7466   return 0;
7467 }
7468 _ACEOF
7469 rm -f conftest.$ac_objext
7470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7471   (eval $ac_compile) 2>conftest.er1
7472   ac_status=$?
7473   grep -v '^ *+' conftest.er1 >conftest.err
7474   rm -f conftest.er1
7475   cat conftest.err >&5
7476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7477   (exit $ac_status); } &&
7478          { ac_try='test -z "$ac_cxx_werror_flag"
7479                          || test ! -s conftest.err'
7480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7481   (eval $ac_try) 2>&5
7482   ac_status=$?
7483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7484   (exit $ac_status); }; } &&
7485          { ac_try='test -s conftest.$ac_objext'
7486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7487   (eval $ac_try) 2>&5
7488   ac_status=$?
7489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7490   (exit $ac_status); }; }; then
7491   :
7492 else
7493   echo "$as_me: failed program was:" >&5
7494 sed 's/^/| /' conftest.$ac_ext >&5
7495
7496 ac_c99_stdlib=no
7497 fi
7498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7499   cat >conftest.$ac_ext <<_ACEOF
7500 /* confdefs.h.  */
7501 _ACEOF
7502 cat confdefs.h >>conftest.$ac_ext
7503 cat >>conftest.$ac_ext <<_ACEOF
7504 /* end confdefs.h.  */
7505 #include <stdlib.h>
7506 int
7507 main ()
7508 {
7509 _Exit(0);
7510   ;
7511   return 0;
7512 }
7513 _ACEOF
7514 rm -f conftest.$ac_objext
7515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7516   (eval $ac_compile) 2>conftest.er1
7517   ac_status=$?
7518   grep -v '^ *+' conftest.er1 >conftest.err
7519   rm -f conftest.er1
7520   cat conftest.err >&5
7521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7522   (exit $ac_status); } &&
7523          { ac_try='test -z "$ac_cxx_werror_flag"
7524                          || test ! -s conftest.err'
7525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7526   (eval $ac_try) 2>&5
7527   ac_status=$?
7528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7529   (exit $ac_status); }; } &&
7530          { ac_try='test -s conftest.$ac_objext'
7531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7532   (eval $ac_try) 2>&5
7533   ac_status=$?
7534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7535   (exit $ac_status); }; }; then
7536   :
7537 else
7538   echo "$as_me: failed program was:" >&5
7539 sed 's/^/| /' conftest.$ac_ext >&5
7540
7541 ac_c99_stdlib=no
7542 fi
7543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7544   if test x"$ac_c99_lldiv_t" = x"no"; then
7545     ac_c99_stdlib=no;
7546   fi;
7547   echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7548 echo "${ECHO_T}$ac_c99_stdlib" >&6
7549
7550   # Check for the existence of <wchar.h> functions used if C99 is enabled.
7551   # XXX the wchar.h checks should be rolled into the general C99 bits.
7552   ac_c99_wchar=yes;
7553   echo "$as_me:$LINENO: checking for additional ISO C99 support in <wchar.h>" >&5
7554 echo $ECHO_N "checking for additional ISO C99 support in <wchar.h>... $ECHO_C" >&6
7555   cat >conftest.$ac_ext <<_ACEOF
7556 /* confdefs.h.  */
7557 _ACEOF
7558 cat confdefs.h >>conftest.$ac_ext
7559 cat >>conftest.$ac_ext <<_ACEOF
7560 /* end confdefs.h.  */
7561 #include <wchar.h>
7562 int
7563 main ()
7564 {
7565 wcstold(L"10.0", NULL);
7566   ;
7567   return 0;
7568 }
7569 _ACEOF
7570 rm -f conftest.$ac_objext
7571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7572   (eval $ac_compile) 2>conftest.er1
7573   ac_status=$?
7574   grep -v '^ *+' conftest.er1 >conftest.err
7575   rm -f conftest.er1
7576   cat conftest.err >&5
7577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7578   (exit $ac_status); } &&
7579          { ac_try='test -z "$ac_cxx_werror_flag"
7580                          || test ! -s conftest.err'
7581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7582   (eval $ac_try) 2>&5
7583   ac_status=$?
7584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7585   (exit $ac_status); }; } &&
7586          { ac_try='test -s conftest.$ac_objext'
7587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7588   (eval $ac_try) 2>&5
7589   ac_status=$?
7590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7591   (exit $ac_status); }; }; then
7592   :
7593 else
7594   echo "$as_me: failed program was:" >&5
7595 sed 's/^/| /' conftest.$ac_ext >&5
7596
7597 ac_c99_wchar=no
7598 fi
7599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7600   cat >conftest.$ac_ext <<_ACEOF
7601 /* confdefs.h.  */
7602 _ACEOF
7603 cat confdefs.h >>conftest.$ac_ext
7604 cat >>conftest.$ac_ext <<_ACEOF
7605 /* end confdefs.h.  */
7606 #include <wchar.h>
7607 int
7608 main ()
7609 {
7610 wcstoll(L"10", NULL, 10);
7611   ;
7612   return 0;
7613 }
7614 _ACEOF
7615 rm -f conftest.$ac_objext
7616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7617   (eval $ac_compile) 2>conftest.er1
7618   ac_status=$?
7619   grep -v '^ *+' conftest.er1 >conftest.err
7620   rm -f conftest.er1
7621   cat conftest.err >&5
7622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7623   (exit $ac_status); } &&
7624          { ac_try='test -z "$ac_cxx_werror_flag"
7625                          || test ! -s conftest.err'
7626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7627   (eval $ac_try) 2>&5
7628   ac_status=$?
7629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7630   (exit $ac_status); }; } &&
7631          { ac_try='test -s conftest.$ac_objext'
7632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7633   (eval $ac_try) 2>&5
7634   ac_status=$?
7635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7636   (exit $ac_status); }; }; then
7637   :
7638 else
7639   echo "$as_me: failed program was:" >&5
7640 sed 's/^/| /' conftest.$ac_ext >&5
7641
7642 ac_c99_wchar=no
7643 fi
7644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7645   cat >conftest.$ac_ext <<_ACEOF
7646 /* confdefs.h.  */
7647 _ACEOF
7648 cat confdefs.h >>conftest.$ac_ext
7649 cat >>conftest.$ac_ext <<_ACEOF
7650 /* end confdefs.h.  */
7651 #include <wchar.h>
7652 int
7653 main ()
7654 {
7655 wcstoull(L"10", NULL, 10);
7656   ;
7657   return 0;
7658 }
7659 _ACEOF
7660 rm -f conftest.$ac_objext
7661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7662   (eval $ac_compile) 2>conftest.er1
7663   ac_status=$?
7664   grep -v '^ *+' conftest.er1 >conftest.err
7665   rm -f conftest.er1
7666   cat conftest.err >&5
7667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7668   (exit $ac_status); } &&
7669          { ac_try='test -z "$ac_cxx_werror_flag"
7670                          || test ! -s conftest.err'
7671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7672   (eval $ac_try) 2>&5
7673   ac_status=$?
7674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7675   (exit $ac_status); }; } &&
7676          { ac_try='test -s conftest.$ac_objext'
7677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7678   (eval $ac_try) 2>&5
7679   ac_status=$?
7680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7681   (exit $ac_status); }; }; then
7682   :
7683 else
7684   echo "$as_me: failed program was:" >&5
7685 sed 's/^/| /' conftest.$ac_ext >&5
7686
7687 ac_c99_wchar=no
7688 fi
7689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7690   echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7691 echo "${ECHO_T}$ac_c99_wchar" >&6
7692
7693   echo "$as_me:$LINENO: checking for enabled ISO C99 support" >&5
7694 echo $ECHO_N "checking for enabled ISO C99 support... $ECHO_C" >&6
7695   if test x"$ac_c99_math" = x"no" ||
7696      test x"$ac_c99_stdio" = x"no" ||
7697      test x"$ac_c99_stdlib" = x"no" ||
7698      test x"$ac_c99_wchar" = x"no"; then
7699     enable_c99=no;
7700   fi;
7701   echo "$as_me:$LINENO: result: $enable_c99" >&5
7702 echo "${ECHO_T}$enable_c99" >&6
7703
7704   if test x"$ac_99_math" = x"yes"; then
7705     cat >>confdefs.h <<\_ACEOF
7706 #define _GLIBCXX_USE_C99_MATH 1
7707 _ACEOF
7708
7709   fi
7710
7711   # Option parsed, now set things appropriately
7712   if test x"$enable_c99" = x"yes"; then
7713     cat >>confdefs.h <<\_ACEOF
7714 #define _GLIBCXX_USE_C99 1
7715 _ACEOF
7716
7717   fi
7718
7719   ac_ext=c
7720 ac_cpp='$CPP $CPPFLAGS'
7721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7724
7725
7726
7727    # Check whether --enable-long-long or --disable-long-long was given.
7728 if test "${enable_long_long+set}" = set; then
7729   enableval="$enable_long_long"
7730
7731       case "$enableval" in
7732        yes|no) ;;
7733        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7734 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7735    { (exit 1); exit 1; }; } ;;
7736       esac
7737
7738 else
7739   enable_long_long=yes
7740 fi;
7741
7742   if test $enable_long_long = yes; then
7743     cat >>confdefs.h <<\_ACEOF
7744 #define _GLIBCXX_USE_LONG_LONG 1
7745 _ACEOF
7746
7747   fi
7748
7749
7750   echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7751 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7752   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7753   echo "$as_me:$LINENO: result: $target_thread_file" >&5
7754 echo "${ECHO_T}$target_thread_file" >&6
7755
7756   enable_thread=no
7757   if test $target_thread_file != single; then
7758     cat >>confdefs.h <<\_ACEOF
7759 #define HAVE_GTHR_DEFAULT 1
7760 _ACEOF
7761
7762     enable_thread=yes
7763   fi
7764
7765   glibcxx_thread_h=gthr-$target_thread_file.h
7766
7767
7768
7769    # Check whether --enable-concept-checks or --disable-concept-checks was given.
7770 if test "${enable_concept_checks+set}" = set; then
7771   enableval="$enable_concept_checks"
7772
7773       case "$enableval" in
7774        yes|no) ;;
7775        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7776 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7777    { (exit 1); exit 1; }; } ;;
7778       esac
7779
7780 else
7781   enable_concept_checks=no
7782 fi;
7783
7784   if test $enable_concept_checks = yes; then
7785     cat >>confdefs.h <<\_ACEOF
7786 #define _GLIBCXX_CONCEPT_CHECKS 1
7787 _ACEOF
7788
7789   fi
7790
7791
7792    # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7793 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7794   enableval="$enable_libstdcxx_debug_flags"
7795   case "x$enable_libstdcxx_debug_flags" in
7796       xno | x)    enable_libstdcxx_debug_flags= ;;
7797       x-*)        ;;
7798       *)          { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7799 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7800    { (exit 1); exit 1; }; } ;;
7801      esac
7802 else
7803   enable_libstdcxx_debug_flags="-g3 -O0"
7804 fi;
7805
7806
7807   # Option parsed, now set things appropriately
7808   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7809
7810
7811   { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7812 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7813
7814
7815   echo "$as_me:$LINENO: checking for additional debug build" >&5
7816 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7817    # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7818 if test "${enable_libstdcxx_debug+set}" = set; then
7819   enableval="$enable_libstdcxx_debug"
7820
7821       case "$enableval" in
7822        yes|no) ;;
7823        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7824 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7825    { (exit 1); exit 1; }; } ;;
7826       esac
7827
7828 else
7829   enable_libstdcxx_debug=no
7830 fi;
7831
7832   echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7833 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7834
7835
7836   echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7837 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7838    # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7839 if test "${enable_cxx_flags+set}" = set; then
7840   enableval="$enable_cxx_flags"
7841   case "x$enable_cxx_flags" in
7842       xno | x)   enable_cxx_flags= ;;
7843       x-*)       ;;
7844       *)         { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7845 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7846    { (exit 1); exit 1; }; } ;;
7847      esac
7848 else
7849   enable_cxx_flags=
7850 fi;
7851
7852
7853   # Run through flags (either default or command-line) and set anything
7854   # extra (e.g., #defines) that must accompany particular g++ options.
7855   if test -n "$enable_cxx_flags"; then
7856     for f in $enable_cxx_flags; do
7857       case "$f" in
7858         -fhonor-std)  ;;
7859         -*)  ;;
7860         *)   # and we're trying to pass /what/ exactly?
7861              { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7862 echo "$as_me: error: compiler flags start with a -" >&2;}
7863    { (exit 1); exit 1; }; } ;;
7864       esac
7865     done
7866   fi
7867
7868   EXTRA_CXX_FLAGS="$enable_cxx_flags"
7869   echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7870 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7871
7872
7873
7874    # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7875 if test "${enable_fully_dynamic_string+set}" = set; then
7876   enableval="$enable_fully_dynamic_string"
7877
7878       case "$enableval" in
7879        yes|no) ;;
7880        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7881 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7882    { (exit 1); exit 1; }; } ;;
7883       esac
7884
7885 else
7886   enable_fully_dynamic_string=no
7887 fi;
7888
7889   if test $enable_fully_dynamic_string = yes; then
7890     cat >>confdefs.h <<\_ACEOF
7891 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7892 _ACEOF
7893
7894   fi
7895
7896
7897 # No surprises, no surprises...
7898 if test $atomicity_dir = cpu/generic ; then
7899   { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7900 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7901   if test $target_thread_file = single; then
7902     { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7903 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7904     { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7905 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7906   else
7907     { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7908 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7909     { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7910 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7911   fi
7912 fi
7913
7914
7915 if $GLIBCXX_IS_NATIVE; then
7916
7917   # We can do more elaborate tests that assume a working linker.
7918   CANADIAN=no
7919
7920   # Check for available headers.
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7935   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7936   sys/types.h
7937 do
7938 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7940   echo "$as_me:$LINENO: checking for $ac_header" >&5
7941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7943   echo $ECHO_N "(cached) $ECHO_C" >&6
7944 fi
7945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7946 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7947 else
7948   # Is the header compilable?
7949 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7950 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7951 cat >conftest.$ac_ext <<_ACEOF
7952 /* confdefs.h.  */
7953 _ACEOF
7954 cat confdefs.h >>conftest.$ac_ext
7955 cat >>conftest.$ac_ext <<_ACEOF
7956 /* end confdefs.h.  */
7957 $ac_includes_default
7958 #include <$ac_header>
7959 _ACEOF
7960 rm -f conftest.$ac_objext
7961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7962   (eval $ac_compile) 2>conftest.er1
7963   ac_status=$?
7964   grep -v '^ *+' conftest.er1 >conftest.err
7965   rm -f conftest.er1
7966   cat conftest.err >&5
7967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7968   (exit $ac_status); } &&
7969          { ac_try='test -z "$ac_c_werror_flag"
7970                          || test ! -s conftest.err'
7971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7972   (eval $ac_try) 2>&5
7973   ac_status=$?
7974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7975   (exit $ac_status); }; } &&
7976          { ac_try='test -s conftest.$ac_objext'
7977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7978   (eval $ac_try) 2>&5
7979   ac_status=$?
7980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7981   (exit $ac_status); }; }; then
7982   ac_header_compiler=yes
7983 else
7984   echo "$as_me: failed program was:" >&5
7985 sed 's/^/| /' conftest.$ac_ext >&5
7986
7987 ac_header_compiler=no
7988 fi
7989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7990 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7991 echo "${ECHO_T}$ac_header_compiler" >&6
7992
7993 # Is the header present?
7994 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7995 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7996 cat >conftest.$ac_ext <<_ACEOF
7997 /* confdefs.h.  */
7998 _ACEOF
7999 cat confdefs.h >>conftest.$ac_ext
8000 cat >>conftest.$ac_ext <<_ACEOF
8001 /* end confdefs.h.  */
8002 #include <$ac_header>
8003 _ACEOF
8004 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8005   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8006   ac_status=$?
8007   grep -v '^ *+' conftest.er1 >conftest.err
8008   rm -f conftest.er1
8009   cat conftest.err >&5
8010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8011   (exit $ac_status); } >/dev/null; then
8012   if test -s conftest.err; then
8013     ac_cpp_err=$ac_c_preproc_warn_flag
8014     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8015   else
8016     ac_cpp_err=
8017   fi
8018 else
8019   ac_cpp_err=yes
8020 fi
8021 if test -z "$ac_cpp_err"; then
8022   ac_header_preproc=yes
8023 else
8024   echo "$as_me: failed program was:" >&5
8025 sed 's/^/| /' conftest.$ac_ext >&5
8026
8027   ac_header_preproc=no
8028 fi
8029 rm -f conftest.err conftest.$ac_ext
8030 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8031 echo "${ECHO_T}$ac_header_preproc" >&6
8032
8033 # So?  What about this header?
8034 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8035   yes:no: )
8036     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8037 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8038     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8039 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8040     ac_header_preproc=yes
8041     ;;
8042   no:yes:* )
8043     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8044 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8045     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8046 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8047     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8048 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8049     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8050 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8051     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8052 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8053     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8054 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8055     (
8056       cat <<\_ASBOX
8057 ## ----------------------------------------- ##
8058 ## Report this to the package-unused lists.  ##
8059 ## ----------------------------------------- ##
8060 _ASBOX
8061     ) |
8062       sed "s/^/$as_me: WARNING:     /" >&2
8063     ;;
8064 esac
8065 echo "$as_me:$LINENO: checking for $ac_header" >&5
8066 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8067 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8068   echo $ECHO_N "(cached) $ECHO_C" >&6
8069 else
8070   eval "$as_ac_Header=\$ac_header_preproc"
8071 fi
8072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8073 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8074
8075 fi
8076 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8077   cat >>confdefs.h <<_ACEOF
8078 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8079 _ACEOF
8080
8081 fi
8082
8083 done
8084
8085
8086
8087   # All these tests are for C++; save the language and the compiler flags.
8088   # The CXXFLAGS thing is suspicious, but based on similar bits previously
8089   # found in GLIBCXX_CONFIGURE.
8090
8091
8092   ac_ext=cc
8093 ac_cpp='$CXXCPP $CPPFLAGS'
8094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8097
8098   ac_test_CXXFLAGS="${CXXFLAGS+set}"
8099   ac_save_CXXFLAGS="$CXXFLAGS"
8100
8101   # Check for maintainer-mode bits.
8102   if test x"$USE_MAINTAINER_MODE" = xno; then
8103     WERROR=''
8104   else
8105     WERROR='-Werror'
8106   fi
8107
8108   # Check for -ffunction-sections -fdata-sections
8109   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8110 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8111   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8112   cat >conftest.$ac_ext <<_ACEOF
8113 /* confdefs.h.  */
8114 _ACEOF
8115 cat confdefs.h >>conftest.$ac_ext
8116 cat >>conftest.$ac_ext <<_ACEOF
8117 /* end confdefs.h.  */
8118
8119 int
8120 main ()
8121 {
8122 int foo;
8123   ;
8124   return 0;
8125 }
8126 _ACEOF
8127 rm -f conftest.$ac_objext
8128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8129   (eval $ac_compile) 2>conftest.er1
8130   ac_status=$?
8131   grep -v '^ *+' conftest.er1 >conftest.err
8132   rm -f conftest.er1
8133   cat conftest.err >&5
8134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8135   (exit $ac_status); } &&
8136          { ac_try='test -z "$ac_cxx_werror_flag"
8137                          || test ! -s conftest.err'
8138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8139   (eval $ac_try) 2>&5
8140   ac_status=$?
8141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8142   (exit $ac_status); }; } &&
8143          { ac_try='test -s conftest.$ac_objext'
8144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8145   (eval $ac_try) 2>&5
8146   ac_status=$?
8147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8148   (exit $ac_status); }; }; then
8149   ac_fdsections=yes
8150 else
8151   echo "$as_me: failed program was:" >&5
8152 sed 's/^/| /' conftest.$ac_ext >&5
8153
8154 ac_fdsections=no
8155 fi
8156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8157   if test "$ac_test_CXXFLAGS" = set; then
8158     CXXFLAGS="$ac_save_CXXFLAGS"
8159   else
8160     # this is the suspicious part
8161     CXXFLAGS=''
8162   fi
8163   if test x"$ac_fdsections" = x"yes"; then
8164     SECTION_FLAGS='-ffunction-sections -fdata-sections'
8165   fi
8166   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8167 echo "${ECHO_T}$ac_fdsections" >&6
8168
8169   ac_ext=c
8170 ac_cpp='$CPP $CPPFLAGS'
8171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8174
8175
8176
8177
8178
8179   # If we're not using GNU ld, then there's no point in even trying these
8180   # tests.  Check for that first.  We should have already tested for gld
8181   # by now (in libtool), but require it now just to be safe...
8182   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8183   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8184
8185
8186
8187   # The name set by libtool depends on the version of libtool.  Shame on us
8188   # for depending on an impl detail, but c'est la vie.  Older versions used
8189   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8190   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8191   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
8192   # set (hence we're using an older libtool), then set it.
8193   if test x${with_gnu_ld+set} != xset; then
8194     if test x${ac_cv_prog_gnu_ld+set} != xset; then
8195       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
8196       with_gnu_ld=no
8197     else
8198       with_gnu_ld=$ac_cv_prog_gnu_ld
8199     fi
8200   fi
8201
8202   # Start by getting the version number.  I think the libtool test already
8203   # does some of this, but throws away the result.
8204
8205   ldver=`$LD --version 2>/dev/null | head -1 | \
8206          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8207
8208   glibcxx_gnu_ld_version=`echo $ldver | \
8209          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8210
8211   # Set --gc-sections.
8212   if test "$with_gnu_ld" = "notbroken"; then
8213     # GNU ld it is!  Joy and bunny rabbits!
8214
8215     # All these tests are for C++; save the language and the compiler flags.
8216     # Need to do this so that g++ won't try to link in libstdc++
8217     ac_test_CFLAGS="${CFLAGS+set}"
8218     ac_save_CFLAGS="$CFLAGS"
8219     CFLAGS='-x c++  -Wl,--gc-sections'
8220
8221     # Check for -Wl,--gc-sections
8222     # XXX This test is broken at the moment, as symbols required for linking
8223     # are now in libsupc++ (not built yet).  In addition, this test has
8224     # cored on solaris in the past.  In addition, --gc-sections doesn't
8225     # really work at the moment (keeps on discarding used sections, first
8226     # .eh_frame and now some of the glibc sections for iconv).
8227     # Bzzzzt.  Thanks for playing, maybe next time.
8228     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8229 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8230     if test "$cross_compiling" = yes; then
8231   ac_sectionLDflags=yes
8232 else
8233   cat >conftest.$ac_ext <<_ACEOF
8234 /* confdefs.h.  */
8235 _ACEOF
8236 cat confdefs.h >>conftest.$ac_ext
8237 cat >>conftest.$ac_ext <<_ACEOF
8238 /* end confdefs.h.  */
8239
8240      int main(void)
8241      {
8242        try { throw 1; }
8243        catch (...) { };
8244        return 0;
8245      }
8246
8247 _ACEOF
8248 rm -f conftest$ac_exeext
8249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8250   (eval $ac_link) 2>&5
8251   ac_status=$?
8252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8253   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8255   (eval $ac_try) 2>&5
8256   ac_status=$?
8257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8258   (exit $ac_status); }; }; then
8259   ac_sectionLDflags=yes
8260 else
8261   echo "$as_me: program exited with status $ac_status" >&5
8262 echo "$as_me: failed program was:" >&5
8263 sed 's/^/| /' conftest.$ac_ext >&5
8264
8265 ( exit $ac_status )
8266 ac_sectionLDflags=no
8267 fi
8268 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8269 fi
8270     if test "$ac_test_CFLAGS" = set; then
8271       CFLAGS="$ac_save_CFLAGS"
8272     else
8273       # this is the suspicious part
8274       CFLAGS=''
8275     fi
8276     if test "$ac_sectionLDflags" = "yes"; then
8277       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8278     fi
8279     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
8280 echo "${ECHO_T}$ac_sectionLDflags" >&6
8281   fi
8282
8283   # Set linker optimization flags.
8284   if test x"$with_gnu_ld" = x"yes"; then
8285     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8286   fi
8287
8288
8289
8290
8291
8292   ac_test_CXXFLAGS="${CXXFLAGS+set}"
8293   ac_save_CXXFLAGS="$CXXFLAGS"
8294   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8295
8296     echo "$as_me:$LINENO: checking for sin in -lm" >&5
8297 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8298 if test "${ac_cv_lib_m_sin+set}" = set; then
8299   echo $ECHO_N "(cached) $ECHO_C" >&6
8300 else
8301   ac_check_lib_save_LIBS=$LIBS
8302 LIBS="-lm  $LIBS"
8303 if test x$gcc_no_link = xyes; then
8304   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8306    { (exit 1); exit 1; }; }
8307 fi
8308 cat >conftest.$ac_ext <<_ACEOF
8309 /* confdefs.h.  */
8310 _ACEOF
8311 cat confdefs.h >>conftest.$ac_ext
8312 cat >>conftest.$ac_ext <<_ACEOF
8313 /* end confdefs.h.  */
8314
8315 /* Override any gcc2 internal prototype to avoid an error.  */
8316 #ifdef __cplusplus
8317 extern "C"
8318 #endif
8319 /* We use char because int might match the return type of a gcc2
8320    builtin and then its argument prototype would still apply.  */
8321 char sin ();
8322 int
8323 main ()
8324 {
8325 sin ();
8326   ;
8327   return 0;
8328 }
8329 _ACEOF
8330 rm -f conftest.$ac_objext conftest$ac_exeext
8331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8332   (eval $ac_link) 2>conftest.er1
8333   ac_status=$?
8334   grep -v '^ *+' conftest.er1 >conftest.err
8335   rm -f conftest.er1
8336   cat conftest.err >&5
8337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8338   (exit $ac_status); } &&
8339          { ac_try='test -z "$ac_c_werror_flag"
8340                          || test ! -s conftest.err'
8341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8342   (eval $ac_try) 2>&5
8343   ac_status=$?
8344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8345   (exit $ac_status); }; } &&
8346          { ac_try='test -s conftest$ac_exeext'
8347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8348   (eval $ac_try) 2>&5
8349   ac_status=$?
8350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8351   (exit $ac_status); }; }; then
8352   ac_cv_lib_m_sin=yes
8353 else
8354   echo "$as_me: failed program was:" >&5
8355 sed 's/^/| /' conftest.$ac_ext >&5
8356
8357 ac_cv_lib_m_sin=no
8358 fi
8359 rm -f conftest.err conftest.$ac_objext \
8360       conftest$ac_exeext conftest.$ac_ext
8361 LIBS=$ac_check_lib_save_LIBS
8362 fi
8363 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8364 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8365 if test $ac_cv_lib_m_sin = yes; then
8366   libm="-lm"
8367 fi
8368
8369   ac_save_LIBS="$LIBS"
8370   LIBS="$LIBS $libm"
8371
8372
8373
8374   echo "$as_me:$LINENO: checking for isinf declaration" >&5
8375 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8376   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8377     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8378   echo $ECHO_N "(cached) $ECHO_C" >&6
8379 else
8380
8381
8382
8383       ac_ext=cc
8384 ac_cpp='$CXXCPP $CPPFLAGS'
8385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8388
8389       cat >conftest.$ac_ext <<_ACEOF
8390 /* confdefs.h.  */
8391 _ACEOF
8392 cat confdefs.h >>conftest.$ac_ext
8393 cat >>conftest.$ac_ext <<_ACEOF
8394 /* end confdefs.h.  */
8395 #include <math.h>
8396                       #ifdef HAVE_IEEEFP_H
8397                       #include <ieeefp.h>
8398                       #endif
8399
8400 int
8401 main ()
8402 {
8403  isinf(0);
8404   ;
8405   return 0;
8406 }
8407 _ACEOF
8408 rm -f conftest.$ac_objext
8409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8410   (eval $ac_compile) 2>conftest.er1
8411   ac_status=$?
8412   grep -v '^ *+' conftest.er1 >conftest.err
8413   rm -f conftest.er1
8414   cat conftest.err >&5
8415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8416   (exit $ac_status); } &&
8417          { ac_try='test -z "$ac_cxx_werror_flag"
8418                          || test ! -s conftest.err'
8419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8420   (eval $ac_try) 2>&5
8421   ac_status=$?
8422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8423   (exit $ac_status); }; } &&
8424          { ac_try='test -s conftest.$ac_objext'
8425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8426   (eval $ac_try) 2>&5
8427   ac_status=$?
8428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429   (exit $ac_status); }; }; then
8430   glibcxx_cv_func_isinf_use=yes
8431 else
8432   echo "$as_me: failed program was:" >&5
8433 sed 's/^/| /' conftest.$ac_ext >&5
8434
8435 glibcxx_cv_func_isinf_use=no
8436 fi
8437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8438       ac_ext=c
8439 ac_cpp='$CPP $CPPFLAGS'
8440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8443
8444
8445 fi
8446
8447   fi
8448   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8449 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8450
8451   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8452
8453 for ac_func in isinf
8454 do
8455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8456 echo "$as_me:$LINENO: checking for $ac_func" >&5
8457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8458 if eval "test \"\${$as_ac_var+set}\" = set"; then
8459   echo $ECHO_N "(cached) $ECHO_C" >&6
8460 else
8461   if test x$gcc_no_link = xyes; then
8462   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8464    { (exit 1); exit 1; }; }
8465 fi
8466 cat >conftest.$ac_ext <<_ACEOF
8467 /* confdefs.h.  */
8468 _ACEOF
8469 cat confdefs.h >>conftest.$ac_ext
8470 cat >>conftest.$ac_ext <<_ACEOF
8471 /* end confdefs.h.  */
8472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8473    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8474 #define $ac_func innocuous_$ac_func
8475
8476 /* System header to define __stub macros and hopefully few prototypes,
8477     which can conflict with char $ac_func (); below.
8478     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8479     <limits.h> exists even on freestanding compilers.  */
8480
8481 #ifdef __STDC__
8482 # include <limits.h>
8483 #else
8484 # include <assert.h>
8485 #endif
8486
8487 #undef $ac_func
8488
8489 /* Override any gcc2 internal prototype to avoid an error.  */
8490 #ifdef __cplusplus
8491 extern "C"
8492 {
8493 #endif
8494 /* We use char because int might match the return type of a gcc2
8495    builtin and then its argument prototype would still apply.  */
8496 char $ac_func ();
8497 /* The GNU C library defines this for functions which it implements
8498     to always fail with ENOSYS.  Some functions are actually named
8499     something starting with __ and the normal name is an alias.  */
8500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8501 choke me
8502 #else
8503 char (*f) () = $ac_func;
8504 #endif
8505 #ifdef __cplusplus
8506 }
8507 #endif
8508
8509 int
8510 main ()
8511 {
8512 return f != $ac_func;
8513   ;
8514   return 0;
8515 }
8516 _ACEOF
8517 rm -f conftest.$ac_objext conftest$ac_exeext
8518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8519   (eval $ac_link) 2>conftest.er1
8520   ac_status=$?
8521   grep -v '^ *+' conftest.er1 >conftest.err
8522   rm -f conftest.er1
8523   cat conftest.err >&5
8524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8525   (exit $ac_status); } &&
8526          { ac_try='test -z "$ac_c_werror_flag"
8527                          || test ! -s conftest.err'
8528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8529   (eval $ac_try) 2>&5
8530   ac_status=$?
8531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8532   (exit $ac_status); }; } &&
8533          { ac_try='test -s conftest$ac_exeext'
8534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8535   (eval $ac_try) 2>&5
8536   ac_status=$?
8537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8538   (exit $ac_status); }; }; then
8539   eval "$as_ac_var=yes"
8540 else
8541   echo "$as_me: failed program was:" >&5
8542 sed 's/^/| /' conftest.$ac_ext >&5
8543
8544 eval "$as_ac_var=no"
8545 fi
8546 rm -f conftest.err conftest.$ac_objext \
8547       conftest$ac_exeext conftest.$ac_ext
8548 fi
8549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8550 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8551 if test `eval echo '${'$as_ac_var'}'` = yes; then
8552   cat >>confdefs.h <<_ACEOF
8553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8554 _ACEOF
8555
8556 fi
8557 done
8558
8559   else
8560
8561   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8562 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8563   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8564     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8565   echo $ECHO_N "(cached) $ECHO_C" >&6
8566 else
8567
8568
8569
8570       ac_ext=cc
8571 ac_cpp='$CXXCPP $CPPFLAGS'
8572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8575
8576       cat >conftest.$ac_ext <<_ACEOF
8577 /* confdefs.h.  */
8578 _ACEOF
8579 cat confdefs.h >>conftest.$ac_ext
8580 cat >>conftest.$ac_ext <<_ACEOF
8581 /* end confdefs.h.  */
8582 #include <math.h>
8583                       #ifdef HAVE_IEEEFP_H
8584                       #include <ieeefp.h>
8585                       #endif
8586
8587 int
8588 main ()
8589 {
8590  _isinf(0);
8591   ;
8592   return 0;
8593 }
8594 _ACEOF
8595 rm -f conftest.$ac_objext
8596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8597   (eval $ac_compile) 2>conftest.er1
8598   ac_status=$?
8599   grep -v '^ *+' conftest.er1 >conftest.err
8600   rm -f conftest.er1
8601   cat conftest.err >&5
8602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8603   (exit $ac_status); } &&
8604          { ac_try='test -z "$ac_cxx_werror_flag"
8605                          || test ! -s conftest.err'
8606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8607   (eval $ac_try) 2>&5
8608   ac_status=$?
8609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8610   (exit $ac_status); }; } &&
8611          { ac_try='test -s conftest.$ac_objext'
8612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8613   (eval $ac_try) 2>&5
8614   ac_status=$?
8615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8616   (exit $ac_status); }; }; then
8617   glibcxx_cv_func__isinf_use=yes
8618 else
8619   echo "$as_me: failed program was:" >&5
8620 sed 's/^/| /' conftest.$ac_ext >&5
8621
8622 glibcxx_cv_func__isinf_use=no
8623 fi
8624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8625       ac_ext=c
8626 ac_cpp='$CPP $CPPFLAGS'
8627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8630
8631
8632 fi
8633
8634   fi
8635   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8636 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8637
8638     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8639
8640 for ac_func in _isinf
8641 do
8642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8643 echo "$as_me:$LINENO: checking for $ac_func" >&5
8644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8645 if eval "test \"\${$as_ac_var+set}\" = set"; then
8646   echo $ECHO_N "(cached) $ECHO_C" >&6
8647 else
8648   if test x$gcc_no_link = xyes; then
8649   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8651    { (exit 1); exit 1; }; }
8652 fi
8653 cat >conftest.$ac_ext <<_ACEOF
8654 /* confdefs.h.  */
8655 _ACEOF
8656 cat confdefs.h >>conftest.$ac_ext
8657 cat >>conftest.$ac_ext <<_ACEOF
8658 /* end confdefs.h.  */
8659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8660    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8661 #define $ac_func innocuous_$ac_func
8662
8663 /* System header to define __stub macros and hopefully few prototypes,
8664     which can conflict with char $ac_func (); below.
8665     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8666     <limits.h> exists even on freestanding compilers.  */
8667
8668 #ifdef __STDC__
8669 # include <limits.h>
8670 #else
8671 # include <assert.h>
8672 #endif
8673
8674 #undef $ac_func
8675
8676 /* Override any gcc2 internal prototype to avoid an error.  */
8677 #ifdef __cplusplus
8678 extern "C"
8679 {
8680 #endif
8681 /* We use char because int might match the return type of a gcc2
8682    builtin and then its argument prototype would still apply.  */
8683 char $ac_func ();
8684 /* The GNU C library defines this for functions which it implements
8685     to always fail with ENOSYS.  Some functions are actually named
8686     something starting with __ and the normal name is an alias.  */
8687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8688 choke me
8689 #else
8690 char (*f) () = $ac_func;
8691 #endif
8692 #ifdef __cplusplus
8693 }
8694 #endif
8695
8696 int
8697 main ()
8698 {
8699 return f != $ac_func;
8700   ;
8701   return 0;
8702 }
8703 _ACEOF
8704 rm -f conftest.$ac_objext conftest$ac_exeext
8705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8706   (eval $ac_link) 2>conftest.er1
8707   ac_status=$?
8708   grep -v '^ *+' conftest.er1 >conftest.err
8709   rm -f conftest.er1
8710   cat conftest.err >&5
8711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8712   (exit $ac_status); } &&
8713          { ac_try='test -z "$ac_c_werror_flag"
8714                          || test ! -s conftest.err'
8715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8716   (eval $ac_try) 2>&5
8717   ac_status=$?
8718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8719   (exit $ac_status); }; } &&
8720          { ac_try='test -s conftest$ac_exeext'
8721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8722   (eval $ac_try) 2>&5
8723   ac_status=$?
8724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8725   (exit $ac_status); }; }; then
8726   eval "$as_ac_var=yes"
8727 else
8728   echo "$as_me: failed program was:" >&5
8729 sed 's/^/| /' conftest.$ac_ext >&5
8730
8731 eval "$as_ac_var=no"
8732 fi
8733 rm -f conftest.err conftest.$ac_objext \
8734       conftest$ac_exeext conftest.$ac_ext
8735 fi
8736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8737 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8738 if test `eval echo '${'$as_ac_var'}'` = yes; then
8739   cat >>confdefs.h <<_ACEOF
8740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8741 _ACEOF
8742
8743 fi
8744 done
8745
8746     fi
8747   fi
8748
8749
8750
8751   echo "$as_me:$LINENO: checking for isnan declaration" >&5
8752 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8753   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8754     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8755   echo $ECHO_N "(cached) $ECHO_C" >&6
8756 else
8757
8758
8759
8760       ac_ext=cc
8761 ac_cpp='$CXXCPP $CPPFLAGS'
8762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8765
8766       cat >conftest.$ac_ext <<_ACEOF
8767 /* confdefs.h.  */
8768 _ACEOF
8769 cat confdefs.h >>conftest.$ac_ext
8770 cat >>conftest.$ac_ext <<_ACEOF
8771 /* end confdefs.h.  */
8772 #include <math.h>
8773                       #ifdef HAVE_IEEEFP_H
8774                       #include <ieeefp.h>
8775                       #endif
8776
8777 int
8778 main ()
8779 {
8780  isnan(0);
8781   ;
8782   return 0;
8783 }
8784 _ACEOF
8785 rm -f conftest.$ac_objext
8786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8787   (eval $ac_compile) 2>conftest.er1
8788   ac_status=$?
8789   grep -v '^ *+' conftest.er1 >conftest.err
8790   rm -f conftest.er1
8791   cat conftest.err >&5
8792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8793   (exit $ac_status); } &&
8794          { ac_try='test -z "$ac_cxx_werror_flag"
8795                          || test ! -s conftest.err'
8796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8797   (eval $ac_try) 2>&5
8798   ac_status=$?
8799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8800   (exit $ac_status); }; } &&
8801          { ac_try='test -s conftest.$ac_objext'
8802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8803   (eval $ac_try) 2>&5
8804   ac_status=$?
8805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8806   (exit $ac_status); }; }; then
8807   glibcxx_cv_func_isnan_use=yes
8808 else
8809   echo "$as_me: failed program was:" >&5
8810 sed 's/^/| /' conftest.$ac_ext >&5
8811
8812 glibcxx_cv_func_isnan_use=no
8813 fi
8814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8815       ac_ext=c
8816 ac_cpp='$CPP $CPPFLAGS'
8817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8820
8821
8822 fi
8823
8824   fi
8825   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8826 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8827
8828   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8829
8830 for ac_func in isnan
8831 do
8832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8833 echo "$as_me:$LINENO: checking for $ac_func" >&5
8834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8835 if eval "test \"\${$as_ac_var+set}\" = set"; then
8836   echo $ECHO_N "(cached) $ECHO_C" >&6
8837 else
8838   if test x$gcc_no_link = xyes; then
8839   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8841    { (exit 1); exit 1; }; }
8842 fi
8843 cat >conftest.$ac_ext <<_ACEOF
8844 /* confdefs.h.  */
8845 _ACEOF
8846 cat confdefs.h >>conftest.$ac_ext
8847 cat >>conftest.$ac_ext <<_ACEOF
8848 /* end confdefs.h.  */
8849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8850    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8851 #define $ac_func innocuous_$ac_func
8852
8853 /* System header to define __stub macros and hopefully few prototypes,
8854     which can conflict with char $ac_func (); below.
8855     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8856     <limits.h> exists even on freestanding compilers.  */
8857
8858 #ifdef __STDC__
8859 # include <limits.h>
8860 #else
8861 # include <assert.h>
8862 #endif
8863
8864 #undef $ac_func
8865
8866 /* Override any gcc2 internal prototype to avoid an error.  */
8867 #ifdef __cplusplus
8868 extern "C"
8869 {
8870 #endif
8871 /* We use char because int might match the return type of a gcc2
8872    builtin and then its argument prototype would still apply.  */
8873 char $ac_func ();
8874 /* The GNU C library defines this for functions which it implements
8875     to always fail with ENOSYS.  Some functions are actually named
8876     something starting with __ and the normal name is an alias.  */
8877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8878 choke me
8879 #else
8880 char (*f) () = $ac_func;
8881 #endif
8882 #ifdef __cplusplus
8883 }
8884 #endif
8885
8886 int
8887 main ()
8888 {
8889 return f != $ac_func;
8890   ;
8891   return 0;
8892 }
8893 _ACEOF
8894 rm -f conftest.$ac_objext conftest$ac_exeext
8895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8896   (eval $ac_link) 2>conftest.er1
8897   ac_status=$?
8898   grep -v '^ *+' conftest.er1 >conftest.err
8899   rm -f conftest.er1
8900   cat conftest.err >&5
8901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8902   (exit $ac_status); } &&
8903          { ac_try='test -z "$ac_c_werror_flag"
8904                          || test ! -s conftest.err'
8905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8906   (eval $ac_try) 2>&5
8907   ac_status=$?
8908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8909   (exit $ac_status); }; } &&
8910          { ac_try='test -s conftest$ac_exeext'
8911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8912   (eval $ac_try) 2>&5
8913   ac_status=$?
8914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915   (exit $ac_status); }; }; then
8916   eval "$as_ac_var=yes"
8917 else
8918   echo "$as_me: failed program was:" >&5
8919 sed 's/^/| /' conftest.$ac_ext >&5
8920
8921 eval "$as_ac_var=no"
8922 fi
8923 rm -f conftest.err conftest.$ac_objext \
8924       conftest$ac_exeext conftest.$ac_ext
8925 fi
8926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8928 if test `eval echo '${'$as_ac_var'}'` = yes; then
8929   cat >>confdefs.h <<_ACEOF
8930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8931 _ACEOF
8932
8933 fi
8934 done
8935
8936   else
8937
8938   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8939 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8940   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8941     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8942   echo $ECHO_N "(cached) $ECHO_C" >&6
8943 else
8944
8945
8946
8947       ac_ext=cc
8948 ac_cpp='$CXXCPP $CPPFLAGS'
8949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8952
8953       cat >conftest.$ac_ext <<_ACEOF
8954 /* confdefs.h.  */
8955 _ACEOF
8956 cat confdefs.h >>conftest.$ac_ext
8957 cat >>conftest.$ac_ext <<_ACEOF
8958 /* end confdefs.h.  */
8959 #include <math.h>
8960                       #ifdef HAVE_IEEEFP_H
8961                       #include <ieeefp.h>
8962                       #endif
8963
8964 int
8965 main ()
8966 {
8967  _isnan(0);
8968   ;
8969   return 0;
8970 }
8971 _ACEOF
8972 rm -f conftest.$ac_objext
8973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8974   (eval $ac_compile) 2>conftest.er1
8975   ac_status=$?
8976   grep -v '^ *+' conftest.er1 >conftest.err
8977   rm -f conftest.er1
8978   cat conftest.err >&5
8979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8980   (exit $ac_status); } &&
8981          { ac_try='test -z "$ac_cxx_werror_flag"
8982                          || test ! -s conftest.err'
8983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8984   (eval $ac_try) 2>&5
8985   ac_status=$?
8986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8987   (exit $ac_status); }; } &&
8988          { ac_try='test -s conftest.$ac_objext'
8989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8990   (eval $ac_try) 2>&5
8991   ac_status=$?
8992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8993   (exit $ac_status); }; }; then
8994   glibcxx_cv_func__isnan_use=yes
8995 else
8996   echo "$as_me: failed program was:" >&5
8997 sed 's/^/| /' conftest.$ac_ext >&5
8998
8999 glibcxx_cv_func__isnan_use=no
9000 fi
9001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9002       ac_ext=c
9003 ac_cpp='$CPP $CPPFLAGS'
9004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9007
9008
9009 fi
9010
9011   fi
9012   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
9013 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
9014
9015     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9016
9017 for ac_func in _isnan
9018 do
9019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9020 echo "$as_me:$LINENO: checking for $ac_func" >&5
9021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9022 if eval "test \"\${$as_ac_var+set}\" = set"; then
9023   echo $ECHO_N "(cached) $ECHO_C" >&6
9024 else
9025   if test x$gcc_no_link = xyes; then
9026   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9028    { (exit 1); exit 1; }; }
9029 fi
9030 cat >conftest.$ac_ext <<_ACEOF
9031 /* confdefs.h.  */
9032 _ACEOF
9033 cat confdefs.h >>conftest.$ac_ext
9034 cat >>conftest.$ac_ext <<_ACEOF
9035 /* end confdefs.h.  */
9036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9037    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9038 #define $ac_func innocuous_$ac_func
9039
9040 /* System header to define __stub macros and hopefully few prototypes,
9041     which can conflict with char $ac_func (); below.
9042     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9043     <limits.h> exists even on freestanding compilers.  */
9044
9045 #ifdef __STDC__
9046 # include <limits.h>
9047 #else
9048 # include <assert.h>
9049 #endif
9050
9051 #undef $ac_func
9052
9053 /* Override any gcc2 internal prototype to avoid an error.  */
9054 #ifdef __cplusplus
9055 extern "C"
9056 {
9057 #endif
9058 /* We use char because int might match the return type of a gcc2
9059    builtin and then its argument prototype would still apply.  */
9060 char $ac_func ();
9061 /* The GNU C library defines this for functions which it implements
9062     to always fail with ENOSYS.  Some functions are actually named
9063     something starting with __ and the normal name is an alias.  */
9064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9065 choke me
9066 #else
9067 char (*f) () = $ac_func;
9068 #endif
9069 #ifdef __cplusplus
9070 }
9071 #endif
9072
9073 int
9074 main ()
9075 {
9076 return f != $ac_func;
9077   ;
9078   return 0;
9079 }
9080 _ACEOF
9081 rm -f conftest.$ac_objext conftest$ac_exeext
9082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9083   (eval $ac_link) 2>conftest.er1
9084   ac_status=$?
9085   grep -v '^ *+' conftest.er1 >conftest.err
9086   rm -f conftest.er1
9087   cat conftest.err >&5
9088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9089   (exit $ac_status); } &&
9090          { ac_try='test -z "$ac_c_werror_flag"
9091                          || test ! -s conftest.err'
9092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9093   (eval $ac_try) 2>&5
9094   ac_status=$?
9095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9096   (exit $ac_status); }; } &&
9097          { ac_try='test -s conftest$ac_exeext'
9098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9099   (eval $ac_try) 2>&5
9100   ac_status=$?
9101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9102   (exit $ac_status); }; }; then
9103   eval "$as_ac_var=yes"
9104 else
9105   echo "$as_me: failed program was:" >&5
9106 sed 's/^/| /' conftest.$ac_ext >&5
9107
9108 eval "$as_ac_var=no"
9109 fi
9110 rm -f conftest.err conftest.$ac_objext \
9111       conftest$ac_exeext conftest.$ac_ext
9112 fi
9113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9115 if test `eval echo '${'$as_ac_var'}'` = yes; then
9116   cat >>confdefs.h <<_ACEOF
9117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9118 _ACEOF
9119
9120 fi
9121 done
9122
9123     fi
9124   fi
9125
9126
9127
9128   echo "$as_me:$LINENO: checking for finite declaration" >&5
9129 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9130   if test x${glibcxx_cv_func_finite_use+set} != xset; then
9131     if test "${glibcxx_cv_func_finite_use+set}" = set; then
9132   echo $ECHO_N "(cached) $ECHO_C" >&6
9133 else
9134
9135
9136
9137       ac_ext=cc
9138 ac_cpp='$CXXCPP $CPPFLAGS'
9139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9142
9143       cat >conftest.$ac_ext <<_ACEOF
9144 /* confdefs.h.  */
9145 _ACEOF
9146 cat confdefs.h >>conftest.$ac_ext
9147 cat >>conftest.$ac_ext <<_ACEOF
9148 /* end confdefs.h.  */
9149 #include <math.h>
9150                       #ifdef HAVE_IEEEFP_H
9151                       #include <ieeefp.h>
9152                       #endif
9153
9154 int
9155 main ()
9156 {
9157  finite(0);
9158   ;
9159   return 0;
9160 }
9161 _ACEOF
9162 rm -f conftest.$ac_objext
9163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9164   (eval $ac_compile) 2>conftest.er1
9165   ac_status=$?
9166   grep -v '^ *+' conftest.er1 >conftest.err
9167   rm -f conftest.er1
9168   cat conftest.err >&5
9169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9170   (exit $ac_status); } &&
9171          { ac_try='test -z "$ac_cxx_werror_flag"
9172                          || test ! -s conftest.err'
9173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9174   (eval $ac_try) 2>&5
9175   ac_status=$?
9176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9177   (exit $ac_status); }; } &&
9178          { ac_try='test -s conftest.$ac_objext'
9179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9180   (eval $ac_try) 2>&5
9181   ac_status=$?
9182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9183   (exit $ac_status); }; }; then
9184   glibcxx_cv_func_finite_use=yes
9185 else
9186   echo "$as_me: failed program was:" >&5
9187 sed 's/^/| /' conftest.$ac_ext >&5
9188
9189 glibcxx_cv_func_finite_use=no
9190 fi
9191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9192       ac_ext=c
9193 ac_cpp='$CPP $CPPFLAGS'
9194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9197
9198
9199 fi
9200
9201   fi
9202   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9203 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9204
9205   if test x$glibcxx_cv_func_finite_use = x"yes"; then
9206
9207 for ac_func in finite
9208 do
9209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9210 echo "$as_me:$LINENO: checking for $ac_func" >&5
9211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9212 if eval "test \"\${$as_ac_var+set}\" = set"; then
9213   echo $ECHO_N "(cached) $ECHO_C" >&6
9214 else
9215   if test x$gcc_no_link = xyes; then
9216   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9218    { (exit 1); exit 1; }; }
9219 fi
9220 cat >conftest.$ac_ext <<_ACEOF
9221 /* confdefs.h.  */
9222 _ACEOF
9223 cat confdefs.h >>conftest.$ac_ext
9224 cat >>conftest.$ac_ext <<_ACEOF
9225 /* end confdefs.h.  */
9226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9227    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9228 #define $ac_func innocuous_$ac_func
9229
9230 /* System header to define __stub macros and hopefully few prototypes,
9231     which can conflict with char $ac_func (); below.
9232     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9233     <limits.h> exists even on freestanding compilers.  */
9234
9235 #ifdef __STDC__
9236 # include <limits.h>
9237 #else
9238 # include <assert.h>
9239 #endif
9240
9241 #undef $ac_func
9242
9243 /* Override any gcc2 internal prototype to avoid an error.  */
9244 #ifdef __cplusplus
9245 extern "C"
9246 {
9247 #endif
9248 /* We use char because int might match the return type of a gcc2
9249    builtin and then its argument prototype would still apply.  */
9250 char $ac_func ();
9251 /* The GNU C library defines this for functions which it implements
9252     to always fail with ENOSYS.  Some functions are actually named
9253     something starting with __ and the normal name is an alias.  */
9254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9255 choke me
9256 #else
9257 char (*f) () = $ac_func;
9258 #endif
9259 #ifdef __cplusplus
9260 }
9261 #endif
9262
9263 int
9264 main ()
9265 {
9266 return f != $ac_func;
9267   ;
9268   return 0;
9269 }
9270 _ACEOF
9271 rm -f conftest.$ac_objext conftest$ac_exeext
9272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9273   (eval $ac_link) 2>conftest.er1
9274   ac_status=$?
9275   grep -v '^ *+' conftest.er1 >conftest.err
9276   rm -f conftest.er1
9277   cat conftest.err >&5
9278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9279   (exit $ac_status); } &&
9280          { ac_try='test -z "$ac_c_werror_flag"
9281                          || test ! -s conftest.err'
9282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9283   (eval $ac_try) 2>&5
9284   ac_status=$?
9285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9286   (exit $ac_status); }; } &&
9287          { ac_try='test -s conftest$ac_exeext'
9288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9289   (eval $ac_try) 2>&5
9290   ac_status=$?
9291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9292   (exit $ac_status); }; }; then
9293   eval "$as_ac_var=yes"
9294 else
9295   echo "$as_me: failed program was:" >&5
9296 sed 's/^/| /' conftest.$ac_ext >&5
9297
9298 eval "$as_ac_var=no"
9299 fi
9300 rm -f conftest.err conftest.$ac_objext \
9301       conftest$ac_exeext conftest.$ac_ext
9302 fi
9303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9305 if test `eval echo '${'$as_ac_var'}'` = yes; then
9306   cat >>confdefs.h <<_ACEOF
9307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9308 _ACEOF
9309
9310 fi
9311 done
9312
9313   else
9314
9315   echo "$as_me:$LINENO: checking for _finite declaration" >&5
9316 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9317   if test x${glibcxx_cv_func__finite_use+set} != xset; then
9318     if test "${glibcxx_cv_func__finite_use+set}" = set; then
9319   echo $ECHO_N "(cached) $ECHO_C" >&6
9320 else
9321
9322
9323
9324       ac_ext=cc
9325 ac_cpp='$CXXCPP $CPPFLAGS'
9326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9329
9330       cat >conftest.$ac_ext <<_ACEOF
9331 /* confdefs.h.  */
9332 _ACEOF
9333 cat confdefs.h >>conftest.$ac_ext
9334 cat >>conftest.$ac_ext <<_ACEOF
9335 /* end confdefs.h.  */
9336 #include <math.h>
9337                       #ifdef HAVE_IEEEFP_H
9338                       #include <ieeefp.h>
9339                       #endif
9340
9341 int
9342 main ()
9343 {
9344  _finite(0);
9345   ;
9346   return 0;
9347 }
9348 _ACEOF
9349 rm -f conftest.$ac_objext
9350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9351   (eval $ac_compile) 2>conftest.er1
9352   ac_status=$?
9353   grep -v '^ *+' conftest.er1 >conftest.err
9354   rm -f conftest.er1
9355   cat conftest.err >&5
9356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9357   (exit $ac_status); } &&
9358          { ac_try='test -z "$ac_cxx_werror_flag"
9359                          || test ! -s conftest.err'
9360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9361   (eval $ac_try) 2>&5
9362   ac_status=$?
9363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9364   (exit $ac_status); }; } &&
9365          { ac_try='test -s conftest.$ac_objext'
9366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9367   (eval $ac_try) 2>&5
9368   ac_status=$?
9369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9370   (exit $ac_status); }; }; then
9371   glibcxx_cv_func__finite_use=yes
9372 else
9373   echo "$as_me: failed program was:" >&5
9374 sed 's/^/| /' conftest.$ac_ext >&5
9375
9376 glibcxx_cv_func__finite_use=no
9377 fi
9378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9379       ac_ext=c
9380 ac_cpp='$CPP $CPPFLAGS'
9381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9384
9385
9386 fi
9387
9388   fi
9389   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9390 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9391
9392     if test x$glibcxx_cv_func__finite_use = x"yes"; then
9393
9394 for ac_func in _finite
9395 do
9396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9397 echo "$as_me:$LINENO: checking for $ac_func" >&5
9398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9399 if eval "test \"\${$as_ac_var+set}\" = set"; then
9400   echo $ECHO_N "(cached) $ECHO_C" >&6
9401 else
9402   if test x$gcc_no_link = xyes; then
9403   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9405    { (exit 1); exit 1; }; }
9406 fi
9407 cat >conftest.$ac_ext <<_ACEOF
9408 /* confdefs.h.  */
9409 _ACEOF
9410 cat confdefs.h >>conftest.$ac_ext
9411 cat >>conftest.$ac_ext <<_ACEOF
9412 /* end confdefs.h.  */
9413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9414    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9415 #define $ac_func innocuous_$ac_func
9416
9417 /* System header to define __stub macros and hopefully few prototypes,
9418     which can conflict with char $ac_func (); below.
9419     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9420     <limits.h> exists even on freestanding compilers.  */
9421
9422 #ifdef __STDC__
9423 # include <limits.h>
9424 #else
9425 # include <assert.h>
9426 #endif
9427
9428 #undef $ac_func
9429
9430 /* Override any gcc2 internal prototype to avoid an error.  */
9431 #ifdef __cplusplus
9432 extern "C"
9433 {
9434 #endif
9435 /* We use char because int might match the return type of a gcc2
9436    builtin and then its argument prototype would still apply.  */
9437 char $ac_func ();
9438 /* The GNU C library defines this for functions which it implements
9439     to always fail with ENOSYS.  Some functions are actually named
9440     something starting with __ and the normal name is an alias.  */
9441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9442 choke me
9443 #else
9444 char (*f) () = $ac_func;
9445 #endif
9446 #ifdef __cplusplus
9447 }
9448 #endif
9449
9450 int
9451 main ()
9452 {
9453 return f != $ac_func;
9454   ;
9455   return 0;
9456 }
9457 _ACEOF
9458 rm -f conftest.$ac_objext conftest$ac_exeext
9459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9460   (eval $ac_link) 2>conftest.er1
9461   ac_status=$?
9462   grep -v '^ *+' conftest.er1 >conftest.err
9463   rm -f conftest.er1
9464   cat conftest.err >&5
9465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9466   (exit $ac_status); } &&
9467          { ac_try='test -z "$ac_c_werror_flag"
9468                          || test ! -s conftest.err'
9469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9470   (eval $ac_try) 2>&5
9471   ac_status=$?
9472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9473   (exit $ac_status); }; } &&
9474          { ac_try='test -s conftest$ac_exeext'
9475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9476   (eval $ac_try) 2>&5
9477   ac_status=$?
9478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9479   (exit $ac_status); }; }; then
9480   eval "$as_ac_var=yes"
9481 else
9482   echo "$as_me: failed program was:" >&5
9483 sed 's/^/| /' conftest.$ac_ext >&5
9484
9485 eval "$as_ac_var=no"
9486 fi
9487 rm -f conftest.err conftest.$ac_objext \
9488       conftest$ac_exeext conftest.$ac_ext
9489 fi
9490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9492 if test `eval echo '${'$as_ac_var'}'` = yes; then
9493   cat >>confdefs.h <<_ACEOF
9494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9495 _ACEOF
9496
9497 fi
9498 done
9499
9500     fi
9501   fi
9502
9503
9504
9505   echo "$as_me:$LINENO: checking for copysign declaration" >&5
9506 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9507   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9508     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9509   echo $ECHO_N "(cached) $ECHO_C" >&6
9510 else
9511
9512
9513
9514       ac_ext=cc
9515 ac_cpp='$CXXCPP $CPPFLAGS'
9516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9519
9520       cat >conftest.$ac_ext <<_ACEOF
9521 /* confdefs.h.  */
9522 _ACEOF
9523 cat confdefs.h >>conftest.$ac_ext
9524 cat >>conftest.$ac_ext <<_ACEOF
9525 /* end confdefs.h.  */
9526 #include <math.h>
9527 int
9528 main ()
9529 {
9530  copysign(0, 0);
9531   ;
9532   return 0;
9533 }
9534 _ACEOF
9535 rm -f conftest.$ac_objext
9536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9537   (eval $ac_compile) 2>conftest.er1
9538   ac_status=$?
9539   grep -v '^ *+' conftest.er1 >conftest.err
9540   rm -f conftest.er1
9541   cat conftest.err >&5
9542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9543   (exit $ac_status); } &&
9544          { ac_try='test -z "$ac_cxx_werror_flag"
9545                          || test ! -s conftest.err'
9546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9547   (eval $ac_try) 2>&5
9548   ac_status=$?
9549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9550   (exit $ac_status); }; } &&
9551          { ac_try='test -s conftest.$ac_objext'
9552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9553   (eval $ac_try) 2>&5
9554   ac_status=$?
9555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9556   (exit $ac_status); }; }; then
9557   glibcxx_cv_func_copysign_use=yes
9558 else
9559   echo "$as_me: failed program was:" >&5
9560 sed 's/^/| /' conftest.$ac_ext >&5
9561
9562 glibcxx_cv_func_copysign_use=no
9563 fi
9564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9565       ac_ext=c
9566 ac_cpp='$CPP $CPPFLAGS'
9567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9570
9571
9572 fi
9573
9574   fi
9575   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9576 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9577
9578   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9579
9580 for ac_func in copysign
9581 do
9582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9583 echo "$as_me:$LINENO: checking for $ac_func" >&5
9584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9585 if eval "test \"\${$as_ac_var+set}\" = set"; then
9586   echo $ECHO_N "(cached) $ECHO_C" >&6
9587 else
9588   if test x$gcc_no_link = xyes; then
9589   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9591    { (exit 1); exit 1; }; }
9592 fi
9593 cat >conftest.$ac_ext <<_ACEOF
9594 /* confdefs.h.  */
9595 _ACEOF
9596 cat confdefs.h >>conftest.$ac_ext
9597 cat >>conftest.$ac_ext <<_ACEOF
9598 /* end confdefs.h.  */
9599 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9600    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9601 #define $ac_func innocuous_$ac_func
9602
9603 /* System header to define __stub macros and hopefully few prototypes,
9604     which can conflict with char $ac_func (); below.
9605     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9606     <limits.h> exists even on freestanding compilers.  */
9607
9608 #ifdef __STDC__
9609 # include <limits.h>
9610 #else
9611 # include <assert.h>
9612 #endif
9613
9614 #undef $ac_func
9615
9616 /* Override any gcc2 internal prototype to avoid an error.  */
9617 #ifdef __cplusplus
9618 extern "C"
9619 {
9620 #endif
9621 /* We use char because int might match the return type of a gcc2
9622    builtin and then its argument prototype would still apply.  */
9623 char $ac_func ();
9624 /* The GNU C library defines this for functions which it implements
9625     to always fail with ENOSYS.  Some functions are actually named
9626     something starting with __ and the normal name is an alias.  */
9627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9628 choke me
9629 #else
9630 char (*f) () = $ac_func;
9631 #endif
9632 #ifdef __cplusplus
9633 }
9634 #endif
9635
9636 int
9637 main ()
9638 {
9639 return f != $ac_func;
9640   ;
9641   return 0;
9642 }
9643 _ACEOF
9644 rm -f conftest.$ac_objext conftest$ac_exeext
9645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9646   (eval $ac_link) 2>conftest.er1
9647   ac_status=$?
9648   grep -v '^ *+' conftest.er1 >conftest.err
9649   rm -f conftest.er1
9650   cat conftest.err >&5
9651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9652   (exit $ac_status); } &&
9653          { ac_try='test -z "$ac_c_werror_flag"
9654                          || test ! -s conftest.err'
9655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9656   (eval $ac_try) 2>&5
9657   ac_status=$?
9658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9659   (exit $ac_status); }; } &&
9660          { ac_try='test -s conftest$ac_exeext'
9661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9662   (eval $ac_try) 2>&5
9663   ac_status=$?
9664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9665   (exit $ac_status); }; }; then
9666   eval "$as_ac_var=yes"
9667 else
9668   echo "$as_me: failed program was:" >&5
9669 sed 's/^/| /' conftest.$ac_ext >&5
9670
9671 eval "$as_ac_var=no"
9672 fi
9673 rm -f conftest.err conftest.$ac_objext \
9674       conftest$ac_exeext conftest.$ac_ext
9675 fi
9676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9677 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9678 if test `eval echo '${'$as_ac_var'}'` = yes; then
9679   cat >>confdefs.h <<_ACEOF
9680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9681 _ACEOF
9682
9683 fi
9684 done
9685
9686   else
9687
9688   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9689 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9690   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9691     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9692   echo $ECHO_N "(cached) $ECHO_C" >&6
9693 else
9694
9695
9696
9697       ac_ext=cc
9698 ac_cpp='$CXXCPP $CPPFLAGS'
9699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9702
9703       cat >conftest.$ac_ext <<_ACEOF
9704 /* confdefs.h.  */
9705 _ACEOF
9706 cat confdefs.h >>conftest.$ac_ext
9707 cat >>conftest.$ac_ext <<_ACEOF
9708 /* end confdefs.h.  */
9709 #include <math.h>
9710 int
9711 main ()
9712 {
9713  _copysign(0, 0);
9714   ;
9715   return 0;
9716 }
9717 _ACEOF
9718 rm -f conftest.$ac_objext
9719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9720   (eval $ac_compile) 2>conftest.er1
9721   ac_status=$?
9722   grep -v '^ *+' conftest.er1 >conftest.err
9723   rm -f conftest.er1
9724   cat conftest.err >&5
9725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9726   (exit $ac_status); } &&
9727          { ac_try='test -z "$ac_cxx_werror_flag"
9728                          || test ! -s conftest.err'
9729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9730   (eval $ac_try) 2>&5
9731   ac_status=$?
9732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9733   (exit $ac_status); }; } &&
9734          { ac_try='test -s conftest.$ac_objext'
9735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9736   (eval $ac_try) 2>&5
9737   ac_status=$?
9738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9739   (exit $ac_status); }; }; then
9740   glibcxx_cv_func__copysign_use=yes
9741 else
9742   echo "$as_me: failed program was:" >&5
9743 sed 's/^/| /' conftest.$ac_ext >&5
9744
9745 glibcxx_cv_func__copysign_use=no
9746 fi
9747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9748       ac_ext=c
9749 ac_cpp='$CPP $CPPFLAGS'
9750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9753
9754
9755 fi
9756
9757   fi
9758   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9759 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9760
9761     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9762
9763 for ac_func in _copysign
9764 do
9765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9766 echo "$as_me:$LINENO: checking for $ac_func" >&5
9767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9768 if eval "test \"\${$as_ac_var+set}\" = set"; then
9769   echo $ECHO_N "(cached) $ECHO_C" >&6
9770 else
9771   if test x$gcc_no_link = xyes; then
9772   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9774    { (exit 1); exit 1; }; }
9775 fi
9776 cat >conftest.$ac_ext <<_ACEOF
9777 /* confdefs.h.  */
9778 _ACEOF
9779 cat confdefs.h >>conftest.$ac_ext
9780 cat >>conftest.$ac_ext <<_ACEOF
9781 /* end confdefs.h.  */
9782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9783    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9784 #define $ac_func innocuous_$ac_func
9785
9786 /* System header to define __stub macros and hopefully few prototypes,
9787     which can conflict with char $ac_func (); below.
9788     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9789     <limits.h> exists even on freestanding compilers.  */
9790
9791 #ifdef __STDC__
9792 # include <limits.h>
9793 #else
9794 # include <assert.h>
9795 #endif
9796
9797 #undef $ac_func
9798
9799 /* Override any gcc2 internal prototype to avoid an error.  */
9800 #ifdef __cplusplus
9801 extern "C"
9802 {
9803 #endif
9804 /* We use char because int might match the return type of a gcc2
9805    builtin and then its argument prototype would still apply.  */
9806 char $ac_func ();
9807 /* The GNU C library defines this for functions which it implements
9808     to always fail with ENOSYS.  Some functions are actually named
9809     something starting with __ and the normal name is an alias.  */
9810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9811 choke me
9812 #else
9813 char (*f) () = $ac_func;
9814 #endif
9815 #ifdef __cplusplus
9816 }
9817 #endif
9818
9819 int
9820 main ()
9821 {
9822 return f != $ac_func;
9823   ;
9824   return 0;
9825 }
9826 _ACEOF
9827 rm -f conftest.$ac_objext conftest$ac_exeext
9828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9829   (eval $ac_link) 2>conftest.er1
9830   ac_status=$?
9831   grep -v '^ *+' conftest.er1 >conftest.err
9832   rm -f conftest.er1
9833   cat conftest.err >&5
9834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9835   (exit $ac_status); } &&
9836          { ac_try='test -z "$ac_c_werror_flag"
9837                          || test ! -s conftest.err'
9838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9839   (eval $ac_try) 2>&5
9840   ac_status=$?
9841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9842   (exit $ac_status); }; } &&
9843          { ac_try='test -s conftest$ac_exeext'
9844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9845   (eval $ac_try) 2>&5
9846   ac_status=$?
9847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9848   (exit $ac_status); }; }; then
9849   eval "$as_ac_var=yes"
9850 else
9851   echo "$as_me: failed program was:" >&5
9852 sed 's/^/| /' conftest.$ac_ext >&5
9853
9854 eval "$as_ac_var=no"
9855 fi
9856 rm -f conftest.err conftest.$ac_objext \
9857       conftest$ac_exeext conftest.$ac_ext
9858 fi
9859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9861 if test `eval echo '${'$as_ac_var'}'` = yes; then
9862   cat >>confdefs.h <<_ACEOF
9863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9864 _ACEOF
9865
9866 fi
9867 done
9868
9869     fi
9870   fi
9871
9872
9873
9874   echo "$as_me:$LINENO: checking for sincos declaration" >&5
9875 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9876   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9877     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9878   echo $ECHO_N "(cached) $ECHO_C" >&6
9879 else
9880
9881
9882
9883       ac_ext=cc
9884 ac_cpp='$CXXCPP $CPPFLAGS'
9885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9888
9889       cat >conftest.$ac_ext <<_ACEOF
9890 /* confdefs.h.  */
9891 _ACEOF
9892 cat confdefs.h >>conftest.$ac_ext
9893 cat >>conftest.$ac_ext <<_ACEOF
9894 /* end confdefs.h.  */
9895 #include <math.h>
9896 int
9897 main ()
9898 {
9899  sincos(0, 0, 0);
9900   ;
9901   return 0;
9902 }
9903 _ACEOF
9904 rm -f conftest.$ac_objext
9905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9906   (eval $ac_compile) 2>conftest.er1
9907   ac_status=$?
9908   grep -v '^ *+' conftest.er1 >conftest.err
9909   rm -f conftest.er1
9910   cat conftest.err >&5
9911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9912   (exit $ac_status); } &&
9913          { ac_try='test -z "$ac_cxx_werror_flag"
9914                          || test ! -s conftest.err'
9915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9916   (eval $ac_try) 2>&5
9917   ac_status=$?
9918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9919   (exit $ac_status); }; } &&
9920          { ac_try='test -s conftest.$ac_objext'
9921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9922   (eval $ac_try) 2>&5
9923   ac_status=$?
9924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9925   (exit $ac_status); }; }; then
9926   glibcxx_cv_func_sincos_use=yes
9927 else
9928   echo "$as_me: failed program was:" >&5
9929 sed 's/^/| /' conftest.$ac_ext >&5
9930
9931 glibcxx_cv_func_sincos_use=no
9932 fi
9933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9934       ac_ext=c
9935 ac_cpp='$CPP $CPPFLAGS'
9936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9939
9940
9941 fi
9942
9943   fi
9944   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9945 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9946
9947   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9948
9949 for ac_func in sincos
9950 do
9951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9952 echo "$as_me:$LINENO: checking for $ac_func" >&5
9953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9954 if eval "test \"\${$as_ac_var+set}\" = set"; then
9955   echo $ECHO_N "(cached) $ECHO_C" >&6
9956 else
9957   if test x$gcc_no_link = xyes; then
9958   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9960    { (exit 1); exit 1; }; }
9961 fi
9962 cat >conftest.$ac_ext <<_ACEOF
9963 /* confdefs.h.  */
9964 _ACEOF
9965 cat confdefs.h >>conftest.$ac_ext
9966 cat >>conftest.$ac_ext <<_ACEOF
9967 /* end confdefs.h.  */
9968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9969    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9970 #define $ac_func innocuous_$ac_func
9971
9972 /* System header to define __stub macros and hopefully few prototypes,
9973     which can conflict with char $ac_func (); below.
9974     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9975     <limits.h> exists even on freestanding compilers.  */
9976
9977 #ifdef __STDC__
9978 # include <limits.h>
9979 #else
9980 # include <assert.h>
9981 #endif
9982
9983 #undef $ac_func
9984
9985 /* Override any gcc2 internal prototype to avoid an error.  */
9986 #ifdef __cplusplus
9987 extern "C"
9988 {
9989 #endif
9990 /* We use char because int might match the return type of a gcc2
9991    builtin and then its argument prototype would still apply.  */
9992 char $ac_func ();
9993 /* The GNU C library defines this for functions which it implements
9994     to always fail with ENOSYS.  Some functions are actually named
9995     something starting with __ and the normal name is an alias.  */
9996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9997 choke me
9998 #else
9999 char (*f) () = $ac_func;
10000 #endif
10001 #ifdef __cplusplus
10002 }
10003 #endif
10004
10005 int
10006 main ()
10007 {
10008 return f != $ac_func;
10009   ;
10010   return 0;
10011 }
10012 _ACEOF
10013 rm -f conftest.$ac_objext conftest$ac_exeext
10014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10015   (eval $ac_link) 2>conftest.er1
10016   ac_status=$?
10017   grep -v '^ *+' conftest.er1 >conftest.err
10018   rm -f conftest.er1
10019   cat conftest.err >&5
10020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10021   (exit $ac_status); } &&
10022          { ac_try='test -z "$ac_c_werror_flag"
10023                          || test ! -s conftest.err'
10024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10025   (eval $ac_try) 2>&5
10026   ac_status=$?
10027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10028   (exit $ac_status); }; } &&
10029          { ac_try='test -s conftest$ac_exeext'
10030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10031   (eval $ac_try) 2>&5
10032   ac_status=$?
10033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10034   (exit $ac_status); }; }; then
10035   eval "$as_ac_var=yes"
10036 else
10037   echo "$as_me: failed program was:" >&5
10038 sed 's/^/| /' conftest.$ac_ext >&5
10039
10040 eval "$as_ac_var=no"
10041 fi
10042 rm -f conftest.err conftest.$ac_objext \
10043       conftest$ac_exeext conftest.$ac_ext
10044 fi
10045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10047 if test `eval echo '${'$as_ac_var'}'` = yes; then
10048   cat >>confdefs.h <<_ACEOF
10049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10050 _ACEOF
10051
10052 fi
10053 done
10054
10055   else
10056
10057   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10058 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10059   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10060     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10061   echo $ECHO_N "(cached) $ECHO_C" >&6
10062 else
10063
10064
10065
10066       ac_ext=cc
10067 ac_cpp='$CXXCPP $CPPFLAGS'
10068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10071
10072       cat >conftest.$ac_ext <<_ACEOF
10073 /* confdefs.h.  */
10074 _ACEOF
10075 cat confdefs.h >>conftest.$ac_ext
10076 cat >>conftest.$ac_ext <<_ACEOF
10077 /* end confdefs.h.  */
10078 #include <math.h>
10079 int
10080 main ()
10081 {
10082  _sincos(0, 0, 0);
10083   ;
10084   return 0;
10085 }
10086 _ACEOF
10087 rm -f conftest.$ac_objext
10088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10089   (eval $ac_compile) 2>conftest.er1
10090   ac_status=$?
10091   grep -v '^ *+' conftest.er1 >conftest.err
10092   rm -f conftest.er1
10093   cat conftest.err >&5
10094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10095   (exit $ac_status); } &&
10096          { ac_try='test -z "$ac_cxx_werror_flag"
10097                          || test ! -s conftest.err'
10098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10099   (eval $ac_try) 2>&5
10100   ac_status=$?
10101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10102   (exit $ac_status); }; } &&
10103          { ac_try='test -s conftest.$ac_objext'
10104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10105   (eval $ac_try) 2>&5
10106   ac_status=$?
10107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10108   (exit $ac_status); }; }; then
10109   glibcxx_cv_func__sincos_use=yes
10110 else
10111   echo "$as_me: failed program was:" >&5
10112 sed 's/^/| /' conftest.$ac_ext >&5
10113
10114 glibcxx_cv_func__sincos_use=no
10115 fi
10116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10117       ac_ext=c
10118 ac_cpp='$CPP $CPPFLAGS'
10119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10122
10123
10124 fi
10125
10126   fi
10127   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10128 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10129
10130     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10131
10132 for ac_func in _sincos
10133 do
10134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10135 echo "$as_me:$LINENO: checking for $ac_func" >&5
10136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10137 if eval "test \"\${$as_ac_var+set}\" = set"; then
10138   echo $ECHO_N "(cached) $ECHO_C" >&6
10139 else
10140   if test x$gcc_no_link = xyes; then
10141   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10143    { (exit 1); exit 1; }; }
10144 fi
10145 cat >conftest.$ac_ext <<_ACEOF
10146 /* confdefs.h.  */
10147 _ACEOF
10148 cat confdefs.h >>conftest.$ac_ext
10149 cat >>conftest.$ac_ext <<_ACEOF
10150 /* end confdefs.h.  */
10151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10152    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10153 #define $ac_func innocuous_$ac_func
10154
10155 /* System header to define __stub macros and hopefully few prototypes,
10156     which can conflict with char $ac_func (); below.
10157     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10158     <limits.h> exists even on freestanding compilers.  */
10159
10160 #ifdef __STDC__
10161 # include <limits.h>
10162 #else
10163 # include <assert.h>
10164 #endif
10165
10166 #undef $ac_func
10167
10168 /* Override any gcc2 internal prototype to avoid an error.  */
10169 #ifdef __cplusplus
10170 extern "C"
10171 {
10172 #endif
10173 /* We use char because int might match the return type of a gcc2
10174    builtin and then its argument prototype would still apply.  */
10175 char $ac_func ();
10176 /* The GNU C library defines this for functions which it implements
10177     to always fail with ENOSYS.  Some functions are actually named
10178     something starting with __ and the normal name is an alias.  */
10179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10180 choke me
10181 #else
10182 char (*f) () = $ac_func;
10183 #endif
10184 #ifdef __cplusplus
10185 }
10186 #endif
10187
10188 int
10189 main ()
10190 {
10191 return f != $ac_func;
10192   ;
10193   return 0;
10194 }
10195 _ACEOF
10196 rm -f conftest.$ac_objext conftest$ac_exeext
10197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10198   (eval $ac_link) 2>conftest.er1
10199   ac_status=$?
10200   grep -v '^ *+' conftest.er1 >conftest.err
10201   rm -f conftest.er1
10202   cat conftest.err >&5
10203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10204   (exit $ac_status); } &&
10205          { ac_try='test -z "$ac_c_werror_flag"
10206                          || test ! -s conftest.err'
10207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10208   (eval $ac_try) 2>&5
10209   ac_status=$?
10210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10211   (exit $ac_status); }; } &&
10212          { ac_try='test -s conftest$ac_exeext'
10213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10214   (eval $ac_try) 2>&5
10215   ac_status=$?
10216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10217   (exit $ac_status); }; }; then
10218   eval "$as_ac_var=yes"
10219 else
10220   echo "$as_me: failed program was:" >&5
10221 sed 's/^/| /' conftest.$ac_ext >&5
10222
10223 eval "$as_ac_var=no"
10224 fi
10225 rm -f conftest.err conftest.$ac_objext \
10226       conftest$ac_exeext conftest.$ac_ext
10227 fi
10228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10230 if test `eval echo '${'$as_ac_var'}'` = yes; then
10231   cat >>confdefs.h <<_ACEOF
10232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10233 _ACEOF
10234
10235 fi
10236 done
10237
10238     fi
10239   fi
10240
10241
10242
10243   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10244 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10245   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10246     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10247   echo $ECHO_N "(cached) $ECHO_C" >&6
10248 else
10249
10250
10251
10252       ac_ext=cc
10253 ac_cpp='$CXXCPP $CPPFLAGS'
10254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10257
10258       cat >conftest.$ac_ext <<_ACEOF
10259 /* confdefs.h.  */
10260 _ACEOF
10261 cat confdefs.h >>conftest.$ac_ext
10262 cat >>conftest.$ac_ext <<_ACEOF
10263 /* end confdefs.h.  */
10264 #include <math.h>
10265                       #ifdef HAVE_IEEEFP_H
10266                       #include <ieeefp.h>
10267                       #endif
10268
10269 int
10270 main ()
10271 {
10272  fpclass(0);
10273   ;
10274   return 0;
10275 }
10276 _ACEOF
10277 rm -f conftest.$ac_objext
10278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10279   (eval $ac_compile) 2>conftest.er1
10280   ac_status=$?
10281   grep -v '^ *+' conftest.er1 >conftest.err
10282   rm -f conftest.er1
10283   cat conftest.err >&5
10284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10285   (exit $ac_status); } &&
10286          { ac_try='test -z "$ac_cxx_werror_flag"
10287                          || test ! -s conftest.err'
10288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10289   (eval $ac_try) 2>&5
10290   ac_status=$?
10291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10292   (exit $ac_status); }; } &&
10293          { ac_try='test -s conftest.$ac_objext'
10294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10295   (eval $ac_try) 2>&5
10296   ac_status=$?
10297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10298   (exit $ac_status); }; }; then
10299   glibcxx_cv_func_fpclass_use=yes
10300 else
10301   echo "$as_me: failed program was:" >&5
10302 sed 's/^/| /' conftest.$ac_ext >&5
10303
10304 glibcxx_cv_func_fpclass_use=no
10305 fi
10306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10307       ac_ext=c
10308 ac_cpp='$CPP $CPPFLAGS'
10309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10312
10313
10314 fi
10315
10316   fi
10317   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10318 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10319
10320   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10321
10322 for ac_func in fpclass
10323 do
10324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10325 echo "$as_me:$LINENO: checking for $ac_func" >&5
10326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10327 if eval "test \"\${$as_ac_var+set}\" = set"; then
10328   echo $ECHO_N "(cached) $ECHO_C" >&6
10329 else
10330   if test x$gcc_no_link = xyes; then
10331   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10333    { (exit 1); exit 1; }; }
10334 fi
10335 cat >conftest.$ac_ext <<_ACEOF
10336 /* confdefs.h.  */
10337 _ACEOF
10338 cat confdefs.h >>conftest.$ac_ext
10339 cat >>conftest.$ac_ext <<_ACEOF
10340 /* end confdefs.h.  */
10341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10342    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10343 #define $ac_func innocuous_$ac_func
10344
10345 /* System header to define __stub macros and hopefully few prototypes,
10346     which can conflict with char $ac_func (); below.
10347     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10348     <limits.h> exists even on freestanding compilers.  */
10349
10350 #ifdef __STDC__
10351 # include <limits.h>
10352 #else
10353 # include <assert.h>
10354 #endif
10355
10356 #undef $ac_func
10357
10358 /* Override any gcc2 internal prototype to avoid an error.  */
10359 #ifdef __cplusplus
10360 extern "C"
10361 {
10362 #endif
10363 /* We use char because int might match the return type of a gcc2
10364    builtin and then its argument prototype would still apply.  */
10365 char $ac_func ();
10366 /* The GNU C library defines this for functions which it implements
10367     to always fail with ENOSYS.  Some functions are actually named
10368     something starting with __ and the normal name is an alias.  */
10369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10370 choke me
10371 #else
10372 char (*f) () = $ac_func;
10373 #endif
10374 #ifdef __cplusplus
10375 }
10376 #endif
10377
10378 int
10379 main ()
10380 {
10381 return f != $ac_func;
10382   ;
10383   return 0;
10384 }
10385 _ACEOF
10386 rm -f conftest.$ac_objext conftest$ac_exeext
10387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10388   (eval $ac_link) 2>conftest.er1
10389   ac_status=$?
10390   grep -v '^ *+' conftest.er1 >conftest.err
10391   rm -f conftest.er1
10392   cat conftest.err >&5
10393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10394   (exit $ac_status); } &&
10395          { ac_try='test -z "$ac_c_werror_flag"
10396                          || test ! -s conftest.err'
10397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10398   (eval $ac_try) 2>&5
10399   ac_status=$?
10400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10401   (exit $ac_status); }; } &&
10402          { ac_try='test -s conftest$ac_exeext'
10403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10404   (eval $ac_try) 2>&5
10405   ac_status=$?
10406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10407   (exit $ac_status); }; }; then
10408   eval "$as_ac_var=yes"
10409 else
10410   echo "$as_me: failed program was:" >&5
10411 sed 's/^/| /' conftest.$ac_ext >&5
10412
10413 eval "$as_ac_var=no"
10414 fi
10415 rm -f conftest.err conftest.$ac_objext \
10416       conftest$ac_exeext conftest.$ac_ext
10417 fi
10418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10420 if test `eval echo '${'$as_ac_var'}'` = yes; then
10421   cat >>confdefs.h <<_ACEOF
10422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10423 _ACEOF
10424
10425 fi
10426 done
10427
10428   else
10429
10430   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10431 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10432   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10433     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10434   echo $ECHO_N "(cached) $ECHO_C" >&6
10435 else
10436
10437
10438
10439       ac_ext=cc
10440 ac_cpp='$CXXCPP $CPPFLAGS'
10441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10444
10445       cat >conftest.$ac_ext <<_ACEOF
10446 /* confdefs.h.  */
10447 _ACEOF
10448 cat confdefs.h >>conftest.$ac_ext
10449 cat >>conftest.$ac_ext <<_ACEOF
10450 /* end confdefs.h.  */
10451 #include <math.h>
10452                       #ifdef HAVE_IEEEFP_H
10453                       #include <ieeefp.h>
10454                       #endif
10455
10456 int
10457 main ()
10458 {
10459  _fpclass(0);
10460   ;
10461   return 0;
10462 }
10463 _ACEOF
10464 rm -f conftest.$ac_objext
10465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10466   (eval $ac_compile) 2>conftest.er1
10467   ac_status=$?
10468   grep -v '^ *+' conftest.er1 >conftest.err
10469   rm -f conftest.er1
10470   cat conftest.err >&5
10471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10472   (exit $ac_status); } &&
10473          { ac_try='test -z "$ac_cxx_werror_flag"
10474                          || test ! -s conftest.err'
10475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10476   (eval $ac_try) 2>&5
10477   ac_status=$?
10478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10479   (exit $ac_status); }; } &&
10480          { ac_try='test -s conftest.$ac_objext'
10481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10482   (eval $ac_try) 2>&5
10483   ac_status=$?
10484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10485   (exit $ac_status); }; }; then
10486   glibcxx_cv_func__fpclass_use=yes
10487 else
10488   echo "$as_me: failed program was:" >&5
10489 sed 's/^/| /' conftest.$ac_ext >&5
10490
10491 glibcxx_cv_func__fpclass_use=no
10492 fi
10493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10494       ac_ext=c
10495 ac_cpp='$CPP $CPPFLAGS'
10496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10499
10500
10501 fi
10502
10503   fi
10504   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10505 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10506
10507     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10508
10509 for ac_func in _fpclass
10510 do
10511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10512 echo "$as_me:$LINENO: checking for $ac_func" >&5
10513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10514 if eval "test \"\${$as_ac_var+set}\" = set"; then
10515   echo $ECHO_N "(cached) $ECHO_C" >&6
10516 else
10517   if test x$gcc_no_link = xyes; then
10518   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10520    { (exit 1); exit 1; }; }
10521 fi
10522 cat >conftest.$ac_ext <<_ACEOF
10523 /* confdefs.h.  */
10524 _ACEOF
10525 cat confdefs.h >>conftest.$ac_ext
10526 cat >>conftest.$ac_ext <<_ACEOF
10527 /* end confdefs.h.  */
10528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10529    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10530 #define $ac_func innocuous_$ac_func
10531
10532 /* System header to define __stub macros and hopefully few prototypes,
10533     which can conflict with char $ac_func (); below.
10534     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10535     <limits.h> exists even on freestanding compilers.  */
10536
10537 #ifdef __STDC__
10538 # include <limits.h>
10539 #else
10540 # include <assert.h>
10541 #endif
10542
10543 #undef $ac_func
10544
10545 /* Override any gcc2 internal prototype to avoid an error.  */
10546 #ifdef __cplusplus
10547 extern "C"
10548 {
10549 #endif
10550 /* We use char because int might match the return type of a gcc2
10551    builtin and then its argument prototype would still apply.  */
10552 char $ac_func ();
10553 /* The GNU C library defines this for functions which it implements
10554     to always fail with ENOSYS.  Some functions are actually named
10555     something starting with __ and the normal name is an alias.  */
10556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10557 choke me
10558 #else
10559 char (*f) () = $ac_func;
10560 #endif
10561 #ifdef __cplusplus
10562 }
10563 #endif
10564
10565 int
10566 main ()
10567 {
10568 return f != $ac_func;
10569   ;
10570   return 0;
10571 }
10572 _ACEOF
10573 rm -f conftest.$ac_objext conftest$ac_exeext
10574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10575   (eval $ac_link) 2>conftest.er1
10576   ac_status=$?
10577   grep -v '^ *+' conftest.er1 >conftest.err
10578   rm -f conftest.er1
10579   cat conftest.err >&5
10580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10581   (exit $ac_status); } &&
10582          { ac_try='test -z "$ac_c_werror_flag"
10583                          || test ! -s conftest.err'
10584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10585   (eval $ac_try) 2>&5
10586   ac_status=$?
10587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10588   (exit $ac_status); }; } &&
10589          { ac_try='test -s conftest$ac_exeext'
10590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10591   (eval $ac_try) 2>&5
10592   ac_status=$?
10593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10594   (exit $ac_status); }; }; then
10595   eval "$as_ac_var=yes"
10596 else
10597   echo "$as_me: failed program was:" >&5
10598 sed 's/^/| /' conftest.$ac_ext >&5
10599
10600 eval "$as_ac_var=no"
10601 fi
10602 rm -f conftest.err conftest.$ac_objext \
10603       conftest$ac_exeext conftest.$ac_ext
10604 fi
10605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10607 if test `eval echo '${'$as_ac_var'}'` = yes; then
10608   cat >>confdefs.h <<_ACEOF
10609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10610 _ACEOF
10611
10612 fi
10613 done
10614
10615     fi
10616   fi
10617
10618
10619
10620   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10621 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10622   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10623     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10624   echo $ECHO_N "(cached) $ECHO_C" >&6
10625 else
10626
10627
10628
10629       ac_ext=cc
10630 ac_cpp='$CXXCPP $CPPFLAGS'
10631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10634
10635       cat >conftest.$ac_ext <<_ACEOF
10636 /* confdefs.h.  */
10637 _ACEOF
10638 cat confdefs.h >>conftest.$ac_ext
10639 cat >>conftest.$ac_ext <<_ACEOF
10640 /* end confdefs.h.  */
10641 #include <math.h>
10642                       #ifdef HAVE_IEEEFP_H
10643                       #include <ieeefp.h>
10644                       #endif
10645
10646 int
10647 main ()
10648 {
10649  qfpclass(0);
10650   ;
10651   return 0;
10652 }
10653 _ACEOF
10654 rm -f conftest.$ac_objext
10655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10656   (eval $ac_compile) 2>conftest.er1
10657   ac_status=$?
10658   grep -v '^ *+' conftest.er1 >conftest.err
10659   rm -f conftest.er1
10660   cat conftest.err >&5
10661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10662   (exit $ac_status); } &&
10663          { ac_try='test -z "$ac_cxx_werror_flag"
10664                          || test ! -s conftest.err'
10665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10666   (eval $ac_try) 2>&5
10667   ac_status=$?
10668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10669   (exit $ac_status); }; } &&
10670          { ac_try='test -s conftest.$ac_objext'
10671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10672   (eval $ac_try) 2>&5
10673   ac_status=$?
10674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10675   (exit $ac_status); }; }; then
10676   glibcxx_cv_func_qfpclass_use=yes
10677 else
10678   echo "$as_me: failed program was:" >&5
10679 sed 's/^/| /' conftest.$ac_ext >&5
10680
10681 glibcxx_cv_func_qfpclass_use=no
10682 fi
10683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10684       ac_ext=c
10685 ac_cpp='$CPP $CPPFLAGS'
10686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10689
10690
10691 fi
10692
10693   fi
10694   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10695 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10696
10697   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10698
10699 for ac_func in qfpclass
10700 do
10701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10702 echo "$as_me:$LINENO: checking for $ac_func" >&5
10703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10704 if eval "test \"\${$as_ac_var+set}\" = set"; then
10705   echo $ECHO_N "(cached) $ECHO_C" >&6
10706 else
10707   if test x$gcc_no_link = xyes; then
10708   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10710    { (exit 1); exit 1; }; }
10711 fi
10712 cat >conftest.$ac_ext <<_ACEOF
10713 /* confdefs.h.  */
10714 _ACEOF
10715 cat confdefs.h >>conftest.$ac_ext
10716 cat >>conftest.$ac_ext <<_ACEOF
10717 /* end confdefs.h.  */
10718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10719    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10720 #define $ac_func innocuous_$ac_func
10721
10722 /* System header to define __stub macros and hopefully few prototypes,
10723     which can conflict with char $ac_func (); below.
10724     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10725     <limits.h> exists even on freestanding compilers.  */
10726
10727 #ifdef __STDC__
10728 # include <limits.h>
10729 #else
10730 # include <assert.h>
10731 #endif
10732
10733 #undef $ac_func
10734
10735 /* Override any gcc2 internal prototype to avoid an error.  */
10736 #ifdef __cplusplus
10737 extern "C"
10738 {
10739 #endif
10740 /* We use char because int might match the return type of a gcc2
10741    builtin and then its argument prototype would still apply.  */
10742 char $ac_func ();
10743 /* The GNU C library defines this for functions which it implements
10744     to always fail with ENOSYS.  Some functions are actually named
10745     something starting with __ and the normal name is an alias.  */
10746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10747 choke me
10748 #else
10749 char (*f) () = $ac_func;
10750 #endif
10751 #ifdef __cplusplus
10752 }
10753 #endif
10754
10755 int
10756 main ()
10757 {
10758 return f != $ac_func;
10759   ;
10760   return 0;
10761 }
10762 _ACEOF
10763 rm -f conftest.$ac_objext conftest$ac_exeext
10764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10765   (eval $ac_link) 2>conftest.er1
10766   ac_status=$?
10767   grep -v '^ *+' conftest.er1 >conftest.err
10768   rm -f conftest.er1
10769   cat conftest.err >&5
10770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10771   (exit $ac_status); } &&
10772          { ac_try='test -z "$ac_c_werror_flag"
10773                          || test ! -s conftest.err'
10774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10775   (eval $ac_try) 2>&5
10776   ac_status=$?
10777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10778   (exit $ac_status); }; } &&
10779          { ac_try='test -s conftest$ac_exeext'
10780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10781   (eval $ac_try) 2>&5
10782   ac_status=$?
10783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10784   (exit $ac_status); }; }; then
10785   eval "$as_ac_var=yes"
10786 else
10787   echo "$as_me: failed program was:" >&5
10788 sed 's/^/| /' conftest.$ac_ext >&5
10789
10790 eval "$as_ac_var=no"
10791 fi
10792 rm -f conftest.err conftest.$ac_objext \
10793       conftest$ac_exeext conftest.$ac_ext
10794 fi
10795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10797 if test `eval echo '${'$as_ac_var'}'` = yes; then
10798   cat >>confdefs.h <<_ACEOF
10799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10800 _ACEOF
10801
10802 fi
10803 done
10804
10805   else
10806
10807   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10808 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10809   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10810     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10811   echo $ECHO_N "(cached) $ECHO_C" >&6
10812 else
10813
10814
10815
10816       ac_ext=cc
10817 ac_cpp='$CXXCPP $CPPFLAGS'
10818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10821
10822       cat >conftest.$ac_ext <<_ACEOF
10823 /* confdefs.h.  */
10824 _ACEOF
10825 cat confdefs.h >>conftest.$ac_ext
10826 cat >>conftest.$ac_ext <<_ACEOF
10827 /* end confdefs.h.  */
10828 #include <math.h>
10829                       #ifdef HAVE_IEEEFP_H
10830                       #include <ieeefp.h>
10831                       #endif
10832
10833 int
10834 main ()
10835 {
10836  _qfpclass(0);
10837   ;
10838   return 0;
10839 }
10840 _ACEOF
10841 rm -f conftest.$ac_objext
10842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10843   (eval $ac_compile) 2>conftest.er1
10844   ac_status=$?
10845   grep -v '^ *+' conftest.er1 >conftest.err
10846   rm -f conftest.er1
10847   cat conftest.err >&5
10848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10849   (exit $ac_status); } &&
10850          { ac_try='test -z "$ac_cxx_werror_flag"
10851                          || test ! -s conftest.err'
10852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10853   (eval $ac_try) 2>&5
10854   ac_status=$?
10855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10856   (exit $ac_status); }; } &&
10857          { ac_try='test -s conftest.$ac_objext'
10858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10859   (eval $ac_try) 2>&5
10860   ac_status=$?
10861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10862   (exit $ac_status); }; }; then
10863   glibcxx_cv_func__qfpclass_use=yes
10864 else
10865   echo "$as_me: failed program was:" >&5
10866 sed 's/^/| /' conftest.$ac_ext >&5
10867
10868 glibcxx_cv_func__qfpclass_use=no
10869 fi
10870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10871       ac_ext=c
10872 ac_cpp='$CPP $CPPFLAGS'
10873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10876
10877
10878 fi
10879
10880   fi
10881   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10882 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10883
10884     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10885
10886 for ac_func in _qfpclass
10887 do
10888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10889 echo "$as_me:$LINENO: checking for $ac_func" >&5
10890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10891 if eval "test \"\${$as_ac_var+set}\" = set"; then
10892   echo $ECHO_N "(cached) $ECHO_C" >&6
10893 else
10894   if test x$gcc_no_link = xyes; then
10895   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10897    { (exit 1); exit 1; }; }
10898 fi
10899 cat >conftest.$ac_ext <<_ACEOF
10900 /* confdefs.h.  */
10901 _ACEOF
10902 cat confdefs.h >>conftest.$ac_ext
10903 cat >>conftest.$ac_ext <<_ACEOF
10904 /* end confdefs.h.  */
10905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10906    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10907 #define $ac_func innocuous_$ac_func
10908
10909 /* System header to define __stub macros and hopefully few prototypes,
10910     which can conflict with char $ac_func (); below.
10911     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10912     <limits.h> exists even on freestanding compilers.  */
10913
10914 #ifdef __STDC__
10915 # include <limits.h>
10916 #else
10917 # include <assert.h>
10918 #endif
10919
10920 #undef $ac_func
10921
10922 /* Override any gcc2 internal prototype to avoid an error.  */
10923 #ifdef __cplusplus
10924 extern "C"
10925 {
10926 #endif
10927 /* We use char because int might match the return type of a gcc2
10928    builtin and then its argument prototype would still apply.  */
10929 char $ac_func ();
10930 /* The GNU C library defines this for functions which it implements
10931     to always fail with ENOSYS.  Some functions are actually named
10932     something starting with __ and the normal name is an alias.  */
10933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10934 choke me
10935 #else
10936 char (*f) () = $ac_func;
10937 #endif
10938 #ifdef __cplusplus
10939 }
10940 #endif
10941
10942 int
10943 main ()
10944 {
10945 return f != $ac_func;
10946   ;
10947   return 0;
10948 }
10949 _ACEOF
10950 rm -f conftest.$ac_objext conftest$ac_exeext
10951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10952   (eval $ac_link) 2>conftest.er1
10953   ac_status=$?
10954   grep -v '^ *+' conftest.er1 >conftest.err
10955   rm -f conftest.er1
10956   cat conftest.err >&5
10957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10958   (exit $ac_status); } &&
10959          { ac_try='test -z "$ac_c_werror_flag"
10960                          || test ! -s conftest.err'
10961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10962   (eval $ac_try) 2>&5
10963   ac_status=$?
10964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10965   (exit $ac_status); }; } &&
10966          { ac_try='test -s conftest$ac_exeext'
10967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10968   (eval $ac_try) 2>&5
10969   ac_status=$?
10970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10971   (exit $ac_status); }; }; then
10972   eval "$as_ac_var=yes"
10973 else
10974   echo "$as_me: failed program was:" >&5
10975 sed 's/^/| /' conftest.$ac_ext >&5
10976
10977 eval "$as_ac_var=no"
10978 fi
10979 rm -f conftest.err conftest.$ac_objext \
10980       conftest$ac_exeext conftest.$ac_ext
10981 fi
10982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10984 if test `eval echo '${'$as_ac_var'}'` = yes; then
10985   cat >>confdefs.h <<_ACEOF
10986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10987 _ACEOF
10988
10989 fi
10990 done
10991
10992     fi
10993   fi
10994
10995
10996
10997   echo "$as_me:$LINENO: checking for hypot declaration" >&5
10998 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
10999   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
11000     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11001   echo $ECHO_N "(cached) $ECHO_C" >&6
11002 else
11003
11004
11005
11006       ac_ext=cc
11007 ac_cpp='$CXXCPP $CPPFLAGS'
11008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11011
11012       cat >conftest.$ac_ext <<_ACEOF
11013 /* confdefs.h.  */
11014 _ACEOF
11015 cat confdefs.h >>conftest.$ac_ext
11016 cat >>conftest.$ac_ext <<_ACEOF
11017 /* end confdefs.h.  */
11018 #include <math.h>
11019 int
11020 main ()
11021 {
11022  hypot(0, 0);
11023   ;
11024   return 0;
11025 }
11026 _ACEOF
11027 rm -f conftest.$ac_objext
11028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11029   (eval $ac_compile) 2>conftest.er1
11030   ac_status=$?
11031   grep -v '^ *+' conftest.er1 >conftest.err
11032   rm -f conftest.er1
11033   cat conftest.err >&5
11034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11035   (exit $ac_status); } &&
11036          { ac_try='test -z "$ac_cxx_werror_flag"
11037                          || test ! -s conftest.err'
11038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11039   (eval $ac_try) 2>&5
11040   ac_status=$?
11041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11042   (exit $ac_status); }; } &&
11043          { ac_try='test -s conftest.$ac_objext'
11044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11045   (eval $ac_try) 2>&5
11046   ac_status=$?
11047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11048   (exit $ac_status); }; }; then
11049   glibcxx_cv_func_hypot_use=yes
11050 else
11051   echo "$as_me: failed program was:" >&5
11052 sed 's/^/| /' conftest.$ac_ext >&5
11053
11054 glibcxx_cv_func_hypot_use=no
11055 fi
11056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11057       ac_ext=c
11058 ac_cpp='$CPP $CPPFLAGS'
11059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11062
11063
11064 fi
11065
11066   fi
11067   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11068 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11069
11070   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11071
11072 for ac_func in hypot
11073 do
11074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11075 echo "$as_me:$LINENO: checking for $ac_func" >&5
11076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11077 if eval "test \"\${$as_ac_var+set}\" = set"; then
11078   echo $ECHO_N "(cached) $ECHO_C" >&6
11079 else
11080   if test x$gcc_no_link = xyes; then
11081   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11083    { (exit 1); exit 1; }; }
11084 fi
11085 cat >conftest.$ac_ext <<_ACEOF
11086 /* confdefs.h.  */
11087 _ACEOF
11088 cat confdefs.h >>conftest.$ac_ext
11089 cat >>conftest.$ac_ext <<_ACEOF
11090 /* end confdefs.h.  */
11091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11092    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11093 #define $ac_func innocuous_$ac_func
11094
11095 /* System header to define __stub macros and hopefully few prototypes,
11096     which can conflict with char $ac_func (); below.
11097     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11098     <limits.h> exists even on freestanding compilers.  */
11099
11100 #ifdef __STDC__
11101 # include <limits.h>
11102 #else
11103 # include <assert.h>
11104 #endif
11105
11106 #undef $ac_func
11107
11108 /* Override any gcc2 internal prototype to avoid an error.  */
11109 #ifdef __cplusplus
11110 extern "C"
11111 {
11112 #endif
11113 /* We use char because int might match the return type of a gcc2
11114    builtin and then its argument prototype would still apply.  */
11115 char $ac_func ();
11116 /* The GNU C library defines this for functions which it implements
11117     to always fail with ENOSYS.  Some functions are actually named
11118     something starting with __ and the normal name is an alias.  */
11119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11120 choke me
11121 #else
11122 char (*f) () = $ac_func;
11123 #endif
11124 #ifdef __cplusplus
11125 }
11126 #endif
11127
11128 int
11129 main ()
11130 {
11131 return f != $ac_func;
11132   ;
11133   return 0;
11134 }
11135 _ACEOF
11136 rm -f conftest.$ac_objext conftest$ac_exeext
11137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11138   (eval $ac_link) 2>conftest.er1
11139   ac_status=$?
11140   grep -v '^ *+' conftest.er1 >conftest.err
11141   rm -f conftest.er1
11142   cat conftest.err >&5
11143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11144   (exit $ac_status); } &&
11145          { ac_try='test -z "$ac_c_werror_flag"
11146                          || test ! -s conftest.err'
11147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11148   (eval $ac_try) 2>&5
11149   ac_status=$?
11150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11151   (exit $ac_status); }; } &&
11152          { ac_try='test -s conftest$ac_exeext'
11153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11154   (eval $ac_try) 2>&5
11155   ac_status=$?
11156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11157   (exit $ac_status); }; }; then
11158   eval "$as_ac_var=yes"
11159 else
11160   echo "$as_me: failed program was:" >&5
11161 sed 's/^/| /' conftest.$ac_ext >&5
11162
11163 eval "$as_ac_var=no"
11164 fi
11165 rm -f conftest.err conftest.$ac_objext \
11166       conftest$ac_exeext conftest.$ac_ext
11167 fi
11168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11170 if test `eval echo '${'$as_ac_var'}'` = yes; then
11171   cat >>confdefs.h <<_ACEOF
11172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11173 _ACEOF
11174
11175 fi
11176 done
11177
11178   else
11179
11180   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11181 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11182   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11183     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11184   echo $ECHO_N "(cached) $ECHO_C" >&6
11185 else
11186
11187
11188
11189       ac_ext=cc
11190 ac_cpp='$CXXCPP $CPPFLAGS'
11191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11194
11195       cat >conftest.$ac_ext <<_ACEOF
11196 /* confdefs.h.  */
11197 _ACEOF
11198 cat confdefs.h >>conftest.$ac_ext
11199 cat >>conftest.$ac_ext <<_ACEOF
11200 /* end confdefs.h.  */
11201 #include <math.h>
11202 int
11203 main ()
11204 {
11205  _hypot(0, 0);
11206   ;
11207   return 0;
11208 }
11209 _ACEOF
11210 rm -f conftest.$ac_objext
11211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11212   (eval $ac_compile) 2>conftest.er1
11213   ac_status=$?
11214   grep -v '^ *+' conftest.er1 >conftest.err
11215   rm -f conftest.er1
11216   cat conftest.err >&5
11217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11218   (exit $ac_status); } &&
11219          { ac_try='test -z "$ac_cxx_werror_flag"
11220                          || test ! -s conftest.err'
11221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11222   (eval $ac_try) 2>&5
11223   ac_status=$?
11224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225   (exit $ac_status); }; } &&
11226          { ac_try='test -s conftest.$ac_objext'
11227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11228   (eval $ac_try) 2>&5
11229   ac_status=$?
11230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11231   (exit $ac_status); }; }; then
11232   glibcxx_cv_func__hypot_use=yes
11233 else
11234   echo "$as_me: failed program was:" >&5
11235 sed 's/^/| /' conftest.$ac_ext >&5
11236
11237 glibcxx_cv_func__hypot_use=no
11238 fi
11239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11240       ac_ext=c
11241 ac_cpp='$CPP $CPPFLAGS'
11242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11245
11246
11247 fi
11248
11249   fi
11250   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11251 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11252
11253     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11254
11255 for ac_func in _hypot
11256 do
11257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11258 echo "$as_me:$LINENO: checking for $ac_func" >&5
11259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11260 if eval "test \"\${$as_ac_var+set}\" = set"; then
11261   echo $ECHO_N "(cached) $ECHO_C" >&6
11262 else
11263   if test x$gcc_no_link = xyes; then
11264   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11266    { (exit 1); exit 1; }; }
11267 fi
11268 cat >conftest.$ac_ext <<_ACEOF
11269 /* confdefs.h.  */
11270 _ACEOF
11271 cat confdefs.h >>conftest.$ac_ext
11272 cat >>conftest.$ac_ext <<_ACEOF
11273 /* end confdefs.h.  */
11274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11275    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11276 #define $ac_func innocuous_$ac_func
11277
11278 /* System header to define __stub macros and hopefully few prototypes,
11279     which can conflict with char $ac_func (); below.
11280     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11281     <limits.h> exists even on freestanding compilers.  */
11282
11283 #ifdef __STDC__
11284 # include <limits.h>
11285 #else
11286 # include <assert.h>
11287 #endif
11288
11289 #undef $ac_func
11290
11291 /* Override any gcc2 internal prototype to avoid an error.  */
11292 #ifdef __cplusplus
11293 extern "C"
11294 {
11295 #endif
11296 /* We use char because int might match the return type of a gcc2
11297    builtin and then its argument prototype would still apply.  */
11298 char $ac_func ();
11299 /* The GNU C library defines this for functions which it implements
11300     to always fail with ENOSYS.  Some functions are actually named
11301     something starting with __ and the normal name is an alias.  */
11302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11303 choke me
11304 #else
11305 char (*f) () = $ac_func;
11306 #endif
11307 #ifdef __cplusplus
11308 }
11309 #endif
11310
11311 int
11312 main ()
11313 {
11314 return f != $ac_func;
11315   ;
11316   return 0;
11317 }
11318 _ACEOF
11319 rm -f conftest.$ac_objext conftest$ac_exeext
11320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11321   (eval $ac_link) 2>conftest.er1
11322   ac_status=$?
11323   grep -v '^ *+' conftest.er1 >conftest.err
11324   rm -f conftest.er1
11325   cat conftest.err >&5
11326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11327   (exit $ac_status); } &&
11328          { ac_try='test -z "$ac_c_werror_flag"
11329                          || test ! -s conftest.err'
11330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11331   (eval $ac_try) 2>&5
11332   ac_status=$?
11333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11334   (exit $ac_status); }; } &&
11335          { ac_try='test -s conftest$ac_exeext'
11336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11337   (eval $ac_try) 2>&5
11338   ac_status=$?
11339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11340   (exit $ac_status); }; }; then
11341   eval "$as_ac_var=yes"
11342 else
11343   echo "$as_me: failed program was:" >&5
11344 sed 's/^/| /' conftest.$ac_ext >&5
11345
11346 eval "$as_ac_var=no"
11347 fi
11348 rm -f conftest.err conftest.$ac_objext \
11349       conftest$ac_exeext conftest.$ac_ext
11350 fi
11351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11353 if test `eval echo '${'$as_ac_var'}'` = yes; then
11354   cat >>confdefs.h <<_ACEOF
11355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11356 _ACEOF
11357
11358 fi
11359 done
11360
11361     fi
11362   fi
11363
11364
11365
11366   echo "$as_me:$LINENO: checking for float trig functions" >&5
11367 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11368   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11369   echo $ECHO_N "(cached) $ECHO_C" >&6
11370 else
11371
11372
11373
11374     ac_ext=cc
11375 ac_cpp='$CXXCPP $CPPFLAGS'
11376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11379
11380     cat >conftest.$ac_ext <<_ACEOF
11381 /* confdefs.h.  */
11382 _ACEOF
11383 cat confdefs.h >>conftest.$ac_ext
11384 cat >>conftest.$ac_ext <<_ACEOF
11385 /* end confdefs.h.  */
11386 #include <math.h>
11387 int
11388 main ()
11389 {
11390  `for x in acosf asinf atanf \
11391                                           cosf sinf tanf \
11392                                           coshf sinhf tanhf; do echo "$x (0);"; done`
11393   ;
11394   return 0;
11395 }
11396 _ACEOF
11397 rm -f conftest.$ac_objext
11398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11399   (eval $ac_compile) 2>conftest.er1
11400   ac_status=$?
11401   grep -v '^ *+' conftest.er1 >conftest.err
11402   rm -f conftest.er1
11403   cat conftest.err >&5
11404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11405   (exit $ac_status); } &&
11406          { ac_try='test -z "$ac_cxx_werror_flag"
11407                          || test ! -s conftest.err'
11408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11409   (eval $ac_try) 2>&5
11410   ac_status=$?
11411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11412   (exit $ac_status); }; } &&
11413          { ac_try='test -s conftest.$ac_objext'
11414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11415   (eval $ac_try) 2>&5
11416   ac_status=$?
11417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11418   (exit $ac_status); }; }; then
11419   glibcxx_cv_func_float_trig_use=yes
11420 else
11421   echo "$as_me: failed program was:" >&5
11422 sed 's/^/| /' conftest.$ac_ext >&5
11423
11424 glibcxx_cv_func_float_trig_use=no
11425 fi
11426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11427     ac_ext=c
11428 ac_cpp='$CPP $CPPFLAGS'
11429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11432
11433 fi
11434
11435   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11436 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11437   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447 for ac_func in acosf asinf atanf \
11448                                           cosf sinf tanf \
11449                                           coshf sinhf tanhf
11450 do
11451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11452 echo "$as_me:$LINENO: checking for $ac_func" >&5
11453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11454 if eval "test \"\${$as_ac_var+set}\" = set"; then
11455   echo $ECHO_N "(cached) $ECHO_C" >&6
11456 else
11457   if test x$gcc_no_link = xyes; then
11458   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11460    { (exit 1); exit 1; }; }
11461 fi
11462 cat >conftest.$ac_ext <<_ACEOF
11463 /* confdefs.h.  */
11464 _ACEOF
11465 cat confdefs.h >>conftest.$ac_ext
11466 cat >>conftest.$ac_ext <<_ACEOF
11467 /* end confdefs.h.  */
11468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11469    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11470 #define $ac_func innocuous_$ac_func
11471
11472 /* System header to define __stub macros and hopefully few prototypes,
11473     which can conflict with char $ac_func (); below.
11474     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11475     <limits.h> exists even on freestanding compilers.  */
11476
11477 #ifdef __STDC__
11478 # include <limits.h>
11479 #else
11480 # include <assert.h>
11481 #endif
11482
11483 #undef $ac_func
11484
11485 /* Override any gcc2 internal prototype to avoid an error.  */
11486 #ifdef __cplusplus
11487 extern "C"
11488 {
11489 #endif
11490 /* We use char because int might match the return type of a gcc2
11491    builtin and then its argument prototype would still apply.  */
11492 char $ac_func ();
11493 /* The GNU C library defines this for functions which it implements
11494     to always fail with ENOSYS.  Some functions are actually named
11495     something starting with __ and the normal name is an alias.  */
11496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11497 choke me
11498 #else
11499 char (*f) () = $ac_func;
11500 #endif
11501 #ifdef __cplusplus
11502 }
11503 #endif
11504
11505 int
11506 main ()
11507 {
11508 return f != $ac_func;
11509   ;
11510   return 0;
11511 }
11512 _ACEOF
11513 rm -f conftest.$ac_objext conftest$ac_exeext
11514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11515   (eval $ac_link) 2>conftest.er1
11516   ac_status=$?
11517   grep -v '^ *+' conftest.er1 >conftest.err
11518   rm -f conftest.er1
11519   cat conftest.err >&5
11520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11521   (exit $ac_status); } &&
11522          { ac_try='test -z "$ac_c_werror_flag"
11523                          || test ! -s conftest.err'
11524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11525   (eval $ac_try) 2>&5
11526   ac_status=$?
11527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11528   (exit $ac_status); }; } &&
11529          { ac_try='test -s conftest$ac_exeext'
11530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11531   (eval $ac_try) 2>&5
11532   ac_status=$?
11533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11534   (exit $ac_status); }; }; then
11535   eval "$as_ac_var=yes"
11536 else
11537   echo "$as_me: failed program was:" >&5
11538 sed 's/^/| /' conftest.$ac_ext >&5
11539
11540 eval "$as_ac_var=no"
11541 fi
11542 rm -f conftest.err conftest.$ac_objext \
11543       conftest$ac_exeext conftest.$ac_ext
11544 fi
11545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11547 if test `eval echo '${'$as_ac_var'}'` = yes; then
11548   cat >>confdefs.h <<_ACEOF
11549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11550 _ACEOF
11551
11552 fi
11553 done
11554
11555   fi
11556
11557
11558   echo "$as_me:$LINENO: checking for float round functions" >&5
11559 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11560   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11561   echo $ECHO_N "(cached) $ECHO_C" >&6
11562 else
11563
11564
11565
11566     ac_ext=cc
11567 ac_cpp='$CXXCPP $CPPFLAGS'
11568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11571
11572     cat >conftest.$ac_ext <<_ACEOF
11573 /* confdefs.h.  */
11574 _ACEOF
11575 cat confdefs.h >>conftest.$ac_ext
11576 cat >>conftest.$ac_ext <<_ACEOF
11577 /* end confdefs.h.  */
11578 #include <math.h>
11579 int
11580 main ()
11581 {
11582  `for x in ceilf floorf; do echo "$x (0);"; done`
11583   ;
11584   return 0;
11585 }
11586 _ACEOF
11587 rm -f conftest.$ac_objext
11588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11589   (eval $ac_compile) 2>conftest.er1
11590   ac_status=$?
11591   grep -v '^ *+' conftest.er1 >conftest.err
11592   rm -f conftest.er1
11593   cat conftest.err >&5
11594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11595   (exit $ac_status); } &&
11596          { ac_try='test -z "$ac_cxx_werror_flag"
11597                          || test ! -s conftest.err'
11598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11599   (eval $ac_try) 2>&5
11600   ac_status=$?
11601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11602   (exit $ac_status); }; } &&
11603          { ac_try='test -s conftest.$ac_objext'
11604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11605   (eval $ac_try) 2>&5
11606   ac_status=$?
11607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11608   (exit $ac_status); }; }; then
11609   glibcxx_cv_func_float_round_use=yes
11610 else
11611   echo "$as_me: failed program was:" >&5
11612 sed 's/^/| /' conftest.$ac_ext >&5
11613
11614 glibcxx_cv_func_float_round_use=no
11615 fi
11616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11617     ac_ext=c
11618 ac_cpp='$CPP $CPPFLAGS'
11619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11622
11623 fi
11624
11625   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11626 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11627   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11628
11629
11630 for ac_func in ceilf floorf
11631 do
11632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11633 echo "$as_me:$LINENO: checking for $ac_func" >&5
11634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11635 if eval "test \"\${$as_ac_var+set}\" = set"; then
11636   echo $ECHO_N "(cached) $ECHO_C" >&6
11637 else
11638   if test x$gcc_no_link = xyes; then
11639   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11641    { (exit 1); exit 1; }; }
11642 fi
11643 cat >conftest.$ac_ext <<_ACEOF
11644 /* confdefs.h.  */
11645 _ACEOF
11646 cat confdefs.h >>conftest.$ac_ext
11647 cat >>conftest.$ac_ext <<_ACEOF
11648 /* end confdefs.h.  */
11649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11650    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11651 #define $ac_func innocuous_$ac_func
11652
11653 /* System header to define __stub macros and hopefully few prototypes,
11654     which can conflict with char $ac_func (); below.
11655     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11656     <limits.h> exists even on freestanding compilers.  */
11657
11658 #ifdef __STDC__
11659 # include <limits.h>
11660 #else
11661 # include <assert.h>
11662 #endif
11663
11664 #undef $ac_func
11665
11666 /* Override any gcc2 internal prototype to avoid an error.  */
11667 #ifdef __cplusplus
11668 extern "C"
11669 {
11670 #endif
11671 /* We use char because int might match the return type of a gcc2
11672    builtin and then its argument prototype would still apply.  */
11673 char $ac_func ();
11674 /* The GNU C library defines this for functions which it implements
11675     to always fail with ENOSYS.  Some functions are actually named
11676     something starting with __ and the normal name is an alias.  */
11677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11678 choke me
11679 #else
11680 char (*f) () = $ac_func;
11681 #endif
11682 #ifdef __cplusplus
11683 }
11684 #endif
11685
11686 int
11687 main ()
11688 {
11689 return f != $ac_func;
11690   ;
11691   return 0;
11692 }
11693 _ACEOF
11694 rm -f conftest.$ac_objext conftest$ac_exeext
11695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11696   (eval $ac_link) 2>conftest.er1
11697   ac_status=$?
11698   grep -v '^ *+' conftest.er1 >conftest.err
11699   rm -f conftest.er1
11700   cat conftest.err >&5
11701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11702   (exit $ac_status); } &&
11703          { ac_try='test -z "$ac_c_werror_flag"
11704                          || test ! -s conftest.err'
11705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11706   (eval $ac_try) 2>&5
11707   ac_status=$?
11708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11709   (exit $ac_status); }; } &&
11710          { ac_try='test -s conftest$ac_exeext'
11711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11712   (eval $ac_try) 2>&5
11713   ac_status=$?
11714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11715   (exit $ac_status); }; }; then
11716   eval "$as_ac_var=yes"
11717 else
11718   echo "$as_me: failed program was:" >&5
11719 sed 's/^/| /' conftest.$ac_ext >&5
11720
11721 eval "$as_ac_var=no"
11722 fi
11723 rm -f conftest.err conftest.$ac_objext \
11724       conftest$ac_exeext conftest.$ac_ext
11725 fi
11726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11728 if test `eval echo '${'$as_ac_var'}'` = yes; then
11729   cat >>confdefs.h <<_ACEOF
11730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11731 _ACEOF
11732
11733 fi
11734 done
11735
11736   fi
11737
11738
11739
11740   echo "$as_me:$LINENO: checking for expf declaration" >&5
11741 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
11742   if test x${glibcxx_cv_func_expf_use+set} != xset; then
11743     if test "${glibcxx_cv_func_expf_use+set}" = set; then
11744   echo $ECHO_N "(cached) $ECHO_C" >&6
11745 else
11746
11747
11748
11749       ac_ext=cc
11750 ac_cpp='$CXXCPP $CPPFLAGS'
11751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11754
11755       cat >conftest.$ac_ext <<_ACEOF
11756 /* confdefs.h.  */
11757 _ACEOF
11758 cat confdefs.h >>conftest.$ac_ext
11759 cat >>conftest.$ac_ext <<_ACEOF
11760 /* end confdefs.h.  */
11761 #include <math.h>
11762                       #ifdef HAVE_IEEEFP_H
11763                       #include <ieeefp.h>
11764                       #endif
11765
11766 int
11767 main ()
11768 {
11769  expf(0);
11770   ;
11771   return 0;
11772 }
11773 _ACEOF
11774 rm -f conftest.$ac_objext
11775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11776   (eval $ac_compile) 2>conftest.er1
11777   ac_status=$?
11778   grep -v '^ *+' conftest.er1 >conftest.err
11779   rm -f conftest.er1
11780   cat conftest.err >&5
11781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11782   (exit $ac_status); } &&
11783          { ac_try='test -z "$ac_cxx_werror_flag"
11784                          || test ! -s conftest.err'
11785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11786   (eval $ac_try) 2>&5
11787   ac_status=$?
11788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11789   (exit $ac_status); }; } &&
11790          { ac_try='test -s conftest.$ac_objext'
11791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11792   (eval $ac_try) 2>&5
11793   ac_status=$?
11794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11795   (exit $ac_status); }; }; then
11796   glibcxx_cv_func_expf_use=yes
11797 else
11798   echo "$as_me: failed program was:" >&5
11799 sed 's/^/| /' conftest.$ac_ext >&5
11800
11801 glibcxx_cv_func_expf_use=no
11802 fi
11803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11804       ac_ext=c
11805 ac_cpp='$CPP $CPPFLAGS'
11806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11809
11810
11811 fi
11812
11813   fi
11814   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
11815 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
11816
11817   if test x$glibcxx_cv_func_expf_use = x"yes"; then
11818
11819 for ac_func in expf
11820 do
11821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11822 echo "$as_me:$LINENO: checking for $ac_func" >&5
11823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11824 if eval "test \"\${$as_ac_var+set}\" = set"; then
11825   echo $ECHO_N "(cached) $ECHO_C" >&6
11826 else
11827   if test x$gcc_no_link = xyes; then
11828   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11830    { (exit 1); exit 1; }; }
11831 fi
11832 cat >conftest.$ac_ext <<_ACEOF
11833 /* confdefs.h.  */
11834 _ACEOF
11835 cat confdefs.h >>conftest.$ac_ext
11836 cat >>conftest.$ac_ext <<_ACEOF
11837 /* end confdefs.h.  */
11838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11839    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11840 #define $ac_func innocuous_$ac_func
11841
11842 /* System header to define __stub macros and hopefully few prototypes,
11843     which can conflict with char $ac_func (); below.
11844     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11845     <limits.h> exists even on freestanding compilers.  */
11846
11847 #ifdef __STDC__
11848 # include <limits.h>
11849 #else
11850 # include <assert.h>
11851 #endif
11852
11853 #undef $ac_func
11854
11855 /* Override any gcc2 internal prototype to avoid an error.  */
11856 #ifdef __cplusplus
11857 extern "C"
11858 {
11859 #endif
11860 /* We use char because int might match the return type of a gcc2
11861    builtin and then its argument prototype would still apply.  */
11862 char $ac_func ();
11863 /* The GNU C library defines this for functions which it implements
11864     to always fail with ENOSYS.  Some functions are actually named
11865     something starting with __ and the normal name is an alias.  */
11866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11867 choke me
11868 #else
11869 char (*f) () = $ac_func;
11870 #endif
11871 #ifdef __cplusplus
11872 }
11873 #endif
11874
11875 int
11876 main ()
11877 {
11878 return f != $ac_func;
11879   ;
11880   return 0;
11881 }
11882 _ACEOF
11883 rm -f conftest.$ac_objext conftest$ac_exeext
11884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11885   (eval $ac_link) 2>conftest.er1
11886   ac_status=$?
11887   grep -v '^ *+' conftest.er1 >conftest.err
11888   rm -f conftest.er1
11889   cat conftest.err >&5
11890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11891   (exit $ac_status); } &&
11892          { ac_try='test -z "$ac_c_werror_flag"
11893                          || test ! -s conftest.err'
11894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11895   (eval $ac_try) 2>&5
11896   ac_status=$?
11897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11898   (exit $ac_status); }; } &&
11899          { ac_try='test -s conftest$ac_exeext'
11900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11901   (eval $ac_try) 2>&5
11902   ac_status=$?
11903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11904   (exit $ac_status); }; }; then
11905   eval "$as_ac_var=yes"
11906 else
11907   echo "$as_me: failed program was:" >&5
11908 sed 's/^/| /' conftest.$ac_ext >&5
11909
11910 eval "$as_ac_var=no"
11911 fi
11912 rm -f conftest.err conftest.$ac_objext \
11913       conftest$ac_exeext conftest.$ac_ext
11914 fi
11915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11917 if test `eval echo '${'$as_ac_var'}'` = yes; then
11918   cat >>confdefs.h <<_ACEOF
11919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11920 _ACEOF
11921
11922 fi
11923 done
11924
11925   else
11926
11927   echo "$as_me:$LINENO: checking for _expf declaration" >&5
11928 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
11929   if test x${glibcxx_cv_func__expf_use+set} != xset; then
11930     if test "${glibcxx_cv_func__expf_use+set}" = set; then
11931   echo $ECHO_N "(cached) $ECHO_C" >&6
11932 else
11933
11934
11935
11936       ac_ext=cc
11937 ac_cpp='$CXXCPP $CPPFLAGS'
11938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11941
11942       cat >conftest.$ac_ext <<_ACEOF
11943 /* confdefs.h.  */
11944 _ACEOF
11945 cat confdefs.h >>conftest.$ac_ext
11946 cat >>conftest.$ac_ext <<_ACEOF
11947 /* end confdefs.h.  */
11948 #include <math.h>
11949                       #ifdef HAVE_IEEEFP_H
11950                       #include <ieeefp.h>
11951                       #endif
11952
11953 int
11954 main ()
11955 {
11956  _expf(0);
11957   ;
11958   return 0;
11959 }
11960 _ACEOF
11961 rm -f conftest.$ac_objext
11962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11963   (eval $ac_compile) 2>conftest.er1
11964   ac_status=$?
11965   grep -v '^ *+' conftest.er1 >conftest.err
11966   rm -f conftest.er1
11967   cat conftest.err >&5
11968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11969   (exit $ac_status); } &&
11970          { ac_try='test -z "$ac_cxx_werror_flag"
11971                          || test ! -s conftest.err'
11972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11973   (eval $ac_try) 2>&5
11974   ac_status=$?
11975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11976   (exit $ac_status); }; } &&
11977          { ac_try='test -s conftest.$ac_objext'
11978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11979   (eval $ac_try) 2>&5
11980   ac_status=$?
11981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11982   (exit $ac_status); }; }; then
11983   glibcxx_cv_func__expf_use=yes
11984 else
11985   echo "$as_me: failed program was:" >&5
11986 sed 's/^/| /' conftest.$ac_ext >&5
11987
11988 glibcxx_cv_func__expf_use=no
11989 fi
11990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11991       ac_ext=c
11992 ac_cpp='$CPP $CPPFLAGS'
11993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11996
11997
11998 fi
11999
12000   fi
12001   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12002 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12003
12004     if test x$glibcxx_cv_func__expf_use = x"yes"; then
12005
12006 for ac_func in _expf
12007 do
12008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12009 echo "$as_me:$LINENO: checking for $ac_func" >&5
12010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12011 if eval "test \"\${$as_ac_var+set}\" = set"; then
12012   echo $ECHO_N "(cached) $ECHO_C" >&6
12013 else
12014   if test x$gcc_no_link = xyes; then
12015   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12017    { (exit 1); exit 1; }; }
12018 fi
12019 cat >conftest.$ac_ext <<_ACEOF
12020 /* confdefs.h.  */
12021 _ACEOF
12022 cat confdefs.h >>conftest.$ac_ext
12023 cat >>conftest.$ac_ext <<_ACEOF
12024 /* end confdefs.h.  */
12025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12026    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12027 #define $ac_func innocuous_$ac_func
12028
12029 /* System header to define __stub macros and hopefully few prototypes,
12030     which can conflict with char $ac_func (); below.
12031     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12032     <limits.h> exists even on freestanding compilers.  */
12033
12034 #ifdef __STDC__
12035 # include <limits.h>
12036 #else
12037 # include <assert.h>
12038 #endif
12039
12040 #undef $ac_func
12041
12042 /* Override any gcc2 internal prototype to avoid an error.  */
12043 #ifdef __cplusplus
12044 extern "C"
12045 {
12046 #endif
12047 /* We use char because int might match the return type of a gcc2
12048    builtin and then its argument prototype would still apply.  */
12049 char $ac_func ();
12050 /* The GNU C library defines this for functions which it implements
12051     to always fail with ENOSYS.  Some functions are actually named
12052     something starting with __ and the normal name is an alias.  */
12053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12054 choke me
12055 #else
12056 char (*f) () = $ac_func;
12057 #endif
12058 #ifdef __cplusplus
12059 }
12060 #endif
12061
12062 int
12063 main ()
12064 {
12065 return f != $ac_func;
12066   ;
12067   return 0;
12068 }
12069 _ACEOF
12070 rm -f conftest.$ac_objext conftest$ac_exeext
12071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12072   (eval $ac_link) 2>conftest.er1
12073   ac_status=$?
12074   grep -v '^ *+' conftest.er1 >conftest.err
12075   rm -f conftest.er1
12076   cat conftest.err >&5
12077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12078   (exit $ac_status); } &&
12079          { ac_try='test -z "$ac_c_werror_flag"
12080                          || test ! -s conftest.err'
12081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12082   (eval $ac_try) 2>&5
12083   ac_status=$?
12084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12085   (exit $ac_status); }; } &&
12086          { ac_try='test -s conftest$ac_exeext'
12087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12088   (eval $ac_try) 2>&5
12089   ac_status=$?
12090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12091   (exit $ac_status); }; }; then
12092   eval "$as_ac_var=yes"
12093 else
12094   echo "$as_me: failed program was:" >&5
12095 sed 's/^/| /' conftest.$ac_ext >&5
12096
12097 eval "$as_ac_var=no"
12098 fi
12099 rm -f conftest.err conftest.$ac_objext \
12100       conftest$ac_exeext conftest.$ac_ext
12101 fi
12102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12104 if test `eval echo '${'$as_ac_var'}'` = yes; then
12105   cat >>confdefs.h <<_ACEOF
12106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12107 _ACEOF
12108
12109 fi
12110 done
12111
12112     fi
12113   fi
12114
12115
12116
12117   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12118 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12119   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12120     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12121   echo $ECHO_N "(cached) $ECHO_C" >&6
12122 else
12123
12124
12125
12126       ac_ext=cc
12127 ac_cpp='$CXXCPP $CPPFLAGS'
12128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12131
12132       cat >conftest.$ac_ext <<_ACEOF
12133 /* confdefs.h.  */
12134 _ACEOF
12135 cat confdefs.h >>conftest.$ac_ext
12136 cat >>conftest.$ac_ext <<_ACEOF
12137 /* end confdefs.h.  */
12138 #include <math.h>
12139                       #ifdef HAVE_IEEEFP_H
12140                       #include <ieeefp.h>
12141                       #endif
12142
12143 int
12144 main ()
12145 {
12146  isnanf(0);
12147   ;
12148   return 0;
12149 }
12150 _ACEOF
12151 rm -f conftest.$ac_objext
12152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12153   (eval $ac_compile) 2>conftest.er1
12154   ac_status=$?
12155   grep -v '^ *+' conftest.er1 >conftest.err
12156   rm -f conftest.er1
12157   cat conftest.err >&5
12158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12159   (exit $ac_status); } &&
12160          { ac_try='test -z "$ac_cxx_werror_flag"
12161                          || test ! -s conftest.err'
12162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12163   (eval $ac_try) 2>&5
12164   ac_status=$?
12165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12166   (exit $ac_status); }; } &&
12167          { ac_try='test -s conftest.$ac_objext'
12168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12169   (eval $ac_try) 2>&5
12170   ac_status=$?
12171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12172   (exit $ac_status); }; }; then
12173   glibcxx_cv_func_isnanf_use=yes
12174 else
12175   echo "$as_me: failed program was:" >&5
12176 sed 's/^/| /' conftest.$ac_ext >&5
12177
12178 glibcxx_cv_func_isnanf_use=no
12179 fi
12180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12181       ac_ext=c
12182 ac_cpp='$CPP $CPPFLAGS'
12183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12186
12187
12188 fi
12189
12190   fi
12191   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12192 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12193
12194   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12195
12196 for ac_func in isnanf
12197 do
12198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12199 echo "$as_me:$LINENO: checking for $ac_func" >&5
12200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12201 if eval "test \"\${$as_ac_var+set}\" = set"; then
12202   echo $ECHO_N "(cached) $ECHO_C" >&6
12203 else
12204   if test x$gcc_no_link = xyes; then
12205   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12207    { (exit 1); exit 1; }; }
12208 fi
12209 cat >conftest.$ac_ext <<_ACEOF
12210 /* confdefs.h.  */
12211 _ACEOF
12212 cat confdefs.h >>conftest.$ac_ext
12213 cat >>conftest.$ac_ext <<_ACEOF
12214 /* end confdefs.h.  */
12215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12216    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12217 #define $ac_func innocuous_$ac_func
12218
12219 /* System header to define __stub macros and hopefully few prototypes,
12220     which can conflict with char $ac_func (); below.
12221     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12222     <limits.h> exists even on freestanding compilers.  */
12223
12224 #ifdef __STDC__
12225 # include <limits.h>
12226 #else
12227 # include <assert.h>
12228 #endif
12229
12230 #undef $ac_func
12231
12232 /* Override any gcc2 internal prototype to avoid an error.  */
12233 #ifdef __cplusplus
12234 extern "C"
12235 {
12236 #endif
12237 /* We use char because int might match the return type of a gcc2
12238    builtin and then its argument prototype would still apply.  */
12239 char $ac_func ();
12240 /* The GNU C library defines this for functions which it implements
12241     to always fail with ENOSYS.  Some functions are actually named
12242     something starting with __ and the normal name is an alias.  */
12243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12244 choke me
12245 #else
12246 char (*f) () = $ac_func;
12247 #endif
12248 #ifdef __cplusplus
12249 }
12250 #endif
12251
12252 int
12253 main ()
12254 {
12255 return f != $ac_func;
12256   ;
12257   return 0;
12258 }
12259 _ACEOF
12260 rm -f conftest.$ac_objext conftest$ac_exeext
12261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12262   (eval $ac_link) 2>conftest.er1
12263   ac_status=$?
12264   grep -v '^ *+' conftest.er1 >conftest.err
12265   rm -f conftest.er1
12266   cat conftest.err >&5
12267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12268   (exit $ac_status); } &&
12269          { ac_try='test -z "$ac_c_werror_flag"
12270                          || test ! -s conftest.err'
12271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12272   (eval $ac_try) 2>&5
12273   ac_status=$?
12274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12275   (exit $ac_status); }; } &&
12276          { ac_try='test -s conftest$ac_exeext'
12277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12278   (eval $ac_try) 2>&5
12279   ac_status=$?
12280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12281   (exit $ac_status); }; }; then
12282   eval "$as_ac_var=yes"
12283 else
12284   echo "$as_me: failed program was:" >&5
12285 sed 's/^/| /' conftest.$ac_ext >&5
12286
12287 eval "$as_ac_var=no"
12288 fi
12289 rm -f conftest.err conftest.$ac_objext \
12290       conftest$ac_exeext conftest.$ac_ext
12291 fi
12292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12294 if test `eval echo '${'$as_ac_var'}'` = yes; then
12295   cat >>confdefs.h <<_ACEOF
12296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12297 _ACEOF
12298
12299 fi
12300 done
12301
12302   else
12303
12304   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12305 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12306   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12307     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12308   echo $ECHO_N "(cached) $ECHO_C" >&6
12309 else
12310
12311
12312
12313       ac_ext=cc
12314 ac_cpp='$CXXCPP $CPPFLAGS'
12315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12318
12319       cat >conftest.$ac_ext <<_ACEOF
12320 /* confdefs.h.  */
12321 _ACEOF
12322 cat confdefs.h >>conftest.$ac_ext
12323 cat >>conftest.$ac_ext <<_ACEOF
12324 /* end confdefs.h.  */
12325 #include <math.h>
12326                       #ifdef HAVE_IEEEFP_H
12327                       #include <ieeefp.h>
12328                       #endif
12329
12330 int
12331 main ()
12332 {
12333  _isnanf(0);
12334   ;
12335   return 0;
12336 }
12337 _ACEOF
12338 rm -f conftest.$ac_objext
12339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12340   (eval $ac_compile) 2>conftest.er1
12341   ac_status=$?
12342   grep -v '^ *+' conftest.er1 >conftest.err
12343   rm -f conftest.er1
12344   cat conftest.err >&5
12345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12346   (exit $ac_status); } &&
12347          { ac_try='test -z "$ac_cxx_werror_flag"
12348                          || test ! -s conftest.err'
12349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12350   (eval $ac_try) 2>&5
12351   ac_status=$?
12352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12353   (exit $ac_status); }; } &&
12354          { ac_try='test -s conftest.$ac_objext'
12355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12356   (eval $ac_try) 2>&5
12357   ac_status=$?
12358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12359   (exit $ac_status); }; }; then
12360   glibcxx_cv_func__isnanf_use=yes
12361 else
12362   echo "$as_me: failed program was:" >&5
12363 sed 's/^/| /' conftest.$ac_ext >&5
12364
12365 glibcxx_cv_func__isnanf_use=no
12366 fi
12367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12368       ac_ext=c
12369 ac_cpp='$CPP $CPPFLAGS'
12370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12373
12374
12375 fi
12376
12377   fi
12378   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12379 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12380
12381     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12382
12383 for ac_func in _isnanf
12384 do
12385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12386 echo "$as_me:$LINENO: checking for $ac_func" >&5
12387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12388 if eval "test \"\${$as_ac_var+set}\" = set"; then
12389   echo $ECHO_N "(cached) $ECHO_C" >&6
12390 else
12391   if test x$gcc_no_link = xyes; then
12392   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12394    { (exit 1); exit 1; }; }
12395 fi
12396 cat >conftest.$ac_ext <<_ACEOF
12397 /* confdefs.h.  */
12398 _ACEOF
12399 cat confdefs.h >>conftest.$ac_ext
12400 cat >>conftest.$ac_ext <<_ACEOF
12401 /* end confdefs.h.  */
12402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12403    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12404 #define $ac_func innocuous_$ac_func
12405
12406 /* System header to define __stub macros and hopefully few prototypes,
12407     which can conflict with char $ac_func (); below.
12408     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12409     <limits.h> exists even on freestanding compilers.  */
12410
12411 #ifdef __STDC__
12412 # include <limits.h>
12413 #else
12414 # include <assert.h>
12415 #endif
12416
12417 #undef $ac_func
12418
12419 /* Override any gcc2 internal prototype to avoid an error.  */
12420 #ifdef __cplusplus
12421 extern "C"
12422 {
12423 #endif
12424 /* We use char because int might match the return type of a gcc2
12425    builtin and then its argument prototype would still apply.  */
12426 char $ac_func ();
12427 /* The GNU C library defines this for functions which it implements
12428     to always fail with ENOSYS.  Some functions are actually named
12429     something starting with __ and the normal name is an alias.  */
12430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12431 choke me
12432 #else
12433 char (*f) () = $ac_func;
12434 #endif
12435 #ifdef __cplusplus
12436 }
12437 #endif
12438
12439 int
12440 main ()
12441 {
12442 return f != $ac_func;
12443   ;
12444   return 0;
12445 }
12446 _ACEOF
12447 rm -f conftest.$ac_objext conftest$ac_exeext
12448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12449   (eval $ac_link) 2>conftest.er1
12450   ac_status=$?
12451   grep -v '^ *+' conftest.er1 >conftest.err
12452   rm -f conftest.er1
12453   cat conftest.err >&5
12454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12455   (exit $ac_status); } &&
12456          { ac_try='test -z "$ac_c_werror_flag"
12457                          || test ! -s conftest.err'
12458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12459   (eval $ac_try) 2>&5
12460   ac_status=$?
12461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12462   (exit $ac_status); }; } &&
12463          { ac_try='test -s conftest$ac_exeext'
12464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12465   (eval $ac_try) 2>&5
12466   ac_status=$?
12467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12468   (exit $ac_status); }; }; then
12469   eval "$as_ac_var=yes"
12470 else
12471   echo "$as_me: failed program was:" >&5
12472 sed 's/^/| /' conftest.$ac_ext >&5
12473
12474 eval "$as_ac_var=no"
12475 fi
12476 rm -f conftest.err conftest.$ac_objext \
12477       conftest$ac_exeext conftest.$ac_ext
12478 fi
12479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12481 if test `eval echo '${'$as_ac_var'}'` = yes; then
12482   cat >>confdefs.h <<_ACEOF
12483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12484 _ACEOF
12485
12486 fi
12487 done
12488
12489     fi
12490   fi
12491
12492
12493
12494   echo "$as_me:$LINENO: checking for isinff declaration" >&5
12495 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12496   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12497     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12498   echo $ECHO_N "(cached) $ECHO_C" >&6
12499 else
12500
12501
12502
12503       ac_ext=cc
12504 ac_cpp='$CXXCPP $CPPFLAGS'
12505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12508
12509       cat >conftest.$ac_ext <<_ACEOF
12510 /* confdefs.h.  */
12511 _ACEOF
12512 cat confdefs.h >>conftest.$ac_ext
12513 cat >>conftest.$ac_ext <<_ACEOF
12514 /* end confdefs.h.  */
12515 #include <math.h>
12516                       #ifdef HAVE_IEEEFP_H
12517                       #include <ieeefp.h>
12518                       #endif
12519
12520 int
12521 main ()
12522 {
12523  isinff(0);
12524   ;
12525   return 0;
12526 }
12527 _ACEOF
12528 rm -f conftest.$ac_objext
12529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12530   (eval $ac_compile) 2>conftest.er1
12531   ac_status=$?
12532   grep -v '^ *+' conftest.er1 >conftest.err
12533   rm -f conftest.er1
12534   cat conftest.err >&5
12535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12536   (exit $ac_status); } &&
12537          { ac_try='test -z "$ac_cxx_werror_flag"
12538                          || test ! -s conftest.err'
12539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12540   (eval $ac_try) 2>&5
12541   ac_status=$?
12542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12543   (exit $ac_status); }; } &&
12544          { ac_try='test -s conftest.$ac_objext'
12545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12546   (eval $ac_try) 2>&5
12547   ac_status=$?
12548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12549   (exit $ac_status); }; }; then
12550   glibcxx_cv_func_isinff_use=yes
12551 else
12552   echo "$as_me: failed program was:" >&5
12553 sed 's/^/| /' conftest.$ac_ext >&5
12554
12555 glibcxx_cv_func_isinff_use=no
12556 fi
12557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12558       ac_ext=c
12559 ac_cpp='$CPP $CPPFLAGS'
12560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12563
12564
12565 fi
12566
12567   fi
12568   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
12569 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
12570
12571   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
12572
12573 for ac_func in isinff
12574 do
12575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12576 echo "$as_me:$LINENO: checking for $ac_func" >&5
12577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12578 if eval "test \"\${$as_ac_var+set}\" = set"; then
12579   echo $ECHO_N "(cached) $ECHO_C" >&6
12580 else
12581   if test x$gcc_no_link = xyes; then
12582   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12584    { (exit 1); exit 1; }; }
12585 fi
12586 cat >conftest.$ac_ext <<_ACEOF
12587 /* confdefs.h.  */
12588 _ACEOF
12589 cat confdefs.h >>conftest.$ac_ext
12590 cat >>conftest.$ac_ext <<_ACEOF
12591 /* end confdefs.h.  */
12592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12593    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12594 #define $ac_func innocuous_$ac_func
12595
12596 /* System header to define __stub macros and hopefully few prototypes,
12597     which can conflict with char $ac_func (); below.
12598     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12599     <limits.h> exists even on freestanding compilers.  */
12600
12601 #ifdef __STDC__
12602 # include <limits.h>
12603 #else
12604 # include <assert.h>
12605 #endif
12606
12607 #undef $ac_func
12608
12609 /* Override any gcc2 internal prototype to avoid an error.  */
12610 #ifdef __cplusplus
12611 extern "C"
12612 {
12613 #endif
12614 /* We use char because int might match the return type of a gcc2
12615    builtin and then its argument prototype would still apply.  */
12616 char $ac_func ();
12617 /* The GNU C library defines this for functions which it implements
12618     to always fail with ENOSYS.  Some functions are actually named
12619     something starting with __ and the normal name is an alias.  */
12620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12621 choke me
12622 #else
12623 char (*f) () = $ac_func;
12624 #endif
12625 #ifdef __cplusplus
12626 }
12627 #endif
12628
12629 int
12630 main ()
12631 {
12632 return f != $ac_func;
12633   ;
12634   return 0;
12635 }
12636 _ACEOF
12637 rm -f conftest.$ac_objext conftest$ac_exeext
12638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12639   (eval $ac_link) 2>conftest.er1
12640   ac_status=$?
12641   grep -v '^ *+' conftest.er1 >conftest.err
12642   rm -f conftest.er1
12643   cat conftest.err >&5
12644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645   (exit $ac_status); } &&
12646          { ac_try='test -z "$ac_c_werror_flag"
12647                          || test ! -s conftest.err'
12648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12649   (eval $ac_try) 2>&5
12650   ac_status=$?
12651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12652   (exit $ac_status); }; } &&
12653          { ac_try='test -s conftest$ac_exeext'
12654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12655   (eval $ac_try) 2>&5
12656   ac_status=$?
12657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12658   (exit $ac_status); }; }; then
12659   eval "$as_ac_var=yes"
12660 else
12661   echo "$as_me: failed program was:" >&5
12662 sed 's/^/| /' conftest.$ac_ext >&5
12663
12664 eval "$as_ac_var=no"
12665 fi
12666 rm -f conftest.err conftest.$ac_objext \
12667       conftest$ac_exeext conftest.$ac_ext
12668 fi
12669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12671 if test `eval echo '${'$as_ac_var'}'` = yes; then
12672   cat >>confdefs.h <<_ACEOF
12673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12674 _ACEOF
12675
12676 fi
12677 done
12678
12679   else
12680
12681   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
12682 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
12683   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
12684     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
12685   echo $ECHO_N "(cached) $ECHO_C" >&6
12686 else
12687
12688
12689
12690       ac_ext=cc
12691 ac_cpp='$CXXCPP $CPPFLAGS'
12692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12695
12696       cat >conftest.$ac_ext <<_ACEOF
12697 /* confdefs.h.  */
12698 _ACEOF
12699 cat confdefs.h >>conftest.$ac_ext
12700 cat >>conftest.$ac_ext <<_ACEOF
12701 /* end confdefs.h.  */
12702 #include <math.h>
12703                       #ifdef HAVE_IEEEFP_H
12704                       #include <ieeefp.h>
12705                       #endif
12706
12707 int
12708 main ()
12709 {
12710  _isinff(0);
12711   ;
12712   return 0;
12713 }
12714 _ACEOF
12715 rm -f conftest.$ac_objext
12716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12717   (eval $ac_compile) 2>conftest.er1
12718   ac_status=$?
12719   grep -v '^ *+' conftest.er1 >conftest.err
12720   rm -f conftest.er1
12721   cat conftest.err >&5
12722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12723   (exit $ac_status); } &&
12724          { ac_try='test -z "$ac_cxx_werror_flag"
12725                          || test ! -s conftest.err'
12726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12727   (eval $ac_try) 2>&5
12728   ac_status=$?
12729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12730   (exit $ac_status); }; } &&
12731          { ac_try='test -s conftest.$ac_objext'
12732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12733   (eval $ac_try) 2>&5
12734   ac_status=$?
12735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12736   (exit $ac_status); }; }; then
12737   glibcxx_cv_func__isinff_use=yes
12738 else
12739   echo "$as_me: failed program was:" >&5
12740 sed 's/^/| /' conftest.$ac_ext >&5
12741
12742 glibcxx_cv_func__isinff_use=no
12743 fi
12744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12745       ac_ext=c
12746 ac_cpp='$CPP $CPPFLAGS'
12747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12750
12751
12752 fi
12753
12754   fi
12755   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
12756 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
12757
12758     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
12759
12760 for ac_func in _isinff
12761 do
12762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12763 echo "$as_me:$LINENO: checking for $ac_func" >&5
12764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12765 if eval "test \"\${$as_ac_var+set}\" = set"; then
12766   echo $ECHO_N "(cached) $ECHO_C" >&6
12767 else
12768   if test x$gcc_no_link = xyes; then
12769   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12771    { (exit 1); exit 1; }; }
12772 fi
12773 cat >conftest.$ac_ext <<_ACEOF
12774 /* confdefs.h.  */
12775 _ACEOF
12776 cat confdefs.h >>conftest.$ac_ext
12777 cat >>conftest.$ac_ext <<_ACEOF
12778 /* end confdefs.h.  */
12779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12780    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12781 #define $ac_func innocuous_$ac_func
12782
12783 /* System header to define __stub macros and hopefully few prototypes,
12784     which can conflict with char $ac_func (); below.
12785     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12786     <limits.h> exists even on freestanding compilers.  */
12787
12788 #ifdef __STDC__
12789 # include <limits.h>
12790 #else
12791 # include <assert.h>
12792 #endif
12793
12794 #undef $ac_func
12795
12796 /* Override any gcc2 internal prototype to avoid an error.  */
12797 #ifdef __cplusplus
12798 extern "C"
12799 {
12800 #endif
12801 /* We use char because int might match the return type of a gcc2
12802    builtin and then its argument prototype would still apply.  */
12803 char $ac_func ();
12804 /* The GNU C library defines this for functions which it implements
12805     to always fail with ENOSYS.  Some functions are actually named
12806     something starting with __ and the normal name is an alias.  */
12807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12808 choke me
12809 #else
12810 char (*f) () = $ac_func;
12811 #endif
12812 #ifdef __cplusplus
12813 }
12814 #endif
12815
12816 int
12817 main ()
12818 {
12819 return f != $ac_func;
12820   ;
12821   return 0;
12822 }
12823 _ACEOF
12824 rm -f conftest.$ac_objext conftest$ac_exeext
12825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12826   (eval $ac_link) 2>conftest.er1
12827   ac_status=$?
12828   grep -v '^ *+' conftest.er1 >conftest.err
12829   rm -f conftest.er1
12830   cat conftest.err >&5
12831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12832   (exit $ac_status); } &&
12833          { ac_try='test -z "$ac_c_werror_flag"
12834                          || test ! -s conftest.err'
12835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12836   (eval $ac_try) 2>&5
12837   ac_status=$?
12838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12839   (exit $ac_status); }; } &&
12840          { ac_try='test -s conftest$ac_exeext'
12841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12842   (eval $ac_try) 2>&5
12843   ac_status=$?
12844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12845   (exit $ac_status); }; }; then
12846   eval "$as_ac_var=yes"
12847 else
12848   echo "$as_me: failed program was:" >&5
12849 sed 's/^/| /' conftest.$ac_ext >&5
12850
12851 eval "$as_ac_var=no"
12852 fi
12853 rm -f conftest.err conftest.$ac_objext \
12854       conftest$ac_exeext conftest.$ac_ext
12855 fi
12856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12858 if test `eval echo '${'$as_ac_var'}'` = yes; then
12859   cat >>confdefs.h <<_ACEOF
12860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12861 _ACEOF
12862
12863 fi
12864 done
12865
12866     fi
12867   fi
12868
12869
12870
12871   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
12872 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
12873   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
12874     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
12875   echo $ECHO_N "(cached) $ECHO_C" >&6
12876 else
12877
12878
12879
12880       ac_ext=cc
12881 ac_cpp='$CXXCPP $CPPFLAGS'
12882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12885
12886       cat >conftest.$ac_ext <<_ACEOF
12887 /* confdefs.h.  */
12888 _ACEOF
12889 cat confdefs.h >>conftest.$ac_ext
12890 cat >>conftest.$ac_ext <<_ACEOF
12891 /* end confdefs.h.  */
12892 #include <math.h>
12893 int
12894 main ()
12895 {
12896  atan2f(0, 0);
12897   ;
12898   return 0;
12899 }
12900 _ACEOF
12901 rm -f conftest.$ac_objext
12902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12903   (eval $ac_compile) 2>conftest.er1
12904   ac_status=$?
12905   grep -v '^ *+' conftest.er1 >conftest.err
12906   rm -f conftest.er1
12907   cat conftest.err >&5
12908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12909   (exit $ac_status); } &&
12910          { ac_try='test -z "$ac_cxx_werror_flag"
12911                          || test ! -s conftest.err'
12912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12913   (eval $ac_try) 2>&5
12914   ac_status=$?
12915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12916   (exit $ac_status); }; } &&
12917          { ac_try='test -s conftest.$ac_objext'
12918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12919   (eval $ac_try) 2>&5
12920   ac_status=$?
12921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12922   (exit $ac_status); }; }; then
12923   glibcxx_cv_func_atan2f_use=yes
12924 else
12925   echo "$as_me: failed program was:" >&5
12926 sed 's/^/| /' conftest.$ac_ext >&5
12927
12928 glibcxx_cv_func_atan2f_use=no
12929 fi
12930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12931       ac_ext=c
12932 ac_cpp='$CPP $CPPFLAGS'
12933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12936
12937
12938 fi
12939
12940   fi
12941   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
12942 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
12943
12944   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
12945
12946 for ac_func in atan2f
12947 do
12948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12949 echo "$as_me:$LINENO: checking for $ac_func" >&5
12950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12951 if eval "test \"\${$as_ac_var+set}\" = set"; then
12952   echo $ECHO_N "(cached) $ECHO_C" >&6
12953 else
12954   if test x$gcc_no_link = xyes; then
12955   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12957    { (exit 1); exit 1; }; }
12958 fi
12959 cat >conftest.$ac_ext <<_ACEOF
12960 /* confdefs.h.  */
12961 _ACEOF
12962 cat confdefs.h >>conftest.$ac_ext
12963 cat >>conftest.$ac_ext <<_ACEOF
12964 /* end confdefs.h.  */
12965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12966    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12967 #define $ac_func innocuous_$ac_func
12968
12969 /* System header to define __stub macros and hopefully few prototypes,
12970     which can conflict with char $ac_func (); below.
12971     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12972     <limits.h> exists even on freestanding compilers.  */
12973
12974 #ifdef __STDC__
12975 # include <limits.h>
12976 #else
12977 # include <assert.h>
12978 #endif
12979
12980 #undef $ac_func
12981
12982 /* Override any gcc2 internal prototype to avoid an error.  */
12983 #ifdef __cplusplus
12984 extern "C"
12985 {
12986 #endif
12987 /* We use char because int might match the return type of a gcc2
12988    builtin and then its argument prototype would still apply.  */
12989 char $ac_func ();
12990 /* The GNU C library defines this for functions which it implements
12991     to always fail with ENOSYS.  Some functions are actually named
12992     something starting with __ and the normal name is an alias.  */
12993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12994 choke me
12995 #else
12996 char (*f) () = $ac_func;
12997 #endif
12998 #ifdef __cplusplus
12999 }
13000 #endif
13001
13002 int
13003 main ()
13004 {
13005 return f != $ac_func;
13006   ;
13007   return 0;
13008 }
13009 _ACEOF
13010 rm -f conftest.$ac_objext conftest$ac_exeext
13011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13012   (eval $ac_link) 2>conftest.er1
13013   ac_status=$?
13014   grep -v '^ *+' conftest.er1 >conftest.err
13015   rm -f conftest.er1
13016   cat conftest.err >&5
13017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13018   (exit $ac_status); } &&
13019          { ac_try='test -z "$ac_c_werror_flag"
13020                          || test ! -s conftest.err'
13021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13022   (eval $ac_try) 2>&5
13023   ac_status=$?
13024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13025   (exit $ac_status); }; } &&
13026          { ac_try='test -s conftest$ac_exeext'
13027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13028   (eval $ac_try) 2>&5
13029   ac_status=$?
13030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13031   (exit $ac_status); }; }; then
13032   eval "$as_ac_var=yes"
13033 else
13034   echo "$as_me: failed program was:" >&5
13035 sed 's/^/| /' conftest.$ac_ext >&5
13036
13037 eval "$as_ac_var=no"
13038 fi
13039 rm -f conftest.err conftest.$ac_objext \
13040       conftest$ac_exeext conftest.$ac_ext
13041 fi
13042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13044 if test `eval echo '${'$as_ac_var'}'` = yes; then
13045   cat >>confdefs.h <<_ACEOF
13046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13047 _ACEOF
13048
13049 fi
13050 done
13051
13052   else
13053
13054   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13055 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13056   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13057     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13058   echo $ECHO_N "(cached) $ECHO_C" >&6
13059 else
13060
13061
13062
13063       ac_ext=cc
13064 ac_cpp='$CXXCPP $CPPFLAGS'
13065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13068
13069       cat >conftest.$ac_ext <<_ACEOF
13070 /* confdefs.h.  */
13071 _ACEOF
13072 cat confdefs.h >>conftest.$ac_ext
13073 cat >>conftest.$ac_ext <<_ACEOF
13074 /* end confdefs.h.  */
13075 #include <math.h>
13076 int
13077 main ()
13078 {
13079  _atan2f(0, 0);
13080   ;
13081   return 0;
13082 }
13083 _ACEOF
13084 rm -f conftest.$ac_objext
13085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13086   (eval $ac_compile) 2>conftest.er1
13087   ac_status=$?
13088   grep -v '^ *+' conftest.er1 >conftest.err
13089   rm -f conftest.er1
13090   cat conftest.err >&5
13091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13092   (exit $ac_status); } &&
13093          { ac_try='test -z "$ac_cxx_werror_flag"
13094                          || test ! -s conftest.err'
13095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13096   (eval $ac_try) 2>&5
13097   ac_status=$?
13098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13099   (exit $ac_status); }; } &&
13100          { ac_try='test -s conftest.$ac_objext'
13101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13102   (eval $ac_try) 2>&5
13103   ac_status=$?
13104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13105   (exit $ac_status); }; }; then
13106   glibcxx_cv_func__atan2f_use=yes
13107 else
13108   echo "$as_me: failed program was:" >&5
13109 sed 's/^/| /' conftest.$ac_ext >&5
13110
13111 glibcxx_cv_func__atan2f_use=no
13112 fi
13113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13114       ac_ext=c
13115 ac_cpp='$CPP $CPPFLAGS'
13116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13119
13120
13121 fi
13122
13123   fi
13124   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13125 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13126
13127     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13128
13129 for ac_func in _atan2f
13130 do
13131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13132 echo "$as_me:$LINENO: checking for $ac_func" >&5
13133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13134 if eval "test \"\${$as_ac_var+set}\" = set"; then
13135   echo $ECHO_N "(cached) $ECHO_C" >&6
13136 else
13137   if test x$gcc_no_link = xyes; then
13138   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13140    { (exit 1); exit 1; }; }
13141 fi
13142 cat >conftest.$ac_ext <<_ACEOF
13143 /* confdefs.h.  */
13144 _ACEOF
13145 cat confdefs.h >>conftest.$ac_ext
13146 cat >>conftest.$ac_ext <<_ACEOF
13147 /* end confdefs.h.  */
13148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13149    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13150 #define $ac_func innocuous_$ac_func
13151
13152 /* System header to define __stub macros and hopefully few prototypes,
13153     which can conflict with char $ac_func (); below.
13154     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13155     <limits.h> exists even on freestanding compilers.  */
13156
13157 #ifdef __STDC__
13158 # include <limits.h>
13159 #else
13160 # include <assert.h>
13161 #endif
13162
13163 #undef $ac_func
13164
13165 /* Override any gcc2 internal prototype to avoid an error.  */
13166 #ifdef __cplusplus
13167 extern "C"
13168 {
13169 #endif
13170 /* We use char because int might match the return type of a gcc2
13171    builtin and then its argument prototype would still apply.  */
13172 char $ac_func ();
13173 /* The GNU C library defines this for functions which it implements
13174     to always fail with ENOSYS.  Some functions are actually named
13175     something starting with __ and the normal name is an alias.  */
13176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13177 choke me
13178 #else
13179 char (*f) () = $ac_func;
13180 #endif
13181 #ifdef __cplusplus
13182 }
13183 #endif
13184
13185 int
13186 main ()
13187 {
13188 return f != $ac_func;
13189   ;
13190   return 0;
13191 }
13192 _ACEOF
13193 rm -f conftest.$ac_objext conftest$ac_exeext
13194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13195   (eval $ac_link) 2>conftest.er1
13196   ac_status=$?
13197   grep -v '^ *+' conftest.er1 >conftest.err
13198   rm -f conftest.er1
13199   cat conftest.err >&5
13200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13201   (exit $ac_status); } &&
13202          { ac_try='test -z "$ac_c_werror_flag"
13203                          || test ! -s conftest.err'
13204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13205   (eval $ac_try) 2>&5
13206   ac_status=$?
13207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13208   (exit $ac_status); }; } &&
13209          { ac_try='test -s conftest$ac_exeext'
13210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13211   (eval $ac_try) 2>&5
13212   ac_status=$?
13213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13214   (exit $ac_status); }; }; then
13215   eval "$as_ac_var=yes"
13216 else
13217   echo "$as_me: failed program was:" >&5
13218 sed 's/^/| /' conftest.$ac_ext >&5
13219
13220 eval "$as_ac_var=no"
13221 fi
13222 rm -f conftest.err conftest.$ac_objext \
13223       conftest$ac_exeext conftest.$ac_ext
13224 fi
13225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13227 if test `eval echo '${'$as_ac_var'}'` = yes; then
13228   cat >>confdefs.h <<_ACEOF
13229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13230 _ACEOF
13231
13232 fi
13233 done
13234
13235     fi
13236   fi
13237
13238
13239
13240   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13241 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13242   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13243     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13244   echo $ECHO_N "(cached) $ECHO_C" >&6
13245 else
13246
13247
13248
13249       ac_ext=cc
13250 ac_cpp='$CXXCPP $CPPFLAGS'
13251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13254
13255       cat >conftest.$ac_ext <<_ACEOF
13256 /* confdefs.h.  */
13257 _ACEOF
13258 cat confdefs.h >>conftest.$ac_ext
13259 cat >>conftest.$ac_ext <<_ACEOF
13260 /* end confdefs.h.  */
13261 #include <math.h>
13262                       #ifdef HAVE_IEEEFP_H
13263                       #include <ieeefp.h>
13264                       #endif
13265
13266 int
13267 main ()
13268 {
13269  fabsf(0);
13270   ;
13271   return 0;
13272 }
13273 _ACEOF
13274 rm -f conftest.$ac_objext
13275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13276   (eval $ac_compile) 2>conftest.er1
13277   ac_status=$?
13278   grep -v '^ *+' conftest.er1 >conftest.err
13279   rm -f conftest.er1
13280   cat conftest.err >&5
13281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13282   (exit $ac_status); } &&
13283          { ac_try='test -z "$ac_cxx_werror_flag"
13284                          || test ! -s conftest.err'
13285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13286   (eval $ac_try) 2>&5
13287   ac_status=$?
13288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13289   (exit $ac_status); }; } &&
13290          { ac_try='test -s conftest.$ac_objext'
13291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13292   (eval $ac_try) 2>&5
13293   ac_status=$?
13294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13295   (exit $ac_status); }; }; then
13296   glibcxx_cv_func_fabsf_use=yes
13297 else
13298   echo "$as_me: failed program was:" >&5
13299 sed 's/^/| /' conftest.$ac_ext >&5
13300
13301 glibcxx_cv_func_fabsf_use=no
13302 fi
13303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13304       ac_ext=c
13305 ac_cpp='$CPP $CPPFLAGS'
13306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13309
13310
13311 fi
13312
13313   fi
13314   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13315 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13316
13317   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13318
13319 for ac_func in fabsf
13320 do
13321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13322 echo "$as_me:$LINENO: checking for $ac_func" >&5
13323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13324 if eval "test \"\${$as_ac_var+set}\" = set"; then
13325   echo $ECHO_N "(cached) $ECHO_C" >&6
13326 else
13327   if test x$gcc_no_link = xyes; then
13328   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13330    { (exit 1); exit 1; }; }
13331 fi
13332 cat >conftest.$ac_ext <<_ACEOF
13333 /* confdefs.h.  */
13334 _ACEOF
13335 cat confdefs.h >>conftest.$ac_ext
13336 cat >>conftest.$ac_ext <<_ACEOF
13337 /* end confdefs.h.  */
13338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13339    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13340 #define $ac_func innocuous_$ac_func
13341
13342 /* System header to define __stub macros and hopefully few prototypes,
13343     which can conflict with char $ac_func (); below.
13344     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13345     <limits.h> exists even on freestanding compilers.  */
13346
13347 #ifdef __STDC__
13348 # include <limits.h>
13349 #else
13350 # include <assert.h>
13351 #endif
13352
13353 #undef $ac_func
13354
13355 /* Override any gcc2 internal prototype to avoid an error.  */
13356 #ifdef __cplusplus
13357 extern "C"
13358 {
13359 #endif
13360 /* We use char because int might match the return type of a gcc2
13361    builtin and then its argument prototype would still apply.  */
13362 char $ac_func ();
13363 /* The GNU C library defines this for functions which it implements
13364     to always fail with ENOSYS.  Some functions are actually named
13365     something starting with __ and the normal name is an alias.  */
13366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13367 choke me
13368 #else
13369 char (*f) () = $ac_func;
13370 #endif
13371 #ifdef __cplusplus
13372 }
13373 #endif
13374
13375 int
13376 main ()
13377 {
13378 return f != $ac_func;
13379   ;
13380   return 0;
13381 }
13382 _ACEOF
13383 rm -f conftest.$ac_objext conftest$ac_exeext
13384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13385   (eval $ac_link) 2>conftest.er1
13386   ac_status=$?
13387   grep -v '^ *+' conftest.er1 >conftest.err
13388   rm -f conftest.er1
13389   cat conftest.err >&5
13390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13391   (exit $ac_status); } &&
13392          { ac_try='test -z "$ac_c_werror_flag"
13393                          || test ! -s conftest.err'
13394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13395   (eval $ac_try) 2>&5
13396   ac_status=$?
13397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13398   (exit $ac_status); }; } &&
13399          { ac_try='test -s conftest$ac_exeext'
13400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13401   (eval $ac_try) 2>&5
13402   ac_status=$?
13403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404   (exit $ac_status); }; }; then
13405   eval "$as_ac_var=yes"
13406 else
13407   echo "$as_me: failed program was:" >&5
13408 sed 's/^/| /' conftest.$ac_ext >&5
13409
13410 eval "$as_ac_var=no"
13411 fi
13412 rm -f conftest.err conftest.$ac_objext \
13413       conftest$ac_exeext conftest.$ac_ext
13414 fi
13415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13417 if test `eval echo '${'$as_ac_var'}'` = yes; then
13418   cat >>confdefs.h <<_ACEOF
13419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13420 _ACEOF
13421
13422 fi
13423 done
13424
13425   else
13426
13427   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13428 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13429   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13430     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13431   echo $ECHO_N "(cached) $ECHO_C" >&6
13432 else
13433
13434
13435
13436       ac_ext=cc
13437 ac_cpp='$CXXCPP $CPPFLAGS'
13438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13441
13442       cat >conftest.$ac_ext <<_ACEOF
13443 /* confdefs.h.  */
13444 _ACEOF
13445 cat confdefs.h >>conftest.$ac_ext
13446 cat >>conftest.$ac_ext <<_ACEOF
13447 /* end confdefs.h.  */
13448 #include <math.h>
13449                       #ifdef HAVE_IEEEFP_H
13450                       #include <ieeefp.h>
13451                       #endif
13452
13453 int
13454 main ()
13455 {
13456  _fabsf(0);
13457   ;
13458   return 0;
13459 }
13460 _ACEOF
13461 rm -f conftest.$ac_objext
13462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13463   (eval $ac_compile) 2>conftest.er1
13464   ac_status=$?
13465   grep -v '^ *+' conftest.er1 >conftest.err
13466   rm -f conftest.er1
13467   cat conftest.err >&5
13468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13469   (exit $ac_status); } &&
13470          { ac_try='test -z "$ac_cxx_werror_flag"
13471                          || test ! -s conftest.err'
13472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13473   (eval $ac_try) 2>&5
13474   ac_status=$?
13475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13476   (exit $ac_status); }; } &&
13477          { ac_try='test -s conftest.$ac_objext'
13478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13479   (eval $ac_try) 2>&5
13480   ac_status=$?
13481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13482   (exit $ac_status); }; }; then
13483   glibcxx_cv_func__fabsf_use=yes
13484 else
13485   echo "$as_me: failed program was:" >&5
13486 sed 's/^/| /' conftest.$ac_ext >&5
13487
13488 glibcxx_cv_func__fabsf_use=no
13489 fi
13490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13491       ac_ext=c
13492 ac_cpp='$CPP $CPPFLAGS'
13493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13496
13497
13498 fi
13499
13500   fi
13501   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13502 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13503
13504     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13505
13506 for ac_func in _fabsf
13507 do
13508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13509 echo "$as_me:$LINENO: checking for $ac_func" >&5
13510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13511 if eval "test \"\${$as_ac_var+set}\" = set"; then
13512   echo $ECHO_N "(cached) $ECHO_C" >&6
13513 else
13514   if test x$gcc_no_link = xyes; then
13515   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13517    { (exit 1); exit 1; }; }
13518 fi
13519 cat >conftest.$ac_ext <<_ACEOF
13520 /* confdefs.h.  */
13521 _ACEOF
13522 cat confdefs.h >>conftest.$ac_ext
13523 cat >>conftest.$ac_ext <<_ACEOF
13524 /* end confdefs.h.  */
13525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13526    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13527 #define $ac_func innocuous_$ac_func
13528
13529 /* System header to define __stub macros and hopefully few prototypes,
13530     which can conflict with char $ac_func (); below.
13531     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13532     <limits.h> exists even on freestanding compilers.  */
13533
13534 #ifdef __STDC__
13535 # include <limits.h>
13536 #else
13537 # include <assert.h>
13538 #endif
13539
13540 #undef $ac_func
13541
13542 /* Override any gcc2 internal prototype to avoid an error.  */
13543 #ifdef __cplusplus
13544 extern "C"
13545 {
13546 #endif
13547 /* We use char because int might match the return type of a gcc2
13548    builtin and then its argument prototype would still apply.  */
13549 char $ac_func ();
13550 /* The GNU C library defines this for functions which it implements
13551     to always fail with ENOSYS.  Some functions are actually named
13552     something starting with __ and the normal name is an alias.  */
13553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13554 choke me
13555 #else
13556 char (*f) () = $ac_func;
13557 #endif
13558 #ifdef __cplusplus
13559 }
13560 #endif
13561
13562 int
13563 main ()
13564 {
13565 return f != $ac_func;
13566   ;
13567   return 0;
13568 }
13569 _ACEOF
13570 rm -f conftest.$ac_objext conftest$ac_exeext
13571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13572   (eval $ac_link) 2>conftest.er1
13573   ac_status=$?
13574   grep -v '^ *+' conftest.er1 >conftest.err
13575   rm -f conftest.er1
13576   cat conftest.err >&5
13577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13578   (exit $ac_status); } &&
13579          { ac_try='test -z "$ac_c_werror_flag"
13580                          || test ! -s conftest.err'
13581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13582   (eval $ac_try) 2>&5
13583   ac_status=$?
13584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13585   (exit $ac_status); }; } &&
13586          { ac_try='test -s conftest$ac_exeext'
13587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13588   (eval $ac_try) 2>&5
13589   ac_status=$?
13590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13591   (exit $ac_status); }; }; then
13592   eval "$as_ac_var=yes"
13593 else
13594   echo "$as_me: failed program was:" >&5
13595 sed 's/^/| /' conftest.$ac_ext >&5
13596
13597 eval "$as_ac_var=no"
13598 fi
13599 rm -f conftest.err conftest.$ac_objext \
13600       conftest$ac_exeext conftest.$ac_ext
13601 fi
13602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13604 if test `eval echo '${'$as_ac_var'}'` = yes; then
13605   cat >>confdefs.h <<_ACEOF
13606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13607 _ACEOF
13608
13609 fi
13610 done
13611
13612     fi
13613   fi
13614
13615
13616
13617   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
13618 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
13619   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
13620     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
13621   echo $ECHO_N "(cached) $ECHO_C" >&6
13622 else
13623
13624
13625
13626       ac_ext=cc
13627 ac_cpp='$CXXCPP $CPPFLAGS'
13628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13631
13632       cat >conftest.$ac_ext <<_ACEOF
13633 /* confdefs.h.  */
13634 _ACEOF
13635 cat confdefs.h >>conftest.$ac_ext
13636 cat >>conftest.$ac_ext <<_ACEOF
13637 /* end confdefs.h.  */
13638 #include <math.h>
13639 int
13640 main ()
13641 {
13642  fmodf(0, 0);
13643   ;
13644   return 0;
13645 }
13646 _ACEOF
13647 rm -f conftest.$ac_objext
13648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13649   (eval $ac_compile) 2>conftest.er1
13650   ac_status=$?
13651   grep -v '^ *+' conftest.er1 >conftest.err
13652   rm -f conftest.er1
13653   cat conftest.err >&5
13654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13655   (exit $ac_status); } &&
13656          { ac_try='test -z "$ac_cxx_werror_flag"
13657                          || test ! -s conftest.err'
13658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13659   (eval $ac_try) 2>&5
13660   ac_status=$?
13661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13662   (exit $ac_status); }; } &&
13663          { ac_try='test -s conftest.$ac_objext'
13664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13665   (eval $ac_try) 2>&5
13666   ac_status=$?
13667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13668   (exit $ac_status); }; }; then
13669   glibcxx_cv_func_fmodf_use=yes
13670 else
13671   echo "$as_me: failed program was:" >&5
13672 sed 's/^/| /' conftest.$ac_ext >&5
13673
13674 glibcxx_cv_func_fmodf_use=no
13675 fi
13676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13677       ac_ext=c
13678 ac_cpp='$CPP $CPPFLAGS'
13679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13682
13683
13684 fi
13685
13686   fi
13687   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
13688 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
13689
13690   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
13691
13692 for ac_func in fmodf
13693 do
13694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13695 echo "$as_me:$LINENO: checking for $ac_func" >&5
13696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13697 if eval "test \"\${$as_ac_var+set}\" = set"; then
13698   echo $ECHO_N "(cached) $ECHO_C" >&6
13699 else
13700   if test x$gcc_no_link = xyes; then
13701   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13703    { (exit 1); exit 1; }; }
13704 fi
13705 cat >conftest.$ac_ext <<_ACEOF
13706 /* confdefs.h.  */
13707 _ACEOF
13708 cat confdefs.h >>conftest.$ac_ext
13709 cat >>conftest.$ac_ext <<_ACEOF
13710 /* end confdefs.h.  */
13711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13712    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13713 #define $ac_func innocuous_$ac_func
13714
13715 /* System header to define __stub macros and hopefully few prototypes,
13716     which can conflict with char $ac_func (); below.
13717     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13718     <limits.h> exists even on freestanding compilers.  */
13719
13720 #ifdef __STDC__
13721 # include <limits.h>
13722 #else
13723 # include <assert.h>
13724 #endif
13725
13726 #undef $ac_func
13727
13728 /* Override any gcc2 internal prototype to avoid an error.  */
13729 #ifdef __cplusplus
13730 extern "C"
13731 {
13732 #endif
13733 /* We use char because int might match the return type of a gcc2
13734    builtin and then its argument prototype would still apply.  */
13735 char $ac_func ();
13736 /* The GNU C library defines this for functions which it implements
13737     to always fail with ENOSYS.  Some functions are actually named
13738     something starting with __ and the normal name is an alias.  */
13739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13740 choke me
13741 #else
13742 char (*f) () = $ac_func;
13743 #endif
13744 #ifdef __cplusplus
13745 }
13746 #endif
13747
13748 int
13749 main ()
13750 {
13751 return f != $ac_func;
13752   ;
13753   return 0;
13754 }
13755 _ACEOF
13756 rm -f conftest.$ac_objext conftest$ac_exeext
13757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13758   (eval $ac_link) 2>conftest.er1
13759   ac_status=$?
13760   grep -v '^ *+' conftest.er1 >conftest.err
13761   rm -f conftest.er1
13762   cat conftest.err >&5
13763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13764   (exit $ac_status); } &&
13765          { ac_try='test -z "$ac_c_werror_flag"
13766                          || test ! -s conftest.err'
13767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13768   (eval $ac_try) 2>&5
13769   ac_status=$?
13770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13771   (exit $ac_status); }; } &&
13772          { ac_try='test -s conftest$ac_exeext'
13773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13774   (eval $ac_try) 2>&5
13775   ac_status=$?
13776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13777   (exit $ac_status); }; }; then
13778   eval "$as_ac_var=yes"
13779 else
13780   echo "$as_me: failed program was:" >&5
13781 sed 's/^/| /' conftest.$ac_ext >&5
13782
13783 eval "$as_ac_var=no"
13784 fi
13785 rm -f conftest.err conftest.$ac_objext \
13786       conftest$ac_exeext conftest.$ac_ext
13787 fi
13788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13790 if test `eval echo '${'$as_ac_var'}'` = yes; then
13791   cat >>confdefs.h <<_ACEOF
13792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13793 _ACEOF
13794
13795 fi
13796 done
13797
13798   else
13799
13800   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
13801 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
13802   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
13803     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
13804   echo $ECHO_N "(cached) $ECHO_C" >&6
13805 else
13806
13807
13808
13809       ac_ext=cc
13810 ac_cpp='$CXXCPP $CPPFLAGS'
13811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13814
13815       cat >conftest.$ac_ext <<_ACEOF
13816 /* confdefs.h.  */
13817 _ACEOF
13818 cat confdefs.h >>conftest.$ac_ext
13819 cat >>conftest.$ac_ext <<_ACEOF
13820 /* end confdefs.h.  */
13821 #include <math.h>
13822 int
13823 main ()
13824 {
13825  _fmodf(0, 0);
13826   ;
13827   return 0;
13828 }
13829 _ACEOF
13830 rm -f conftest.$ac_objext
13831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13832   (eval $ac_compile) 2>conftest.er1
13833   ac_status=$?
13834   grep -v '^ *+' conftest.er1 >conftest.err
13835   rm -f conftest.er1
13836   cat conftest.err >&5
13837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13838   (exit $ac_status); } &&
13839          { ac_try='test -z "$ac_cxx_werror_flag"
13840                          || test ! -s conftest.err'
13841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13842   (eval $ac_try) 2>&5
13843   ac_status=$?
13844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845   (exit $ac_status); }; } &&
13846          { ac_try='test -s conftest.$ac_objext'
13847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13848   (eval $ac_try) 2>&5
13849   ac_status=$?
13850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13851   (exit $ac_status); }; }; then
13852   glibcxx_cv_func__fmodf_use=yes
13853 else
13854   echo "$as_me: failed program was:" >&5
13855 sed 's/^/| /' conftest.$ac_ext >&5
13856
13857 glibcxx_cv_func__fmodf_use=no
13858 fi
13859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13860       ac_ext=c
13861 ac_cpp='$CPP $CPPFLAGS'
13862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13865
13866
13867 fi
13868
13869   fi
13870   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
13871 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
13872
13873     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
13874
13875 for ac_func in _fmodf
13876 do
13877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13878 echo "$as_me:$LINENO: checking for $ac_func" >&5
13879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13880 if eval "test \"\${$as_ac_var+set}\" = set"; then
13881   echo $ECHO_N "(cached) $ECHO_C" >&6
13882 else
13883   if test x$gcc_no_link = xyes; then
13884   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13886    { (exit 1); exit 1; }; }
13887 fi
13888 cat >conftest.$ac_ext <<_ACEOF
13889 /* confdefs.h.  */
13890 _ACEOF
13891 cat confdefs.h >>conftest.$ac_ext
13892 cat >>conftest.$ac_ext <<_ACEOF
13893 /* end confdefs.h.  */
13894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13895    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13896 #define $ac_func innocuous_$ac_func
13897
13898 /* System header to define __stub macros and hopefully few prototypes,
13899     which can conflict with char $ac_func (); below.
13900     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13901     <limits.h> exists even on freestanding compilers.  */
13902
13903 #ifdef __STDC__
13904 # include <limits.h>
13905 #else
13906 # include <assert.h>
13907 #endif
13908
13909 #undef $ac_func
13910
13911 /* Override any gcc2 internal prototype to avoid an error.  */
13912 #ifdef __cplusplus
13913 extern "C"
13914 {
13915 #endif
13916 /* We use char because int might match the return type of a gcc2
13917    builtin and then its argument prototype would still apply.  */
13918 char $ac_func ();
13919 /* The GNU C library defines this for functions which it implements
13920     to always fail with ENOSYS.  Some functions are actually named
13921     something starting with __ and the normal name is an alias.  */
13922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13923 choke me
13924 #else
13925 char (*f) () = $ac_func;
13926 #endif
13927 #ifdef __cplusplus
13928 }
13929 #endif
13930
13931 int
13932 main ()
13933 {
13934 return f != $ac_func;
13935   ;
13936   return 0;
13937 }
13938 _ACEOF
13939 rm -f conftest.$ac_objext conftest$ac_exeext
13940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13941   (eval $ac_link) 2>conftest.er1
13942   ac_status=$?
13943   grep -v '^ *+' conftest.er1 >conftest.err
13944   rm -f conftest.er1
13945   cat conftest.err >&5
13946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947   (exit $ac_status); } &&
13948          { ac_try='test -z "$ac_c_werror_flag"
13949                          || test ! -s conftest.err'
13950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13951   (eval $ac_try) 2>&5
13952   ac_status=$?
13953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13954   (exit $ac_status); }; } &&
13955          { ac_try='test -s conftest$ac_exeext'
13956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13957   (eval $ac_try) 2>&5
13958   ac_status=$?
13959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13960   (exit $ac_status); }; }; then
13961   eval "$as_ac_var=yes"
13962 else
13963   echo "$as_me: failed program was:" >&5
13964 sed 's/^/| /' conftest.$ac_ext >&5
13965
13966 eval "$as_ac_var=no"
13967 fi
13968 rm -f conftest.err conftest.$ac_objext \
13969       conftest$ac_exeext conftest.$ac_ext
13970 fi
13971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13973 if test `eval echo '${'$as_ac_var'}'` = yes; then
13974   cat >>confdefs.h <<_ACEOF
13975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13976 _ACEOF
13977
13978 fi
13979 done
13980
13981     fi
13982   fi
13983
13984
13985
13986   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
13987 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
13988   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
13989     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
13990   echo $ECHO_N "(cached) $ECHO_C" >&6
13991 else
13992
13993
13994
13995       ac_ext=cc
13996 ac_cpp='$CXXCPP $CPPFLAGS'
13997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14000
14001       cat >conftest.$ac_ext <<_ACEOF
14002 /* confdefs.h.  */
14003 _ACEOF
14004 cat confdefs.h >>conftest.$ac_ext
14005 cat >>conftest.$ac_ext <<_ACEOF
14006 /* end confdefs.h.  */
14007 #include <math.h>
14008 int
14009 main ()
14010 {
14011  frexpf(0, 0);
14012   ;
14013   return 0;
14014 }
14015 _ACEOF
14016 rm -f conftest.$ac_objext
14017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14018   (eval $ac_compile) 2>conftest.er1
14019   ac_status=$?
14020   grep -v '^ *+' conftest.er1 >conftest.err
14021   rm -f conftest.er1
14022   cat conftest.err >&5
14023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024   (exit $ac_status); } &&
14025          { ac_try='test -z "$ac_cxx_werror_flag"
14026                          || test ! -s conftest.err'
14027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14028   (eval $ac_try) 2>&5
14029   ac_status=$?
14030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14031   (exit $ac_status); }; } &&
14032          { ac_try='test -s conftest.$ac_objext'
14033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14034   (eval $ac_try) 2>&5
14035   ac_status=$?
14036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14037   (exit $ac_status); }; }; then
14038   glibcxx_cv_func_frexpf_use=yes
14039 else
14040   echo "$as_me: failed program was:" >&5
14041 sed 's/^/| /' conftest.$ac_ext >&5
14042
14043 glibcxx_cv_func_frexpf_use=no
14044 fi
14045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14046       ac_ext=c
14047 ac_cpp='$CPP $CPPFLAGS'
14048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14051
14052
14053 fi
14054
14055   fi
14056   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14057 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14058
14059   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14060
14061 for ac_func in frexpf
14062 do
14063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14064 echo "$as_me:$LINENO: checking for $ac_func" >&5
14065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14066 if eval "test \"\${$as_ac_var+set}\" = set"; then
14067   echo $ECHO_N "(cached) $ECHO_C" >&6
14068 else
14069   if test x$gcc_no_link = xyes; then
14070   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14072    { (exit 1); exit 1; }; }
14073 fi
14074 cat >conftest.$ac_ext <<_ACEOF
14075 /* confdefs.h.  */
14076 _ACEOF
14077 cat confdefs.h >>conftest.$ac_ext
14078 cat >>conftest.$ac_ext <<_ACEOF
14079 /* end confdefs.h.  */
14080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14081    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14082 #define $ac_func innocuous_$ac_func
14083
14084 /* System header to define __stub macros and hopefully few prototypes,
14085     which can conflict with char $ac_func (); below.
14086     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14087     <limits.h> exists even on freestanding compilers.  */
14088
14089 #ifdef __STDC__
14090 # include <limits.h>
14091 #else
14092 # include <assert.h>
14093 #endif
14094
14095 #undef $ac_func
14096
14097 /* Override any gcc2 internal prototype to avoid an error.  */
14098 #ifdef __cplusplus
14099 extern "C"
14100 {
14101 #endif
14102 /* We use char because int might match the return type of a gcc2
14103    builtin and then its argument prototype would still apply.  */
14104 char $ac_func ();
14105 /* The GNU C library defines this for functions which it implements
14106     to always fail with ENOSYS.  Some functions are actually named
14107     something starting with __ and the normal name is an alias.  */
14108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14109 choke me
14110 #else
14111 char (*f) () = $ac_func;
14112 #endif
14113 #ifdef __cplusplus
14114 }
14115 #endif
14116
14117 int
14118 main ()
14119 {
14120 return f != $ac_func;
14121   ;
14122   return 0;
14123 }
14124 _ACEOF
14125 rm -f conftest.$ac_objext conftest$ac_exeext
14126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14127   (eval $ac_link) 2>conftest.er1
14128   ac_status=$?
14129   grep -v '^ *+' conftest.er1 >conftest.err
14130   rm -f conftest.er1
14131   cat conftest.err >&5
14132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14133   (exit $ac_status); } &&
14134          { ac_try='test -z "$ac_c_werror_flag"
14135                          || test ! -s conftest.err'
14136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14137   (eval $ac_try) 2>&5
14138   ac_status=$?
14139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14140   (exit $ac_status); }; } &&
14141          { ac_try='test -s conftest$ac_exeext'
14142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14143   (eval $ac_try) 2>&5
14144   ac_status=$?
14145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14146   (exit $ac_status); }; }; then
14147   eval "$as_ac_var=yes"
14148 else
14149   echo "$as_me: failed program was:" >&5
14150 sed 's/^/| /' conftest.$ac_ext >&5
14151
14152 eval "$as_ac_var=no"
14153 fi
14154 rm -f conftest.err conftest.$ac_objext \
14155       conftest$ac_exeext conftest.$ac_ext
14156 fi
14157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14159 if test `eval echo '${'$as_ac_var'}'` = yes; then
14160   cat >>confdefs.h <<_ACEOF
14161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14162 _ACEOF
14163
14164 fi
14165 done
14166
14167   else
14168
14169   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14170 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14171   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14172     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14173   echo $ECHO_N "(cached) $ECHO_C" >&6
14174 else
14175
14176
14177
14178       ac_ext=cc
14179 ac_cpp='$CXXCPP $CPPFLAGS'
14180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14183
14184       cat >conftest.$ac_ext <<_ACEOF
14185 /* confdefs.h.  */
14186 _ACEOF
14187 cat confdefs.h >>conftest.$ac_ext
14188 cat >>conftest.$ac_ext <<_ACEOF
14189 /* end confdefs.h.  */
14190 #include <math.h>
14191 int
14192 main ()
14193 {
14194  _frexpf(0, 0);
14195   ;
14196   return 0;
14197 }
14198 _ACEOF
14199 rm -f conftest.$ac_objext
14200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14201   (eval $ac_compile) 2>conftest.er1
14202   ac_status=$?
14203   grep -v '^ *+' conftest.er1 >conftest.err
14204   rm -f conftest.er1
14205   cat conftest.err >&5
14206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14207   (exit $ac_status); } &&
14208          { ac_try='test -z "$ac_cxx_werror_flag"
14209                          || test ! -s conftest.err'
14210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14211   (eval $ac_try) 2>&5
14212   ac_status=$?
14213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14214   (exit $ac_status); }; } &&
14215          { ac_try='test -s conftest.$ac_objext'
14216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14217   (eval $ac_try) 2>&5
14218   ac_status=$?
14219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14220   (exit $ac_status); }; }; then
14221   glibcxx_cv_func__frexpf_use=yes
14222 else
14223   echo "$as_me: failed program was:" >&5
14224 sed 's/^/| /' conftest.$ac_ext >&5
14225
14226 glibcxx_cv_func__frexpf_use=no
14227 fi
14228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14229       ac_ext=c
14230 ac_cpp='$CPP $CPPFLAGS'
14231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14234
14235
14236 fi
14237
14238   fi
14239   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14240 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14241
14242     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14243
14244 for ac_func in _frexpf
14245 do
14246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14247 echo "$as_me:$LINENO: checking for $ac_func" >&5
14248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14249 if eval "test \"\${$as_ac_var+set}\" = set"; then
14250   echo $ECHO_N "(cached) $ECHO_C" >&6
14251 else
14252   if test x$gcc_no_link = xyes; then
14253   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14255    { (exit 1); exit 1; }; }
14256 fi
14257 cat >conftest.$ac_ext <<_ACEOF
14258 /* confdefs.h.  */
14259 _ACEOF
14260 cat confdefs.h >>conftest.$ac_ext
14261 cat >>conftest.$ac_ext <<_ACEOF
14262 /* end confdefs.h.  */
14263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14264    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14265 #define $ac_func innocuous_$ac_func
14266
14267 /* System header to define __stub macros and hopefully few prototypes,
14268     which can conflict with char $ac_func (); below.
14269     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14270     <limits.h> exists even on freestanding compilers.  */
14271
14272 #ifdef __STDC__
14273 # include <limits.h>
14274 #else
14275 # include <assert.h>
14276 #endif
14277
14278 #undef $ac_func
14279
14280 /* Override any gcc2 internal prototype to avoid an error.  */
14281 #ifdef __cplusplus
14282 extern "C"
14283 {
14284 #endif
14285 /* We use char because int might match the return type of a gcc2
14286    builtin and then its argument prototype would still apply.  */
14287 char $ac_func ();
14288 /* The GNU C library defines this for functions which it implements
14289     to always fail with ENOSYS.  Some functions are actually named
14290     something starting with __ and the normal name is an alias.  */
14291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14292 choke me
14293 #else
14294 char (*f) () = $ac_func;
14295 #endif
14296 #ifdef __cplusplus
14297 }
14298 #endif
14299
14300 int
14301 main ()
14302 {
14303 return f != $ac_func;
14304   ;
14305   return 0;
14306 }
14307 _ACEOF
14308 rm -f conftest.$ac_objext conftest$ac_exeext
14309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14310   (eval $ac_link) 2>conftest.er1
14311   ac_status=$?
14312   grep -v '^ *+' conftest.er1 >conftest.err
14313   rm -f conftest.er1
14314   cat conftest.err >&5
14315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14316   (exit $ac_status); } &&
14317          { ac_try='test -z "$ac_c_werror_flag"
14318                          || test ! -s conftest.err'
14319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14320   (eval $ac_try) 2>&5
14321   ac_status=$?
14322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14323   (exit $ac_status); }; } &&
14324          { ac_try='test -s conftest$ac_exeext'
14325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14326   (eval $ac_try) 2>&5
14327   ac_status=$?
14328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14329   (exit $ac_status); }; }; then
14330   eval "$as_ac_var=yes"
14331 else
14332   echo "$as_me: failed program was:" >&5
14333 sed 's/^/| /' conftest.$ac_ext >&5
14334
14335 eval "$as_ac_var=no"
14336 fi
14337 rm -f conftest.err conftest.$ac_objext \
14338       conftest$ac_exeext conftest.$ac_ext
14339 fi
14340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14342 if test `eval echo '${'$as_ac_var'}'` = yes; then
14343   cat >>confdefs.h <<_ACEOF
14344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14345 _ACEOF
14346
14347 fi
14348 done
14349
14350     fi
14351   fi
14352
14353
14354
14355   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14356 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14357   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14358     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14359   echo $ECHO_N "(cached) $ECHO_C" >&6
14360 else
14361
14362
14363
14364       ac_ext=cc
14365 ac_cpp='$CXXCPP $CPPFLAGS'
14366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14369
14370       cat >conftest.$ac_ext <<_ACEOF
14371 /* confdefs.h.  */
14372 _ACEOF
14373 cat confdefs.h >>conftest.$ac_ext
14374 cat >>conftest.$ac_ext <<_ACEOF
14375 /* end confdefs.h.  */
14376 #include <math.h>
14377 int
14378 main ()
14379 {
14380  hypotf(0, 0);
14381   ;
14382   return 0;
14383 }
14384 _ACEOF
14385 rm -f conftest.$ac_objext
14386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14387   (eval $ac_compile) 2>conftest.er1
14388   ac_status=$?
14389   grep -v '^ *+' conftest.er1 >conftest.err
14390   rm -f conftest.er1
14391   cat conftest.err >&5
14392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14393   (exit $ac_status); } &&
14394          { ac_try='test -z "$ac_cxx_werror_flag"
14395                          || test ! -s conftest.err'
14396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14397   (eval $ac_try) 2>&5
14398   ac_status=$?
14399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14400   (exit $ac_status); }; } &&
14401          { ac_try='test -s conftest.$ac_objext'
14402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14403   (eval $ac_try) 2>&5
14404   ac_status=$?
14405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14406   (exit $ac_status); }; }; then
14407   glibcxx_cv_func_hypotf_use=yes
14408 else
14409   echo "$as_me: failed program was:" >&5
14410 sed 's/^/| /' conftest.$ac_ext >&5
14411
14412 glibcxx_cv_func_hypotf_use=no
14413 fi
14414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14415       ac_ext=c
14416 ac_cpp='$CPP $CPPFLAGS'
14417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14420
14421
14422 fi
14423
14424   fi
14425   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14426 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14427
14428   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14429
14430 for ac_func in hypotf
14431 do
14432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14433 echo "$as_me:$LINENO: checking for $ac_func" >&5
14434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14435 if eval "test \"\${$as_ac_var+set}\" = set"; then
14436   echo $ECHO_N "(cached) $ECHO_C" >&6
14437 else
14438   if test x$gcc_no_link = xyes; then
14439   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14441    { (exit 1); exit 1; }; }
14442 fi
14443 cat >conftest.$ac_ext <<_ACEOF
14444 /* confdefs.h.  */
14445 _ACEOF
14446 cat confdefs.h >>conftest.$ac_ext
14447 cat >>conftest.$ac_ext <<_ACEOF
14448 /* end confdefs.h.  */
14449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14450    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14451 #define $ac_func innocuous_$ac_func
14452
14453 /* System header to define __stub macros and hopefully few prototypes,
14454     which can conflict with char $ac_func (); below.
14455     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14456     <limits.h> exists even on freestanding compilers.  */
14457
14458 #ifdef __STDC__
14459 # include <limits.h>
14460 #else
14461 # include <assert.h>
14462 #endif
14463
14464 #undef $ac_func
14465
14466 /* Override any gcc2 internal prototype to avoid an error.  */
14467 #ifdef __cplusplus
14468 extern "C"
14469 {
14470 #endif
14471 /* We use char because int might match the return type of a gcc2
14472    builtin and then its argument prototype would still apply.  */
14473 char $ac_func ();
14474 /* The GNU C library defines this for functions which it implements
14475     to always fail with ENOSYS.  Some functions are actually named
14476     something starting with __ and the normal name is an alias.  */
14477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14478 choke me
14479 #else
14480 char (*f) () = $ac_func;
14481 #endif
14482 #ifdef __cplusplus
14483 }
14484 #endif
14485
14486 int
14487 main ()
14488 {
14489 return f != $ac_func;
14490   ;
14491   return 0;
14492 }
14493 _ACEOF
14494 rm -f conftest.$ac_objext conftest$ac_exeext
14495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14496   (eval $ac_link) 2>conftest.er1
14497   ac_status=$?
14498   grep -v '^ *+' conftest.er1 >conftest.err
14499   rm -f conftest.er1
14500   cat conftest.err >&5
14501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14502   (exit $ac_status); } &&
14503          { ac_try='test -z "$ac_c_werror_flag"
14504                          || test ! -s conftest.err'
14505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14506   (eval $ac_try) 2>&5
14507   ac_status=$?
14508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14509   (exit $ac_status); }; } &&
14510          { ac_try='test -s conftest$ac_exeext'
14511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14512   (eval $ac_try) 2>&5
14513   ac_status=$?
14514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14515   (exit $ac_status); }; }; then
14516   eval "$as_ac_var=yes"
14517 else
14518   echo "$as_me: failed program was:" >&5
14519 sed 's/^/| /' conftest.$ac_ext >&5
14520
14521 eval "$as_ac_var=no"
14522 fi
14523 rm -f conftest.err conftest.$ac_objext \
14524       conftest$ac_exeext conftest.$ac_ext
14525 fi
14526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14528 if test `eval echo '${'$as_ac_var'}'` = yes; then
14529   cat >>confdefs.h <<_ACEOF
14530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14531 _ACEOF
14532
14533 fi
14534 done
14535
14536   else
14537
14538   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
14539 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
14540   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14541     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
14542   echo $ECHO_N "(cached) $ECHO_C" >&6
14543 else
14544
14545
14546
14547       ac_ext=cc
14548 ac_cpp='$CXXCPP $CPPFLAGS'
14549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14552
14553       cat >conftest.$ac_ext <<_ACEOF
14554 /* confdefs.h.  */
14555 _ACEOF
14556 cat confdefs.h >>conftest.$ac_ext
14557 cat >>conftest.$ac_ext <<_ACEOF
14558 /* end confdefs.h.  */
14559 #include <math.h>
14560 int
14561 main ()
14562 {
14563  _hypotf(0, 0);
14564   ;
14565   return 0;
14566 }
14567 _ACEOF
14568 rm -f conftest.$ac_objext
14569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14570   (eval $ac_compile) 2>conftest.er1
14571   ac_status=$?
14572   grep -v '^ *+' conftest.er1 >conftest.err
14573   rm -f conftest.er1
14574   cat conftest.err >&5
14575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14576   (exit $ac_status); } &&
14577          { ac_try='test -z "$ac_cxx_werror_flag"
14578                          || test ! -s conftest.err'
14579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14580   (eval $ac_try) 2>&5
14581   ac_status=$?
14582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14583   (exit $ac_status); }; } &&
14584          { ac_try='test -s conftest.$ac_objext'
14585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14586   (eval $ac_try) 2>&5
14587   ac_status=$?
14588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14589   (exit $ac_status); }; }; then
14590   glibcxx_cv_func__hypotf_use=yes
14591 else
14592   echo "$as_me: failed program was:" >&5
14593 sed 's/^/| /' conftest.$ac_ext >&5
14594
14595 glibcxx_cv_func__hypotf_use=no
14596 fi
14597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14598       ac_ext=c
14599 ac_cpp='$CPP $CPPFLAGS'
14600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14603
14604
14605 fi
14606
14607   fi
14608   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
14609 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
14610
14611     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
14612
14613 for ac_func in _hypotf
14614 do
14615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14616 echo "$as_me:$LINENO: checking for $ac_func" >&5
14617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14618 if eval "test \"\${$as_ac_var+set}\" = set"; then
14619   echo $ECHO_N "(cached) $ECHO_C" >&6
14620 else
14621   if test x$gcc_no_link = xyes; then
14622   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14624    { (exit 1); exit 1; }; }
14625 fi
14626 cat >conftest.$ac_ext <<_ACEOF
14627 /* confdefs.h.  */
14628 _ACEOF
14629 cat confdefs.h >>conftest.$ac_ext
14630 cat >>conftest.$ac_ext <<_ACEOF
14631 /* end confdefs.h.  */
14632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14633    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14634 #define $ac_func innocuous_$ac_func
14635
14636 /* System header to define __stub macros and hopefully few prototypes,
14637     which can conflict with char $ac_func (); below.
14638     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14639     <limits.h> exists even on freestanding compilers.  */
14640
14641 #ifdef __STDC__
14642 # include <limits.h>
14643 #else
14644 # include <assert.h>
14645 #endif
14646
14647 #undef $ac_func
14648
14649 /* Override any gcc2 internal prototype to avoid an error.  */
14650 #ifdef __cplusplus
14651 extern "C"
14652 {
14653 #endif
14654 /* We use char because int might match the return type of a gcc2
14655    builtin and then its argument prototype would still apply.  */
14656 char $ac_func ();
14657 /* The GNU C library defines this for functions which it implements
14658     to always fail with ENOSYS.  Some functions are actually named
14659     something starting with __ and the normal name is an alias.  */
14660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14661 choke me
14662 #else
14663 char (*f) () = $ac_func;
14664 #endif
14665 #ifdef __cplusplus
14666 }
14667 #endif
14668
14669 int
14670 main ()
14671 {
14672 return f != $ac_func;
14673   ;
14674   return 0;
14675 }
14676 _ACEOF
14677 rm -f conftest.$ac_objext conftest$ac_exeext
14678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14679   (eval $ac_link) 2>conftest.er1
14680   ac_status=$?
14681   grep -v '^ *+' conftest.er1 >conftest.err
14682   rm -f conftest.er1
14683   cat conftest.err >&5
14684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14685   (exit $ac_status); } &&
14686          { ac_try='test -z "$ac_c_werror_flag"
14687                          || test ! -s conftest.err'
14688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14689   (eval $ac_try) 2>&5
14690   ac_status=$?
14691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14692   (exit $ac_status); }; } &&
14693          { ac_try='test -s conftest$ac_exeext'
14694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14695   (eval $ac_try) 2>&5
14696   ac_status=$?
14697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14698   (exit $ac_status); }; }; then
14699   eval "$as_ac_var=yes"
14700 else
14701   echo "$as_me: failed program was:" >&5
14702 sed 's/^/| /' conftest.$ac_ext >&5
14703
14704 eval "$as_ac_var=no"
14705 fi
14706 rm -f conftest.err conftest.$ac_objext \
14707       conftest$ac_exeext conftest.$ac_ext
14708 fi
14709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14711 if test `eval echo '${'$as_ac_var'}'` = yes; then
14712   cat >>confdefs.h <<_ACEOF
14713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14714 _ACEOF
14715
14716 fi
14717 done
14718
14719     fi
14720   fi
14721
14722
14723
14724   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
14725 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
14726   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
14727     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
14728   echo $ECHO_N "(cached) $ECHO_C" >&6
14729 else
14730
14731
14732
14733       ac_ext=cc
14734 ac_cpp='$CXXCPP $CPPFLAGS'
14735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14738
14739       cat >conftest.$ac_ext <<_ACEOF
14740 /* confdefs.h.  */
14741 _ACEOF
14742 cat confdefs.h >>conftest.$ac_ext
14743 cat >>conftest.$ac_ext <<_ACEOF
14744 /* end confdefs.h.  */
14745 #include <math.h>
14746 int
14747 main ()
14748 {
14749  ldexpf(0, 0);
14750   ;
14751   return 0;
14752 }
14753 _ACEOF
14754 rm -f conftest.$ac_objext
14755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14756   (eval $ac_compile) 2>conftest.er1
14757   ac_status=$?
14758   grep -v '^ *+' conftest.er1 >conftest.err
14759   rm -f conftest.er1
14760   cat conftest.err >&5
14761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14762   (exit $ac_status); } &&
14763          { ac_try='test -z "$ac_cxx_werror_flag"
14764                          || test ! -s conftest.err'
14765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14766   (eval $ac_try) 2>&5
14767   ac_status=$?
14768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14769   (exit $ac_status); }; } &&
14770          { ac_try='test -s conftest.$ac_objext'
14771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14772   (eval $ac_try) 2>&5
14773   ac_status=$?
14774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14775   (exit $ac_status); }; }; then
14776   glibcxx_cv_func_ldexpf_use=yes
14777 else
14778   echo "$as_me: failed program was:" >&5
14779 sed 's/^/| /' conftest.$ac_ext >&5
14780
14781 glibcxx_cv_func_ldexpf_use=no
14782 fi
14783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14784       ac_ext=c
14785 ac_cpp='$CPP $CPPFLAGS'
14786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14789
14790
14791 fi
14792
14793   fi
14794   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
14795 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
14796
14797   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
14798
14799 for ac_func in ldexpf
14800 do
14801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14802 echo "$as_me:$LINENO: checking for $ac_func" >&5
14803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14804 if eval "test \"\${$as_ac_var+set}\" = set"; then
14805   echo $ECHO_N "(cached) $ECHO_C" >&6
14806 else
14807   if test x$gcc_no_link = xyes; then
14808   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14810    { (exit 1); exit 1; }; }
14811 fi
14812 cat >conftest.$ac_ext <<_ACEOF
14813 /* confdefs.h.  */
14814 _ACEOF
14815 cat confdefs.h >>conftest.$ac_ext
14816 cat >>conftest.$ac_ext <<_ACEOF
14817 /* end confdefs.h.  */
14818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14819    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14820 #define $ac_func innocuous_$ac_func
14821
14822 /* System header to define __stub macros and hopefully few prototypes,
14823     which can conflict with char $ac_func (); below.
14824     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14825     <limits.h> exists even on freestanding compilers.  */
14826
14827 #ifdef __STDC__
14828 # include <limits.h>
14829 #else
14830 # include <assert.h>
14831 #endif
14832
14833 #undef $ac_func
14834
14835 /* Override any gcc2 internal prototype to avoid an error.  */
14836 #ifdef __cplusplus
14837 extern "C"
14838 {
14839 #endif
14840 /* We use char because int might match the return type of a gcc2
14841    builtin and then its argument prototype would still apply.  */
14842 char $ac_func ();
14843 /* The GNU C library defines this for functions which it implements
14844     to always fail with ENOSYS.  Some functions are actually named
14845     something starting with __ and the normal name is an alias.  */
14846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14847 choke me
14848 #else
14849 char (*f) () = $ac_func;
14850 #endif
14851 #ifdef __cplusplus
14852 }
14853 #endif
14854
14855 int
14856 main ()
14857 {
14858 return f != $ac_func;
14859   ;
14860   return 0;
14861 }
14862 _ACEOF
14863 rm -f conftest.$ac_objext conftest$ac_exeext
14864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14865   (eval $ac_link) 2>conftest.er1
14866   ac_status=$?
14867   grep -v '^ *+' conftest.er1 >conftest.err
14868   rm -f conftest.er1
14869   cat conftest.err >&5
14870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871   (exit $ac_status); } &&
14872          { ac_try='test -z "$ac_c_werror_flag"
14873                          || test ! -s conftest.err'
14874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14875   (eval $ac_try) 2>&5
14876   ac_status=$?
14877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14878   (exit $ac_status); }; } &&
14879          { ac_try='test -s conftest$ac_exeext'
14880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14881   (eval $ac_try) 2>&5
14882   ac_status=$?
14883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884   (exit $ac_status); }; }; then
14885   eval "$as_ac_var=yes"
14886 else
14887   echo "$as_me: failed program was:" >&5
14888 sed 's/^/| /' conftest.$ac_ext >&5
14889
14890 eval "$as_ac_var=no"
14891 fi
14892 rm -f conftest.err conftest.$ac_objext \
14893       conftest$ac_exeext conftest.$ac_ext
14894 fi
14895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14897 if test `eval echo '${'$as_ac_var'}'` = yes; then
14898   cat >>confdefs.h <<_ACEOF
14899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14900 _ACEOF
14901
14902 fi
14903 done
14904
14905   else
14906
14907   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
14908 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
14909   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
14910     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
14911   echo $ECHO_N "(cached) $ECHO_C" >&6
14912 else
14913
14914
14915
14916       ac_ext=cc
14917 ac_cpp='$CXXCPP $CPPFLAGS'
14918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14921
14922       cat >conftest.$ac_ext <<_ACEOF
14923 /* confdefs.h.  */
14924 _ACEOF
14925 cat confdefs.h >>conftest.$ac_ext
14926 cat >>conftest.$ac_ext <<_ACEOF
14927 /* end confdefs.h.  */
14928 #include <math.h>
14929 int
14930 main ()
14931 {
14932  _ldexpf(0, 0);
14933   ;
14934   return 0;
14935 }
14936 _ACEOF
14937 rm -f conftest.$ac_objext
14938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14939   (eval $ac_compile) 2>conftest.er1
14940   ac_status=$?
14941   grep -v '^ *+' conftest.er1 >conftest.err
14942   rm -f conftest.er1
14943   cat conftest.err >&5
14944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14945   (exit $ac_status); } &&
14946          { ac_try='test -z "$ac_cxx_werror_flag"
14947                          || test ! -s conftest.err'
14948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14949   (eval $ac_try) 2>&5
14950   ac_status=$?
14951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14952   (exit $ac_status); }; } &&
14953          { ac_try='test -s conftest.$ac_objext'
14954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14955   (eval $ac_try) 2>&5
14956   ac_status=$?
14957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958   (exit $ac_status); }; }; then
14959   glibcxx_cv_func__ldexpf_use=yes
14960 else
14961   echo "$as_me: failed program was:" >&5
14962 sed 's/^/| /' conftest.$ac_ext >&5
14963
14964 glibcxx_cv_func__ldexpf_use=no
14965 fi
14966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14967       ac_ext=c
14968 ac_cpp='$CPP $CPPFLAGS'
14969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14972
14973
14974 fi
14975
14976   fi
14977   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
14978 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
14979
14980     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
14981
14982 for ac_func in _ldexpf
14983 do
14984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14985 echo "$as_me:$LINENO: checking for $ac_func" >&5
14986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14987 if eval "test \"\${$as_ac_var+set}\" = set"; then
14988   echo $ECHO_N "(cached) $ECHO_C" >&6
14989 else
14990   if test x$gcc_no_link = xyes; then
14991   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14993    { (exit 1); exit 1; }; }
14994 fi
14995 cat >conftest.$ac_ext <<_ACEOF
14996 /* confdefs.h.  */
14997 _ACEOF
14998 cat confdefs.h >>conftest.$ac_ext
14999 cat >>conftest.$ac_ext <<_ACEOF
15000 /* end confdefs.h.  */
15001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15002    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15003 #define $ac_func innocuous_$ac_func
15004
15005 /* System header to define __stub macros and hopefully few prototypes,
15006     which can conflict with char $ac_func (); below.
15007     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15008     <limits.h> exists even on freestanding compilers.  */
15009
15010 #ifdef __STDC__
15011 # include <limits.h>
15012 #else
15013 # include <assert.h>
15014 #endif
15015
15016 #undef $ac_func
15017
15018 /* Override any gcc2 internal prototype to avoid an error.  */
15019 #ifdef __cplusplus
15020 extern "C"
15021 {
15022 #endif
15023 /* We use char because int might match the return type of a gcc2
15024    builtin and then its argument prototype would still apply.  */
15025 char $ac_func ();
15026 /* The GNU C library defines this for functions which it implements
15027     to always fail with ENOSYS.  Some functions are actually named
15028     something starting with __ and the normal name is an alias.  */
15029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15030 choke me
15031 #else
15032 char (*f) () = $ac_func;
15033 #endif
15034 #ifdef __cplusplus
15035 }
15036 #endif
15037
15038 int
15039 main ()
15040 {
15041 return f != $ac_func;
15042   ;
15043   return 0;
15044 }
15045 _ACEOF
15046 rm -f conftest.$ac_objext conftest$ac_exeext
15047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15048   (eval $ac_link) 2>conftest.er1
15049   ac_status=$?
15050   grep -v '^ *+' conftest.er1 >conftest.err
15051   rm -f conftest.er1
15052   cat conftest.err >&5
15053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15054   (exit $ac_status); } &&
15055          { ac_try='test -z "$ac_c_werror_flag"
15056                          || test ! -s conftest.err'
15057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15058   (eval $ac_try) 2>&5
15059   ac_status=$?
15060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15061   (exit $ac_status); }; } &&
15062          { ac_try='test -s conftest$ac_exeext'
15063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15064   (eval $ac_try) 2>&5
15065   ac_status=$?
15066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15067   (exit $ac_status); }; }; then
15068   eval "$as_ac_var=yes"
15069 else
15070   echo "$as_me: failed program was:" >&5
15071 sed 's/^/| /' conftest.$ac_ext >&5
15072
15073 eval "$as_ac_var=no"
15074 fi
15075 rm -f conftest.err conftest.$ac_objext \
15076       conftest$ac_exeext conftest.$ac_ext
15077 fi
15078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15080 if test `eval echo '${'$as_ac_var'}'` = yes; then
15081   cat >>confdefs.h <<_ACEOF
15082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15083 _ACEOF
15084
15085 fi
15086 done
15087
15088     fi
15089   fi
15090
15091
15092
15093   echo "$as_me:$LINENO: checking for logf declaration" >&5
15094 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15095   if test x${glibcxx_cv_func_logf_use+set} != xset; then
15096     if test "${glibcxx_cv_func_logf_use+set}" = set; then
15097   echo $ECHO_N "(cached) $ECHO_C" >&6
15098 else
15099
15100
15101
15102       ac_ext=cc
15103 ac_cpp='$CXXCPP $CPPFLAGS'
15104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15107
15108       cat >conftest.$ac_ext <<_ACEOF
15109 /* confdefs.h.  */
15110 _ACEOF
15111 cat confdefs.h >>conftest.$ac_ext
15112 cat >>conftest.$ac_ext <<_ACEOF
15113 /* end confdefs.h.  */
15114 #include <math.h>
15115                       #ifdef HAVE_IEEEFP_H
15116                       #include <ieeefp.h>
15117                       #endif
15118
15119 int
15120 main ()
15121 {
15122  logf(0);
15123   ;
15124   return 0;
15125 }
15126 _ACEOF
15127 rm -f conftest.$ac_objext
15128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15129   (eval $ac_compile) 2>conftest.er1
15130   ac_status=$?
15131   grep -v '^ *+' conftest.er1 >conftest.err
15132   rm -f conftest.er1
15133   cat conftest.err >&5
15134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135   (exit $ac_status); } &&
15136          { ac_try='test -z "$ac_cxx_werror_flag"
15137                          || test ! -s conftest.err'
15138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15139   (eval $ac_try) 2>&5
15140   ac_status=$?
15141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15142   (exit $ac_status); }; } &&
15143          { ac_try='test -s conftest.$ac_objext'
15144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15145   (eval $ac_try) 2>&5
15146   ac_status=$?
15147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15148   (exit $ac_status); }; }; then
15149   glibcxx_cv_func_logf_use=yes
15150 else
15151   echo "$as_me: failed program was:" >&5
15152 sed 's/^/| /' conftest.$ac_ext >&5
15153
15154 glibcxx_cv_func_logf_use=no
15155 fi
15156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15157       ac_ext=c
15158 ac_cpp='$CPP $CPPFLAGS'
15159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15162
15163
15164 fi
15165
15166   fi
15167   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15168 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15169
15170   if test x$glibcxx_cv_func_logf_use = x"yes"; then
15171
15172 for ac_func in logf
15173 do
15174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15175 echo "$as_me:$LINENO: checking for $ac_func" >&5
15176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15177 if eval "test \"\${$as_ac_var+set}\" = set"; then
15178   echo $ECHO_N "(cached) $ECHO_C" >&6
15179 else
15180   if test x$gcc_no_link = xyes; then
15181   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15183    { (exit 1); exit 1; }; }
15184 fi
15185 cat >conftest.$ac_ext <<_ACEOF
15186 /* confdefs.h.  */
15187 _ACEOF
15188 cat confdefs.h >>conftest.$ac_ext
15189 cat >>conftest.$ac_ext <<_ACEOF
15190 /* end confdefs.h.  */
15191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15192    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15193 #define $ac_func innocuous_$ac_func
15194
15195 /* System header to define __stub macros and hopefully few prototypes,
15196     which can conflict with char $ac_func (); below.
15197     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15198     <limits.h> exists even on freestanding compilers.  */
15199
15200 #ifdef __STDC__
15201 # include <limits.h>
15202 #else
15203 # include <assert.h>
15204 #endif
15205
15206 #undef $ac_func
15207
15208 /* Override any gcc2 internal prototype to avoid an error.  */
15209 #ifdef __cplusplus
15210 extern "C"
15211 {
15212 #endif
15213 /* We use char because int might match the return type of a gcc2
15214    builtin and then its argument prototype would still apply.  */
15215 char $ac_func ();
15216 /* The GNU C library defines this for functions which it implements
15217     to always fail with ENOSYS.  Some functions are actually named
15218     something starting with __ and the normal name is an alias.  */
15219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15220 choke me
15221 #else
15222 char (*f) () = $ac_func;
15223 #endif
15224 #ifdef __cplusplus
15225 }
15226 #endif
15227
15228 int
15229 main ()
15230 {
15231 return f != $ac_func;
15232   ;
15233   return 0;
15234 }
15235 _ACEOF
15236 rm -f conftest.$ac_objext conftest$ac_exeext
15237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15238   (eval $ac_link) 2>conftest.er1
15239   ac_status=$?
15240   grep -v '^ *+' conftest.er1 >conftest.err
15241   rm -f conftest.er1
15242   cat conftest.err >&5
15243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15244   (exit $ac_status); } &&
15245          { ac_try='test -z "$ac_c_werror_flag"
15246                          || test ! -s conftest.err'
15247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15248   (eval $ac_try) 2>&5
15249   ac_status=$?
15250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251   (exit $ac_status); }; } &&
15252          { ac_try='test -s conftest$ac_exeext'
15253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15254   (eval $ac_try) 2>&5
15255   ac_status=$?
15256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15257   (exit $ac_status); }; }; then
15258   eval "$as_ac_var=yes"
15259 else
15260   echo "$as_me: failed program was:" >&5
15261 sed 's/^/| /' conftest.$ac_ext >&5
15262
15263 eval "$as_ac_var=no"
15264 fi
15265 rm -f conftest.err conftest.$ac_objext \
15266       conftest$ac_exeext conftest.$ac_ext
15267 fi
15268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15270 if test `eval echo '${'$as_ac_var'}'` = yes; then
15271   cat >>confdefs.h <<_ACEOF
15272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15273 _ACEOF
15274
15275 fi
15276 done
15277
15278   else
15279
15280   echo "$as_me:$LINENO: checking for _logf declaration" >&5
15281 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15282   if test x${glibcxx_cv_func__logf_use+set} != xset; then
15283     if test "${glibcxx_cv_func__logf_use+set}" = set; then
15284   echo $ECHO_N "(cached) $ECHO_C" >&6
15285 else
15286
15287
15288
15289       ac_ext=cc
15290 ac_cpp='$CXXCPP $CPPFLAGS'
15291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15294
15295       cat >conftest.$ac_ext <<_ACEOF
15296 /* confdefs.h.  */
15297 _ACEOF
15298 cat confdefs.h >>conftest.$ac_ext
15299 cat >>conftest.$ac_ext <<_ACEOF
15300 /* end confdefs.h.  */
15301 #include <math.h>
15302                       #ifdef HAVE_IEEEFP_H
15303                       #include <ieeefp.h>
15304                       #endif
15305
15306 int
15307 main ()
15308 {
15309  _logf(0);
15310   ;
15311   return 0;
15312 }
15313 _ACEOF
15314 rm -f conftest.$ac_objext
15315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15316   (eval $ac_compile) 2>conftest.er1
15317   ac_status=$?
15318   grep -v '^ *+' conftest.er1 >conftest.err
15319   rm -f conftest.er1
15320   cat conftest.err >&5
15321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15322   (exit $ac_status); } &&
15323          { ac_try='test -z "$ac_cxx_werror_flag"
15324                          || test ! -s conftest.err'
15325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15326   (eval $ac_try) 2>&5
15327   ac_status=$?
15328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15329   (exit $ac_status); }; } &&
15330          { ac_try='test -s conftest.$ac_objext'
15331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15332   (eval $ac_try) 2>&5
15333   ac_status=$?
15334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15335   (exit $ac_status); }; }; then
15336   glibcxx_cv_func__logf_use=yes
15337 else
15338   echo "$as_me: failed program was:" >&5
15339 sed 's/^/| /' conftest.$ac_ext >&5
15340
15341 glibcxx_cv_func__logf_use=no
15342 fi
15343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15344       ac_ext=c
15345 ac_cpp='$CPP $CPPFLAGS'
15346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15349
15350
15351 fi
15352
15353   fi
15354   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15355 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15356
15357     if test x$glibcxx_cv_func__logf_use = x"yes"; then
15358
15359 for ac_func in _logf
15360 do
15361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15362 echo "$as_me:$LINENO: checking for $ac_func" >&5
15363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15364 if eval "test \"\${$as_ac_var+set}\" = set"; then
15365   echo $ECHO_N "(cached) $ECHO_C" >&6
15366 else
15367   if test x$gcc_no_link = xyes; then
15368   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15370    { (exit 1); exit 1; }; }
15371 fi
15372 cat >conftest.$ac_ext <<_ACEOF
15373 /* confdefs.h.  */
15374 _ACEOF
15375 cat confdefs.h >>conftest.$ac_ext
15376 cat >>conftest.$ac_ext <<_ACEOF
15377 /* end confdefs.h.  */
15378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15379    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15380 #define $ac_func innocuous_$ac_func
15381
15382 /* System header to define __stub macros and hopefully few prototypes,
15383     which can conflict with char $ac_func (); below.
15384     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15385     <limits.h> exists even on freestanding compilers.  */
15386
15387 #ifdef __STDC__
15388 # include <limits.h>
15389 #else
15390 # include <assert.h>
15391 #endif
15392
15393 #undef $ac_func
15394
15395 /* Override any gcc2 internal prototype to avoid an error.  */
15396 #ifdef __cplusplus
15397 extern "C"
15398 {
15399 #endif
15400 /* We use char because int might match the return type of a gcc2
15401    builtin and then its argument prototype would still apply.  */
15402 char $ac_func ();
15403 /* The GNU C library defines this for functions which it implements
15404     to always fail with ENOSYS.  Some functions are actually named
15405     something starting with __ and the normal name is an alias.  */
15406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15407 choke me
15408 #else
15409 char (*f) () = $ac_func;
15410 #endif
15411 #ifdef __cplusplus
15412 }
15413 #endif
15414
15415 int
15416 main ()
15417 {
15418 return f != $ac_func;
15419   ;
15420   return 0;
15421 }
15422 _ACEOF
15423 rm -f conftest.$ac_objext conftest$ac_exeext
15424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15425   (eval $ac_link) 2>conftest.er1
15426   ac_status=$?
15427   grep -v '^ *+' conftest.er1 >conftest.err
15428   rm -f conftest.er1
15429   cat conftest.err >&5
15430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15431   (exit $ac_status); } &&
15432          { ac_try='test -z "$ac_c_werror_flag"
15433                          || test ! -s conftest.err'
15434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15435   (eval $ac_try) 2>&5
15436   ac_status=$?
15437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15438   (exit $ac_status); }; } &&
15439          { ac_try='test -s conftest$ac_exeext'
15440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15441   (eval $ac_try) 2>&5
15442   ac_status=$?
15443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15444   (exit $ac_status); }; }; then
15445   eval "$as_ac_var=yes"
15446 else
15447   echo "$as_me: failed program was:" >&5
15448 sed 's/^/| /' conftest.$ac_ext >&5
15449
15450 eval "$as_ac_var=no"
15451 fi
15452 rm -f conftest.err conftest.$ac_objext \
15453       conftest$ac_exeext conftest.$ac_ext
15454 fi
15455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15457 if test `eval echo '${'$as_ac_var'}'` = yes; then
15458   cat >>confdefs.h <<_ACEOF
15459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15460 _ACEOF
15461
15462 fi
15463 done
15464
15465     fi
15466   fi
15467
15468
15469
15470   echo "$as_me:$LINENO: checking for log10f declaration" >&5
15471 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15472   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15473     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15474   echo $ECHO_N "(cached) $ECHO_C" >&6
15475 else
15476
15477
15478
15479       ac_ext=cc
15480 ac_cpp='$CXXCPP $CPPFLAGS'
15481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15484
15485       cat >conftest.$ac_ext <<_ACEOF
15486 /* confdefs.h.  */
15487 _ACEOF
15488 cat confdefs.h >>conftest.$ac_ext
15489 cat >>conftest.$ac_ext <<_ACEOF
15490 /* end confdefs.h.  */
15491 #include <math.h>
15492                       #ifdef HAVE_IEEEFP_H
15493                       #include <ieeefp.h>
15494                       #endif
15495
15496 int
15497 main ()
15498 {
15499  log10f(0);
15500   ;
15501   return 0;
15502 }
15503 _ACEOF
15504 rm -f conftest.$ac_objext
15505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15506   (eval $ac_compile) 2>conftest.er1
15507   ac_status=$?
15508   grep -v '^ *+' conftest.er1 >conftest.err
15509   rm -f conftest.er1
15510   cat conftest.err >&5
15511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15512   (exit $ac_status); } &&
15513          { ac_try='test -z "$ac_cxx_werror_flag"
15514                          || test ! -s conftest.err'
15515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15516   (eval $ac_try) 2>&5
15517   ac_status=$?
15518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15519   (exit $ac_status); }; } &&
15520          { ac_try='test -s conftest.$ac_objext'
15521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15522   (eval $ac_try) 2>&5
15523   ac_status=$?
15524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525   (exit $ac_status); }; }; then
15526   glibcxx_cv_func_log10f_use=yes
15527 else
15528   echo "$as_me: failed program was:" >&5
15529 sed 's/^/| /' conftest.$ac_ext >&5
15530
15531 glibcxx_cv_func_log10f_use=no
15532 fi
15533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15534       ac_ext=c
15535 ac_cpp='$CPP $CPPFLAGS'
15536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15539
15540
15541 fi
15542
15543   fi
15544   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
15545 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
15546
15547   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
15548
15549 for ac_func in log10f
15550 do
15551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15552 echo "$as_me:$LINENO: checking for $ac_func" >&5
15553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15554 if eval "test \"\${$as_ac_var+set}\" = set"; then
15555   echo $ECHO_N "(cached) $ECHO_C" >&6
15556 else
15557   if test x$gcc_no_link = xyes; then
15558   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15560    { (exit 1); exit 1; }; }
15561 fi
15562 cat >conftest.$ac_ext <<_ACEOF
15563 /* confdefs.h.  */
15564 _ACEOF
15565 cat confdefs.h >>conftest.$ac_ext
15566 cat >>conftest.$ac_ext <<_ACEOF
15567 /* end confdefs.h.  */
15568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15569    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15570 #define $ac_func innocuous_$ac_func
15571
15572 /* System header to define __stub macros and hopefully few prototypes,
15573     which can conflict with char $ac_func (); below.
15574     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15575     <limits.h> exists even on freestanding compilers.  */
15576
15577 #ifdef __STDC__
15578 # include <limits.h>
15579 #else
15580 # include <assert.h>
15581 #endif
15582
15583 #undef $ac_func
15584
15585 /* Override any gcc2 internal prototype to avoid an error.  */
15586 #ifdef __cplusplus
15587 extern "C"
15588 {
15589 #endif
15590 /* We use char because int might match the return type of a gcc2
15591    builtin and then its argument prototype would still apply.  */
15592 char $ac_func ();
15593 /* The GNU C library defines this for functions which it implements
15594     to always fail with ENOSYS.  Some functions are actually named
15595     something starting with __ and the normal name is an alias.  */
15596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15597 choke me
15598 #else
15599 char (*f) () = $ac_func;
15600 #endif
15601 #ifdef __cplusplus
15602 }
15603 #endif
15604
15605 int
15606 main ()
15607 {
15608 return f != $ac_func;
15609   ;
15610   return 0;
15611 }
15612 _ACEOF
15613 rm -f conftest.$ac_objext conftest$ac_exeext
15614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15615   (eval $ac_link) 2>conftest.er1
15616   ac_status=$?
15617   grep -v '^ *+' conftest.er1 >conftest.err
15618   rm -f conftest.er1
15619   cat conftest.err >&5
15620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15621   (exit $ac_status); } &&
15622          { ac_try='test -z "$ac_c_werror_flag"
15623                          || test ! -s conftest.err'
15624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15625   (eval $ac_try) 2>&5
15626   ac_status=$?
15627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15628   (exit $ac_status); }; } &&
15629          { ac_try='test -s conftest$ac_exeext'
15630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15631   (eval $ac_try) 2>&5
15632   ac_status=$?
15633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15634   (exit $ac_status); }; }; then
15635   eval "$as_ac_var=yes"
15636 else
15637   echo "$as_me: failed program was:" >&5
15638 sed 's/^/| /' conftest.$ac_ext >&5
15639
15640 eval "$as_ac_var=no"
15641 fi
15642 rm -f conftest.err conftest.$ac_objext \
15643       conftest$ac_exeext conftest.$ac_ext
15644 fi
15645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15647 if test `eval echo '${'$as_ac_var'}'` = yes; then
15648   cat >>confdefs.h <<_ACEOF
15649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15650 _ACEOF
15651
15652 fi
15653 done
15654
15655   else
15656
15657   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
15658 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
15659   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
15660     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
15661   echo $ECHO_N "(cached) $ECHO_C" >&6
15662 else
15663
15664
15665
15666       ac_ext=cc
15667 ac_cpp='$CXXCPP $CPPFLAGS'
15668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15671
15672       cat >conftest.$ac_ext <<_ACEOF
15673 /* confdefs.h.  */
15674 _ACEOF
15675 cat confdefs.h >>conftest.$ac_ext
15676 cat >>conftest.$ac_ext <<_ACEOF
15677 /* end confdefs.h.  */
15678 #include <math.h>
15679                       #ifdef HAVE_IEEEFP_H
15680                       #include <ieeefp.h>
15681                       #endif
15682
15683 int
15684 main ()
15685 {
15686  _log10f(0);
15687   ;
15688   return 0;
15689 }
15690 _ACEOF
15691 rm -f conftest.$ac_objext
15692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15693   (eval $ac_compile) 2>conftest.er1
15694   ac_status=$?
15695   grep -v '^ *+' conftest.er1 >conftest.err
15696   rm -f conftest.er1
15697   cat conftest.err >&5
15698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15699   (exit $ac_status); } &&
15700          { ac_try='test -z "$ac_cxx_werror_flag"
15701                          || test ! -s conftest.err'
15702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15703   (eval $ac_try) 2>&5
15704   ac_status=$?
15705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706   (exit $ac_status); }; } &&
15707          { ac_try='test -s conftest.$ac_objext'
15708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15709   (eval $ac_try) 2>&5
15710   ac_status=$?
15711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15712   (exit $ac_status); }; }; then
15713   glibcxx_cv_func__log10f_use=yes
15714 else
15715   echo "$as_me: failed program was:" >&5
15716 sed 's/^/| /' conftest.$ac_ext >&5
15717
15718 glibcxx_cv_func__log10f_use=no
15719 fi
15720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15721       ac_ext=c
15722 ac_cpp='$CPP $CPPFLAGS'
15723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15726
15727
15728 fi
15729
15730   fi
15731   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
15732 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
15733
15734     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
15735
15736 for ac_func in _log10f
15737 do
15738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15739 echo "$as_me:$LINENO: checking for $ac_func" >&5
15740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15741 if eval "test \"\${$as_ac_var+set}\" = set"; then
15742   echo $ECHO_N "(cached) $ECHO_C" >&6
15743 else
15744   if test x$gcc_no_link = xyes; then
15745   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15747    { (exit 1); exit 1; }; }
15748 fi
15749 cat >conftest.$ac_ext <<_ACEOF
15750 /* confdefs.h.  */
15751 _ACEOF
15752 cat confdefs.h >>conftest.$ac_ext
15753 cat >>conftest.$ac_ext <<_ACEOF
15754 /* end confdefs.h.  */
15755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15756    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15757 #define $ac_func innocuous_$ac_func
15758
15759 /* System header to define __stub macros and hopefully few prototypes,
15760     which can conflict with char $ac_func (); below.
15761     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15762     <limits.h> exists even on freestanding compilers.  */
15763
15764 #ifdef __STDC__
15765 # include <limits.h>
15766 #else
15767 # include <assert.h>
15768 #endif
15769
15770 #undef $ac_func
15771
15772 /* Override any gcc2 internal prototype to avoid an error.  */
15773 #ifdef __cplusplus
15774 extern "C"
15775 {
15776 #endif
15777 /* We use char because int might match the return type of a gcc2
15778    builtin and then its argument prototype would still apply.  */
15779 char $ac_func ();
15780 /* The GNU C library defines this for functions which it implements
15781     to always fail with ENOSYS.  Some functions are actually named
15782     something starting with __ and the normal name is an alias.  */
15783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15784 choke me
15785 #else
15786 char (*f) () = $ac_func;
15787 #endif
15788 #ifdef __cplusplus
15789 }
15790 #endif
15791
15792 int
15793 main ()
15794 {
15795 return f != $ac_func;
15796   ;
15797   return 0;
15798 }
15799 _ACEOF
15800 rm -f conftest.$ac_objext conftest$ac_exeext
15801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15802   (eval $ac_link) 2>conftest.er1
15803   ac_status=$?
15804   grep -v '^ *+' conftest.er1 >conftest.err
15805   rm -f conftest.er1
15806   cat conftest.err >&5
15807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15808   (exit $ac_status); } &&
15809          { ac_try='test -z "$ac_c_werror_flag"
15810                          || test ! -s conftest.err'
15811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15812   (eval $ac_try) 2>&5
15813   ac_status=$?
15814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15815   (exit $ac_status); }; } &&
15816          { ac_try='test -s conftest$ac_exeext'
15817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15818   (eval $ac_try) 2>&5
15819   ac_status=$?
15820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15821   (exit $ac_status); }; }; then
15822   eval "$as_ac_var=yes"
15823 else
15824   echo "$as_me: failed program was:" >&5
15825 sed 's/^/| /' conftest.$ac_ext >&5
15826
15827 eval "$as_ac_var=no"
15828 fi
15829 rm -f conftest.err conftest.$ac_objext \
15830       conftest$ac_exeext conftest.$ac_ext
15831 fi
15832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15834 if test `eval echo '${'$as_ac_var'}'` = yes; then
15835   cat >>confdefs.h <<_ACEOF
15836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15837 _ACEOF
15838
15839 fi
15840 done
15841
15842     fi
15843   fi
15844
15845
15846
15847   echo "$as_me:$LINENO: checking for modff declaration" >&5
15848 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
15849   if test x${glibcxx_cv_func_modff_use+set} != xset; then
15850     if test "${glibcxx_cv_func_modff_use+set}" = set; then
15851   echo $ECHO_N "(cached) $ECHO_C" >&6
15852 else
15853
15854
15855
15856       ac_ext=cc
15857 ac_cpp='$CXXCPP $CPPFLAGS'
15858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15861
15862       cat >conftest.$ac_ext <<_ACEOF
15863 /* confdefs.h.  */
15864 _ACEOF
15865 cat confdefs.h >>conftest.$ac_ext
15866 cat >>conftest.$ac_ext <<_ACEOF
15867 /* end confdefs.h.  */
15868 #include <math.h>
15869 int
15870 main ()
15871 {
15872  modff(0, 0);
15873   ;
15874   return 0;
15875 }
15876 _ACEOF
15877 rm -f conftest.$ac_objext
15878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15879   (eval $ac_compile) 2>conftest.er1
15880   ac_status=$?
15881   grep -v '^ *+' conftest.er1 >conftest.err
15882   rm -f conftest.er1
15883   cat conftest.err >&5
15884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15885   (exit $ac_status); } &&
15886          { ac_try='test -z "$ac_cxx_werror_flag"
15887                          || test ! -s conftest.err'
15888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15889   (eval $ac_try) 2>&5
15890   ac_status=$?
15891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15892   (exit $ac_status); }; } &&
15893          { ac_try='test -s conftest.$ac_objext'
15894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15895   (eval $ac_try) 2>&5
15896   ac_status=$?
15897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898   (exit $ac_status); }; }; then
15899   glibcxx_cv_func_modff_use=yes
15900 else
15901   echo "$as_me: failed program was:" >&5
15902 sed 's/^/| /' conftest.$ac_ext >&5
15903
15904 glibcxx_cv_func_modff_use=no
15905 fi
15906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15907       ac_ext=c
15908 ac_cpp='$CPP $CPPFLAGS'
15909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15912
15913
15914 fi
15915
15916   fi
15917   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
15918 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
15919
15920   if test x$glibcxx_cv_func_modff_use = x"yes"; then
15921
15922 for ac_func in modff
15923 do
15924 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15925 echo "$as_me:$LINENO: checking for $ac_func" >&5
15926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15927 if eval "test \"\${$as_ac_var+set}\" = set"; then
15928   echo $ECHO_N "(cached) $ECHO_C" >&6
15929 else
15930   if test x$gcc_no_link = xyes; then
15931   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15933    { (exit 1); exit 1; }; }
15934 fi
15935 cat >conftest.$ac_ext <<_ACEOF
15936 /* confdefs.h.  */
15937 _ACEOF
15938 cat confdefs.h >>conftest.$ac_ext
15939 cat >>conftest.$ac_ext <<_ACEOF
15940 /* end confdefs.h.  */
15941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15942    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15943 #define $ac_func innocuous_$ac_func
15944
15945 /* System header to define __stub macros and hopefully few prototypes,
15946     which can conflict with char $ac_func (); below.
15947     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15948     <limits.h> exists even on freestanding compilers.  */
15949
15950 #ifdef __STDC__
15951 # include <limits.h>
15952 #else
15953 # include <assert.h>
15954 #endif
15955
15956 #undef $ac_func
15957
15958 /* Override any gcc2 internal prototype to avoid an error.  */
15959 #ifdef __cplusplus
15960 extern "C"
15961 {
15962 #endif
15963 /* We use char because int might match the return type of a gcc2
15964    builtin and then its argument prototype would still apply.  */
15965 char $ac_func ();
15966 /* The GNU C library defines this for functions which it implements
15967     to always fail with ENOSYS.  Some functions are actually named
15968     something starting with __ and the normal name is an alias.  */
15969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15970 choke me
15971 #else
15972 char (*f) () = $ac_func;
15973 #endif
15974 #ifdef __cplusplus
15975 }
15976 #endif
15977
15978 int
15979 main ()
15980 {
15981 return f != $ac_func;
15982   ;
15983   return 0;
15984 }
15985 _ACEOF
15986 rm -f conftest.$ac_objext conftest$ac_exeext
15987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15988   (eval $ac_link) 2>conftest.er1
15989   ac_status=$?
15990   grep -v '^ *+' conftest.er1 >conftest.err
15991   rm -f conftest.er1
15992   cat conftest.err >&5
15993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15994   (exit $ac_status); } &&
15995          { ac_try='test -z "$ac_c_werror_flag"
15996                          || test ! -s conftest.err'
15997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15998   (eval $ac_try) 2>&5
15999   ac_status=$?
16000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16001   (exit $ac_status); }; } &&
16002          { ac_try='test -s conftest$ac_exeext'
16003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16004   (eval $ac_try) 2>&5
16005   ac_status=$?
16006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16007   (exit $ac_status); }; }; then
16008   eval "$as_ac_var=yes"
16009 else
16010   echo "$as_me: failed program was:" >&5
16011 sed 's/^/| /' conftest.$ac_ext >&5
16012
16013 eval "$as_ac_var=no"
16014 fi
16015 rm -f conftest.err conftest.$ac_objext \
16016       conftest$ac_exeext conftest.$ac_ext
16017 fi
16018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16020 if test `eval echo '${'$as_ac_var'}'` = yes; then
16021   cat >>confdefs.h <<_ACEOF
16022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16023 _ACEOF
16024
16025 fi
16026 done
16027
16028   else
16029
16030   echo "$as_me:$LINENO: checking for _modff declaration" >&5
16031 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16032   if test x${glibcxx_cv_func__modff_use+set} != xset; then
16033     if test "${glibcxx_cv_func__modff_use+set}" = set; then
16034   echo $ECHO_N "(cached) $ECHO_C" >&6
16035 else
16036
16037
16038
16039       ac_ext=cc
16040 ac_cpp='$CXXCPP $CPPFLAGS'
16041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16044
16045       cat >conftest.$ac_ext <<_ACEOF
16046 /* confdefs.h.  */
16047 _ACEOF
16048 cat confdefs.h >>conftest.$ac_ext
16049 cat >>conftest.$ac_ext <<_ACEOF
16050 /* end confdefs.h.  */
16051 #include <math.h>
16052 int
16053 main ()
16054 {
16055  _modff(0, 0);
16056   ;
16057   return 0;
16058 }
16059 _ACEOF
16060 rm -f conftest.$ac_objext
16061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16062   (eval $ac_compile) 2>conftest.er1
16063   ac_status=$?
16064   grep -v '^ *+' conftest.er1 >conftest.err
16065   rm -f conftest.er1
16066   cat conftest.err >&5
16067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16068   (exit $ac_status); } &&
16069          { ac_try='test -z "$ac_cxx_werror_flag"
16070                          || test ! -s conftest.err'
16071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16072   (eval $ac_try) 2>&5
16073   ac_status=$?
16074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16075   (exit $ac_status); }; } &&
16076          { ac_try='test -s conftest.$ac_objext'
16077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16078   (eval $ac_try) 2>&5
16079   ac_status=$?
16080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16081   (exit $ac_status); }; }; then
16082   glibcxx_cv_func__modff_use=yes
16083 else
16084   echo "$as_me: failed program was:" >&5
16085 sed 's/^/| /' conftest.$ac_ext >&5
16086
16087 glibcxx_cv_func__modff_use=no
16088 fi
16089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16090       ac_ext=c
16091 ac_cpp='$CPP $CPPFLAGS'
16092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16095
16096
16097 fi
16098
16099   fi
16100   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16101 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16102
16103     if test x$glibcxx_cv_func__modff_use = x"yes"; then
16104
16105 for ac_func in _modff
16106 do
16107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16108 echo "$as_me:$LINENO: checking for $ac_func" >&5
16109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16110 if eval "test \"\${$as_ac_var+set}\" = set"; then
16111   echo $ECHO_N "(cached) $ECHO_C" >&6
16112 else
16113   if test x$gcc_no_link = xyes; then
16114   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16116    { (exit 1); exit 1; }; }
16117 fi
16118 cat >conftest.$ac_ext <<_ACEOF
16119 /* confdefs.h.  */
16120 _ACEOF
16121 cat confdefs.h >>conftest.$ac_ext
16122 cat >>conftest.$ac_ext <<_ACEOF
16123 /* end confdefs.h.  */
16124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16125    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16126 #define $ac_func innocuous_$ac_func
16127
16128 /* System header to define __stub macros and hopefully few prototypes,
16129     which can conflict with char $ac_func (); below.
16130     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16131     <limits.h> exists even on freestanding compilers.  */
16132
16133 #ifdef __STDC__
16134 # include <limits.h>
16135 #else
16136 # include <assert.h>
16137 #endif
16138
16139 #undef $ac_func
16140
16141 /* Override any gcc2 internal prototype to avoid an error.  */
16142 #ifdef __cplusplus
16143 extern "C"
16144 {
16145 #endif
16146 /* We use char because int might match the return type of a gcc2
16147    builtin and then its argument prototype would still apply.  */
16148 char $ac_func ();
16149 /* The GNU C library defines this for functions which it implements
16150     to always fail with ENOSYS.  Some functions are actually named
16151     something starting with __ and the normal name is an alias.  */
16152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16153 choke me
16154 #else
16155 char (*f) () = $ac_func;
16156 #endif
16157 #ifdef __cplusplus
16158 }
16159 #endif
16160
16161 int
16162 main ()
16163 {
16164 return f != $ac_func;
16165   ;
16166   return 0;
16167 }
16168 _ACEOF
16169 rm -f conftest.$ac_objext conftest$ac_exeext
16170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16171   (eval $ac_link) 2>conftest.er1
16172   ac_status=$?
16173   grep -v '^ *+' conftest.er1 >conftest.err
16174   rm -f conftest.er1
16175   cat conftest.err >&5
16176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16177   (exit $ac_status); } &&
16178          { ac_try='test -z "$ac_c_werror_flag"
16179                          || test ! -s conftest.err'
16180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16181   (eval $ac_try) 2>&5
16182   ac_status=$?
16183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16184   (exit $ac_status); }; } &&
16185          { ac_try='test -s conftest$ac_exeext'
16186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16187   (eval $ac_try) 2>&5
16188   ac_status=$?
16189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16190   (exit $ac_status); }; }; then
16191   eval "$as_ac_var=yes"
16192 else
16193   echo "$as_me: failed program was:" >&5
16194 sed 's/^/| /' conftest.$ac_ext >&5
16195
16196 eval "$as_ac_var=no"
16197 fi
16198 rm -f conftest.err conftest.$ac_objext \
16199       conftest$ac_exeext conftest.$ac_ext
16200 fi
16201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16203 if test `eval echo '${'$as_ac_var'}'` = yes; then
16204   cat >>confdefs.h <<_ACEOF
16205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16206 _ACEOF
16207
16208 fi
16209 done
16210
16211     fi
16212   fi
16213
16214
16215
16216   echo "$as_me:$LINENO: checking for powf declaration" >&5
16217 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
16218   if test x${glibcxx_cv_func_powf_use+set} != xset; then
16219     if test "${glibcxx_cv_func_powf_use+set}" = set; then
16220   echo $ECHO_N "(cached) $ECHO_C" >&6
16221 else
16222
16223
16224
16225       ac_ext=cc
16226 ac_cpp='$CXXCPP $CPPFLAGS'
16227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16230
16231       cat >conftest.$ac_ext <<_ACEOF
16232 /* confdefs.h.  */
16233 _ACEOF
16234 cat confdefs.h >>conftest.$ac_ext
16235 cat >>conftest.$ac_ext <<_ACEOF
16236 /* end confdefs.h.  */
16237 #include <math.h>
16238 int
16239 main ()
16240 {
16241  powf(0, 0);
16242   ;
16243   return 0;
16244 }
16245 _ACEOF
16246 rm -f conftest.$ac_objext
16247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16248   (eval $ac_compile) 2>conftest.er1
16249   ac_status=$?
16250   grep -v '^ *+' conftest.er1 >conftest.err
16251   rm -f conftest.er1
16252   cat conftest.err >&5
16253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254   (exit $ac_status); } &&
16255          { ac_try='test -z "$ac_cxx_werror_flag"
16256                          || test ! -s conftest.err'
16257   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16258   (eval $ac_try) 2>&5
16259   ac_status=$?
16260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16261   (exit $ac_status); }; } &&
16262          { ac_try='test -s conftest.$ac_objext'
16263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16264   (eval $ac_try) 2>&5
16265   ac_status=$?
16266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16267   (exit $ac_status); }; }; then
16268   glibcxx_cv_func_powf_use=yes
16269 else
16270   echo "$as_me: failed program was:" >&5
16271 sed 's/^/| /' conftest.$ac_ext >&5
16272
16273 glibcxx_cv_func_powf_use=no
16274 fi
16275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16276       ac_ext=c
16277 ac_cpp='$CPP $CPPFLAGS'
16278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16281
16282
16283 fi
16284
16285   fi
16286   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
16287 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
16288
16289   if test x$glibcxx_cv_func_powf_use = x"yes"; then
16290
16291 for ac_func in powf
16292 do
16293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16294 echo "$as_me:$LINENO: checking for $ac_func" >&5
16295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16296 if eval "test \"\${$as_ac_var+set}\" = set"; then
16297   echo $ECHO_N "(cached) $ECHO_C" >&6
16298 else
16299   if test x$gcc_no_link = xyes; then
16300   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16302    { (exit 1); exit 1; }; }
16303 fi
16304 cat >conftest.$ac_ext <<_ACEOF
16305 /* confdefs.h.  */
16306 _ACEOF
16307 cat confdefs.h >>conftest.$ac_ext
16308 cat >>conftest.$ac_ext <<_ACEOF
16309 /* end confdefs.h.  */
16310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16311    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16312 #define $ac_func innocuous_$ac_func
16313
16314 /* System header to define __stub macros and hopefully few prototypes,
16315     which can conflict with char $ac_func (); below.
16316     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16317     <limits.h> exists even on freestanding compilers.  */
16318
16319 #ifdef __STDC__
16320 # include <limits.h>
16321 #else
16322 # include <assert.h>
16323 #endif
16324
16325 #undef $ac_func
16326
16327 /* Override any gcc2 internal prototype to avoid an error.  */
16328 #ifdef __cplusplus
16329 extern "C"
16330 {
16331 #endif
16332 /* We use char because int might match the return type of a gcc2
16333    builtin and then its argument prototype would still apply.  */
16334 char $ac_func ();
16335 /* The GNU C library defines this for functions which it implements
16336     to always fail with ENOSYS.  Some functions are actually named
16337     something starting with __ and the normal name is an alias.  */
16338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16339 choke me
16340 #else
16341 char (*f) () = $ac_func;
16342 #endif
16343 #ifdef __cplusplus
16344 }
16345 #endif
16346
16347 int
16348 main ()
16349 {
16350 return f != $ac_func;
16351   ;
16352   return 0;
16353 }
16354 _ACEOF
16355 rm -f conftest.$ac_objext conftest$ac_exeext
16356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16357   (eval $ac_link) 2>conftest.er1
16358   ac_status=$?
16359   grep -v '^ *+' conftest.er1 >conftest.err
16360   rm -f conftest.er1
16361   cat conftest.err >&5
16362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363   (exit $ac_status); } &&
16364          { ac_try='test -z "$ac_c_werror_flag"
16365                          || test ! -s conftest.err'
16366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16367   (eval $ac_try) 2>&5
16368   ac_status=$?
16369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16370   (exit $ac_status); }; } &&
16371          { ac_try='test -s conftest$ac_exeext'
16372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16373   (eval $ac_try) 2>&5
16374   ac_status=$?
16375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376   (exit $ac_status); }; }; then
16377   eval "$as_ac_var=yes"
16378 else
16379   echo "$as_me: failed program was:" >&5
16380 sed 's/^/| /' conftest.$ac_ext >&5
16381
16382 eval "$as_ac_var=no"
16383 fi
16384 rm -f conftest.err conftest.$ac_objext \
16385       conftest$ac_exeext conftest.$ac_ext
16386 fi
16387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16389 if test `eval echo '${'$as_ac_var'}'` = yes; then
16390   cat >>confdefs.h <<_ACEOF
16391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16392 _ACEOF
16393
16394 fi
16395 done
16396
16397   else
16398
16399   echo "$as_me:$LINENO: checking for _powf declaration" >&5
16400 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
16401   if test x${glibcxx_cv_func__powf_use+set} != xset; then
16402     if test "${glibcxx_cv_func__powf_use+set}" = set; then
16403   echo $ECHO_N "(cached) $ECHO_C" >&6
16404 else
16405
16406
16407
16408       ac_ext=cc
16409 ac_cpp='$CXXCPP $CPPFLAGS'
16410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16413
16414       cat >conftest.$ac_ext <<_ACEOF
16415 /* confdefs.h.  */
16416 _ACEOF
16417 cat confdefs.h >>conftest.$ac_ext
16418 cat >>conftest.$ac_ext <<_ACEOF
16419 /* end confdefs.h.  */
16420 #include <math.h>
16421 int
16422 main ()
16423 {
16424  _powf(0, 0);
16425   ;
16426   return 0;
16427 }
16428 _ACEOF
16429 rm -f conftest.$ac_objext
16430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16431   (eval $ac_compile) 2>conftest.er1
16432   ac_status=$?
16433   grep -v '^ *+' conftest.er1 >conftest.err
16434   rm -f conftest.er1
16435   cat conftest.err >&5
16436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16437   (exit $ac_status); } &&
16438          { ac_try='test -z "$ac_cxx_werror_flag"
16439                          || test ! -s conftest.err'
16440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16441   (eval $ac_try) 2>&5
16442   ac_status=$?
16443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16444   (exit $ac_status); }; } &&
16445          { ac_try='test -s conftest.$ac_objext'
16446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16447   (eval $ac_try) 2>&5
16448   ac_status=$?
16449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16450   (exit $ac_status); }; }; then
16451   glibcxx_cv_func__powf_use=yes
16452 else
16453   echo "$as_me: failed program was:" >&5
16454 sed 's/^/| /' conftest.$ac_ext >&5
16455
16456 glibcxx_cv_func__powf_use=no
16457 fi
16458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16459       ac_ext=c
16460 ac_cpp='$CPP $CPPFLAGS'
16461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16464
16465
16466 fi
16467
16468   fi
16469   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
16470 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
16471
16472     if test x$glibcxx_cv_func__powf_use = x"yes"; then
16473
16474 for ac_func in _powf
16475 do
16476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16477 echo "$as_me:$LINENO: checking for $ac_func" >&5
16478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16479 if eval "test \"\${$as_ac_var+set}\" = set"; then
16480   echo $ECHO_N "(cached) $ECHO_C" >&6
16481 else
16482   if test x$gcc_no_link = xyes; then
16483   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16485    { (exit 1); exit 1; }; }
16486 fi
16487 cat >conftest.$ac_ext <<_ACEOF
16488 /* confdefs.h.  */
16489 _ACEOF
16490 cat confdefs.h >>conftest.$ac_ext
16491 cat >>conftest.$ac_ext <<_ACEOF
16492 /* end confdefs.h.  */
16493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16494    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16495 #define $ac_func innocuous_$ac_func
16496
16497 /* System header to define __stub macros and hopefully few prototypes,
16498     which can conflict with char $ac_func (); below.
16499     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16500     <limits.h> exists even on freestanding compilers.  */
16501
16502 #ifdef __STDC__
16503 # include <limits.h>
16504 #else
16505 # include <assert.h>
16506 #endif
16507
16508 #undef $ac_func
16509
16510 /* Override any gcc2 internal prototype to avoid an error.  */
16511 #ifdef __cplusplus
16512 extern "C"
16513 {
16514 #endif
16515 /* We use char because int might match the return type of a gcc2
16516    builtin and then its argument prototype would still apply.  */
16517 char $ac_func ();
16518 /* The GNU C library defines this for functions which it implements
16519     to always fail with ENOSYS.  Some functions are actually named
16520     something starting with __ and the normal name is an alias.  */
16521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16522 choke me
16523 #else
16524 char (*f) () = $ac_func;
16525 #endif
16526 #ifdef __cplusplus
16527 }
16528 #endif
16529
16530 int
16531 main ()
16532 {
16533 return f != $ac_func;
16534   ;
16535   return 0;
16536 }
16537 _ACEOF
16538 rm -f conftest.$ac_objext conftest$ac_exeext
16539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16540   (eval $ac_link) 2>conftest.er1
16541   ac_status=$?
16542   grep -v '^ *+' conftest.er1 >conftest.err
16543   rm -f conftest.er1
16544   cat conftest.err >&5
16545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16546   (exit $ac_status); } &&
16547          { ac_try='test -z "$ac_c_werror_flag"
16548                          || test ! -s conftest.err'
16549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16550   (eval $ac_try) 2>&5
16551   ac_status=$?
16552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553   (exit $ac_status); }; } &&
16554          { ac_try='test -s conftest$ac_exeext'
16555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16556   (eval $ac_try) 2>&5
16557   ac_status=$?
16558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559   (exit $ac_status); }; }; then
16560   eval "$as_ac_var=yes"
16561 else
16562   echo "$as_me: failed program was:" >&5
16563 sed 's/^/| /' conftest.$ac_ext >&5
16564
16565 eval "$as_ac_var=no"
16566 fi
16567 rm -f conftest.err conftest.$ac_objext \
16568       conftest$ac_exeext conftest.$ac_ext
16569 fi
16570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16572 if test `eval echo '${'$as_ac_var'}'` = yes; then
16573   cat >>confdefs.h <<_ACEOF
16574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16575 _ACEOF
16576
16577 fi
16578 done
16579
16580     fi
16581   fi
16582
16583
16584
16585   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
16586 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
16587   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
16588     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
16589   echo $ECHO_N "(cached) $ECHO_C" >&6
16590 else
16591
16592
16593
16594       ac_ext=cc
16595 ac_cpp='$CXXCPP $CPPFLAGS'
16596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16599
16600       cat >conftest.$ac_ext <<_ACEOF
16601 /* confdefs.h.  */
16602 _ACEOF
16603 cat confdefs.h >>conftest.$ac_ext
16604 cat >>conftest.$ac_ext <<_ACEOF
16605 /* end confdefs.h.  */
16606 #include <math.h>
16607                       #ifdef HAVE_IEEEFP_H
16608                       #include <ieeefp.h>
16609                       #endif
16610
16611 int
16612 main ()
16613 {
16614  sqrtf(0);
16615   ;
16616   return 0;
16617 }
16618 _ACEOF
16619 rm -f conftest.$ac_objext
16620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16621   (eval $ac_compile) 2>conftest.er1
16622   ac_status=$?
16623   grep -v '^ *+' conftest.er1 >conftest.err
16624   rm -f conftest.er1
16625   cat conftest.err >&5
16626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16627   (exit $ac_status); } &&
16628          { ac_try='test -z "$ac_cxx_werror_flag"
16629                          || test ! -s conftest.err'
16630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16631   (eval $ac_try) 2>&5
16632   ac_status=$?
16633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16634   (exit $ac_status); }; } &&
16635          { ac_try='test -s conftest.$ac_objext'
16636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16637   (eval $ac_try) 2>&5
16638   ac_status=$?
16639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16640   (exit $ac_status); }; }; then
16641   glibcxx_cv_func_sqrtf_use=yes
16642 else
16643   echo "$as_me: failed program was:" >&5
16644 sed 's/^/| /' conftest.$ac_ext >&5
16645
16646 glibcxx_cv_func_sqrtf_use=no
16647 fi
16648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16649       ac_ext=c
16650 ac_cpp='$CPP $CPPFLAGS'
16651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16654
16655
16656 fi
16657
16658   fi
16659   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
16660 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
16661
16662   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
16663
16664 for ac_func in sqrtf
16665 do
16666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16667 echo "$as_me:$LINENO: checking for $ac_func" >&5
16668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16669 if eval "test \"\${$as_ac_var+set}\" = set"; then
16670   echo $ECHO_N "(cached) $ECHO_C" >&6
16671 else
16672   if test x$gcc_no_link = xyes; then
16673   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16675    { (exit 1); exit 1; }; }
16676 fi
16677 cat >conftest.$ac_ext <<_ACEOF
16678 /* confdefs.h.  */
16679 _ACEOF
16680 cat confdefs.h >>conftest.$ac_ext
16681 cat >>conftest.$ac_ext <<_ACEOF
16682 /* end confdefs.h.  */
16683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16684    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16685 #define $ac_func innocuous_$ac_func
16686
16687 /* System header to define __stub macros and hopefully few prototypes,
16688     which can conflict with char $ac_func (); below.
16689     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16690     <limits.h> exists even on freestanding compilers.  */
16691
16692 #ifdef __STDC__
16693 # include <limits.h>
16694 #else
16695 # include <assert.h>
16696 #endif
16697
16698 #undef $ac_func
16699
16700 /* Override any gcc2 internal prototype to avoid an error.  */
16701 #ifdef __cplusplus
16702 extern "C"
16703 {
16704 #endif
16705 /* We use char because int might match the return type of a gcc2
16706    builtin and then its argument prototype would still apply.  */
16707 char $ac_func ();
16708 /* The GNU C library defines this for functions which it implements
16709     to always fail with ENOSYS.  Some functions are actually named
16710     something starting with __ and the normal name is an alias.  */
16711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16712 choke me
16713 #else
16714 char (*f) () = $ac_func;
16715 #endif
16716 #ifdef __cplusplus
16717 }
16718 #endif
16719
16720 int
16721 main ()
16722 {
16723 return f != $ac_func;
16724   ;
16725   return 0;
16726 }
16727 _ACEOF
16728 rm -f conftest.$ac_objext conftest$ac_exeext
16729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16730   (eval $ac_link) 2>conftest.er1
16731   ac_status=$?
16732   grep -v '^ *+' conftest.er1 >conftest.err
16733   rm -f conftest.er1
16734   cat conftest.err >&5
16735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16736   (exit $ac_status); } &&
16737          { ac_try='test -z "$ac_c_werror_flag"
16738                          || test ! -s conftest.err'
16739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16740   (eval $ac_try) 2>&5
16741   ac_status=$?
16742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16743   (exit $ac_status); }; } &&
16744          { ac_try='test -s conftest$ac_exeext'
16745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16746   (eval $ac_try) 2>&5
16747   ac_status=$?
16748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16749   (exit $ac_status); }; }; then
16750   eval "$as_ac_var=yes"
16751 else
16752   echo "$as_me: failed program was:" >&5
16753 sed 's/^/| /' conftest.$ac_ext >&5
16754
16755 eval "$as_ac_var=no"
16756 fi
16757 rm -f conftest.err conftest.$ac_objext \
16758       conftest$ac_exeext conftest.$ac_ext
16759 fi
16760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16762 if test `eval echo '${'$as_ac_var'}'` = yes; then
16763   cat >>confdefs.h <<_ACEOF
16764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16765 _ACEOF
16766
16767 fi
16768 done
16769
16770   else
16771
16772   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
16773 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
16774   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
16775     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
16776   echo $ECHO_N "(cached) $ECHO_C" >&6
16777 else
16778
16779
16780
16781       ac_ext=cc
16782 ac_cpp='$CXXCPP $CPPFLAGS'
16783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16786
16787       cat >conftest.$ac_ext <<_ACEOF
16788 /* confdefs.h.  */
16789 _ACEOF
16790 cat confdefs.h >>conftest.$ac_ext
16791 cat >>conftest.$ac_ext <<_ACEOF
16792 /* end confdefs.h.  */
16793 #include <math.h>
16794                       #ifdef HAVE_IEEEFP_H
16795                       #include <ieeefp.h>
16796                       #endif
16797
16798 int
16799 main ()
16800 {
16801  _sqrtf(0);
16802   ;
16803   return 0;
16804 }
16805 _ACEOF
16806 rm -f conftest.$ac_objext
16807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16808   (eval $ac_compile) 2>conftest.er1
16809   ac_status=$?
16810   grep -v '^ *+' conftest.er1 >conftest.err
16811   rm -f conftest.er1
16812   cat conftest.err >&5
16813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16814   (exit $ac_status); } &&
16815          { ac_try='test -z "$ac_cxx_werror_flag"
16816                          || test ! -s conftest.err'
16817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16818   (eval $ac_try) 2>&5
16819   ac_status=$?
16820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16821   (exit $ac_status); }; } &&
16822          { ac_try='test -s conftest.$ac_objext'
16823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16824   (eval $ac_try) 2>&5
16825   ac_status=$?
16826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16827   (exit $ac_status); }; }; then
16828   glibcxx_cv_func__sqrtf_use=yes
16829 else
16830   echo "$as_me: failed program was:" >&5
16831 sed 's/^/| /' conftest.$ac_ext >&5
16832
16833 glibcxx_cv_func__sqrtf_use=no
16834 fi
16835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16836       ac_ext=c
16837 ac_cpp='$CPP $CPPFLAGS'
16838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16841
16842
16843 fi
16844
16845   fi
16846   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
16847 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
16848
16849     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
16850
16851 for ac_func in _sqrtf
16852 do
16853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16854 echo "$as_me:$LINENO: checking for $ac_func" >&5
16855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16856 if eval "test \"\${$as_ac_var+set}\" = set"; then
16857   echo $ECHO_N "(cached) $ECHO_C" >&6
16858 else
16859   if test x$gcc_no_link = xyes; then
16860   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16862    { (exit 1); exit 1; }; }
16863 fi
16864 cat >conftest.$ac_ext <<_ACEOF
16865 /* confdefs.h.  */
16866 _ACEOF
16867 cat confdefs.h >>conftest.$ac_ext
16868 cat >>conftest.$ac_ext <<_ACEOF
16869 /* end confdefs.h.  */
16870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16871    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16872 #define $ac_func innocuous_$ac_func
16873
16874 /* System header to define __stub macros and hopefully few prototypes,
16875     which can conflict with char $ac_func (); below.
16876     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16877     <limits.h> exists even on freestanding compilers.  */
16878
16879 #ifdef __STDC__
16880 # include <limits.h>
16881 #else
16882 # include <assert.h>
16883 #endif
16884
16885 #undef $ac_func
16886
16887 /* Override any gcc2 internal prototype to avoid an error.  */
16888 #ifdef __cplusplus
16889 extern "C"
16890 {
16891 #endif
16892 /* We use char because int might match the return type of a gcc2
16893    builtin and then its argument prototype would still apply.  */
16894 char $ac_func ();
16895 /* The GNU C library defines this for functions which it implements
16896     to always fail with ENOSYS.  Some functions are actually named
16897     something starting with __ and the normal name is an alias.  */
16898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16899 choke me
16900 #else
16901 char (*f) () = $ac_func;
16902 #endif
16903 #ifdef __cplusplus
16904 }
16905 #endif
16906
16907 int
16908 main ()
16909 {
16910 return f != $ac_func;
16911   ;
16912   return 0;
16913 }
16914 _ACEOF
16915 rm -f conftest.$ac_objext conftest$ac_exeext
16916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16917   (eval $ac_link) 2>conftest.er1
16918   ac_status=$?
16919   grep -v '^ *+' conftest.er1 >conftest.err
16920   rm -f conftest.er1
16921   cat conftest.err >&5
16922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16923   (exit $ac_status); } &&
16924          { ac_try='test -z "$ac_c_werror_flag"
16925                          || test ! -s conftest.err'
16926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16927   (eval $ac_try) 2>&5
16928   ac_status=$?
16929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16930   (exit $ac_status); }; } &&
16931          { ac_try='test -s conftest$ac_exeext'
16932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16933   (eval $ac_try) 2>&5
16934   ac_status=$?
16935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16936   (exit $ac_status); }; }; then
16937   eval "$as_ac_var=yes"
16938 else
16939   echo "$as_me: failed program was:" >&5
16940 sed 's/^/| /' conftest.$ac_ext >&5
16941
16942 eval "$as_ac_var=no"
16943 fi
16944 rm -f conftest.err conftest.$ac_objext \
16945       conftest$ac_exeext conftest.$ac_ext
16946 fi
16947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16949 if test `eval echo '${'$as_ac_var'}'` = yes; then
16950   cat >>confdefs.h <<_ACEOF
16951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16952 _ACEOF
16953
16954 fi
16955 done
16956
16957     fi
16958   fi
16959
16960
16961
16962   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
16963 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
16964   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
16965     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
16966   echo $ECHO_N "(cached) $ECHO_C" >&6
16967 else
16968
16969
16970
16971       ac_ext=cc
16972 ac_cpp='$CXXCPP $CPPFLAGS'
16973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16976
16977       cat >conftest.$ac_ext <<_ACEOF
16978 /* confdefs.h.  */
16979 _ACEOF
16980 cat confdefs.h >>conftest.$ac_ext
16981 cat >>conftest.$ac_ext <<_ACEOF
16982 /* end confdefs.h.  */
16983 #include <math.h>
16984 int
16985 main ()
16986 {
16987  sincosf(0, 0, 0);
16988   ;
16989   return 0;
16990 }
16991 _ACEOF
16992 rm -f conftest.$ac_objext
16993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16994   (eval $ac_compile) 2>conftest.er1
16995   ac_status=$?
16996   grep -v '^ *+' conftest.er1 >conftest.err
16997   rm -f conftest.er1
16998   cat conftest.err >&5
16999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17000   (exit $ac_status); } &&
17001          { ac_try='test -z "$ac_cxx_werror_flag"
17002                          || test ! -s conftest.err'
17003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17004   (eval $ac_try) 2>&5
17005   ac_status=$?
17006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17007   (exit $ac_status); }; } &&
17008          { ac_try='test -s conftest.$ac_objext'
17009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17010   (eval $ac_try) 2>&5
17011   ac_status=$?
17012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013   (exit $ac_status); }; }; then
17014   glibcxx_cv_func_sincosf_use=yes
17015 else
17016   echo "$as_me: failed program was:" >&5
17017 sed 's/^/| /' conftest.$ac_ext >&5
17018
17019 glibcxx_cv_func_sincosf_use=no
17020 fi
17021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17022       ac_ext=c
17023 ac_cpp='$CPP $CPPFLAGS'
17024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17027
17028
17029 fi
17030
17031   fi
17032   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
17033 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
17034
17035   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
17036
17037 for ac_func in sincosf
17038 do
17039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17040 echo "$as_me:$LINENO: checking for $ac_func" >&5
17041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17042 if eval "test \"\${$as_ac_var+set}\" = set"; then
17043   echo $ECHO_N "(cached) $ECHO_C" >&6
17044 else
17045   if test x$gcc_no_link = xyes; then
17046   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17048    { (exit 1); exit 1; }; }
17049 fi
17050 cat >conftest.$ac_ext <<_ACEOF
17051 /* confdefs.h.  */
17052 _ACEOF
17053 cat confdefs.h >>conftest.$ac_ext
17054 cat >>conftest.$ac_ext <<_ACEOF
17055 /* end confdefs.h.  */
17056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17057    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17058 #define $ac_func innocuous_$ac_func
17059
17060 /* System header to define __stub macros and hopefully few prototypes,
17061     which can conflict with char $ac_func (); below.
17062     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17063     <limits.h> exists even on freestanding compilers.  */
17064
17065 #ifdef __STDC__
17066 # include <limits.h>
17067 #else
17068 # include <assert.h>
17069 #endif
17070
17071 #undef $ac_func
17072
17073 /* Override any gcc2 internal prototype to avoid an error.  */
17074 #ifdef __cplusplus
17075 extern "C"
17076 {
17077 #endif
17078 /* We use char because int might match the return type of a gcc2
17079    builtin and then its argument prototype would still apply.  */
17080 char $ac_func ();
17081 /* The GNU C library defines this for functions which it implements
17082     to always fail with ENOSYS.  Some functions are actually named
17083     something starting with __ and the normal name is an alias.  */
17084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17085 choke me
17086 #else
17087 char (*f) () = $ac_func;
17088 #endif
17089 #ifdef __cplusplus
17090 }
17091 #endif
17092
17093 int
17094 main ()
17095 {
17096 return f != $ac_func;
17097   ;
17098   return 0;
17099 }
17100 _ACEOF
17101 rm -f conftest.$ac_objext conftest$ac_exeext
17102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17103   (eval $ac_link) 2>conftest.er1
17104   ac_status=$?
17105   grep -v '^ *+' conftest.er1 >conftest.err
17106   rm -f conftest.er1
17107   cat conftest.err >&5
17108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17109   (exit $ac_status); } &&
17110          { ac_try='test -z "$ac_c_werror_flag"
17111                          || test ! -s conftest.err'
17112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17113   (eval $ac_try) 2>&5
17114   ac_status=$?
17115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116   (exit $ac_status); }; } &&
17117          { ac_try='test -s conftest$ac_exeext'
17118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17119   (eval $ac_try) 2>&5
17120   ac_status=$?
17121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17122   (exit $ac_status); }; }; then
17123   eval "$as_ac_var=yes"
17124 else
17125   echo "$as_me: failed program was:" >&5
17126 sed 's/^/| /' conftest.$ac_ext >&5
17127
17128 eval "$as_ac_var=no"
17129 fi
17130 rm -f conftest.err conftest.$ac_objext \
17131       conftest$ac_exeext conftest.$ac_ext
17132 fi
17133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17135 if test `eval echo '${'$as_ac_var'}'` = yes; then
17136   cat >>confdefs.h <<_ACEOF
17137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17138 _ACEOF
17139
17140 fi
17141 done
17142
17143   else
17144
17145   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
17146 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
17147   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
17148     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
17149   echo $ECHO_N "(cached) $ECHO_C" >&6
17150 else
17151
17152
17153
17154       ac_ext=cc
17155 ac_cpp='$CXXCPP $CPPFLAGS'
17156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17159
17160       cat >conftest.$ac_ext <<_ACEOF
17161 /* confdefs.h.  */
17162 _ACEOF
17163 cat confdefs.h >>conftest.$ac_ext
17164 cat >>conftest.$ac_ext <<_ACEOF
17165 /* end confdefs.h.  */
17166 #include <math.h>
17167 int
17168 main ()
17169 {
17170  _sincosf(0, 0, 0);
17171   ;
17172   return 0;
17173 }
17174 _ACEOF
17175 rm -f conftest.$ac_objext
17176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17177   (eval $ac_compile) 2>conftest.er1
17178   ac_status=$?
17179   grep -v '^ *+' conftest.er1 >conftest.err
17180   rm -f conftest.er1
17181   cat conftest.err >&5
17182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17183   (exit $ac_status); } &&
17184          { ac_try='test -z "$ac_cxx_werror_flag"
17185                          || test ! -s conftest.err'
17186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17187   (eval $ac_try) 2>&5
17188   ac_status=$?
17189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17190   (exit $ac_status); }; } &&
17191          { ac_try='test -s conftest.$ac_objext'
17192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17193   (eval $ac_try) 2>&5
17194   ac_status=$?
17195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17196   (exit $ac_status); }; }; then
17197   glibcxx_cv_func__sincosf_use=yes
17198 else
17199   echo "$as_me: failed program was:" >&5
17200 sed 's/^/| /' conftest.$ac_ext >&5
17201
17202 glibcxx_cv_func__sincosf_use=no
17203 fi
17204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17205       ac_ext=c
17206 ac_cpp='$CPP $CPPFLAGS'
17207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17210
17211
17212 fi
17213
17214   fi
17215   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
17216 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
17217
17218     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
17219
17220 for ac_func in _sincosf
17221 do
17222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17223 echo "$as_me:$LINENO: checking for $ac_func" >&5
17224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17225 if eval "test \"\${$as_ac_var+set}\" = set"; then
17226   echo $ECHO_N "(cached) $ECHO_C" >&6
17227 else
17228   if test x$gcc_no_link = xyes; then
17229   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17231    { (exit 1); exit 1; }; }
17232 fi
17233 cat >conftest.$ac_ext <<_ACEOF
17234 /* confdefs.h.  */
17235 _ACEOF
17236 cat confdefs.h >>conftest.$ac_ext
17237 cat >>conftest.$ac_ext <<_ACEOF
17238 /* end confdefs.h.  */
17239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17240    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17241 #define $ac_func innocuous_$ac_func
17242
17243 /* System header to define __stub macros and hopefully few prototypes,
17244     which can conflict with char $ac_func (); below.
17245     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17246     <limits.h> exists even on freestanding compilers.  */
17247
17248 #ifdef __STDC__
17249 # include <limits.h>
17250 #else
17251 # include <assert.h>
17252 #endif
17253
17254 #undef $ac_func
17255
17256 /* Override any gcc2 internal prototype to avoid an error.  */
17257 #ifdef __cplusplus
17258 extern "C"
17259 {
17260 #endif
17261 /* We use char because int might match the return type of a gcc2
17262    builtin and then its argument prototype would still apply.  */
17263 char $ac_func ();
17264 /* The GNU C library defines this for functions which it implements
17265     to always fail with ENOSYS.  Some functions are actually named
17266     something starting with __ and the normal name is an alias.  */
17267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17268 choke me
17269 #else
17270 char (*f) () = $ac_func;
17271 #endif
17272 #ifdef __cplusplus
17273 }
17274 #endif
17275
17276 int
17277 main ()
17278 {
17279 return f != $ac_func;
17280   ;
17281   return 0;
17282 }
17283 _ACEOF
17284 rm -f conftest.$ac_objext conftest$ac_exeext
17285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17286   (eval $ac_link) 2>conftest.er1
17287   ac_status=$?
17288   grep -v '^ *+' conftest.er1 >conftest.err
17289   rm -f conftest.er1
17290   cat conftest.err >&5
17291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17292   (exit $ac_status); } &&
17293          { ac_try='test -z "$ac_c_werror_flag"
17294                          || test ! -s conftest.err'
17295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17296   (eval $ac_try) 2>&5
17297   ac_status=$?
17298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17299   (exit $ac_status); }; } &&
17300          { ac_try='test -s conftest$ac_exeext'
17301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17302   (eval $ac_try) 2>&5
17303   ac_status=$?
17304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17305   (exit $ac_status); }; }; then
17306   eval "$as_ac_var=yes"
17307 else
17308   echo "$as_me: failed program was:" >&5
17309 sed 's/^/| /' conftest.$ac_ext >&5
17310
17311 eval "$as_ac_var=no"
17312 fi
17313 rm -f conftest.err conftest.$ac_objext \
17314       conftest$ac_exeext conftest.$ac_ext
17315 fi
17316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17318 if test `eval echo '${'$as_ac_var'}'` = yes; then
17319   cat >>confdefs.h <<_ACEOF
17320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17321 _ACEOF
17322
17323 fi
17324 done
17325
17326     fi
17327   fi
17328
17329
17330
17331   echo "$as_me:$LINENO: checking for finitef declaration" >&5
17332 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
17333   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
17334     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
17335   echo $ECHO_N "(cached) $ECHO_C" >&6
17336 else
17337
17338
17339
17340       ac_ext=cc
17341 ac_cpp='$CXXCPP $CPPFLAGS'
17342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17345
17346       cat >conftest.$ac_ext <<_ACEOF
17347 /* confdefs.h.  */
17348 _ACEOF
17349 cat confdefs.h >>conftest.$ac_ext
17350 cat >>conftest.$ac_ext <<_ACEOF
17351 /* end confdefs.h.  */
17352 #include <math.h>
17353                       #ifdef HAVE_IEEEFP_H
17354                       #include <ieeefp.h>
17355                       #endif
17356
17357 int
17358 main ()
17359 {
17360  finitef(0);
17361   ;
17362   return 0;
17363 }
17364 _ACEOF
17365 rm -f conftest.$ac_objext
17366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17367   (eval $ac_compile) 2>conftest.er1
17368   ac_status=$?
17369   grep -v '^ *+' conftest.er1 >conftest.err
17370   rm -f conftest.er1
17371   cat conftest.err >&5
17372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17373   (exit $ac_status); } &&
17374          { ac_try='test -z "$ac_cxx_werror_flag"
17375                          || test ! -s conftest.err'
17376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17377   (eval $ac_try) 2>&5
17378   ac_status=$?
17379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17380   (exit $ac_status); }; } &&
17381          { ac_try='test -s conftest.$ac_objext'
17382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17383   (eval $ac_try) 2>&5
17384   ac_status=$?
17385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17386   (exit $ac_status); }; }; then
17387   glibcxx_cv_func_finitef_use=yes
17388 else
17389   echo "$as_me: failed program was:" >&5
17390 sed 's/^/| /' conftest.$ac_ext >&5
17391
17392 glibcxx_cv_func_finitef_use=no
17393 fi
17394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17395       ac_ext=c
17396 ac_cpp='$CPP $CPPFLAGS'
17397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17400
17401
17402 fi
17403
17404   fi
17405   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
17406 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
17407
17408   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
17409
17410 for ac_func in finitef
17411 do
17412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17413 echo "$as_me:$LINENO: checking for $ac_func" >&5
17414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17415 if eval "test \"\${$as_ac_var+set}\" = set"; then
17416   echo $ECHO_N "(cached) $ECHO_C" >&6
17417 else
17418   if test x$gcc_no_link = xyes; then
17419   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17421    { (exit 1); exit 1; }; }
17422 fi
17423 cat >conftest.$ac_ext <<_ACEOF
17424 /* confdefs.h.  */
17425 _ACEOF
17426 cat confdefs.h >>conftest.$ac_ext
17427 cat >>conftest.$ac_ext <<_ACEOF
17428 /* end confdefs.h.  */
17429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17430    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17431 #define $ac_func innocuous_$ac_func
17432
17433 /* System header to define __stub macros and hopefully few prototypes,
17434     which can conflict with char $ac_func (); below.
17435     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17436     <limits.h> exists even on freestanding compilers.  */
17437
17438 #ifdef __STDC__
17439 # include <limits.h>
17440 #else
17441 # include <assert.h>
17442 #endif
17443
17444 #undef $ac_func
17445
17446 /* Override any gcc2 internal prototype to avoid an error.  */
17447 #ifdef __cplusplus
17448 extern "C"
17449 {
17450 #endif
17451 /* We use char because int might match the return type of a gcc2
17452    builtin and then its argument prototype would still apply.  */
17453 char $ac_func ();
17454 /* The GNU C library defines this for functions which it implements
17455     to always fail with ENOSYS.  Some functions are actually named
17456     something starting with __ and the normal name is an alias.  */
17457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17458 choke me
17459 #else
17460 char (*f) () = $ac_func;
17461 #endif
17462 #ifdef __cplusplus
17463 }
17464 #endif
17465
17466 int
17467 main ()
17468 {
17469 return f != $ac_func;
17470   ;
17471   return 0;
17472 }
17473 _ACEOF
17474 rm -f conftest.$ac_objext conftest$ac_exeext
17475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17476   (eval $ac_link) 2>conftest.er1
17477   ac_status=$?
17478   grep -v '^ *+' conftest.er1 >conftest.err
17479   rm -f conftest.er1
17480   cat conftest.err >&5
17481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17482   (exit $ac_status); } &&
17483          { ac_try='test -z "$ac_c_werror_flag"
17484                          || test ! -s conftest.err'
17485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17486   (eval $ac_try) 2>&5
17487   ac_status=$?
17488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17489   (exit $ac_status); }; } &&
17490          { ac_try='test -s conftest$ac_exeext'
17491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17492   (eval $ac_try) 2>&5
17493   ac_status=$?
17494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17495   (exit $ac_status); }; }; then
17496   eval "$as_ac_var=yes"
17497 else
17498   echo "$as_me: failed program was:" >&5
17499 sed 's/^/| /' conftest.$ac_ext >&5
17500
17501 eval "$as_ac_var=no"
17502 fi
17503 rm -f conftest.err conftest.$ac_objext \
17504       conftest$ac_exeext conftest.$ac_ext
17505 fi
17506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17508 if test `eval echo '${'$as_ac_var'}'` = yes; then
17509   cat >>confdefs.h <<_ACEOF
17510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17511 _ACEOF
17512
17513 fi
17514 done
17515
17516   else
17517
17518   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
17519 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
17520   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
17521     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
17522   echo $ECHO_N "(cached) $ECHO_C" >&6
17523 else
17524
17525
17526
17527       ac_ext=cc
17528 ac_cpp='$CXXCPP $CPPFLAGS'
17529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17532
17533       cat >conftest.$ac_ext <<_ACEOF
17534 /* confdefs.h.  */
17535 _ACEOF
17536 cat confdefs.h >>conftest.$ac_ext
17537 cat >>conftest.$ac_ext <<_ACEOF
17538 /* end confdefs.h.  */
17539 #include <math.h>
17540                       #ifdef HAVE_IEEEFP_H
17541                       #include <ieeefp.h>
17542                       #endif
17543
17544 int
17545 main ()
17546 {
17547  _finitef(0);
17548   ;
17549   return 0;
17550 }
17551 _ACEOF
17552 rm -f conftest.$ac_objext
17553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17554   (eval $ac_compile) 2>conftest.er1
17555   ac_status=$?
17556   grep -v '^ *+' conftest.er1 >conftest.err
17557   rm -f conftest.er1
17558   cat conftest.err >&5
17559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17560   (exit $ac_status); } &&
17561          { ac_try='test -z "$ac_cxx_werror_flag"
17562                          || test ! -s conftest.err'
17563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17564   (eval $ac_try) 2>&5
17565   ac_status=$?
17566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567   (exit $ac_status); }; } &&
17568          { ac_try='test -s conftest.$ac_objext'
17569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17570   (eval $ac_try) 2>&5
17571   ac_status=$?
17572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573   (exit $ac_status); }; }; then
17574   glibcxx_cv_func__finitef_use=yes
17575 else
17576   echo "$as_me: failed program was:" >&5
17577 sed 's/^/| /' conftest.$ac_ext >&5
17578
17579 glibcxx_cv_func__finitef_use=no
17580 fi
17581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17582       ac_ext=c
17583 ac_cpp='$CPP $CPPFLAGS'
17584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17587
17588
17589 fi
17590
17591   fi
17592   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
17593 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
17594
17595     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
17596
17597 for ac_func in _finitef
17598 do
17599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17600 echo "$as_me:$LINENO: checking for $ac_func" >&5
17601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17602 if eval "test \"\${$as_ac_var+set}\" = set"; then
17603   echo $ECHO_N "(cached) $ECHO_C" >&6
17604 else
17605   if test x$gcc_no_link = xyes; then
17606   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17608    { (exit 1); exit 1; }; }
17609 fi
17610 cat >conftest.$ac_ext <<_ACEOF
17611 /* confdefs.h.  */
17612 _ACEOF
17613 cat confdefs.h >>conftest.$ac_ext
17614 cat >>conftest.$ac_ext <<_ACEOF
17615 /* end confdefs.h.  */
17616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17617    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17618 #define $ac_func innocuous_$ac_func
17619
17620 /* System header to define __stub macros and hopefully few prototypes,
17621     which can conflict with char $ac_func (); below.
17622     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17623     <limits.h> exists even on freestanding compilers.  */
17624
17625 #ifdef __STDC__
17626 # include <limits.h>
17627 #else
17628 # include <assert.h>
17629 #endif
17630
17631 #undef $ac_func
17632
17633 /* Override any gcc2 internal prototype to avoid an error.  */
17634 #ifdef __cplusplus
17635 extern "C"
17636 {
17637 #endif
17638 /* We use char because int might match the return type of a gcc2
17639    builtin and then its argument prototype would still apply.  */
17640 char $ac_func ();
17641 /* The GNU C library defines this for functions which it implements
17642     to always fail with ENOSYS.  Some functions are actually named
17643     something starting with __ and the normal name is an alias.  */
17644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17645 choke me
17646 #else
17647 char (*f) () = $ac_func;
17648 #endif
17649 #ifdef __cplusplus
17650 }
17651 #endif
17652
17653 int
17654 main ()
17655 {
17656 return f != $ac_func;
17657   ;
17658   return 0;
17659 }
17660 _ACEOF
17661 rm -f conftest.$ac_objext conftest$ac_exeext
17662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17663   (eval $ac_link) 2>conftest.er1
17664   ac_status=$?
17665   grep -v '^ *+' conftest.er1 >conftest.err
17666   rm -f conftest.er1
17667   cat conftest.err >&5
17668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17669   (exit $ac_status); } &&
17670          { ac_try='test -z "$ac_c_werror_flag"
17671                          || test ! -s conftest.err'
17672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17673   (eval $ac_try) 2>&5
17674   ac_status=$?
17675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17676   (exit $ac_status); }; } &&
17677          { ac_try='test -s conftest$ac_exeext'
17678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17679   (eval $ac_try) 2>&5
17680   ac_status=$?
17681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17682   (exit $ac_status); }; }; then
17683   eval "$as_ac_var=yes"
17684 else
17685   echo "$as_me: failed program was:" >&5
17686 sed 's/^/| /' conftest.$ac_ext >&5
17687
17688 eval "$as_ac_var=no"
17689 fi
17690 rm -f conftest.err conftest.$ac_objext \
17691       conftest$ac_exeext conftest.$ac_ext
17692 fi
17693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17695 if test `eval echo '${'$as_ac_var'}'` = yes; then
17696   cat >>confdefs.h <<_ACEOF
17697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17698 _ACEOF
17699
17700 fi
17701 done
17702
17703     fi
17704   fi
17705
17706
17707
17708   echo "$as_me:$LINENO: checking for long double trig functions" >&5
17709 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
17710   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
17711   echo $ECHO_N "(cached) $ECHO_C" >&6
17712 else
17713
17714
17715
17716     ac_ext=cc
17717 ac_cpp='$CXXCPP $CPPFLAGS'
17718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17721
17722     cat >conftest.$ac_ext <<_ACEOF
17723 /* confdefs.h.  */
17724 _ACEOF
17725 cat confdefs.h >>conftest.$ac_ext
17726 cat >>conftest.$ac_ext <<_ACEOF
17727 /* end confdefs.h.  */
17728 #include <math.h>
17729 int
17730 main ()
17731 {
17732  `for x in acosl asinl atanl \
17733                                           cosl sinl tanl \
17734                                           coshl sinhl tanhl; do echo "$x (0);"; done`
17735   ;
17736   return 0;
17737 }
17738 _ACEOF
17739 rm -f conftest.$ac_objext
17740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17741   (eval $ac_compile) 2>conftest.er1
17742   ac_status=$?
17743   grep -v '^ *+' conftest.er1 >conftest.err
17744   rm -f conftest.er1
17745   cat conftest.err >&5
17746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17747   (exit $ac_status); } &&
17748          { ac_try='test -z "$ac_cxx_werror_flag"
17749                          || test ! -s conftest.err'
17750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17751   (eval $ac_try) 2>&5
17752   ac_status=$?
17753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754   (exit $ac_status); }; } &&
17755          { ac_try='test -s conftest.$ac_objext'
17756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17757   (eval $ac_try) 2>&5
17758   ac_status=$?
17759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760   (exit $ac_status); }; }; then
17761   glibcxx_cv_func_long_double_trig_use=yes
17762 else
17763   echo "$as_me: failed program was:" >&5
17764 sed 's/^/| /' conftest.$ac_ext >&5
17765
17766 glibcxx_cv_func_long_double_trig_use=no
17767 fi
17768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17769     ac_ext=c
17770 ac_cpp='$CPP $CPPFLAGS'
17771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17774
17775 fi
17776
17777   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
17778 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
17779   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
17780
17781
17782
17783
17784
17785
17786
17787
17788
17789 for ac_func in acosl asinl atanl \
17790                                           cosl sinl tanl \
17791                                           coshl sinhl tanhl
17792 do
17793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17794 echo "$as_me:$LINENO: checking for $ac_func" >&5
17795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17796 if eval "test \"\${$as_ac_var+set}\" = set"; then
17797   echo $ECHO_N "(cached) $ECHO_C" >&6
17798 else
17799   if test x$gcc_no_link = xyes; then
17800   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17802    { (exit 1); exit 1; }; }
17803 fi
17804 cat >conftest.$ac_ext <<_ACEOF
17805 /* confdefs.h.  */
17806 _ACEOF
17807 cat confdefs.h >>conftest.$ac_ext
17808 cat >>conftest.$ac_ext <<_ACEOF
17809 /* end confdefs.h.  */
17810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17811    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17812 #define $ac_func innocuous_$ac_func
17813
17814 /* System header to define __stub macros and hopefully few prototypes,
17815     which can conflict with char $ac_func (); below.
17816     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17817     <limits.h> exists even on freestanding compilers.  */
17818
17819 #ifdef __STDC__
17820 # include <limits.h>
17821 #else
17822 # include <assert.h>
17823 #endif
17824
17825 #undef $ac_func
17826
17827 /* Override any gcc2 internal prototype to avoid an error.  */
17828 #ifdef __cplusplus
17829 extern "C"
17830 {
17831 #endif
17832 /* We use char because int might match the return type of a gcc2
17833    builtin and then its argument prototype would still apply.  */
17834 char $ac_func ();
17835 /* The GNU C library defines this for functions which it implements
17836     to always fail with ENOSYS.  Some functions are actually named
17837     something starting with __ and the normal name is an alias.  */
17838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17839 choke me
17840 #else
17841 char (*f) () = $ac_func;
17842 #endif
17843 #ifdef __cplusplus
17844 }
17845 #endif
17846
17847 int
17848 main ()
17849 {
17850 return f != $ac_func;
17851   ;
17852   return 0;
17853 }
17854 _ACEOF
17855 rm -f conftest.$ac_objext conftest$ac_exeext
17856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17857   (eval $ac_link) 2>conftest.er1
17858   ac_status=$?
17859   grep -v '^ *+' conftest.er1 >conftest.err
17860   rm -f conftest.er1
17861   cat conftest.err >&5
17862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17863   (exit $ac_status); } &&
17864          { ac_try='test -z "$ac_c_werror_flag"
17865                          || test ! -s conftest.err'
17866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17867   (eval $ac_try) 2>&5
17868   ac_status=$?
17869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17870   (exit $ac_status); }; } &&
17871          { ac_try='test -s conftest$ac_exeext'
17872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17873   (eval $ac_try) 2>&5
17874   ac_status=$?
17875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17876   (exit $ac_status); }; }; then
17877   eval "$as_ac_var=yes"
17878 else
17879   echo "$as_me: failed program was:" >&5
17880 sed 's/^/| /' conftest.$ac_ext >&5
17881
17882 eval "$as_ac_var=no"
17883 fi
17884 rm -f conftest.err conftest.$ac_objext \
17885       conftest$ac_exeext conftest.$ac_ext
17886 fi
17887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17889 if test `eval echo '${'$as_ac_var'}'` = yes; then
17890   cat >>confdefs.h <<_ACEOF
17891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17892 _ACEOF
17893
17894 fi
17895 done
17896
17897   fi
17898
17899
17900   echo "$as_me:$LINENO: checking for long double round functions" >&5
17901 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
17902   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
17903   echo $ECHO_N "(cached) $ECHO_C" >&6
17904 else
17905
17906
17907
17908     ac_ext=cc
17909 ac_cpp='$CXXCPP $CPPFLAGS'
17910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17913
17914     cat >conftest.$ac_ext <<_ACEOF
17915 /* confdefs.h.  */
17916 _ACEOF
17917 cat confdefs.h >>conftest.$ac_ext
17918 cat >>conftest.$ac_ext <<_ACEOF
17919 /* end confdefs.h.  */
17920 #include <math.h>
17921 int
17922 main ()
17923 {
17924  `for x in ceill floorl; do echo "$x (0);"; done`
17925   ;
17926   return 0;
17927 }
17928 _ACEOF
17929 rm -f conftest.$ac_objext
17930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17931   (eval $ac_compile) 2>conftest.er1
17932   ac_status=$?
17933   grep -v '^ *+' conftest.er1 >conftest.err
17934   rm -f conftest.er1
17935   cat conftest.err >&5
17936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937   (exit $ac_status); } &&
17938          { ac_try='test -z "$ac_cxx_werror_flag"
17939                          || test ! -s conftest.err'
17940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17941   (eval $ac_try) 2>&5
17942   ac_status=$?
17943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944   (exit $ac_status); }; } &&
17945          { ac_try='test -s conftest.$ac_objext'
17946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17947   (eval $ac_try) 2>&5
17948   ac_status=$?
17949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950   (exit $ac_status); }; }; then
17951   glibcxx_cv_func_long_double_round_use=yes
17952 else
17953   echo "$as_me: failed program was:" >&5
17954 sed 's/^/| /' conftest.$ac_ext >&5
17955
17956 glibcxx_cv_func_long_double_round_use=no
17957 fi
17958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17959     ac_ext=c
17960 ac_cpp='$CPP $CPPFLAGS'
17961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17964
17965 fi
17966
17967   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
17968 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
17969   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
17970
17971
17972 for ac_func in ceill floorl
17973 do
17974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17975 echo "$as_me:$LINENO: checking for $ac_func" >&5
17976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17977 if eval "test \"\${$as_ac_var+set}\" = set"; then
17978   echo $ECHO_N "(cached) $ECHO_C" >&6
17979 else
17980   if test x$gcc_no_link = xyes; then
17981   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17983    { (exit 1); exit 1; }; }
17984 fi
17985 cat >conftest.$ac_ext <<_ACEOF
17986 /* confdefs.h.  */
17987 _ACEOF
17988 cat confdefs.h >>conftest.$ac_ext
17989 cat >>conftest.$ac_ext <<_ACEOF
17990 /* end confdefs.h.  */
17991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17992    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17993 #define $ac_func innocuous_$ac_func
17994
17995 /* System header to define __stub macros and hopefully few prototypes,
17996     which can conflict with char $ac_func (); below.
17997     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17998     <limits.h> exists even on freestanding compilers.  */
17999
18000 #ifdef __STDC__
18001 # include <limits.h>
18002 #else
18003 # include <assert.h>
18004 #endif
18005
18006 #undef $ac_func
18007
18008 /* Override any gcc2 internal prototype to avoid an error.  */
18009 #ifdef __cplusplus
18010 extern "C"
18011 {
18012 #endif
18013 /* We use char because int might match the return type of a gcc2
18014    builtin and then its argument prototype would still apply.  */
18015 char $ac_func ();
18016 /* The GNU C library defines this for functions which it implements
18017     to always fail with ENOSYS.  Some functions are actually named
18018     something starting with __ and the normal name is an alias.  */
18019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18020 choke me
18021 #else
18022 char (*f) () = $ac_func;
18023 #endif
18024 #ifdef __cplusplus
18025 }
18026 #endif
18027
18028 int
18029 main ()
18030 {
18031 return f != $ac_func;
18032   ;
18033   return 0;
18034 }
18035 _ACEOF
18036 rm -f conftest.$ac_objext conftest$ac_exeext
18037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18038   (eval $ac_link) 2>conftest.er1
18039   ac_status=$?
18040   grep -v '^ *+' conftest.er1 >conftest.err
18041   rm -f conftest.er1
18042   cat conftest.err >&5
18043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18044   (exit $ac_status); } &&
18045          { ac_try='test -z "$ac_c_werror_flag"
18046                          || test ! -s conftest.err'
18047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18048   (eval $ac_try) 2>&5
18049   ac_status=$?
18050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051   (exit $ac_status); }; } &&
18052          { ac_try='test -s conftest$ac_exeext'
18053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18054   (eval $ac_try) 2>&5
18055   ac_status=$?
18056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18057   (exit $ac_status); }; }; then
18058   eval "$as_ac_var=yes"
18059 else
18060   echo "$as_me: failed program was:" >&5
18061 sed 's/^/| /' conftest.$ac_ext >&5
18062
18063 eval "$as_ac_var=no"
18064 fi
18065 rm -f conftest.err conftest.$ac_objext \
18066       conftest$ac_exeext conftest.$ac_ext
18067 fi
18068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18070 if test `eval echo '${'$as_ac_var'}'` = yes; then
18071   cat >>confdefs.h <<_ACEOF
18072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18073 _ACEOF
18074
18075 fi
18076 done
18077
18078   fi
18079
18080
18081
18082   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
18083 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
18084   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
18085     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
18086   echo $ECHO_N "(cached) $ECHO_C" >&6
18087 else
18088
18089
18090
18091       ac_ext=cc
18092 ac_cpp='$CXXCPP $CPPFLAGS'
18093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18096
18097       cat >conftest.$ac_ext <<_ACEOF
18098 /* confdefs.h.  */
18099 _ACEOF
18100 cat confdefs.h >>conftest.$ac_ext
18101 cat >>conftest.$ac_ext <<_ACEOF
18102 /* end confdefs.h.  */
18103 #include <math.h>
18104                       #ifdef HAVE_IEEEFP_H
18105                       #include <ieeefp.h>
18106                       #endif
18107
18108 int
18109 main ()
18110 {
18111  isnanl(0);
18112   ;
18113   return 0;
18114 }
18115 _ACEOF
18116 rm -f conftest.$ac_objext
18117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18118   (eval $ac_compile) 2>conftest.er1
18119   ac_status=$?
18120   grep -v '^ *+' conftest.er1 >conftest.err
18121   rm -f conftest.er1
18122   cat conftest.err >&5
18123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18124   (exit $ac_status); } &&
18125          { ac_try='test -z "$ac_cxx_werror_flag"
18126                          || test ! -s conftest.err'
18127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18128   (eval $ac_try) 2>&5
18129   ac_status=$?
18130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18131   (exit $ac_status); }; } &&
18132          { ac_try='test -s conftest.$ac_objext'
18133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18134   (eval $ac_try) 2>&5
18135   ac_status=$?
18136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18137   (exit $ac_status); }; }; then
18138   glibcxx_cv_func_isnanl_use=yes
18139 else
18140   echo "$as_me: failed program was:" >&5
18141 sed 's/^/| /' conftest.$ac_ext >&5
18142
18143 glibcxx_cv_func_isnanl_use=no
18144 fi
18145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18146       ac_ext=c
18147 ac_cpp='$CPP $CPPFLAGS'
18148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18151
18152
18153 fi
18154
18155   fi
18156   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
18157 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
18158
18159   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
18160
18161 for ac_func in isnanl
18162 do
18163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18164 echo "$as_me:$LINENO: checking for $ac_func" >&5
18165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18166 if eval "test \"\${$as_ac_var+set}\" = set"; then
18167   echo $ECHO_N "(cached) $ECHO_C" >&6
18168 else
18169   if test x$gcc_no_link = xyes; then
18170   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18172    { (exit 1); exit 1; }; }
18173 fi
18174 cat >conftest.$ac_ext <<_ACEOF
18175 /* confdefs.h.  */
18176 _ACEOF
18177 cat confdefs.h >>conftest.$ac_ext
18178 cat >>conftest.$ac_ext <<_ACEOF
18179 /* end confdefs.h.  */
18180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18181    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18182 #define $ac_func innocuous_$ac_func
18183
18184 /* System header to define __stub macros and hopefully few prototypes,
18185     which can conflict with char $ac_func (); below.
18186     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18187     <limits.h> exists even on freestanding compilers.  */
18188
18189 #ifdef __STDC__
18190 # include <limits.h>
18191 #else
18192 # include <assert.h>
18193 #endif
18194
18195 #undef $ac_func
18196
18197 /* Override any gcc2 internal prototype to avoid an error.  */
18198 #ifdef __cplusplus
18199 extern "C"
18200 {
18201 #endif
18202 /* We use char because int might match the return type of a gcc2
18203    builtin and then its argument prototype would still apply.  */
18204 char $ac_func ();
18205 /* The GNU C library defines this for functions which it implements
18206     to always fail with ENOSYS.  Some functions are actually named
18207     something starting with __ and the normal name is an alias.  */
18208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18209 choke me
18210 #else
18211 char (*f) () = $ac_func;
18212 #endif
18213 #ifdef __cplusplus
18214 }
18215 #endif
18216
18217 int
18218 main ()
18219 {
18220 return f != $ac_func;
18221   ;
18222   return 0;
18223 }
18224 _ACEOF
18225 rm -f conftest.$ac_objext conftest$ac_exeext
18226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18227   (eval $ac_link) 2>conftest.er1
18228   ac_status=$?
18229   grep -v '^ *+' conftest.er1 >conftest.err
18230   rm -f conftest.er1
18231   cat conftest.err >&5
18232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18233   (exit $ac_status); } &&
18234          { ac_try='test -z "$ac_c_werror_flag"
18235                          || test ! -s conftest.err'
18236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18237   (eval $ac_try) 2>&5
18238   ac_status=$?
18239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18240   (exit $ac_status); }; } &&
18241          { ac_try='test -s conftest$ac_exeext'
18242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18243   (eval $ac_try) 2>&5
18244   ac_status=$?
18245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18246   (exit $ac_status); }; }; then
18247   eval "$as_ac_var=yes"
18248 else
18249   echo "$as_me: failed program was:" >&5
18250 sed 's/^/| /' conftest.$ac_ext >&5
18251
18252 eval "$as_ac_var=no"
18253 fi
18254 rm -f conftest.err conftest.$ac_objext \
18255       conftest$ac_exeext conftest.$ac_ext
18256 fi
18257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18259 if test `eval echo '${'$as_ac_var'}'` = yes; then
18260   cat >>confdefs.h <<_ACEOF
18261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18262 _ACEOF
18263
18264 fi
18265 done
18266
18267   else
18268
18269   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
18270 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
18271   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
18272     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
18273   echo $ECHO_N "(cached) $ECHO_C" >&6
18274 else
18275
18276
18277
18278       ac_ext=cc
18279 ac_cpp='$CXXCPP $CPPFLAGS'
18280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18283
18284       cat >conftest.$ac_ext <<_ACEOF
18285 /* confdefs.h.  */
18286 _ACEOF
18287 cat confdefs.h >>conftest.$ac_ext
18288 cat >>conftest.$ac_ext <<_ACEOF
18289 /* end confdefs.h.  */
18290 #include <math.h>
18291                       #ifdef HAVE_IEEEFP_H
18292                       #include <ieeefp.h>
18293                       #endif
18294
18295 int
18296 main ()
18297 {
18298  _isnanl(0);
18299   ;
18300   return 0;
18301 }
18302 _ACEOF
18303 rm -f conftest.$ac_objext
18304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18305   (eval $ac_compile) 2>conftest.er1
18306   ac_status=$?
18307   grep -v '^ *+' conftest.er1 >conftest.err
18308   rm -f conftest.er1
18309   cat conftest.err >&5
18310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18311   (exit $ac_status); } &&
18312          { ac_try='test -z "$ac_cxx_werror_flag"
18313                          || test ! -s conftest.err'
18314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18315   (eval $ac_try) 2>&5
18316   ac_status=$?
18317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318   (exit $ac_status); }; } &&
18319          { ac_try='test -s conftest.$ac_objext'
18320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18321   (eval $ac_try) 2>&5
18322   ac_status=$?
18323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18324   (exit $ac_status); }; }; then
18325   glibcxx_cv_func__isnanl_use=yes
18326 else
18327   echo "$as_me: failed program was:" >&5
18328 sed 's/^/| /' conftest.$ac_ext >&5
18329
18330 glibcxx_cv_func__isnanl_use=no
18331 fi
18332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18333       ac_ext=c
18334 ac_cpp='$CPP $CPPFLAGS'
18335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18338
18339
18340 fi
18341
18342   fi
18343   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
18344 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
18345
18346     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
18347
18348 for ac_func in _isnanl
18349 do
18350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18351 echo "$as_me:$LINENO: checking for $ac_func" >&5
18352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18353 if eval "test \"\${$as_ac_var+set}\" = set"; then
18354   echo $ECHO_N "(cached) $ECHO_C" >&6
18355 else
18356   if test x$gcc_no_link = xyes; then
18357   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18359    { (exit 1); exit 1; }; }
18360 fi
18361 cat >conftest.$ac_ext <<_ACEOF
18362 /* confdefs.h.  */
18363 _ACEOF
18364 cat confdefs.h >>conftest.$ac_ext
18365 cat >>conftest.$ac_ext <<_ACEOF
18366 /* end confdefs.h.  */
18367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18368    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18369 #define $ac_func innocuous_$ac_func
18370
18371 /* System header to define __stub macros and hopefully few prototypes,
18372     which can conflict with char $ac_func (); below.
18373     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18374     <limits.h> exists even on freestanding compilers.  */
18375
18376 #ifdef __STDC__
18377 # include <limits.h>
18378 #else
18379 # include <assert.h>
18380 #endif
18381
18382 #undef $ac_func
18383
18384 /* Override any gcc2 internal prototype to avoid an error.  */
18385 #ifdef __cplusplus
18386 extern "C"
18387 {
18388 #endif
18389 /* We use char because int might match the return type of a gcc2
18390    builtin and then its argument prototype would still apply.  */
18391 char $ac_func ();
18392 /* The GNU C library defines this for functions which it implements
18393     to always fail with ENOSYS.  Some functions are actually named
18394     something starting with __ and the normal name is an alias.  */
18395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18396 choke me
18397 #else
18398 char (*f) () = $ac_func;
18399 #endif
18400 #ifdef __cplusplus
18401 }
18402 #endif
18403
18404 int
18405 main ()
18406 {
18407 return f != $ac_func;
18408   ;
18409   return 0;
18410 }
18411 _ACEOF
18412 rm -f conftest.$ac_objext conftest$ac_exeext
18413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18414   (eval $ac_link) 2>conftest.er1
18415   ac_status=$?
18416   grep -v '^ *+' conftest.er1 >conftest.err
18417   rm -f conftest.er1
18418   cat conftest.err >&5
18419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18420   (exit $ac_status); } &&
18421          { ac_try='test -z "$ac_c_werror_flag"
18422                          || test ! -s conftest.err'
18423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18424   (eval $ac_try) 2>&5
18425   ac_status=$?
18426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18427   (exit $ac_status); }; } &&
18428          { ac_try='test -s conftest$ac_exeext'
18429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18430   (eval $ac_try) 2>&5
18431   ac_status=$?
18432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18433   (exit $ac_status); }; }; then
18434   eval "$as_ac_var=yes"
18435 else
18436   echo "$as_me: failed program was:" >&5
18437 sed 's/^/| /' conftest.$ac_ext >&5
18438
18439 eval "$as_ac_var=no"
18440 fi
18441 rm -f conftest.err conftest.$ac_objext \
18442       conftest$ac_exeext conftest.$ac_ext
18443 fi
18444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18446 if test `eval echo '${'$as_ac_var'}'` = yes; then
18447   cat >>confdefs.h <<_ACEOF
18448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18449 _ACEOF
18450
18451 fi
18452 done
18453
18454     fi
18455   fi
18456
18457
18458
18459   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
18460 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
18461   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
18462     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
18463   echo $ECHO_N "(cached) $ECHO_C" >&6
18464 else
18465
18466
18467
18468       ac_ext=cc
18469 ac_cpp='$CXXCPP $CPPFLAGS'
18470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18473
18474       cat >conftest.$ac_ext <<_ACEOF
18475 /* confdefs.h.  */
18476 _ACEOF
18477 cat confdefs.h >>conftest.$ac_ext
18478 cat >>conftest.$ac_ext <<_ACEOF
18479 /* end confdefs.h.  */
18480 #include <math.h>
18481                       #ifdef HAVE_IEEEFP_H
18482                       #include <ieeefp.h>
18483                       #endif
18484
18485 int
18486 main ()
18487 {
18488  isinfl(0);
18489   ;
18490   return 0;
18491 }
18492 _ACEOF
18493 rm -f conftest.$ac_objext
18494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18495   (eval $ac_compile) 2>conftest.er1
18496   ac_status=$?
18497   grep -v '^ *+' conftest.er1 >conftest.err
18498   rm -f conftest.er1
18499   cat conftest.err >&5
18500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18501   (exit $ac_status); } &&
18502          { ac_try='test -z "$ac_cxx_werror_flag"
18503                          || test ! -s conftest.err'
18504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18505   (eval $ac_try) 2>&5
18506   ac_status=$?
18507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508   (exit $ac_status); }; } &&
18509          { ac_try='test -s conftest.$ac_objext'
18510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18511   (eval $ac_try) 2>&5
18512   ac_status=$?
18513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18514   (exit $ac_status); }; }; then
18515   glibcxx_cv_func_isinfl_use=yes
18516 else
18517   echo "$as_me: failed program was:" >&5
18518 sed 's/^/| /' conftest.$ac_ext >&5
18519
18520 glibcxx_cv_func_isinfl_use=no
18521 fi
18522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18523       ac_ext=c
18524 ac_cpp='$CPP $CPPFLAGS'
18525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18528
18529
18530 fi
18531
18532   fi
18533   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
18534 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
18535
18536   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
18537
18538 for ac_func in isinfl
18539 do
18540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18541 echo "$as_me:$LINENO: checking for $ac_func" >&5
18542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18543 if eval "test \"\${$as_ac_var+set}\" = set"; then
18544   echo $ECHO_N "(cached) $ECHO_C" >&6
18545 else
18546   if test x$gcc_no_link = xyes; then
18547   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18549    { (exit 1); exit 1; }; }
18550 fi
18551 cat >conftest.$ac_ext <<_ACEOF
18552 /* confdefs.h.  */
18553 _ACEOF
18554 cat confdefs.h >>conftest.$ac_ext
18555 cat >>conftest.$ac_ext <<_ACEOF
18556 /* end confdefs.h.  */
18557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18558    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18559 #define $ac_func innocuous_$ac_func
18560
18561 /* System header to define __stub macros and hopefully few prototypes,
18562     which can conflict with char $ac_func (); below.
18563     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18564     <limits.h> exists even on freestanding compilers.  */
18565
18566 #ifdef __STDC__
18567 # include <limits.h>
18568 #else
18569 # include <assert.h>
18570 #endif
18571
18572 #undef $ac_func
18573
18574 /* Override any gcc2 internal prototype to avoid an error.  */
18575 #ifdef __cplusplus
18576 extern "C"
18577 {
18578 #endif
18579 /* We use char because int might match the return type of a gcc2
18580    builtin and then its argument prototype would still apply.  */
18581 char $ac_func ();
18582 /* The GNU C library defines this for functions which it implements
18583     to always fail with ENOSYS.  Some functions are actually named
18584     something starting with __ and the normal name is an alias.  */
18585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18586 choke me
18587 #else
18588 char (*f) () = $ac_func;
18589 #endif
18590 #ifdef __cplusplus
18591 }
18592 #endif
18593
18594 int
18595 main ()
18596 {
18597 return f != $ac_func;
18598   ;
18599   return 0;
18600 }
18601 _ACEOF
18602 rm -f conftest.$ac_objext conftest$ac_exeext
18603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18604   (eval $ac_link) 2>conftest.er1
18605   ac_status=$?
18606   grep -v '^ *+' conftest.er1 >conftest.err
18607   rm -f conftest.er1
18608   cat conftest.err >&5
18609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18610   (exit $ac_status); } &&
18611          { ac_try='test -z "$ac_c_werror_flag"
18612                          || test ! -s conftest.err'
18613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18614   (eval $ac_try) 2>&5
18615   ac_status=$?
18616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617   (exit $ac_status); }; } &&
18618          { ac_try='test -s conftest$ac_exeext'
18619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18620   (eval $ac_try) 2>&5
18621   ac_status=$?
18622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623   (exit $ac_status); }; }; then
18624   eval "$as_ac_var=yes"
18625 else
18626   echo "$as_me: failed program was:" >&5
18627 sed 's/^/| /' conftest.$ac_ext >&5
18628
18629 eval "$as_ac_var=no"
18630 fi
18631 rm -f conftest.err conftest.$ac_objext \
18632       conftest$ac_exeext conftest.$ac_ext
18633 fi
18634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18636 if test `eval echo '${'$as_ac_var'}'` = yes; then
18637   cat >>confdefs.h <<_ACEOF
18638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18639 _ACEOF
18640
18641 fi
18642 done
18643
18644   else
18645
18646   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
18647 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
18648   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
18649     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
18650   echo $ECHO_N "(cached) $ECHO_C" >&6
18651 else
18652
18653
18654
18655       ac_ext=cc
18656 ac_cpp='$CXXCPP $CPPFLAGS'
18657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18660
18661       cat >conftest.$ac_ext <<_ACEOF
18662 /* confdefs.h.  */
18663 _ACEOF
18664 cat confdefs.h >>conftest.$ac_ext
18665 cat >>conftest.$ac_ext <<_ACEOF
18666 /* end confdefs.h.  */
18667 #include <math.h>
18668                       #ifdef HAVE_IEEEFP_H
18669                       #include <ieeefp.h>
18670                       #endif
18671
18672 int
18673 main ()
18674 {
18675  _isinfl(0);
18676   ;
18677   return 0;
18678 }
18679 _ACEOF
18680 rm -f conftest.$ac_objext
18681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18682   (eval $ac_compile) 2>conftest.er1
18683   ac_status=$?
18684   grep -v '^ *+' conftest.er1 >conftest.err
18685   rm -f conftest.er1
18686   cat conftest.err >&5
18687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18688   (exit $ac_status); } &&
18689          { ac_try='test -z "$ac_cxx_werror_flag"
18690                          || test ! -s conftest.err'
18691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18692   (eval $ac_try) 2>&5
18693   ac_status=$?
18694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18695   (exit $ac_status); }; } &&
18696          { ac_try='test -s conftest.$ac_objext'
18697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18698   (eval $ac_try) 2>&5
18699   ac_status=$?
18700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18701   (exit $ac_status); }; }; then
18702   glibcxx_cv_func__isinfl_use=yes
18703 else
18704   echo "$as_me: failed program was:" >&5
18705 sed 's/^/| /' conftest.$ac_ext >&5
18706
18707 glibcxx_cv_func__isinfl_use=no
18708 fi
18709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18710       ac_ext=c
18711 ac_cpp='$CPP $CPPFLAGS'
18712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18715
18716
18717 fi
18718
18719   fi
18720   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
18721 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
18722
18723     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
18724
18725 for ac_func in _isinfl
18726 do
18727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18728 echo "$as_me:$LINENO: checking for $ac_func" >&5
18729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18730 if eval "test \"\${$as_ac_var+set}\" = set"; then
18731   echo $ECHO_N "(cached) $ECHO_C" >&6
18732 else
18733   if test x$gcc_no_link = xyes; then
18734   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18736    { (exit 1); exit 1; }; }
18737 fi
18738 cat >conftest.$ac_ext <<_ACEOF
18739 /* confdefs.h.  */
18740 _ACEOF
18741 cat confdefs.h >>conftest.$ac_ext
18742 cat >>conftest.$ac_ext <<_ACEOF
18743 /* end confdefs.h.  */
18744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18745    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18746 #define $ac_func innocuous_$ac_func
18747
18748 /* System header to define __stub macros and hopefully few prototypes,
18749     which can conflict with char $ac_func (); below.
18750     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18751     <limits.h> exists even on freestanding compilers.  */
18752
18753 #ifdef __STDC__
18754 # include <limits.h>
18755 #else
18756 # include <assert.h>
18757 #endif
18758
18759 #undef $ac_func
18760
18761 /* Override any gcc2 internal prototype to avoid an error.  */
18762 #ifdef __cplusplus
18763 extern "C"
18764 {
18765 #endif
18766 /* We use char because int might match the return type of a gcc2
18767    builtin and then its argument prototype would still apply.  */
18768 char $ac_func ();
18769 /* The GNU C library defines this for functions which it implements
18770     to always fail with ENOSYS.  Some functions are actually named
18771     something starting with __ and the normal name is an alias.  */
18772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18773 choke me
18774 #else
18775 char (*f) () = $ac_func;
18776 #endif
18777 #ifdef __cplusplus
18778 }
18779 #endif
18780
18781 int
18782 main ()
18783 {
18784 return f != $ac_func;
18785   ;
18786   return 0;
18787 }
18788 _ACEOF
18789 rm -f conftest.$ac_objext conftest$ac_exeext
18790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18791   (eval $ac_link) 2>conftest.er1
18792   ac_status=$?
18793   grep -v '^ *+' conftest.er1 >conftest.err
18794   rm -f conftest.er1
18795   cat conftest.err >&5
18796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797   (exit $ac_status); } &&
18798          { ac_try='test -z "$ac_c_werror_flag"
18799                          || test ! -s conftest.err'
18800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18801   (eval $ac_try) 2>&5
18802   ac_status=$?
18803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18804   (exit $ac_status); }; } &&
18805          { ac_try='test -s conftest$ac_exeext'
18806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18807   (eval $ac_try) 2>&5
18808   ac_status=$?
18809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18810   (exit $ac_status); }; }; then
18811   eval "$as_ac_var=yes"
18812 else
18813   echo "$as_me: failed program was:" >&5
18814 sed 's/^/| /' conftest.$ac_ext >&5
18815
18816 eval "$as_ac_var=no"
18817 fi
18818 rm -f conftest.err conftest.$ac_objext \
18819       conftest$ac_exeext conftest.$ac_ext
18820 fi
18821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18823 if test `eval echo '${'$as_ac_var'}'` = yes; then
18824   cat >>confdefs.h <<_ACEOF
18825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18826 _ACEOF
18827
18828 fi
18829 done
18830
18831     fi
18832   fi
18833
18834
18835
18836   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
18837 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
18838   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
18839     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
18840   echo $ECHO_N "(cached) $ECHO_C" >&6
18841 else
18842
18843
18844
18845       ac_ext=cc
18846 ac_cpp='$CXXCPP $CPPFLAGS'
18847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18850
18851       cat >conftest.$ac_ext <<_ACEOF
18852 /* confdefs.h.  */
18853 _ACEOF
18854 cat confdefs.h >>conftest.$ac_ext
18855 cat >>conftest.$ac_ext <<_ACEOF
18856 /* end confdefs.h.  */
18857 #include <math.h>
18858 int
18859 main ()
18860 {
18861  copysignl(0, 0);
18862   ;
18863   return 0;
18864 }
18865 _ACEOF
18866 rm -f conftest.$ac_objext
18867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18868   (eval $ac_compile) 2>conftest.er1
18869   ac_status=$?
18870   grep -v '^ *+' conftest.er1 >conftest.err
18871   rm -f conftest.er1
18872   cat conftest.err >&5
18873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18874   (exit $ac_status); } &&
18875          { ac_try='test -z "$ac_cxx_werror_flag"
18876                          || test ! -s conftest.err'
18877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18878   (eval $ac_try) 2>&5
18879   ac_status=$?
18880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18881   (exit $ac_status); }; } &&
18882          { ac_try='test -s conftest.$ac_objext'
18883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18884   (eval $ac_try) 2>&5
18885   ac_status=$?
18886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887   (exit $ac_status); }; }; then
18888   glibcxx_cv_func_copysignl_use=yes
18889 else
18890   echo "$as_me: failed program was:" >&5
18891 sed 's/^/| /' conftest.$ac_ext >&5
18892
18893 glibcxx_cv_func_copysignl_use=no
18894 fi
18895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18896       ac_ext=c
18897 ac_cpp='$CPP $CPPFLAGS'
18898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18901
18902
18903 fi
18904
18905   fi
18906   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
18907 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
18908
18909   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
18910
18911 for ac_func in copysignl
18912 do
18913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18914 echo "$as_me:$LINENO: checking for $ac_func" >&5
18915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18916 if eval "test \"\${$as_ac_var+set}\" = set"; then
18917   echo $ECHO_N "(cached) $ECHO_C" >&6
18918 else
18919   if test x$gcc_no_link = xyes; then
18920   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18922    { (exit 1); exit 1; }; }
18923 fi
18924 cat >conftest.$ac_ext <<_ACEOF
18925 /* confdefs.h.  */
18926 _ACEOF
18927 cat confdefs.h >>conftest.$ac_ext
18928 cat >>conftest.$ac_ext <<_ACEOF
18929 /* end confdefs.h.  */
18930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18931    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18932 #define $ac_func innocuous_$ac_func
18933
18934 /* System header to define __stub macros and hopefully few prototypes,
18935     which can conflict with char $ac_func (); below.
18936     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18937     <limits.h> exists even on freestanding compilers.  */
18938
18939 #ifdef __STDC__
18940 # include <limits.h>
18941 #else
18942 # include <assert.h>
18943 #endif
18944
18945 #undef $ac_func
18946
18947 /* Override any gcc2 internal prototype to avoid an error.  */
18948 #ifdef __cplusplus
18949 extern "C"
18950 {
18951 #endif
18952 /* We use char because int might match the return type of a gcc2
18953    builtin and then its argument prototype would still apply.  */
18954 char $ac_func ();
18955 /* The GNU C library defines this for functions which it implements
18956     to always fail with ENOSYS.  Some functions are actually named
18957     something starting with __ and the normal name is an alias.  */
18958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18959 choke me
18960 #else
18961 char (*f) () = $ac_func;
18962 #endif
18963 #ifdef __cplusplus
18964 }
18965 #endif
18966
18967 int
18968 main ()
18969 {
18970 return f != $ac_func;
18971   ;
18972   return 0;
18973 }
18974 _ACEOF
18975 rm -f conftest.$ac_objext conftest$ac_exeext
18976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18977   (eval $ac_link) 2>conftest.er1
18978   ac_status=$?
18979   grep -v '^ *+' conftest.er1 >conftest.err
18980   rm -f conftest.er1
18981   cat conftest.err >&5
18982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18983   (exit $ac_status); } &&
18984          { ac_try='test -z "$ac_c_werror_flag"
18985                          || test ! -s conftest.err'
18986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18987   (eval $ac_try) 2>&5
18988   ac_status=$?
18989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18990   (exit $ac_status); }; } &&
18991          { ac_try='test -s conftest$ac_exeext'
18992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18993   (eval $ac_try) 2>&5
18994   ac_status=$?
18995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996   (exit $ac_status); }; }; then
18997   eval "$as_ac_var=yes"
18998 else
18999   echo "$as_me: failed program was:" >&5
19000 sed 's/^/| /' conftest.$ac_ext >&5
19001
19002 eval "$as_ac_var=no"
19003 fi
19004 rm -f conftest.err conftest.$ac_objext \
19005       conftest$ac_exeext conftest.$ac_ext
19006 fi
19007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19009 if test `eval echo '${'$as_ac_var'}'` = yes; then
19010   cat >>confdefs.h <<_ACEOF
19011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19012 _ACEOF
19013
19014 fi
19015 done
19016
19017   else
19018
19019   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
19020 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
19021   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
19022     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
19023   echo $ECHO_N "(cached) $ECHO_C" >&6
19024 else
19025
19026
19027
19028       ac_ext=cc
19029 ac_cpp='$CXXCPP $CPPFLAGS'
19030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19033
19034       cat >conftest.$ac_ext <<_ACEOF
19035 /* confdefs.h.  */
19036 _ACEOF
19037 cat confdefs.h >>conftest.$ac_ext
19038 cat >>conftest.$ac_ext <<_ACEOF
19039 /* end confdefs.h.  */
19040 #include <math.h>
19041 int
19042 main ()
19043 {
19044  _copysignl(0, 0);
19045   ;
19046   return 0;
19047 }
19048 _ACEOF
19049 rm -f conftest.$ac_objext
19050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19051   (eval $ac_compile) 2>conftest.er1
19052   ac_status=$?
19053   grep -v '^ *+' conftest.er1 >conftest.err
19054   rm -f conftest.er1
19055   cat conftest.err >&5
19056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19057   (exit $ac_status); } &&
19058          { ac_try='test -z "$ac_cxx_werror_flag"
19059                          || test ! -s conftest.err'
19060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19061   (eval $ac_try) 2>&5
19062   ac_status=$?
19063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19064   (exit $ac_status); }; } &&
19065          { ac_try='test -s conftest.$ac_objext'
19066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19067   (eval $ac_try) 2>&5
19068   ac_status=$?
19069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070   (exit $ac_status); }; }; then
19071   glibcxx_cv_func__copysignl_use=yes
19072 else
19073   echo "$as_me: failed program was:" >&5
19074 sed 's/^/| /' conftest.$ac_ext >&5
19075
19076 glibcxx_cv_func__copysignl_use=no
19077 fi
19078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19079       ac_ext=c
19080 ac_cpp='$CPP $CPPFLAGS'
19081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19084
19085
19086 fi
19087
19088   fi
19089   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
19090 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
19091
19092     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
19093
19094 for ac_func in _copysignl
19095 do
19096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19097 echo "$as_me:$LINENO: checking for $ac_func" >&5
19098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19099 if eval "test \"\${$as_ac_var+set}\" = set"; then
19100   echo $ECHO_N "(cached) $ECHO_C" >&6
19101 else
19102   if test x$gcc_no_link = xyes; then
19103   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19105    { (exit 1); exit 1; }; }
19106 fi
19107 cat >conftest.$ac_ext <<_ACEOF
19108 /* confdefs.h.  */
19109 _ACEOF
19110 cat confdefs.h >>conftest.$ac_ext
19111 cat >>conftest.$ac_ext <<_ACEOF
19112 /* end confdefs.h.  */
19113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19114    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19115 #define $ac_func innocuous_$ac_func
19116
19117 /* System header to define __stub macros and hopefully few prototypes,
19118     which can conflict with char $ac_func (); below.
19119     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19120     <limits.h> exists even on freestanding compilers.  */
19121
19122 #ifdef __STDC__
19123 # include <limits.h>
19124 #else
19125 # include <assert.h>
19126 #endif
19127
19128 #undef $ac_func
19129
19130 /* Override any gcc2 internal prototype to avoid an error.  */
19131 #ifdef __cplusplus
19132 extern "C"
19133 {
19134 #endif
19135 /* We use char because int might match the return type of a gcc2
19136    builtin and then its argument prototype would still apply.  */
19137 char $ac_func ();
19138 /* The GNU C library defines this for functions which it implements
19139     to always fail with ENOSYS.  Some functions are actually named
19140     something starting with __ and the normal name is an alias.  */
19141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19142 choke me
19143 #else
19144 char (*f) () = $ac_func;
19145 #endif
19146 #ifdef __cplusplus
19147 }
19148 #endif
19149
19150 int
19151 main ()
19152 {
19153 return f != $ac_func;
19154   ;
19155   return 0;
19156 }
19157 _ACEOF
19158 rm -f conftest.$ac_objext conftest$ac_exeext
19159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19160   (eval $ac_link) 2>conftest.er1
19161   ac_status=$?
19162   grep -v '^ *+' conftest.er1 >conftest.err
19163   rm -f conftest.er1
19164   cat conftest.err >&5
19165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19166   (exit $ac_status); } &&
19167          { ac_try='test -z "$ac_c_werror_flag"
19168                          || test ! -s conftest.err'
19169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19170   (eval $ac_try) 2>&5
19171   ac_status=$?
19172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19173   (exit $ac_status); }; } &&
19174          { ac_try='test -s conftest$ac_exeext'
19175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19176   (eval $ac_try) 2>&5
19177   ac_status=$?
19178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19179   (exit $ac_status); }; }; then
19180   eval "$as_ac_var=yes"
19181 else
19182   echo "$as_me: failed program was:" >&5
19183 sed 's/^/| /' conftest.$ac_ext >&5
19184
19185 eval "$as_ac_var=no"
19186 fi
19187 rm -f conftest.err conftest.$ac_objext \
19188       conftest$ac_exeext conftest.$ac_ext
19189 fi
19190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19192 if test `eval echo '${'$as_ac_var'}'` = yes; then
19193   cat >>confdefs.h <<_ACEOF
19194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19195 _ACEOF
19196
19197 fi
19198 done
19199
19200     fi
19201   fi
19202
19203
19204
19205   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
19206 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
19207   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
19208     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
19209   echo $ECHO_N "(cached) $ECHO_C" >&6
19210 else
19211
19212
19213
19214       ac_ext=cc
19215 ac_cpp='$CXXCPP $CPPFLAGS'
19216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19219
19220       cat >conftest.$ac_ext <<_ACEOF
19221 /* confdefs.h.  */
19222 _ACEOF
19223 cat confdefs.h >>conftest.$ac_ext
19224 cat >>conftest.$ac_ext <<_ACEOF
19225 /* end confdefs.h.  */
19226 #include <math.h>
19227 int
19228 main ()
19229 {
19230  atan2l(0, 0);
19231   ;
19232   return 0;
19233 }
19234 _ACEOF
19235 rm -f conftest.$ac_objext
19236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19237   (eval $ac_compile) 2>conftest.er1
19238   ac_status=$?
19239   grep -v '^ *+' conftest.er1 >conftest.err
19240   rm -f conftest.er1
19241   cat conftest.err >&5
19242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19243   (exit $ac_status); } &&
19244          { ac_try='test -z "$ac_cxx_werror_flag"
19245                          || test ! -s conftest.err'
19246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19247   (eval $ac_try) 2>&5
19248   ac_status=$?
19249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250   (exit $ac_status); }; } &&
19251          { ac_try='test -s conftest.$ac_objext'
19252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19253   (eval $ac_try) 2>&5
19254   ac_status=$?
19255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256   (exit $ac_status); }; }; then
19257   glibcxx_cv_func_atan2l_use=yes
19258 else
19259   echo "$as_me: failed program was:" >&5
19260 sed 's/^/| /' conftest.$ac_ext >&5
19261
19262 glibcxx_cv_func_atan2l_use=no
19263 fi
19264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19265       ac_ext=c
19266 ac_cpp='$CPP $CPPFLAGS'
19267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19270
19271
19272 fi
19273
19274   fi
19275   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
19276 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
19277
19278   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
19279
19280 for ac_func in atan2l
19281 do
19282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19283 echo "$as_me:$LINENO: checking for $ac_func" >&5
19284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19285 if eval "test \"\${$as_ac_var+set}\" = set"; then
19286   echo $ECHO_N "(cached) $ECHO_C" >&6
19287 else
19288   if test x$gcc_no_link = xyes; then
19289   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19291    { (exit 1); exit 1; }; }
19292 fi
19293 cat >conftest.$ac_ext <<_ACEOF
19294 /* confdefs.h.  */
19295 _ACEOF
19296 cat confdefs.h >>conftest.$ac_ext
19297 cat >>conftest.$ac_ext <<_ACEOF
19298 /* end confdefs.h.  */
19299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19300    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19301 #define $ac_func innocuous_$ac_func
19302
19303 /* System header to define __stub macros and hopefully few prototypes,
19304     which can conflict with char $ac_func (); below.
19305     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19306     <limits.h> exists even on freestanding compilers.  */
19307
19308 #ifdef __STDC__
19309 # include <limits.h>
19310 #else
19311 # include <assert.h>
19312 #endif
19313
19314 #undef $ac_func
19315
19316 /* Override any gcc2 internal prototype to avoid an error.  */
19317 #ifdef __cplusplus
19318 extern "C"
19319 {
19320 #endif
19321 /* We use char because int might match the return type of a gcc2
19322    builtin and then its argument prototype would still apply.  */
19323 char $ac_func ();
19324 /* The GNU C library defines this for functions which it implements
19325     to always fail with ENOSYS.  Some functions are actually named
19326     something starting with __ and the normal name is an alias.  */
19327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19328 choke me
19329 #else
19330 char (*f) () = $ac_func;
19331 #endif
19332 #ifdef __cplusplus
19333 }
19334 #endif
19335
19336 int
19337 main ()
19338 {
19339 return f != $ac_func;
19340   ;
19341   return 0;
19342 }
19343 _ACEOF
19344 rm -f conftest.$ac_objext conftest$ac_exeext
19345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19346   (eval $ac_link) 2>conftest.er1
19347   ac_status=$?
19348   grep -v '^ *+' conftest.er1 >conftest.err
19349   rm -f conftest.er1
19350   cat conftest.err >&5
19351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352   (exit $ac_status); } &&
19353          { ac_try='test -z "$ac_c_werror_flag"
19354                          || test ! -s conftest.err'
19355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19356   (eval $ac_try) 2>&5
19357   ac_status=$?
19358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19359   (exit $ac_status); }; } &&
19360          { ac_try='test -s conftest$ac_exeext'
19361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19362   (eval $ac_try) 2>&5
19363   ac_status=$?
19364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19365   (exit $ac_status); }; }; then
19366   eval "$as_ac_var=yes"
19367 else
19368   echo "$as_me: failed program was:" >&5
19369 sed 's/^/| /' conftest.$ac_ext >&5
19370
19371 eval "$as_ac_var=no"
19372 fi
19373 rm -f conftest.err conftest.$ac_objext \
19374       conftest$ac_exeext conftest.$ac_ext
19375 fi
19376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19378 if test `eval echo '${'$as_ac_var'}'` = yes; then
19379   cat >>confdefs.h <<_ACEOF
19380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19381 _ACEOF
19382
19383 fi
19384 done
19385
19386   else
19387
19388   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
19389 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
19390   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
19391     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
19392   echo $ECHO_N "(cached) $ECHO_C" >&6
19393 else
19394
19395
19396
19397       ac_ext=cc
19398 ac_cpp='$CXXCPP $CPPFLAGS'
19399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19402
19403       cat >conftest.$ac_ext <<_ACEOF
19404 /* confdefs.h.  */
19405 _ACEOF
19406 cat confdefs.h >>conftest.$ac_ext
19407 cat >>conftest.$ac_ext <<_ACEOF
19408 /* end confdefs.h.  */
19409 #include <math.h>
19410 int
19411 main ()
19412 {
19413  _atan2l(0, 0);
19414   ;
19415   return 0;
19416 }
19417 _ACEOF
19418 rm -f conftest.$ac_objext
19419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19420   (eval $ac_compile) 2>conftest.er1
19421   ac_status=$?
19422   grep -v '^ *+' conftest.er1 >conftest.err
19423   rm -f conftest.er1
19424   cat conftest.err >&5
19425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19426   (exit $ac_status); } &&
19427          { ac_try='test -z "$ac_cxx_werror_flag"
19428                          || test ! -s conftest.err'
19429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19430   (eval $ac_try) 2>&5
19431   ac_status=$?
19432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19433   (exit $ac_status); }; } &&
19434          { ac_try='test -s conftest.$ac_objext'
19435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19436   (eval $ac_try) 2>&5
19437   ac_status=$?
19438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19439   (exit $ac_status); }; }; then
19440   glibcxx_cv_func__atan2l_use=yes
19441 else
19442   echo "$as_me: failed program was:" >&5
19443 sed 's/^/| /' conftest.$ac_ext >&5
19444
19445 glibcxx_cv_func__atan2l_use=no
19446 fi
19447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19448       ac_ext=c
19449 ac_cpp='$CPP $CPPFLAGS'
19450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19453
19454
19455 fi
19456
19457   fi
19458   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
19459 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
19460
19461     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
19462
19463 for ac_func in _atan2l
19464 do
19465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19466 echo "$as_me:$LINENO: checking for $ac_func" >&5
19467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19468 if eval "test \"\${$as_ac_var+set}\" = set"; then
19469   echo $ECHO_N "(cached) $ECHO_C" >&6
19470 else
19471   if test x$gcc_no_link = xyes; then
19472   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19474    { (exit 1); exit 1; }; }
19475 fi
19476 cat >conftest.$ac_ext <<_ACEOF
19477 /* confdefs.h.  */
19478 _ACEOF
19479 cat confdefs.h >>conftest.$ac_ext
19480 cat >>conftest.$ac_ext <<_ACEOF
19481 /* end confdefs.h.  */
19482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19483    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19484 #define $ac_func innocuous_$ac_func
19485
19486 /* System header to define __stub macros and hopefully few prototypes,
19487     which can conflict with char $ac_func (); below.
19488     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19489     <limits.h> exists even on freestanding compilers.  */
19490
19491 #ifdef __STDC__
19492 # include <limits.h>
19493 #else
19494 # include <assert.h>
19495 #endif
19496
19497 #undef $ac_func
19498
19499 /* Override any gcc2 internal prototype to avoid an error.  */
19500 #ifdef __cplusplus
19501 extern "C"
19502 {
19503 #endif
19504 /* We use char because int might match the return type of a gcc2
19505    builtin and then its argument prototype would still apply.  */
19506 char $ac_func ();
19507 /* The GNU C library defines this for functions which it implements
19508     to always fail with ENOSYS.  Some functions are actually named
19509     something starting with __ and the normal name is an alias.  */
19510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19511 choke me
19512 #else
19513 char (*f) () = $ac_func;
19514 #endif
19515 #ifdef __cplusplus
19516 }
19517 #endif
19518
19519 int
19520 main ()
19521 {
19522 return f != $ac_func;
19523   ;
19524   return 0;
19525 }
19526 _ACEOF
19527 rm -f conftest.$ac_objext conftest$ac_exeext
19528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19529   (eval $ac_link) 2>conftest.er1
19530   ac_status=$?
19531   grep -v '^ *+' conftest.er1 >conftest.err
19532   rm -f conftest.er1
19533   cat conftest.err >&5
19534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19535   (exit $ac_status); } &&
19536          { ac_try='test -z "$ac_c_werror_flag"
19537                          || test ! -s conftest.err'
19538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19539   (eval $ac_try) 2>&5
19540   ac_status=$?
19541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19542   (exit $ac_status); }; } &&
19543          { ac_try='test -s conftest$ac_exeext'
19544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19545   (eval $ac_try) 2>&5
19546   ac_status=$?
19547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19548   (exit $ac_status); }; }; then
19549   eval "$as_ac_var=yes"
19550 else
19551   echo "$as_me: failed program was:" >&5
19552 sed 's/^/| /' conftest.$ac_ext >&5
19553
19554 eval "$as_ac_var=no"
19555 fi
19556 rm -f conftest.err conftest.$ac_objext \
19557       conftest$ac_exeext conftest.$ac_ext
19558 fi
19559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19561 if test `eval echo '${'$as_ac_var'}'` = yes; then
19562   cat >>confdefs.h <<_ACEOF
19563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19564 _ACEOF
19565
19566 fi
19567 done
19568
19569     fi
19570   fi
19571
19572
19573
19574   echo "$as_me:$LINENO: checking for expl declaration" >&5
19575 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
19576   if test x${glibcxx_cv_func_expl_use+set} != xset; then
19577     if test "${glibcxx_cv_func_expl_use+set}" = set; then
19578   echo $ECHO_N "(cached) $ECHO_C" >&6
19579 else
19580
19581
19582
19583       ac_ext=cc
19584 ac_cpp='$CXXCPP $CPPFLAGS'
19585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19588
19589       cat >conftest.$ac_ext <<_ACEOF
19590 /* confdefs.h.  */
19591 _ACEOF
19592 cat confdefs.h >>conftest.$ac_ext
19593 cat >>conftest.$ac_ext <<_ACEOF
19594 /* end confdefs.h.  */
19595 #include <math.h>
19596                       #ifdef HAVE_IEEEFP_H
19597                       #include <ieeefp.h>
19598                       #endif
19599
19600 int
19601 main ()
19602 {
19603  expl(0);
19604   ;
19605   return 0;
19606 }
19607 _ACEOF
19608 rm -f conftest.$ac_objext
19609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19610   (eval $ac_compile) 2>conftest.er1
19611   ac_status=$?
19612   grep -v '^ *+' conftest.er1 >conftest.err
19613   rm -f conftest.er1
19614   cat conftest.err >&5
19615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616   (exit $ac_status); } &&
19617          { ac_try='test -z "$ac_cxx_werror_flag"
19618                          || test ! -s conftest.err'
19619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19620   (eval $ac_try) 2>&5
19621   ac_status=$?
19622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19623   (exit $ac_status); }; } &&
19624          { ac_try='test -s conftest.$ac_objext'
19625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19626   (eval $ac_try) 2>&5
19627   ac_status=$?
19628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19629   (exit $ac_status); }; }; then
19630   glibcxx_cv_func_expl_use=yes
19631 else
19632   echo "$as_me: failed program was:" >&5
19633 sed 's/^/| /' conftest.$ac_ext >&5
19634
19635 glibcxx_cv_func_expl_use=no
19636 fi
19637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19638       ac_ext=c
19639 ac_cpp='$CPP $CPPFLAGS'
19640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19643
19644
19645 fi
19646
19647   fi
19648   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
19649 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
19650
19651   if test x$glibcxx_cv_func_expl_use = x"yes"; then
19652
19653 for ac_func in expl
19654 do
19655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19656 echo "$as_me:$LINENO: checking for $ac_func" >&5
19657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19658 if eval "test \"\${$as_ac_var+set}\" = set"; then
19659   echo $ECHO_N "(cached) $ECHO_C" >&6
19660 else
19661   if test x$gcc_no_link = xyes; then
19662   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19664    { (exit 1); exit 1; }; }
19665 fi
19666 cat >conftest.$ac_ext <<_ACEOF
19667 /* confdefs.h.  */
19668 _ACEOF
19669 cat confdefs.h >>conftest.$ac_ext
19670 cat >>conftest.$ac_ext <<_ACEOF
19671 /* end confdefs.h.  */
19672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19673    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19674 #define $ac_func innocuous_$ac_func
19675
19676 /* System header to define __stub macros and hopefully few prototypes,
19677     which can conflict with char $ac_func (); below.
19678     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19679     <limits.h> exists even on freestanding compilers.  */
19680
19681 #ifdef __STDC__
19682 # include <limits.h>
19683 #else
19684 # include <assert.h>
19685 #endif
19686
19687 #undef $ac_func
19688
19689 /* Override any gcc2 internal prototype to avoid an error.  */
19690 #ifdef __cplusplus
19691 extern "C"
19692 {
19693 #endif
19694 /* We use char because int might match the return type of a gcc2
19695    builtin and then its argument prototype would still apply.  */
19696 char $ac_func ();
19697 /* The GNU C library defines this for functions which it implements
19698     to always fail with ENOSYS.  Some functions are actually named
19699     something starting with __ and the normal name is an alias.  */
19700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19701 choke me
19702 #else
19703 char (*f) () = $ac_func;
19704 #endif
19705 #ifdef __cplusplus
19706 }
19707 #endif
19708
19709 int
19710 main ()
19711 {
19712 return f != $ac_func;
19713   ;
19714   return 0;
19715 }
19716 _ACEOF
19717 rm -f conftest.$ac_objext conftest$ac_exeext
19718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19719   (eval $ac_link) 2>conftest.er1
19720   ac_status=$?
19721   grep -v '^ *+' conftest.er1 >conftest.err
19722   rm -f conftest.er1
19723   cat conftest.err >&5
19724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19725   (exit $ac_status); } &&
19726          { ac_try='test -z "$ac_c_werror_flag"
19727                          || test ! -s conftest.err'
19728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19729   (eval $ac_try) 2>&5
19730   ac_status=$?
19731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19732   (exit $ac_status); }; } &&
19733          { ac_try='test -s conftest$ac_exeext'
19734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19735   (eval $ac_try) 2>&5
19736   ac_status=$?
19737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19738   (exit $ac_status); }; }; then
19739   eval "$as_ac_var=yes"
19740 else
19741   echo "$as_me: failed program was:" >&5
19742 sed 's/^/| /' conftest.$ac_ext >&5
19743
19744 eval "$as_ac_var=no"
19745 fi
19746 rm -f conftest.err conftest.$ac_objext \
19747       conftest$ac_exeext conftest.$ac_ext
19748 fi
19749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19751 if test `eval echo '${'$as_ac_var'}'` = yes; then
19752   cat >>confdefs.h <<_ACEOF
19753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19754 _ACEOF
19755
19756 fi
19757 done
19758
19759   else
19760
19761   echo "$as_me:$LINENO: checking for _expl declaration" >&5
19762 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
19763   if test x${glibcxx_cv_func__expl_use+set} != xset; then
19764     if test "${glibcxx_cv_func__expl_use+set}" = set; then
19765   echo $ECHO_N "(cached) $ECHO_C" >&6
19766 else
19767
19768
19769
19770       ac_ext=cc
19771 ac_cpp='$CXXCPP $CPPFLAGS'
19772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19775
19776       cat >conftest.$ac_ext <<_ACEOF
19777 /* confdefs.h.  */
19778 _ACEOF
19779 cat confdefs.h >>conftest.$ac_ext
19780 cat >>conftest.$ac_ext <<_ACEOF
19781 /* end confdefs.h.  */
19782 #include <math.h>
19783                       #ifdef HAVE_IEEEFP_H
19784                       #include <ieeefp.h>
19785                       #endif
19786
19787 int
19788 main ()
19789 {
19790  _expl(0);
19791   ;
19792   return 0;
19793 }
19794 _ACEOF
19795 rm -f conftest.$ac_objext
19796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19797   (eval $ac_compile) 2>conftest.er1
19798   ac_status=$?
19799   grep -v '^ *+' conftest.er1 >conftest.err
19800   rm -f conftest.er1
19801   cat conftest.err >&5
19802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19803   (exit $ac_status); } &&
19804          { ac_try='test -z "$ac_cxx_werror_flag"
19805                          || test ! -s conftest.err'
19806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19807   (eval $ac_try) 2>&5
19808   ac_status=$?
19809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19810   (exit $ac_status); }; } &&
19811          { ac_try='test -s conftest.$ac_objext'
19812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19813   (eval $ac_try) 2>&5
19814   ac_status=$?
19815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816   (exit $ac_status); }; }; then
19817   glibcxx_cv_func__expl_use=yes
19818 else
19819   echo "$as_me: failed program was:" >&5
19820 sed 's/^/| /' conftest.$ac_ext >&5
19821
19822 glibcxx_cv_func__expl_use=no
19823 fi
19824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19825       ac_ext=c
19826 ac_cpp='$CPP $CPPFLAGS'
19827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19830
19831
19832 fi
19833
19834   fi
19835   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
19836 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
19837
19838     if test x$glibcxx_cv_func__expl_use = x"yes"; then
19839
19840 for ac_func in _expl
19841 do
19842 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19843 echo "$as_me:$LINENO: checking for $ac_func" >&5
19844 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19845 if eval "test \"\${$as_ac_var+set}\" = set"; then
19846   echo $ECHO_N "(cached) $ECHO_C" >&6
19847 else
19848   if test x$gcc_no_link = xyes; then
19849   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19851    { (exit 1); exit 1; }; }
19852 fi
19853 cat >conftest.$ac_ext <<_ACEOF
19854 /* confdefs.h.  */
19855 _ACEOF
19856 cat confdefs.h >>conftest.$ac_ext
19857 cat >>conftest.$ac_ext <<_ACEOF
19858 /* end confdefs.h.  */
19859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19860    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19861 #define $ac_func innocuous_$ac_func
19862
19863 /* System header to define __stub macros and hopefully few prototypes,
19864     which can conflict with char $ac_func (); below.
19865     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19866     <limits.h> exists even on freestanding compilers.  */
19867
19868 #ifdef __STDC__
19869 # include <limits.h>
19870 #else
19871 # include <assert.h>
19872 #endif
19873
19874 #undef $ac_func
19875
19876 /* Override any gcc2 internal prototype to avoid an error.  */
19877 #ifdef __cplusplus
19878 extern "C"
19879 {
19880 #endif
19881 /* We use char because int might match the return type of a gcc2
19882    builtin and then its argument prototype would still apply.  */
19883 char $ac_func ();
19884 /* The GNU C library defines this for functions which it implements
19885     to always fail with ENOSYS.  Some functions are actually named
19886     something starting with __ and the normal name is an alias.  */
19887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19888 choke me
19889 #else
19890 char (*f) () = $ac_func;
19891 #endif
19892 #ifdef __cplusplus
19893 }
19894 #endif
19895
19896 int
19897 main ()
19898 {
19899 return f != $ac_func;
19900   ;
19901   return 0;
19902 }
19903 _ACEOF
19904 rm -f conftest.$ac_objext conftest$ac_exeext
19905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19906   (eval $ac_link) 2>conftest.er1
19907   ac_status=$?
19908   grep -v '^ *+' conftest.er1 >conftest.err
19909   rm -f conftest.er1
19910   cat conftest.err >&5
19911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19912   (exit $ac_status); } &&
19913          { ac_try='test -z "$ac_c_werror_flag"
19914                          || test ! -s conftest.err'
19915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19916   (eval $ac_try) 2>&5
19917   ac_status=$?
19918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919   (exit $ac_status); }; } &&
19920          { ac_try='test -s conftest$ac_exeext'
19921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19922   (eval $ac_try) 2>&5
19923   ac_status=$?
19924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19925   (exit $ac_status); }; }; then
19926   eval "$as_ac_var=yes"
19927 else
19928   echo "$as_me: failed program was:" >&5
19929 sed 's/^/| /' conftest.$ac_ext >&5
19930
19931 eval "$as_ac_var=no"
19932 fi
19933 rm -f conftest.err conftest.$ac_objext \
19934       conftest$ac_exeext conftest.$ac_ext
19935 fi
19936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19938 if test `eval echo '${'$as_ac_var'}'` = yes; then
19939   cat >>confdefs.h <<_ACEOF
19940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19941 _ACEOF
19942
19943 fi
19944 done
19945
19946     fi
19947   fi
19948
19949
19950
19951   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
19952 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
19953   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
19954     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
19955   echo $ECHO_N "(cached) $ECHO_C" >&6
19956 else
19957
19958
19959
19960       ac_ext=cc
19961 ac_cpp='$CXXCPP $CPPFLAGS'
19962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19965
19966       cat >conftest.$ac_ext <<_ACEOF
19967 /* confdefs.h.  */
19968 _ACEOF
19969 cat confdefs.h >>conftest.$ac_ext
19970 cat >>conftest.$ac_ext <<_ACEOF
19971 /* end confdefs.h.  */
19972 #include <math.h>
19973                       #ifdef HAVE_IEEEFP_H
19974                       #include <ieeefp.h>
19975                       #endif
19976
19977 int
19978 main ()
19979 {
19980  fabsl(0);
19981   ;
19982   return 0;
19983 }
19984 _ACEOF
19985 rm -f conftest.$ac_objext
19986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19987   (eval $ac_compile) 2>conftest.er1
19988   ac_status=$?
19989   grep -v '^ *+' conftest.er1 >conftest.err
19990   rm -f conftest.er1
19991   cat conftest.err >&5
19992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19993   (exit $ac_status); } &&
19994          { ac_try='test -z "$ac_cxx_werror_flag"
19995                          || test ! -s conftest.err'
19996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19997   (eval $ac_try) 2>&5
19998   ac_status=$?
19999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20000   (exit $ac_status); }; } &&
20001          { ac_try='test -s conftest.$ac_objext'
20002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20003   (eval $ac_try) 2>&5
20004   ac_status=$?
20005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006   (exit $ac_status); }; }; then
20007   glibcxx_cv_func_fabsl_use=yes
20008 else
20009   echo "$as_me: failed program was:" >&5
20010 sed 's/^/| /' conftest.$ac_ext >&5
20011
20012 glibcxx_cv_func_fabsl_use=no
20013 fi
20014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20015       ac_ext=c
20016 ac_cpp='$CPP $CPPFLAGS'
20017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20020
20021
20022 fi
20023
20024   fi
20025   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
20026 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
20027
20028   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
20029
20030 for ac_func in fabsl
20031 do
20032 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20033 echo "$as_me:$LINENO: checking for $ac_func" >&5
20034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20035 if eval "test \"\${$as_ac_var+set}\" = set"; then
20036   echo $ECHO_N "(cached) $ECHO_C" >&6
20037 else
20038   if test x$gcc_no_link = xyes; then
20039   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20041    { (exit 1); exit 1; }; }
20042 fi
20043 cat >conftest.$ac_ext <<_ACEOF
20044 /* confdefs.h.  */
20045 _ACEOF
20046 cat confdefs.h >>conftest.$ac_ext
20047 cat >>conftest.$ac_ext <<_ACEOF
20048 /* end confdefs.h.  */
20049 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20050    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20051 #define $ac_func innocuous_$ac_func
20052
20053 /* System header to define __stub macros and hopefully few prototypes,
20054     which can conflict with char $ac_func (); below.
20055     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20056     <limits.h> exists even on freestanding compilers.  */
20057
20058 #ifdef __STDC__
20059 # include <limits.h>
20060 #else
20061 # include <assert.h>
20062 #endif
20063
20064 #undef $ac_func
20065
20066 /* Override any gcc2 internal prototype to avoid an error.  */
20067 #ifdef __cplusplus
20068 extern "C"
20069 {
20070 #endif
20071 /* We use char because int might match the return type of a gcc2
20072    builtin and then its argument prototype would still apply.  */
20073 char $ac_func ();
20074 /* The GNU C library defines this for functions which it implements
20075     to always fail with ENOSYS.  Some functions are actually named
20076     something starting with __ and the normal name is an alias.  */
20077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20078 choke me
20079 #else
20080 char (*f) () = $ac_func;
20081 #endif
20082 #ifdef __cplusplus
20083 }
20084 #endif
20085
20086 int
20087 main ()
20088 {
20089 return f != $ac_func;
20090   ;
20091   return 0;
20092 }
20093 _ACEOF
20094 rm -f conftest.$ac_objext conftest$ac_exeext
20095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20096   (eval $ac_link) 2>conftest.er1
20097   ac_status=$?
20098   grep -v '^ *+' conftest.er1 >conftest.err
20099   rm -f conftest.er1
20100   cat conftest.err >&5
20101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20102   (exit $ac_status); } &&
20103          { ac_try='test -z "$ac_c_werror_flag"
20104                          || test ! -s conftest.err'
20105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20106   (eval $ac_try) 2>&5
20107   ac_status=$?
20108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20109   (exit $ac_status); }; } &&
20110          { ac_try='test -s conftest$ac_exeext'
20111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20112   (eval $ac_try) 2>&5
20113   ac_status=$?
20114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20115   (exit $ac_status); }; }; then
20116   eval "$as_ac_var=yes"
20117 else
20118   echo "$as_me: failed program was:" >&5
20119 sed 's/^/| /' conftest.$ac_ext >&5
20120
20121 eval "$as_ac_var=no"
20122 fi
20123 rm -f conftest.err conftest.$ac_objext \
20124       conftest$ac_exeext conftest.$ac_ext
20125 fi
20126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20128 if test `eval echo '${'$as_ac_var'}'` = yes; then
20129   cat >>confdefs.h <<_ACEOF
20130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20131 _ACEOF
20132
20133 fi
20134 done
20135
20136   else
20137
20138   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
20139 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
20140   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
20141     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
20142   echo $ECHO_N "(cached) $ECHO_C" >&6
20143 else
20144
20145
20146
20147       ac_ext=cc
20148 ac_cpp='$CXXCPP $CPPFLAGS'
20149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20152
20153       cat >conftest.$ac_ext <<_ACEOF
20154 /* confdefs.h.  */
20155 _ACEOF
20156 cat confdefs.h >>conftest.$ac_ext
20157 cat >>conftest.$ac_ext <<_ACEOF
20158 /* end confdefs.h.  */
20159 #include <math.h>
20160                       #ifdef HAVE_IEEEFP_H
20161                       #include <ieeefp.h>
20162                       #endif
20163
20164 int
20165 main ()
20166 {
20167  _fabsl(0);
20168   ;
20169   return 0;
20170 }
20171 _ACEOF
20172 rm -f conftest.$ac_objext
20173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20174   (eval $ac_compile) 2>conftest.er1
20175   ac_status=$?
20176   grep -v '^ *+' conftest.er1 >conftest.err
20177   rm -f conftest.er1
20178   cat conftest.err >&5
20179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20180   (exit $ac_status); } &&
20181          { ac_try='test -z "$ac_cxx_werror_flag"
20182                          || test ! -s conftest.err'
20183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20184   (eval $ac_try) 2>&5
20185   ac_status=$?
20186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20187   (exit $ac_status); }; } &&
20188          { ac_try='test -s conftest.$ac_objext'
20189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20190   (eval $ac_try) 2>&5
20191   ac_status=$?
20192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20193   (exit $ac_status); }; }; then
20194   glibcxx_cv_func__fabsl_use=yes
20195 else
20196   echo "$as_me: failed program was:" >&5
20197 sed 's/^/| /' conftest.$ac_ext >&5
20198
20199 glibcxx_cv_func__fabsl_use=no
20200 fi
20201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20202       ac_ext=c
20203 ac_cpp='$CPP $CPPFLAGS'
20204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20207
20208
20209 fi
20210
20211   fi
20212   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
20213 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
20214
20215     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
20216
20217 for ac_func in _fabsl
20218 do
20219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20220 echo "$as_me:$LINENO: checking for $ac_func" >&5
20221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20222 if eval "test \"\${$as_ac_var+set}\" = set"; then
20223   echo $ECHO_N "(cached) $ECHO_C" >&6
20224 else
20225   if test x$gcc_no_link = xyes; then
20226   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20228    { (exit 1); exit 1; }; }
20229 fi
20230 cat >conftest.$ac_ext <<_ACEOF
20231 /* confdefs.h.  */
20232 _ACEOF
20233 cat confdefs.h >>conftest.$ac_ext
20234 cat >>conftest.$ac_ext <<_ACEOF
20235 /* end confdefs.h.  */
20236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20237    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20238 #define $ac_func innocuous_$ac_func
20239
20240 /* System header to define __stub macros and hopefully few prototypes,
20241     which can conflict with char $ac_func (); below.
20242     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20243     <limits.h> exists even on freestanding compilers.  */
20244
20245 #ifdef __STDC__
20246 # include <limits.h>
20247 #else
20248 # include <assert.h>
20249 #endif
20250
20251 #undef $ac_func
20252
20253 /* Override any gcc2 internal prototype to avoid an error.  */
20254 #ifdef __cplusplus
20255 extern "C"
20256 {
20257 #endif
20258 /* We use char because int might match the return type of a gcc2
20259    builtin and then its argument prototype would still apply.  */
20260 char $ac_func ();
20261 /* The GNU C library defines this for functions which it implements
20262     to always fail with ENOSYS.  Some functions are actually named
20263     something starting with __ and the normal name is an alias.  */
20264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20265 choke me
20266 #else
20267 char (*f) () = $ac_func;
20268 #endif
20269 #ifdef __cplusplus
20270 }
20271 #endif
20272
20273 int
20274 main ()
20275 {
20276 return f != $ac_func;
20277   ;
20278   return 0;
20279 }
20280 _ACEOF
20281 rm -f conftest.$ac_objext conftest$ac_exeext
20282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20283   (eval $ac_link) 2>conftest.er1
20284   ac_status=$?
20285   grep -v '^ *+' conftest.er1 >conftest.err
20286   rm -f conftest.er1
20287   cat conftest.err >&5
20288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20289   (exit $ac_status); } &&
20290          { ac_try='test -z "$ac_c_werror_flag"
20291                          || test ! -s conftest.err'
20292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20293   (eval $ac_try) 2>&5
20294   ac_status=$?
20295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20296   (exit $ac_status); }; } &&
20297          { ac_try='test -s conftest$ac_exeext'
20298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20299   (eval $ac_try) 2>&5
20300   ac_status=$?
20301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20302   (exit $ac_status); }; }; then
20303   eval "$as_ac_var=yes"
20304 else
20305   echo "$as_me: failed program was:" >&5
20306 sed 's/^/| /' conftest.$ac_ext >&5
20307
20308 eval "$as_ac_var=no"
20309 fi
20310 rm -f conftest.err conftest.$ac_objext \
20311       conftest$ac_exeext conftest.$ac_ext
20312 fi
20313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20315 if test `eval echo '${'$as_ac_var'}'` = yes; then
20316   cat >>confdefs.h <<_ACEOF
20317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20318 _ACEOF
20319
20320 fi
20321 done
20322
20323     fi
20324   fi
20325
20326
20327
20328   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
20329 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
20330   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
20331     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
20332   echo $ECHO_N "(cached) $ECHO_C" >&6
20333 else
20334
20335
20336
20337       ac_ext=cc
20338 ac_cpp='$CXXCPP $CPPFLAGS'
20339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20342
20343       cat >conftest.$ac_ext <<_ACEOF
20344 /* confdefs.h.  */
20345 _ACEOF
20346 cat confdefs.h >>conftest.$ac_ext
20347 cat >>conftest.$ac_ext <<_ACEOF
20348 /* end confdefs.h.  */
20349 #include <math.h>
20350 int
20351 main ()
20352 {
20353  fmodl(0, 0);
20354   ;
20355   return 0;
20356 }
20357 _ACEOF
20358 rm -f conftest.$ac_objext
20359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20360   (eval $ac_compile) 2>conftest.er1
20361   ac_status=$?
20362   grep -v '^ *+' conftest.er1 >conftest.err
20363   rm -f conftest.er1
20364   cat conftest.err >&5
20365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20366   (exit $ac_status); } &&
20367          { ac_try='test -z "$ac_cxx_werror_flag"
20368                          || test ! -s conftest.err'
20369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20370   (eval $ac_try) 2>&5
20371   ac_status=$?
20372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20373   (exit $ac_status); }; } &&
20374          { ac_try='test -s conftest.$ac_objext'
20375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20376   (eval $ac_try) 2>&5
20377   ac_status=$?
20378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20379   (exit $ac_status); }; }; then
20380   glibcxx_cv_func_fmodl_use=yes
20381 else
20382   echo "$as_me: failed program was:" >&5
20383 sed 's/^/| /' conftest.$ac_ext >&5
20384
20385 glibcxx_cv_func_fmodl_use=no
20386 fi
20387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20388       ac_ext=c
20389 ac_cpp='$CPP $CPPFLAGS'
20390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20393
20394
20395 fi
20396
20397   fi
20398   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
20399 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
20400
20401   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
20402
20403 for ac_func in fmodl
20404 do
20405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20406 echo "$as_me:$LINENO: checking for $ac_func" >&5
20407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20408 if eval "test \"\${$as_ac_var+set}\" = set"; then
20409   echo $ECHO_N "(cached) $ECHO_C" >&6
20410 else
20411   if test x$gcc_no_link = xyes; then
20412   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20414    { (exit 1); exit 1; }; }
20415 fi
20416 cat >conftest.$ac_ext <<_ACEOF
20417 /* confdefs.h.  */
20418 _ACEOF
20419 cat confdefs.h >>conftest.$ac_ext
20420 cat >>conftest.$ac_ext <<_ACEOF
20421 /* end confdefs.h.  */
20422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20423    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20424 #define $ac_func innocuous_$ac_func
20425
20426 /* System header to define __stub macros and hopefully few prototypes,
20427     which can conflict with char $ac_func (); below.
20428     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20429     <limits.h> exists even on freestanding compilers.  */
20430
20431 #ifdef __STDC__
20432 # include <limits.h>
20433 #else
20434 # include <assert.h>
20435 #endif
20436
20437 #undef $ac_func
20438
20439 /* Override any gcc2 internal prototype to avoid an error.  */
20440 #ifdef __cplusplus
20441 extern "C"
20442 {
20443 #endif
20444 /* We use char because int might match the return type of a gcc2
20445    builtin and then its argument prototype would still apply.  */
20446 char $ac_func ();
20447 /* The GNU C library defines this for functions which it implements
20448     to always fail with ENOSYS.  Some functions are actually named
20449     something starting with __ and the normal name is an alias.  */
20450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20451 choke me
20452 #else
20453 char (*f) () = $ac_func;
20454 #endif
20455 #ifdef __cplusplus
20456 }
20457 #endif
20458
20459 int
20460 main ()
20461 {
20462 return f != $ac_func;
20463   ;
20464   return 0;
20465 }
20466 _ACEOF
20467 rm -f conftest.$ac_objext conftest$ac_exeext
20468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20469   (eval $ac_link) 2>conftest.er1
20470   ac_status=$?
20471   grep -v '^ *+' conftest.er1 >conftest.err
20472   rm -f conftest.er1
20473   cat conftest.err >&5
20474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20475   (exit $ac_status); } &&
20476          { ac_try='test -z "$ac_c_werror_flag"
20477                          || test ! -s conftest.err'
20478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20479   (eval $ac_try) 2>&5
20480   ac_status=$?
20481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20482   (exit $ac_status); }; } &&
20483          { ac_try='test -s conftest$ac_exeext'
20484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20485   (eval $ac_try) 2>&5
20486   ac_status=$?
20487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20488   (exit $ac_status); }; }; then
20489   eval "$as_ac_var=yes"
20490 else
20491   echo "$as_me: failed program was:" >&5
20492 sed 's/^/| /' conftest.$ac_ext >&5
20493
20494 eval "$as_ac_var=no"
20495 fi
20496 rm -f conftest.err conftest.$ac_objext \
20497       conftest$ac_exeext conftest.$ac_ext
20498 fi
20499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20501 if test `eval echo '${'$as_ac_var'}'` = yes; then
20502   cat >>confdefs.h <<_ACEOF
20503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20504 _ACEOF
20505
20506 fi
20507 done
20508
20509   else
20510
20511   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
20512 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
20513   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
20514     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
20515   echo $ECHO_N "(cached) $ECHO_C" >&6
20516 else
20517
20518
20519
20520       ac_ext=cc
20521 ac_cpp='$CXXCPP $CPPFLAGS'
20522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20525
20526       cat >conftest.$ac_ext <<_ACEOF
20527 /* confdefs.h.  */
20528 _ACEOF
20529 cat confdefs.h >>conftest.$ac_ext
20530 cat >>conftest.$ac_ext <<_ACEOF
20531 /* end confdefs.h.  */
20532 #include <math.h>
20533 int
20534 main ()
20535 {
20536  _fmodl(0, 0);
20537   ;
20538   return 0;
20539 }
20540 _ACEOF
20541 rm -f conftest.$ac_objext
20542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20543   (eval $ac_compile) 2>conftest.er1
20544   ac_status=$?
20545   grep -v '^ *+' conftest.er1 >conftest.err
20546   rm -f conftest.er1
20547   cat conftest.err >&5
20548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20549   (exit $ac_status); } &&
20550          { ac_try='test -z "$ac_cxx_werror_flag"
20551                          || test ! -s conftest.err'
20552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20553   (eval $ac_try) 2>&5
20554   ac_status=$?
20555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20556   (exit $ac_status); }; } &&
20557          { ac_try='test -s conftest.$ac_objext'
20558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20559   (eval $ac_try) 2>&5
20560   ac_status=$?
20561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20562   (exit $ac_status); }; }; then
20563   glibcxx_cv_func__fmodl_use=yes
20564 else
20565   echo "$as_me: failed program was:" >&5
20566 sed 's/^/| /' conftest.$ac_ext >&5
20567
20568 glibcxx_cv_func__fmodl_use=no
20569 fi
20570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20571       ac_ext=c
20572 ac_cpp='$CPP $CPPFLAGS'
20573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20576
20577
20578 fi
20579
20580   fi
20581   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
20582 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
20583
20584     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
20585
20586 for ac_func in _fmodl
20587 do
20588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20589 echo "$as_me:$LINENO: checking for $ac_func" >&5
20590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20591 if eval "test \"\${$as_ac_var+set}\" = set"; then
20592   echo $ECHO_N "(cached) $ECHO_C" >&6
20593 else
20594   if test x$gcc_no_link = xyes; then
20595   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20597    { (exit 1); exit 1; }; }
20598 fi
20599 cat >conftest.$ac_ext <<_ACEOF
20600 /* confdefs.h.  */
20601 _ACEOF
20602 cat confdefs.h >>conftest.$ac_ext
20603 cat >>conftest.$ac_ext <<_ACEOF
20604 /* end confdefs.h.  */
20605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20606    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20607 #define $ac_func innocuous_$ac_func
20608
20609 /* System header to define __stub macros and hopefully few prototypes,
20610     which can conflict with char $ac_func (); below.
20611     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20612     <limits.h> exists even on freestanding compilers.  */
20613
20614 #ifdef __STDC__
20615 # include <limits.h>
20616 #else
20617 # include <assert.h>
20618 #endif
20619
20620 #undef $ac_func
20621
20622 /* Override any gcc2 internal prototype to avoid an error.  */
20623 #ifdef __cplusplus
20624 extern "C"
20625 {
20626 #endif
20627 /* We use char because int might match the return type of a gcc2
20628    builtin and then its argument prototype would still apply.  */
20629 char $ac_func ();
20630 /* The GNU C library defines this for functions which it implements
20631     to always fail with ENOSYS.  Some functions are actually named
20632     something starting with __ and the normal name is an alias.  */
20633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20634 choke me
20635 #else
20636 char (*f) () = $ac_func;
20637 #endif
20638 #ifdef __cplusplus
20639 }
20640 #endif
20641
20642 int
20643 main ()
20644 {
20645 return f != $ac_func;
20646   ;
20647   return 0;
20648 }
20649 _ACEOF
20650 rm -f conftest.$ac_objext conftest$ac_exeext
20651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20652   (eval $ac_link) 2>conftest.er1
20653   ac_status=$?
20654   grep -v '^ *+' conftest.er1 >conftest.err
20655   rm -f conftest.er1
20656   cat conftest.err >&5
20657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20658   (exit $ac_status); } &&
20659          { ac_try='test -z "$ac_c_werror_flag"
20660                          || test ! -s conftest.err'
20661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20662   (eval $ac_try) 2>&5
20663   ac_status=$?
20664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20665   (exit $ac_status); }; } &&
20666          { ac_try='test -s conftest$ac_exeext'
20667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20668   (eval $ac_try) 2>&5
20669   ac_status=$?
20670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20671   (exit $ac_status); }; }; then
20672   eval "$as_ac_var=yes"
20673 else
20674   echo "$as_me: failed program was:" >&5
20675 sed 's/^/| /' conftest.$ac_ext >&5
20676
20677 eval "$as_ac_var=no"
20678 fi
20679 rm -f conftest.err conftest.$ac_objext \
20680       conftest$ac_exeext conftest.$ac_ext
20681 fi
20682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20684 if test `eval echo '${'$as_ac_var'}'` = yes; then
20685   cat >>confdefs.h <<_ACEOF
20686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20687 _ACEOF
20688
20689 fi
20690 done
20691
20692     fi
20693   fi
20694
20695
20696
20697   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
20698 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
20699   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
20700     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
20701   echo $ECHO_N "(cached) $ECHO_C" >&6
20702 else
20703
20704
20705
20706       ac_ext=cc
20707 ac_cpp='$CXXCPP $CPPFLAGS'
20708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20711
20712       cat >conftest.$ac_ext <<_ACEOF
20713 /* confdefs.h.  */
20714 _ACEOF
20715 cat confdefs.h >>conftest.$ac_ext
20716 cat >>conftest.$ac_ext <<_ACEOF
20717 /* end confdefs.h.  */
20718 #include <math.h>
20719 int
20720 main ()
20721 {
20722  frexpl(0, 0);
20723   ;
20724   return 0;
20725 }
20726 _ACEOF
20727 rm -f conftest.$ac_objext
20728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20729   (eval $ac_compile) 2>conftest.er1
20730   ac_status=$?
20731   grep -v '^ *+' conftest.er1 >conftest.err
20732   rm -f conftest.er1
20733   cat conftest.err >&5
20734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735   (exit $ac_status); } &&
20736          { ac_try='test -z "$ac_cxx_werror_flag"
20737                          || test ! -s conftest.err'
20738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20739   (eval $ac_try) 2>&5
20740   ac_status=$?
20741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20742   (exit $ac_status); }; } &&
20743          { ac_try='test -s conftest.$ac_objext'
20744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20745   (eval $ac_try) 2>&5
20746   ac_status=$?
20747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20748   (exit $ac_status); }; }; then
20749   glibcxx_cv_func_frexpl_use=yes
20750 else
20751   echo "$as_me: failed program was:" >&5
20752 sed 's/^/| /' conftest.$ac_ext >&5
20753
20754 glibcxx_cv_func_frexpl_use=no
20755 fi
20756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20757       ac_ext=c
20758 ac_cpp='$CPP $CPPFLAGS'
20759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20762
20763
20764 fi
20765
20766   fi
20767   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
20768 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
20769
20770   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
20771
20772 for ac_func in frexpl
20773 do
20774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20775 echo "$as_me:$LINENO: checking for $ac_func" >&5
20776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20777 if eval "test \"\${$as_ac_var+set}\" = set"; then
20778   echo $ECHO_N "(cached) $ECHO_C" >&6
20779 else
20780   if test x$gcc_no_link = xyes; then
20781   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20783    { (exit 1); exit 1; }; }
20784 fi
20785 cat >conftest.$ac_ext <<_ACEOF
20786 /* confdefs.h.  */
20787 _ACEOF
20788 cat confdefs.h >>conftest.$ac_ext
20789 cat >>conftest.$ac_ext <<_ACEOF
20790 /* end confdefs.h.  */
20791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20792    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20793 #define $ac_func innocuous_$ac_func
20794
20795 /* System header to define __stub macros and hopefully few prototypes,
20796     which can conflict with char $ac_func (); below.
20797     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20798     <limits.h> exists even on freestanding compilers.  */
20799
20800 #ifdef __STDC__
20801 # include <limits.h>
20802 #else
20803 # include <assert.h>
20804 #endif
20805
20806 #undef $ac_func
20807
20808 /* Override any gcc2 internal prototype to avoid an error.  */
20809 #ifdef __cplusplus
20810 extern "C"
20811 {
20812 #endif
20813 /* We use char because int might match the return type of a gcc2
20814    builtin and then its argument prototype would still apply.  */
20815 char $ac_func ();
20816 /* The GNU C library defines this for functions which it implements
20817     to always fail with ENOSYS.  Some functions are actually named
20818     something starting with __ and the normal name is an alias.  */
20819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20820 choke me
20821 #else
20822 char (*f) () = $ac_func;
20823 #endif
20824 #ifdef __cplusplus
20825 }
20826 #endif
20827
20828 int
20829 main ()
20830 {
20831 return f != $ac_func;
20832   ;
20833   return 0;
20834 }
20835 _ACEOF
20836 rm -f conftest.$ac_objext conftest$ac_exeext
20837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20838   (eval $ac_link) 2>conftest.er1
20839   ac_status=$?
20840   grep -v '^ *+' conftest.er1 >conftest.err
20841   rm -f conftest.er1
20842   cat conftest.err >&5
20843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20844   (exit $ac_status); } &&
20845          { ac_try='test -z "$ac_c_werror_flag"
20846                          || test ! -s conftest.err'
20847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20848   (eval $ac_try) 2>&5
20849   ac_status=$?
20850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851   (exit $ac_status); }; } &&
20852          { ac_try='test -s conftest$ac_exeext'
20853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20854   (eval $ac_try) 2>&5
20855   ac_status=$?
20856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20857   (exit $ac_status); }; }; then
20858   eval "$as_ac_var=yes"
20859 else
20860   echo "$as_me: failed program was:" >&5
20861 sed 's/^/| /' conftest.$ac_ext >&5
20862
20863 eval "$as_ac_var=no"
20864 fi
20865 rm -f conftest.err conftest.$ac_objext \
20866       conftest$ac_exeext conftest.$ac_ext
20867 fi
20868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20870 if test `eval echo '${'$as_ac_var'}'` = yes; then
20871   cat >>confdefs.h <<_ACEOF
20872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20873 _ACEOF
20874
20875 fi
20876 done
20877
20878   else
20879
20880   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
20881 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
20882   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
20883     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
20884   echo $ECHO_N "(cached) $ECHO_C" >&6
20885 else
20886
20887
20888
20889       ac_ext=cc
20890 ac_cpp='$CXXCPP $CPPFLAGS'
20891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20894
20895       cat >conftest.$ac_ext <<_ACEOF
20896 /* confdefs.h.  */
20897 _ACEOF
20898 cat confdefs.h >>conftest.$ac_ext
20899 cat >>conftest.$ac_ext <<_ACEOF
20900 /* end confdefs.h.  */
20901 #include <math.h>
20902 int
20903 main ()
20904 {
20905  _frexpl(0, 0);
20906   ;
20907   return 0;
20908 }
20909 _ACEOF
20910 rm -f conftest.$ac_objext
20911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20912   (eval $ac_compile) 2>conftest.er1
20913   ac_status=$?
20914   grep -v '^ *+' conftest.er1 >conftest.err
20915   rm -f conftest.er1
20916   cat conftest.err >&5
20917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20918   (exit $ac_status); } &&
20919          { ac_try='test -z "$ac_cxx_werror_flag"
20920                          || test ! -s conftest.err'
20921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20922   (eval $ac_try) 2>&5
20923   ac_status=$?
20924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20925   (exit $ac_status); }; } &&
20926          { ac_try='test -s conftest.$ac_objext'
20927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20928   (eval $ac_try) 2>&5
20929   ac_status=$?
20930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20931   (exit $ac_status); }; }; then
20932   glibcxx_cv_func__frexpl_use=yes
20933 else
20934   echo "$as_me: failed program was:" >&5
20935 sed 's/^/| /' conftest.$ac_ext >&5
20936
20937 glibcxx_cv_func__frexpl_use=no
20938 fi
20939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20940       ac_ext=c
20941 ac_cpp='$CPP $CPPFLAGS'
20942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20945
20946
20947 fi
20948
20949   fi
20950   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
20951 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
20952
20953     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
20954
20955 for ac_func in _frexpl
20956 do
20957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20958 echo "$as_me:$LINENO: checking for $ac_func" >&5
20959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20960 if eval "test \"\${$as_ac_var+set}\" = set"; then
20961   echo $ECHO_N "(cached) $ECHO_C" >&6
20962 else
20963   if test x$gcc_no_link = xyes; then
20964   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20966    { (exit 1); exit 1; }; }
20967 fi
20968 cat >conftest.$ac_ext <<_ACEOF
20969 /* confdefs.h.  */
20970 _ACEOF
20971 cat confdefs.h >>conftest.$ac_ext
20972 cat >>conftest.$ac_ext <<_ACEOF
20973 /* end confdefs.h.  */
20974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20975    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20976 #define $ac_func innocuous_$ac_func
20977
20978 /* System header to define __stub macros and hopefully few prototypes,
20979     which can conflict with char $ac_func (); below.
20980     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20981     <limits.h> exists even on freestanding compilers.  */
20982
20983 #ifdef __STDC__
20984 # include <limits.h>
20985 #else
20986 # include <assert.h>
20987 #endif
20988
20989 #undef $ac_func
20990
20991 /* Override any gcc2 internal prototype to avoid an error.  */
20992 #ifdef __cplusplus
20993 extern "C"
20994 {
20995 #endif
20996 /* We use char because int might match the return type of a gcc2
20997    builtin and then its argument prototype would still apply.  */
20998 char $ac_func ();
20999 /* The GNU C library defines this for functions which it implements
21000     to always fail with ENOSYS.  Some functions are actually named
21001     something starting with __ and the normal name is an alias.  */
21002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21003 choke me
21004 #else
21005 char (*f) () = $ac_func;
21006 #endif
21007 #ifdef __cplusplus
21008 }
21009 #endif
21010
21011 int
21012 main ()
21013 {
21014 return f != $ac_func;
21015   ;
21016   return 0;
21017 }
21018 _ACEOF
21019 rm -f conftest.$ac_objext conftest$ac_exeext
21020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21021   (eval $ac_link) 2>conftest.er1
21022   ac_status=$?
21023   grep -v '^ *+' conftest.er1 >conftest.err
21024   rm -f conftest.er1
21025   cat conftest.err >&5
21026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21027   (exit $ac_status); } &&
21028          { ac_try='test -z "$ac_c_werror_flag"
21029                          || test ! -s conftest.err'
21030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21031   (eval $ac_try) 2>&5
21032   ac_status=$?
21033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21034   (exit $ac_status); }; } &&
21035          { ac_try='test -s conftest$ac_exeext'
21036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21037   (eval $ac_try) 2>&5
21038   ac_status=$?
21039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21040   (exit $ac_status); }; }; then
21041   eval "$as_ac_var=yes"
21042 else
21043   echo "$as_me: failed program was:" >&5
21044 sed 's/^/| /' conftest.$ac_ext >&5
21045
21046 eval "$as_ac_var=no"
21047 fi
21048 rm -f conftest.err conftest.$ac_objext \
21049       conftest$ac_exeext conftest.$ac_ext
21050 fi
21051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21053 if test `eval echo '${'$as_ac_var'}'` = yes; then
21054   cat >>confdefs.h <<_ACEOF
21055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21056 _ACEOF
21057
21058 fi
21059 done
21060
21061     fi
21062   fi
21063
21064
21065
21066   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
21067 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
21068   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
21069     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
21070   echo $ECHO_N "(cached) $ECHO_C" >&6
21071 else
21072
21073
21074
21075       ac_ext=cc
21076 ac_cpp='$CXXCPP $CPPFLAGS'
21077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21080
21081       cat >conftest.$ac_ext <<_ACEOF
21082 /* confdefs.h.  */
21083 _ACEOF
21084 cat confdefs.h >>conftest.$ac_ext
21085 cat >>conftest.$ac_ext <<_ACEOF
21086 /* end confdefs.h.  */
21087 #include <math.h>
21088 int
21089 main ()
21090 {
21091  hypotl(0, 0);
21092   ;
21093   return 0;
21094 }
21095 _ACEOF
21096 rm -f conftest.$ac_objext
21097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21098   (eval $ac_compile) 2>conftest.er1
21099   ac_status=$?
21100   grep -v '^ *+' conftest.er1 >conftest.err
21101   rm -f conftest.er1
21102   cat conftest.err >&5
21103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21104   (exit $ac_status); } &&
21105          { ac_try='test -z "$ac_cxx_werror_flag"
21106                          || test ! -s conftest.err'
21107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21108   (eval $ac_try) 2>&5
21109   ac_status=$?
21110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21111   (exit $ac_status); }; } &&
21112          { ac_try='test -s conftest.$ac_objext'
21113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21114   (eval $ac_try) 2>&5
21115   ac_status=$?
21116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21117   (exit $ac_status); }; }; then
21118   glibcxx_cv_func_hypotl_use=yes
21119 else
21120   echo "$as_me: failed program was:" >&5
21121 sed 's/^/| /' conftest.$ac_ext >&5
21122
21123 glibcxx_cv_func_hypotl_use=no
21124 fi
21125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21126       ac_ext=c
21127 ac_cpp='$CPP $CPPFLAGS'
21128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21131
21132
21133 fi
21134
21135   fi
21136   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
21137 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
21138
21139   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
21140
21141 for ac_func in hypotl
21142 do
21143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21144 echo "$as_me:$LINENO: checking for $ac_func" >&5
21145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21146 if eval "test \"\${$as_ac_var+set}\" = set"; then
21147   echo $ECHO_N "(cached) $ECHO_C" >&6
21148 else
21149   if test x$gcc_no_link = xyes; then
21150   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21152    { (exit 1); exit 1; }; }
21153 fi
21154 cat >conftest.$ac_ext <<_ACEOF
21155 /* confdefs.h.  */
21156 _ACEOF
21157 cat confdefs.h >>conftest.$ac_ext
21158 cat >>conftest.$ac_ext <<_ACEOF
21159 /* end confdefs.h.  */
21160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21161    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21162 #define $ac_func innocuous_$ac_func
21163
21164 /* System header to define __stub macros and hopefully few prototypes,
21165     which can conflict with char $ac_func (); below.
21166     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21167     <limits.h> exists even on freestanding compilers.  */
21168
21169 #ifdef __STDC__
21170 # include <limits.h>
21171 #else
21172 # include <assert.h>
21173 #endif
21174
21175 #undef $ac_func
21176
21177 /* Override any gcc2 internal prototype to avoid an error.  */
21178 #ifdef __cplusplus
21179 extern "C"
21180 {
21181 #endif
21182 /* We use char because int might match the return type of a gcc2
21183    builtin and then its argument prototype would still apply.  */
21184 char $ac_func ();
21185 /* The GNU C library defines this for functions which it implements
21186     to always fail with ENOSYS.  Some functions are actually named
21187     something starting with __ and the normal name is an alias.  */
21188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21189 choke me
21190 #else
21191 char (*f) () = $ac_func;
21192 #endif
21193 #ifdef __cplusplus
21194 }
21195 #endif
21196
21197 int
21198 main ()
21199 {
21200 return f != $ac_func;
21201   ;
21202   return 0;
21203 }
21204 _ACEOF
21205 rm -f conftest.$ac_objext conftest$ac_exeext
21206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21207   (eval $ac_link) 2>conftest.er1
21208   ac_status=$?
21209   grep -v '^ *+' conftest.er1 >conftest.err
21210   rm -f conftest.er1
21211   cat conftest.err >&5
21212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21213   (exit $ac_status); } &&
21214          { ac_try='test -z "$ac_c_werror_flag"
21215                          || test ! -s conftest.err'
21216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21217   (eval $ac_try) 2>&5
21218   ac_status=$?
21219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21220   (exit $ac_status); }; } &&
21221          { ac_try='test -s conftest$ac_exeext'
21222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21223   (eval $ac_try) 2>&5
21224   ac_status=$?
21225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21226   (exit $ac_status); }; }; then
21227   eval "$as_ac_var=yes"
21228 else
21229   echo "$as_me: failed program was:" >&5
21230 sed 's/^/| /' conftest.$ac_ext >&5
21231
21232 eval "$as_ac_var=no"
21233 fi
21234 rm -f conftest.err conftest.$ac_objext \
21235       conftest$ac_exeext conftest.$ac_ext
21236 fi
21237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21239 if test `eval echo '${'$as_ac_var'}'` = yes; then
21240   cat >>confdefs.h <<_ACEOF
21241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21242 _ACEOF
21243
21244 fi
21245 done
21246
21247   else
21248
21249   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
21250 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
21251   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
21252     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
21253   echo $ECHO_N "(cached) $ECHO_C" >&6
21254 else
21255
21256
21257
21258       ac_ext=cc
21259 ac_cpp='$CXXCPP $CPPFLAGS'
21260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21263
21264       cat >conftest.$ac_ext <<_ACEOF
21265 /* confdefs.h.  */
21266 _ACEOF
21267 cat confdefs.h >>conftest.$ac_ext
21268 cat >>conftest.$ac_ext <<_ACEOF
21269 /* end confdefs.h.  */
21270 #include <math.h>
21271 int
21272 main ()
21273 {
21274  _hypotl(0, 0);
21275   ;
21276   return 0;
21277 }
21278 _ACEOF
21279 rm -f conftest.$ac_objext
21280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21281   (eval $ac_compile) 2>conftest.er1
21282   ac_status=$?
21283   grep -v '^ *+' conftest.er1 >conftest.err
21284   rm -f conftest.er1
21285   cat conftest.err >&5
21286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21287   (exit $ac_status); } &&
21288          { ac_try='test -z "$ac_cxx_werror_flag"
21289                          || test ! -s conftest.err'
21290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21291   (eval $ac_try) 2>&5
21292   ac_status=$?
21293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21294   (exit $ac_status); }; } &&
21295          { ac_try='test -s conftest.$ac_objext'
21296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21297   (eval $ac_try) 2>&5
21298   ac_status=$?
21299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21300   (exit $ac_status); }; }; then
21301   glibcxx_cv_func__hypotl_use=yes
21302 else
21303   echo "$as_me: failed program was:" >&5
21304 sed 's/^/| /' conftest.$ac_ext >&5
21305
21306 glibcxx_cv_func__hypotl_use=no
21307 fi
21308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21309       ac_ext=c
21310 ac_cpp='$CPP $CPPFLAGS'
21311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21314
21315
21316 fi
21317
21318   fi
21319   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
21320 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
21321
21322     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
21323
21324 for ac_func in _hypotl
21325 do
21326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21327 echo "$as_me:$LINENO: checking for $ac_func" >&5
21328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21329 if eval "test \"\${$as_ac_var+set}\" = set"; then
21330   echo $ECHO_N "(cached) $ECHO_C" >&6
21331 else
21332   if test x$gcc_no_link = xyes; then
21333   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21335    { (exit 1); exit 1; }; }
21336 fi
21337 cat >conftest.$ac_ext <<_ACEOF
21338 /* confdefs.h.  */
21339 _ACEOF
21340 cat confdefs.h >>conftest.$ac_ext
21341 cat >>conftest.$ac_ext <<_ACEOF
21342 /* end confdefs.h.  */
21343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21344    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21345 #define $ac_func innocuous_$ac_func
21346
21347 /* System header to define __stub macros and hopefully few prototypes,
21348     which can conflict with char $ac_func (); below.
21349     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21350     <limits.h> exists even on freestanding compilers.  */
21351
21352 #ifdef __STDC__
21353 # include <limits.h>
21354 #else
21355 # include <assert.h>
21356 #endif
21357
21358 #undef $ac_func
21359
21360 /* Override any gcc2 internal prototype to avoid an error.  */
21361 #ifdef __cplusplus
21362 extern "C"
21363 {
21364 #endif
21365 /* We use char because int might match the return type of a gcc2
21366    builtin and then its argument prototype would still apply.  */
21367 char $ac_func ();
21368 /* The GNU C library defines this for functions which it implements
21369     to always fail with ENOSYS.  Some functions are actually named
21370     something starting with __ and the normal name is an alias.  */
21371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21372 choke me
21373 #else
21374 char (*f) () = $ac_func;
21375 #endif
21376 #ifdef __cplusplus
21377 }
21378 #endif
21379
21380 int
21381 main ()
21382 {
21383 return f != $ac_func;
21384   ;
21385   return 0;
21386 }
21387 _ACEOF
21388 rm -f conftest.$ac_objext conftest$ac_exeext
21389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21390   (eval $ac_link) 2>conftest.er1
21391   ac_status=$?
21392   grep -v '^ *+' conftest.er1 >conftest.err
21393   rm -f conftest.er1
21394   cat conftest.err >&5
21395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21396   (exit $ac_status); } &&
21397          { ac_try='test -z "$ac_c_werror_flag"
21398                          || test ! -s conftest.err'
21399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21400   (eval $ac_try) 2>&5
21401   ac_status=$?
21402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21403   (exit $ac_status); }; } &&
21404          { ac_try='test -s conftest$ac_exeext'
21405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21406   (eval $ac_try) 2>&5
21407   ac_status=$?
21408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21409   (exit $ac_status); }; }; then
21410   eval "$as_ac_var=yes"
21411 else
21412   echo "$as_me: failed program was:" >&5
21413 sed 's/^/| /' conftest.$ac_ext >&5
21414
21415 eval "$as_ac_var=no"
21416 fi
21417 rm -f conftest.err conftest.$ac_objext \
21418       conftest$ac_exeext conftest.$ac_ext
21419 fi
21420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21422 if test `eval echo '${'$as_ac_var'}'` = yes; then
21423   cat >>confdefs.h <<_ACEOF
21424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21425 _ACEOF
21426
21427 fi
21428 done
21429
21430     fi
21431   fi
21432
21433
21434
21435   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
21436 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
21437   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
21438     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
21439   echo $ECHO_N "(cached) $ECHO_C" >&6
21440 else
21441
21442
21443
21444       ac_ext=cc
21445 ac_cpp='$CXXCPP $CPPFLAGS'
21446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21449
21450       cat >conftest.$ac_ext <<_ACEOF
21451 /* confdefs.h.  */
21452 _ACEOF
21453 cat confdefs.h >>conftest.$ac_ext
21454 cat >>conftest.$ac_ext <<_ACEOF
21455 /* end confdefs.h.  */
21456 #include <math.h>
21457 int
21458 main ()
21459 {
21460  ldexpl(0, 0);
21461   ;
21462   return 0;
21463 }
21464 _ACEOF
21465 rm -f conftest.$ac_objext
21466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21467   (eval $ac_compile) 2>conftest.er1
21468   ac_status=$?
21469   grep -v '^ *+' conftest.er1 >conftest.err
21470   rm -f conftest.er1
21471   cat conftest.err >&5
21472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21473   (exit $ac_status); } &&
21474          { ac_try='test -z "$ac_cxx_werror_flag"
21475                          || test ! -s conftest.err'
21476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21477   (eval $ac_try) 2>&5
21478   ac_status=$?
21479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21480   (exit $ac_status); }; } &&
21481          { ac_try='test -s conftest.$ac_objext'
21482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21483   (eval $ac_try) 2>&5
21484   ac_status=$?
21485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21486   (exit $ac_status); }; }; then
21487   glibcxx_cv_func_ldexpl_use=yes
21488 else
21489   echo "$as_me: failed program was:" >&5
21490 sed 's/^/| /' conftest.$ac_ext >&5
21491
21492 glibcxx_cv_func_ldexpl_use=no
21493 fi
21494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21495       ac_ext=c
21496 ac_cpp='$CPP $CPPFLAGS'
21497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21500
21501
21502 fi
21503
21504   fi
21505   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
21506 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
21507
21508   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
21509
21510 for ac_func in ldexpl
21511 do
21512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21513 echo "$as_me:$LINENO: checking for $ac_func" >&5
21514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21515 if eval "test \"\${$as_ac_var+set}\" = set"; then
21516   echo $ECHO_N "(cached) $ECHO_C" >&6
21517 else
21518   if test x$gcc_no_link = xyes; then
21519   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21521    { (exit 1); exit 1; }; }
21522 fi
21523 cat >conftest.$ac_ext <<_ACEOF
21524 /* confdefs.h.  */
21525 _ACEOF
21526 cat confdefs.h >>conftest.$ac_ext
21527 cat >>conftest.$ac_ext <<_ACEOF
21528 /* end confdefs.h.  */
21529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21530    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21531 #define $ac_func innocuous_$ac_func
21532
21533 /* System header to define __stub macros and hopefully few prototypes,
21534     which can conflict with char $ac_func (); below.
21535     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21536     <limits.h> exists even on freestanding compilers.  */
21537
21538 #ifdef __STDC__
21539 # include <limits.h>
21540 #else
21541 # include <assert.h>
21542 #endif
21543
21544 #undef $ac_func
21545
21546 /* Override any gcc2 internal prototype to avoid an error.  */
21547 #ifdef __cplusplus
21548 extern "C"
21549 {
21550 #endif
21551 /* We use char because int might match the return type of a gcc2
21552    builtin and then its argument prototype would still apply.  */
21553 char $ac_func ();
21554 /* The GNU C library defines this for functions which it implements
21555     to always fail with ENOSYS.  Some functions are actually named
21556     something starting with __ and the normal name is an alias.  */
21557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21558 choke me
21559 #else
21560 char (*f) () = $ac_func;
21561 #endif
21562 #ifdef __cplusplus
21563 }
21564 #endif
21565
21566 int
21567 main ()
21568 {
21569 return f != $ac_func;
21570   ;
21571   return 0;
21572 }
21573 _ACEOF
21574 rm -f conftest.$ac_objext conftest$ac_exeext
21575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21576   (eval $ac_link) 2>conftest.er1
21577   ac_status=$?
21578   grep -v '^ *+' conftest.er1 >conftest.err
21579   rm -f conftest.er1
21580   cat conftest.err >&5
21581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21582   (exit $ac_status); } &&
21583          { ac_try='test -z "$ac_c_werror_flag"
21584                          || test ! -s conftest.err'
21585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21586   (eval $ac_try) 2>&5
21587   ac_status=$?
21588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21589   (exit $ac_status); }; } &&
21590          { ac_try='test -s conftest$ac_exeext'
21591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21592   (eval $ac_try) 2>&5
21593   ac_status=$?
21594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595   (exit $ac_status); }; }; then
21596   eval "$as_ac_var=yes"
21597 else
21598   echo "$as_me: failed program was:" >&5
21599 sed 's/^/| /' conftest.$ac_ext >&5
21600
21601 eval "$as_ac_var=no"
21602 fi
21603 rm -f conftest.err conftest.$ac_objext \
21604       conftest$ac_exeext conftest.$ac_ext
21605 fi
21606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21608 if test `eval echo '${'$as_ac_var'}'` = yes; then
21609   cat >>confdefs.h <<_ACEOF
21610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21611 _ACEOF
21612
21613 fi
21614 done
21615
21616   else
21617
21618   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
21619 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
21620   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
21621     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
21622   echo $ECHO_N "(cached) $ECHO_C" >&6
21623 else
21624
21625
21626
21627       ac_ext=cc
21628 ac_cpp='$CXXCPP $CPPFLAGS'
21629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21632
21633       cat >conftest.$ac_ext <<_ACEOF
21634 /* confdefs.h.  */
21635 _ACEOF
21636 cat confdefs.h >>conftest.$ac_ext
21637 cat >>conftest.$ac_ext <<_ACEOF
21638 /* end confdefs.h.  */
21639 #include <math.h>
21640 int
21641 main ()
21642 {
21643  _ldexpl(0, 0);
21644   ;
21645   return 0;
21646 }
21647 _ACEOF
21648 rm -f conftest.$ac_objext
21649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21650   (eval $ac_compile) 2>conftest.er1
21651   ac_status=$?
21652   grep -v '^ *+' conftest.er1 >conftest.err
21653   rm -f conftest.er1
21654   cat conftest.err >&5
21655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21656   (exit $ac_status); } &&
21657          { ac_try='test -z "$ac_cxx_werror_flag"
21658                          || test ! -s conftest.err'
21659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21660   (eval $ac_try) 2>&5
21661   ac_status=$?
21662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21663   (exit $ac_status); }; } &&
21664          { ac_try='test -s conftest.$ac_objext'
21665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21666   (eval $ac_try) 2>&5
21667   ac_status=$?
21668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669   (exit $ac_status); }; }; then
21670   glibcxx_cv_func__ldexpl_use=yes
21671 else
21672   echo "$as_me: failed program was:" >&5
21673 sed 's/^/| /' conftest.$ac_ext >&5
21674
21675 glibcxx_cv_func__ldexpl_use=no
21676 fi
21677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21678       ac_ext=c
21679 ac_cpp='$CPP $CPPFLAGS'
21680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21683
21684
21685 fi
21686
21687   fi
21688   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
21689 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
21690
21691     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
21692
21693 for ac_func in _ldexpl
21694 do
21695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21696 echo "$as_me:$LINENO: checking for $ac_func" >&5
21697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21698 if eval "test \"\${$as_ac_var+set}\" = set"; then
21699   echo $ECHO_N "(cached) $ECHO_C" >&6
21700 else
21701   if test x$gcc_no_link = xyes; then
21702   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21704    { (exit 1); exit 1; }; }
21705 fi
21706 cat >conftest.$ac_ext <<_ACEOF
21707 /* confdefs.h.  */
21708 _ACEOF
21709 cat confdefs.h >>conftest.$ac_ext
21710 cat >>conftest.$ac_ext <<_ACEOF
21711 /* end confdefs.h.  */
21712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21713    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21714 #define $ac_func innocuous_$ac_func
21715
21716 /* System header to define __stub macros and hopefully few prototypes,
21717     which can conflict with char $ac_func (); below.
21718     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21719     <limits.h> exists even on freestanding compilers.  */
21720
21721 #ifdef __STDC__
21722 # include <limits.h>
21723 #else
21724 # include <assert.h>
21725 #endif
21726
21727 #undef $ac_func
21728
21729 /* Override any gcc2 internal prototype to avoid an error.  */
21730 #ifdef __cplusplus
21731 extern "C"
21732 {
21733 #endif
21734 /* We use char because int might match the return type of a gcc2
21735    builtin and then its argument prototype would still apply.  */
21736 char $ac_func ();
21737 /* The GNU C library defines this for functions which it implements
21738     to always fail with ENOSYS.  Some functions are actually named
21739     something starting with __ and the normal name is an alias.  */
21740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21741 choke me
21742 #else
21743 char (*f) () = $ac_func;
21744 #endif
21745 #ifdef __cplusplus
21746 }
21747 #endif
21748
21749 int
21750 main ()
21751 {
21752 return f != $ac_func;
21753   ;
21754   return 0;
21755 }
21756 _ACEOF
21757 rm -f conftest.$ac_objext conftest$ac_exeext
21758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21759   (eval $ac_link) 2>conftest.er1
21760   ac_status=$?
21761   grep -v '^ *+' conftest.er1 >conftest.err
21762   rm -f conftest.er1
21763   cat conftest.err >&5
21764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21765   (exit $ac_status); } &&
21766          { ac_try='test -z "$ac_c_werror_flag"
21767                          || test ! -s conftest.err'
21768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21769   (eval $ac_try) 2>&5
21770   ac_status=$?
21771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21772   (exit $ac_status); }; } &&
21773          { ac_try='test -s conftest$ac_exeext'
21774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21775   (eval $ac_try) 2>&5
21776   ac_status=$?
21777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21778   (exit $ac_status); }; }; then
21779   eval "$as_ac_var=yes"
21780 else
21781   echo "$as_me: failed program was:" >&5
21782 sed 's/^/| /' conftest.$ac_ext >&5
21783
21784 eval "$as_ac_var=no"
21785 fi
21786 rm -f conftest.err conftest.$ac_objext \
21787       conftest$ac_exeext conftest.$ac_ext
21788 fi
21789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21791 if test `eval echo '${'$as_ac_var'}'` = yes; then
21792   cat >>confdefs.h <<_ACEOF
21793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21794 _ACEOF
21795
21796 fi
21797 done
21798
21799     fi
21800   fi
21801
21802
21803
21804   echo "$as_me:$LINENO: checking for logl declaration" >&5
21805 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
21806   if test x${glibcxx_cv_func_logl_use+set} != xset; then
21807     if test "${glibcxx_cv_func_logl_use+set}" = set; then
21808   echo $ECHO_N "(cached) $ECHO_C" >&6
21809 else
21810
21811
21812
21813       ac_ext=cc
21814 ac_cpp='$CXXCPP $CPPFLAGS'
21815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21818
21819       cat >conftest.$ac_ext <<_ACEOF
21820 /* confdefs.h.  */
21821 _ACEOF
21822 cat confdefs.h >>conftest.$ac_ext
21823 cat >>conftest.$ac_ext <<_ACEOF
21824 /* end confdefs.h.  */
21825 #include <math.h>
21826                       #ifdef HAVE_IEEEFP_H
21827                       #include <ieeefp.h>
21828                       #endif
21829
21830 int
21831 main ()
21832 {
21833  logl(0);
21834   ;
21835   return 0;
21836 }
21837 _ACEOF
21838 rm -f conftest.$ac_objext
21839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21840   (eval $ac_compile) 2>conftest.er1
21841   ac_status=$?
21842   grep -v '^ *+' conftest.er1 >conftest.err
21843   rm -f conftest.er1
21844   cat conftest.err >&5
21845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21846   (exit $ac_status); } &&
21847          { ac_try='test -z "$ac_cxx_werror_flag"
21848                          || test ! -s conftest.err'
21849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21850   (eval $ac_try) 2>&5
21851   ac_status=$?
21852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21853   (exit $ac_status); }; } &&
21854          { ac_try='test -s conftest.$ac_objext'
21855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21856   (eval $ac_try) 2>&5
21857   ac_status=$?
21858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21859   (exit $ac_status); }; }; then
21860   glibcxx_cv_func_logl_use=yes
21861 else
21862   echo "$as_me: failed program was:" >&5
21863 sed 's/^/| /' conftest.$ac_ext >&5
21864
21865 glibcxx_cv_func_logl_use=no
21866 fi
21867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21868       ac_ext=c
21869 ac_cpp='$CPP $CPPFLAGS'
21870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21873
21874
21875 fi
21876
21877   fi
21878   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
21879 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
21880
21881   if test x$glibcxx_cv_func_logl_use = x"yes"; then
21882
21883 for ac_func in logl
21884 do
21885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21886 echo "$as_me:$LINENO: checking for $ac_func" >&5
21887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21888 if eval "test \"\${$as_ac_var+set}\" = set"; then
21889   echo $ECHO_N "(cached) $ECHO_C" >&6
21890 else
21891   if test x$gcc_no_link = xyes; then
21892   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21894    { (exit 1); exit 1; }; }
21895 fi
21896 cat >conftest.$ac_ext <<_ACEOF
21897 /* confdefs.h.  */
21898 _ACEOF
21899 cat confdefs.h >>conftest.$ac_ext
21900 cat >>conftest.$ac_ext <<_ACEOF
21901 /* end confdefs.h.  */
21902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21903    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21904 #define $ac_func innocuous_$ac_func
21905
21906 /* System header to define __stub macros and hopefully few prototypes,
21907     which can conflict with char $ac_func (); below.
21908     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21909     <limits.h> exists even on freestanding compilers.  */
21910
21911 #ifdef __STDC__
21912 # include <limits.h>
21913 #else
21914 # include <assert.h>
21915 #endif
21916
21917 #undef $ac_func
21918
21919 /* Override any gcc2 internal prototype to avoid an error.  */
21920 #ifdef __cplusplus
21921 extern "C"
21922 {
21923 #endif
21924 /* We use char because int might match the return type of a gcc2
21925    builtin and then its argument prototype would still apply.  */
21926 char $ac_func ();
21927 /* The GNU C library defines this for functions which it implements
21928     to always fail with ENOSYS.  Some functions are actually named
21929     something starting with __ and the normal name is an alias.  */
21930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21931 choke me
21932 #else
21933 char (*f) () = $ac_func;
21934 #endif
21935 #ifdef __cplusplus
21936 }
21937 #endif
21938
21939 int
21940 main ()
21941 {
21942 return f != $ac_func;
21943   ;
21944   return 0;
21945 }
21946 _ACEOF
21947 rm -f conftest.$ac_objext conftest$ac_exeext
21948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21949   (eval $ac_link) 2>conftest.er1
21950   ac_status=$?
21951   grep -v '^ *+' conftest.er1 >conftest.err
21952   rm -f conftest.er1
21953   cat conftest.err >&5
21954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21955   (exit $ac_status); } &&
21956          { ac_try='test -z "$ac_c_werror_flag"
21957                          || test ! -s conftest.err'
21958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21959   (eval $ac_try) 2>&5
21960   ac_status=$?
21961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21962   (exit $ac_status); }; } &&
21963          { ac_try='test -s conftest$ac_exeext'
21964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21965   (eval $ac_try) 2>&5
21966   ac_status=$?
21967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21968   (exit $ac_status); }; }; then
21969   eval "$as_ac_var=yes"
21970 else
21971   echo "$as_me: failed program was:" >&5
21972 sed 's/^/| /' conftest.$ac_ext >&5
21973
21974 eval "$as_ac_var=no"
21975 fi
21976 rm -f conftest.err conftest.$ac_objext \
21977       conftest$ac_exeext conftest.$ac_ext
21978 fi
21979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21981 if test `eval echo '${'$as_ac_var'}'` = yes; then
21982   cat >>confdefs.h <<_ACEOF
21983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21984 _ACEOF
21985
21986 fi
21987 done
21988
21989   else
21990
21991   echo "$as_me:$LINENO: checking for _logl declaration" >&5
21992 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
21993   if test x${glibcxx_cv_func__logl_use+set} != xset; then
21994     if test "${glibcxx_cv_func__logl_use+set}" = set; then
21995   echo $ECHO_N "(cached) $ECHO_C" >&6
21996 else
21997
21998
21999
22000       ac_ext=cc
22001 ac_cpp='$CXXCPP $CPPFLAGS'
22002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22005
22006       cat >conftest.$ac_ext <<_ACEOF
22007 /* confdefs.h.  */
22008 _ACEOF
22009 cat confdefs.h >>conftest.$ac_ext
22010 cat >>conftest.$ac_ext <<_ACEOF
22011 /* end confdefs.h.  */
22012 #include <math.h>
22013                       #ifdef HAVE_IEEEFP_H
22014                       #include <ieeefp.h>
22015                       #endif
22016
22017 int
22018 main ()
22019 {
22020  _logl(0);
22021   ;
22022   return 0;
22023 }
22024 _ACEOF
22025 rm -f conftest.$ac_objext
22026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22027   (eval $ac_compile) 2>conftest.er1
22028   ac_status=$?
22029   grep -v '^ *+' conftest.er1 >conftest.err
22030   rm -f conftest.er1
22031   cat conftest.err >&5
22032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22033   (exit $ac_status); } &&
22034          { ac_try='test -z "$ac_cxx_werror_flag"
22035                          || test ! -s conftest.err'
22036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22037   (eval $ac_try) 2>&5
22038   ac_status=$?
22039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22040   (exit $ac_status); }; } &&
22041          { ac_try='test -s conftest.$ac_objext'
22042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22043   (eval $ac_try) 2>&5
22044   ac_status=$?
22045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22046   (exit $ac_status); }; }; then
22047   glibcxx_cv_func__logl_use=yes
22048 else
22049   echo "$as_me: failed program was:" >&5
22050 sed 's/^/| /' conftest.$ac_ext >&5
22051
22052 glibcxx_cv_func__logl_use=no
22053 fi
22054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22055       ac_ext=c
22056 ac_cpp='$CPP $CPPFLAGS'
22057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22060
22061
22062 fi
22063
22064   fi
22065   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
22066 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
22067
22068     if test x$glibcxx_cv_func__logl_use = x"yes"; then
22069
22070 for ac_func in _logl
22071 do
22072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22073 echo "$as_me:$LINENO: checking for $ac_func" >&5
22074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22075 if eval "test \"\${$as_ac_var+set}\" = set"; then
22076   echo $ECHO_N "(cached) $ECHO_C" >&6
22077 else
22078   if test x$gcc_no_link = xyes; then
22079   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22081    { (exit 1); exit 1; }; }
22082 fi
22083 cat >conftest.$ac_ext <<_ACEOF
22084 /* confdefs.h.  */
22085 _ACEOF
22086 cat confdefs.h >>conftest.$ac_ext
22087 cat >>conftest.$ac_ext <<_ACEOF
22088 /* end confdefs.h.  */
22089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22090    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22091 #define $ac_func innocuous_$ac_func
22092
22093 /* System header to define __stub macros and hopefully few prototypes,
22094     which can conflict with char $ac_func (); below.
22095     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22096     <limits.h> exists even on freestanding compilers.  */
22097
22098 #ifdef __STDC__
22099 # include <limits.h>
22100 #else
22101 # include <assert.h>
22102 #endif
22103
22104 #undef $ac_func
22105
22106 /* Override any gcc2 internal prototype to avoid an error.  */
22107 #ifdef __cplusplus
22108 extern "C"
22109 {
22110 #endif
22111 /* We use char because int might match the return type of a gcc2
22112    builtin and then its argument prototype would still apply.  */
22113 char $ac_func ();
22114 /* The GNU C library defines this for functions which it implements
22115     to always fail with ENOSYS.  Some functions are actually named
22116     something starting with __ and the normal name is an alias.  */
22117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22118 choke me
22119 #else
22120 char (*f) () = $ac_func;
22121 #endif
22122 #ifdef __cplusplus
22123 }
22124 #endif
22125
22126 int
22127 main ()
22128 {
22129 return f != $ac_func;
22130   ;
22131   return 0;
22132 }
22133 _ACEOF
22134 rm -f conftest.$ac_objext conftest$ac_exeext
22135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22136   (eval $ac_link) 2>conftest.er1
22137   ac_status=$?
22138   grep -v '^ *+' conftest.er1 >conftest.err
22139   rm -f conftest.er1
22140   cat conftest.err >&5
22141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22142   (exit $ac_status); } &&
22143          { ac_try='test -z "$ac_c_werror_flag"
22144                          || test ! -s conftest.err'
22145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22146   (eval $ac_try) 2>&5
22147   ac_status=$?
22148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22149   (exit $ac_status); }; } &&
22150          { ac_try='test -s conftest$ac_exeext'
22151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22152   (eval $ac_try) 2>&5
22153   ac_status=$?
22154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22155   (exit $ac_status); }; }; then
22156   eval "$as_ac_var=yes"
22157 else
22158   echo "$as_me: failed program was:" >&5
22159 sed 's/^/| /' conftest.$ac_ext >&5
22160
22161 eval "$as_ac_var=no"
22162 fi
22163 rm -f conftest.err conftest.$ac_objext \
22164       conftest$ac_exeext conftest.$ac_ext
22165 fi
22166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22168 if test `eval echo '${'$as_ac_var'}'` = yes; then
22169   cat >>confdefs.h <<_ACEOF
22170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22171 _ACEOF
22172
22173 fi
22174 done
22175
22176     fi
22177   fi
22178
22179
22180
22181   echo "$as_me:$LINENO: checking for log10l declaration" >&5
22182 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
22183   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
22184     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
22185   echo $ECHO_N "(cached) $ECHO_C" >&6
22186 else
22187
22188
22189
22190       ac_ext=cc
22191 ac_cpp='$CXXCPP $CPPFLAGS'
22192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22195
22196       cat >conftest.$ac_ext <<_ACEOF
22197 /* confdefs.h.  */
22198 _ACEOF
22199 cat confdefs.h >>conftest.$ac_ext
22200 cat >>conftest.$ac_ext <<_ACEOF
22201 /* end confdefs.h.  */
22202 #include <math.h>
22203                       #ifdef HAVE_IEEEFP_H
22204                       #include <ieeefp.h>
22205                       #endif
22206
22207 int
22208 main ()
22209 {
22210  log10l(0);
22211   ;
22212   return 0;
22213 }
22214 _ACEOF
22215 rm -f conftest.$ac_objext
22216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22217   (eval $ac_compile) 2>conftest.er1
22218   ac_status=$?
22219   grep -v '^ *+' conftest.er1 >conftest.err
22220   rm -f conftest.er1
22221   cat conftest.err >&5
22222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22223   (exit $ac_status); } &&
22224          { ac_try='test -z "$ac_cxx_werror_flag"
22225                          || test ! -s conftest.err'
22226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22227   (eval $ac_try) 2>&5
22228   ac_status=$?
22229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22230   (exit $ac_status); }; } &&
22231          { ac_try='test -s conftest.$ac_objext'
22232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22233   (eval $ac_try) 2>&5
22234   ac_status=$?
22235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22236   (exit $ac_status); }; }; then
22237   glibcxx_cv_func_log10l_use=yes
22238 else
22239   echo "$as_me: failed program was:" >&5
22240 sed 's/^/| /' conftest.$ac_ext >&5
22241
22242 glibcxx_cv_func_log10l_use=no
22243 fi
22244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22245       ac_ext=c
22246 ac_cpp='$CPP $CPPFLAGS'
22247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22250
22251
22252 fi
22253
22254   fi
22255   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
22256 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
22257
22258   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
22259
22260 for ac_func in log10l
22261 do
22262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22263 echo "$as_me:$LINENO: checking for $ac_func" >&5
22264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22265 if eval "test \"\${$as_ac_var+set}\" = set"; then
22266   echo $ECHO_N "(cached) $ECHO_C" >&6
22267 else
22268   if test x$gcc_no_link = xyes; then
22269   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22271    { (exit 1); exit 1; }; }
22272 fi
22273 cat >conftest.$ac_ext <<_ACEOF
22274 /* confdefs.h.  */
22275 _ACEOF
22276 cat confdefs.h >>conftest.$ac_ext
22277 cat >>conftest.$ac_ext <<_ACEOF
22278 /* end confdefs.h.  */
22279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22280    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22281 #define $ac_func innocuous_$ac_func
22282
22283 /* System header to define __stub macros and hopefully few prototypes,
22284     which can conflict with char $ac_func (); below.
22285     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22286     <limits.h> exists even on freestanding compilers.  */
22287
22288 #ifdef __STDC__
22289 # include <limits.h>
22290 #else
22291 # include <assert.h>
22292 #endif
22293
22294 #undef $ac_func
22295
22296 /* Override any gcc2 internal prototype to avoid an error.  */
22297 #ifdef __cplusplus
22298 extern "C"
22299 {
22300 #endif
22301 /* We use char because int might match the return type of a gcc2
22302    builtin and then its argument prototype would still apply.  */
22303 char $ac_func ();
22304 /* The GNU C library defines this for functions which it implements
22305     to always fail with ENOSYS.  Some functions are actually named
22306     something starting with __ and the normal name is an alias.  */
22307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22308 choke me
22309 #else
22310 char (*f) () = $ac_func;
22311 #endif
22312 #ifdef __cplusplus
22313 }
22314 #endif
22315
22316 int
22317 main ()
22318 {
22319 return f != $ac_func;
22320   ;
22321   return 0;
22322 }
22323 _ACEOF
22324 rm -f conftest.$ac_objext conftest$ac_exeext
22325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22326   (eval $ac_link) 2>conftest.er1
22327   ac_status=$?
22328   grep -v '^ *+' conftest.er1 >conftest.err
22329   rm -f conftest.er1
22330   cat conftest.err >&5
22331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22332   (exit $ac_status); } &&
22333          { ac_try='test -z "$ac_c_werror_flag"
22334                          || test ! -s conftest.err'
22335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22336   (eval $ac_try) 2>&5
22337   ac_status=$?
22338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22339   (exit $ac_status); }; } &&
22340          { ac_try='test -s conftest$ac_exeext'
22341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22342   (eval $ac_try) 2>&5
22343   ac_status=$?
22344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22345   (exit $ac_status); }; }; then
22346   eval "$as_ac_var=yes"
22347 else
22348   echo "$as_me: failed program was:" >&5
22349 sed 's/^/| /' conftest.$ac_ext >&5
22350
22351 eval "$as_ac_var=no"
22352 fi
22353 rm -f conftest.err conftest.$ac_objext \
22354       conftest$ac_exeext conftest.$ac_ext
22355 fi
22356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22358 if test `eval echo '${'$as_ac_var'}'` = yes; then
22359   cat >>confdefs.h <<_ACEOF
22360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22361 _ACEOF
22362
22363 fi
22364 done
22365
22366   else
22367
22368   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
22369 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
22370   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
22371     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
22372   echo $ECHO_N "(cached) $ECHO_C" >&6
22373 else
22374
22375
22376
22377       ac_ext=cc
22378 ac_cpp='$CXXCPP $CPPFLAGS'
22379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22382
22383       cat >conftest.$ac_ext <<_ACEOF
22384 /* confdefs.h.  */
22385 _ACEOF
22386 cat confdefs.h >>conftest.$ac_ext
22387 cat >>conftest.$ac_ext <<_ACEOF
22388 /* end confdefs.h.  */
22389 #include <math.h>
22390                       #ifdef HAVE_IEEEFP_H
22391                       #include <ieeefp.h>
22392                       #endif
22393
22394 int
22395 main ()
22396 {
22397  _log10l(0);
22398   ;
22399   return 0;
22400 }
22401 _ACEOF
22402 rm -f conftest.$ac_objext
22403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22404   (eval $ac_compile) 2>conftest.er1
22405   ac_status=$?
22406   grep -v '^ *+' conftest.er1 >conftest.err
22407   rm -f conftest.er1
22408   cat conftest.err >&5
22409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22410   (exit $ac_status); } &&
22411          { ac_try='test -z "$ac_cxx_werror_flag"
22412                          || test ! -s conftest.err'
22413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22414   (eval $ac_try) 2>&5
22415   ac_status=$?
22416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22417   (exit $ac_status); }; } &&
22418          { ac_try='test -s conftest.$ac_objext'
22419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22420   (eval $ac_try) 2>&5
22421   ac_status=$?
22422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22423   (exit $ac_status); }; }; then
22424   glibcxx_cv_func__log10l_use=yes
22425 else
22426   echo "$as_me: failed program was:" >&5
22427 sed 's/^/| /' conftest.$ac_ext >&5
22428
22429 glibcxx_cv_func__log10l_use=no
22430 fi
22431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22432       ac_ext=c
22433 ac_cpp='$CPP $CPPFLAGS'
22434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22437
22438
22439 fi
22440
22441   fi
22442   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
22443 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
22444
22445     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
22446
22447 for ac_func in _log10l
22448 do
22449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22450 echo "$as_me:$LINENO: checking for $ac_func" >&5
22451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22452 if eval "test \"\${$as_ac_var+set}\" = set"; then
22453   echo $ECHO_N "(cached) $ECHO_C" >&6
22454 else
22455   if test x$gcc_no_link = xyes; then
22456   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22458    { (exit 1); exit 1; }; }
22459 fi
22460 cat >conftest.$ac_ext <<_ACEOF
22461 /* confdefs.h.  */
22462 _ACEOF
22463 cat confdefs.h >>conftest.$ac_ext
22464 cat >>conftest.$ac_ext <<_ACEOF
22465 /* end confdefs.h.  */
22466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22467    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22468 #define $ac_func innocuous_$ac_func
22469
22470 /* System header to define __stub macros and hopefully few prototypes,
22471     which can conflict with char $ac_func (); below.
22472     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22473     <limits.h> exists even on freestanding compilers.  */
22474
22475 #ifdef __STDC__
22476 # include <limits.h>
22477 #else
22478 # include <assert.h>
22479 #endif
22480
22481 #undef $ac_func
22482
22483 /* Override any gcc2 internal prototype to avoid an error.  */
22484 #ifdef __cplusplus
22485 extern "C"
22486 {
22487 #endif
22488 /* We use char because int might match the return type of a gcc2
22489    builtin and then its argument prototype would still apply.  */
22490 char $ac_func ();
22491 /* The GNU C library defines this for functions which it implements
22492     to always fail with ENOSYS.  Some functions are actually named
22493     something starting with __ and the normal name is an alias.  */
22494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22495 choke me
22496 #else
22497 char (*f) () = $ac_func;
22498 #endif
22499 #ifdef __cplusplus
22500 }
22501 #endif
22502
22503 int
22504 main ()
22505 {
22506 return f != $ac_func;
22507   ;
22508   return 0;
22509 }
22510 _ACEOF
22511 rm -f conftest.$ac_objext conftest$ac_exeext
22512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22513   (eval $ac_link) 2>conftest.er1
22514   ac_status=$?
22515   grep -v '^ *+' conftest.er1 >conftest.err
22516   rm -f conftest.er1
22517   cat conftest.err >&5
22518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22519   (exit $ac_status); } &&
22520          { ac_try='test -z "$ac_c_werror_flag"
22521                          || test ! -s conftest.err'
22522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22523   (eval $ac_try) 2>&5
22524   ac_status=$?
22525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22526   (exit $ac_status); }; } &&
22527          { ac_try='test -s conftest$ac_exeext'
22528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22529   (eval $ac_try) 2>&5
22530   ac_status=$?
22531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22532   (exit $ac_status); }; }; then
22533   eval "$as_ac_var=yes"
22534 else
22535   echo "$as_me: failed program was:" >&5
22536 sed 's/^/| /' conftest.$ac_ext >&5
22537
22538 eval "$as_ac_var=no"
22539 fi
22540 rm -f conftest.err conftest.$ac_objext \
22541       conftest$ac_exeext conftest.$ac_ext
22542 fi
22543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22545 if test `eval echo '${'$as_ac_var'}'` = yes; then
22546   cat >>confdefs.h <<_ACEOF
22547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22548 _ACEOF
22549
22550 fi
22551 done
22552
22553     fi
22554   fi
22555
22556
22557
22558   echo "$as_me:$LINENO: checking for modfl declaration" >&5
22559 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
22560   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
22561     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
22562   echo $ECHO_N "(cached) $ECHO_C" >&6
22563 else
22564
22565
22566
22567       ac_ext=cc
22568 ac_cpp='$CXXCPP $CPPFLAGS'
22569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22572
22573       cat >conftest.$ac_ext <<_ACEOF
22574 /* confdefs.h.  */
22575 _ACEOF
22576 cat confdefs.h >>conftest.$ac_ext
22577 cat >>conftest.$ac_ext <<_ACEOF
22578 /* end confdefs.h.  */
22579 #include <math.h>
22580 int
22581 main ()
22582 {
22583  modfl(0, 0);
22584   ;
22585   return 0;
22586 }
22587 _ACEOF
22588 rm -f conftest.$ac_objext
22589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22590   (eval $ac_compile) 2>conftest.er1
22591   ac_status=$?
22592   grep -v '^ *+' conftest.er1 >conftest.err
22593   rm -f conftest.er1
22594   cat conftest.err >&5
22595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22596   (exit $ac_status); } &&
22597          { ac_try='test -z "$ac_cxx_werror_flag"
22598                          || test ! -s conftest.err'
22599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22600   (eval $ac_try) 2>&5
22601   ac_status=$?
22602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22603   (exit $ac_status); }; } &&
22604          { ac_try='test -s conftest.$ac_objext'
22605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22606   (eval $ac_try) 2>&5
22607   ac_status=$?
22608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22609   (exit $ac_status); }; }; then
22610   glibcxx_cv_func_modfl_use=yes
22611 else
22612   echo "$as_me: failed program was:" >&5
22613 sed 's/^/| /' conftest.$ac_ext >&5
22614
22615 glibcxx_cv_func_modfl_use=no
22616 fi
22617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22618       ac_ext=c
22619 ac_cpp='$CPP $CPPFLAGS'
22620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22623
22624
22625 fi
22626
22627   fi
22628   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
22629 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
22630
22631   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
22632
22633 for ac_func in modfl
22634 do
22635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22636 echo "$as_me:$LINENO: checking for $ac_func" >&5
22637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22638 if eval "test \"\${$as_ac_var+set}\" = set"; then
22639   echo $ECHO_N "(cached) $ECHO_C" >&6
22640 else
22641   if test x$gcc_no_link = xyes; then
22642   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22644    { (exit 1); exit 1; }; }
22645 fi
22646 cat >conftest.$ac_ext <<_ACEOF
22647 /* confdefs.h.  */
22648 _ACEOF
22649 cat confdefs.h >>conftest.$ac_ext
22650 cat >>conftest.$ac_ext <<_ACEOF
22651 /* end confdefs.h.  */
22652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22653    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22654 #define $ac_func innocuous_$ac_func
22655
22656 /* System header to define __stub macros and hopefully few prototypes,
22657     which can conflict with char $ac_func (); below.
22658     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22659     <limits.h> exists even on freestanding compilers.  */
22660
22661 #ifdef __STDC__
22662 # include <limits.h>
22663 #else
22664 # include <assert.h>
22665 #endif
22666
22667 #undef $ac_func
22668
22669 /* Override any gcc2 internal prototype to avoid an error.  */
22670 #ifdef __cplusplus
22671 extern "C"
22672 {
22673 #endif
22674 /* We use char because int might match the return type of a gcc2
22675    builtin and then its argument prototype would still apply.  */
22676 char $ac_func ();
22677 /* The GNU C library defines this for functions which it implements
22678     to always fail with ENOSYS.  Some functions are actually named
22679     something starting with __ and the normal name is an alias.  */
22680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22681 choke me
22682 #else
22683 char (*f) () = $ac_func;
22684 #endif
22685 #ifdef __cplusplus
22686 }
22687 #endif
22688
22689 int
22690 main ()
22691 {
22692 return f != $ac_func;
22693   ;
22694   return 0;
22695 }
22696 _ACEOF
22697 rm -f conftest.$ac_objext conftest$ac_exeext
22698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22699   (eval $ac_link) 2>conftest.er1
22700   ac_status=$?
22701   grep -v '^ *+' conftest.er1 >conftest.err
22702   rm -f conftest.er1
22703   cat conftest.err >&5
22704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22705   (exit $ac_status); } &&
22706          { ac_try='test -z "$ac_c_werror_flag"
22707                          || test ! -s conftest.err'
22708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22709   (eval $ac_try) 2>&5
22710   ac_status=$?
22711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22712   (exit $ac_status); }; } &&
22713          { ac_try='test -s conftest$ac_exeext'
22714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22715   (eval $ac_try) 2>&5
22716   ac_status=$?
22717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22718   (exit $ac_status); }; }; then
22719   eval "$as_ac_var=yes"
22720 else
22721   echo "$as_me: failed program was:" >&5
22722 sed 's/^/| /' conftest.$ac_ext >&5
22723
22724 eval "$as_ac_var=no"
22725 fi
22726 rm -f conftest.err conftest.$ac_objext \
22727       conftest$ac_exeext conftest.$ac_ext
22728 fi
22729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22731 if test `eval echo '${'$as_ac_var'}'` = yes; then
22732   cat >>confdefs.h <<_ACEOF
22733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22734 _ACEOF
22735
22736 fi
22737 done
22738
22739   else
22740
22741   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
22742 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
22743   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
22744     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
22745   echo $ECHO_N "(cached) $ECHO_C" >&6
22746 else
22747
22748
22749
22750       ac_ext=cc
22751 ac_cpp='$CXXCPP $CPPFLAGS'
22752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22755
22756       cat >conftest.$ac_ext <<_ACEOF
22757 /* confdefs.h.  */
22758 _ACEOF
22759 cat confdefs.h >>conftest.$ac_ext
22760 cat >>conftest.$ac_ext <<_ACEOF
22761 /* end confdefs.h.  */
22762 #include <math.h>
22763 int
22764 main ()
22765 {
22766  _modfl(0, 0);
22767   ;
22768   return 0;
22769 }
22770 _ACEOF
22771 rm -f conftest.$ac_objext
22772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22773   (eval $ac_compile) 2>conftest.er1
22774   ac_status=$?
22775   grep -v '^ *+' conftest.er1 >conftest.err
22776   rm -f conftest.er1
22777   cat conftest.err >&5
22778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22779   (exit $ac_status); } &&
22780          { ac_try='test -z "$ac_cxx_werror_flag"
22781                          || test ! -s conftest.err'
22782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22783   (eval $ac_try) 2>&5
22784   ac_status=$?
22785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22786   (exit $ac_status); }; } &&
22787          { ac_try='test -s conftest.$ac_objext'
22788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22789   (eval $ac_try) 2>&5
22790   ac_status=$?
22791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22792   (exit $ac_status); }; }; then
22793   glibcxx_cv_func__modfl_use=yes
22794 else
22795   echo "$as_me: failed program was:" >&5
22796 sed 's/^/| /' conftest.$ac_ext >&5
22797
22798 glibcxx_cv_func__modfl_use=no
22799 fi
22800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22801       ac_ext=c
22802 ac_cpp='$CPP $CPPFLAGS'
22803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22806
22807
22808 fi
22809
22810   fi
22811   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
22812 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
22813
22814     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
22815
22816 for ac_func in _modfl
22817 do
22818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22819 echo "$as_me:$LINENO: checking for $ac_func" >&5
22820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22821 if eval "test \"\${$as_ac_var+set}\" = set"; then
22822   echo $ECHO_N "(cached) $ECHO_C" >&6
22823 else
22824   if test x$gcc_no_link = xyes; then
22825   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22827    { (exit 1); exit 1; }; }
22828 fi
22829 cat >conftest.$ac_ext <<_ACEOF
22830 /* confdefs.h.  */
22831 _ACEOF
22832 cat confdefs.h >>conftest.$ac_ext
22833 cat >>conftest.$ac_ext <<_ACEOF
22834 /* end confdefs.h.  */
22835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22836    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22837 #define $ac_func innocuous_$ac_func
22838
22839 /* System header to define __stub macros and hopefully few prototypes,
22840     which can conflict with char $ac_func (); below.
22841     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22842     <limits.h> exists even on freestanding compilers.  */
22843
22844 #ifdef __STDC__
22845 # include <limits.h>
22846 #else
22847 # include <assert.h>
22848 #endif
22849
22850 #undef $ac_func
22851
22852 /* Override any gcc2 internal prototype to avoid an error.  */
22853 #ifdef __cplusplus
22854 extern "C"
22855 {
22856 #endif
22857 /* We use char because int might match the return type of a gcc2
22858    builtin and then its argument prototype would still apply.  */
22859 char $ac_func ();
22860 /* The GNU C library defines this for functions which it implements
22861     to always fail with ENOSYS.  Some functions are actually named
22862     something starting with __ and the normal name is an alias.  */
22863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22864 choke me
22865 #else
22866 char (*f) () = $ac_func;
22867 #endif
22868 #ifdef __cplusplus
22869 }
22870 #endif
22871
22872 int
22873 main ()
22874 {
22875 return f != $ac_func;
22876   ;
22877   return 0;
22878 }
22879 _ACEOF
22880 rm -f conftest.$ac_objext conftest$ac_exeext
22881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22882   (eval $ac_link) 2>conftest.er1
22883   ac_status=$?
22884   grep -v '^ *+' conftest.er1 >conftest.err
22885   rm -f conftest.er1
22886   cat conftest.err >&5
22887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22888   (exit $ac_status); } &&
22889          { ac_try='test -z "$ac_c_werror_flag"
22890                          || test ! -s conftest.err'
22891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22892   (eval $ac_try) 2>&5
22893   ac_status=$?
22894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22895   (exit $ac_status); }; } &&
22896          { ac_try='test -s conftest$ac_exeext'
22897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22898   (eval $ac_try) 2>&5
22899   ac_status=$?
22900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22901   (exit $ac_status); }; }; then
22902   eval "$as_ac_var=yes"
22903 else
22904   echo "$as_me: failed program was:" >&5
22905 sed 's/^/| /' conftest.$ac_ext >&5
22906
22907 eval "$as_ac_var=no"
22908 fi
22909 rm -f conftest.err conftest.$ac_objext \
22910       conftest$ac_exeext conftest.$ac_ext
22911 fi
22912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22914 if test `eval echo '${'$as_ac_var'}'` = yes; then
22915   cat >>confdefs.h <<_ACEOF
22916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22917 _ACEOF
22918
22919 fi
22920 done
22921
22922     fi
22923   fi
22924
22925
22926
22927   echo "$as_me:$LINENO: checking for powl declaration" >&5
22928 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
22929   if test x${glibcxx_cv_func_powl_use+set} != xset; then
22930     if test "${glibcxx_cv_func_powl_use+set}" = set; then
22931   echo $ECHO_N "(cached) $ECHO_C" >&6
22932 else
22933
22934
22935
22936       ac_ext=cc
22937 ac_cpp='$CXXCPP $CPPFLAGS'
22938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22941
22942       cat >conftest.$ac_ext <<_ACEOF
22943 /* confdefs.h.  */
22944 _ACEOF
22945 cat confdefs.h >>conftest.$ac_ext
22946 cat >>conftest.$ac_ext <<_ACEOF
22947 /* end confdefs.h.  */
22948 #include <math.h>
22949 int
22950 main ()
22951 {
22952  powl(0, 0);
22953   ;
22954   return 0;
22955 }
22956 _ACEOF
22957 rm -f conftest.$ac_objext
22958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22959   (eval $ac_compile) 2>conftest.er1
22960   ac_status=$?
22961   grep -v '^ *+' conftest.er1 >conftest.err
22962   rm -f conftest.er1
22963   cat conftest.err >&5
22964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22965   (exit $ac_status); } &&
22966          { ac_try='test -z "$ac_cxx_werror_flag"
22967                          || test ! -s conftest.err'
22968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22969   (eval $ac_try) 2>&5
22970   ac_status=$?
22971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22972   (exit $ac_status); }; } &&
22973          { ac_try='test -s conftest.$ac_objext'
22974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22975   (eval $ac_try) 2>&5
22976   ac_status=$?
22977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22978   (exit $ac_status); }; }; then
22979   glibcxx_cv_func_powl_use=yes
22980 else
22981   echo "$as_me: failed program was:" >&5
22982 sed 's/^/| /' conftest.$ac_ext >&5
22983
22984 glibcxx_cv_func_powl_use=no
22985 fi
22986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22987       ac_ext=c
22988 ac_cpp='$CPP $CPPFLAGS'
22989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22992
22993
22994 fi
22995
22996   fi
22997   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
22998 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
22999
23000   if test x$glibcxx_cv_func_powl_use = x"yes"; then
23001
23002 for ac_func in powl
23003 do
23004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23005 echo "$as_me:$LINENO: checking for $ac_func" >&5
23006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23007 if eval "test \"\${$as_ac_var+set}\" = set"; then
23008   echo $ECHO_N "(cached) $ECHO_C" >&6
23009 else
23010   if test x$gcc_no_link = xyes; then
23011   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23013    { (exit 1); exit 1; }; }
23014 fi
23015 cat >conftest.$ac_ext <<_ACEOF
23016 /* confdefs.h.  */
23017 _ACEOF
23018 cat confdefs.h >>conftest.$ac_ext
23019 cat >>conftest.$ac_ext <<_ACEOF
23020 /* end confdefs.h.  */
23021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23022    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23023 #define $ac_func innocuous_$ac_func
23024
23025 /* System header to define __stub macros and hopefully few prototypes,
23026     which can conflict with char $ac_func (); below.
23027     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23028     <limits.h> exists even on freestanding compilers.  */
23029
23030 #ifdef __STDC__
23031 # include <limits.h>
23032 #else
23033 # include <assert.h>
23034 #endif
23035
23036 #undef $ac_func
23037
23038 /* Override any gcc2 internal prototype to avoid an error.  */
23039 #ifdef __cplusplus
23040 extern "C"
23041 {
23042 #endif
23043 /* We use char because int might match the return type of a gcc2
23044    builtin and then its argument prototype would still apply.  */
23045 char $ac_func ();
23046 /* The GNU C library defines this for functions which it implements
23047     to always fail with ENOSYS.  Some functions are actually named
23048     something starting with __ and the normal name is an alias.  */
23049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23050 choke me
23051 #else
23052 char (*f) () = $ac_func;
23053 #endif
23054 #ifdef __cplusplus
23055 }
23056 #endif
23057
23058 int
23059 main ()
23060 {
23061 return f != $ac_func;
23062   ;
23063   return 0;
23064 }
23065 _ACEOF
23066 rm -f conftest.$ac_objext conftest$ac_exeext
23067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23068   (eval $ac_link) 2>conftest.er1
23069   ac_status=$?
23070   grep -v '^ *+' conftest.er1 >conftest.err
23071   rm -f conftest.er1
23072   cat conftest.err >&5
23073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23074   (exit $ac_status); } &&
23075          { ac_try='test -z "$ac_c_werror_flag"
23076                          || test ! -s conftest.err'
23077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23078   (eval $ac_try) 2>&5
23079   ac_status=$?
23080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23081   (exit $ac_status); }; } &&
23082          { ac_try='test -s conftest$ac_exeext'
23083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23084   (eval $ac_try) 2>&5
23085   ac_status=$?
23086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23087   (exit $ac_status); }; }; then
23088   eval "$as_ac_var=yes"
23089 else
23090   echo "$as_me: failed program was:" >&5
23091 sed 's/^/| /' conftest.$ac_ext >&5
23092
23093 eval "$as_ac_var=no"
23094 fi
23095 rm -f conftest.err conftest.$ac_objext \
23096       conftest$ac_exeext conftest.$ac_ext
23097 fi
23098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23100 if test `eval echo '${'$as_ac_var'}'` = yes; then
23101   cat >>confdefs.h <<_ACEOF
23102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23103 _ACEOF
23104
23105 fi
23106 done
23107
23108   else
23109
23110   echo "$as_me:$LINENO: checking for _powl declaration" >&5
23111 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
23112   if test x${glibcxx_cv_func__powl_use+set} != xset; then
23113     if test "${glibcxx_cv_func__powl_use+set}" = set; then
23114   echo $ECHO_N "(cached) $ECHO_C" >&6
23115 else
23116
23117
23118
23119       ac_ext=cc
23120 ac_cpp='$CXXCPP $CPPFLAGS'
23121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23124
23125       cat >conftest.$ac_ext <<_ACEOF
23126 /* confdefs.h.  */
23127 _ACEOF
23128 cat confdefs.h >>conftest.$ac_ext
23129 cat >>conftest.$ac_ext <<_ACEOF
23130 /* end confdefs.h.  */
23131 #include <math.h>
23132 int
23133 main ()
23134 {
23135  _powl(0, 0);
23136   ;
23137   return 0;
23138 }
23139 _ACEOF
23140 rm -f conftest.$ac_objext
23141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23142   (eval $ac_compile) 2>conftest.er1
23143   ac_status=$?
23144   grep -v '^ *+' conftest.er1 >conftest.err
23145   rm -f conftest.er1
23146   cat conftest.err >&5
23147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23148   (exit $ac_status); } &&
23149          { ac_try='test -z "$ac_cxx_werror_flag"
23150                          || test ! -s conftest.err'
23151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23152   (eval $ac_try) 2>&5
23153   ac_status=$?
23154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23155   (exit $ac_status); }; } &&
23156          { ac_try='test -s conftest.$ac_objext'
23157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23158   (eval $ac_try) 2>&5
23159   ac_status=$?
23160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23161   (exit $ac_status); }; }; then
23162   glibcxx_cv_func__powl_use=yes
23163 else
23164   echo "$as_me: failed program was:" >&5
23165 sed 's/^/| /' conftest.$ac_ext >&5
23166
23167 glibcxx_cv_func__powl_use=no
23168 fi
23169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23170       ac_ext=c
23171 ac_cpp='$CPP $CPPFLAGS'
23172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23175
23176
23177 fi
23178
23179   fi
23180   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
23181 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
23182
23183     if test x$glibcxx_cv_func__powl_use = x"yes"; then
23184
23185 for ac_func in _powl
23186 do
23187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23188 echo "$as_me:$LINENO: checking for $ac_func" >&5
23189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23190 if eval "test \"\${$as_ac_var+set}\" = set"; then
23191   echo $ECHO_N "(cached) $ECHO_C" >&6
23192 else
23193   if test x$gcc_no_link = xyes; then
23194   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23196    { (exit 1); exit 1; }; }
23197 fi
23198 cat >conftest.$ac_ext <<_ACEOF
23199 /* confdefs.h.  */
23200 _ACEOF
23201 cat confdefs.h >>conftest.$ac_ext
23202 cat >>conftest.$ac_ext <<_ACEOF
23203 /* end confdefs.h.  */
23204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23205    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23206 #define $ac_func innocuous_$ac_func
23207
23208 /* System header to define __stub macros and hopefully few prototypes,
23209     which can conflict with char $ac_func (); below.
23210     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23211     <limits.h> exists even on freestanding compilers.  */
23212
23213 #ifdef __STDC__
23214 # include <limits.h>
23215 #else
23216 # include <assert.h>
23217 #endif
23218
23219 #undef $ac_func
23220
23221 /* Override any gcc2 internal prototype to avoid an error.  */
23222 #ifdef __cplusplus
23223 extern "C"
23224 {
23225 #endif
23226 /* We use char because int might match the return type of a gcc2
23227    builtin and then its argument prototype would still apply.  */
23228 char $ac_func ();
23229 /* The GNU C library defines this for functions which it implements
23230     to always fail with ENOSYS.  Some functions are actually named
23231     something starting with __ and the normal name is an alias.  */
23232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23233 choke me
23234 #else
23235 char (*f) () = $ac_func;
23236 #endif
23237 #ifdef __cplusplus
23238 }
23239 #endif
23240
23241 int
23242 main ()
23243 {
23244 return f != $ac_func;
23245   ;
23246   return 0;
23247 }
23248 _ACEOF
23249 rm -f conftest.$ac_objext conftest$ac_exeext
23250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23251   (eval $ac_link) 2>conftest.er1
23252   ac_status=$?
23253   grep -v '^ *+' conftest.er1 >conftest.err
23254   rm -f conftest.er1
23255   cat conftest.err >&5
23256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23257   (exit $ac_status); } &&
23258          { ac_try='test -z "$ac_c_werror_flag"
23259                          || test ! -s conftest.err'
23260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23261   (eval $ac_try) 2>&5
23262   ac_status=$?
23263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23264   (exit $ac_status); }; } &&
23265          { ac_try='test -s conftest$ac_exeext'
23266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23267   (eval $ac_try) 2>&5
23268   ac_status=$?
23269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23270   (exit $ac_status); }; }; then
23271   eval "$as_ac_var=yes"
23272 else
23273   echo "$as_me: failed program was:" >&5
23274 sed 's/^/| /' conftest.$ac_ext >&5
23275
23276 eval "$as_ac_var=no"
23277 fi
23278 rm -f conftest.err conftest.$ac_objext \
23279       conftest$ac_exeext conftest.$ac_ext
23280 fi
23281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23283 if test `eval echo '${'$as_ac_var'}'` = yes; then
23284   cat >>confdefs.h <<_ACEOF
23285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23286 _ACEOF
23287
23288 fi
23289 done
23290
23291     fi
23292   fi
23293
23294
23295
23296   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
23297 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
23298   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
23299     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
23300   echo $ECHO_N "(cached) $ECHO_C" >&6
23301 else
23302
23303
23304
23305       ac_ext=cc
23306 ac_cpp='$CXXCPP $CPPFLAGS'
23307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23310
23311       cat >conftest.$ac_ext <<_ACEOF
23312 /* confdefs.h.  */
23313 _ACEOF
23314 cat confdefs.h >>conftest.$ac_ext
23315 cat >>conftest.$ac_ext <<_ACEOF
23316 /* end confdefs.h.  */
23317 #include <math.h>
23318                       #ifdef HAVE_IEEEFP_H
23319                       #include <ieeefp.h>
23320                       #endif
23321
23322 int
23323 main ()
23324 {
23325  sqrtl(0);
23326   ;
23327   return 0;
23328 }
23329 _ACEOF
23330 rm -f conftest.$ac_objext
23331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23332   (eval $ac_compile) 2>conftest.er1
23333   ac_status=$?
23334   grep -v '^ *+' conftest.er1 >conftest.err
23335   rm -f conftest.er1
23336   cat conftest.err >&5
23337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23338   (exit $ac_status); } &&
23339          { ac_try='test -z "$ac_cxx_werror_flag"
23340                          || test ! -s conftest.err'
23341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23342   (eval $ac_try) 2>&5
23343   ac_status=$?
23344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23345   (exit $ac_status); }; } &&
23346          { ac_try='test -s conftest.$ac_objext'
23347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23348   (eval $ac_try) 2>&5
23349   ac_status=$?
23350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23351   (exit $ac_status); }; }; then
23352   glibcxx_cv_func_sqrtl_use=yes
23353 else
23354   echo "$as_me: failed program was:" >&5
23355 sed 's/^/| /' conftest.$ac_ext >&5
23356
23357 glibcxx_cv_func_sqrtl_use=no
23358 fi
23359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23360       ac_ext=c
23361 ac_cpp='$CPP $CPPFLAGS'
23362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23365
23366
23367 fi
23368
23369   fi
23370   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
23371 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
23372
23373   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
23374
23375 for ac_func in sqrtl
23376 do
23377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23378 echo "$as_me:$LINENO: checking for $ac_func" >&5
23379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23380 if eval "test \"\${$as_ac_var+set}\" = set"; then
23381   echo $ECHO_N "(cached) $ECHO_C" >&6
23382 else
23383   if test x$gcc_no_link = xyes; then
23384   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23386    { (exit 1); exit 1; }; }
23387 fi
23388 cat >conftest.$ac_ext <<_ACEOF
23389 /* confdefs.h.  */
23390 _ACEOF
23391 cat confdefs.h >>conftest.$ac_ext
23392 cat >>conftest.$ac_ext <<_ACEOF
23393 /* end confdefs.h.  */
23394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23395    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23396 #define $ac_func innocuous_$ac_func
23397
23398 /* System header to define __stub macros and hopefully few prototypes,
23399     which can conflict with char $ac_func (); below.
23400     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23401     <limits.h> exists even on freestanding compilers.  */
23402
23403 #ifdef __STDC__
23404 # include <limits.h>
23405 #else
23406 # include <assert.h>
23407 #endif
23408
23409 #undef $ac_func
23410
23411 /* Override any gcc2 internal prototype to avoid an error.  */
23412 #ifdef __cplusplus
23413 extern "C"
23414 {
23415 #endif
23416 /* We use char because int might match the return type of a gcc2
23417    builtin and then its argument prototype would still apply.  */
23418 char $ac_func ();
23419 /* The GNU C library defines this for functions which it implements
23420     to always fail with ENOSYS.  Some functions are actually named
23421     something starting with __ and the normal name is an alias.  */
23422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23423 choke me
23424 #else
23425 char (*f) () = $ac_func;
23426 #endif
23427 #ifdef __cplusplus
23428 }
23429 #endif
23430
23431 int
23432 main ()
23433 {
23434 return f != $ac_func;
23435   ;
23436   return 0;
23437 }
23438 _ACEOF
23439 rm -f conftest.$ac_objext conftest$ac_exeext
23440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23441   (eval $ac_link) 2>conftest.er1
23442   ac_status=$?
23443   grep -v '^ *+' conftest.er1 >conftest.err
23444   rm -f conftest.er1
23445   cat conftest.err >&5
23446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23447   (exit $ac_status); } &&
23448          { ac_try='test -z "$ac_c_werror_flag"
23449                          || test ! -s conftest.err'
23450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23451   (eval $ac_try) 2>&5
23452   ac_status=$?
23453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23454   (exit $ac_status); }; } &&
23455          { ac_try='test -s conftest$ac_exeext'
23456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23457   (eval $ac_try) 2>&5
23458   ac_status=$?
23459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23460   (exit $ac_status); }; }; then
23461   eval "$as_ac_var=yes"
23462 else
23463   echo "$as_me: failed program was:" >&5
23464 sed 's/^/| /' conftest.$ac_ext >&5
23465
23466 eval "$as_ac_var=no"
23467 fi
23468 rm -f conftest.err conftest.$ac_objext \
23469       conftest$ac_exeext conftest.$ac_ext
23470 fi
23471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23473 if test `eval echo '${'$as_ac_var'}'` = yes; then
23474   cat >>confdefs.h <<_ACEOF
23475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23476 _ACEOF
23477
23478 fi
23479 done
23480
23481   else
23482
23483   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
23484 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
23485   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
23486     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
23487   echo $ECHO_N "(cached) $ECHO_C" >&6
23488 else
23489
23490
23491
23492       ac_ext=cc
23493 ac_cpp='$CXXCPP $CPPFLAGS'
23494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23497
23498       cat >conftest.$ac_ext <<_ACEOF
23499 /* confdefs.h.  */
23500 _ACEOF
23501 cat confdefs.h >>conftest.$ac_ext
23502 cat >>conftest.$ac_ext <<_ACEOF
23503 /* end confdefs.h.  */
23504 #include <math.h>
23505                       #ifdef HAVE_IEEEFP_H
23506                       #include <ieeefp.h>
23507                       #endif
23508
23509 int
23510 main ()
23511 {
23512  _sqrtl(0);
23513   ;
23514   return 0;
23515 }
23516 _ACEOF
23517 rm -f conftest.$ac_objext
23518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23519   (eval $ac_compile) 2>conftest.er1
23520   ac_status=$?
23521   grep -v '^ *+' conftest.er1 >conftest.err
23522   rm -f conftest.er1
23523   cat conftest.err >&5
23524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23525   (exit $ac_status); } &&
23526          { ac_try='test -z "$ac_cxx_werror_flag"
23527                          || test ! -s conftest.err'
23528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23529   (eval $ac_try) 2>&5
23530   ac_status=$?
23531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23532   (exit $ac_status); }; } &&
23533          { ac_try='test -s conftest.$ac_objext'
23534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23535   (eval $ac_try) 2>&5
23536   ac_status=$?
23537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23538   (exit $ac_status); }; }; then
23539   glibcxx_cv_func__sqrtl_use=yes
23540 else
23541   echo "$as_me: failed program was:" >&5
23542 sed 's/^/| /' conftest.$ac_ext >&5
23543
23544 glibcxx_cv_func__sqrtl_use=no
23545 fi
23546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23547       ac_ext=c
23548 ac_cpp='$CPP $CPPFLAGS'
23549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23552
23553
23554 fi
23555
23556   fi
23557   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
23558 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
23559
23560     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
23561
23562 for ac_func in _sqrtl
23563 do
23564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23565 echo "$as_me:$LINENO: checking for $ac_func" >&5
23566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23567 if eval "test \"\${$as_ac_var+set}\" = set"; then
23568   echo $ECHO_N "(cached) $ECHO_C" >&6
23569 else
23570   if test x$gcc_no_link = xyes; then
23571   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23573    { (exit 1); exit 1; }; }
23574 fi
23575 cat >conftest.$ac_ext <<_ACEOF
23576 /* confdefs.h.  */
23577 _ACEOF
23578 cat confdefs.h >>conftest.$ac_ext
23579 cat >>conftest.$ac_ext <<_ACEOF
23580 /* end confdefs.h.  */
23581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23582    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23583 #define $ac_func innocuous_$ac_func
23584
23585 /* System header to define __stub macros and hopefully few prototypes,
23586     which can conflict with char $ac_func (); below.
23587     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23588     <limits.h> exists even on freestanding compilers.  */
23589
23590 #ifdef __STDC__
23591 # include <limits.h>
23592 #else
23593 # include <assert.h>
23594 #endif
23595
23596 #undef $ac_func
23597
23598 /* Override any gcc2 internal prototype to avoid an error.  */
23599 #ifdef __cplusplus
23600 extern "C"
23601 {
23602 #endif
23603 /* We use char because int might match the return type of a gcc2
23604    builtin and then its argument prototype would still apply.  */
23605 char $ac_func ();
23606 /* The GNU C library defines this for functions which it implements
23607     to always fail with ENOSYS.  Some functions are actually named
23608     something starting with __ and the normal name is an alias.  */
23609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23610 choke me
23611 #else
23612 char (*f) () = $ac_func;
23613 #endif
23614 #ifdef __cplusplus
23615 }
23616 #endif
23617
23618 int
23619 main ()
23620 {
23621 return f != $ac_func;
23622   ;
23623   return 0;
23624 }
23625 _ACEOF
23626 rm -f conftest.$ac_objext conftest$ac_exeext
23627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23628   (eval $ac_link) 2>conftest.er1
23629   ac_status=$?
23630   grep -v '^ *+' conftest.er1 >conftest.err
23631   rm -f conftest.er1
23632   cat conftest.err >&5
23633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23634   (exit $ac_status); } &&
23635          { ac_try='test -z "$ac_c_werror_flag"
23636                          || test ! -s conftest.err'
23637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23638   (eval $ac_try) 2>&5
23639   ac_status=$?
23640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23641   (exit $ac_status); }; } &&
23642          { ac_try='test -s conftest$ac_exeext'
23643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23644   (eval $ac_try) 2>&5
23645   ac_status=$?
23646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23647   (exit $ac_status); }; }; then
23648   eval "$as_ac_var=yes"
23649 else
23650   echo "$as_me: failed program was:" >&5
23651 sed 's/^/| /' conftest.$ac_ext >&5
23652
23653 eval "$as_ac_var=no"
23654 fi
23655 rm -f conftest.err conftest.$ac_objext \
23656       conftest$ac_exeext conftest.$ac_ext
23657 fi
23658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23660 if test `eval echo '${'$as_ac_var'}'` = yes; then
23661   cat >>confdefs.h <<_ACEOF
23662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23663 _ACEOF
23664
23665 fi
23666 done
23667
23668     fi
23669   fi
23670
23671
23672
23673   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
23674 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
23675   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
23676     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
23677   echo $ECHO_N "(cached) $ECHO_C" >&6
23678 else
23679
23680
23681
23682       ac_ext=cc
23683 ac_cpp='$CXXCPP $CPPFLAGS'
23684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23687
23688       cat >conftest.$ac_ext <<_ACEOF
23689 /* confdefs.h.  */
23690 _ACEOF
23691 cat confdefs.h >>conftest.$ac_ext
23692 cat >>conftest.$ac_ext <<_ACEOF
23693 /* end confdefs.h.  */
23694 #include <math.h>
23695 int
23696 main ()
23697 {
23698  sincosl(0, 0, 0);
23699   ;
23700   return 0;
23701 }
23702 _ACEOF
23703 rm -f conftest.$ac_objext
23704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23705   (eval $ac_compile) 2>conftest.er1
23706   ac_status=$?
23707   grep -v '^ *+' conftest.er1 >conftest.err
23708   rm -f conftest.er1
23709   cat conftest.err >&5
23710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23711   (exit $ac_status); } &&
23712          { ac_try='test -z "$ac_cxx_werror_flag"
23713                          || test ! -s conftest.err'
23714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23715   (eval $ac_try) 2>&5
23716   ac_status=$?
23717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23718   (exit $ac_status); }; } &&
23719          { ac_try='test -s conftest.$ac_objext'
23720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23721   (eval $ac_try) 2>&5
23722   ac_status=$?
23723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23724   (exit $ac_status); }; }; then
23725   glibcxx_cv_func_sincosl_use=yes
23726 else
23727   echo "$as_me: failed program was:" >&5
23728 sed 's/^/| /' conftest.$ac_ext >&5
23729
23730 glibcxx_cv_func_sincosl_use=no
23731 fi
23732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23733       ac_ext=c
23734 ac_cpp='$CPP $CPPFLAGS'
23735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23738
23739
23740 fi
23741
23742   fi
23743   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
23744 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
23745
23746   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
23747
23748 for ac_func in sincosl
23749 do
23750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23751 echo "$as_me:$LINENO: checking for $ac_func" >&5
23752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23753 if eval "test \"\${$as_ac_var+set}\" = set"; then
23754   echo $ECHO_N "(cached) $ECHO_C" >&6
23755 else
23756   if test x$gcc_no_link = xyes; then
23757   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23759    { (exit 1); exit 1; }; }
23760 fi
23761 cat >conftest.$ac_ext <<_ACEOF
23762 /* confdefs.h.  */
23763 _ACEOF
23764 cat confdefs.h >>conftest.$ac_ext
23765 cat >>conftest.$ac_ext <<_ACEOF
23766 /* end confdefs.h.  */
23767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23768    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23769 #define $ac_func innocuous_$ac_func
23770
23771 /* System header to define __stub macros and hopefully few prototypes,
23772     which can conflict with char $ac_func (); below.
23773     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23774     <limits.h> exists even on freestanding compilers.  */
23775
23776 #ifdef __STDC__
23777 # include <limits.h>
23778 #else
23779 # include <assert.h>
23780 #endif
23781
23782 #undef $ac_func
23783
23784 /* Override any gcc2 internal prototype to avoid an error.  */
23785 #ifdef __cplusplus
23786 extern "C"
23787 {
23788 #endif
23789 /* We use char because int might match the return type of a gcc2
23790    builtin and then its argument prototype would still apply.  */
23791 char $ac_func ();
23792 /* The GNU C library defines this for functions which it implements
23793     to always fail with ENOSYS.  Some functions are actually named
23794     something starting with __ and the normal name is an alias.  */
23795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23796 choke me
23797 #else
23798 char (*f) () = $ac_func;
23799 #endif
23800 #ifdef __cplusplus
23801 }
23802 #endif
23803
23804 int
23805 main ()
23806 {
23807 return f != $ac_func;
23808   ;
23809   return 0;
23810 }
23811 _ACEOF
23812 rm -f conftest.$ac_objext conftest$ac_exeext
23813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23814   (eval $ac_link) 2>conftest.er1
23815   ac_status=$?
23816   grep -v '^ *+' conftest.er1 >conftest.err
23817   rm -f conftest.er1
23818   cat conftest.err >&5
23819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23820   (exit $ac_status); } &&
23821          { ac_try='test -z "$ac_c_werror_flag"
23822                          || test ! -s conftest.err'
23823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23824   (eval $ac_try) 2>&5
23825   ac_status=$?
23826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23827   (exit $ac_status); }; } &&
23828          { ac_try='test -s conftest$ac_exeext'
23829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23830   (eval $ac_try) 2>&5
23831   ac_status=$?
23832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23833   (exit $ac_status); }; }; then
23834   eval "$as_ac_var=yes"
23835 else
23836   echo "$as_me: failed program was:" >&5
23837 sed 's/^/| /' conftest.$ac_ext >&5
23838
23839 eval "$as_ac_var=no"
23840 fi
23841 rm -f conftest.err conftest.$ac_objext \
23842       conftest$ac_exeext conftest.$ac_ext
23843 fi
23844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23846 if test `eval echo '${'$as_ac_var'}'` = yes; then
23847   cat >>confdefs.h <<_ACEOF
23848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23849 _ACEOF
23850
23851 fi
23852 done
23853
23854   else
23855
23856   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
23857 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
23858   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
23859     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
23860   echo $ECHO_N "(cached) $ECHO_C" >&6
23861 else
23862
23863
23864
23865       ac_ext=cc
23866 ac_cpp='$CXXCPP $CPPFLAGS'
23867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23870
23871       cat >conftest.$ac_ext <<_ACEOF
23872 /* confdefs.h.  */
23873 _ACEOF
23874 cat confdefs.h >>conftest.$ac_ext
23875 cat >>conftest.$ac_ext <<_ACEOF
23876 /* end confdefs.h.  */
23877 #include <math.h>
23878 int
23879 main ()
23880 {
23881  _sincosl(0, 0, 0);
23882   ;
23883   return 0;
23884 }
23885 _ACEOF
23886 rm -f conftest.$ac_objext
23887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23888   (eval $ac_compile) 2>conftest.er1
23889   ac_status=$?
23890   grep -v '^ *+' conftest.er1 >conftest.err
23891   rm -f conftest.er1
23892   cat conftest.err >&5
23893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23894   (exit $ac_status); } &&
23895          { ac_try='test -z "$ac_cxx_werror_flag"
23896                          || test ! -s conftest.err'
23897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23898   (eval $ac_try) 2>&5
23899   ac_status=$?
23900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23901   (exit $ac_status); }; } &&
23902          { ac_try='test -s conftest.$ac_objext'
23903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23904   (eval $ac_try) 2>&5
23905   ac_status=$?
23906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23907   (exit $ac_status); }; }; then
23908   glibcxx_cv_func__sincosl_use=yes
23909 else
23910   echo "$as_me: failed program was:" >&5
23911 sed 's/^/| /' conftest.$ac_ext >&5
23912
23913 glibcxx_cv_func__sincosl_use=no
23914 fi
23915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23916       ac_ext=c
23917 ac_cpp='$CPP $CPPFLAGS'
23918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23921
23922
23923 fi
23924
23925   fi
23926   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
23927 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
23928
23929     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
23930
23931 for ac_func in _sincosl
23932 do
23933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23934 echo "$as_me:$LINENO: checking for $ac_func" >&5
23935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23936 if eval "test \"\${$as_ac_var+set}\" = set"; then
23937   echo $ECHO_N "(cached) $ECHO_C" >&6
23938 else
23939   if test x$gcc_no_link = xyes; then
23940   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23942    { (exit 1); exit 1; }; }
23943 fi
23944 cat >conftest.$ac_ext <<_ACEOF
23945 /* confdefs.h.  */
23946 _ACEOF
23947 cat confdefs.h >>conftest.$ac_ext
23948 cat >>conftest.$ac_ext <<_ACEOF
23949 /* end confdefs.h.  */
23950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23951    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23952 #define $ac_func innocuous_$ac_func
23953
23954 /* System header to define __stub macros and hopefully few prototypes,
23955     which can conflict with char $ac_func (); below.
23956     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23957     <limits.h> exists even on freestanding compilers.  */
23958
23959 #ifdef __STDC__
23960 # include <limits.h>
23961 #else
23962 # include <assert.h>
23963 #endif
23964
23965 #undef $ac_func
23966
23967 /* Override any gcc2 internal prototype to avoid an error.  */
23968 #ifdef __cplusplus
23969 extern "C"
23970 {
23971 #endif
23972 /* We use char because int might match the return type of a gcc2
23973    builtin and then its argument prototype would still apply.  */
23974 char $ac_func ();
23975 /* The GNU C library defines this for functions which it implements
23976     to always fail with ENOSYS.  Some functions are actually named
23977     something starting with __ and the normal name is an alias.  */
23978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23979 choke me
23980 #else
23981 char (*f) () = $ac_func;
23982 #endif
23983 #ifdef __cplusplus
23984 }
23985 #endif
23986
23987 int
23988 main ()
23989 {
23990 return f != $ac_func;
23991   ;
23992   return 0;
23993 }
23994 _ACEOF
23995 rm -f conftest.$ac_objext conftest$ac_exeext
23996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23997   (eval $ac_link) 2>conftest.er1
23998   ac_status=$?
23999   grep -v '^ *+' conftest.er1 >conftest.err
24000   rm -f conftest.er1
24001   cat conftest.err >&5
24002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24003   (exit $ac_status); } &&
24004          { ac_try='test -z "$ac_c_werror_flag"
24005                          || test ! -s conftest.err'
24006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24007   (eval $ac_try) 2>&5
24008   ac_status=$?
24009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24010   (exit $ac_status); }; } &&
24011          { ac_try='test -s conftest$ac_exeext'
24012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24013   (eval $ac_try) 2>&5
24014   ac_status=$?
24015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24016   (exit $ac_status); }; }; then
24017   eval "$as_ac_var=yes"
24018 else
24019   echo "$as_me: failed program was:" >&5
24020 sed 's/^/| /' conftest.$ac_ext >&5
24021
24022 eval "$as_ac_var=no"
24023 fi
24024 rm -f conftest.err conftest.$ac_objext \
24025       conftest$ac_exeext conftest.$ac_ext
24026 fi
24027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24029 if test `eval echo '${'$as_ac_var'}'` = yes; then
24030   cat >>confdefs.h <<_ACEOF
24031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24032 _ACEOF
24033
24034 fi
24035 done
24036
24037     fi
24038   fi
24039
24040
24041
24042   echo "$as_me:$LINENO: checking for finitel declaration" >&5
24043 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
24044   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
24045     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
24046   echo $ECHO_N "(cached) $ECHO_C" >&6
24047 else
24048
24049
24050
24051       ac_ext=cc
24052 ac_cpp='$CXXCPP $CPPFLAGS'
24053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24056
24057       cat >conftest.$ac_ext <<_ACEOF
24058 /* confdefs.h.  */
24059 _ACEOF
24060 cat confdefs.h >>conftest.$ac_ext
24061 cat >>conftest.$ac_ext <<_ACEOF
24062 /* end confdefs.h.  */
24063 #include <math.h>
24064                       #ifdef HAVE_IEEEFP_H
24065                       #include <ieeefp.h>
24066                       #endif
24067
24068 int
24069 main ()
24070 {
24071  finitel(0);
24072   ;
24073   return 0;
24074 }
24075 _ACEOF
24076 rm -f conftest.$ac_objext
24077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24078   (eval $ac_compile) 2>conftest.er1
24079   ac_status=$?
24080   grep -v '^ *+' conftest.er1 >conftest.err
24081   rm -f conftest.er1
24082   cat conftest.err >&5
24083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24084   (exit $ac_status); } &&
24085          { ac_try='test -z "$ac_cxx_werror_flag"
24086                          || test ! -s conftest.err'
24087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24088   (eval $ac_try) 2>&5
24089   ac_status=$?
24090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24091   (exit $ac_status); }; } &&
24092          { ac_try='test -s conftest.$ac_objext'
24093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24094   (eval $ac_try) 2>&5
24095   ac_status=$?
24096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24097   (exit $ac_status); }; }; then
24098   glibcxx_cv_func_finitel_use=yes
24099 else
24100   echo "$as_me: failed program was:" >&5
24101 sed 's/^/| /' conftest.$ac_ext >&5
24102
24103 glibcxx_cv_func_finitel_use=no
24104 fi
24105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24106       ac_ext=c
24107 ac_cpp='$CPP $CPPFLAGS'
24108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24111
24112
24113 fi
24114
24115   fi
24116   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
24117 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
24118
24119   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
24120
24121 for ac_func in finitel
24122 do
24123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24124 echo "$as_me:$LINENO: checking for $ac_func" >&5
24125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24126 if eval "test \"\${$as_ac_var+set}\" = set"; then
24127   echo $ECHO_N "(cached) $ECHO_C" >&6
24128 else
24129   if test x$gcc_no_link = xyes; then
24130   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24132    { (exit 1); exit 1; }; }
24133 fi
24134 cat >conftest.$ac_ext <<_ACEOF
24135 /* confdefs.h.  */
24136 _ACEOF
24137 cat confdefs.h >>conftest.$ac_ext
24138 cat >>conftest.$ac_ext <<_ACEOF
24139 /* end confdefs.h.  */
24140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24141    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24142 #define $ac_func innocuous_$ac_func
24143
24144 /* System header to define __stub macros and hopefully few prototypes,
24145     which can conflict with char $ac_func (); below.
24146     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24147     <limits.h> exists even on freestanding compilers.  */
24148
24149 #ifdef __STDC__
24150 # include <limits.h>
24151 #else
24152 # include <assert.h>
24153 #endif
24154
24155 #undef $ac_func
24156
24157 /* Override any gcc2 internal prototype to avoid an error.  */
24158 #ifdef __cplusplus
24159 extern "C"
24160 {
24161 #endif
24162 /* We use char because int might match the return type of a gcc2
24163    builtin and then its argument prototype would still apply.  */
24164 char $ac_func ();
24165 /* The GNU C library defines this for functions which it implements
24166     to always fail with ENOSYS.  Some functions are actually named
24167     something starting with __ and the normal name is an alias.  */
24168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24169 choke me
24170 #else
24171 char (*f) () = $ac_func;
24172 #endif
24173 #ifdef __cplusplus
24174 }
24175 #endif
24176
24177 int
24178 main ()
24179 {
24180 return f != $ac_func;
24181   ;
24182   return 0;
24183 }
24184 _ACEOF
24185 rm -f conftest.$ac_objext conftest$ac_exeext
24186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24187   (eval $ac_link) 2>conftest.er1
24188   ac_status=$?
24189   grep -v '^ *+' conftest.er1 >conftest.err
24190   rm -f conftest.er1
24191   cat conftest.err >&5
24192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24193   (exit $ac_status); } &&
24194          { ac_try='test -z "$ac_c_werror_flag"
24195                          || test ! -s conftest.err'
24196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24197   (eval $ac_try) 2>&5
24198   ac_status=$?
24199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24200   (exit $ac_status); }; } &&
24201          { ac_try='test -s conftest$ac_exeext'
24202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24203   (eval $ac_try) 2>&5
24204   ac_status=$?
24205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24206   (exit $ac_status); }; }; then
24207   eval "$as_ac_var=yes"
24208 else
24209   echo "$as_me: failed program was:" >&5
24210 sed 's/^/| /' conftest.$ac_ext >&5
24211
24212 eval "$as_ac_var=no"
24213 fi
24214 rm -f conftest.err conftest.$ac_objext \
24215       conftest$ac_exeext conftest.$ac_ext
24216 fi
24217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24219 if test `eval echo '${'$as_ac_var'}'` = yes; then
24220   cat >>confdefs.h <<_ACEOF
24221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24222 _ACEOF
24223
24224 fi
24225 done
24226
24227   else
24228
24229   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
24230 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
24231   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
24232     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
24233   echo $ECHO_N "(cached) $ECHO_C" >&6
24234 else
24235
24236
24237
24238       ac_ext=cc
24239 ac_cpp='$CXXCPP $CPPFLAGS'
24240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24243
24244       cat >conftest.$ac_ext <<_ACEOF
24245 /* confdefs.h.  */
24246 _ACEOF
24247 cat confdefs.h >>conftest.$ac_ext
24248 cat >>conftest.$ac_ext <<_ACEOF
24249 /* end confdefs.h.  */
24250 #include <math.h>
24251                       #ifdef HAVE_IEEEFP_H
24252                       #include <ieeefp.h>
24253                       #endif
24254
24255 int
24256 main ()
24257 {
24258  _finitel(0);
24259   ;
24260   return 0;
24261 }
24262 _ACEOF
24263 rm -f conftest.$ac_objext
24264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24265   (eval $ac_compile) 2>conftest.er1
24266   ac_status=$?
24267   grep -v '^ *+' conftest.er1 >conftest.err
24268   rm -f conftest.er1
24269   cat conftest.err >&5
24270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24271   (exit $ac_status); } &&
24272          { ac_try='test -z "$ac_cxx_werror_flag"
24273                          || test ! -s conftest.err'
24274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24275   (eval $ac_try) 2>&5
24276   ac_status=$?
24277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24278   (exit $ac_status); }; } &&
24279          { ac_try='test -s conftest.$ac_objext'
24280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24281   (eval $ac_try) 2>&5
24282   ac_status=$?
24283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24284   (exit $ac_status); }; }; then
24285   glibcxx_cv_func__finitel_use=yes
24286 else
24287   echo "$as_me: failed program was:" >&5
24288 sed 's/^/| /' conftest.$ac_ext >&5
24289
24290 glibcxx_cv_func__finitel_use=no
24291 fi
24292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24293       ac_ext=c
24294 ac_cpp='$CPP $CPPFLAGS'
24295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24298
24299
24300 fi
24301
24302   fi
24303   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
24304 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
24305
24306     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
24307
24308 for ac_func in _finitel
24309 do
24310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24311 echo "$as_me:$LINENO: checking for $ac_func" >&5
24312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24313 if eval "test \"\${$as_ac_var+set}\" = set"; then
24314   echo $ECHO_N "(cached) $ECHO_C" >&6
24315 else
24316   if test x$gcc_no_link = xyes; then
24317   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24319    { (exit 1); exit 1; }; }
24320 fi
24321 cat >conftest.$ac_ext <<_ACEOF
24322 /* confdefs.h.  */
24323 _ACEOF
24324 cat confdefs.h >>conftest.$ac_ext
24325 cat >>conftest.$ac_ext <<_ACEOF
24326 /* end confdefs.h.  */
24327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24328    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24329 #define $ac_func innocuous_$ac_func
24330
24331 /* System header to define __stub macros and hopefully few prototypes,
24332     which can conflict with char $ac_func (); below.
24333     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24334     <limits.h> exists even on freestanding compilers.  */
24335
24336 #ifdef __STDC__
24337 # include <limits.h>
24338 #else
24339 # include <assert.h>
24340 #endif
24341
24342 #undef $ac_func
24343
24344 /* Override any gcc2 internal prototype to avoid an error.  */
24345 #ifdef __cplusplus
24346 extern "C"
24347 {
24348 #endif
24349 /* We use char because int might match the return type of a gcc2
24350    builtin and then its argument prototype would still apply.  */
24351 char $ac_func ();
24352 /* The GNU C library defines this for functions which it implements
24353     to always fail with ENOSYS.  Some functions are actually named
24354     something starting with __ and the normal name is an alias.  */
24355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24356 choke me
24357 #else
24358 char (*f) () = $ac_func;
24359 #endif
24360 #ifdef __cplusplus
24361 }
24362 #endif
24363
24364 int
24365 main ()
24366 {
24367 return f != $ac_func;
24368   ;
24369   return 0;
24370 }
24371 _ACEOF
24372 rm -f conftest.$ac_objext conftest$ac_exeext
24373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24374   (eval $ac_link) 2>conftest.er1
24375   ac_status=$?
24376   grep -v '^ *+' conftest.er1 >conftest.err
24377   rm -f conftest.er1
24378   cat conftest.err >&5
24379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24380   (exit $ac_status); } &&
24381          { ac_try='test -z "$ac_c_werror_flag"
24382                          || test ! -s conftest.err'
24383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24384   (eval $ac_try) 2>&5
24385   ac_status=$?
24386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24387   (exit $ac_status); }; } &&
24388          { ac_try='test -s conftest$ac_exeext'
24389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24390   (eval $ac_try) 2>&5
24391   ac_status=$?
24392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24393   (exit $ac_status); }; }; then
24394   eval "$as_ac_var=yes"
24395 else
24396   echo "$as_me: failed program was:" >&5
24397 sed 's/^/| /' conftest.$ac_ext >&5
24398
24399 eval "$as_ac_var=no"
24400 fi
24401 rm -f conftest.err conftest.$ac_objext \
24402       conftest$ac_exeext conftest.$ac_ext
24403 fi
24404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24406 if test `eval echo '${'$as_ac_var'}'` = yes; then
24407   cat >>confdefs.h <<_ACEOF
24408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24409 _ACEOF
24410
24411 fi
24412 done
24413
24414     fi
24415   fi
24416
24417
24418
24419
24420   echo "$as_me:$LINENO: checking for _float trig functions" >&5
24421 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
24422   if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
24423   echo $ECHO_N "(cached) $ECHO_C" >&6
24424 else
24425
24426
24427
24428     ac_ext=cc
24429 ac_cpp='$CXXCPP $CPPFLAGS'
24430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24433
24434     cat >conftest.$ac_ext <<_ACEOF
24435 /* confdefs.h.  */
24436 _ACEOF
24437 cat confdefs.h >>conftest.$ac_ext
24438 cat >>conftest.$ac_ext <<_ACEOF
24439 /* end confdefs.h.  */
24440 #include <math.h>
24441 int
24442 main ()
24443 {
24444  `for x in _acosf _asinf _atanf \
24445                                           _cosf _sinf _tanf \
24446                                           _coshf _sinhf _tanhf; do echo "$x (0);"; done`
24447   ;
24448   return 0;
24449 }
24450 _ACEOF
24451 rm -f conftest.$ac_objext
24452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24453   (eval $ac_compile) 2>conftest.er1
24454   ac_status=$?
24455   grep -v '^ *+' conftest.er1 >conftest.err
24456   rm -f conftest.er1
24457   cat conftest.err >&5
24458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24459   (exit $ac_status); } &&
24460          { ac_try='test -z "$ac_cxx_werror_flag"
24461                          || test ! -s conftest.err'
24462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24463   (eval $ac_try) 2>&5
24464   ac_status=$?
24465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24466   (exit $ac_status); }; } &&
24467          { ac_try='test -s conftest.$ac_objext'
24468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24469   (eval $ac_try) 2>&5
24470   ac_status=$?
24471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24472   (exit $ac_status); }; }; then
24473   glibcxx_cv_func__float_trig_use=yes
24474 else
24475   echo "$as_me: failed program was:" >&5
24476 sed 's/^/| /' conftest.$ac_ext >&5
24477
24478 glibcxx_cv_func__float_trig_use=no
24479 fi
24480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24481     ac_ext=c
24482 ac_cpp='$CPP $CPPFLAGS'
24483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24486
24487 fi
24488
24489   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
24490 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
24491   if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
24492
24493
24494
24495
24496
24497
24498
24499
24500
24501 for ac_func in _acosf _asinf _atanf \
24502                                           _cosf _sinf _tanf \
24503                                           _coshf _sinhf _tanhf
24504 do
24505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24506 echo "$as_me:$LINENO: checking for $ac_func" >&5
24507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24508 if eval "test \"\${$as_ac_var+set}\" = set"; then
24509   echo $ECHO_N "(cached) $ECHO_C" >&6
24510 else
24511   if test x$gcc_no_link = xyes; then
24512   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24514    { (exit 1); exit 1; }; }
24515 fi
24516 cat >conftest.$ac_ext <<_ACEOF
24517 /* confdefs.h.  */
24518 _ACEOF
24519 cat confdefs.h >>conftest.$ac_ext
24520 cat >>conftest.$ac_ext <<_ACEOF
24521 /* end confdefs.h.  */
24522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24523    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24524 #define $ac_func innocuous_$ac_func
24525
24526 /* System header to define __stub macros and hopefully few prototypes,
24527     which can conflict with char $ac_func (); below.
24528     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24529     <limits.h> exists even on freestanding compilers.  */
24530
24531 #ifdef __STDC__
24532 # include <limits.h>
24533 #else
24534 # include <assert.h>
24535 #endif
24536
24537 #undef $ac_func
24538
24539 /* Override any gcc2 internal prototype to avoid an error.  */
24540 #ifdef __cplusplus
24541 extern "C"
24542 {
24543 #endif
24544 /* We use char because int might match the return type of a gcc2
24545    builtin and then its argument prototype would still apply.  */
24546 char $ac_func ();
24547 /* The GNU C library defines this for functions which it implements
24548     to always fail with ENOSYS.  Some functions are actually named
24549     something starting with __ and the normal name is an alias.  */
24550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24551 choke me
24552 #else
24553 char (*f) () = $ac_func;
24554 #endif
24555 #ifdef __cplusplus
24556 }
24557 #endif
24558
24559 int
24560 main ()
24561 {
24562 return f != $ac_func;
24563   ;
24564   return 0;
24565 }
24566 _ACEOF
24567 rm -f conftest.$ac_objext conftest$ac_exeext
24568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24569   (eval $ac_link) 2>conftest.er1
24570   ac_status=$?
24571   grep -v '^ *+' conftest.er1 >conftest.err
24572   rm -f conftest.er1
24573   cat conftest.err >&5
24574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24575   (exit $ac_status); } &&
24576          { ac_try='test -z "$ac_c_werror_flag"
24577                          || test ! -s conftest.err'
24578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24579   (eval $ac_try) 2>&5
24580   ac_status=$?
24581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24582   (exit $ac_status); }; } &&
24583          { ac_try='test -s conftest$ac_exeext'
24584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24585   (eval $ac_try) 2>&5
24586   ac_status=$?
24587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24588   (exit $ac_status); }; }; then
24589   eval "$as_ac_var=yes"
24590 else
24591   echo "$as_me: failed program was:" >&5
24592 sed 's/^/| /' conftest.$ac_ext >&5
24593
24594 eval "$as_ac_var=no"
24595 fi
24596 rm -f conftest.err conftest.$ac_objext \
24597       conftest$ac_exeext conftest.$ac_ext
24598 fi
24599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24601 if test `eval echo '${'$as_ac_var'}'` = yes; then
24602   cat >>confdefs.h <<_ACEOF
24603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24604 _ACEOF
24605
24606 fi
24607 done
24608
24609   fi
24610
24611
24612   echo "$as_me:$LINENO: checking for _float round functions" >&5
24613 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
24614   if test "${glibcxx_cv_func__float_round_use+set}" = set; then
24615   echo $ECHO_N "(cached) $ECHO_C" >&6
24616 else
24617
24618
24619
24620     ac_ext=cc
24621 ac_cpp='$CXXCPP $CPPFLAGS'
24622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24625
24626     cat >conftest.$ac_ext <<_ACEOF
24627 /* confdefs.h.  */
24628 _ACEOF
24629 cat confdefs.h >>conftest.$ac_ext
24630 cat >>conftest.$ac_ext <<_ACEOF
24631 /* end confdefs.h.  */
24632 #include <math.h>
24633 int
24634 main ()
24635 {
24636  `for x in _ceilf _floorf; do echo "$x (0);"; done`
24637   ;
24638   return 0;
24639 }
24640 _ACEOF
24641 rm -f conftest.$ac_objext
24642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24643   (eval $ac_compile) 2>conftest.er1
24644   ac_status=$?
24645   grep -v '^ *+' conftest.er1 >conftest.err
24646   rm -f conftest.er1
24647   cat conftest.err >&5
24648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24649   (exit $ac_status); } &&
24650          { ac_try='test -z "$ac_cxx_werror_flag"
24651                          || test ! -s conftest.err'
24652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24653   (eval $ac_try) 2>&5
24654   ac_status=$?
24655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24656   (exit $ac_status); }; } &&
24657          { ac_try='test -s conftest.$ac_objext'
24658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24659   (eval $ac_try) 2>&5
24660   ac_status=$?
24661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24662   (exit $ac_status); }; }; then
24663   glibcxx_cv_func__float_round_use=yes
24664 else
24665   echo "$as_me: failed program was:" >&5
24666 sed 's/^/| /' conftest.$ac_ext >&5
24667
24668 glibcxx_cv_func__float_round_use=no
24669 fi
24670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24671     ac_ext=c
24672 ac_cpp='$CPP $CPPFLAGS'
24673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24676
24677 fi
24678
24679   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
24680 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
24681   if test x$glibcxx_cv_func__float_round_use = x"yes"; then
24682
24683
24684 for ac_func in _ceilf _floorf
24685 do
24686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24687 echo "$as_me:$LINENO: checking for $ac_func" >&5
24688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24689 if eval "test \"\${$as_ac_var+set}\" = set"; then
24690   echo $ECHO_N "(cached) $ECHO_C" >&6
24691 else
24692   if test x$gcc_no_link = xyes; then
24693   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24695    { (exit 1); exit 1; }; }
24696 fi
24697 cat >conftest.$ac_ext <<_ACEOF
24698 /* confdefs.h.  */
24699 _ACEOF
24700 cat confdefs.h >>conftest.$ac_ext
24701 cat >>conftest.$ac_ext <<_ACEOF
24702 /* end confdefs.h.  */
24703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24704    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24705 #define $ac_func innocuous_$ac_func
24706
24707 /* System header to define __stub macros and hopefully few prototypes,
24708     which can conflict with char $ac_func (); below.
24709     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24710     <limits.h> exists even on freestanding compilers.  */
24711
24712 #ifdef __STDC__
24713 # include <limits.h>
24714 #else
24715 # include <assert.h>
24716 #endif
24717
24718 #undef $ac_func
24719
24720 /* Override any gcc2 internal prototype to avoid an error.  */
24721 #ifdef __cplusplus
24722 extern "C"
24723 {
24724 #endif
24725 /* We use char because int might match the return type of a gcc2
24726    builtin and then its argument prototype would still apply.  */
24727 char $ac_func ();
24728 /* The GNU C library defines this for functions which it implements
24729     to always fail with ENOSYS.  Some functions are actually named
24730     something starting with __ and the normal name is an alias.  */
24731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24732 choke me
24733 #else
24734 char (*f) () = $ac_func;
24735 #endif
24736 #ifdef __cplusplus
24737 }
24738 #endif
24739
24740 int
24741 main ()
24742 {
24743 return f != $ac_func;
24744   ;
24745   return 0;
24746 }
24747 _ACEOF
24748 rm -f conftest.$ac_objext conftest$ac_exeext
24749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24750   (eval $ac_link) 2>conftest.er1
24751   ac_status=$?
24752   grep -v '^ *+' conftest.er1 >conftest.err
24753   rm -f conftest.er1
24754   cat conftest.err >&5
24755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24756   (exit $ac_status); } &&
24757          { ac_try='test -z "$ac_c_werror_flag"
24758                          || test ! -s conftest.err'
24759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24760   (eval $ac_try) 2>&5
24761   ac_status=$?
24762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24763   (exit $ac_status); }; } &&
24764          { ac_try='test -s conftest$ac_exeext'
24765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24766   (eval $ac_try) 2>&5
24767   ac_status=$?
24768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24769   (exit $ac_status); }; }; then
24770   eval "$as_ac_var=yes"
24771 else
24772   echo "$as_me: failed program was:" >&5
24773 sed 's/^/| /' conftest.$ac_ext >&5
24774
24775 eval "$as_ac_var=no"
24776 fi
24777 rm -f conftest.err conftest.$ac_objext \
24778       conftest$ac_exeext conftest.$ac_ext
24779 fi
24780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24782 if test `eval echo '${'$as_ac_var'}'` = yes; then
24783   cat >>confdefs.h <<_ACEOF
24784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24785 _ACEOF
24786
24787 fi
24788 done
24789
24790   fi
24791
24792
24793
24794   echo "$as_me:$LINENO: checking for _long double trig functions" >&5
24795 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
24796   if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
24797   echo $ECHO_N "(cached) $ECHO_C" >&6
24798 else
24799
24800
24801
24802     ac_ext=cc
24803 ac_cpp='$CXXCPP $CPPFLAGS'
24804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24807
24808     cat >conftest.$ac_ext <<_ACEOF
24809 /* confdefs.h.  */
24810 _ACEOF
24811 cat confdefs.h >>conftest.$ac_ext
24812 cat >>conftest.$ac_ext <<_ACEOF
24813 /* end confdefs.h.  */
24814 #include <math.h>
24815 int
24816 main ()
24817 {
24818  `for x in _acosl _asinl _atanl \
24819                                           _cosl _sinl _tanl \
24820                                           _coshl _sinhl _tanhl; do echo "$x (0);"; done`
24821   ;
24822   return 0;
24823 }
24824 _ACEOF
24825 rm -f conftest.$ac_objext
24826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24827   (eval $ac_compile) 2>conftest.er1
24828   ac_status=$?
24829   grep -v '^ *+' conftest.er1 >conftest.err
24830   rm -f conftest.er1
24831   cat conftest.err >&5
24832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24833   (exit $ac_status); } &&
24834          { ac_try='test -z "$ac_cxx_werror_flag"
24835                          || test ! -s conftest.err'
24836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24837   (eval $ac_try) 2>&5
24838   ac_status=$?
24839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24840   (exit $ac_status); }; } &&
24841          { ac_try='test -s conftest.$ac_objext'
24842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24843   (eval $ac_try) 2>&5
24844   ac_status=$?
24845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24846   (exit $ac_status); }; }; then
24847   glibcxx_cv_func__long_double_trig_use=yes
24848 else
24849   echo "$as_me: failed program was:" >&5
24850 sed 's/^/| /' conftest.$ac_ext >&5
24851
24852 glibcxx_cv_func__long_double_trig_use=no
24853 fi
24854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24855     ac_ext=c
24856 ac_cpp='$CPP $CPPFLAGS'
24857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24860
24861 fi
24862
24863   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
24864 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
24865   if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24866
24867
24868
24869
24870
24871
24872
24873
24874
24875 for ac_func in _acosl _asinl _atanl \
24876                                           _cosl _sinl _tanl \
24877                                           _coshl _sinhl _tanhl
24878 do
24879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24880 echo "$as_me:$LINENO: checking for $ac_func" >&5
24881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24882 if eval "test \"\${$as_ac_var+set}\" = set"; then
24883   echo $ECHO_N "(cached) $ECHO_C" >&6
24884 else
24885   if test x$gcc_no_link = xyes; then
24886   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24888    { (exit 1); exit 1; }; }
24889 fi
24890 cat >conftest.$ac_ext <<_ACEOF
24891 /* confdefs.h.  */
24892 _ACEOF
24893 cat confdefs.h >>conftest.$ac_ext
24894 cat >>conftest.$ac_ext <<_ACEOF
24895 /* end confdefs.h.  */
24896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24897    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24898 #define $ac_func innocuous_$ac_func
24899
24900 /* System header to define __stub macros and hopefully few prototypes,
24901     which can conflict with char $ac_func (); below.
24902     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24903     <limits.h> exists even on freestanding compilers.  */
24904
24905 #ifdef __STDC__
24906 # include <limits.h>
24907 #else
24908 # include <assert.h>
24909 #endif
24910
24911 #undef $ac_func
24912
24913 /* Override any gcc2 internal prototype to avoid an error.  */
24914 #ifdef __cplusplus
24915 extern "C"
24916 {
24917 #endif
24918 /* We use char because int might match the return type of a gcc2
24919    builtin and then its argument prototype would still apply.  */
24920 char $ac_func ();
24921 /* The GNU C library defines this for functions which it implements
24922     to always fail with ENOSYS.  Some functions are actually named
24923     something starting with __ and the normal name is an alias.  */
24924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24925 choke me
24926 #else
24927 char (*f) () = $ac_func;
24928 #endif
24929 #ifdef __cplusplus
24930 }
24931 #endif
24932
24933 int
24934 main ()
24935 {
24936 return f != $ac_func;
24937   ;
24938   return 0;
24939 }
24940 _ACEOF
24941 rm -f conftest.$ac_objext conftest$ac_exeext
24942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24943   (eval $ac_link) 2>conftest.er1
24944   ac_status=$?
24945   grep -v '^ *+' conftest.er1 >conftest.err
24946   rm -f conftest.er1
24947   cat conftest.err >&5
24948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24949   (exit $ac_status); } &&
24950          { ac_try='test -z "$ac_c_werror_flag"
24951                          || test ! -s conftest.err'
24952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24953   (eval $ac_try) 2>&5
24954   ac_status=$?
24955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24956   (exit $ac_status); }; } &&
24957          { ac_try='test -s conftest$ac_exeext'
24958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24959   (eval $ac_try) 2>&5
24960   ac_status=$?
24961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24962   (exit $ac_status); }; }; then
24963   eval "$as_ac_var=yes"
24964 else
24965   echo "$as_me: failed program was:" >&5
24966 sed 's/^/| /' conftest.$ac_ext >&5
24967
24968 eval "$as_ac_var=no"
24969 fi
24970 rm -f conftest.err conftest.$ac_objext \
24971       conftest$ac_exeext conftest.$ac_ext
24972 fi
24973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24975 if test `eval echo '${'$as_ac_var'}'` = yes; then
24976   cat >>confdefs.h <<_ACEOF
24977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24978 _ACEOF
24979
24980 fi
24981 done
24982
24983   fi
24984
24985
24986   echo "$as_me:$LINENO: checking for _long double round functions" >&5
24987 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
24988   if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
24989   echo $ECHO_N "(cached) $ECHO_C" >&6
24990 else
24991
24992
24993
24994     ac_ext=cc
24995 ac_cpp='$CXXCPP $CPPFLAGS'
24996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24999
25000     cat >conftest.$ac_ext <<_ACEOF
25001 /* confdefs.h.  */
25002 _ACEOF
25003 cat confdefs.h >>conftest.$ac_ext
25004 cat >>conftest.$ac_ext <<_ACEOF
25005 /* end confdefs.h.  */
25006 #include <math.h>
25007 int
25008 main ()
25009 {
25010  `for x in _ceill _floorl; do echo "$x (0);"; done`
25011   ;
25012   return 0;
25013 }
25014 _ACEOF
25015 rm -f conftest.$ac_objext
25016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25017   (eval $ac_compile) 2>conftest.er1
25018   ac_status=$?
25019   grep -v '^ *+' conftest.er1 >conftest.err
25020   rm -f conftest.er1
25021   cat conftest.err >&5
25022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25023   (exit $ac_status); } &&
25024          { ac_try='test -z "$ac_cxx_werror_flag"
25025                          || test ! -s conftest.err'
25026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25027   (eval $ac_try) 2>&5
25028   ac_status=$?
25029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25030   (exit $ac_status); }; } &&
25031          { ac_try='test -s conftest.$ac_objext'
25032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25033   (eval $ac_try) 2>&5
25034   ac_status=$?
25035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25036   (exit $ac_status); }; }; then
25037   glibcxx_cv_func__long_double_round_use=yes
25038 else
25039   echo "$as_me: failed program was:" >&5
25040 sed 's/^/| /' conftest.$ac_ext >&5
25041
25042 glibcxx_cv_func__long_double_round_use=no
25043 fi
25044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25045     ac_ext=c
25046 ac_cpp='$CPP $CPPFLAGS'
25047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25050
25051 fi
25052
25053   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
25054 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
25055   if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25056
25057
25058 for ac_func in _ceill _floorl
25059 do
25060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25061 echo "$as_me:$LINENO: checking for $ac_func" >&5
25062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25063 if eval "test \"\${$as_ac_var+set}\" = set"; then
25064   echo $ECHO_N "(cached) $ECHO_C" >&6
25065 else
25066   if test x$gcc_no_link = xyes; then
25067   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25069    { (exit 1); exit 1; }; }
25070 fi
25071 cat >conftest.$ac_ext <<_ACEOF
25072 /* confdefs.h.  */
25073 _ACEOF
25074 cat confdefs.h >>conftest.$ac_ext
25075 cat >>conftest.$ac_ext <<_ACEOF
25076 /* end confdefs.h.  */
25077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25078    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25079 #define $ac_func innocuous_$ac_func
25080
25081 /* System header to define __stub macros and hopefully few prototypes,
25082     which can conflict with char $ac_func (); below.
25083     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25084     <limits.h> exists even on freestanding compilers.  */
25085
25086 #ifdef __STDC__
25087 # include <limits.h>
25088 #else
25089 # include <assert.h>
25090 #endif
25091
25092 #undef $ac_func
25093
25094 /* Override any gcc2 internal prototype to avoid an error.  */
25095 #ifdef __cplusplus
25096 extern "C"
25097 {
25098 #endif
25099 /* We use char because int might match the return type of a gcc2
25100    builtin and then its argument prototype would still apply.  */
25101 char $ac_func ();
25102 /* The GNU C library defines this for functions which it implements
25103     to always fail with ENOSYS.  Some functions are actually named
25104     something starting with __ and the normal name is an alias.  */
25105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25106 choke me
25107 #else
25108 char (*f) () = $ac_func;
25109 #endif
25110 #ifdef __cplusplus
25111 }
25112 #endif
25113
25114 int
25115 main ()
25116 {
25117 return f != $ac_func;
25118   ;
25119   return 0;
25120 }
25121 _ACEOF
25122 rm -f conftest.$ac_objext conftest$ac_exeext
25123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25124   (eval $ac_link) 2>conftest.er1
25125   ac_status=$?
25126   grep -v '^ *+' conftest.er1 >conftest.err
25127   rm -f conftest.er1
25128   cat conftest.err >&5
25129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25130   (exit $ac_status); } &&
25131          { ac_try='test -z "$ac_c_werror_flag"
25132                          || test ! -s conftest.err'
25133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25134   (eval $ac_try) 2>&5
25135   ac_status=$?
25136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25137   (exit $ac_status); }; } &&
25138          { ac_try='test -s conftest$ac_exeext'
25139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25140   (eval $ac_try) 2>&5
25141   ac_status=$?
25142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25143   (exit $ac_status); }; }; then
25144   eval "$as_ac_var=yes"
25145 else
25146   echo "$as_me: failed program was:" >&5
25147 sed 's/^/| /' conftest.$ac_ext >&5
25148
25149 eval "$as_ac_var=no"
25150 fi
25151 rm -f conftest.err conftest.$ac_objext \
25152       conftest$ac_exeext conftest.$ac_ext
25153 fi
25154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25156 if test `eval echo '${'$as_ac_var'}'` = yes; then
25157   cat >>confdefs.h <<_ACEOF
25158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25159 _ACEOF
25160
25161 fi
25162 done
25163
25164   fi
25165
25166
25167   LIBS="$ac_save_LIBS"
25168   CXXFLAGS="$ac_save_CXXFLAGS"
25169
25170
25171
25172   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25173 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25174   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25175     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25176   echo $ECHO_N "(cached) $ECHO_C" >&6
25177 else
25178
25179
25180
25181       ac_ext=cc
25182 ac_cpp='$CXXCPP $CPPFLAGS'
25183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25186
25187       cat >conftest.$ac_ext <<_ACEOF
25188 /* confdefs.h.  */
25189 _ACEOF
25190 cat confdefs.h >>conftest.$ac_ext
25191 cat >>conftest.$ac_ext <<_ACEOF
25192 /* end confdefs.h.  */
25193 #include <math.h>
25194 int
25195 main ()
25196 {
25197  __builtin_abs(0);
25198   ;
25199   return 0;
25200 }
25201 _ACEOF
25202 rm -f conftest.$ac_objext
25203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25204   (eval $ac_compile) 2>conftest.er1
25205   ac_status=$?
25206   grep -v '^ *+' conftest.er1 >conftest.err
25207   rm -f conftest.er1
25208   cat conftest.err >&5
25209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25210   (exit $ac_status); } &&
25211          { ac_try='test -z "$ac_cxx_werror_flag"
25212                          || test ! -s conftest.err'
25213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25214   (eval $ac_try) 2>&5
25215   ac_status=$?
25216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25217   (exit $ac_status); }; } &&
25218          { ac_try='test -s conftest.$ac_objext'
25219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25220   (eval $ac_try) 2>&5
25221   ac_status=$?
25222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25223   (exit $ac_status); }; }; then
25224   glibcxx_cv_func___builtin_abs_use=yes
25225 else
25226   echo "$as_me: failed program was:" >&5
25227 sed 's/^/| /' conftest.$ac_ext >&5
25228
25229 glibcxx_cv_func___builtin_abs_use=no
25230 fi
25231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25232       ac_ext=c
25233 ac_cpp='$CPP $CPPFLAGS'
25234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25237
25238
25239 fi
25240
25241   fi
25242   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25243 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25244   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25245     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25246 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25247     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25248       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25249   echo $ECHO_N "(cached) $ECHO_C" >&6
25250 else
25251
25252         if test x$gcc_no_link = xyes; then
25253   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25255    { (exit 1); exit 1; }; }
25256 fi
25257 cat >conftest.$ac_ext <<_ACEOF
25258 /* confdefs.h.  */
25259 _ACEOF
25260 cat confdefs.h >>conftest.$ac_ext
25261 cat >>conftest.$ac_ext <<_ACEOF
25262 /* end confdefs.h.  */
25263 #include <math.h>
25264 int
25265 main ()
25266 {
25267  __builtin_abs(0);
25268   ;
25269   return 0;
25270 }
25271 _ACEOF
25272 rm -f conftest.$ac_objext conftest$ac_exeext
25273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25274   (eval $ac_link) 2>conftest.er1
25275   ac_status=$?
25276   grep -v '^ *+' conftest.er1 >conftest.err
25277   rm -f conftest.er1
25278   cat conftest.err >&5
25279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25280   (exit $ac_status); } &&
25281          { ac_try='test -z "$ac_c_werror_flag"
25282                          || test ! -s conftest.err'
25283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25284   (eval $ac_try) 2>&5
25285   ac_status=$?
25286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25287   (exit $ac_status); }; } &&
25288          { ac_try='test -s conftest$ac_exeext'
25289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25290   (eval $ac_try) 2>&5
25291   ac_status=$?
25292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25293   (exit $ac_status); }; }; then
25294   glibcxx_cv_func___builtin_abs_link=yes
25295 else
25296   echo "$as_me: failed program was:" >&5
25297 sed 's/^/| /' conftest.$ac_ext >&5
25298
25299 glibcxx_cv_func___builtin_abs_link=no
25300 fi
25301 rm -f conftest.err conftest.$ac_objext \
25302       conftest$ac_exeext conftest.$ac_ext
25303
25304 fi
25305
25306     fi
25307     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25308 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25309     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25310       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25311
25312 cat >>confdefs.h <<_ACEOF
25313 #define ${ac_tr_func} 1
25314 _ACEOF
25315
25316     fi
25317   fi
25318
25319
25320   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25321 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25322   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25323     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25324   echo $ECHO_N "(cached) $ECHO_C" >&6
25325 else
25326
25327
25328
25329       ac_ext=cc
25330 ac_cpp='$CXXCPP $CPPFLAGS'
25331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25334
25335       cat >conftest.$ac_ext <<_ACEOF
25336 /* confdefs.h.  */
25337 _ACEOF
25338 cat confdefs.h >>conftest.$ac_ext
25339 cat >>conftest.$ac_ext <<_ACEOF
25340 /* end confdefs.h.  */
25341 #include <math.h>
25342 int
25343 main ()
25344 {
25345  __builtin_fabsf(0);
25346   ;
25347   return 0;
25348 }
25349 _ACEOF
25350 rm -f conftest.$ac_objext
25351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25352   (eval $ac_compile) 2>conftest.er1
25353   ac_status=$?
25354   grep -v '^ *+' conftest.er1 >conftest.err
25355   rm -f conftest.er1
25356   cat conftest.err >&5
25357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25358   (exit $ac_status); } &&
25359          { ac_try='test -z "$ac_cxx_werror_flag"
25360                          || test ! -s conftest.err'
25361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25362   (eval $ac_try) 2>&5
25363   ac_status=$?
25364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25365   (exit $ac_status); }; } &&
25366          { ac_try='test -s conftest.$ac_objext'
25367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25368   (eval $ac_try) 2>&5
25369   ac_status=$?
25370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25371   (exit $ac_status); }; }; then
25372   glibcxx_cv_func___builtin_fabsf_use=yes
25373 else
25374   echo "$as_me: failed program was:" >&5
25375 sed 's/^/| /' conftest.$ac_ext >&5
25376
25377 glibcxx_cv_func___builtin_fabsf_use=no
25378 fi
25379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25380       ac_ext=c
25381 ac_cpp='$CPP $CPPFLAGS'
25382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25385
25386
25387 fi
25388
25389   fi
25390   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25391 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25392   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25393     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25394 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25395     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25396       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25397   echo $ECHO_N "(cached) $ECHO_C" >&6
25398 else
25399
25400         if test x$gcc_no_link = xyes; then
25401   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25403    { (exit 1); exit 1; }; }
25404 fi
25405 cat >conftest.$ac_ext <<_ACEOF
25406 /* confdefs.h.  */
25407 _ACEOF
25408 cat confdefs.h >>conftest.$ac_ext
25409 cat >>conftest.$ac_ext <<_ACEOF
25410 /* end confdefs.h.  */
25411 #include <math.h>
25412 int
25413 main ()
25414 {
25415  __builtin_fabsf(0);
25416   ;
25417   return 0;
25418 }
25419 _ACEOF
25420 rm -f conftest.$ac_objext conftest$ac_exeext
25421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25422   (eval $ac_link) 2>conftest.er1
25423   ac_status=$?
25424   grep -v '^ *+' conftest.er1 >conftest.err
25425   rm -f conftest.er1
25426   cat conftest.err >&5
25427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25428   (exit $ac_status); } &&
25429          { ac_try='test -z "$ac_c_werror_flag"
25430                          || test ! -s conftest.err'
25431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25432   (eval $ac_try) 2>&5
25433   ac_status=$?
25434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25435   (exit $ac_status); }; } &&
25436          { ac_try='test -s conftest$ac_exeext'
25437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25438   (eval $ac_try) 2>&5
25439   ac_status=$?
25440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25441   (exit $ac_status); }; }; then
25442   glibcxx_cv_func___builtin_fabsf_link=yes
25443 else
25444   echo "$as_me: failed program was:" >&5
25445 sed 's/^/| /' conftest.$ac_ext >&5
25446
25447 glibcxx_cv_func___builtin_fabsf_link=no
25448 fi
25449 rm -f conftest.err conftest.$ac_objext \
25450       conftest$ac_exeext conftest.$ac_ext
25451
25452 fi
25453
25454     fi
25455     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25456 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25457     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25458       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25459
25460 cat >>confdefs.h <<_ACEOF
25461 #define ${ac_tr_func} 1
25462 _ACEOF
25463
25464     fi
25465   fi
25466
25467
25468   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25469 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25470   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
25471     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
25472   echo $ECHO_N "(cached) $ECHO_C" >&6
25473 else
25474
25475
25476
25477       ac_ext=cc
25478 ac_cpp='$CXXCPP $CPPFLAGS'
25479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25482
25483       cat >conftest.$ac_ext <<_ACEOF
25484 /* confdefs.h.  */
25485 _ACEOF
25486 cat confdefs.h >>conftest.$ac_ext
25487 cat >>conftest.$ac_ext <<_ACEOF
25488 /* end confdefs.h.  */
25489 #include <math.h>
25490 int
25491 main ()
25492 {
25493  __builtin_fabs(0);
25494   ;
25495   return 0;
25496 }
25497 _ACEOF
25498 rm -f conftest.$ac_objext
25499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25500   (eval $ac_compile) 2>conftest.er1
25501   ac_status=$?
25502   grep -v '^ *+' conftest.er1 >conftest.err
25503   rm -f conftest.er1
25504   cat conftest.err >&5
25505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25506   (exit $ac_status); } &&
25507          { ac_try='test -z "$ac_cxx_werror_flag"
25508                          || test ! -s conftest.err'
25509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25510   (eval $ac_try) 2>&5
25511   ac_status=$?
25512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25513   (exit $ac_status); }; } &&
25514          { ac_try='test -s conftest.$ac_objext'
25515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25516   (eval $ac_try) 2>&5
25517   ac_status=$?
25518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25519   (exit $ac_status); }; }; then
25520   glibcxx_cv_func___builtin_fabs_use=yes
25521 else
25522   echo "$as_me: failed program was:" >&5
25523 sed 's/^/| /' conftest.$ac_ext >&5
25524
25525 glibcxx_cv_func___builtin_fabs_use=no
25526 fi
25527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25528       ac_ext=c
25529 ac_cpp='$CPP $CPPFLAGS'
25530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25533
25534
25535 fi
25536
25537   fi
25538   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
25539 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
25540   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
25541     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
25542 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
25543     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
25544       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
25545   echo $ECHO_N "(cached) $ECHO_C" >&6
25546 else
25547
25548         if test x$gcc_no_link = xyes; then
25549   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25551    { (exit 1); exit 1; }; }
25552 fi
25553 cat >conftest.$ac_ext <<_ACEOF
25554 /* confdefs.h.  */
25555 _ACEOF
25556 cat confdefs.h >>conftest.$ac_ext
25557 cat >>conftest.$ac_ext <<_ACEOF
25558 /* end confdefs.h.  */
25559 #include <math.h>
25560 int
25561 main ()
25562 {
25563  __builtin_fabs(0);
25564   ;
25565   return 0;
25566 }
25567 _ACEOF
25568 rm -f conftest.$ac_objext conftest$ac_exeext
25569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25570   (eval $ac_link) 2>conftest.er1
25571   ac_status=$?
25572   grep -v '^ *+' conftest.er1 >conftest.err
25573   rm -f conftest.er1
25574   cat conftest.err >&5
25575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25576   (exit $ac_status); } &&
25577          { ac_try='test -z "$ac_c_werror_flag"
25578                          || test ! -s conftest.err'
25579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25580   (eval $ac_try) 2>&5
25581   ac_status=$?
25582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25583   (exit $ac_status); }; } &&
25584          { ac_try='test -s conftest$ac_exeext'
25585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25586   (eval $ac_try) 2>&5
25587   ac_status=$?
25588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25589   (exit $ac_status); }; }; then
25590   glibcxx_cv_func___builtin_fabs_link=yes
25591 else
25592   echo "$as_me: failed program was:" >&5
25593 sed 's/^/| /' conftest.$ac_ext >&5
25594
25595 glibcxx_cv_func___builtin_fabs_link=no
25596 fi
25597 rm -f conftest.err conftest.$ac_objext \
25598       conftest$ac_exeext conftest.$ac_ext
25599
25600 fi
25601
25602     fi
25603     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
25604 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
25605     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
25606       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25607
25608 cat >>confdefs.h <<_ACEOF
25609 #define ${ac_tr_func} 1
25610 _ACEOF
25611
25612     fi
25613   fi
25614
25615
25616   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
25617 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
25618   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
25619     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
25620   echo $ECHO_N "(cached) $ECHO_C" >&6
25621 else
25622
25623
25624
25625       ac_ext=cc
25626 ac_cpp='$CXXCPP $CPPFLAGS'
25627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25630
25631       cat >conftest.$ac_ext <<_ACEOF
25632 /* confdefs.h.  */
25633 _ACEOF
25634 cat confdefs.h >>conftest.$ac_ext
25635 cat >>conftest.$ac_ext <<_ACEOF
25636 /* end confdefs.h.  */
25637 #include <math.h>
25638 int
25639 main ()
25640 {
25641  __builtin_fabsl(0);
25642   ;
25643   return 0;
25644 }
25645 _ACEOF
25646 rm -f conftest.$ac_objext
25647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25648   (eval $ac_compile) 2>conftest.er1
25649   ac_status=$?
25650   grep -v '^ *+' conftest.er1 >conftest.err
25651   rm -f conftest.er1
25652   cat conftest.err >&5
25653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25654   (exit $ac_status); } &&
25655          { ac_try='test -z "$ac_cxx_werror_flag"
25656                          || test ! -s conftest.err'
25657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25658   (eval $ac_try) 2>&5
25659   ac_status=$?
25660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25661   (exit $ac_status); }; } &&
25662          { ac_try='test -s conftest.$ac_objext'
25663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25664   (eval $ac_try) 2>&5
25665   ac_status=$?
25666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25667   (exit $ac_status); }; }; then
25668   glibcxx_cv_func___builtin_fabsl_use=yes
25669 else
25670   echo "$as_me: failed program was:" >&5
25671 sed 's/^/| /' conftest.$ac_ext >&5
25672
25673 glibcxx_cv_func___builtin_fabsl_use=no
25674 fi
25675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25676       ac_ext=c
25677 ac_cpp='$CPP $CPPFLAGS'
25678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25681
25682
25683 fi
25684
25685   fi
25686   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
25687 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
25688   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
25689     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
25690 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
25691     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
25692       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
25693   echo $ECHO_N "(cached) $ECHO_C" >&6
25694 else
25695
25696         if test x$gcc_no_link = xyes; then
25697   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25699    { (exit 1); exit 1; }; }
25700 fi
25701 cat >conftest.$ac_ext <<_ACEOF
25702 /* confdefs.h.  */
25703 _ACEOF
25704 cat confdefs.h >>conftest.$ac_ext
25705 cat >>conftest.$ac_ext <<_ACEOF
25706 /* end confdefs.h.  */
25707 #include <math.h>
25708 int
25709 main ()
25710 {
25711  __builtin_fabsl(0);
25712   ;
25713   return 0;
25714 }
25715 _ACEOF
25716 rm -f conftest.$ac_objext conftest$ac_exeext
25717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25718   (eval $ac_link) 2>conftest.er1
25719   ac_status=$?
25720   grep -v '^ *+' conftest.er1 >conftest.err
25721   rm -f conftest.er1
25722   cat conftest.err >&5
25723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25724   (exit $ac_status); } &&
25725          { ac_try='test -z "$ac_c_werror_flag"
25726                          || test ! -s conftest.err'
25727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25728   (eval $ac_try) 2>&5
25729   ac_status=$?
25730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25731   (exit $ac_status); }; } &&
25732          { ac_try='test -s conftest$ac_exeext'
25733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25734   (eval $ac_try) 2>&5
25735   ac_status=$?
25736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25737   (exit $ac_status); }; }; then
25738   glibcxx_cv_func___builtin_fabsl_link=yes
25739 else
25740   echo "$as_me: failed program was:" >&5
25741 sed 's/^/| /' conftest.$ac_ext >&5
25742
25743 glibcxx_cv_func___builtin_fabsl_link=no
25744 fi
25745 rm -f conftest.err conftest.$ac_objext \
25746       conftest$ac_exeext conftest.$ac_ext
25747
25748 fi
25749
25750     fi
25751     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
25752 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
25753     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
25754       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25755
25756 cat >>confdefs.h <<_ACEOF
25757 #define ${ac_tr_func} 1
25758 _ACEOF
25759
25760     fi
25761   fi
25762
25763
25764   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
25765 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
25766   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
25767     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
25768   echo $ECHO_N "(cached) $ECHO_C" >&6
25769 else
25770
25771
25772
25773       ac_ext=cc
25774 ac_cpp='$CXXCPP $CPPFLAGS'
25775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25778
25779       cat >conftest.$ac_ext <<_ACEOF
25780 /* confdefs.h.  */
25781 _ACEOF
25782 cat confdefs.h >>conftest.$ac_ext
25783 cat >>conftest.$ac_ext <<_ACEOF
25784 /* end confdefs.h.  */
25785 #include <math.h>
25786 int
25787 main ()
25788 {
25789  __builtin_labs(0);
25790   ;
25791   return 0;
25792 }
25793 _ACEOF
25794 rm -f conftest.$ac_objext
25795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25796   (eval $ac_compile) 2>conftest.er1
25797   ac_status=$?
25798   grep -v '^ *+' conftest.er1 >conftest.err
25799   rm -f conftest.er1
25800   cat conftest.err >&5
25801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25802   (exit $ac_status); } &&
25803          { ac_try='test -z "$ac_cxx_werror_flag"
25804                          || test ! -s conftest.err'
25805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25806   (eval $ac_try) 2>&5
25807   ac_status=$?
25808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25809   (exit $ac_status); }; } &&
25810          { ac_try='test -s conftest.$ac_objext'
25811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25812   (eval $ac_try) 2>&5
25813   ac_status=$?
25814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25815   (exit $ac_status); }; }; then
25816   glibcxx_cv_func___builtin_labs_use=yes
25817 else
25818   echo "$as_me: failed program was:" >&5
25819 sed 's/^/| /' conftest.$ac_ext >&5
25820
25821 glibcxx_cv_func___builtin_labs_use=no
25822 fi
25823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25824       ac_ext=c
25825 ac_cpp='$CPP $CPPFLAGS'
25826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25829
25830
25831 fi
25832
25833   fi
25834   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
25835 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
25836   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
25837     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
25838 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
25839     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
25840       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
25841   echo $ECHO_N "(cached) $ECHO_C" >&6
25842 else
25843
25844         if test x$gcc_no_link = xyes; then
25845   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25847    { (exit 1); exit 1; }; }
25848 fi
25849 cat >conftest.$ac_ext <<_ACEOF
25850 /* confdefs.h.  */
25851 _ACEOF
25852 cat confdefs.h >>conftest.$ac_ext
25853 cat >>conftest.$ac_ext <<_ACEOF
25854 /* end confdefs.h.  */
25855 #include <math.h>
25856 int
25857 main ()
25858 {
25859  __builtin_labs(0);
25860   ;
25861   return 0;
25862 }
25863 _ACEOF
25864 rm -f conftest.$ac_objext conftest$ac_exeext
25865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25866   (eval $ac_link) 2>conftest.er1
25867   ac_status=$?
25868   grep -v '^ *+' conftest.er1 >conftest.err
25869   rm -f conftest.er1
25870   cat conftest.err >&5
25871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25872   (exit $ac_status); } &&
25873          { ac_try='test -z "$ac_c_werror_flag"
25874                          || test ! -s conftest.err'
25875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25876   (eval $ac_try) 2>&5
25877   ac_status=$?
25878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25879   (exit $ac_status); }; } &&
25880          { ac_try='test -s conftest$ac_exeext'
25881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25882   (eval $ac_try) 2>&5
25883   ac_status=$?
25884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25885   (exit $ac_status); }; }; then
25886   glibcxx_cv_func___builtin_labs_link=yes
25887 else
25888   echo "$as_me: failed program was:" >&5
25889 sed 's/^/| /' conftest.$ac_ext >&5
25890
25891 glibcxx_cv_func___builtin_labs_link=no
25892 fi
25893 rm -f conftest.err conftest.$ac_objext \
25894       conftest$ac_exeext conftest.$ac_ext
25895
25896 fi
25897
25898     fi
25899     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
25900 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
25901     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
25902       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25903
25904 cat >>confdefs.h <<_ACEOF
25905 #define ${ac_tr_func} 1
25906 _ACEOF
25907
25908     fi
25909   fi
25910
25911
25912
25913   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
25914 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
25915   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
25916     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
25917   echo $ECHO_N "(cached) $ECHO_C" >&6
25918 else
25919
25920
25921
25922       ac_ext=cc
25923 ac_cpp='$CXXCPP $CPPFLAGS'
25924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25927
25928       cat >conftest.$ac_ext <<_ACEOF
25929 /* confdefs.h.  */
25930 _ACEOF
25931 cat confdefs.h >>conftest.$ac_ext
25932 cat >>conftest.$ac_ext <<_ACEOF
25933 /* end confdefs.h.  */
25934 #include <math.h>
25935 int
25936 main ()
25937 {
25938  __builtin_sqrtf(0);
25939   ;
25940   return 0;
25941 }
25942 _ACEOF
25943 rm -f conftest.$ac_objext
25944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25945   (eval $ac_compile) 2>conftest.er1
25946   ac_status=$?
25947   grep -v '^ *+' conftest.er1 >conftest.err
25948   rm -f conftest.er1
25949   cat conftest.err >&5
25950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25951   (exit $ac_status); } &&
25952          { ac_try='test -z "$ac_cxx_werror_flag"
25953                          || test ! -s conftest.err'
25954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25955   (eval $ac_try) 2>&5
25956   ac_status=$?
25957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25958   (exit $ac_status); }; } &&
25959          { ac_try='test -s conftest.$ac_objext'
25960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25961   (eval $ac_try) 2>&5
25962   ac_status=$?
25963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25964   (exit $ac_status); }; }; then
25965   glibcxx_cv_func___builtin_sqrtf_use=yes
25966 else
25967   echo "$as_me: failed program was:" >&5
25968 sed 's/^/| /' conftest.$ac_ext >&5
25969
25970 glibcxx_cv_func___builtin_sqrtf_use=no
25971 fi
25972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25973       ac_ext=c
25974 ac_cpp='$CPP $CPPFLAGS'
25975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25978
25979
25980 fi
25981
25982   fi
25983   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
25984 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
25985   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
25986     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
25987 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
25988     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
25989       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
25990   echo $ECHO_N "(cached) $ECHO_C" >&6
25991 else
25992
25993         if test x$gcc_no_link = xyes; then
25994   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25996    { (exit 1); exit 1; }; }
25997 fi
25998 cat >conftest.$ac_ext <<_ACEOF
25999 /* confdefs.h.  */
26000 _ACEOF
26001 cat confdefs.h >>conftest.$ac_ext
26002 cat >>conftest.$ac_ext <<_ACEOF
26003 /* end confdefs.h.  */
26004 #include <math.h>
26005 int
26006 main ()
26007 {
26008  __builtin_sqrtf(0);
26009   ;
26010   return 0;
26011 }
26012 _ACEOF
26013 rm -f conftest.$ac_objext conftest$ac_exeext
26014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26015   (eval $ac_link) 2>conftest.er1
26016   ac_status=$?
26017   grep -v '^ *+' conftest.er1 >conftest.err
26018   rm -f conftest.er1
26019   cat conftest.err >&5
26020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26021   (exit $ac_status); } &&
26022          { ac_try='test -z "$ac_c_werror_flag"
26023                          || test ! -s conftest.err'
26024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26025   (eval $ac_try) 2>&5
26026   ac_status=$?
26027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26028   (exit $ac_status); }; } &&
26029          { ac_try='test -s conftest$ac_exeext'
26030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26031   (eval $ac_try) 2>&5
26032   ac_status=$?
26033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26034   (exit $ac_status); }; }; then
26035   glibcxx_cv_func___builtin_sqrtf_link=yes
26036 else
26037   echo "$as_me: failed program was:" >&5
26038 sed 's/^/| /' conftest.$ac_ext >&5
26039
26040 glibcxx_cv_func___builtin_sqrtf_link=no
26041 fi
26042 rm -f conftest.err conftest.$ac_objext \
26043       conftest$ac_exeext conftest.$ac_ext
26044
26045 fi
26046
26047     fi
26048     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26049 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26050     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26051       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26052
26053 cat >>confdefs.h <<_ACEOF
26054 #define ${ac_tr_func} 1
26055 _ACEOF
26056
26057     fi
26058   fi
26059
26060
26061   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26062 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26063   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26064     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26065   echo $ECHO_N "(cached) $ECHO_C" >&6
26066 else
26067
26068
26069
26070       ac_ext=cc
26071 ac_cpp='$CXXCPP $CPPFLAGS'
26072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26075
26076       cat >conftest.$ac_ext <<_ACEOF
26077 /* confdefs.h.  */
26078 _ACEOF
26079 cat confdefs.h >>conftest.$ac_ext
26080 cat >>conftest.$ac_ext <<_ACEOF
26081 /* end confdefs.h.  */
26082 #include <math.h>
26083 int
26084 main ()
26085 {
26086  __builtin_sqrt(0);
26087   ;
26088   return 0;
26089 }
26090 _ACEOF
26091 rm -f conftest.$ac_objext
26092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26093   (eval $ac_compile) 2>conftest.er1
26094   ac_status=$?
26095   grep -v '^ *+' conftest.er1 >conftest.err
26096   rm -f conftest.er1
26097   cat conftest.err >&5
26098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26099   (exit $ac_status); } &&
26100          { ac_try='test -z "$ac_cxx_werror_flag"
26101                          || test ! -s conftest.err'
26102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26103   (eval $ac_try) 2>&5
26104   ac_status=$?
26105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26106   (exit $ac_status); }; } &&
26107          { ac_try='test -s conftest.$ac_objext'
26108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26109   (eval $ac_try) 2>&5
26110   ac_status=$?
26111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26112   (exit $ac_status); }; }; then
26113   glibcxx_cv_func___builtin_sqrt_use=yes
26114 else
26115   echo "$as_me: failed program was:" >&5
26116 sed 's/^/| /' conftest.$ac_ext >&5
26117
26118 glibcxx_cv_func___builtin_sqrt_use=no
26119 fi
26120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26121       ac_ext=c
26122 ac_cpp='$CPP $CPPFLAGS'
26123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26126
26127
26128 fi
26129
26130   fi
26131   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26132 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26133   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26134     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26135 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26136     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26137       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26138   echo $ECHO_N "(cached) $ECHO_C" >&6
26139 else
26140
26141         if test x$gcc_no_link = xyes; then
26142   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26144    { (exit 1); exit 1; }; }
26145 fi
26146 cat >conftest.$ac_ext <<_ACEOF
26147 /* confdefs.h.  */
26148 _ACEOF
26149 cat confdefs.h >>conftest.$ac_ext
26150 cat >>conftest.$ac_ext <<_ACEOF
26151 /* end confdefs.h.  */
26152 #include <math.h>
26153 int
26154 main ()
26155 {
26156  __builtin_sqrt(0);
26157   ;
26158   return 0;
26159 }
26160 _ACEOF
26161 rm -f conftest.$ac_objext conftest$ac_exeext
26162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26163   (eval $ac_link) 2>conftest.er1
26164   ac_status=$?
26165   grep -v '^ *+' conftest.er1 >conftest.err
26166   rm -f conftest.er1
26167   cat conftest.err >&5
26168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26169   (exit $ac_status); } &&
26170          { ac_try='test -z "$ac_c_werror_flag"
26171                          || test ! -s conftest.err'
26172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26173   (eval $ac_try) 2>&5
26174   ac_status=$?
26175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26176   (exit $ac_status); }; } &&
26177          { ac_try='test -s conftest$ac_exeext'
26178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26179   (eval $ac_try) 2>&5
26180   ac_status=$?
26181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26182   (exit $ac_status); }; }; then
26183   glibcxx_cv_func___builtin_sqrt_link=yes
26184 else
26185   echo "$as_me: failed program was:" >&5
26186 sed 's/^/| /' conftest.$ac_ext >&5
26187
26188 glibcxx_cv_func___builtin_sqrt_link=no
26189 fi
26190 rm -f conftest.err conftest.$ac_objext \
26191       conftest$ac_exeext conftest.$ac_ext
26192
26193 fi
26194
26195     fi
26196     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26197 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26198     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26199       ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26200
26201 cat >>confdefs.h <<_ACEOF
26202 #define ${ac_tr_func} 1
26203 _ACEOF
26204
26205     fi
26206   fi
26207
26208
26209   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26210 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26211   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26212     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26213   echo $ECHO_N "(cached) $ECHO_C" >&6
26214 else
26215
26216
26217
26218       ac_ext=cc
26219 ac_cpp='$CXXCPP $CPPFLAGS'
26220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26223
26224       cat >conftest.$ac_ext <<_ACEOF
26225 /* confdefs.h.  */
26226 _ACEOF
26227 cat confdefs.h >>conftest.$ac_ext
26228 cat >>conftest.$ac_ext <<_ACEOF
26229 /* end confdefs.h.  */
26230 #include <math.h>
26231 int
26232 main ()
26233 {
26234  __builtin_sqrtl(0);
26235   ;
26236   return 0;
26237 }
26238 _ACEOF
26239 rm -f conftest.$ac_objext
26240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26241   (eval $ac_compile) 2>conftest.er1
26242   ac_status=$?
26243   grep -v '^ *+' conftest.er1 >conftest.err
26244   rm -f conftest.er1
26245   cat conftest.err >&5
26246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26247   (exit $ac_status); } &&
26248          { ac_try='test -z "$ac_cxx_werror_flag"
26249                          || test ! -s conftest.err'
26250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26251   (eval $ac_try) 2>&5
26252   ac_status=$?
26253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26254   (exit $ac_status); }; } &&
26255          { ac_try='test -s conftest.$ac_objext'
26256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26257   (eval $ac_try) 2>&5
26258   ac_status=$?
26259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26260   (exit $ac_status); }; }; then
26261   glibcxx_cv_func___builtin_sqrtl_use=yes
26262 else
26263   echo "$as_me: failed program was:" >&5
26264 sed 's/^/| /' conftest.$ac_ext >&5
26265
26266 glibcxx_cv_func___builtin_sqrtl_use=no
26267 fi
26268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26269       ac_ext=c
26270 ac_cpp='$CPP $CPPFLAGS'
26271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26274
26275
26276 fi
26277
26278   fi
26279   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26280 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26281   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26282     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26283 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26284     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26285       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26286   echo $ECHO_N "(cached) $ECHO_C" >&6
26287 else
26288
26289         if test x$gcc_no_link = xyes; then
26290   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26292    { (exit 1); exit 1; }; }
26293 fi
26294 cat >conftest.$ac_ext <<_ACEOF
26295 /* confdefs.h.  */
26296 _ACEOF
26297 cat confdefs.h >>conftest.$ac_ext
26298 cat >>conftest.$ac_ext <<_ACEOF
26299 /* end confdefs.h.  */
26300 #include <math.h>
26301 int
26302 main ()
26303 {
26304  __builtin_sqrtl(0);
26305   ;
26306   return 0;
26307 }
26308 _ACEOF
26309 rm -f conftest.$ac_objext conftest$ac_exeext
26310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26311   (eval $ac_link) 2>conftest.er1
26312   ac_status=$?
26313   grep -v '^ *+' conftest.er1 >conftest.err
26314   rm -f conftest.er1
26315   cat conftest.err >&5
26316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26317   (exit $ac_status); } &&
26318          { ac_try='test -z "$ac_c_werror_flag"
26319                          || test ! -s conftest.err'
26320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26321   (eval $ac_try) 2>&5
26322   ac_status=$?
26323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26324   (exit $ac_status); }; } &&
26325          { ac_try='test -s conftest$ac_exeext'
26326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26327   (eval $ac_try) 2>&5
26328   ac_status=$?
26329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26330   (exit $ac_status); }; }; then
26331   glibcxx_cv_func___builtin_sqrtl_link=yes
26332 else
26333   echo "$as_me: failed program was:" >&5
26334 sed 's/^/| /' conftest.$ac_ext >&5
26335
26336 glibcxx_cv_func___builtin_sqrtl_link=no
26337 fi
26338 rm -f conftest.err conftest.$ac_objext \
26339       conftest$ac_exeext conftest.$ac_ext
26340
26341 fi
26342
26343     fi
26344     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26345 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26346     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26347       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26348
26349 cat >>confdefs.h <<_ACEOF
26350 #define ${ac_tr_func} 1
26351 _ACEOF
26352
26353     fi
26354   fi
26355
26356
26357
26358   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26359 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26360   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26361     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26362   echo $ECHO_N "(cached) $ECHO_C" >&6
26363 else
26364
26365
26366
26367       ac_ext=cc
26368 ac_cpp='$CXXCPP $CPPFLAGS'
26369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26372
26373       cat >conftest.$ac_ext <<_ACEOF
26374 /* confdefs.h.  */
26375 _ACEOF
26376 cat confdefs.h >>conftest.$ac_ext
26377 cat >>conftest.$ac_ext <<_ACEOF
26378 /* end confdefs.h.  */
26379 #include <math.h>
26380 int
26381 main ()
26382 {
26383  __builtin_sinf(0);
26384   ;
26385   return 0;
26386 }
26387 _ACEOF
26388 rm -f conftest.$ac_objext
26389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26390   (eval $ac_compile) 2>conftest.er1
26391   ac_status=$?
26392   grep -v '^ *+' conftest.er1 >conftest.err
26393   rm -f conftest.er1
26394   cat conftest.err >&5
26395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26396   (exit $ac_status); } &&
26397          { ac_try='test -z "$ac_cxx_werror_flag"
26398                          || test ! -s conftest.err'
26399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26400   (eval $ac_try) 2>&5
26401   ac_status=$?
26402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26403   (exit $ac_status); }; } &&
26404          { ac_try='test -s conftest.$ac_objext'
26405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26406   (eval $ac_try) 2>&5
26407   ac_status=$?
26408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26409   (exit $ac_status); }; }; then
26410   glibcxx_cv_func___builtin_sinf_use=yes
26411 else
26412   echo "$as_me: failed program was:" >&5
26413 sed 's/^/| /' conftest.$ac_ext >&5
26414
26415 glibcxx_cv_func___builtin_sinf_use=no
26416 fi
26417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26418       ac_ext=c
26419 ac_cpp='$CPP $CPPFLAGS'
26420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26423
26424
26425 fi
26426
26427   fi
26428   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26429 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26430   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26431     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26432 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26433     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26434       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26435   echo $ECHO_N "(cached) $ECHO_C" >&6
26436 else
26437
26438         if test x$gcc_no_link = xyes; then
26439   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26441    { (exit 1); exit 1; }; }
26442 fi
26443 cat >conftest.$ac_ext <<_ACEOF
26444 /* confdefs.h.  */
26445 _ACEOF
26446 cat confdefs.h >>conftest.$ac_ext
26447 cat >>conftest.$ac_ext <<_ACEOF
26448 /* end confdefs.h.  */
26449 #include <math.h>
26450 int
26451 main ()
26452 {
26453  __builtin_sinf(0);
26454   ;
26455   return 0;
26456 }
26457 _ACEOF
26458 rm -f conftest.$ac_objext conftest$ac_exeext
26459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26460   (eval $ac_link) 2>conftest.er1
26461   ac_status=$?
26462   grep -v '^ *+' conftest.er1 >conftest.err
26463   rm -f conftest.er1
26464   cat conftest.err >&5
26465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26466   (exit $ac_status); } &&
26467          { ac_try='test -z "$ac_c_werror_flag"
26468                          || test ! -s conftest.err'
26469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26470   (eval $ac_try) 2>&5
26471   ac_status=$?
26472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26473   (exit $ac_status); }; } &&
26474          { ac_try='test -s conftest$ac_exeext'
26475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26476   (eval $ac_try) 2>&5
26477   ac_status=$?
26478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26479   (exit $ac_status); }; }; then
26480   glibcxx_cv_func___builtin_sinf_link=yes
26481 else
26482   echo "$as_me: failed program was:" >&5
26483 sed 's/^/| /' conftest.$ac_ext >&5
26484
26485 glibcxx_cv_func___builtin_sinf_link=no
26486 fi
26487 rm -f conftest.err conftest.$ac_objext \
26488       conftest$ac_exeext conftest.$ac_ext
26489
26490 fi
26491
26492     fi
26493     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
26494 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
26495     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
26496       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26497
26498 cat >>confdefs.h <<_ACEOF
26499 #define ${ac_tr_func} 1
26500 _ACEOF
26501
26502     fi
26503   fi
26504
26505
26506   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
26507 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
26508   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
26509     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
26510   echo $ECHO_N "(cached) $ECHO_C" >&6
26511 else
26512
26513
26514
26515       ac_ext=cc
26516 ac_cpp='$CXXCPP $CPPFLAGS'
26517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26520
26521       cat >conftest.$ac_ext <<_ACEOF
26522 /* confdefs.h.  */
26523 _ACEOF
26524 cat confdefs.h >>conftest.$ac_ext
26525 cat >>conftest.$ac_ext <<_ACEOF
26526 /* end confdefs.h.  */
26527 #include <math.h>
26528 int
26529 main ()
26530 {
26531  __builtin_sin(0);
26532   ;
26533   return 0;
26534 }
26535 _ACEOF
26536 rm -f conftest.$ac_objext
26537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26538   (eval $ac_compile) 2>conftest.er1
26539   ac_status=$?
26540   grep -v '^ *+' conftest.er1 >conftest.err
26541   rm -f conftest.er1
26542   cat conftest.err >&5
26543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26544   (exit $ac_status); } &&
26545          { ac_try='test -z "$ac_cxx_werror_flag"
26546                          || test ! -s conftest.err'
26547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26548   (eval $ac_try) 2>&5
26549   ac_status=$?
26550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26551   (exit $ac_status); }; } &&
26552          { ac_try='test -s conftest.$ac_objext'
26553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26554   (eval $ac_try) 2>&5
26555   ac_status=$?
26556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26557   (exit $ac_status); }; }; then
26558   glibcxx_cv_func___builtin_sin_use=yes
26559 else
26560   echo "$as_me: failed program was:" >&5
26561 sed 's/^/| /' conftest.$ac_ext >&5
26562
26563 glibcxx_cv_func___builtin_sin_use=no
26564 fi
26565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26566       ac_ext=c
26567 ac_cpp='$CPP $CPPFLAGS'
26568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26571
26572
26573 fi
26574
26575   fi
26576   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
26577 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
26578   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
26579     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
26580 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
26581     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
26582       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
26583   echo $ECHO_N "(cached) $ECHO_C" >&6
26584 else
26585
26586         if test x$gcc_no_link = xyes; then
26587   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26589    { (exit 1); exit 1; }; }
26590 fi
26591 cat >conftest.$ac_ext <<_ACEOF
26592 /* confdefs.h.  */
26593 _ACEOF
26594 cat confdefs.h >>conftest.$ac_ext
26595 cat >>conftest.$ac_ext <<_ACEOF
26596 /* end confdefs.h.  */
26597 #include <math.h>
26598 int
26599 main ()
26600 {
26601  __builtin_sin(0);
26602   ;
26603   return 0;
26604 }
26605 _ACEOF
26606 rm -f conftest.$ac_objext conftest$ac_exeext
26607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26608   (eval $ac_link) 2>conftest.er1
26609   ac_status=$?
26610   grep -v '^ *+' conftest.er1 >conftest.err
26611   rm -f conftest.er1
26612   cat conftest.err >&5
26613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26614   (exit $ac_status); } &&
26615          { ac_try='test -z "$ac_c_werror_flag"
26616                          || test ! -s conftest.err'
26617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26618   (eval $ac_try) 2>&5
26619   ac_status=$?
26620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26621   (exit $ac_status); }; } &&
26622          { ac_try='test -s conftest$ac_exeext'
26623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26624   (eval $ac_try) 2>&5
26625   ac_status=$?
26626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26627   (exit $ac_status); }; }; then
26628   glibcxx_cv_func___builtin_sin_link=yes
26629 else
26630   echo "$as_me: failed program was:" >&5
26631 sed 's/^/| /' conftest.$ac_ext >&5
26632
26633 glibcxx_cv_func___builtin_sin_link=no
26634 fi
26635 rm -f conftest.err conftest.$ac_objext \
26636       conftest$ac_exeext conftest.$ac_ext
26637
26638 fi
26639
26640     fi
26641     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
26642 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
26643     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
26644       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26645
26646 cat >>confdefs.h <<_ACEOF
26647 #define ${ac_tr_func} 1
26648 _ACEOF
26649
26650     fi
26651   fi
26652
26653
26654   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
26655 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
26656   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
26657     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
26658   echo $ECHO_N "(cached) $ECHO_C" >&6
26659 else
26660
26661
26662
26663       ac_ext=cc
26664 ac_cpp='$CXXCPP $CPPFLAGS'
26665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26668
26669       cat >conftest.$ac_ext <<_ACEOF
26670 /* confdefs.h.  */
26671 _ACEOF
26672 cat confdefs.h >>conftest.$ac_ext
26673 cat >>conftest.$ac_ext <<_ACEOF
26674 /* end confdefs.h.  */
26675 #include <math.h>
26676 int
26677 main ()
26678 {
26679  __builtin_sinl(0);
26680   ;
26681   return 0;
26682 }
26683 _ACEOF
26684 rm -f conftest.$ac_objext
26685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26686   (eval $ac_compile) 2>conftest.er1
26687   ac_status=$?
26688   grep -v '^ *+' conftest.er1 >conftest.err
26689   rm -f conftest.er1
26690   cat conftest.err >&5
26691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26692   (exit $ac_status); } &&
26693          { ac_try='test -z "$ac_cxx_werror_flag"
26694                          || test ! -s conftest.err'
26695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26696   (eval $ac_try) 2>&5
26697   ac_status=$?
26698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26699   (exit $ac_status); }; } &&
26700          { ac_try='test -s conftest.$ac_objext'
26701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26702   (eval $ac_try) 2>&5
26703   ac_status=$?
26704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26705   (exit $ac_status); }; }; then
26706   glibcxx_cv_func___builtin_sinl_use=yes
26707 else
26708   echo "$as_me: failed program was:" >&5
26709 sed 's/^/| /' conftest.$ac_ext >&5
26710
26711 glibcxx_cv_func___builtin_sinl_use=no
26712 fi
26713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26714       ac_ext=c
26715 ac_cpp='$CPP $CPPFLAGS'
26716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26719
26720
26721 fi
26722
26723   fi
26724   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
26725 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
26726   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
26727     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
26728 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
26729     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
26730       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
26731   echo $ECHO_N "(cached) $ECHO_C" >&6
26732 else
26733
26734         if test x$gcc_no_link = xyes; then
26735   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26737    { (exit 1); exit 1; }; }
26738 fi
26739 cat >conftest.$ac_ext <<_ACEOF
26740 /* confdefs.h.  */
26741 _ACEOF
26742 cat confdefs.h >>conftest.$ac_ext
26743 cat >>conftest.$ac_ext <<_ACEOF
26744 /* end confdefs.h.  */
26745 #include <math.h>
26746 int
26747 main ()
26748 {
26749  __builtin_sinl(0);
26750   ;
26751   return 0;
26752 }
26753 _ACEOF
26754 rm -f conftest.$ac_objext conftest$ac_exeext
26755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26756   (eval $ac_link) 2>conftest.er1
26757   ac_status=$?
26758   grep -v '^ *+' conftest.er1 >conftest.err
26759   rm -f conftest.er1
26760   cat conftest.err >&5
26761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26762   (exit $ac_status); } &&
26763          { ac_try='test -z "$ac_c_werror_flag"
26764                          || test ! -s conftest.err'
26765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26766   (eval $ac_try) 2>&5
26767   ac_status=$?
26768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26769   (exit $ac_status); }; } &&
26770          { ac_try='test -s conftest$ac_exeext'
26771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26772   (eval $ac_try) 2>&5
26773   ac_status=$?
26774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26775   (exit $ac_status); }; }; then
26776   glibcxx_cv_func___builtin_sinl_link=yes
26777 else
26778   echo "$as_me: failed program was:" >&5
26779 sed 's/^/| /' conftest.$ac_ext >&5
26780
26781 glibcxx_cv_func___builtin_sinl_link=no
26782 fi
26783 rm -f conftest.err conftest.$ac_objext \
26784       conftest$ac_exeext conftest.$ac_ext
26785
26786 fi
26787
26788     fi
26789     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
26790 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
26791     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
26792       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26793
26794 cat >>confdefs.h <<_ACEOF
26795 #define ${ac_tr_func} 1
26796 _ACEOF
26797
26798     fi
26799   fi
26800
26801
26802
26803   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
26804 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
26805   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
26806     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
26807   echo $ECHO_N "(cached) $ECHO_C" >&6
26808 else
26809
26810
26811
26812       ac_ext=cc
26813 ac_cpp='$CXXCPP $CPPFLAGS'
26814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26817
26818       cat >conftest.$ac_ext <<_ACEOF
26819 /* confdefs.h.  */
26820 _ACEOF
26821 cat confdefs.h >>conftest.$ac_ext
26822 cat >>conftest.$ac_ext <<_ACEOF
26823 /* end confdefs.h.  */
26824 #include <math.h>
26825 int
26826 main ()
26827 {
26828  __builtin_cosf(0);
26829   ;
26830   return 0;
26831 }
26832 _ACEOF
26833 rm -f conftest.$ac_objext
26834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26835   (eval $ac_compile) 2>conftest.er1
26836   ac_status=$?
26837   grep -v '^ *+' conftest.er1 >conftest.err
26838   rm -f conftest.er1
26839   cat conftest.err >&5
26840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26841   (exit $ac_status); } &&
26842          { ac_try='test -z "$ac_cxx_werror_flag"
26843                          || test ! -s conftest.err'
26844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26845   (eval $ac_try) 2>&5
26846   ac_status=$?
26847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26848   (exit $ac_status); }; } &&
26849          { ac_try='test -s conftest.$ac_objext'
26850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26851   (eval $ac_try) 2>&5
26852   ac_status=$?
26853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26854   (exit $ac_status); }; }; then
26855   glibcxx_cv_func___builtin_cosf_use=yes
26856 else
26857   echo "$as_me: failed program was:" >&5
26858 sed 's/^/| /' conftest.$ac_ext >&5
26859
26860 glibcxx_cv_func___builtin_cosf_use=no
26861 fi
26862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26863       ac_ext=c
26864 ac_cpp='$CPP $CPPFLAGS'
26865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26868
26869
26870 fi
26871
26872   fi
26873   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
26874 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
26875   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
26876     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
26877 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
26878     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
26879       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
26880   echo $ECHO_N "(cached) $ECHO_C" >&6
26881 else
26882
26883         if test x$gcc_no_link = xyes; then
26884   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26886    { (exit 1); exit 1; }; }
26887 fi
26888 cat >conftest.$ac_ext <<_ACEOF
26889 /* confdefs.h.  */
26890 _ACEOF
26891 cat confdefs.h >>conftest.$ac_ext
26892 cat >>conftest.$ac_ext <<_ACEOF
26893 /* end confdefs.h.  */
26894 #include <math.h>
26895 int
26896 main ()
26897 {
26898  __builtin_cosf(0);
26899   ;
26900   return 0;
26901 }
26902 _ACEOF
26903 rm -f conftest.$ac_objext conftest$ac_exeext
26904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26905   (eval $ac_link) 2>conftest.er1
26906   ac_status=$?
26907   grep -v '^ *+' conftest.er1 >conftest.err
26908   rm -f conftest.er1
26909   cat conftest.err >&5
26910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26911   (exit $ac_status); } &&
26912          { ac_try='test -z "$ac_c_werror_flag"
26913                          || test ! -s conftest.err'
26914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26915   (eval $ac_try) 2>&5
26916   ac_status=$?
26917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26918   (exit $ac_status); }; } &&
26919          { ac_try='test -s conftest$ac_exeext'
26920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26921   (eval $ac_try) 2>&5
26922   ac_status=$?
26923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26924   (exit $ac_status); }; }; then
26925   glibcxx_cv_func___builtin_cosf_link=yes
26926 else
26927   echo "$as_me: failed program was:" >&5
26928 sed 's/^/| /' conftest.$ac_ext >&5
26929
26930 glibcxx_cv_func___builtin_cosf_link=no
26931 fi
26932 rm -f conftest.err conftest.$ac_objext \
26933       conftest$ac_exeext conftest.$ac_ext
26934
26935 fi
26936
26937     fi
26938     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
26939 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
26940     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
26941       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26942
26943 cat >>confdefs.h <<_ACEOF
26944 #define ${ac_tr_func} 1
26945 _ACEOF
26946
26947     fi
26948   fi
26949
26950
26951   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
26952 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
26953   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
26954     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
26955   echo $ECHO_N "(cached) $ECHO_C" >&6
26956 else
26957
26958
26959
26960       ac_ext=cc
26961 ac_cpp='$CXXCPP $CPPFLAGS'
26962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26965
26966       cat >conftest.$ac_ext <<_ACEOF
26967 /* confdefs.h.  */
26968 _ACEOF
26969 cat confdefs.h >>conftest.$ac_ext
26970 cat >>conftest.$ac_ext <<_ACEOF
26971 /* end confdefs.h.  */
26972 #include <math.h>
26973 int
26974 main ()
26975 {
26976  __builtin_cos(0);
26977   ;
26978   return 0;
26979 }
26980 _ACEOF
26981 rm -f conftest.$ac_objext
26982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26983   (eval $ac_compile) 2>conftest.er1
26984   ac_status=$?
26985   grep -v '^ *+' conftest.er1 >conftest.err
26986   rm -f conftest.er1
26987   cat conftest.err >&5
26988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26989   (exit $ac_status); } &&
26990          { ac_try='test -z "$ac_cxx_werror_flag"
26991                          || test ! -s conftest.err'
26992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26993   (eval $ac_try) 2>&5
26994   ac_status=$?
26995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26996   (exit $ac_status); }; } &&
26997          { ac_try='test -s conftest.$ac_objext'
26998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26999   (eval $ac_try) 2>&5
27000   ac_status=$?
27001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27002   (exit $ac_status); }; }; then
27003   glibcxx_cv_func___builtin_cos_use=yes
27004 else
27005   echo "$as_me: failed program was:" >&5
27006 sed 's/^/| /' conftest.$ac_ext >&5
27007
27008 glibcxx_cv_func___builtin_cos_use=no
27009 fi
27010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27011       ac_ext=c
27012 ac_cpp='$CPP $CPPFLAGS'
27013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27016
27017
27018 fi
27019
27020   fi
27021   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27022 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27023   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27024     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27025 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27026     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27027       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27028   echo $ECHO_N "(cached) $ECHO_C" >&6
27029 else
27030
27031         if test x$gcc_no_link = xyes; then
27032   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27034    { (exit 1); exit 1; }; }
27035 fi
27036 cat >conftest.$ac_ext <<_ACEOF
27037 /* confdefs.h.  */
27038 _ACEOF
27039 cat confdefs.h >>conftest.$ac_ext
27040 cat >>conftest.$ac_ext <<_ACEOF
27041 /* end confdefs.h.  */
27042 #include <math.h>
27043 int
27044 main ()
27045 {
27046  __builtin_cos(0);
27047   ;
27048   return 0;
27049 }
27050 _ACEOF
27051 rm -f conftest.$ac_objext conftest$ac_exeext
27052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27053   (eval $ac_link) 2>conftest.er1
27054   ac_status=$?
27055   grep -v '^ *+' conftest.er1 >conftest.err
27056   rm -f conftest.er1
27057   cat conftest.err >&5
27058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27059   (exit $ac_status); } &&
27060          { ac_try='test -z "$ac_c_werror_flag"
27061                          || test ! -s conftest.err'
27062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27063   (eval $ac_try) 2>&5
27064   ac_status=$?
27065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27066   (exit $ac_status); }; } &&
27067          { ac_try='test -s conftest$ac_exeext'
27068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27069   (eval $ac_try) 2>&5
27070   ac_status=$?
27071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27072   (exit $ac_status); }; }; then
27073   glibcxx_cv_func___builtin_cos_link=yes
27074 else
27075   echo "$as_me: failed program was:" >&5
27076 sed 's/^/| /' conftest.$ac_ext >&5
27077
27078 glibcxx_cv_func___builtin_cos_link=no
27079 fi
27080 rm -f conftest.err conftest.$ac_objext \
27081       conftest$ac_exeext conftest.$ac_ext
27082
27083 fi
27084
27085     fi
27086     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27087 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27088     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27089       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27090
27091 cat >>confdefs.h <<_ACEOF
27092 #define ${ac_tr_func} 1
27093 _ACEOF
27094
27095     fi
27096   fi
27097
27098
27099   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27100 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27101   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27102     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27103   echo $ECHO_N "(cached) $ECHO_C" >&6
27104 else
27105
27106
27107
27108       ac_ext=cc
27109 ac_cpp='$CXXCPP $CPPFLAGS'
27110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27113
27114       cat >conftest.$ac_ext <<_ACEOF
27115 /* confdefs.h.  */
27116 _ACEOF
27117 cat confdefs.h >>conftest.$ac_ext
27118 cat >>conftest.$ac_ext <<_ACEOF
27119 /* end confdefs.h.  */
27120 #include <math.h>
27121 int
27122 main ()
27123 {
27124  __builtin_cosl(0);
27125   ;
27126   return 0;
27127 }
27128 _ACEOF
27129 rm -f conftest.$ac_objext
27130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27131   (eval $ac_compile) 2>conftest.er1
27132   ac_status=$?
27133   grep -v '^ *+' conftest.er1 >conftest.err
27134   rm -f conftest.er1
27135   cat conftest.err >&5
27136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27137   (exit $ac_status); } &&
27138          { ac_try='test -z "$ac_cxx_werror_flag"
27139                          || test ! -s conftest.err'
27140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27141   (eval $ac_try) 2>&5
27142   ac_status=$?
27143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27144   (exit $ac_status); }; } &&
27145          { ac_try='test -s conftest.$ac_objext'
27146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27147   (eval $ac_try) 2>&5
27148   ac_status=$?
27149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27150   (exit $ac_status); }; }; then
27151   glibcxx_cv_func___builtin_cosl_use=yes
27152 else
27153   echo "$as_me: failed program was:" >&5
27154 sed 's/^/| /' conftest.$ac_ext >&5
27155
27156 glibcxx_cv_func___builtin_cosl_use=no
27157 fi
27158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27159       ac_ext=c
27160 ac_cpp='$CPP $CPPFLAGS'
27161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27164
27165
27166 fi
27167
27168   fi
27169   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27170 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27171   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27172     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27173 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27174     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27175       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27176   echo $ECHO_N "(cached) $ECHO_C" >&6
27177 else
27178
27179         if test x$gcc_no_link = xyes; then
27180   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27182    { (exit 1); exit 1; }; }
27183 fi
27184 cat >conftest.$ac_ext <<_ACEOF
27185 /* confdefs.h.  */
27186 _ACEOF
27187 cat confdefs.h >>conftest.$ac_ext
27188 cat >>conftest.$ac_ext <<_ACEOF
27189 /* end confdefs.h.  */
27190 #include <math.h>
27191 int
27192 main ()
27193 {
27194  __builtin_cosl(0);
27195   ;
27196   return 0;
27197 }
27198 _ACEOF
27199 rm -f conftest.$ac_objext conftest$ac_exeext
27200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27201   (eval $ac_link) 2>conftest.er1
27202   ac_status=$?
27203   grep -v '^ *+' conftest.er1 >conftest.err
27204   rm -f conftest.er1
27205   cat conftest.err >&5
27206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27207   (exit $ac_status); } &&
27208          { ac_try='test -z "$ac_c_werror_flag"
27209                          || test ! -s conftest.err'
27210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27211   (eval $ac_try) 2>&5
27212   ac_status=$?
27213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27214   (exit $ac_status); }; } &&
27215          { ac_try='test -s conftest$ac_exeext'
27216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27217   (eval $ac_try) 2>&5
27218   ac_status=$?
27219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27220   (exit $ac_status); }; }; then
27221   glibcxx_cv_func___builtin_cosl_link=yes
27222 else
27223   echo "$as_me: failed program was:" >&5
27224 sed 's/^/| /' conftest.$ac_ext >&5
27225
27226 glibcxx_cv_func___builtin_cosl_link=no
27227 fi
27228 rm -f conftest.err conftest.$ac_objext \
27229       conftest$ac_exeext conftest.$ac_ext
27230
27231 fi
27232
27233     fi
27234     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27235 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27236     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27237       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27238
27239 cat >>confdefs.h <<_ACEOF
27240 #define ${ac_tr_func} 1
27241 _ACEOF
27242
27243     fi
27244   fi
27245
27246
27247
27248
27249 echo "$as_me:$LINENO: checking for main in -lm" >&5
27250 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27251 if test "${ac_cv_lib_m_main+set}" = set; then
27252   echo $ECHO_N "(cached) $ECHO_C" >&6
27253 else
27254   ac_check_lib_save_LIBS=$LIBS
27255 LIBS="-lm  $LIBS"
27256 if test x$gcc_no_link = xyes; then
27257   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27259    { (exit 1); exit 1; }; }
27260 fi
27261 cat >conftest.$ac_ext <<_ACEOF
27262 /* confdefs.h.  */
27263 _ACEOF
27264 cat confdefs.h >>conftest.$ac_ext
27265 cat >>conftest.$ac_ext <<_ACEOF
27266 /* end confdefs.h.  */
27267
27268
27269 int
27270 main ()
27271 {
27272 main ();
27273   ;
27274   return 0;
27275 }
27276 _ACEOF
27277 rm -f conftest.$ac_objext conftest$ac_exeext
27278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27279   (eval $ac_link) 2>conftest.er1
27280   ac_status=$?
27281   grep -v '^ *+' conftest.er1 >conftest.err
27282   rm -f conftest.er1
27283   cat conftest.err >&5
27284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27285   (exit $ac_status); } &&
27286          { ac_try='test -z "$ac_c_werror_flag"
27287                          || test ! -s conftest.err'
27288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27289   (eval $ac_try) 2>&5
27290   ac_status=$?
27291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27292   (exit $ac_status); }; } &&
27293          { ac_try='test -s conftest$ac_exeext'
27294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27295   (eval $ac_try) 2>&5
27296   ac_status=$?
27297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27298   (exit $ac_status); }; }; then
27299   ac_cv_lib_m_main=yes
27300 else
27301   echo "$as_me: failed program was:" >&5
27302 sed 's/^/| /' conftest.$ac_ext >&5
27303
27304 ac_cv_lib_m_main=no
27305 fi
27306 rm -f conftest.err conftest.$ac_objext \
27307       conftest$ac_exeext conftest.$ac_ext
27308 LIBS=$ac_check_lib_save_LIBS
27309 fi
27310 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27311 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27312 if test $ac_cv_lib_m_main = yes; then
27313   cat >>confdefs.h <<_ACEOF
27314 #define HAVE_LIBM 1
27315 _ACEOF
27316
27317   LIBS="-lm $LIBS"
27318
27319 fi
27320
27321
27322 for ac_func in copysignf
27323 do
27324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27325 echo "$as_me:$LINENO: checking for $ac_func" >&5
27326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27327 if eval "test \"\${$as_ac_var+set}\" = set"; then
27328   echo $ECHO_N "(cached) $ECHO_C" >&6
27329 else
27330   if test x$gcc_no_link = xyes; then
27331   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27333    { (exit 1); exit 1; }; }
27334 fi
27335 cat >conftest.$ac_ext <<_ACEOF
27336 /* confdefs.h.  */
27337 _ACEOF
27338 cat confdefs.h >>conftest.$ac_ext
27339 cat >>conftest.$ac_ext <<_ACEOF
27340 /* end confdefs.h.  */
27341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27342    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27343 #define $ac_func innocuous_$ac_func
27344
27345 /* System header to define __stub macros and hopefully few prototypes,
27346     which can conflict with char $ac_func (); below.
27347     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27348     <limits.h> exists even on freestanding compilers.  */
27349
27350 #ifdef __STDC__
27351 # include <limits.h>
27352 #else
27353 # include <assert.h>
27354 #endif
27355
27356 #undef $ac_func
27357
27358 /* Override any gcc2 internal prototype to avoid an error.  */
27359 #ifdef __cplusplus
27360 extern "C"
27361 {
27362 #endif
27363 /* We use char because int might match the return type of a gcc2
27364    builtin and then its argument prototype would still apply.  */
27365 char $ac_func ();
27366 /* The GNU C library defines this for functions which it implements
27367     to always fail with ENOSYS.  Some functions are actually named
27368     something starting with __ and the normal name is an alias.  */
27369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27370 choke me
27371 #else
27372 char (*f) () = $ac_func;
27373 #endif
27374 #ifdef __cplusplus
27375 }
27376 #endif
27377
27378 int
27379 main ()
27380 {
27381 return f != $ac_func;
27382   ;
27383   return 0;
27384 }
27385 _ACEOF
27386 rm -f conftest.$ac_objext conftest$ac_exeext
27387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27388   (eval $ac_link) 2>conftest.er1
27389   ac_status=$?
27390   grep -v '^ *+' conftest.er1 >conftest.err
27391   rm -f conftest.er1
27392   cat conftest.err >&5
27393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27394   (exit $ac_status); } &&
27395          { ac_try='test -z "$ac_c_werror_flag"
27396                          || test ! -s conftest.err'
27397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27398   (eval $ac_try) 2>&5
27399   ac_status=$?
27400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27401   (exit $ac_status); }; } &&
27402          { ac_try='test -s conftest$ac_exeext'
27403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27404   (eval $ac_try) 2>&5
27405   ac_status=$?
27406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27407   (exit $ac_status); }; }; then
27408   eval "$as_ac_var=yes"
27409 else
27410   echo "$as_me: failed program was:" >&5
27411 sed 's/^/| /' conftest.$ac_ext >&5
27412
27413 eval "$as_ac_var=no"
27414 fi
27415 rm -f conftest.err conftest.$ac_objext \
27416       conftest$ac_exeext conftest.$ac_ext
27417 fi
27418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27420 if test `eval echo '${'$as_ac_var'}'` = yes; then
27421   cat >>confdefs.h <<_ACEOF
27422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27423 _ACEOF
27424
27425 else
27426   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27427 fi
27428 done
27429
27430
27431
27432 for ac_func in __signbit
27433 do
27434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27435 echo "$as_me:$LINENO: checking for $ac_func" >&5
27436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27437 if eval "test \"\${$as_ac_var+set}\" = set"; then
27438   echo $ECHO_N "(cached) $ECHO_C" >&6
27439 else
27440   if test x$gcc_no_link = xyes; then
27441   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27443    { (exit 1); exit 1; }; }
27444 fi
27445 cat >conftest.$ac_ext <<_ACEOF
27446 /* confdefs.h.  */
27447 _ACEOF
27448 cat confdefs.h >>conftest.$ac_ext
27449 cat >>conftest.$ac_ext <<_ACEOF
27450 /* end confdefs.h.  */
27451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27452    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27453 #define $ac_func innocuous_$ac_func
27454
27455 /* System header to define __stub macros and hopefully few prototypes,
27456     which can conflict with char $ac_func (); below.
27457     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27458     <limits.h> exists even on freestanding compilers.  */
27459
27460 #ifdef __STDC__
27461 # include <limits.h>
27462 #else
27463 # include <assert.h>
27464 #endif
27465
27466 #undef $ac_func
27467
27468 /* Override any gcc2 internal prototype to avoid an error.  */
27469 #ifdef __cplusplus
27470 extern "C"
27471 {
27472 #endif
27473 /* We use char because int might match the return type of a gcc2
27474    builtin and then its argument prototype would still apply.  */
27475 char $ac_func ();
27476 /* The GNU C library defines this for functions which it implements
27477     to always fail with ENOSYS.  Some functions are actually named
27478     something starting with __ and the normal name is an alias.  */
27479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27480 choke me
27481 #else
27482 char (*f) () = $ac_func;
27483 #endif
27484 #ifdef __cplusplus
27485 }
27486 #endif
27487
27488 int
27489 main ()
27490 {
27491 return f != $ac_func;
27492   ;
27493   return 0;
27494 }
27495 _ACEOF
27496 rm -f conftest.$ac_objext conftest$ac_exeext
27497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27498   (eval $ac_link) 2>conftest.er1
27499   ac_status=$?
27500   grep -v '^ *+' conftest.er1 >conftest.err
27501   rm -f conftest.er1
27502   cat conftest.err >&5
27503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27504   (exit $ac_status); } &&
27505          { ac_try='test -z "$ac_c_werror_flag"
27506                          || test ! -s conftest.err'
27507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27508   (eval $ac_try) 2>&5
27509   ac_status=$?
27510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27511   (exit $ac_status); }; } &&
27512          { ac_try='test -s conftest$ac_exeext'
27513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27514   (eval $ac_try) 2>&5
27515   ac_status=$?
27516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27517   (exit $ac_status); }; }; then
27518   eval "$as_ac_var=yes"
27519 else
27520   echo "$as_me: failed program was:" >&5
27521 sed 's/^/| /' conftest.$ac_ext >&5
27522
27523 eval "$as_ac_var=no"
27524 fi
27525 rm -f conftest.err conftest.$ac_objext \
27526       conftest$ac_exeext conftest.$ac_ext
27527 fi
27528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27530 if test `eval echo '${'$as_ac_var'}'` = yes; then
27531   cat >>confdefs.h <<_ACEOF
27532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27533 _ACEOF
27534
27535 else
27536   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
27537 fi
27538 done
27539
27540
27541
27542 for ac_func in __signbitf
27543 do
27544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27545 echo "$as_me:$LINENO: checking for $ac_func" >&5
27546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27547 if eval "test \"\${$as_ac_var+set}\" = set"; then
27548   echo $ECHO_N "(cached) $ECHO_C" >&6
27549 else
27550   if test x$gcc_no_link = xyes; then
27551   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27553    { (exit 1); exit 1; }; }
27554 fi
27555 cat >conftest.$ac_ext <<_ACEOF
27556 /* confdefs.h.  */
27557 _ACEOF
27558 cat confdefs.h >>conftest.$ac_ext
27559 cat >>conftest.$ac_ext <<_ACEOF
27560 /* end confdefs.h.  */
27561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27562    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27563 #define $ac_func innocuous_$ac_func
27564
27565 /* System header to define __stub macros and hopefully few prototypes,
27566     which can conflict with char $ac_func (); below.
27567     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27568     <limits.h> exists even on freestanding compilers.  */
27569
27570 #ifdef __STDC__
27571 # include <limits.h>
27572 #else
27573 # include <assert.h>
27574 #endif
27575
27576 #undef $ac_func
27577
27578 /* Override any gcc2 internal prototype to avoid an error.  */
27579 #ifdef __cplusplus
27580 extern "C"
27581 {
27582 #endif
27583 /* We use char because int might match the return type of a gcc2
27584    builtin and then its argument prototype would still apply.  */
27585 char $ac_func ();
27586 /* The GNU C library defines this for functions which it implements
27587     to always fail with ENOSYS.  Some functions are actually named
27588     something starting with __ and the normal name is an alias.  */
27589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27590 choke me
27591 #else
27592 char (*f) () = $ac_func;
27593 #endif
27594 #ifdef __cplusplus
27595 }
27596 #endif
27597
27598 int
27599 main ()
27600 {
27601 return f != $ac_func;
27602   ;
27603   return 0;
27604 }
27605 _ACEOF
27606 rm -f conftest.$ac_objext conftest$ac_exeext
27607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27608   (eval $ac_link) 2>conftest.er1
27609   ac_status=$?
27610   grep -v '^ *+' conftest.er1 >conftest.err
27611   rm -f conftest.er1
27612   cat conftest.err >&5
27613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27614   (exit $ac_status); } &&
27615          { ac_try='test -z "$ac_c_werror_flag"
27616                          || test ! -s conftest.err'
27617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27618   (eval $ac_try) 2>&5
27619   ac_status=$?
27620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27621   (exit $ac_status); }; } &&
27622          { ac_try='test -s conftest$ac_exeext'
27623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27624   (eval $ac_try) 2>&5
27625   ac_status=$?
27626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27627   (exit $ac_status); }; }; then
27628   eval "$as_ac_var=yes"
27629 else
27630   echo "$as_me: failed program was:" >&5
27631 sed 's/^/| /' conftest.$ac_ext >&5
27632
27633 eval "$as_ac_var=no"
27634 fi
27635 rm -f conftest.err conftest.$ac_objext \
27636       conftest$ac_exeext conftest.$ac_ext
27637 fi
27638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27640 if test `eval echo '${'$as_ac_var'}'` = yes; then
27641   cat >>confdefs.h <<_ACEOF
27642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27643 _ACEOF
27644
27645 else
27646   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
27647 fi
27648 done
27649
27650
27651           if test x$ac_cv_func_copysignl = x"yes"; then
27652
27653 for ac_func in __signbitl
27654 do
27655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27656 echo "$as_me:$LINENO: checking for $ac_func" >&5
27657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27658 if eval "test \"\${$as_ac_var+set}\" = set"; then
27659   echo $ECHO_N "(cached) $ECHO_C" >&6
27660 else
27661   if test x$gcc_no_link = xyes; then
27662   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27664    { (exit 1); exit 1; }; }
27665 fi
27666 cat >conftest.$ac_ext <<_ACEOF
27667 /* confdefs.h.  */
27668 _ACEOF
27669 cat confdefs.h >>conftest.$ac_ext
27670 cat >>conftest.$ac_ext <<_ACEOF
27671 /* end confdefs.h.  */
27672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27673    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27674 #define $ac_func innocuous_$ac_func
27675
27676 /* System header to define __stub macros and hopefully few prototypes,
27677     which can conflict with char $ac_func (); below.
27678     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27679     <limits.h> exists even on freestanding compilers.  */
27680
27681 #ifdef __STDC__
27682 # include <limits.h>
27683 #else
27684 # include <assert.h>
27685 #endif
27686
27687 #undef $ac_func
27688
27689 /* Override any gcc2 internal prototype to avoid an error.  */
27690 #ifdef __cplusplus
27691 extern "C"
27692 {
27693 #endif
27694 /* We use char because int might match the return type of a gcc2
27695    builtin and then its argument prototype would still apply.  */
27696 char $ac_func ();
27697 /* The GNU C library defines this for functions which it implements
27698     to always fail with ENOSYS.  Some functions are actually named
27699     something starting with __ and the normal name is an alias.  */
27700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27701 choke me
27702 #else
27703 char (*f) () = $ac_func;
27704 #endif
27705 #ifdef __cplusplus
27706 }
27707 #endif
27708
27709 int
27710 main ()
27711 {
27712 return f != $ac_func;
27713   ;
27714   return 0;
27715 }
27716 _ACEOF
27717 rm -f conftest.$ac_objext conftest$ac_exeext
27718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27719   (eval $ac_link) 2>conftest.er1
27720   ac_status=$?
27721   grep -v '^ *+' conftest.er1 >conftest.err
27722   rm -f conftest.er1
27723   cat conftest.err >&5
27724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27725   (exit $ac_status); } &&
27726          { ac_try='test -z "$ac_c_werror_flag"
27727                          || test ! -s conftest.err'
27728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27729   (eval $ac_try) 2>&5
27730   ac_status=$?
27731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27732   (exit $ac_status); }; } &&
27733          { ac_try='test -s conftest$ac_exeext'
27734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27735   (eval $ac_try) 2>&5
27736   ac_status=$?
27737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27738   (exit $ac_status); }; }; then
27739   eval "$as_ac_var=yes"
27740 else
27741   echo "$as_me: failed program was:" >&5
27742 sed 's/^/| /' conftest.$ac_ext >&5
27743
27744 eval "$as_ac_var=no"
27745 fi
27746 rm -f conftest.err conftest.$ac_objext \
27747       conftest$ac_exeext conftest.$ac_ext
27748 fi
27749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27751 if test `eval echo '${'$as_ac_var'}'` = yes; then
27752   cat >>confdefs.h <<_ACEOF
27753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27754 _ACEOF
27755
27756 else
27757   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
27758 fi
27759 done
27760
27761   fi
27762
27763   # Used in libmath/Makefile.am.
27764   if test -n "$LIBMATHOBJS"; then
27765     need_libmath=yes
27766   fi
27767
27768
27769
27770   # Test wchar.h for mbstate_t, which is needed for char_traits and
27771   # others even if wchar_t support is not on.
27772   echo "$as_me:$LINENO: checking for mbstate_t" >&5
27773 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
27774   cat >conftest.$ac_ext <<_ACEOF
27775 /* confdefs.h.  */
27776 _ACEOF
27777 cat confdefs.h >>conftest.$ac_ext
27778 cat >>conftest.$ac_ext <<_ACEOF
27779 /* end confdefs.h.  */
27780 #include <wchar.h>
27781 int
27782 main ()
27783 {
27784 mbstate_t teststate;
27785   ;
27786   return 0;
27787 }
27788 _ACEOF
27789 rm -f conftest.$ac_objext
27790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27791   (eval $ac_compile) 2>conftest.er1
27792   ac_status=$?
27793   grep -v '^ *+' conftest.er1 >conftest.err
27794   rm -f conftest.er1
27795   cat conftest.err >&5
27796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27797   (exit $ac_status); } &&
27798          { ac_try='test -z "$ac_c_werror_flag"
27799                          || test ! -s conftest.err'
27800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27801   (eval $ac_try) 2>&5
27802   ac_status=$?
27803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27804   (exit $ac_status); }; } &&
27805          { ac_try='test -s conftest.$ac_objext'
27806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27807   (eval $ac_try) 2>&5
27808   ac_status=$?
27809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27810   (exit $ac_status); }; }; then
27811   have_mbstate_t=yes
27812 else
27813   echo "$as_me: failed program was:" >&5
27814 sed 's/^/| /' conftest.$ac_ext >&5
27815
27816 have_mbstate_t=no
27817 fi
27818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27819   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
27820 echo "${ECHO_T}$have_mbstate_t" >&6
27821   if test x"$have_mbstate_t" = xyes; then
27822     cat >>confdefs.h <<\_ACEOF
27823 #define HAVE_MBSTATE_T 1
27824 _ACEOF
27825
27826   fi
27827
27828   # Sanity check for existence of ISO C99 headers for extended encoding.
27829
27830 for ac_header in wchar.h
27831 do
27832 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27833 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27834   echo "$as_me:$LINENO: checking for $ac_header" >&5
27835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27837   echo $ECHO_N "(cached) $ECHO_C" >&6
27838 fi
27839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27840 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27841 else
27842   # Is the header compilable?
27843 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27844 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27845 cat >conftest.$ac_ext <<_ACEOF
27846 /* confdefs.h.  */
27847 _ACEOF
27848 cat confdefs.h >>conftest.$ac_ext
27849 cat >>conftest.$ac_ext <<_ACEOF
27850 /* end confdefs.h.  */
27851 $ac_includes_default
27852 #include <$ac_header>
27853 _ACEOF
27854 rm -f conftest.$ac_objext
27855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27856   (eval $ac_compile) 2>conftest.er1
27857   ac_status=$?
27858   grep -v '^ *+' conftest.er1 >conftest.err
27859   rm -f conftest.er1
27860   cat conftest.err >&5
27861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27862   (exit $ac_status); } &&
27863          { ac_try='test -z "$ac_c_werror_flag"
27864                          || test ! -s conftest.err'
27865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27866   (eval $ac_try) 2>&5
27867   ac_status=$?
27868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27869   (exit $ac_status); }; } &&
27870          { ac_try='test -s conftest.$ac_objext'
27871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27872   (eval $ac_try) 2>&5
27873   ac_status=$?
27874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27875   (exit $ac_status); }; }; then
27876   ac_header_compiler=yes
27877 else
27878   echo "$as_me: failed program was:" >&5
27879 sed 's/^/| /' conftest.$ac_ext >&5
27880
27881 ac_header_compiler=no
27882 fi
27883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27884 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27885 echo "${ECHO_T}$ac_header_compiler" >&6
27886
27887 # Is the header present?
27888 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27889 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27890 cat >conftest.$ac_ext <<_ACEOF
27891 /* confdefs.h.  */
27892 _ACEOF
27893 cat confdefs.h >>conftest.$ac_ext
27894 cat >>conftest.$ac_ext <<_ACEOF
27895 /* end confdefs.h.  */
27896 #include <$ac_header>
27897 _ACEOF
27898 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27899   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27900   ac_status=$?
27901   grep -v '^ *+' conftest.er1 >conftest.err
27902   rm -f conftest.er1
27903   cat conftest.err >&5
27904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27905   (exit $ac_status); } >/dev/null; then
27906   if test -s conftest.err; then
27907     ac_cpp_err=$ac_c_preproc_warn_flag
27908     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27909   else
27910     ac_cpp_err=
27911   fi
27912 else
27913   ac_cpp_err=yes
27914 fi
27915 if test -z "$ac_cpp_err"; then
27916   ac_header_preproc=yes
27917 else
27918   echo "$as_me: failed program was:" >&5
27919 sed 's/^/| /' conftest.$ac_ext >&5
27920
27921   ac_header_preproc=no
27922 fi
27923 rm -f conftest.err conftest.$ac_ext
27924 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27925 echo "${ECHO_T}$ac_header_preproc" >&6
27926
27927 # So?  What about this header?
27928 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27929   yes:no: )
27930     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27931 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27932     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27933 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27934     ac_header_preproc=yes
27935     ;;
27936   no:yes:* )
27937     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27938 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27939     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
27940 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
27941     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27942 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27943     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
27944 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
27945     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27946 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27947     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27948 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27949     (
27950       cat <<\_ASBOX
27951 ## ----------------------------------------- ##
27952 ## Report this to the package-unused lists.  ##
27953 ## ----------------------------------------- ##
27954 _ASBOX
27955     ) |
27956       sed "s/^/$as_me: WARNING:     /" >&2
27957     ;;
27958 esac
27959 echo "$as_me:$LINENO: checking for $ac_header" >&5
27960 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27961 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27962   echo $ECHO_N "(cached) $ECHO_C" >&6
27963 else
27964   eval "$as_ac_Header=\$ac_header_preproc"
27965 fi
27966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27967 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27968
27969 fi
27970 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27971   cat >>confdefs.h <<_ACEOF
27972 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27973 _ACEOF
27974  ac_has_wchar_h=yes
27975 else
27976   ac_has_wchar_h=no
27977 fi
27978
27979 done
27980
27981
27982 for ac_header in wctype.h
27983 do
27984 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27985 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27986   echo "$as_me:$LINENO: checking for $ac_header" >&5
27987 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27989   echo $ECHO_N "(cached) $ECHO_C" >&6
27990 fi
27991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27992 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27993 else
27994   # Is the header compilable?
27995 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27996 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27997 cat >conftest.$ac_ext <<_ACEOF
27998 /* confdefs.h.  */
27999 _ACEOF
28000 cat confdefs.h >>conftest.$ac_ext
28001 cat >>conftest.$ac_ext <<_ACEOF
28002 /* end confdefs.h.  */
28003 $ac_includes_default
28004 #include <$ac_header>
28005 _ACEOF
28006 rm -f conftest.$ac_objext
28007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28008   (eval $ac_compile) 2>conftest.er1
28009   ac_status=$?
28010   grep -v '^ *+' conftest.er1 >conftest.err
28011   rm -f conftest.er1
28012   cat conftest.err >&5
28013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28014   (exit $ac_status); } &&
28015          { ac_try='test -z "$ac_c_werror_flag"
28016                          || test ! -s conftest.err'
28017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28018   (eval $ac_try) 2>&5
28019   ac_status=$?
28020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28021   (exit $ac_status); }; } &&
28022          { ac_try='test -s conftest.$ac_objext'
28023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28024   (eval $ac_try) 2>&5
28025   ac_status=$?
28026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28027   (exit $ac_status); }; }; then
28028   ac_header_compiler=yes
28029 else
28030   echo "$as_me: failed program was:" >&5
28031 sed 's/^/| /' conftest.$ac_ext >&5
28032
28033 ac_header_compiler=no
28034 fi
28035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28036 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28037 echo "${ECHO_T}$ac_header_compiler" >&6
28038
28039 # Is the header present?
28040 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28041 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28042 cat >conftest.$ac_ext <<_ACEOF
28043 /* confdefs.h.  */
28044 _ACEOF
28045 cat confdefs.h >>conftest.$ac_ext
28046 cat >>conftest.$ac_ext <<_ACEOF
28047 /* end confdefs.h.  */
28048 #include <$ac_header>
28049 _ACEOF
28050 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28051   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28052   ac_status=$?
28053   grep -v '^ *+' conftest.er1 >conftest.err
28054   rm -f conftest.er1
28055   cat conftest.err >&5
28056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28057   (exit $ac_status); } >/dev/null; then
28058   if test -s conftest.err; then
28059     ac_cpp_err=$ac_c_preproc_warn_flag
28060     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28061   else
28062     ac_cpp_err=
28063   fi
28064 else
28065   ac_cpp_err=yes
28066 fi
28067 if test -z "$ac_cpp_err"; then
28068   ac_header_preproc=yes
28069 else
28070   echo "$as_me: failed program was:" >&5
28071 sed 's/^/| /' conftest.$ac_ext >&5
28072
28073   ac_header_preproc=no
28074 fi
28075 rm -f conftest.err conftest.$ac_ext
28076 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28077 echo "${ECHO_T}$ac_header_preproc" >&6
28078
28079 # So?  What about this header?
28080 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28081   yes:no: )
28082     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28083 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28084     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28085 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28086     ac_header_preproc=yes
28087     ;;
28088   no:yes:* )
28089     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28090 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28091     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
28092 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
28093     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28094 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28095     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
28096 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
28097     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28098 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28099     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28100 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28101     (
28102       cat <<\_ASBOX
28103 ## ----------------------------------------- ##
28104 ## Report this to the package-unused lists.  ##
28105 ## ----------------------------------------- ##
28106 _ASBOX
28107     ) |
28108       sed "s/^/$as_me: WARNING:     /" >&2
28109     ;;
28110 esac
28111 echo "$as_me:$LINENO: checking for $ac_header" >&5
28112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28114   echo $ECHO_N "(cached) $ECHO_C" >&6
28115 else
28116   eval "$as_ac_Header=\$ac_header_preproc"
28117 fi
28118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28119 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28120
28121 fi
28122 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28123   cat >>confdefs.h <<_ACEOF
28124 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28125 _ACEOF
28126  ac_has_wctype_h=yes
28127 else
28128   ac_has_wctype_h=no
28129 fi
28130
28131 done
28132
28133
28134   # Only continue checking if the ISO C99 headers exist and support is on.
28135   if test x"$ac_has_wchar_h" = xyes &&
28136      test x"$ac_has_wctype_h" = xyes &&
28137      test x"$enable_c_mbchar" != xno; then
28138
28139     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
28140     # numeric_limits can instantiate type_traits<wchar_t>
28141     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
28142 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
28143     cat >conftest.$ac_ext <<_ACEOF
28144 /* confdefs.h.  */
28145 _ACEOF
28146 cat confdefs.h >>conftest.$ac_ext
28147 cat >>conftest.$ac_ext <<_ACEOF
28148 /* end confdefs.h.  */
28149 #include <wchar.h>
28150 int
28151 main ()
28152 {
28153 int i = WCHAR_MIN; int j = WCHAR_MAX;
28154   ;
28155   return 0;
28156 }
28157 _ACEOF
28158 rm -f conftest.$ac_objext
28159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28160   (eval $ac_compile) 2>conftest.er1
28161   ac_status=$?
28162   grep -v '^ *+' conftest.er1 >conftest.err
28163   rm -f conftest.er1
28164   cat conftest.err >&5
28165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28166   (exit $ac_status); } &&
28167          { ac_try='test -z "$ac_c_werror_flag"
28168                          || test ! -s conftest.err'
28169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28170   (eval $ac_try) 2>&5
28171   ac_status=$?
28172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28173   (exit $ac_status); }; } &&
28174          { ac_try='test -s conftest.$ac_objext'
28175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28176   (eval $ac_try) 2>&5
28177   ac_status=$?
28178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28179   (exit $ac_status); }; }; then
28180   has_wchar_minmax=yes
28181 else
28182   echo "$as_me: failed program was:" >&5
28183 sed 's/^/| /' conftest.$ac_ext >&5
28184
28185 has_wchar_minmax=no
28186 fi
28187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28188     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
28189 echo "${ECHO_T}$has_wchar_minmax" >&6
28190
28191     # Test wchar.h for WEOF, which is what we use to determine whether
28192     # to specialize for char_traits<wchar_t> or not.
28193     echo "$as_me:$LINENO: checking for WEOF" >&5
28194 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
28195     cat >conftest.$ac_ext <<_ACEOF
28196 /* confdefs.h.  */
28197 _ACEOF
28198 cat confdefs.h >>conftest.$ac_ext
28199 cat >>conftest.$ac_ext <<_ACEOF
28200 /* end confdefs.h.  */
28201
28202       #include <wchar.h>
28203       #include <stddef.h>
28204 int
28205 main ()
28206 {
28207 wint_t i = WEOF;
28208   ;
28209   return 0;
28210 }
28211 _ACEOF
28212 rm -f conftest.$ac_objext
28213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28214   (eval $ac_compile) 2>conftest.er1
28215   ac_status=$?
28216   grep -v '^ *+' conftest.er1 >conftest.err
28217   rm -f conftest.er1
28218   cat conftest.err >&5
28219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28220   (exit $ac_status); } &&
28221          { ac_try='test -z "$ac_c_werror_flag"
28222                          || test ! -s conftest.err'
28223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28224   (eval $ac_try) 2>&5
28225   ac_status=$?
28226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28227   (exit $ac_status); }; } &&
28228          { ac_try='test -s conftest.$ac_objext'
28229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28230   (eval $ac_try) 2>&5
28231   ac_status=$?
28232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28233   (exit $ac_status); }; }; then
28234   has_weof=yes
28235 else
28236   echo "$as_me: failed program was:" >&5
28237 sed 's/^/| /' conftest.$ac_ext >&5
28238
28239 has_weof=no
28240 fi
28241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28242     echo "$as_me:$LINENO: result: $has_weof" >&5
28243 echo "${ECHO_T}$has_weof" >&6
28244
28245     # Tests for wide character functions used in char_traits<wchar_t>.
28246     ac_wfuncs=yes
28247
28248
28249
28250
28251
28252
28253 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
28254 do
28255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28256 echo "$as_me:$LINENO: checking for $ac_func" >&5
28257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28258 if eval "test \"\${$as_ac_var+set}\" = set"; then
28259   echo $ECHO_N "(cached) $ECHO_C" >&6
28260 else
28261   if test x$gcc_no_link = xyes; then
28262   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28264    { (exit 1); exit 1; }; }
28265 fi
28266 cat >conftest.$ac_ext <<_ACEOF
28267 /* confdefs.h.  */
28268 _ACEOF
28269 cat confdefs.h >>conftest.$ac_ext
28270 cat >>conftest.$ac_ext <<_ACEOF
28271 /* end confdefs.h.  */
28272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28273    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28274 #define $ac_func innocuous_$ac_func
28275
28276 /* System header to define __stub macros and hopefully few prototypes,
28277     which can conflict with char $ac_func (); below.
28278     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28279     <limits.h> exists even on freestanding compilers.  */
28280
28281 #ifdef __STDC__
28282 # include <limits.h>
28283 #else
28284 # include <assert.h>
28285 #endif
28286
28287 #undef $ac_func
28288
28289 /* Override any gcc2 internal prototype to avoid an error.  */
28290 #ifdef __cplusplus
28291 extern "C"
28292 {
28293 #endif
28294 /* We use char because int might match the return type of a gcc2
28295    builtin and then its argument prototype would still apply.  */
28296 char $ac_func ();
28297 /* The GNU C library defines this for functions which it implements
28298     to always fail with ENOSYS.  Some functions are actually named
28299     something starting with __ and the normal name is an alias.  */
28300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28301 choke me
28302 #else
28303 char (*f) () = $ac_func;
28304 #endif
28305 #ifdef __cplusplus
28306 }
28307 #endif
28308
28309 int
28310 main ()
28311 {
28312 return f != $ac_func;
28313   ;
28314   return 0;
28315 }
28316 _ACEOF
28317 rm -f conftest.$ac_objext conftest$ac_exeext
28318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28319   (eval $ac_link) 2>conftest.er1
28320   ac_status=$?
28321   grep -v '^ *+' conftest.er1 >conftest.err
28322   rm -f conftest.er1
28323   cat conftest.err >&5
28324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28325   (exit $ac_status); } &&
28326          { ac_try='test -z "$ac_c_werror_flag"
28327                          || test ! -s conftest.err'
28328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28329   (eval $ac_try) 2>&5
28330   ac_status=$?
28331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28332   (exit $ac_status); }; } &&
28333          { ac_try='test -s conftest$ac_exeext'
28334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28335   (eval $ac_try) 2>&5
28336   ac_status=$?
28337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28338   (exit $ac_status); }; }; then
28339   eval "$as_ac_var=yes"
28340 else
28341   echo "$as_me: failed program was:" >&5
28342 sed 's/^/| /' conftest.$ac_ext >&5
28343
28344 eval "$as_ac_var=no"
28345 fi
28346 rm -f conftest.err conftest.$ac_objext \
28347       conftest$ac_exeext conftest.$ac_ext
28348 fi
28349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28351 if test `eval echo '${'$as_ac_var'}'` = yes; then
28352   cat >>confdefs.h <<_ACEOF
28353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28354 _ACEOF
28355
28356 else
28357   ac_wfuncs=no
28358 fi
28359 done
28360
28361
28362     # Checks for names injected into std:: by the c_std headers.
28363
28364
28365
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 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
28410     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
28411     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
28412     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
28413     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
28414     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
28415 do
28416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28417 echo "$as_me:$LINENO: checking for $ac_func" >&5
28418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28419 if eval "test \"\${$as_ac_var+set}\" = set"; then
28420   echo $ECHO_N "(cached) $ECHO_C" >&6
28421 else
28422   if test x$gcc_no_link = xyes; then
28423   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28425    { (exit 1); exit 1; }; }
28426 fi
28427 cat >conftest.$ac_ext <<_ACEOF
28428 /* confdefs.h.  */
28429 _ACEOF
28430 cat confdefs.h >>conftest.$ac_ext
28431 cat >>conftest.$ac_ext <<_ACEOF
28432 /* end confdefs.h.  */
28433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28434    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28435 #define $ac_func innocuous_$ac_func
28436
28437 /* System header to define __stub macros and hopefully few prototypes,
28438     which can conflict with char $ac_func (); below.
28439     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28440     <limits.h> exists even on freestanding compilers.  */
28441
28442 #ifdef __STDC__
28443 # include <limits.h>
28444 #else
28445 # include <assert.h>
28446 #endif
28447
28448 #undef $ac_func
28449
28450 /* Override any gcc2 internal prototype to avoid an error.  */
28451 #ifdef __cplusplus
28452 extern "C"
28453 {
28454 #endif
28455 /* We use char because int might match the return type of a gcc2
28456    builtin and then its argument prototype would still apply.  */
28457 char $ac_func ();
28458 /* The GNU C library defines this for functions which it implements
28459     to always fail with ENOSYS.  Some functions are actually named
28460     something starting with __ and the normal name is an alias.  */
28461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28462 choke me
28463 #else
28464 char (*f) () = $ac_func;
28465 #endif
28466 #ifdef __cplusplus
28467 }
28468 #endif
28469
28470 int
28471 main ()
28472 {
28473 return f != $ac_func;
28474   ;
28475   return 0;
28476 }
28477 _ACEOF
28478 rm -f conftest.$ac_objext conftest$ac_exeext
28479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28480   (eval $ac_link) 2>conftest.er1
28481   ac_status=$?
28482   grep -v '^ *+' conftest.er1 >conftest.err
28483   rm -f conftest.er1
28484   cat conftest.err >&5
28485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28486   (exit $ac_status); } &&
28487          { ac_try='test -z "$ac_c_werror_flag"
28488                          || test ! -s conftest.err'
28489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28490   (eval $ac_try) 2>&5
28491   ac_status=$?
28492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28493   (exit $ac_status); }; } &&
28494          { ac_try='test -s conftest$ac_exeext'
28495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28496   (eval $ac_try) 2>&5
28497   ac_status=$?
28498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28499   (exit $ac_status); }; }; then
28500   eval "$as_ac_var=yes"
28501 else
28502   echo "$as_me: failed program was:" >&5
28503 sed 's/^/| /' conftest.$ac_ext >&5
28504
28505 eval "$as_ac_var=no"
28506 fi
28507 rm -f conftest.err conftest.$ac_objext \
28508       conftest$ac_exeext conftest.$ac_ext
28509 fi
28510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28512 if test `eval echo '${'$as_ac_var'}'` = yes; then
28513   cat >>confdefs.h <<_ACEOF
28514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28515 _ACEOF
28516
28517 else
28518   ac_wfuncs=no
28519 fi
28520 done
28521
28522
28523     # Checks for wide character functions that are not required
28524     # for basic wchar_t support.  Don't disable support if they are missing.
28525     # Injection of these is wrapped with guard macros.
28526
28527
28528
28529
28530
28531 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
28532 do
28533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28534 echo "$as_me:$LINENO: checking for $ac_func" >&5
28535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28536 if eval "test \"\${$as_ac_var+set}\" = set"; then
28537   echo $ECHO_N "(cached) $ECHO_C" >&6
28538 else
28539   if test x$gcc_no_link = xyes; then
28540   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28542    { (exit 1); exit 1; }; }
28543 fi
28544 cat >conftest.$ac_ext <<_ACEOF
28545 /* confdefs.h.  */
28546 _ACEOF
28547 cat confdefs.h >>conftest.$ac_ext
28548 cat >>conftest.$ac_ext <<_ACEOF
28549 /* end confdefs.h.  */
28550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28551    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28552 #define $ac_func innocuous_$ac_func
28553
28554 /* System header to define __stub macros and hopefully few prototypes,
28555     which can conflict with char $ac_func (); below.
28556     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28557     <limits.h> exists even on freestanding compilers.  */
28558
28559 #ifdef __STDC__
28560 # include <limits.h>
28561 #else
28562 # include <assert.h>
28563 #endif
28564
28565 #undef $ac_func
28566
28567 /* Override any gcc2 internal prototype to avoid an error.  */
28568 #ifdef __cplusplus
28569 extern "C"
28570 {
28571 #endif
28572 /* We use char because int might match the return type of a gcc2
28573    builtin and then its argument prototype would still apply.  */
28574 char $ac_func ();
28575 /* The GNU C library defines this for functions which it implements
28576     to always fail with ENOSYS.  Some functions are actually named
28577     something starting with __ and the normal name is an alias.  */
28578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28579 choke me
28580 #else
28581 char (*f) () = $ac_func;
28582 #endif
28583 #ifdef __cplusplus
28584 }
28585 #endif
28586
28587 int
28588 main ()
28589 {
28590 return f != $ac_func;
28591   ;
28592   return 0;
28593 }
28594 _ACEOF
28595 rm -f conftest.$ac_objext conftest$ac_exeext
28596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28597   (eval $ac_link) 2>conftest.er1
28598   ac_status=$?
28599   grep -v '^ *+' conftest.er1 >conftest.err
28600   rm -f conftest.er1
28601   cat conftest.err >&5
28602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28603   (exit $ac_status); } &&
28604          { ac_try='test -z "$ac_c_werror_flag"
28605                          || test ! -s conftest.err'
28606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28607   (eval $ac_try) 2>&5
28608   ac_status=$?
28609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28610   (exit $ac_status); }; } &&
28611          { ac_try='test -s conftest$ac_exeext'
28612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28613   (eval $ac_try) 2>&5
28614   ac_status=$?
28615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28616   (exit $ac_status); }; }; then
28617   eval "$as_ac_var=yes"
28618 else
28619   echo "$as_me: failed program was:" >&5
28620 sed 's/^/| /' conftest.$ac_ext >&5
28621
28622 eval "$as_ac_var=no"
28623 fi
28624 rm -f conftest.err conftest.$ac_objext \
28625       conftest$ac_exeext conftest.$ac_ext
28626 fi
28627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28629 if test `eval echo '${'$as_ac_var'}'` = yes; then
28630   cat >>confdefs.h <<_ACEOF
28631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28632 _ACEOF
28633
28634 fi
28635 done
28636
28637
28638     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
28639 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
28640     if test x"$has_weof" = xyes &&
28641        test x"$has_wchar_minmax" = xyes &&
28642        test x"$ac_wfuncs" = xyes;
28643     then
28644       ac_isoC99_wchar_t=yes
28645     else
28646       ac_isoC99_wchar_t=no
28647     fi
28648     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
28649 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
28650
28651     # Use iconv for wchar_t to char conversions. As such, check for
28652     # X/Open Portability Guide, version 2 features (XPG2).
28653     if test "${ac_cv_header_iconv_h+set}" = set; then
28654   echo "$as_me:$LINENO: checking for iconv.h" >&5
28655 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28656 if test "${ac_cv_header_iconv_h+set}" = set; then
28657   echo $ECHO_N "(cached) $ECHO_C" >&6
28658 fi
28659 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28660 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28661 else
28662   # Is the header compilable?
28663 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28664 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28665 cat >conftest.$ac_ext <<_ACEOF
28666 /* confdefs.h.  */
28667 _ACEOF
28668 cat confdefs.h >>conftest.$ac_ext
28669 cat >>conftest.$ac_ext <<_ACEOF
28670 /* end confdefs.h.  */
28671 $ac_includes_default
28672 #include <iconv.h>
28673 _ACEOF
28674 rm -f conftest.$ac_objext
28675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28676   (eval $ac_compile) 2>conftest.er1
28677   ac_status=$?
28678   grep -v '^ *+' conftest.er1 >conftest.err
28679   rm -f conftest.er1
28680   cat conftest.err >&5
28681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28682   (exit $ac_status); } &&
28683          { ac_try='test -z "$ac_c_werror_flag"
28684                          || test ! -s conftest.err'
28685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28686   (eval $ac_try) 2>&5
28687   ac_status=$?
28688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28689   (exit $ac_status); }; } &&
28690          { ac_try='test -s conftest.$ac_objext'
28691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28692   (eval $ac_try) 2>&5
28693   ac_status=$?
28694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28695   (exit $ac_status); }; }; then
28696   ac_header_compiler=yes
28697 else
28698   echo "$as_me: failed program was:" >&5
28699 sed 's/^/| /' conftest.$ac_ext >&5
28700
28701 ac_header_compiler=no
28702 fi
28703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28704 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28705 echo "${ECHO_T}$ac_header_compiler" >&6
28706
28707 # Is the header present?
28708 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28709 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28710 cat >conftest.$ac_ext <<_ACEOF
28711 /* confdefs.h.  */
28712 _ACEOF
28713 cat confdefs.h >>conftest.$ac_ext
28714 cat >>conftest.$ac_ext <<_ACEOF
28715 /* end confdefs.h.  */
28716 #include <iconv.h>
28717 _ACEOF
28718 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28719   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28720   ac_status=$?
28721   grep -v '^ *+' conftest.er1 >conftest.err
28722   rm -f conftest.er1
28723   cat conftest.err >&5
28724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28725   (exit $ac_status); } >/dev/null; then
28726   if test -s conftest.err; then
28727     ac_cpp_err=$ac_c_preproc_warn_flag
28728     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28729   else
28730     ac_cpp_err=
28731   fi
28732 else
28733   ac_cpp_err=yes
28734 fi
28735 if test -z "$ac_cpp_err"; then
28736   ac_header_preproc=yes
28737 else
28738   echo "$as_me: failed program was:" >&5
28739 sed 's/^/| /' conftest.$ac_ext >&5
28740
28741   ac_header_preproc=no
28742 fi
28743 rm -f conftest.err conftest.$ac_ext
28744 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28745 echo "${ECHO_T}$ac_header_preproc" >&6
28746
28747 # So?  What about this header?
28748 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28749   yes:no: )
28750     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28751 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28752     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28753 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28754     ac_header_preproc=yes
28755     ;;
28756   no:yes:* )
28757     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28758 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28759     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
28760 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
28761     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28762 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28763     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
28764 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28765     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28766 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28767     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28768 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28769     (
28770       cat <<\_ASBOX
28771 ## ----------------------------------------- ##
28772 ## Report this to the package-unused lists.  ##
28773 ## ----------------------------------------- ##
28774 _ASBOX
28775     ) |
28776       sed "s/^/$as_me: WARNING:     /" >&2
28777     ;;
28778 esac
28779 echo "$as_me:$LINENO: checking for iconv.h" >&5
28780 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28781 if test "${ac_cv_header_iconv_h+set}" = set; then
28782   echo $ECHO_N "(cached) $ECHO_C" >&6
28783 else
28784   ac_cv_header_iconv_h=$ac_header_preproc
28785 fi
28786 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28787 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28788
28789 fi
28790 if test $ac_cv_header_iconv_h = yes; then
28791   ac_has_iconv_h=yes
28792 else
28793   ac_has_iconv_h=no
28794 fi
28795
28796
28797     if test "${ac_cv_header_langinfo_h+set}" = set; then
28798   echo "$as_me:$LINENO: checking for langinfo.h" >&5
28799 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28800 if test "${ac_cv_header_langinfo_h+set}" = set; then
28801   echo $ECHO_N "(cached) $ECHO_C" >&6
28802 fi
28803 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28804 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28805 else
28806   # Is the header compilable?
28807 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28808 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28809 cat >conftest.$ac_ext <<_ACEOF
28810 /* confdefs.h.  */
28811 _ACEOF
28812 cat confdefs.h >>conftest.$ac_ext
28813 cat >>conftest.$ac_ext <<_ACEOF
28814 /* end confdefs.h.  */
28815 $ac_includes_default
28816 #include <langinfo.h>
28817 _ACEOF
28818 rm -f conftest.$ac_objext
28819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28820   (eval $ac_compile) 2>conftest.er1
28821   ac_status=$?
28822   grep -v '^ *+' conftest.er1 >conftest.err
28823   rm -f conftest.er1
28824   cat conftest.err >&5
28825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28826   (exit $ac_status); } &&
28827          { ac_try='test -z "$ac_c_werror_flag"
28828                          || test ! -s conftest.err'
28829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28830   (eval $ac_try) 2>&5
28831   ac_status=$?
28832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28833   (exit $ac_status); }; } &&
28834          { ac_try='test -s conftest.$ac_objext'
28835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28836   (eval $ac_try) 2>&5
28837   ac_status=$?
28838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28839   (exit $ac_status); }; }; then
28840   ac_header_compiler=yes
28841 else
28842   echo "$as_me: failed program was:" >&5
28843 sed 's/^/| /' conftest.$ac_ext >&5
28844
28845 ac_header_compiler=no
28846 fi
28847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28848 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28849 echo "${ECHO_T}$ac_header_compiler" >&6
28850
28851 # Is the header present?
28852 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28853 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28854 cat >conftest.$ac_ext <<_ACEOF
28855 /* confdefs.h.  */
28856 _ACEOF
28857 cat confdefs.h >>conftest.$ac_ext
28858 cat >>conftest.$ac_ext <<_ACEOF
28859 /* end confdefs.h.  */
28860 #include <langinfo.h>
28861 _ACEOF
28862 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28863   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28864   ac_status=$?
28865   grep -v '^ *+' conftest.er1 >conftest.err
28866   rm -f conftest.er1
28867   cat conftest.err >&5
28868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28869   (exit $ac_status); } >/dev/null; then
28870   if test -s conftest.err; then
28871     ac_cpp_err=$ac_c_preproc_warn_flag
28872     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28873   else
28874     ac_cpp_err=
28875   fi
28876 else
28877   ac_cpp_err=yes
28878 fi
28879 if test -z "$ac_cpp_err"; then
28880   ac_header_preproc=yes
28881 else
28882   echo "$as_me: failed program was:" >&5
28883 sed 's/^/| /' conftest.$ac_ext >&5
28884
28885   ac_header_preproc=no
28886 fi
28887 rm -f conftest.err conftest.$ac_ext
28888 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28889 echo "${ECHO_T}$ac_header_preproc" >&6
28890
28891 # So?  What about this header?
28892 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28893   yes:no: )
28894     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28895 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28896     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28897 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28898     ac_header_preproc=yes
28899     ;;
28900   no:yes:* )
28901     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28902 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28903     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
28904 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
28905     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28906 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28907     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
28908 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
28909     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28910 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28911     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28912 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28913     (
28914       cat <<\_ASBOX
28915 ## ----------------------------------------- ##
28916 ## Report this to the package-unused lists.  ##
28917 ## ----------------------------------------- ##
28918 _ASBOX
28919     ) |
28920       sed "s/^/$as_me: WARNING:     /" >&2
28921     ;;
28922 esac
28923 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28924 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28925 if test "${ac_cv_header_langinfo_h+set}" = set; then
28926   echo $ECHO_N "(cached) $ECHO_C" >&6
28927 else
28928   ac_cv_header_langinfo_h=$ac_header_preproc
28929 fi
28930 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28931 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28932
28933 fi
28934 if test $ac_cv_header_langinfo_h = yes; then
28935   ac_has_langinfo_h=yes
28936 else
28937   ac_has_langinfo_h=no
28938 fi
28939
28940
28941
28942     # Check for existence of libiconv.a providing XPG2 wchar_t support.
28943     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28944 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28945 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28946   echo $ECHO_N "(cached) $ECHO_C" >&6
28947 else
28948   ac_check_lib_save_LIBS=$LIBS
28949 LIBS="-liconv  $LIBS"
28950 if test x$gcc_no_link = xyes; then
28951   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28953    { (exit 1); exit 1; }; }
28954 fi
28955 cat >conftest.$ac_ext <<_ACEOF
28956 /* confdefs.h.  */
28957 _ACEOF
28958 cat confdefs.h >>conftest.$ac_ext
28959 cat >>conftest.$ac_ext <<_ACEOF
28960 /* end confdefs.h.  */
28961
28962 /* Override any gcc2 internal prototype to avoid an error.  */
28963 #ifdef __cplusplus
28964 extern "C"
28965 #endif
28966 /* We use char because int might match the return type of a gcc2
28967    builtin and then its argument prototype would still apply.  */
28968 char iconv ();
28969 int
28970 main ()
28971 {
28972 iconv ();
28973   ;
28974   return 0;
28975 }
28976 _ACEOF
28977 rm -f conftest.$ac_objext conftest$ac_exeext
28978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28979   (eval $ac_link) 2>conftest.er1
28980   ac_status=$?
28981   grep -v '^ *+' conftest.er1 >conftest.err
28982   rm -f conftest.er1
28983   cat conftest.err >&5
28984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28985   (exit $ac_status); } &&
28986          { ac_try='test -z "$ac_c_werror_flag"
28987                          || test ! -s conftest.err'
28988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28989   (eval $ac_try) 2>&5
28990   ac_status=$?
28991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28992   (exit $ac_status); }; } &&
28993          { ac_try='test -s conftest$ac_exeext'
28994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28995   (eval $ac_try) 2>&5
28996   ac_status=$?
28997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28998   (exit $ac_status); }; }; then
28999   ac_cv_lib_iconv_iconv=yes
29000 else
29001   echo "$as_me: failed program was:" >&5
29002 sed 's/^/| /' conftest.$ac_ext >&5
29003
29004 ac_cv_lib_iconv_iconv=no
29005 fi
29006 rm -f conftest.err conftest.$ac_objext \
29007       conftest$ac_exeext conftest.$ac_ext
29008 LIBS=$ac_check_lib_save_LIBS
29009 fi
29010 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
29011 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
29012 if test $ac_cv_lib_iconv_iconv = yes; then
29013   LIBICONV="-liconv"
29014 fi
29015
29016     ac_save_LIBS="$LIBS"
29017     LIBS="$LIBS $LIBICONV"
29018
29019
29020
29021
29022
29023
29024 for ac_func in iconv_open iconv_close iconv nl_langinfo
29025 do
29026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29027 echo "$as_me:$LINENO: checking for $ac_func" >&5
29028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29029 if eval "test \"\${$as_ac_var+set}\" = set"; then
29030   echo $ECHO_N "(cached) $ECHO_C" >&6
29031 else
29032   if test x$gcc_no_link = xyes; then
29033   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29035    { (exit 1); exit 1; }; }
29036 fi
29037 cat >conftest.$ac_ext <<_ACEOF
29038 /* confdefs.h.  */
29039 _ACEOF
29040 cat confdefs.h >>conftest.$ac_ext
29041 cat >>conftest.$ac_ext <<_ACEOF
29042 /* end confdefs.h.  */
29043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29044    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29045 #define $ac_func innocuous_$ac_func
29046
29047 /* System header to define __stub macros and hopefully few prototypes,
29048     which can conflict with char $ac_func (); below.
29049     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29050     <limits.h> exists even on freestanding compilers.  */
29051
29052 #ifdef __STDC__
29053 # include <limits.h>
29054 #else
29055 # include <assert.h>
29056 #endif
29057
29058 #undef $ac_func
29059
29060 /* Override any gcc2 internal prototype to avoid an error.  */
29061 #ifdef __cplusplus
29062 extern "C"
29063 {
29064 #endif
29065 /* We use char because int might match the return type of a gcc2
29066    builtin and then its argument prototype would still apply.  */
29067 char $ac_func ();
29068 /* The GNU C library defines this for functions which it implements
29069     to always fail with ENOSYS.  Some functions are actually named
29070     something starting with __ and the normal name is an alias.  */
29071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29072 choke me
29073 #else
29074 char (*f) () = $ac_func;
29075 #endif
29076 #ifdef __cplusplus
29077 }
29078 #endif
29079
29080 int
29081 main ()
29082 {
29083 return f != $ac_func;
29084   ;
29085   return 0;
29086 }
29087 _ACEOF
29088 rm -f conftest.$ac_objext conftest$ac_exeext
29089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29090   (eval $ac_link) 2>conftest.er1
29091   ac_status=$?
29092   grep -v '^ *+' conftest.er1 >conftest.err
29093   rm -f conftest.er1
29094   cat conftest.err >&5
29095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29096   (exit $ac_status); } &&
29097          { ac_try='test -z "$ac_c_werror_flag"
29098                          || test ! -s conftest.err'
29099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29100   (eval $ac_try) 2>&5
29101   ac_status=$?
29102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29103   (exit $ac_status); }; } &&
29104          { ac_try='test -s conftest$ac_exeext'
29105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29106   (eval $ac_try) 2>&5
29107   ac_status=$?
29108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29109   (exit $ac_status); }; }; then
29110   eval "$as_ac_var=yes"
29111 else
29112   echo "$as_me: failed program was:" >&5
29113 sed 's/^/| /' conftest.$ac_ext >&5
29114
29115 eval "$as_ac_var=no"
29116 fi
29117 rm -f conftest.err conftest.$ac_objext \
29118       conftest$ac_exeext conftest.$ac_ext
29119 fi
29120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29122 if test `eval echo '${'$as_ac_var'}'` = yes; then
29123   cat >>confdefs.h <<_ACEOF
29124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29125 _ACEOF
29126  ac_XPG2funcs=yes
29127 else
29128   ac_XPG2funcs=no
29129 fi
29130 done
29131
29132
29133     LIBS="$ac_save_LIBS"
29134
29135     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
29136 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
29137     if test x"$ac_has_iconv_h" = xyes &&
29138        test x"$ac_has_langinfo_h" = xyes &&
29139        test x"$ac_XPG2funcs" = xyes;
29140     then
29141       ac_XPG2_wchar_t=yes
29142     else
29143       ac_XPG2_wchar_t=no
29144     fi
29145     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
29146 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
29147
29148     # At the moment, only enable wchar_t specializations if all the
29149     # above support is present.
29150     if test x"$ac_isoC99_wchar_t" = xyes &&
29151        test x"$ac_XPG2_wchar_t" = xyes;
29152     then
29153       cat >>confdefs.h <<\_ACEOF
29154 #define _GLIBCXX_USE_WCHAR_T 1
29155 _ACEOF
29156
29157       enable_wchar_t=yes
29158     fi
29159   fi
29160   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
29161 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
29162   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
29163 echo "${ECHO_T}$enable_wchar_t" >&6
29164
29165
29166   ac_test_CXXFLAGS="${CXXFLAGS+set}"
29167   ac_save_CXXFLAGS="$CXXFLAGS"
29168   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29169
29170
29171   echo "$as_me:$LINENO: checking for strtold declaration" >&5
29172 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
29173   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
29174     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
29175   echo $ECHO_N "(cached) $ECHO_C" >&6
29176 else
29177
29178
29179
29180       ac_ext=cc
29181 ac_cpp='$CXXCPP $CPPFLAGS'
29182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29185
29186       cat >conftest.$ac_ext <<_ACEOF
29187 /* confdefs.h.  */
29188 _ACEOF
29189 cat confdefs.h >>conftest.$ac_ext
29190 cat >>conftest.$ac_ext <<_ACEOF
29191 /* end confdefs.h.  */
29192 #include <stdlib.h>
29193 int
29194 main ()
29195 {
29196  strtold(0, 0);
29197   ;
29198   return 0;
29199 }
29200 _ACEOF
29201 rm -f conftest.$ac_objext
29202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29203   (eval $ac_compile) 2>conftest.er1
29204   ac_status=$?
29205   grep -v '^ *+' conftest.er1 >conftest.err
29206   rm -f conftest.er1
29207   cat conftest.err >&5
29208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29209   (exit $ac_status); } &&
29210          { ac_try='test -z "$ac_cxx_werror_flag"
29211                          || test ! -s conftest.err'
29212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29213   (eval $ac_try) 2>&5
29214   ac_status=$?
29215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29216   (exit $ac_status); }; } &&
29217          { ac_try='test -s conftest.$ac_objext'
29218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29219   (eval $ac_try) 2>&5
29220   ac_status=$?
29221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29222   (exit $ac_status); }; }; then
29223   glibcxx_cv_func_strtold_use=yes
29224 else
29225   echo "$as_me: failed program was:" >&5
29226 sed 's/^/| /' conftest.$ac_ext >&5
29227
29228 glibcxx_cv_func_strtold_use=no
29229 fi
29230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29231       ac_ext=c
29232 ac_cpp='$CPP $CPPFLAGS'
29233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29236
29237
29238 fi
29239
29240   fi
29241   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
29242 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
29243   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
29244
29245 for ac_func in strtold
29246 do
29247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29248 echo "$as_me:$LINENO: checking for $ac_func" >&5
29249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29250 if eval "test \"\${$as_ac_var+set}\" = set"; then
29251   echo $ECHO_N "(cached) $ECHO_C" >&6
29252 else
29253   if test x$gcc_no_link = xyes; then
29254   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29256    { (exit 1); exit 1; }; }
29257 fi
29258 cat >conftest.$ac_ext <<_ACEOF
29259 /* confdefs.h.  */
29260 _ACEOF
29261 cat confdefs.h >>conftest.$ac_ext
29262 cat >>conftest.$ac_ext <<_ACEOF
29263 /* end confdefs.h.  */
29264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29265    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29266 #define $ac_func innocuous_$ac_func
29267
29268 /* System header to define __stub macros and hopefully few prototypes,
29269     which can conflict with char $ac_func (); below.
29270     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29271     <limits.h> exists even on freestanding compilers.  */
29272
29273 #ifdef __STDC__
29274 # include <limits.h>
29275 #else
29276 # include <assert.h>
29277 #endif
29278
29279 #undef $ac_func
29280
29281 /* Override any gcc2 internal prototype to avoid an error.  */
29282 #ifdef __cplusplus
29283 extern "C"
29284 {
29285 #endif
29286 /* We use char because int might match the return type of a gcc2
29287    builtin and then its argument prototype would still apply.  */
29288 char $ac_func ();
29289 /* The GNU C library defines this for functions which it implements
29290     to always fail with ENOSYS.  Some functions are actually named
29291     something starting with __ and the normal name is an alias.  */
29292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29293 choke me
29294 #else
29295 char (*f) () = $ac_func;
29296 #endif
29297 #ifdef __cplusplus
29298 }
29299 #endif
29300
29301 int
29302 main ()
29303 {
29304 return f != $ac_func;
29305   ;
29306   return 0;
29307 }
29308 _ACEOF
29309 rm -f conftest.$ac_objext conftest$ac_exeext
29310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29311   (eval $ac_link) 2>conftest.er1
29312   ac_status=$?
29313   grep -v '^ *+' conftest.er1 >conftest.err
29314   rm -f conftest.er1
29315   cat conftest.err >&5
29316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29317   (exit $ac_status); } &&
29318          { ac_try='test -z "$ac_c_werror_flag"
29319                          || test ! -s conftest.err'
29320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29321   (eval $ac_try) 2>&5
29322   ac_status=$?
29323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29324   (exit $ac_status); }; } &&
29325          { ac_try='test -s conftest$ac_exeext'
29326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29327   (eval $ac_try) 2>&5
29328   ac_status=$?
29329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29330   (exit $ac_status); }; }; then
29331   eval "$as_ac_var=yes"
29332 else
29333   echo "$as_me: failed program was:" >&5
29334 sed 's/^/| /' conftest.$ac_ext >&5
29335
29336 eval "$as_ac_var=no"
29337 fi
29338 rm -f conftest.err conftest.$ac_objext \
29339       conftest$ac_exeext conftest.$ac_ext
29340 fi
29341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29343 if test `eval echo '${'$as_ac_var'}'` = yes; then
29344   cat >>confdefs.h <<_ACEOF
29345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29346 _ACEOF
29347
29348 fi
29349 done
29350
29351   fi
29352
29353
29354   echo "$as_me:$LINENO: checking for strtof declaration" >&5
29355 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
29356   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
29357     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
29358   echo $ECHO_N "(cached) $ECHO_C" >&6
29359 else
29360
29361
29362
29363       ac_ext=cc
29364 ac_cpp='$CXXCPP $CPPFLAGS'
29365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29368
29369       cat >conftest.$ac_ext <<_ACEOF
29370 /* confdefs.h.  */
29371 _ACEOF
29372 cat confdefs.h >>conftest.$ac_ext
29373 cat >>conftest.$ac_ext <<_ACEOF
29374 /* end confdefs.h.  */
29375 #include <stdlib.h>
29376 int
29377 main ()
29378 {
29379  strtof(0, 0);
29380   ;
29381   return 0;
29382 }
29383 _ACEOF
29384 rm -f conftest.$ac_objext
29385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29386   (eval $ac_compile) 2>conftest.er1
29387   ac_status=$?
29388   grep -v '^ *+' conftest.er1 >conftest.err
29389   rm -f conftest.er1
29390   cat conftest.err >&5
29391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29392   (exit $ac_status); } &&
29393          { ac_try='test -z "$ac_cxx_werror_flag"
29394                          || test ! -s conftest.err'
29395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29396   (eval $ac_try) 2>&5
29397   ac_status=$?
29398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29399   (exit $ac_status); }; } &&
29400          { ac_try='test -s conftest.$ac_objext'
29401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29402   (eval $ac_try) 2>&5
29403   ac_status=$?
29404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29405   (exit $ac_status); }; }; then
29406   glibcxx_cv_func_strtof_use=yes
29407 else
29408   echo "$as_me: failed program was:" >&5
29409 sed 's/^/| /' conftest.$ac_ext >&5
29410
29411 glibcxx_cv_func_strtof_use=no
29412 fi
29413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29414       ac_ext=c
29415 ac_cpp='$CPP $CPPFLAGS'
29416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29419
29420
29421 fi
29422
29423   fi
29424   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29425 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29426   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29427
29428 for ac_func in strtof
29429 do
29430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29431 echo "$as_me:$LINENO: checking for $ac_func" >&5
29432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29433 if eval "test \"\${$as_ac_var+set}\" = set"; then
29434   echo $ECHO_N "(cached) $ECHO_C" >&6
29435 else
29436   if test x$gcc_no_link = xyes; then
29437   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29439    { (exit 1); exit 1; }; }
29440 fi
29441 cat >conftest.$ac_ext <<_ACEOF
29442 /* confdefs.h.  */
29443 _ACEOF
29444 cat confdefs.h >>conftest.$ac_ext
29445 cat >>conftest.$ac_ext <<_ACEOF
29446 /* end confdefs.h.  */
29447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29448    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29449 #define $ac_func innocuous_$ac_func
29450
29451 /* System header to define __stub macros and hopefully few prototypes,
29452     which can conflict with char $ac_func (); below.
29453     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29454     <limits.h> exists even on freestanding compilers.  */
29455
29456 #ifdef __STDC__
29457 # include <limits.h>
29458 #else
29459 # include <assert.h>
29460 #endif
29461
29462 #undef $ac_func
29463
29464 /* Override any gcc2 internal prototype to avoid an error.  */
29465 #ifdef __cplusplus
29466 extern "C"
29467 {
29468 #endif
29469 /* We use char because int might match the return type of a gcc2
29470    builtin and then its argument prototype would still apply.  */
29471 char $ac_func ();
29472 /* The GNU C library defines this for functions which it implements
29473     to always fail with ENOSYS.  Some functions are actually named
29474     something starting with __ and the normal name is an alias.  */
29475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29476 choke me
29477 #else
29478 char (*f) () = $ac_func;
29479 #endif
29480 #ifdef __cplusplus
29481 }
29482 #endif
29483
29484 int
29485 main ()
29486 {
29487 return f != $ac_func;
29488   ;
29489   return 0;
29490 }
29491 _ACEOF
29492 rm -f conftest.$ac_objext conftest$ac_exeext
29493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29494   (eval $ac_link) 2>conftest.er1
29495   ac_status=$?
29496   grep -v '^ *+' conftest.er1 >conftest.err
29497   rm -f conftest.er1
29498   cat conftest.err >&5
29499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29500   (exit $ac_status); } &&
29501          { ac_try='test -z "$ac_c_werror_flag"
29502                          || test ! -s conftest.err'
29503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29504   (eval $ac_try) 2>&5
29505   ac_status=$?
29506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29507   (exit $ac_status); }; } &&
29508          { ac_try='test -s conftest$ac_exeext'
29509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29510   (eval $ac_try) 2>&5
29511   ac_status=$?
29512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29513   (exit $ac_status); }; }; then
29514   eval "$as_ac_var=yes"
29515 else
29516   echo "$as_me: failed program was:" >&5
29517 sed 's/^/| /' conftest.$ac_ext >&5
29518
29519 eval "$as_ac_var=no"
29520 fi
29521 rm -f conftest.err conftest.$ac_objext \
29522       conftest$ac_exeext conftest.$ac_ext
29523 fi
29524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29526 if test `eval echo '${'$as_ac_var'}'` = yes; then
29527   cat >>confdefs.h <<_ACEOF
29528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29529 _ACEOF
29530
29531 fi
29532 done
29533
29534   fi
29535
29536
29537   CXXFLAGS="$ac_save_CXXFLAGS"
29538
29539
29540   # For showmanyc_helper().
29541
29542
29543 for ac_header in sys/ioctl.h sys/filio.h
29544 do
29545 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29546 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29547   echo "$as_me:$LINENO: checking for $ac_header" >&5
29548 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29549 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29550   echo $ECHO_N "(cached) $ECHO_C" >&6
29551 fi
29552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29553 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29554 else
29555   # Is the header compilable?
29556 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29557 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29558 cat >conftest.$ac_ext <<_ACEOF
29559 /* confdefs.h.  */
29560 _ACEOF
29561 cat confdefs.h >>conftest.$ac_ext
29562 cat >>conftest.$ac_ext <<_ACEOF
29563 /* end confdefs.h.  */
29564 $ac_includes_default
29565 #include <$ac_header>
29566 _ACEOF
29567 rm -f conftest.$ac_objext
29568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29569   (eval $ac_compile) 2>conftest.er1
29570   ac_status=$?
29571   grep -v '^ *+' conftest.er1 >conftest.err
29572   rm -f conftest.er1
29573   cat conftest.err >&5
29574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29575   (exit $ac_status); } &&
29576          { ac_try='test -z "$ac_c_werror_flag"
29577                          || test ! -s conftest.err'
29578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29579   (eval $ac_try) 2>&5
29580   ac_status=$?
29581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29582   (exit $ac_status); }; } &&
29583          { ac_try='test -s conftest.$ac_objext'
29584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29585   (eval $ac_try) 2>&5
29586   ac_status=$?
29587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29588   (exit $ac_status); }; }; then
29589   ac_header_compiler=yes
29590 else
29591   echo "$as_me: failed program was:" >&5
29592 sed 's/^/| /' conftest.$ac_ext >&5
29593
29594 ac_header_compiler=no
29595 fi
29596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29597 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29598 echo "${ECHO_T}$ac_header_compiler" >&6
29599
29600 # Is the header present?
29601 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29602 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29603 cat >conftest.$ac_ext <<_ACEOF
29604 /* confdefs.h.  */
29605 _ACEOF
29606 cat confdefs.h >>conftest.$ac_ext
29607 cat >>conftest.$ac_ext <<_ACEOF
29608 /* end confdefs.h.  */
29609 #include <$ac_header>
29610 _ACEOF
29611 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29612   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29613   ac_status=$?
29614   grep -v '^ *+' conftest.er1 >conftest.err
29615   rm -f conftest.er1
29616   cat conftest.err >&5
29617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29618   (exit $ac_status); } >/dev/null; then
29619   if test -s conftest.err; then
29620     ac_cpp_err=$ac_c_preproc_warn_flag
29621     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29622   else
29623     ac_cpp_err=
29624   fi
29625 else
29626   ac_cpp_err=yes
29627 fi
29628 if test -z "$ac_cpp_err"; then
29629   ac_header_preproc=yes
29630 else
29631   echo "$as_me: failed program was:" >&5
29632 sed 's/^/| /' conftest.$ac_ext >&5
29633
29634   ac_header_preproc=no
29635 fi
29636 rm -f conftest.err conftest.$ac_ext
29637 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29638 echo "${ECHO_T}$ac_header_preproc" >&6
29639
29640 # So?  What about this header?
29641 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29642   yes:no: )
29643     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29644 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29645     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29646 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29647     ac_header_preproc=yes
29648     ;;
29649   no:yes:* )
29650     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29651 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29652     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
29653 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
29654     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29655 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29656     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
29657 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
29658     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29659 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29660     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29661 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29662     (
29663       cat <<\_ASBOX
29664 ## ----------------------------------------- ##
29665 ## Report this to the package-unused lists.  ##
29666 ## ----------------------------------------- ##
29667 _ASBOX
29668     ) |
29669       sed "s/^/$as_me: WARNING:     /" >&2
29670     ;;
29671 esac
29672 echo "$as_me:$LINENO: checking for $ac_header" >&5
29673 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29675   echo $ECHO_N "(cached) $ECHO_C" >&6
29676 else
29677   eval "$as_ac_Header=\$ac_header_preproc"
29678 fi
29679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29680 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29681
29682 fi
29683 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29684   cat >>confdefs.h <<_ACEOF
29685 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29686 _ACEOF
29687
29688 fi
29689
29690 done
29691
29692
29693   if test "${glibcxx_cv_POLL+set}" = set; then
29694   echo $ECHO_N "(cached) $ECHO_C" >&6
29695 else
29696
29697     if test x$gcc_no_link = xyes; then
29698   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29700    { (exit 1); exit 1; }; }
29701 fi
29702 cat >conftest.$ac_ext <<_ACEOF
29703 /* confdefs.h.  */
29704 _ACEOF
29705 cat confdefs.h >>conftest.$ac_ext
29706 cat >>conftest.$ac_ext <<_ACEOF
29707 /* end confdefs.h.  */
29708 #include <poll.h>
29709 int
29710 main ()
29711 {
29712 struct pollfd pfd[1];
29713        pfd[0].events = POLLIN;
29714        poll(pfd, 1, 0);
29715   ;
29716   return 0;
29717 }
29718 _ACEOF
29719 rm -f conftest.$ac_objext conftest$ac_exeext
29720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29721   (eval $ac_link) 2>conftest.er1
29722   ac_status=$?
29723   grep -v '^ *+' conftest.er1 >conftest.err
29724   rm -f conftest.er1
29725   cat conftest.err >&5
29726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29727   (exit $ac_status); } &&
29728          { ac_try='test -z "$ac_c_werror_flag"
29729                          || test ! -s conftest.err'
29730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29731   (eval $ac_try) 2>&5
29732   ac_status=$?
29733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29734   (exit $ac_status); }; } &&
29735          { ac_try='test -s conftest$ac_exeext'
29736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29737   (eval $ac_try) 2>&5
29738   ac_status=$?
29739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29740   (exit $ac_status); }; }; then
29741   glibcxx_cv_POLL=yes
29742 else
29743   echo "$as_me: failed program was:" >&5
29744 sed 's/^/| /' conftest.$ac_ext >&5
29745
29746 glibcxx_cv_POLL=no
29747 fi
29748 rm -f conftest.err conftest.$ac_objext \
29749       conftest$ac_exeext conftest.$ac_ext
29750
29751 fi
29752
29753   if test $glibcxx_cv_POLL = yes; then
29754     cat >>confdefs.h <<\_ACEOF
29755 #define HAVE_POLL 1
29756 _ACEOF
29757
29758   fi
29759
29760
29761   if test "${glibcxx_cv_S_ISREG+set}" = set; then
29762   echo $ECHO_N "(cached) $ECHO_C" >&6
29763 else
29764
29765     if test x$gcc_no_link = xyes; then
29766   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29768    { (exit 1); exit 1; }; }
29769 fi
29770 cat >conftest.$ac_ext <<_ACEOF
29771 /* confdefs.h.  */
29772 _ACEOF
29773 cat confdefs.h >>conftest.$ac_ext
29774 cat >>conftest.$ac_ext <<_ACEOF
29775 /* end confdefs.h.  */
29776 #include <sys/stat.h>
29777 int
29778 main ()
29779 {
29780 struct stat buffer;
29781        fstat(0, &buffer);
29782        S_ISREG(buffer.st_mode);
29783   ;
29784   return 0;
29785 }
29786 _ACEOF
29787 rm -f conftest.$ac_objext conftest$ac_exeext
29788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29789   (eval $ac_link) 2>conftest.er1
29790   ac_status=$?
29791   grep -v '^ *+' conftest.er1 >conftest.err
29792   rm -f conftest.er1
29793   cat conftest.err >&5
29794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29795   (exit $ac_status); } &&
29796          { ac_try='test -z "$ac_c_werror_flag"
29797                          || test ! -s conftest.err'
29798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29799   (eval $ac_try) 2>&5
29800   ac_status=$?
29801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29802   (exit $ac_status); }; } &&
29803          { ac_try='test -s conftest$ac_exeext'
29804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29805   (eval $ac_try) 2>&5
29806   ac_status=$?
29807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29808   (exit $ac_status); }; }; then
29809   glibcxx_cv_S_ISREG=yes
29810 else
29811   echo "$as_me: failed program was:" >&5
29812 sed 's/^/| /' conftest.$ac_ext >&5
29813
29814 glibcxx_cv_S_ISREG=no
29815 fi
29816 rm -f conftest.err conftest.$ac_objext \
29817       conftest$ac_exeext conftest.$ac_ext
29818
29819 fi
29820
29821   if test "${glibcxx_cv_S_IFREG+set}" = set; then
29822   echo $ECHO_N "(cached) $ECHO_C" >&6
29823 else
29824
29825     if test x$gcc_no_link = xyes; then
29826   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29828    { (exit 1); exit 1; }; }
29829 fi
29830 cat >conftest.$ac_ext <<_ACEOF
29831 /* confdefs.h.  */
29832 _ACEOF
29833 cat confdefs.h >>conftest.$ac_ext
29834 cat >>conftest.$ac_ext <<_ACEOF
29835 /* end confdefs.h.  */
29836 #include <sys/stat.h>
29837 int
29838 main ()
29839 {
29840 struct stat buffer;
29841        fstat(0, &buffer);
29842        S_IFREG & buffer.st_mode;
29843   ;
29844   return 0;
29845 }
29846 _ACEOF
29847 rm -f conftest.$ac_objext conftest$ac_exeext
29848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29849   (eval $ac_link) 2>conftest.er1
29850   ac_status=$?
29851   grep -v '^ *+' conftest.er1 >conftest.err
29852   rm -f conftest.er1
29853   cat conftest.err >&5
29854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29855   (exit $ac_status); } &&
29856          { ac_try='test -z "$ac_c_werror_flag"
29857                          || test ! -s conftest.err'
29858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29859   (eval $ac_try) 2>&5
29860   ac_status=$?
29861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29862   (exit $ac_status); }; } &&
29863          { ac_try='test -s conftest$ac_exeext'
29864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29865   (eval $ac_try) 2>&5
29866   ac_status=$?
29867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29868   (exit $ac_status); }; }; then
29869   glibcxx_cv_S_IFREG=yes
29870 else
29871   echo "$as_me: failed program was:" >&5
29872 sed 's/^/| /' conftest.$ac_ext >&5
29873
29874 glibcxx_cv_S_IFREG=no
29875 fi
29876 rm -f conftest.err conftest.$ac_objext \
29877       conftest$ac_exeext conftest.$ac_ext
29878
29879 fi
29880
29881   if test $glibcxx_cv_S_ISREG = yes; then
29882     cat >>confdefs.h <<\_ACEOF
29883 #define HAVE_S_ISREG 1
29884 _ACEOF
29885
29886   elif test $glibcxx_cv_S_IFREG = yes; then
29887     cat >>confdefs.h <<\_ACEOF
29888 #define HAVE_S_IFREG 1
29889 _ACEOF
29890
29891   fi
29892
29893
29894   # For xsputn_2().
29895
29896 for ac_header in sys/uio.h
29897 do
29898 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29899 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29900   echo "$as_me:$LINENO: checking for $ac_header" >&5
29901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29903   echo $ECHO_N "(cached) $ECHO_C" >&6
29904 fi
29905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29906 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29907 else
29908   # Is the header compilable?
29909 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29910 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29911 cat >conftest.$ac_ext <<_ACEOF
29912 /* confdefs.h.  */
29913 _ACEOF
29914 cat confdefs.h >>conftest.$ac_ext
29915 cat >>conftest.$ac_ext <<_ACEOF
29916 /* end confdefs.h.  */
29917 $ac_includes_default
29918 #include <$ac_header>
29919 _ACEOF
29920 rm -f conftest.$ac_objext
29921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29922   (eval $ac_compile) 2>conftest.er1
29923   ac_status=$?
29924   grep -v '^ *+' conftest.er1 >conftest.err
29925   rm -f conftest.er1
29926   cat conftest.err >&5
29927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29928   (exit $ac_status); } &&
29929          { ac_try='test -z "$ac_c_werror_flag"
29930                          || test ! -s conftest.err'
29931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29932   (eval $ac_try) 2>&5
29933   ac_status=$?
29934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29935   (exit $ac_status); }; } &&
29936          { ac_try='test -s conftest.$ac_objext'
29937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29938   (eval $ac_try) 2>&5
29939   ac_status=$?
29940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29941   (exit $ac_status); }; }; then
29942   ac_header_compiler=yes
29943 else
29944   echo "$as_me: failed program was:" >&5
29945 sed 's/^/| /' conftest.$ac_ext >&5
29946
29947 ac_header_compiler=no
29948 fi
29949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29950 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29951 echo "${ECHO_T}$ac_header_compiler" >&6
29952
29953 # Is the header present?
29954 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29955 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29956 cat >conftest.$ac_ext <<_ACEOF
29957 /* confdefs.h.  */
29958 _ACEOF
29959 cat confdefs.h >>conftest.$ac_ext
29960 cat >>conftest.$ac_ext <<_ACEOF
29961 /* end confdefs.h.  */
29962 #include <$ac_header>
29963 _ACEOF
29964 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29965   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29966   ac_status=$?
29967   grep -v '^ *+' conftest.er1 >conftest.err
29968   rm -f conftest.er1
29969   cat conftest.err >&5
29970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29971   (exit $ac_status); } >/dev/null; then
29972   if test -s conftest.err; then
29973     ac_cpp_err=$ac_c_preproc_warn_flag
29974     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29975   else
29976     ac_cpp_err=
29977   fi
29978 else
29979   ac_cpp_err=yes
29980 fi
29981 if test -z "$ac_cpp_err"; then
29982   ac_header_preproc=yes
29983 else
29984   echo "$as_me: failed program was:" >&5
29985 sed 's/^/| /' conftest.$ac_ext >&5
29986
29987   ac_header_preproc=no
29988 fi
29989 rm -f conftest.err conftest.$ac_ext
29990 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29991 echo "${ECHO_T}$ac_header_preproc" >&6
29992
29993 # So?  What about this header?
29994 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29995   yes:no: )
29996     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29997 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29998     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29999 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30000     ac_header_preproc=yes
30001     ;;
30002   no:yes:* )
30003     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30004 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30005     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
30006 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
30007     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30008 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30009     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
30010 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
30011     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30012 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30013     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30014 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30015     (
30016       cat <<\_ASBOX
30017 ## ----------------------------------------- ##
30018 ## Report this to the package-unused lists.  ##
30019 ## ----------------------------------------- ##
30020 _ASBOX
30021     ) |
30022       sed "s/^/$as_me: WARNING:     /" >&2
30023     ;;
30024 esac
30025 echo "$as_me:$LINENO: checking for $ac_header" >&5
30026 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30028   echo $ECHO_N "(cached) $ECHO_C" >&6
30029 else
30030   eval "$as_ac_Header=\$ac_header_preproc"
30031 fi
30032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30033 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30034
30035 fi
30036 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30037   cat >>confdefs.h <<_ACEOF
30038 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30039 _ACEOF
30040
30041 fi
30042
30043 done
30044
30045
30046   if test "${glibcxx_cv_WRITEV+set}" = set; then
30047   echo $ECHO_N "(cached) $ECHO_C" >&6
30048 else
30049
30050     if test x$gcc_no_link = xyes; then
30051   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30053    { (exit 1); exit 1; }; }
30054 fi
30055 cat >conftest.$ac_ext <<_ACEOF
30056 /* confdefs.h.  */
30057 _ACEOF
30058 cat confdefs.h >>conftest.$ac_ext
30059 cat >>conftest.$ac_ext <<_ACEOF
30060 /* end confdefs.h.  */
30061 #include <sys/uio.h>
30062 int
30063 main ()
30064 {
30065 struct iovec iov[2];
30066        writev(0, iov, 0);
30067   ;
30068   return 0;
30069 }
30070 _ACEOF
30071 rm -f conftest.$ac_objext conftest$ac_exeext
30072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30073   (eval $ac_link) 2>conftest.er1
30074   ac_status=$?
30075   grep -v '^ *+' conftest.er1 >conftest.err
30076   rm -f conftest.er1
30077   cat conftest.err >&5
30078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30079   (exit $ac_status); } &&
30080          { ac_try='test -z "$ac_c_werror_flag"
30081                          || test ! -s conftest.err'
30082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30083   (eval $ac_try) 2>&5
30084   ac_status=$?
30085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30086   (exit $ac_status); }; } &&
30087          { ac_try='test -s conftest$ac_exeext'
30088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30089   (eval $ac_try) 2>&5
30090   ac_status=$?
30091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30092   (exit $ac_status); }; }; then
30093   glibcxx_cv_WRITEV=yes
30094 else
30095   echo "$as_me: failed program was:" >&5
30096 sed 's/^/| /' conftest.$ac_ext >&5
30097
30098 glibcxx_cv_WRITEV=no
30099 fi
30100 rm -f conftest.err conftest.$ac_objext \
30101       conftest$ac_exeext conftest.$ac_ext
30102
30103 fi
30104
30105   if test $glibcxx_cv_WRITEV = yes; then
30106     cat >>confdefs.h <<\_ACEOF
30107 #define HAVE_WRITEV 1
30108 _ACEOF
30109
30110   fi
30111
30112
30113   # For the __streamoff_base_type typedef.
30114
30115   if test "${glibcxx_cv_INT64_T+set}" = set; then
30116   echo $ECHO_N "(cached) $ECHO_C" >&6
30117 else
30118
30119     cat >conftest.$ac_ext <<_ACEOF
30120 /* confdefs.h.  */
30121 _ACEOF
30122 cat confdefs.h >>conftest.$ac_ext
30123 cat >>conftest.$ac_ext <<_ACEOF
30124 /* end confdefs.h.  */
30125 #include <stdint.h>
30126 int
30127 main ()
30128 {
30129 int64_t var;
30130   ;
30131   return 0;
30132 }
30133 _ACEOF
30134 rm -f conftest.$ac_objext
30135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30136   (eval $ac_compile) 2>conftest.er1
30137   ac_status=$?
30138   grep -v '^ *+' conftest.er1 >conftest.err
30139   rm -f conftest.er1
30140   cat conftest.err >&5
30141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30142   (exit $ac_status); } &&
30143          { ac_try='test -z "$ac_c_werror_flag"
30144                          || test ! -s conftest.err'
30145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30146   (eval $ac_try) 2>&5
30147   ac_status=$?
30148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30149   (exit $ac_status); }; } &&
30150          { ac_try='test -s conftest.$ac_objext'
30151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30152   (eval $ac_try) 2>&5
30153   ac_status=$?
30154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30155   (exit $ac_status); }; }; then
30156   glibcxx_cv_INT64_T=yes
30157 else
30158   echo "$as_me: failed program was:" >&5
30159 sed 's/^/| /' conftest.$ac_ext >&5
30160
30161 glibcxx_cv_INT64_T=no
30162 fi
30163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30164
30165 fi
30166
30167   if test $glibcxx_cv_INT64_T = yes; then
30168     cat >>confdefs.h <<\_ACEOF
30169 #define HAVE_INT64_T 1
30170 _ACEOF
30171
30172   fi
30173
30174
30175   # For LFS support.
30176
30177
30178
30179   ac_ext=cc
30180 ac_cpp='$CXXCPP $CPPFLAGS'
30181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30184
30185   ac_save_CXXFLAGS="$CXXFLAGS"
30186   CXXFLAGS="$CXXFLAGS -fno-exceptions"
30187   if test "${glibcxx_cv_LFS+set}" = set; then
30188   echo $ECHO_N "(cached) $ECHO_C" >&6
30189 else
30190
30191     if test x$gcc_no_link = xyes; then
30192   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30194    { (exit 1); exit 1; }; }
30195 fi
30196 cat >conftest.$ac_ext <<_ACEOF
30197 /* confdefs.h.  */
30198 _ACEOF
30199 cat confdefs.h >>conftest.$ac_ext
30200 cat >>conftest.$ac_ext <<_ACEOF
30201 /* end confdefs.h.  */
30202 #include <unistd.h>
30203        #include <stdio.h>
30204        #include <sys/stat.h>
30205
30206 int
30207 main ()
30208 {
30209 FILE* fp;
30210        fopen64("t", "w");
30211        fseeko64(fp, 0, SEEK_CUR);
30212        ftello64(fp);
30213        lseek64(1, 0, SEEK_CUR);
30214        struct stat64 buf;
30215        fstat64(1, &buf);
30216   ;
30217   return 0;
30218 }
30219 _ACEOF
30220 rm -f conftest.$ac_objext conftest$ac_exeext
30221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30222   (eval $ac_link) 2>conftest.er1
30223   ac_status=$?
30224   grep -v '^ *+' conftest.er1 >conftest.err
30225   rm -f conftest.er1
30226   cat conftest.err >&5
30227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30228   (exit $ac_status); } &&
30229          { ac_try='test -z "$ac_cxx_werror_flag"
30230                          || test ! -s conftest.err'
30231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30232   (eval $ac_try) 2>&5
30233   ac_status=$?
30234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30235   (exit $ac_status); }; } &&
30236          { ac_try='test -s conftest$ac_exeext'
30237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30238   (eval $ac_try) 2>&5
30239   ac_status=$?
30240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30241   (exit $ac_status); }; }; then
30242   glibcxx_cv_LFS=yes
30243 else
30244   echo "$as_me: failed program was:" >&5
30245 sed 's/^/| /' conftest.$ac_ext >&5
30246
30247 glibcxx_cv_LFS=no
30248 fi
30249 rm -f conftest.err conftest.$ac_objext \
30250       conftest$ac_exeext conftest.$ac_ext
30251
30252 fi
30253
30254   if test $glibcxx_cv_LFS = yes; then
30255     cat >>confdefs.h <<\_ACEOF
30256 #define _GLIBCXX_USE_LFS 1
30257 _ACEOF
30258
30259   fi
30260   CXXFLAGS="$ac_save_CXXFLAGS"
30261   ac_ext=c
30262 ac_cpp='$CPP $CPPFLAGS'
30263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30266
30267
30268
30269
30270   if test "${ac_cv_header_locale_h+set}" = set; then
30271   echo "$as_me:$LINENO: checking for locale.h" >&5
30272 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30273 if test "${ac_cv_header_locale_h+set}" = set; then
30274   echo $ECHO_N "(cached) $ECHO_C" >&6
30275 fi
30276 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30277 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30278 else
30279   # Is the header compilable?
30280 echo "$as_me:$LINENO: checking locale.h usability" >&5
30281 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
30282 cat >conftest.$ac_ext <<_ACEOF
30283 /* confdefs.h.  */
30284 _ACEOF
30285 cat confdefs.h >>conftest.$ac_ext
30286 cat >>conftest.$ac_ext <<_ACEOF
30287 /* end confdefs.h.  */
30288 $ac_includes_default
30289 #include <locale.h>
30290 _ACEOF
30291 rm -f conftest.$ac_objext
30292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30293   (eval $ac_compile) 2>conftest.er1
30294   ac_status=$?
30295   grep -v '^ *+' conftest.er1 >conftest.err
30296   rm -f conftest.er1
30297   cat conftest.err >&5
30298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30299   (exit $ac_status); } &&
30300          { ac_try='test -z "$ac_c_werror_flag"
30301                          || test ! -s conftest.err'
30302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30303   (eval $ac_try) 2>&5
30304   ac_status=$?
30305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30306   (exit $ac_status); }; } &&
30307          { ac_try='test -s conftest.$ac_objext'
30308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30309   (eval $ac_try) 2>&5
30310   ac_status=$?
30311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30312   (exit $ac_status); }; }; then
30313   ac_header_compiler=yes
30314 else
30315   echo "$as_me: failed program was:" >&5
30316 sed 's/^/| /' conftest.$ac_ext >&5
30317
30318 ac_header_compiler=no
30319 fi
30320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30321 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30322 echo "${ECHO_T}$ac_header_compiler" >&6
30323
30324 # Is the header present?
30325 echo "$as_me:$LINENO: checking locale.h presence" >&5
30326 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
30327 cat >conftest.$ac_ext <<_ACEOF
30328 /* confdefs.h.  */
30329 _ACEOF
30330 cat confdefs.h >>conftest.$ac_ext
30331 cat >>conftest.$ac_ext <<_ACEOF
30332 /* end confdefs.h.  */
30333 #include <locale.h>
30334 _ACEOF
30335 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30336   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30337   ac_status=$?
30338   grep -v '^ *+' conftest.er1 >conftest.err
30339   rm -f conftest.er1
30340   cat conftest.err >&5
30341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30342   (exit $ac_status); } >/dev/null; then
30343   if test -s conftest.err; then
30344     ac_cpp_err=$ac_c_preproc_warn_flag
30345     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30346   else
30347     ac_cpp_err=
30348   fi
30349 else
30350   ac_cpp_err=yes
30351 fi
30352 if test -z "$ac_cpp_err"; then
30353   ac_header_preproc=yes
30354 else
30355   echo "$as_me: failed program was:" >&5
30356 sed 's/^/| /' conftest.$ac_ext >&5
30357
30358   ac_header_preproc=no
30359 fi
30360 rm -f conftest.err conftest.$ac_ext
30361 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30362 echo "${ECHO_T}$ac_header_preproc" >&6
30363
30364 # So?  What about this header?
30365 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30366   yes:no: )
30367     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
30368 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30369     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
30370 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
30371     ac_header_preproc=yes
30372     ;;
30373   no:yes:* )
30374     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
30375 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
30376     { echo "$as_me:$LINENO: WARNING: locale.h:     check for missing prerequisite headers?" >&5
30377 echo "$as_me: WARNING: locale.h:     check for missing prerequisite headers?" >&2;}
30378     { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
30379 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
30380     { echo "$as_me:$LINENO: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&5
30381 echo "$as_me: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&2;}
30382     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
30383 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
30384     { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
30385 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
30386     (
30387       cat <<\_ASBOX
30388 ## ----------------------------------------- ##
30389 ## Report this to the package-unused lists.  ##
30390 ## ----------------------------------------- ##
30391 _ASBOX
30392     ) |
30393       sed "s/^/$as_me: WARNING:     /" >&2
30394     ;;
30395 esac
30396 echo "$as_me:$LINENO: checking for locale.h" >&5
30397 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30398 if test "${ac_cv_header_locale_h+set}" = set; then
30399   echo $ECHO_N "(cached) $ECHO_C" >&6
30400 else
30401   ac_cv_header_locale_h=$ac_header_preproc
30402 fi
30403 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30404 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30405
30406 fi
30407 if test $ac_cv_header_locale_h = yes; then
30408
30409     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
30410 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
30411 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
30412   echo $ECHO_N "(cached) $ECHO_C" >&6
30413 else
30414   if test x$gcc_no_link = xyes; then
30415   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30417    { (exit 1); exit 1; }; }
30418 fi
30419 cat >conftest.$ac_ext <<_ACEOF
30420 /* confdefs.h.  */
30421 _ACEOF
30422 cat confdefs.h >>conftest.$ac_ext
30423 cat >>conftest.$ac_ext <<_ACEOF
30424 /* end confdefs.h.  */
30425 #include <locale.h>
30426 int
30427 main ()
30428 {
30429 return LC_MESSAGES
30430   ;
30431   return 0;
30432 }
30433 _ACEOF
30434 rm -f conftest.$ac_objext conftest$ac_exeext
30435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30436   (eval $ac_link) 2>conftest.er1
30437   ac_status=$?
30438   grep -v '^ *+' conftest.er1 >conftest.err
30439   rm -f conftest.er1
30440   cat conftest.err >&5
30441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30442   (exit $ac_status); } &&
30443          { ac_try='test -z "$ac_c_werror_flag"
30444                          || test ! -s conftest.err'
30445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30446   (eval $ac_try) 2>&5
30447   ac_status=$?
30448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30449   (exit $ac_status); }; } &&
30450          { ac_try='test -s conftest$ac_exeext'
30451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30452   (eval $ac_try) 2>&5
30453   ac_status=$?
30454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30455   (exit $ac_status); }; }; then
30456   ac_cv_val_LC_MESSAGES=yes
30457 else
30458   echo "$as_me: failed program was:" >&5
30459 sed 's/^/| /' conftest.$ac_ext >&5
30460
30461 ac_cv_val_LC_MESSAGES=no
30462 fi
30463 rm -f conftest.err conftest.$ac_objext \
30464       conftest$ac_exeext conftest.$ac_ext
30465 fi
30466 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
30467 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
30468     if test $ac_cv_val_LC_MESSAGES = yes; then
30469       cat >>confdefs.h <<\_ACEOF
30470 #define HAVE_LC_MESSAGES 1
30471 _ACEOF
30472
30473     fi
30474
30475 fi
30476
30477
30478
30479
30480   cat >conftest.$ac_ext <<_ACEOF
30481 /* confdefs.h.  */
30482 _ACEOF
30483 cat confdefs.h >>conftest.$ac_ext
30484 cat >>conftest.$ac_ext <<_ACEOF
30485 /* end confdefs.h.  */
30486 #include <setjmp.h>
30487 int
30488 main ()
30489 {
30490 sigjmp_buf env;
30491      while (! sigsetjmp (env, 1))
30492        siglongjmp (env, 1);
30493
30494   ;
30495   return 0;
30496 }
30497 _ACEOF
30498 rm -f conftest.$ac_objext
30499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30500   (eval $ac_compile) 2>conftest.er1
30501   ac_status=$?
30502   grep -v '^ *+' conftest.er1 >conftest.err
30503   rm -f conftest.er1
30504   cat conftest.err >&5
30505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30506   (exit $ac_status); } &&
30507          { ac_try='test -z "$ac_c_werror_flag"
30508                          || test ! -s conftest.err'
30509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30510   (eval $ac_try) 2>&5
30511   ac_status=$?
30512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30513   (exit $ac_status); }; } &&
30514          { ac_try='test -s conftest.$ac_objext'
30515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30516   (eval $ac_try) 2>&5
30517   ac_status=$?
30518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30519   (exit $ac_status); }; }; then
30520
30521 cat >>confdefs.h <<\_ACEOF
30522 #define HAVE_SIGSETJMP 1
30523 _ACEOF
30524
30525 else
30526   echo "$as_me: failed program was:" >&5
30527 sed 's/^/| /' conftest.$ac_ext >&5
30528
30529 fi
30530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30531
30532   if test x$gcc_no_link = xyes; then
30533   if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30534     ac_cv_func_mmap_fixed_mapped=no
30535   fi
30536 fi
30537 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30538
30539
30540 for ac_header in stdlib.h unistd.h
30541 do
30542 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30544   echo "$as_me:$LINENO: checking for $ac_header" >&5
30545 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30546 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30547   echo $ECHO_N "(cached) $ECHO_C" >&6
30548 fi
30549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30550 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30551 else
30552   # Is the header compilable?
30553 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30554 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30555 cat >conftest.$ac_ext <<_ACEOF
30556 /* confdefs.h.  */
30557 _ACEOF
30558 cat confdefs.h >>conftest.$ac_ext
30559 cat >>conftest.$ac_ext <<_ACEOF
30560 /* end confdefs.h.  */
30561 $ac_includes_default
30562 #include <$ac_header>
30563 _ACEOF
30564 rm -f conftest.$ac_objext
30565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30566   (eval $ac_compile) 2>conftest.er1
30567   ac_status=$?
30568   grep -v '^ *+' conftest.er1 >conftest.err
30569   rm -f conftest.er1
30570   cat conftest.err >&5
30571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30572   (exit $ac_status); } &&
30573          { ac_try='test -z "$ac_c_werror_flag"
30574                          || test ! -s conftest.err'
30575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30576   (eval $ac_try) 2>&5
30577   ac_status=$?
30578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30579   (exit $ac_status); }; } &&
30580          { ac_try='test -s conftest.$ac_objext'
30581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30582   (eval $ac_try) 2>&5
30583   ac_status=$?
30584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30585   (exit $ac_status); }; }; then
30586   ac_header_compiler=yes
30587 else
30588   echo "$as_me: failed program was:" >&5
30589 sed 's/^/| /' conftest.$ac_ext >&5
30590
30591 ac_header_compiler=no
30592 fi
30593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30594 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30595 echo "${ECHO_T}$ac_header_compiler" >&6
30596
30597 # Is the header present?
30598 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30599 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30600 cat >conftest.$ac_ext <<_ACEOF
30601 /* confdefs.h.  */
30602 _ACEOF
30603 cat confdefs.h >>conftest.$ac_ext
30604 cat >>conftest.$ac_ext <<_ACEOF
30605 /* end confdefs.h.  */
30606 #include <$ac_header>
30607 _ACEOF
30608 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30609   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30610   ac_status=$?
30611   grep -v '^ *+' conftest.er1 >conftest.err
30612   rm -f conftest.er1
30613   cat conftest.err >&5
30614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30615   (exit $ac_status); } >/dev/null; then
30616   if test -s conftest.err; then
30617     ac_cpp_err=$ac_c_preproc_warn_flag
30618     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30619   else
30620     ac_cpp_err=
30621   fi
30622 else
30623   ac_cpp_err=yes
30624 fi
30625 if test -z "$ac_cpp_err"; then
30626   ac_header_preproc=yes
30627 else
30628   echo "$as_me: failed program was:" >&5
30629 sed 's/^/| /' conftest.$ac_ext >&5
30630
30631   ac_header_preproc=no
30632 fi
30633 rm -f conftest.err conftest.$ac_ext
30634 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30635 echo "${ECHO_T}$ac_header_preproc" >&6
30636
30637 # So?  What about this header?
30638 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30639   yes:no: )
30640     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30641 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30642     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30643 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30644     ac_header_preproc=yes
30645     ;;
30646   no:yes:* )
30647     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30648 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30649     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
30650 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
30651     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30652 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30653     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
30654 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
30655     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30656 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30657     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30658 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30659     (
30660       cat <<\_ASBOX
30661 ## ----------------------------------------- ##
30662 ## Report this to the package-unused lists.  ##
30663 ## ----------------------------------------- ##
30664 _ASBOX
30665     ) |
30666       sed "s/^/$as_me: WARNING:     /" >&2
30667     ;;
30668 esac
30669 echo "$as_me:$LINENO: checking for $ac_header" >&5
30670 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30671 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30672   echo $ECHO_N "(cached) $ECHO_C" >&6
30673 else
30674   eval "$as_ac_Header=\$ac_header_preproc"
30675 fi
30676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30677 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30678
30679 fi
30680 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30681   cat >>confdefs.h <<_ACEOF
30682 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30683 _ACEOF
30684
30685 fi
30686
30687 done
30688
30689
30690 for ac_func in getpagesize
30691 do
30692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30693 echo "$as_me:$LINENO: checking for $ac_func" >&5
30694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30695 if eval "test \"\${$as_ac_var+set}\" = set"; then
30696   echo $ECHO_N "(cached) $ECHO_C" >&6
30697 else
30698   if test x$gcc_no_link = xyes; then
30699   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30701    { (exit 1); exit 1; }; }
30702 fi
30703 cat >conftest.$ac_ext <<_ACEOF
30704 /* confdefs.h.  */
30705 _ACEOF
30706 cat confdefs.h >>conftest.$ac_ext
30707 cat >>conftest.$ac_ext <<_ACEOF
30708 /* end confdefs.h.  */
30709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30710    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30711 #define $ac_func innocuous_$ac_func
30712
30713 /* System header to define __stub macros and hopefully few prototypes,
30714     which can conflict with char $ac_func (); below.
30715     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30716     <limits.h> exists even on freestanding compilers.  */
30717
30718 #ifdef __STDC__
30719 # include <limits.h>
30720 #else
30721 # include <assert.h>
30722 #endif
30723
30724 #undef $ac_func
30725
30726 /* Override any gcc2 internal prototype to avoid an error.  */
30727 #ifdef __cplusplus
30728 extern "C"
30729 {
30730 #endif
30731 /* We use char because int might match the return type of a gcc2
30732    builtin and then its argument prototype would still apply.  */
30733 char $ac_func ();
30734 /* The GNU C library defines this for functions which it implements
30735     to always fail with ENOSYS.  Some functions are actually named
30736     something starting with __ and the normal name is an alias.  */
30737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30738 choke me
30739 #else
30740 char (*f) () = $ac_func;
30741 #endif
30742 #ifdef __cplusplus
30743 }
30744 #endif
30745
30746 int
30747 main ()
30748 {
30749 return f != $ac_func;
30750   ;
30751   return 0;
30752 }
30753 _ACEOF
30754 rm -f conftest.$ac_objext conftest$ac_exeext
30755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30756   (eval $ac_link) 2>conftest.er1
30757   ac_status=$?
30758   grep -v '^ *+' conftest.er1 >conftest.err
30759   rm -f conftest.er1
30760   cat conftest.err >&5
30761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30762   (exit $ac_status); } &&
30763          { ac_try='test -z "$ac_c_werror_flag"
30764                          || test ! -s conftest.err'
30765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30766   (eval $ac_try) 2>&5
30767   ac_status=$?
30768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30769   (exit $ac_status); }; } &&
30770          { ac_try='test -s conftest$ac_exeext'
30771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30772   (eval $ac_try) 2>&5
30773   ac_status=$?
30774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30775   (exit $ac_status); }; }; then
30776   eval "$as_ac_var=yes"
30777 else
30778   echo "$as_me: failed program was:" >&5
30779 sed 's/^/| /' conftest.$ac_ext >&5
30780
30781 eval "$as_ac_var=no"
30782 fi
30783 rm -f conftest.err conftest.$ac_objext \
30784       conftest$ac_exeext conftest.$ac_ext
30785 fi
30786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30788 if test `eval echo '${'$as_ac_var'}'` = yes; then
30789   cat >>confdefs.h <<_ACEOF
30790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30791 _ACEOF
30792
30793 fi
30794 done
30795
30796 echo "$as_me:$LINENO: checking for working mmap" >&5
30797 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
30798 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
30799   echo $ECHO_N "(cached) $ECHO_C" >&6
30800 else
30801   if test "$cross_compiling" = yes; then
30802   ac_cv_func_mmap_fixed_mapped=no
30803 else
30804   cat >conftest.$ac_ext <<_ACEOF
30805 /* confdefs.h.  */
30806 _ACEOF
30807 cat confdefs.h >>conftest.$ac_ext
30808 cat >>conftest.$ac_ext <<_ACEOF
30809 /* end confdefs.h.  */
30810 $ac_includes_default
30811 /* malloc might have been renamed as rpl_malloc. */
30812 #undef malloc
30813
30814 /* Thanks to Mike Haertel and Jim Avera for this test.
30815    Here is a matrix of mmap possibilities:
30816         mmap private not fixed
30817         mmap private fixed at somewhere currently unmapped
30818         mmap private fixed at somewhere already mapped
30819         mmap shared not fixed
30820         mmap shared fixed at somewhere currently unmapped
30821         mmap shared fixed at somewhere already mapped
30822    For private mappings, we should verify that changes cannot be read()
30823    back from the file, nor mmap's back from the file at a different
30824    address.  (There have been systems where private was not correctly
30825    implemented like the infamous i386 svr4.0, and systems where the
30826    VM page cache was not coherent with the file system buffer cache
30827    like early versions of FreeBSD and possibly contemporary NetBSD.)
30828    For shared mappings, we should conversely verify that changes get
30829    propagated back to all the places they're supposed to be.
30830
30831    Grep wants private fixed already mapped.
30832    The main things grep needs to know about mmap are:
30833    * does it exist and is it safe to write into the mmap'd area
30834    * how to use it (BSD variants)  */
30835
30836 #include <fcntl.h>
30837 #include <sys/mman.h>
30838
30839 #if !STDC_HEADERS && !HAVE_STDLIB_H
30840 char *malloc ();
30841 #endif
30842
30843 /* This mess was copied from the GNU getpagesize.h.  */
30844 #if !HAVE_GETPAGESIZE
30845 /* Assume that all systems that can run configure have sys/param.h.  */
30846 # if !HAVE_SYS_PARAM_H
30847 #  define HAVE_SYS_PARAM_H 1
30848 # endif
30849
30850 # ifdef _SC_PAGESIZE
30851 #  define getpagesize() sysconf(_SC_PAGESIZE)
30852 # else /* no _SC_PAGESIZE */
30853 #  if HAVE_SYS_PARAM_H
30854 #   include <sys/param.h>
30855 #   ifdef EXEC_PAGESIZE
30856 #    define getpagesize() EXEC_PAGESIZE
30857 #   else /* no EXEC_PAGESIZE */
30858 #    ifdef NBPG
30859 #     define getpagesize() NBPG * CLSIZE
30860 #     ifndef CLSIZE
30861 #      define CLSIZE 1
30862 #     endif /* no CLSIZE */
30863 #    else /* no NBPG */
30864 #     ifdef NBPC
30865 #      define getpagesize() NBPC
30866 #     else /* no NBPC */
30867 #      ifdef PAGESIZE
30868 #       define getpagesize() PAGESIZE
30869 #      endif /* PAGESIZE */
30870 #     endif /* no NBPC */
30871 #    endif /* no NBPG */
30872 #   endif /* no EXEC_PAGESIZE */
30873 #  else /* no HAVE_SYS_PARAM_H */
30874 #   define getpagesize() 8192   /* punt totally */
30875 #  endif /* no HAVE_SYS_PARAM_H */
30876 # endif /* no _SC_PAGESIZE */
30877
30878 #endif /* no HAVE_GETPAGESIZE */
30879
30880 int
30881 main ()
30882 {
30883   char *data, *data2, *data3;
30884   int i, pagesize;
30885   int fd;
30886
30887   pagesize = getpagesize ();
30888
30889   /* First, make a file with some known garbage in it. */
30890   data = (char *) malloc (pagesize);
30891   if (!data)
30892     exit (1);
30893   for (i = 0; i < pagesize; ++i)
30894     *(data + i) = rand ();
30895   umask (0);
30896   fd = creat ("conftest.mmap", 0600);
30897   if (fd < 0)
30898     exit (1);
30899   if (write (fd, data, pagesize) != pagesize)
30900     exit (1);
30901   close (fd);
30902
30903   /* Next, try to mmap the file at a fixed address which already has
30904      something else allocated at it.  If we can, also make sure that
30905      we see the same garbage.  */
30906   fd = open ("conftest.mmap", O_RDWR);
30907   if (fd < 0)
30908     exit (1);
30909   data2 = (char *) malloc (2 * pagesize);
30910   if (!data2)
30911     exit (1);
30912   data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
30913   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
30914                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
30915     exit (1);
30916   for (i = 0; i < pagesize; ++i)
30917     if (*(data + i) != *(data2 + i))
30918       exit (1);
30919
30920   /* Finally, make sure that changes to the mapped area do not
30921      percolate back to the file as seen by read().  (This is a bug on
30922      some variants of i386 svr4.0.)  */
30923   for (i = 0; i < pagesize; ++i)
30924     *(data2 + i) = *(data2 + i) + 1;
30925   data3 = (char *) malloc (pagesize);
30926   if (!data3)
30927     exit (1);
30928   if (read (fd, data3, pagesize) != pagesize)
30929     exit (1);
30930   for (i = 0; i < pagesize; ++i)
30931     if (*(data + i) != *(data3 + i))
30932       exit (1);
30933   close (fd);
30934   exit (0);
30935 }
30936 _ACEOF
30937 rm -f conftest$ac_exeext
30938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30939   (eval $ac_link) 2>&5
30940   ac_status=$?
30941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30942   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30944   (eval $ac_try) 2>&5
30945   ac_status=$?
30946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30947   (exit $ac_status); }; }; then
30948   ac_cv_func_mmap_fixed_mapped=yes
30949 else
30950   echo "$as_me: program exited with status $ac_status" >&5
30951 echo "$as_me: failed program was:" >&5
30952 sed 's/^/| /' conftest.$ac_ext >&5
30953
30954 ( exit $ac_status )
30955 ac_cv_func_mmap_fixed_mapped=no
30956 fi
30957 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30958 fi
30959 fi
30960 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
30961 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
30962 if test $ac_cv_func_mmap_fixed_mapped = yes; then
30963
30964 cat >>confdefs.h <<\_ACEOF
30965 #define HAVE_MMAP 1
30966 _ACEOF
30967
30968 fi
30969 rm -f conftest.mmap
30970
30971 fi
30972
30973 else
30974
30975   # This lets us hard-code the functionality we know we'll have in the cross
30976   # target environment.  "Let" is a sugar-coated word placed on an especially
30977   # dull and tedious hack, actually.
30978   #
30979   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
30980   # that involve linking, can't be used:
30981   #    "cannot open sim-crt0.o"
30982   #    "cannot open crt0.o"
30983   # etc.  All this is because there currently exists no unified, consistent
30984   # way for top level CC information to be passed down to target directories:
30985   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
30986   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
30987   # crosses can be removed.
30988
30989   # If Canadian cross, then don't pick up tools from the build directory.
30990   # Used only in GLIBCXX_EXPORT_INCLUDES.
30991   if test -n "$with_cross_host" &&
30992      test x"$build_alias" != x"$with_cross_host" &&
30993      test x"$build" != x"$target";
30994   then
30995     CANADIAN=yes
30996   else
30997     CANADIAN=no
30998   fi
30999
31000   # Construct crosses by hand, eliminating bits that need ld...
31001   # GLIBCXX_CHECK_COMPILER_FEATURES
31002   # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
31003   # GLIBCXX_CHECK_MATH_SUPPORT
31004
31005   # First, test for "known" system libraries.  We may be using newlib even
31006   # on a hosted environment.
31007   if test "x${with_newlib}" = "xyes"; then
31008     os_include_dir="os/newlib"
31009     cat >>confdefs.h <<\_ACEOF
31010 #define HAVE_HYPOT 1
31011 _ACEOF
31012
31013
31014     # GLIBCXX_CHECK_STDLIB_SUPPORT
31015     cat >>confdefs.h <<\_ACEOF
31016 #define HAVE_STRTOF 1
31017 _ACEOF
31018
31019     # AC_FUNC_MMAP
31020     cat >>confdefs.h <<\_ACEOF
31021 #define HAVE_MMAP 1
31022 _ACEOF
31023
31024
31025     cat >>confdefs.h <<\_ACEOF
31026 #define HAVE_ACOSF 1
31027 _ACEOF
31028
31029     cat >>confdefs.h <<\_ACEOF
31030 #define HAVE_ASINF 1
31031 _ACEOF
31032
31033     cat >>confdefs.h <<\_ACEOF
31034 #define HAVE_ATAN2F 1
31035 _ACEOF
31036
31037     cat >>confdefs.h <<\_ACEOF
31038 #define HAVE_ATANF 1
31039 _ACEOF
31040
31041     cat >>confdefs.h <<\_ACEOF
31042 #define HAVE_CEILF 1
31043 _ACEOF
31044
31045     cat >>confdefs.h <<\_ACEOF
31046 #define HAVE_COPYSIGN 1
31047 _ACEOF
31048
31049     cat >>confdefs.h <<\_ACEOF
31050 #define HAVE_COPYSIGNF 1
31051 _ACEOF
31052
31053     cat >>confdefs.h <<\_ACEOF
31054 #define HAVE_COSF 1
31055 _ACEOF
31056
31057     cat >>confdefs.h <<\_ACEOF
31058 #define HAVE_COSHF 1
31059 _ACEOF
31060
31061     cat >>confdefs.h <<\_ACEOF
31062 #define HAVE_EXPF 1
31063 _ACEOF
31064
31065     cat >>confdefs.h <<\_ACEOF
31066 #define HAVE_FABSF 1
31067 _ACEOF
31068
31069     cat >>confdefs.h <<\_ACEOF
31070 #define HAVE_FLOORF 1
31071 _ACEOF
31072
31073     cat >>confdefs.h <<\_ACEOF
31074 #define HAVE_FMODF 1
31075 _ACEOF
31076
31077     cat >>confdefs.h <<\_ACEOF
31078 #define HAVE_FREXPF 1
31079 _ACEOF
31080
31081     cat >>confdefs.h <<\_ACEOF
31082 #define HAVE_LDEXPF 1
31083 _ACEOF
31084
31085     cat >>confdefs.h <<\_ACEOF
31086 #define HAVE_LOG10F 1
31087 _ACEOF
31088
31089     cat >>confdefs.h <<\_ACEOF
31090 #define HAVE_LOGF 1
31091 _ACEOF
31092
31093     cat >>confdefs.h <<\_ACEOF
31094 #define HAVE_MODFF 1
31095 _ACEOF
31096
31097     cat >>confdefs.h <<\_ACEOF
31098 #define HAVE_POWF 1
31099 _ACEOF
31100
31101     cat >>confdefs.h <<\_ACEOF
31102 #define HAVE_SINF 1
31103 _ACEOF
31104
31105     cat >>confdefs.h <<\_ACEOF
31106 #define HAVE_SINHF 1
31107 _ACEOF
31108
31109     cat >>confdefs.h <<\_ACEOF
31110 #define HAVE_SQRTF 1
31111 _ACEOF
31112
31113     cat >>confdefs.h <<\_ACEOF
31114 #define HAVE_TANF 1
31115 _ACEOF
31116
31117     cat >>confdefs.h <<\_ACEOF
31118 #define HAVE_TANHF 1
31119 _ACEOF
31120
31121
31122     cat >>confdefs.h <<\_ACEOF
31123 #define HAVE_S_ISREG 1
31124 _ACEOF
31125
31126     cat >>confdefs.h <<\_ACEOF
31127 #define HAVE_S_IFREG 1
31128 _ACEOF
31129
31130   else
31131
31132 # Base decisions on target environment.
31133 case "${host}" in
31134   arm*-*-symbianelf*)
31135     # This is a freestanding configuration; there is nothing to do here.
31136     ;;
31137
31138   *-darwin*)
31139     # Darwin versions vary, but the linker should work in a cross environment,
31140     # so we just check for all the features here.
31141     # Check for available headers.
31142
31143
31144
31145
31146
31147
31148
31149
31150
31151
31152
31153
31154
31155 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
31156     machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
31157     sys/types.h
31158 do
31159 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31160 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31161   echo "$as_me:$LINENO: checking for $ac_header" >&5
31162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31164   echo $ECHO_N "(cached) $ECHO_C" >&6
31165 fi
31166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31167 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31168 else
31169   # Is the header compilable?
31170 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31171 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31172 cat >conftest.$ac_ext <<_ACEOF
31173 /* confdefs.h.  */
31174 _ACEOF
31175 cat confdefs.h >>conftest.$ac_ext
31176 cat >>conftest.$ac_ext <<_ACEOF
31177 /* end confdefs.h.  */
31178 $ac_includes_default
31179 #include <$ac_header>
31180 _ACEOF
31181 rm -f conftest.$ac_objext
31182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31183   (eval $ac_compile) 2>conftest.er1
31184   ac_status=$?
31185   grep -v '^ *+' conftest.er1 >conftest.err
31186   rm -f conftest.er1
31187   cat conftest.err >&5
31188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31189   (exit $ac_status); } &&
31190          { ac_try='test -z "$ac_c_werror_flag"
31191                          || test ! -s conftest.err'
31192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31193   (eval $ac_try) 2>&5
31194   ac_status=$?
31195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31196   (exit $ac_status); }; } &&
31197          { ac_try='test -s conftest.$ac_objext'
31198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31199   (eval $ac_try) 2>&5
31200   ac_status=$?
31201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31202   (exit $ac_status); }; }; then
31203   ac_header_compiler=yes
31204 else
31205   echo "$as_me: failed program was:" >&5
31206 sed 's/^/| /' conftest.$ac_ext >&5
31207
31208 ac_header_compiler=no
31209 fi
31210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31211 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31212 echo "${ECHO_T}$ac_header_compiler" >&6
31213
31214 # Is the header present?
31215 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31216 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31217 cat >conftest.$ac_ext <<_ACEOF
31218 /* confdefs.h.  */
31219 _ACEOF
31220 cat confdefs.h >>conftest.$ac_ext
31221 cat >>conftest.$ac_ext <<_ACEOF
31222 /* end confdefs.h.  */
31223 #include <$ac_header>
31224 _ACEOF
31225 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31226   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31227   ac_status=$?
31228   grep -v '^ *+' conftest.er1 >conftest.err
31229   rm -f conftest.er1
31230   cat conftest.err >&5
31231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31232   (exit $ac_status); } >/dev/null; then
31233   if test -s conftest.err; then
31234     ac_cpp_err=$ac_c_preproc_warn_flag
31235     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31236   else
31237     ac_cpp_err=
31238   fi
31239 else
31240   ac_cpp_err=yes
31241 fi
31242 if test -z "$ac_cpp_err"; then
31243   ac_header_preproc=yes
31244 else
31245   echo "$as_me: failed program was:" >&5
31246 sed 's/^/| /' conftest.$ac_ext >&5
31247
31248   ac_header_preproc=no
31249 fi
31250 rm -f conftest.err conftest.$ac_ext
31251 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31252 echo "${ECHO_T}$ac_header_preproc" >&6
31253
31254 # So?  What about this header?
31255 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31256   yes:no: )
31257     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31258 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31259     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31260 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31261     ac_header_preproc=yes
31262     ;;
31263   no:yes:* )
31264     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31265 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31266     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
31267 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
31268     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31269 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31270     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
31271 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
31272     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31273 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31274     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31275 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31276     (
31277       cat <<\_ASBOX
31278 ## ----------------------------------------- ##
31279 ## Report this to the package-unused lists.  ##
31280 ## ----------------------------------------- ##
31281 _ASBOX
31282     ) |
31283       sed "s/^/$as_me: WARNING:     /" >&2
31284     ;;
31285 esac
31286 echo "$as_me:$LINENO: checking for $ac_header" >&5
31287 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31288 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31289   echo $ECHO_N "(cached) $ECHO_C" >&6
31290 else
31291   eval "$as_ac_Header=\$ac_header_preproc"
31292 fi
31293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31294 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31295
31296 fi
31297 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31298   cat >>confdefs.h <<_ACEOF
31299 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31300 _ACEOF
31301
31302 fi
31303
31304 done
31305
31306
31307
31308   # All these tests are for C++; save the language and the compiler flags.
31309   # The CXXFLAGS thing is suspicious, but based on similar bits previously
31310   # found in GLIBCXX_CONFIGURE.
31311
31312
31313   ac_ext=cc
31314 ac_cpp='$CXXCPP $CPPFLAGS'
31315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31318
31319   ac_test_CXXFLAGS="${CXXFLAGS+set}"
31320   ac_save_CXXFLAGS="$CXXFLAGS"
31321
31322   # Check for maintainer-mode bits.
31323   if test x"$USE_MAINTAINER_MODE" = xno; then
31324     WERROR=''
31325   else
31326     WERROR='-Werror'
31327   fi
31328
31329   # Check for -ffunction-sections -fdata-sections
31330   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
31331 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
31332   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
31333   cat >conftest.$ac_ext <<_ACEOF
31334 /* confdefs.h.  */
31335 _ACEOF
31336 cat confdefs.h >>conftest.$ac_ext
31337 cat >>conftest.$ac_ext <<_ACEOF
31338 /* end confdefs.h.  */
31339
31340 int
31341 main ()
31342 {
31343 int foo;
31344   ;
31345   return 0;
31346 }
31347 _ACEOF
31348 rm -f conftest.$ac_objext
31349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31350   (eval $ac_compile) 2>conftest.er1
31351   ac_status=$?
31352   grep -v '^ *+' conftest.er1 >conftest.err
31353   rm -f conftest.er1
31354   cat conftest.err >&5
31355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31356   (exit $ac_status); } &&
31357          { ac_try='test -z "$ac_cxx_werror_flag"
31358                          || test ! -s conftest.err'
31359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31360   (eval $ac_try) 2>&5
31361   ac_status=$?
31362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31363   (exit $ac_status); }; } &&
31364          { ac_try='test -s conftest.$ac_objext'
31365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31366   (eval $ac_try) 2>&5
31367   ac_status=$?
31368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31369   (exit $ac_status); }; }; then
31370   ac_fdsections=yes
31371 else
31372   echo "$as_me: failed program was:" >&5
31373 sed 's/^/| /' conftest.$ac_ext >&5
31374
31375 ac_fdsections=no
31376 fi
31377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31378   if test "$ac_test_CXXFLAGS" = set; then
31379     CXXFLAGS="$ac_save_CXXFLAGS"
31380   else
31381     # this is the suspicious part
31382     CXXFLAGS=''
31383   fi
31384   if test x"$ac_fdsections" = x"yes"; then
31385     SECTION_FLAGS='-ffunction-sections -fdata-sections'
31386   fi
31387   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
31388 echo "${ECHO_T}$ac_fdsections" >&6
31389
31390   ac_ext=c
31391 ac_cpp='$CPP $CPPFLAGS'
31392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31395
31396
31397
31398
31399     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
31400
31401   ac_test_CXXFLAGS="${CXXFLAGS+set}"
31402   ac_save_CXXFLAGS="$CXXFLAGS"
31403   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31404
31405     echo "$as_me:$LINENO: checking for sin in -lm" >&5
31406 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
31407 if test "${ac_cv_lib_m_sin+set}" = set; then
31408   echo $ECHO_N "(cached) $ECHO_C" >&6
31409 else
31410   ac_check_lib_save_LIBS=$LIBS
31411 LIBS="-lm  $LIBS"
31412 if test x$gcc_no_link = xyes; then
31413   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31415    { (exit 1); exit 1; }; }
31416 fi
31417 cat >conftest.$ac_ext <<_ACEOF
31418 /* confdefs.h.  */
31419 _ACEOF
31420 cat confdefs.h >>conftest.$ac_ext
31421 cat >>conftest.$ac_ext <<_ACEOF
31422 /* end confdefs.h.  */
31423
31424 /* Override any gcc2 internal prototype to avoid an error.  */
31425 #ifdef __cplusplus
31426 extern "C"
31427 #endif
31428 /* We use char because int might match the return type of a gcc2
31429    builtin and then its argument prototype would still apply.  */
31430 char sin ();
31431 int
31432 main ()
31433 {
31434 sin ();
31435   ;
31436   return 0;
31437 }
31438 _ACEOF
31439 rm -f conftest.$ac_objext conftest$ac_exeext
31440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31441   (eval $ac_link) 2>conftest.er1
31442   ac_status=$?
31443   grep -v '^ *+' conftest.er1 >conftest.err
31444   rm -f conftest.er1
31445   cat conftest.err >&5
31446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31447   (exit $ac_status); } &&
31448          { ac_try='test -z "$ac_c_werror_flag"
31449                          || test ! -s conftest.err'
31450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31451   (eval $ac_try) 2>&5
31452   ac_status=$?
31453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31454   (exit $ac_status); }; } &&
31455          { ac_try='test -s conftest$ac_exeext'
31456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31457   (eval $ac_try) 2>&5
31458   ac_status=$?
31459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31460   (exit $ac_status); }; }; then
31461   ac_cv_lib_m_sin=yes
31462 else
31463   echo "$as_me: failed program was:" >&5
31464 sed 's/^/| /' conftest.$ac_ext >&5
31465
31466 ac_cv_lib_m_sin=no
31467 fi
31468 rm -f conftest.err conftest.$ac_objext \
31469       conftest$ac_exeext conftest.$ac_ext
31470 LIBS=$ac_check_lib_save_LIBS
31471 fi
31472 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
31473 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
31474 if test $ac_cv_lib_m_sin = yes; then
31475   libm="-lm"
31476 fi
31477
31478   ac_save_LIBS="$LIBS"
31479   LIBS="$LIBS $libm"
31480
31481
31482
31483   echo "$as_me:$LINENO: checking for isinf declaration" >&5
31484 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
31485   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31486     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
31487   echo $ECHO_N "(cached) $ECHO_C" >&6
31488 else
31489
31490
31491
31492       ac_ext=cc
31493 ac_cpp='$CXXCPP $CPPFLAGS'
31494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31497
31498       cat >conftest.$ac_ext <<_ACEOF
31499 /* confdefs.h.  */
31500 _ACEOF
31501 cat confdefs.h >>conftest.$ac_ext
31502 cat >>conftest.$ac_ext <<_ACEOF
31503 /* end confdefs.h.  */
31504 #include <math.h>
31505                       #ifdef HAVE_IEEEFP_H
31506                       #include <ieeefp.h>
31507                       #endif
31508
31509 int
31510 main ()
31511 {
31512  isinf(0);
31513   ;
31514   return 0;
31515 }
31516 _ACEOF
31517 rm -f conftest.$ac_objext
31518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31519   (eval $ac_compile) 2>conftest.er1
31520   ac_status=$?
31521   grep -v '^ *+' conftest.er1 >conftest.err
31522   rm -f conftest.er1
31523   cat conftest.err >&5
31524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31525   (exit $ac_status); } &&
31526          { ac_try='test -z "$ac_cxx_werror_flag"
31527                          || test ! -s conftest.err'
31528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31529   (eval $ac_try) 2>&5
31530   ac_status=$?
31531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31532   (exit $ac_status); }; } &&
31533          { ac_try='test -s conftest.$ac_objext'
31534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31535   (eval $ac_try) 2>&5
31536   ac_status=$?
31537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31538   (exit $ac_status); }; }; then
31539   glibcxx_cv_func_isinf_use=yes
31540 else
31541   echo "$as_me: failed program was:" >&5
31542 sed 's/^/| /' conftest.$ac_ext >&5
31543
31544 glibcxx_cv_func_isinf_use=no
31545 fi
31546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31547       ac_ext=c
31548 ac_cpp='$CPP $CPPFLAGS'
31549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31552
31553
31554 fi
31555
31556   fi
31557   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
31558 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
31559
31560   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31561
31562 for ac_func in isinf
31563 do
31564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31565 echo "$as_me:$LINENO: checking for $ac_func" >&5
31566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31567 if eval "test \"\${$as_ac_var+set}\" = set"; then
31568   echo $ECHO_N "(cached) $ECHO_C" >&6
31569 else
31570   if test x$gcc_no_link = xyes; then
31571   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31573    { (exit 1); exit 1; }; }
31574 fi
31575 cat >conftest.$ac_ext <<_ACEOF
31576 /* confdefs.h.  */
31577 _ACEOF
31578 cat confdefs.h >>conftest.$ac_ext
31579 cat >>conftest.$ac_ext <<_ACEOF
31580 /* end confdefs.h.  */
31581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31582    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31583 #define $ac_func innocuous_$ac_func
31584
31585 /* System header to define __stub macros and hopefully few prototypes,
31586     which can conflict with char $ac_func (); below.
31587     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31588     <limits.h> exists even on freestanding compilers.  */
31589
31590 #ifdef __STDC__
31591 # include <limits.h>
31592 #else
31593 # include <assert.h>
31594 #endif
31595
31596 #undef $ac_func
31597
31598 /* Override any gcc2 internal prototype to avoid an error.  */
31599 #ifdef __cplusplus
31600 extern "C"
31601 {
31602 #endif
31603 /* We use char because int might match the return type of a gcc2
31604    builtin and then its argument prototype would still apply.  */
31605 char $ac_func ();
31606 /* The GNU C library defines this for functions which it implements
31607     to always fail with ENOSYS.  Some functions are actually named
31608     something starting with __ and the normal name is an alias.  */
31609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31610 choke me
31611 #else
31612 char (*f) () = $ac_func;
31613 #endif
31614 #ifdef __cplusplus
31615 }
31616 #endif
31617
31618 int
31619 main ()
31620 {
31621 return f != $ac_func;
31622   ;
31623   return 0;
31624 }
31625 _ACEOF
31626 rm -f conftest.$ac_objext conftest$ac_exeext
31627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31628   (eval $ac_link) 2>conftest.er1
31629   ac_status=$?
31630   grep -v '^ *+' conftest.er1 >conftest.err
31631   rm -f conftest.er1
31632   cat conftest.err >&5
31633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31634   (exit $ac_status); } &&
31635          { ac_try='test -z "$ac_c_werror_flag"
31636                          || test ! -s conftest.err'
31637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31638   (eval $ac_try) 2>&5
31639   ac_status=$?
31640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31641   (exit $ac_status); }; } &&
31642          { ac_try='test -s conftest$ac_exeext'
31643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31644   (eval $ac_try) 2>&5
31645   ac_status=$?
31646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31647   (exit $ac_status); }; }; then
31648   eval "$as_ac_var=yes"
31649 else
31650   echo "$as_me: failed program was:" >&5
31651 sed 's/^/| /' conftest.$ac_ext >&5
31652
31653 eval "$as_ac_var=no"
31654 fi
31655 rm -f conftest.err conftest.$ac_objext \
31656       conftest$ac_exeext conftest.$ac_ext
31657 fi
31658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31660 if test `eval echo '${'$as_ac_var'}'` = yes; then
31661   cat >>confdefs.h <<_ACEOF
31662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31663 _ACEOF
31664
31665 fi
31666 done
31667
31668   else
31669
31670   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
31671 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
31672   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31673     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
31674   echo $ECHO_N "(cached) $ECHO_C" >&6
31675 else
31676
31677
31678
31679       ac_ext=cc
31680 ac_cpp='$CXXCPP $CPPFLAGS'
31681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31684
31685       cat >conftest.$ac_ext <<_ACEOF
31686 /* confdefs.h.  */
31687 _ACEOF
31688 cat confdefs.h >>conftest.$ac_ext
31689 cat >>conftest.$ac_ext <<_ACEOF
31690 /* end confdefs.h.  */
31691 #include <math.h>
31692                       #ifdef HAVE_IEEEFP_H
31693                       #include <ieeefp.h>
31694                       #endif
31695
31696 int
31697 main ()
31698 {
31699  _isinf(0);
31700   ;
31701   return 0;
31702 }
31703 _ACEOF
31704 rm -f conftest.$ac_objext
31705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31706   (eval $ac_compile) 2>conftest.er1
31707   ac_status=$?
31708   grep -v '^ *+' conftest.er1 >conftest.err
31709   rm -f conftest.er1
31710   cat conftest.err >&5
31711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31712   (exit $ac_status); } &&
31713          { ac_try='test -z "$ac_cxx_werror_flag"
31714                          || test ! -s conftest.err'
31715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31716   (eval $ac_try) 2>&5
31717   ac_status=$?
31718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31719   (exit $ac_status); }; } &&
31720          { ac_try='test -s conftest.$ac_objext'
31721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31722   (eval $ac_try) 2>&5
31723   ac_status=$?
31724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31725   (exit $ac_status); }; }; then
31726   glibcxx_cv_func__isinf_use=yes
31727 else
31728   echo "$as_me: failed program was:" >&5
31729 sed 's/^/| /' conftest.$ac_ext >&5
31730
31731 glibcxx_cv_func__isinf_use=no
31732 fi
31733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31734       ac_ext=c
31735 ac_cpp='$CPP $CPPFLAGS'
31736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31739
31740
31741 fi
31742
31743   fi
31744   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
31745 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
31746
31747     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31748
31749 for ac_func in _isinf
31750 do
31751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31752 echo "$as_me:$LINENO: checking for $ac_func" >&5
31753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31754 if eval "test \"\${$as_ac_var+set}\" = set"; then
31755   echo $ECHO_N "(cached) $ECHO_C" >&6
31756 else
31757   if test x$gcc_no_link = xyes; then
31758   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31760    { (exit 1); exit 1; }; }
31761 fi
31762 cat >conftest.$ac_ext <<_ACEOF
31763 /* confdefs.h.  */
31764 _ACEOF
31765 cat confdefs.h >>conftest.$ac_ext
31766 cat >>conftest.$ac_ext <<_ACEOF
31767 /* end confdefs.h.  */
31768 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31769    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31770 #define $ac_func innocuous_$ac_func
31771
31772 /* System header to define __stub macros and hopefully few prototypes,
31773     which can conflict with char $ac_func (); below.
31774     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31775     <limits.h> exists even on freestanding compilers.  */
31776
31777 #ifdef __STDC__
31778 # include <limits.h>
31779 #else
31780 # include <assert.h>
31781 #endif
31782
31783 #undef $ac_func
31784
31785 /* Override any gcc2 internal prototype to avoid an error.  */
31786 #ifdef __cplusplus
31787 extern "C"
31788 {
31789 #endif
31790 /* We use char because int might match the return type of a gcc2
31791    builtin and then its argument prototype would still apply.  */
31792 char $ac_func ();
31793 /* The GNU C library defines this for functions which it implements
31794     to always fail with ENOSYS.  Some functions are actually named
31795     something starting with __ and the normal name is an alias.  */
31796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31797 choke me
31798 #else
31799 char (*f) () = $ac_func;
31800 #endif
31801 #ifdef __cplusplus
31802 }
31803 #endif
31804
31805 int
31806 main ()
31807 {
31808 return f != $ac_func;
31809   ;
31810   return 0;
31811 }
31812 _ACEOF
31813 rm -f conftest.$ac_objext conftest$ac_exeext
31814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31815   (eval $ac_link) 2>conftest.er1
31816   ac_status=$?
31817   grep -v '^ *+' conftest.er1 >conftest.err
31818   rm -f conftest.er1
31819   cat conftest.err >&5
31820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31821   (exit $ac_status); } &&
31822          { ac_try='test -z "$ac_c_werror_flag"
31823                          || test ! -s conftest.err'
31824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31825   (eval $ac_try) 2>&5
31826   ac_status=$?
31827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31828   (exit $ac_status); }; } &&
31829          { ac_try='test -s conftest$ac_exeext'
31830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31831   (eval $ac_try) 2>&5
31832   ac_status=$?
31833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31834   (exit $ac_status); }; }; then
31835   eval "$as_ac_var=yes"
31836 else
31837   echo "$as_me: failed program was:" >&5
31838 sed 's/^/| /' conftest.$ac_ext >&5
31839
31840 eval "$as_ac_var=no"
31841 fi
31842 rm -f conftest.err conftest.$ac_objext \
31843       conftest$ac_exeext conftest.$ac_ext
31844 fi
31845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31846 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31847 if test `eval echo '${'$as_ac_var'}'` = yes; then
31848   cat >>confdefs.h <<_ACEOF
31849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31850 _ACEOF
31851
31852 fi
31853 done
31854
31855     fi
31856   fi
31857
31858
31859
31860   echo "$as_me:$LINENO: checking for isnan declaration" >&5
31861 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
31862   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31863     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
31864   echo $ECHO_N "(cached) $ECHO_C" >&6
31865 else
31866
31867
31868
31869       ac_ext=cc
31870 ac_cpp='$CXXCPP $CPPFLAGS'
31871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31874
31875       cat >conftest.$ac_ext <<_ACEOF
31876 /* confdefs.h.  */
31877 _ACEOF
31878 cat confdefs.h >>conftest.$ac_ext
31879 cat >>conftest.$ac_ext <<_ACEOF
31880 /* end confdefs.h.  */
31881 #include <math.h>
31882                       #ifdef HAVE_IEEEFP_H
31883                       #include <ieeefp.h>
31884                       #endif
31885
31886 int
31887 main ()
31888 {
31889  isnan(0);
31890   ;
31891   return 0;
31892 }
31893 _ACEOF
31894 rm -f conftest.$ac_objext
31895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31896   (eval $ac_compile) 2>conftest.er1
31897   ac_status=$?
31898   grep -v '^ *+' conftest.er1 >conftest.err
31899   rm -f conftest.er1
31900   cat conftest.err >&5
31901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31902   (exit $ac_status); } &&
31903          { ac_try='test -z "$ac_cxx_werror_flag"
31904                          || test ! -s conftest.err'
31905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31906   (eval $ac_try) 2>&5
31907   ac_status=$?
31908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31909   (exit $ac_status); }; } &&
31910          { ac_try='test -s conftest.$ac_objext'
31911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31912   (eval $ac_try) 2>&5
31913   ac_status=$?
31914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31915   (exit $ac_status); }; }; then
31916   glibcxx_cv_func_isnan_use=yes
31917 else
31918   echo "$as_me: failed program was:" >&5
31919 sed 's/^/| /' conftest.$ac_ext >&5
31920
31921 glibcxx_cv_func_isnan_use=no
31922 fi
31923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31924       ac_ext=c
31925 ac_cpp='$CPP $CPPFLAGS'
31926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31929
31930
31931 fi
31932
31933   fi
31934   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
31935 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
31936
31937   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31938
31939 for ac_func in isnan
31940 do
31941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31942 echo "$as_me:$LINENO: checking for $ac_func" >&5
31943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31944 if eval "test \"\${$as_ac_var+set}\" = set"; then
31945   echo $ECHO_N "(cached) $ECHO_C" >&6
31946 else
31947   if test x$gcc_no_link = xyes; then
31948   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31950    { (exit 1); exit 1; }; }
31951 fi
31952 cat >conftest.$ac_ext <<_ACEOF
31953 /* confdefs.h.  */
31954 _ACEOF
31955 cat confdefs.h >>conftest.$ac_ext
31956 cat >>conftest.$ac_ext <<_ACEOF
31957 /* end confdefs.h.  */
31958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31959    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31960 #define $ac_func innocuous_$ac_func
31961
31962 /* System header to define __stub macros and hopefully few prototypes,
31963     which can conflict with char $ac_func (); below.
31964     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31965     <limits.h> exists even on freestanding compilers.  */
31966
31967 #ifdef __STDC__
31968 # include <limits.h>
31969 #else
31970 # include <assert.h>
31971 #endif
31972
31973 #undef $ac_func
31974
31975 /* Override any gcc2 internal prototype to avoid an error.  */
31976 #ifdef __cplusplus
31977 extern "C"
31978 {
31979 #endif
31980 /* We use char because int might match the return type of a gcc2
31981    builtin and then its argument prototype would still apply.  */
31982 char $ac_func ();
31983 /* The GNU C library defines this for functions which it implements
31984     to always fail with ENOSYS.  Some functions are actually named
31985     something starting with __ and the normal name is an alias.  */
31986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31987 choke me
31988 #else
31989 char (*f) () = $ac_func;
31990 #endif
31991 #ifdef __cplusplus
31992 }
31993 #endif
31994
31995 int
31996 main ()
31997 {
31998 return f != $ac_func;
31999   ;
32000   return 0;
32001 }
32002 _ACEOF
32003 rm -f conftest.$ac_objext conftest$ac_exeext
32004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32005   (eval $ac_link) 2>conftest.er1
32006   ac_status=$?
32007   grep -v '^ *+' conftest.er1 >conftest.err
32008   rm -f conftest.er1
32009   cat conftest.err >&5
32010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32011   (exit $ac_status); } &&
32012          { ac_try='test -z "$ac_c_werror_flag"
32013                          || test ! -s conftest.err'
32014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32015   (eval $ac_try) 2>&5
32016   ac_status=$?
32017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32018   (exit $ac_status); }; } &&
32019          { ac_try='test -s conftest$ac_exeext'
32020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32021   (eval $ac_try) 2>&5
32022   ac_status=$?
32023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32024   (exit $ac_status); }; }; then
32025   eval "$as_ac_var=yes"
32026 else
32027   echo "$as_me: failed program was:" >&5
32028 sed 's/^/| /' conftest.$ac_ext >&5
32029
32030 eval "$as_ac_var=no"
32031 fi
32032 rm -f conftest.err conftest.$ac_objext \
32033       conftest$ac_exeext conftest.$ac_ext
32034 fi
32035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32037 if test `eval echo '${'$as_ac_var'}'` = yes; then
32038   cat >>confdefs.h <<_ACEOF
32039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32040 _ACEOF
32041
32042 fi
32043 done
32044
32045   else
32046
32047   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
32048 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
32049   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32050     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
32051   echo $ECHO_N "(cached) $ECHO_C" >&6
32052 else
32053
32054
32055
32056       ac_ext=cc
32057 ac_cpp='$CXXCPP $CPPFLAGS'
32058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32061
32062       cat >conftest.$ac_ext <<_ACEOF
32063 /* confdefs.h.  */
32064 _ACEOF
32065 cat confdefs.h >>conftest.$ac_ext
32066 cat >>conftest.$ac_ext <<_ACEOF
32067 /* end confdefs.h.  */
32068 #include <math.h>
32069                       #ifdef HAVE_IEEEFP_H
32070                       #include <ieeefp.h>
32071                       #endif
32072
32073 int
32074 main ()
32075 {
32076  _isnan(0);
32077   ;
32078   return 0;
32079 }
32080 _ACEOF
32081 rm -f conftest.$ac_objext
32082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32083   (eval $ac_compile) 2>conftest.er1
32084   ac_status=$?
32085   grep -v '^ *+' conftest.er1 >conftest.err
32086   rm -f conftest.er1
32087   cat conftest.err >&5
32088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32089   (exit $ac_status); } &&
32090          { ac_try='test -z "$ac_cxx_werror_flag"
32091                          || test ! -s conftest.err'
32092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32093   (eval $ac_try) 2>&5
32094   ac_status=$?
32095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32096   (exit $ac_status); }; } &&
32097          { ac_try='test -s conftest.$ac_objext'
32098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32099   (eval $ac_try) 2>&5
32100   ac_status=$?
32101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32102   (exit $ac_status); }; }; then
32103   glibcxx_cv_func__isnan_use=yes
32104 else
32105   echo "$as_me: failed program was:" >&5
32106 sed 's/^/| /' conftest.$ac_ext >&5
32107
32108 glibcxx_cv_func__isnan_use=no
32109 fi
32110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32111       ac_ext=c
32112 ac_cpp='$CPP $CPPFLAGS'
32113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32116
32117
32118 fi
32119
32120   fi
32121   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
32122 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
32123
32124     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32125
32126 for ac_func in _isnan
32127 do
32128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32129 echo "$as_me:$LINENO: checking for $ac_func" >&5
32130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32131 if eval "test \"\${$as_ac_var+set}\" = set"; then
32132   echo $ECHO_N "(cached) $ECHO_C" >&6
32133 else
32134   if test x$gcc_no_link = xyes; then
32135   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32137    { (exit 1); exit 1; }; }
32138 fi
32139 cat >conftest.$ac_ext <<_ACEOF
32140 /* confdefs.h.  */
32141 _ACEOF
32142 cat confdefs.h >>conftest.$ac_ext
32143 cat >>conftest.$ac_ext <<_ACEOF
32144 /* end confdefs.h.  */
32145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32146    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32147 #define $ac_func innocuous_$ac_func
32148
32149 /* System header to define __stub macros and hopefully few prototypes,
32150     which can conflict with char $ac_func (); below.
32151     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32152     <limits.h> exists even on freestanding compilers.  */
32153
32154 #ifdef __STDC__
32155 # include <limits.h>
32156 #else
32157 # include <assert.h>
32158 #endif
32159
32160 #undef $ac_func
32161
32162 /* Override any gcc2 internal prototype to avoid an error.  */
32163 #ifdef __cplusplus
32164 extern "C"
32165 {
32166 #endif
32167 /* We use char because int might match the return type of a gcc2
32168    builtin and then its argument prototype would still apply.  */
32169 char $ac_func ();
32170 /* The GNU C library defines this for functions which it implements
32171     to always fail with ENOSYS.  Some functions are actually named
32172     something starting with __ and the normal name is an alias.  */
32173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32174 choke me
32175 #else
32176 char (*f) () = $ac_func;
32177 #endif
32178 #ifdef __cplusplus
32179 }
32180 #endif
32181
32182 int
32183 main ()
32184 {
32185 return f != $ac_func;
32186   ;
32187   return 0;
32188 }
32189 _ACEOF
32190 rm -f conftest.$ac_objext conftest$ac_exeext
32191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32192   (eval $ac_link) 2>conftest.er1
32193   ac_status=$?
32194   grep -v '^ *+' conftest.er1 >conftest.err
32195   rm -f conftest.er1
32196   cat conftest.err >&5
32197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32198   (exit $ac_status); } &&
32199          { ac_try='test -z "$ac_c_werror_flag"
32200                          || test ! -s conftest.err'
32201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32202   (eval $ac_try) 2>&5
32203   ac_status=$?
32204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32205   (exit $ac_status); }; } &&
32206          { ac_try='test -s conftest$ac_exeext'
32207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32208   (eval $ac_try) 2>&5
32209   ac_status=$?
32210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32211   (exit $ac_status); }; }; then
32212   eval "$as_ac_var=yes"
32213 else
32214   echo "$as_me: failed program was:" >&5
32215 sed 's/^/| /' conftest.$ac_ext >&5
32216
32217 eval "$as_ac_var=no"
32218 fi
32219 rm -f conftest.err conftest.$ac_objext \
32220       conftest$ac_exeext conftest.$ac_ext
32221 fi
32222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32224 if test `eval echo '${'$as_ac_var'}'` = yes; then
32225   cat >>confdefs.h <<_ACEOF
32226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32227 _ACEOF
32228
32229 fi
32230 done
32231
32232     fi
32233   fi
32234
32235
32236
32237   echo "$as_me:$LINENO: checking for finite declaration" >&5
32238 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
32239   if test x${glibcxx_cv_func_finite_use+set} != xset; then
32240     if test "${glibcxx_cv_func_finite_use+set}" = set; then
32241   echo $ECHO_N "(cached) $ECHO_C" >&6
32242 else
32243
32244
32245
32246       ac_ext=cc
32247 ac_cpp='$CXXCPP $CPPFLAGS'
32248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32251
32252       cat >conftest.$ac_ext <<_ACEOF
32253 /* confdefs.h.  */
32254 _ACEOF
32255 cat confdefs.h >>conftest.$ac_ext
32256 cat >>conftest.$ac_ext <<_ACEOF
32257 /* end confdefs.h.  */
32258 #include <math.h>
32259                       #ifdef HAVE_IEEEFP_H
32260                       #include <ieeefp.h>
32261                       #endif
32262
32263 int
32264 main ()
32265 {
32266  finite(0);
32267   ;
32268   return 0;
32269 }
32270 _ACEOF
32271 rm -f conftest.$ac_objext
32272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32273   (eval $ac_compile) 2>conftest.er1
32274   ac_status=$?
32275   grep -v '^ *+' conftest.er1 >conftest.err
32276   rm -f conftest.er1
32277   cat conftest.err >&5
32278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32279   (exit $ac_status); } &&
32280          { ac_try='test -z "$ac_cxx_werror_flag"
32281                          || test ! -s conftest.err'
32282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32283   (eval $ac_try) 2>&5
32284   ac_status=$?
32285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32286   (exit $ac_status); }; } &&
32287          { ac_try='test -s conftest.$ac_objext'
32288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32289   (eval $ac_try) 2>&5
32290   ac_status=$?
32291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32292   (exit $ac_status); }; }; then
32293   glibcxx_cv_func_finite_use=yes
32294 else
32295   echo "$as_me: failed program was:" >&5
32296 sed 's/^/| /' conftest.$ac_ext >&5
32297
32298 glibcxx_cv_func_finite_use=no
32299 fi
32300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32301       ac_ext=c
32302 ac_cpp='$CPP $CPPFLAGS'
32303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32306
32307
32308 fi
32309
32310   fi
32311   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
32312 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
32313
32314   if test x$glibcxx_cv_func_finite_use = x"yes"; then
32315
32316 for ac_func in finite
32317 do
32318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32319 echo "$as_me:$LINENO: checking for $ac_func" >&5
32320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32321 if eval "test \"\${$as_ac_var+set}\" = set"; then
32322   echo $ECHO_N "(cached) $ECHO_C" >&6
32323 else
32324   if test x$gcc_no_link = xyes; then
32325   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32327    { (exit 1); exit 1; }; }
32328 fi
32329 cat >conftest.$ac_ext <<_ACEOF
32330 /* confdefs.h.  */
32331 _ACEOF
32332 cat confdefs.h >>conftest.$ac_ext
32333 cat >>conftest.$ac_ext <<_ACEOF
32334 /* end confdefs.h.  */
32335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32336    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32337 #define $ac_func innocuous_$ac_func
32338
32339 /* System header to define __stub macros and hopefully few prototypes,
32340     which can conflict with char $ac_func (); below.
32341     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32342     <limits.h> exists even on freestanding compilers.  */
32343
32344 #ifdef __STDC__
32345 # include <limits.h>
32346 #else
32347 # include <assert.h>
32348 #endif
32349
32350 #undef $ac_func
32351
32352 /* Override any gcc2 internal prototype to avoid an error.  */
32353 #ifdef __cplusplus
32354 extern "C"
32355 {
32356 #endif
32357 /* We use char because int might match the return type of a gcc2
32358    builtin and then its argument prototype would still apply.  */
32359 char $ac_func ();
32360 /* The GNU C library defines this for functions which it implements
32361     to always fail with ENOSYS.  Some functions are actually named
32362     something starting with __ and the normal name is an alias.  */
32363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32364 choke me
32365 #else
32366 char (*f) () = $ac_func;
32367 #endif
32368 #ifdef __cplusplus
32369 }
32370 #endif
32371
32372 int
32373 main ()
32374 {
32375 return f != $ac_func;
32376   ;
32377   return 0;
32378 }
32379 _ACEOF
32380 rm -f conftest.$ac_objext conftest$ac_exeext
32381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32382   (eval $ac_link) 2>conftest.er1
32383   ac_status=$?
32384   grep -v '^ *+' conftest.er1 >conftest.err
32385   rm -f conftest.er1
32386   cat conftest.err >&5
32387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32388   (exit $ac_status); } &&
32389          { ac_try='test -z "$ac_c_werror_flag"
32390                          || test ! -s conftest.err'
32391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32392   (eval $ac_try) 2>&5
32393   ac_status=$?
32394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32395   (exit $ac_status); }; } &&
32396          { ac_try='test -s conftest$ac_exeext'
32397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32398   (eval $ac_try) 2>&5
32399   ac_status=$?
32400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32401   (exit $ac_status); }; }; then
32402   eval "$as_ac_var=yes"
32403 else
32404   echo "$as_me: failed program was:" >&5
32405 sed 's/^/| /' conftest.$ac_ext >&5
32406
32407 eval "$as_ac_var=no"
32408 fi
32409 rm -f conftest.err conftest.$ac_objext \
32410       conftest$ac_exeext conftest.$ac_ext
32411 fi
32412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32414 if test `eval echo '${'$as_ac_var'}'` = yes; then
32415   cat >>confdefs.h <<_ACEOF
32416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32417 _ACEOF
32418
32419 fi
32420 done
32421
32422   else
32423
32424   echo "$as_me:$LINENO: checking for _finite declaration" >&5
32425 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
32426   if test x${glibcxx_cv_func__finite_use+set} != xset; then
32427     if test "${glibcxx_cv_func__finite_use+set}" = set; then
32428   echo $ECHO_N "(cached) $ECHO_C" >&6
32429 else
32430
32431
32432
32433       ac_ext=cc
32434 ac_cpp='$CXXCPP $CPPFLAGS'
32435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32438
32439       cat >conftest.$ac_ext <<_ACEOF
32440 /* confdefs.h.  */
32441 _ACEOF
32442 cat confdefs.h >>conftest.$ac_ext
32443 cat >>conftest.$ac_ext <<_ACEOF
32444 /* end confdefs.h.  */
32445 #include <math.h>
32446                       #ifdef HAVE_IEEEFP_H
32447                       #include <ieeefp.h>
32448                       #endif
32449
32450 int
32451 main ()
32452 {
32453  _finite(0);
32454   ;
32455   return 0;
32456 }
32457 _ACEOF
32458 rm -f conftest.$ac_objext
32459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32460   (eval $ac_compile) 2>conftest.er1
32461   ac_status=$?
32462   grep -v '^ *+' conftest.er1 >conftest.err
32463   rm -f conftest.er1
32464   cat conftest.err >&5
32465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32466   (exit $ac_status); } &&
32467          { ac_try='test -z "$ac_cxx_werror_flag"
32468                          || test ! -s conftest.err'
32469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32470   (eval $ac_try) 2>&5
32471   ac_status=$?
32472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32473   (exit $ac_status); }; } &&
32474          { ac_try='test -s conftest.$ac_objext'
32475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32476   (eval $ac_try) 2>&5
32477   ac_status=$?
32478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32479   (exit $ac_status); }; }; then
32480   glibcxx_cv_func__finite_use=yes
32481 else
32482   echo "$as_me: failed program was:" >&5
32483 sed 's/^/| /' conftest.$ac_ext >&5
32484
32485 glibcxx_cv_func__finite_use=no
32486 fi
32487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32488       ac_ext=c
32489 ac_cpp='$CPP $CPPFLAGS'
32490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32493
32494
32495 fi
32496
32497   fi
32498   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
32499 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
32500
32501     if test x$glibcxx_cv_func__finite_use = x"yes"; then
32502
32503 for ac_func in _finite
32504 do
32505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32506 echo "$as_me:$LINENO: checking for $ac_func" >&5
32507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32508 if eval "test \"\${$as_ac_var+set}\" = set"; then
32509   echo $ECHO_N "(cached) $ECHO_C" >&6
32510 else
32511   if test x$gcc_no_link = xyes; then
32512   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32514    { (exit 1); exit 1; }; }
32515 fi
32516 cat >conftest.$ac_ext <<_ACEOF
32517 /* confdefs.h.  */
32518 _ACEOF
32519 cat confdefs.h >>conftest.$ac_ext
32520 cat >>conftest.$ac_ext <<_ACEOF
32521 /* end confdefs.h.  */
32522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32523    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32524 #define $ac_func innocuous_$ac_func
32525
32526 /* System header to define __stub macros and hopefully few prototypes,
32527     which can conflict with char $ac_func (); below.
32528     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32529     <limits.h> exists even on freestanding compilers.  */
32530
32531 #ifdef __STDC__
32532 # include <limits.h>
32533 #else
32534 # include <assert.h>
32535 #endif
32536
32537 #undef $ac_func
32538
32539 /* Override any gcc2 internal prototype to avoid an error.  */
32540 #ifdef __cplusplus
32541 extern "C"
32542 {
32543 #endif
32544 /* We use char because int might match the return type of a gcc2
32545    builtin and then its argument prototype would still apply.  */
32546 char $ac_func ();
32547 /* The GNU C library defines this for functions which it implements
32548     to always fail with ENOSYS.  Some functions are actually named
32549     something starting with __ and the normal name is an alias.  */
32550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32551 choke me
32552 #else
32553 char (*f) () = $ac_func;
32554 #endif
32555 #ifdef __cplusplus
32556 }
32557 #endif
32558
32559 int
32560 main ()
32561 {
32562 return f != $ac_func;
32563   ;
32564   return 0;
32565 }
32566 _ACEOF
32567 rm -f conftest.$ac_objext conftest$ac_exeext
32568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32569   (eval $ac_link) 2>conftest.er1
32570   ac_status=$?
32571   grep -v '^ *+' conftest.er1 >conftest.err
32572   rm -f conftest.er1
32573   cat conftest.err >&5
32574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32575   (exit $ac_status); } &&
32576          { ac_try='test -z "$ac_c_werror_flag"
32577                          || test ! -s conftest.err'
32578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32579   (eval $ac_try) 2>&5
32580   ac_status=$?
32581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32582   (exit $ac_status); }; } &&
32583          { ac_try='test -s conftest$ac_exeext'
32584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32585   (eval $ac_try) 2>&5
32586   ac_status=$?
32587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32588   (exit $ac_status); }; }; then
32589   eval "$as_ac_var=yes"
32590 else
32591   echo "$as_me: failed program was:" >&5
32592 sed 's/^/| /' conftest.$ac_ext >&5
32593
32594 eval "$as_ac_var=no"
32595 fi
32596 rm -f conftest.err conftest.$ac_objext \
32597       conftest$ac_exeext conftest.$ac_ext
32598 fi
32599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32601 if test `eval echo '${'$as_ac_var'}'` = yes; then
32602   cat >>confdefs.h <<_ACEOF
32603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32604 _ACEOF
32605
32606 fi
32607 done
32608
32609     fi
32610   fi
32611
32612
32613
32614   echo "$as_me:$LINENO: checking for copysign declaration" >&5
32615 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
32616   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
32617     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
32618   echo $ECHO_N "(cached) $ECHO_C" >&6
32619 else
32620
32621
32622
32623       ac_ext=cc
32624 ac_cpp='$CXXCPP $CPPFLAGS'
32625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32628
32629       cat >conftest.$ac_ext <<_ACEOF
32630 /* confdefs.h.  */
32631 _ACEOF
32632 cat confdefs.h >>conftest.$ac_ext
32633 cat >>conftest.$ac_ext <<_ACEOF
32634 /* end confdefs.h.  */
32635 #include <math.h>
32636 int
32637 main ()
32638 {
32639  copysign(0, 0);
32640   ;
32641   return 0;
32642 }
32643 _ACEOF
32644 rm -f conftest.$ac_objext
32645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32646   (eval $ac_compile) 2>conftest.er1
32647   ac_status=$?
32648   grep -v '^ *+' conftest.er1 >conftest.err
32649   rm -f conftest.er1
32650   cat conftest.err >&5
32651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32652   (exit $ac_status); } &&
32653          { ac_try='test -z "$ac_cxx_werror_flag"
32654                          || test ! -s conftest.err'
32655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32656   (eval $ac_try) 2>&5
32657   ac_status=$?
32658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32659   (exit $ac_status); }; } &&
32660          { ac_try='test -s conftest.$ac_objext'
32661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32662   (eval $ac_try) 2>&5
32663   ac_status=$?
32664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32665   (exit $ac_status); }; }; then
32666   glibcxx_cv_func_copysign_use=yes
32667 else
32668   echo "$as_me: failed program was:" >&5
32669 sed 's/^/| /' conftest.$ac_ext >&5
32670
32671 glibcxx_cv_func_copysign_use=no
32672 fi
32673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32674       ac_ext=c
32675 ac_cpp='$CPP $CPPFLAGS'
32676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32679
32680
32681 fi
32682
32683   fi
32684   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
32685 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
32686
32687   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
32688
32689 for ac_func in copysign
32690 do
32691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32692 echo "$as_me:$LINENO: checking for $ac_func" >&5
32693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32694 if eval "test \"\${$as_ac_var+set}\" = set"; then
32695   echo $ECHO_N "(cached) $ECHO_C" >&6
32696 else
32697   if test x$gcc_no_link = xyes; then
32698   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32700    { (exit 1); exit 1; }; }
32701 fi
32702 cat >conftest.$ac_ext <<_ACEOF
32703 /* confdefs.h.  */
32704 _ACEOF
32705 cat confdefs.h >>conftest.$ac_ext
32706 cat >>conftest.$ac_ext <<_ACEOF
32707 /* end confdefs.h.  */
32708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32709    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32710 #define $ac_func innocuous_$ac_func
32711
32712 /* System header to define __stub macros and hopefully few prototypes,
32713     which can conflict with char $ac_func (); below.
32714     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32715     <limits.h> exists even on freestanding compilers.  */
32716
32717 #ifdef __STDC__
32718 # include <limits.h>
32719 #else
32720 # include <assert.h>
32721 #endif
32722
32723 #undef $ac_func
32724
32725 /* Override any gcc2 internal prototype to avoid an error.  */
32726 #ifdef __cplusplus
32727 extern "C"
32728 {
32729 #endif
32730 /* We use char because int might match the return type of a gcc2
32731    builtin and then its argument prototype would still apply.  */
32732 char $ac_func ();
32733 /* The GNU C library defines this for functions which it implements
32734     to always fail with ENOSYS.  Some functions are actually named
32735     something starting with __ and the normal name is an alias.  */
32736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32737 choke me
32738 #else
32739 char (*f) () = $ac_func;
32740 #endif
32741 #ifdef __cplusplus
32742 }
32743 #endif
32744
32745 int
32746 main ()
32747 {
32748 return f != $ac_func;
32749   ;
32750   return 0;
32751 }
32752 _ACEOF
32753 rm -f conftest.$ac_objext conftest$ac_exeext
32754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32755   (eval $ac_link) 2>conftest.er1
32756   ac_status=$?
32757   grep -v '^ *+' conftest.er1 >conftest.err
32758   rm -f conftest.er1
32759   cat conftest.err >&5
32760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32761   (exit $ac_status); } &&
32762          { ac_try='test -z "$ac_c_werror_flag"
32763                          || test ! -s conftest.err'
32764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32765   (eval $ac_try) 2>&5
32766   ac_status=$?
32767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32768   (exit $ac_status); }; } &&
32769          { ac_try='test -s conftest$ac_exeext'
32770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32771   (eval $ac_try) 2>&5
32772   ac_status=$?
32773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32774   (exit $ac_status); }; }; then
32775   eval "$as_ac_var=yes"
32776 else
32777   echo "$as_me: failed program was:" >&5
32778 sed 's/^/| /' conftest.$ac_ext >&5
32779
32780 eval "$as_ac_var=no"
32781 fi
32782 rm -f conftest.err conftest.$ac_objext \
32783       conftest$ac_exeext conftest.$ac_ext
32784 fi
32785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32787 if test `eval echo '${'$as_ac_var'}'` = yes; then
32788   cat >>confdefs.h <<_ACEOF
32789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32790 _ACEOF
32791
32792 fi
32793 done
32794
32795   else
32796
32797   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
32798 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
32799   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
32800     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
32801   echo $ECHO_N "(cached) $ECHO_C" >&6
32802 else
32803
32804
32805
32806       ac_ext=cc
32807 ac_cpp='$CXXCPP $CPPFLAGS'
32808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32811
32812       cat >conftest.$ac_ext <<_ACEOF
32813 /* confdefs.h.  */
32814 _ACEOF
32815 cat confdefs.h >>conftest.$ac_ext
32816 cat >>conftest.$ac_ext <<_ACEOF
32817 /* end confdefs.h.  */
32818 #include <math.h>
32819 int
32820 main ()
32821 {
32822  _copysign(0, 0);
32823   ;
32824   return 0;
32825 }
32826 _ACEOF
32827 rm -f conftest.$ac_objext
32828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32829   (eval $ac_compile) 2>conftest.er1
32830   ac_status=$?
32831   grep -v '^ *+' conftest.er1 >conftest.err
32832   rm -f conftest.er1
32833   cat conftest.err >&5
32834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32835   (exit $ac_status); } &&
32836          { ac_try='test -z "$ac_cxx_werror_flag"
32837                          || test ! -s conftest.err'
32838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32839   (eval $ac_try) 2>&5
32840   ac_status=$?
32841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32842   (exit $ac_status); }; } &&
32843          { ac_try='test -s conftest.$ac_objext'
32844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32845   (eval $ac_try) 2>&5
32846   ac_status=$?
32847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32848   (exit $ac_status); }; }; then
32849   glibcxx_cv_func__copysign_use=yes
32850 else
32851   echo "$as_me: failed program was:" >&5
32852 sed 's/^/| /' conftest.$ac_ext >&5
32853
32854 glibcxx_cv_func__copysign_use=no
32855 fi
32856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32857       ac_ext=c
32858 ac_cpp='$CPP $CPPFLAGS'
32859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32862
32863
32864 fi
32865
32866   fi
32867   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
32868 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
32869
32870     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
32871
32872 for ac_func in _copysign
32873 do
32874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32875 echo "$as_me:$LINENO: checking for $ac_func" >&5
32876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32877 if eval "test \"\${$as_ac_var+set}\" = set"; then
32878   echo $ECHO_N "(cached) $ECHO_C" >&6
32879 else
32880   if test x$gcc_no_link = xyes; then
32881   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32883    { (exit 1); exit 1; }; }
32884 fi
32885 cat >conftest.$ac_ext <<_ACEOF
32886 /* confdefs.h.  */
32887 _ACEOF
32888 cat confdefs.h >>conftest.$ac_ext
32889 cat >>conftest.$ac_ext <<_ACEOF
32890 /* end confdefs.h.  */
32891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32892    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32893 #define $ac_func innocuous_$ac_func
32894
32895 /* System header to define __stub macros and hopefully few prototypes,
32896     which can conflict with char $ac_func (); below.
32897     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32898     <limits.h> exists even on freestanding compilers.  */
32899
32900 #ifdef __STDC__
32901 # include <limits.h>
32902 #else
32903 # include <assert.h>
32904 #endif
32905
32906 #undef $ac_func
32907
32908 /* Override any gcc2 internal prototype to avoid an error.  */
32909 #ifdef __cplusplus
32910 extern "C"
32911 {
32912 #endif
32913 /* We use char because int might match the return type of a gcc2
32914    builtin and then its argument prototype would still apply.  */
32915 char $ac_func ();
32916 /* The GNU C library defines this for functions which it implements
32917     to always fail with ENOSYS.  Some functions are actually named
32918     something starting with __ and the normal name is an alias.  */
32919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32920 choke me
32921 #else
32922 char (*f) () = $ac_func;
32923 #endif
32924 #ifdef __cplusplus
32925 }
32926 #endif
32927
32928 int
32929 main ()
32930 {
32931 return f != $ac_func;
32932   ;
32933   return 0;
32934 }
32935 _ACEOF
32936 rm -f conftest.$ac_objext conftest$ac_exeext
32937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32938   (eval $ac_link) 2>conftest.er1
32939   ac_status=$?
32940   grep -v '^ *+' conftest.er1 >conftest.err
32941   rm -f conftest.er1
32942   cat conftest.err >&5
32943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32944   (exit $ac_status); } &&
32945          { ac_try='test -z "$ac_c_werror_flag"
32946                          || test ! -s conftest.err'
32947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32948   (eval $ac_try) 2>&5
32949   ac_status=$?
32950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32951   (exit $ac_status); }; } &&
32952          { ac_try='test -s conftest$ac_exeext'
32953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32954   (eval $ac_try) 2>&5
32955   ac_status=$?
32956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32957   (exit $ac_status); }; }; then
32958   eval "$as_ac_var=yes"
32959 else
32960   echo "$as_me: failed program was:" >&5
32961 sed 's/^/| /' conftest.$ac_ext >&5
32962
32963 eval "$as_ac_var=no"
32964 fi
32965 rm -f conftest.err conftest.$ac_objext \
32966       conftest$ac_exeext conftest.$ac_ext
32967 fi
32968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32970 if test `eval echo '${'$as_ac_var'}'` = yes; then
32971   cat >>confdefs.h <<_ACEOF
32972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32973 _ACEOF
32974
32975 fi
32976 done
32977
32978     fi
32979   fi
32980
32981
32982
32983   echo "$as_me:$LINENO: checking for sincos declaration" >&5
32984 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
32985   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32986     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
32987   echo $ECHO_N "(cached) $ECHO_C" >&6
32988 else
32989
32990
32991
32992       ac_ext=cc
32993 ac_cpp='$CXXCPP $CPPFLAGS'
32994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32997
32998       cat >conftest.$ac_ext <<_ACEOF
32999 /* confdefs.h.  */
33000 _ACEOF
33001 cat confdefs.h >>conftest.$ac_ext
33002 cat >>conftest.$ac_ext <<_ACEOF
33003 /* end confdefs.h.  */
33004 #include <math.h>
33005 int
33006 main ()
33007 {
33008  sincos(0, 0, 0);
33009   ;
33010   return 0;
33011 }
33012 _ACEOF
33013 rm -f conftest.$ac_objext
33014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33015   (eval $ac_compile) 2>conftest.er1
33016   ac_status=$?
33017   grep -v '^ *+' conftest.er1 >conftest.err
33018   rm -f conftest.er1
33019   cat conftest.err >&5
33020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33021   (exit $ac_status); } &&
33022          { ac_try='test -z "$ac_cxx_werror_flag"
33023                          || test ! -s conftest.err'
33024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33025   (eval $ac_try) 2>&5
33026   ac_status=$?
33027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33028   (exit $ac_status); }; } &&
33029          { ac_try='test -s conftest.$ac_objext'
33030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33031   (eval $ac_try) 2>&5
33032   ac_status=$?
33033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33034   (exit $ac_status); }; }; then
33035   glibcxx_cv_func_sincos_use=yes
33036 else
33037   echo "$as_me: failed program was:" >&5
33038 sed 's/^/| /' conftest.$ac_ext >&5
33039
33040 glibcxx_cv_func_sincos_use=no
33041 fi
33042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33043       ac_ext=c
33044 ac_cpp='$CPP $CPPFLAGS'
33045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33048
33049
33050 fi
33051
33052   fi
33053   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
33054 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
33055
33056   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33057
33058 for ac_func in sincos
33059 do
33060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33061 echo "$as_me:$LINENO: checking for $ac_func" >&5
33062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33063 if eval "test \"\${$as_ac_var+set}\" = set"; then
33064   echo $ECHO_N "(cached) $ECHO_C" >&6
33065 else
33066   if test x$gcc_no_link = xyes; then
33067   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33069    { (exit 1); exit 1; }; }
33070 fi
33071 cat >conftest.$ac_ext <<_ACEOF
33072 /* confdefs.h.  */
33073 _ACEOF
33074 cat confdefs.h >>conftest.$ac_ext
33075 cat >>conftest.$ac_ext <<_ACEOF
33076 /* end confdefs.h.  */
33077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33078    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33079 #define $ac_func innocuous_$ac_func
33080
33081 /* System header to define __stub macros and hopefully few prototypes,
33082     which can conflict with char $ac_func (); below.
33083     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33084     <limits.h> exists even on freestanding compilers.  */
33085
33086 #ifdef __STDC__
33087 # include <limits.h>
33088 #else
33089 # include <assert.h>
33090 #endif
33091
33092 #undef $ac_func
33093
33094 /* Override any gcc2 internal prototype to avoid an error.  */
33095 #ifdef __cplusplus
33096 extern "C"
33097 {
33098 #endif
33099 /* We use char because int might match the return type of a gcc2
33100    builtin and then its argument prototype would still apply.  */
33101 char $ac_func ();
33102 /* The GNU C library defines this for functions which it implements
33103     to always fail with ENOSYS.  Some functions are actually named
33104     something starting with __ and the normal name is an alias.  */
33105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33106 choke me
33107 #else
33108 char (*f) () = $ac_func;
33109 #endif
33110 #ifdef __cplusplus
33111 }
33112 #endif
33113
33114 int
33115 main ()
33116 {
33117 return f != $ac_func;
33118   ;
33119   return 0;
33120 }
33121 _ACEOF
33122 rm -f conftest.$ac_objext conftest$ac_exeext
33123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33124   (eval $ac_link) 2>conftest.er1
33125   ac_status=$?
33126   grep -v '^ *+' conftest.er1 >conftest.err
33127   rm -f conftest.er1
33128   cat conftest.err >&5
33129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33130   (exit $ac_status); } &&
33131          { ac_try='test -z "$ac_c_werror_flag"
33132                          || test ! -s conftest.err'
33133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33134   (eval $ac_try) 2>&5
33135   ac_status=$?
33136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33137   (exit $ac_status); }; } &&
33138          { ac_try='test -s conftest$ac_exeext'
33139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33140   (eval $ac_try) 2>&5
33141   ac_status=$?
33142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33143   (exit $ac_status); }; }; then
33144   eval "$as_ac_var=yes"
33145 else
33146   echo "$as_me: failed program was:" >&5
33147 sed 's/^/| /' conftest.$ac_ext >&5
33148
33149 eval "$as_ac_var=no"
33150 fi
33151 rm -f conftest.err conftest.$ac_objext \
33152       conftest$ac_exeext conftest.$ac_ext
33153 fi
33154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33156 if test `eval echo '${'$as_ac_var'}'` = yes; then
33157   cat >>confdefs.h <<_ACEOF
33158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33159 _ACEOF
33160
33161 fi
33162 done
33163
33164   else
33165
33166   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
33167 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
33168   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33169     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
33170   echo $ECHO_N "(cached) $ECHO_C" >&6
33171 else
33172
33173
33174
33175       ac_ext=cc
33176 ac_cpp='$CXXCPP $CPPFLAGS'
33177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33180
33181       cat >conftest.$ac_ext <<_ACEOF
33182 /* confdefs.h.  */
33183 _ACEOF
33184 cat confdefs.h >>conftest.$ac_ext
33185 cat >>conftest.$ac_ext <<_ACEOF
33186 /* end confdefs.h.  */
33187 #include <math.h>
33188 int
33189 main ()
33190 {
33191  _sincos(0, 0, 0);
33192   ;
33193   return 0;
33194 }
33195 _ACEOF
33196 rm -f conftest.$ac_objext
33197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33198   (eval $ac_compile) 2>conftest.er1
33199   ac_status=$?
33200   grep -v '^ *+' conftest.er1 >conftest.err
33201   rm -f conftest.er1
33202   cat conftest.err >&5
33203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33204   (exit $ac_status); } &&
33205          { ac_try='test -z "$ac_cxx_werror_flag"
33206                          || test ! -s conftest.err'
33207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33208   (eval $ac_try) 2>&5
33209   ac_status=$?
33210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33211   (exit $ac_status); }; } &&
33212          { ac_try='test -s conftest.$ac_objext'
33213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33214   (eval $ac_try) 2>&5
33215   ac_status=$?
33216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33217   (exit $ac_status); }; }; then
33218   glibcxx_cv_func__sincos_use=yes
33219 else
33220   echo "$as_me: failed program was:" >&5
33221 sed 's/^/| /' conftest.$ac_ext >&5
33222
33223 glibcxx_cv_func__sincos_use=no
33224 fi
33225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33226       ac_ext=c
33227 ac_cpp='$CPP $CPPFLAGS'
33228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33231
33232
33233 fi
33234
33235   fi
33236   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
33237 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
33238
33239     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33240
33241 for ac_func in _sincos
33242 do
33243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33244 echo "$as_me:$LINENO: checking for $ac_func" >&5
33245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33246 if eval "test \"\${$as_ac_var+set}\" = set"; then
33247   echo $ECHO_N "(cached) $ECHO_C" >&6
33248 else
33249   if test x$gcc_no_link = xyes; then
33250   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33252    { (exit 1); exit 1; }; }
33253 fi
33254 cat >conftest.$ac_ext <<_ACEOF
33255 /* confdefs.h.  */
33256 _ACEOF
33257 cat confdefs.h >>conftest.$ac_ext
33258 cat >>conftest.$ac_ext <<_ACEOF
33259 /* end confdefs.h.  */
33260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33261    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33262 #define $ac_func innocuous_$ac_func
33263
33264 /* System header to define __stub macros and hopefully few prototypes,
33265     which can conflict with char $ac_func (); below.
33266     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33267     <limits.h> exists even on freestanding compilers.  */
33268
33269 #ifdef __STDC__
33270 # include <limits.h>
33271 #else
33272 # include <assert.h>
33273 #endif
33274
33275 #undef $ac_func
33276
33277 /* Override any gcc2 internal prototype to avoid an error.  */
33278 #ifdef __cplusplus
33279 extern "C"
33280 {
33281 #endif
33282 /* We use char because int might match the return type of a gcc2
33283    builtin and then its argument prototype would still apply.  */
33284 char $ac_func ();
33285 /* The GNU C library defines this for functions which it implements
33286     to always fail with ENOSYS.  Some functions are actually named
33287     something starting with __ and the normal name is an alias.  */
33288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33289 choke me
33290 #else
33291 char (*f) () = $ac_func;
33292 #endif
33293 #ifdef __cplusplus
33294 }
33295 #endif
33296
33297 int
33298 main ()
33299 {
33300 return f != $ac_func;
33301   ;
33302   return 0;
33303 }
33304 _ACEOF
33305 rm -f conftest.$ac_objext conftest$ac_exeext
33306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33307   (eval $ac_link) 2>conftest.er1
33308   ac_status=$?
33309   grep -v '^ *+' conftest.er1 >conftest.err
33310   rm -f conftest.er1
33311   cat conftest.err >&5
33312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33313   (exit $ac_status); } &&
33314          { ac_try='test -z "$ac_c_werror_flag"
33315                          || test ! -s conftest.err'
33316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33317   (eval $ac_try) 2>&5
33318   ac_status=$?
33319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33320   (exit $ac_status); }; } &&
33321          { ac_try='test -s conftest$ac_exeext'
33322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33323   (eval $ac_try) 2>&5
33324   ac_status=$?
33325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33326   (exit $ac_status); }; }; then
33327   eval "$as_ac_var=yes"
33328 else
33329   echo "$as_me: failed program was:" >&5
33330 sed 's/^/| /' conftest.$ac_ext >&5
33331
33332 eval "$as_ac_var=no"
33333 fi
33334 rm -f conftest.err conftest.$ac_objext \
33335       conftest$ac_exeext conftest.$ac_ext
33336 fi
33337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33339 if test `eval echo '${'$as_ac_var'}'` = yes; then
33340   cat >>confdefs.h <<_ACEOF
33341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33342 _ACEOF
33343
33344 fi
33345 done
33346
33347     fi
33348   fi
33349
33350
33351
33352   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
33353 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
33354   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33355     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
33356   echo $ECHO_N "(cached) $ECHO_C" >&6
33357 else
33358
33359
33360
33361       ac_ext=cc
33362 ac_cpp='$CXXCPP $CPPFLAGS'
33363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33366
33367       cat >conftest.$ac_ext <<_ACEOF
33368 /* confdefs.h.  */
33369 _ACEOF
33370 cat confdefs.h >>conftest.$ac_ext
33371 cat >>conftest.$ac_ext <<_ACEOF
33372 /* end confdefs.h.  */
33373 #include <math.h>
33374                       #ifdef HAVE_IEEEFP_H
33375                       #include <ieeefp.h>
33376                       #endif
33377
33378 int
33379 main ()
33380 {
33381  fpclass(0);
33382   ;
33383   return 0;
33384 }
33385 _ACEOF
33386 rm -f conftest.$ac_objext
33387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33388   (eval $ac_compile) 2>conftest.er1
33389   ac_status=$?
33390   grep -v '^ *+' conftest.er1 >conftest.err
33391   rm -f conftest.er1
33392   cat conftest.err >&5
33393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33394   (exit $ac_status); } &&
33395          { ac_try='test -z "$ac_cxx_werror_flag"
33396                          || test ! -s conftest.err'
33397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33398   (eval $ac_try) 2>&5
33399   ac_status=$?
33400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33401   (exit $ac_status); }; } &&
33402          { ac_try='test -s conftest.$ac_objext'
33403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33404   (eval $ac_try) 2>&5
33405   ac_status=$?
33406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33407   (exit $ac_status); }; }; then
33408   glibcxx_cv_func_fpclass_use=yes
33409 else
33410   echo "$as_me: failed program was:" >&5
33411 sed 's/^/| /' conftest.$ac_ext >&5
33412
33413 glibcxx_cv_func_fpclass_use=no
33414 fi
33415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33416       ac_ext=c
33417 ac_cpp='$CPP $CPPFLAGS'
33418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33421
33422
33423 fi
33424
33425   fi
33426   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
33427 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
33428
33429   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33430
33431 for ac_func in fpclass
33432 do
33433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33434 echo "$as_me:$LINENO: checking for $ac_func" >&5
33435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33436 if eval "test \"\${$as_ac_var+set}\" = set"; then
33437   echo $ECHO_N "(cached) $ECHO_C" >&6
33438 else
33439   if test x$gcc_no_link = xyes; then
33440   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33442    { (exit 1); exit 1; }; }
33443 fi
33444 cat >conftest.$ac_ext <<_ACEOF
33445 /* confdefs.h.  */
33446 _ACEOF
33447 cat confdefs.h >>conftest.$ac_ext
33448 cat >>conftest.$ac_ext <<_ACEOF
33449 /* end confdefs.h.  */
33450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33451    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33452 #define $ac_func innocuous_$ac_func
33453
33454 /* System header to define __stub macros and hopefully few prototypes,
33455     which can conflict with char $ac_func (); below.
33456     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33457     <limits.h> exists even on freestanding compilers.  */
33458
33459 #ifdef __STDC__
33460 # include <limits.h>
33461 #else
33462 # include <assert.h>
33463 #endif
33464
33465 #undef $ac_func
33466
33467 /* Override any gcc2 internal prototype to avoid an error.  */
33468 #ifdef __cplusplus
33469 extern "C"
33470 {
33471 #endif
33472 /* We use char because int might match the return type of a gcc2
33473    builtin and then its argument prototype would still apply.  */
33474 char $ac_func ();
33475 /* The GNU C library defines this for functions which it implements
33476     to always fail with ENOSYS.  Some functions are actually named
33477     something starting with __ and the normal name is an alias.  */
33478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33479 choke me
33480 #else
33481 char (*f) () = $ac_func;
33482 #endif
33483 #ifdef __cplusplus
33484 }
33485 #endif
33486
33487 int
33488 main ()
33489 {
33490 return f != $ac_func;
33491   ;
33492   return 0;
33493 }
33494 _ACEOF
33495 rm -f conftest.$ac_objext conftest$ac_exeext
33496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33497   (eval $ac_link) 2>conftest.er1
33498   ac_status=$?
33499   grep -v '^ *+' conftest.er1 >conftest.err
33500   rm -f conftest.er1
33501   cat conftest.err >&5
33502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33503   (exit $ac_status); } &&
33504          { ac_try='test -z "$ac_c_werror_flag"
33505                          || test ! -s conftest.err'
33506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33507   (eval $ac_try) 2>&5
33508   ac_status=$?
33509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33510   (exit $ac_status); }; } &&
33511          { ac_try='test -s conftest$ac_exeext'
33512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33513   (eval $ac_try) 2>&5
33514   ac_status=$?
33515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33516   (exit $ac_status); }; }; then
33517   eval "$as_ac_var=yes"
33518 else
33519   echo "$as_me: failed program was:" >&5
33520 sed 's/^/| /' conftest.$ac_ext >&5
33521
33522 eval "$as_ac_var=no"
33523 fi
33524 rm -f conftest.err conftest.$ac_objext \
33525       conftest$ac_exeext conftest.$ac_ext
33526 fi
33527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33529 if test `eval echo '${'$as_ac_var'}'` = yes; then
33530   cat >>confdefs.h <<_ACEOF
33531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33532 _ACEOF
33533
33534 fi
33535 done
33536
33537   else
33538
33539   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
33540 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
33541   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33542     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
33543   echo $ECHO_N "(cached) $ECHO_C" >&6
33544 else
33545
33546
33547
33548       ac_ext=cc
33549 ac_cpp='$CXXCPP $CPPFLAGS'
33550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33553
33554       cat >conftest.$ac_ext <<_ACEOF
33555 /* confdefs.h.  */
33556 _ACEOF
33557 cat confdefs.h >>conftest.$ac_ext
33558 cat >>conftest.$ac_ext <<_ACEOF
33559 /* end confdefs.h.  */
33560 #include <math.h>
33561                       #ifdef HAVE_IEEEFP_H
33562                       #include <ieeefp.h>
33563                       #endif
33564
33565 int
33566 main ()
33567 {
33568  _fpclass(0);
33569   ;
33570   return 0;
33571 }
33572 _ACEOF
33573 rm -f conftest.$ac_objext
33574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33575   (eval $ac_compile) 2>conftest.er1
33576   ac_status=$?
33577   grep -v '^ *+' conftest.er1 >conftest.err
33578   rm -f conftest.er1
33579   cat conftest.err >&5
33580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33581   (exit $ac_status); } &&
33582          { ac_try='test -z "$ac_cxx_werror_flag"
33583                          || test ! -s conftest.err'
33584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33585   (eval $ac_try) 2>&5
33586   ac_status=$?
33587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33588   (exit $ac_status); }; } &&
33589          { ac_try='test -s conftest.$ac_objext'
33590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33591   (eval $ac_try) 2>&5
33592   ac_status=$?
33593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33594   (exit $ac_status); }; }; then
33595   glibcxx_cv_func__fpclass_use=yes
33596 else
33597   echo "$as_me: failed program was:" >&5
33598 sed 's/^/| /' conftest.$ac_ext >&5
33599
33600 glibcxx_cv_func__fpclass_use=no
33601 fi
33602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33603       ac_ext=c
33604 ac_cpp='$CPP $CPPFLAGS'
33605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33608
33609
33610 fi
33611
33612   fi
33613   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
33614 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
33615
33616     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33617
33618 for ac_func in _fpclass
33619 do
33620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33621 echo "$as_me:$LINENO: checking for $ac_func" >&5
33622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33623 if eval "test \"\${$as_ac_var+set}\" = set"; then
33624   echo $ECHO_N "(cached) $ECHO_C" >&6
33625 else
33626   if test x$gcc_no_link = xyes; then
33627   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33629    { (exit 1); exit 1; }; }
33630 fi
33631 cat >conftest.$ac_ext <<_ACEOF
33632 /* confdefs.h.  */
33633 _ACEOF
33634 cat confdefs.h >>conftest.$ac_ext
33635 cat >>conftest.$ac_ext <<_ACEOF
33636 /* end confdefs.h.  */
33637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33638    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33639 #define $ac_func innocuous_$ac_func
33640
33641 /* System header to define __stub macros and hopefully few prototypes,
33642     which can conflict with char $ac_func (); below.
33643     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33644     <limits.h> exists even on freestanding compilers.  */
33645
33646 #ifdef __STDC__
33647 # include <limits.h>
33648 #else
33649 # include <assert.h>
33650 #endif
33651
33652 #undef $ac_func
33653
33654 /* Override any gcc2 internal prototype to avoid an error.  */
33655 #ifdef __cplusplus
33656 extern "C"
33657 {
33658 #endif
33659 /* We use char because int might match the return type of a gcc2
33660    builtin and then its argument prototype would still apply.  */
33661 char $ac_func ();
33662 /* The GNU C library defines this for functions which it implements
33663     to always fail with ENOSYS.  Some functions are actually named
33664     something starting with __ and the normal name is an alias.  */
33665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33666 choke me
33667 #else
33668 char (*f) () = $ac_func;
33669 #endif
33670 #ifdef __cplusplus
33671 }
33672 #endif
33673
33674 int
33675 main ()
33676 {
33677 return f != $ac_func;
33678   ;
33679   return 0;
33680 }
33681 _ACEOF
33682 rm -f conftest.$ac_objext conftest$ac_exeext
33683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33684   (eval $ac_link) 2>conftest.er1
33685   ac_status=$?
33686   grep -v '^ *+' conftest.er1 >conftest.err
33687   rm -f conftest.er1
33688   cat conftest.err >&5
33689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33690   (exit $ac_status); } &&
33691          { ac_try='test -z "$ac_c_werror_flag"
33692                          || test ! -s conftest.err'
33693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33694   (eval $ac_try) 2>&5
33695   ac_status=$?
33696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33697   (exit $ac_status); }; } &&
33698          { ac_try='test -s conftest$ac_exeext'
33699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33700   (eval $ac_try) 2>&5
33701   ac_status=$?
33702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33703   (exit $ac_status); }; }; then
33704   eval "$as_ac_var=yes"
33705 else
33706   echo "$as_me: failed program was:" >&5
33707 sed 's/^/| /' conftest.$ac_ext >&5
33708
33709 eval "$as_ac_var=no"
33710 fi
33711 rm -f conftest.err conftest.$ac_objext \
33712       conftest$ac_exeext conftest.$ac_ext
33713 fi
33714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33716 if test `eval echo '${'$as_ac_var'}'` = yes; then
33717   cat >>confdefs.h <<_ACEOF
33718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33719 _ACEOF
33720
33721 fi
33722 done
33723
33724     fi
33725   fi
33726
33727
33728
33729   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
33730 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
33731   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33732     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
33733   echo $ECHO_N "(cached) $ECHO_C" >&6
33734 else
33735
33736
33737
33738       ac_ext=cc
33739 ac_cpp='$CXXCPP $CPPFLAGS'
33740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33743
33744       cat >conftest.$ac_ext <<_ACEOF
33745 /* confdefs.h.  */
33746 _ACEOF
33747 cat confdefs.h >>conftest.$ac_ext
33748 cat >>conftest.$ac_ext <<_ACEOF
33749 /* end confdefs.h.  */
33750 #include <math.h>
33751                       #ifdef HAVE_IEEEFP_H
33752                       #include <ieeefp.h>
33753                       #endif
33754
33755 int
33756 main ()
33757 {
33758  qfpclass(0);
33759   ;
33760   return 0;
33761 }
33762 _ACEOF
33763 rm -f conftest.$ac_objext
33764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33765   (eval $ac_compile) 2>conftest.er1
33766   ac_status=$?
33767   grep -v '^ *+' conftest.er1 >conftest.err
33768   rm -f conftest.er1
33769   cat conftest.err >&5
33770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33771   (exit $ac_status); } &&
33772          { ac_try='test -z "$ac_cxx_werror_flag"
33773                          || test ! -s conftest.err'
33774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33775   (eval $ac_try) 2>&5
33776   ac_status=$?
33777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33778   (exit $ac_status); }; } &&
33779          { ac_try='test -s conftest.$ac_objext'
33780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33781   (eval $ac_try) 2>&5
33782   ac_status=$?
33783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33784   (exit $ac_status); }; }; then
33785   glibcxx_cv_func_qfpclass_use=yes
33786 else
33787   echo "$as_me: failed program was:" >&5
33788 sed 's/^/| /' conftest.$ac_ext >&5
33789
33790 glibcxx_cv_func_qfpclass_use=no
33791 fi
33792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33793       ac_ext=c
33794 ac_cpp='$CPP $CPPFLAGS'
33795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33798
33799
33800 fi
33801
33802   fi
33803   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
33804 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
33805
33806   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33807
33808 for ac_func in qfpclass
33809 do
33810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33811 echo "$as_me:$LINENO: checking for $ac_func" >&5
33812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33813 if eval "test \"\${$as_ac_var+set}\" = set"; then
33814   echo $ECHO_N "(cached) $ECHO_C" >&6
33815 else
33816   if test x$gcc_no_link = xyes; then
33817   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33819    { (exit 1); exit 1; }; }
33820 fi
33821 cat >conftest.$ac_ext <<_ACEOF
33822 /* confdefs.h.  */
33823 _ACEOF
33824 cat confdefs.h >>conftest.$ac_ext
33825 cat >>conftest.$ac_ext <<_ACEOF
33826 /* end confdefs.h.  */
33827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33828    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33829 #define $ac_func innocuous_$ac_func
33830
33831 /* System header to define __stub macros and hopefully few prototypes,
33832     which can conflict with char $ac_func (); below.
33833     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33834     <limits.h> exists even on freestanding compilers.  */
33835
33836 #ifdef __STDC__
33837 # include <limits.h>
33838 #else
33839 # include <assert.h>
33840 #endif
33841
33842 #undef $ac_func
33843
33844 /* Override any gcc2 internal prototype to avoid an error.  */
33845 #ifdef __cplusplus
33846 extern "C"
33847 {
33848 #endif
33849 /* We use char because int might match the return type of a gcc2
33850    builtin and then its argument prototype would still apply.  */
33851 char $ac_func ();
33852 /* The GNU C library defines this for functions which it implements
33853     to always fail with ENOSYS.  Some functions are actually named
33854     something starting with __ and the normal name is an alias.  */
33855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33856 choke me
33857 #else
33858 char (*f) () = $ac_func;
33859 #endif
33860 #ifdef __cplusplus
33861 }
33862 #endif
33863
33864 int
33865 main ()
33866 {
33867 return f != $ac_func;
33868   ;
33869   return 0;
33870 }
33871 _ACEOF
33872 rm -f conftest.$ac_objext conftest$ac_exeext
33873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33874   (eval $ac_link) 2>conftest.er1
33875   ac_status=$?
33876   grep -v '^ *+' conftest.er1 >conftest.err
33877   rm -f conftest.er1
33878   cat conftest.err >&5
33879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33880   (exit $ac_status); } &&
33881          { ac_try='test -z "$ac_c_werror_flag"
33882                          || test ! -s conftest.err'
33883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33884   (eval $ac_try) 2>&5
33885   ac_status=$?
33886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33887   (exit $ac_status); }; } &&
33888          { ac_try='test -s conftest$ac_exeext'
33889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33890   (eval $ac_try) 2>&5
33891   ac_status=$?
33892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33893   (exit $ac_status); }; }; then
33894   eval "$as_ac_var=yes"
33895 else
33896   echo "$as_me: failed program was:" >&5
33897 sed 's/^/| /' conftest.$ac_ext >&5
33898
33899 eval "$as_ac_var=no"
33900 fi
33901 rm -f conftest.err conftest.$ac_objext \
33902       conftest$ac_exeext conftest.$ac_ext
33903 fi
33904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33906 if test `eval echo '${'$as_ac_var'}'` = yes; then
33907   cat >>confdefs.h <<_ACEOF
33908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33909 _ACEOF
33910
33911 fi
33912 done
33913
33914   else
33915
33916   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
33917 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
33918   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33919     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
33920   echo $ECHO_N "(cached) $ECHO_C" >&6
33921 else
33922
33923
33924
33925       ac_ext=cc
33926 ac_cpp='$CXXCPP $CPPFLAGS'
33927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33930
33931       cat >conftest.$ac_ext <<_ACEOF
33932 /* confdefs.h.  */
33933 _ACEOF
33934 cat confdefs.h >>conftest.$ac_ext
33935 cat >>conftest.$ac_ext <<_ACEOF
33936 /* end confdefs.h.  */
33937 #include <math.h>
33938                       #ifdef HAVE_IEEEFP_H
33939                       #include <ieeefp.h>
33940                       #endif
33941
33942 int
33943 main ()
33944 {
33945  _qfpclass(0);
33946   ;
33947   return 0;
33948 }
33949 _ACEOF
33950 rm -f conftest.$ac_objext
33951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33952   (eval $ac_compile) 2>conftest.er1
33953   ac_status=$?
33954   grep -v '^ *+' conftest.er1 >conftest.err
33955   rm -f conftest.er1
33956   cat conftest.err >&5
33957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33958   (exit $ac_status); } &&
33959          { ac_try='test -z "$ac_cxx_werror_flag"
33960                          || test ! -s conftest.err'
33961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33962   (eval $ac_try) 2>&5
33963   ac_status=$?
33964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33965   (exit $ac_status); }; } &&
33966          { ac_try='test -s conftest.$ac_objext'
33967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33968   (eval $ac_try) 2>&5
33969   ac_status=$?
33970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33971   (exit $ac_status); }; }; then
33972   glibcxx_cv_func__qfpclass_use=yes
33973 else
33974   echo "$as_me: failed program was:" >&5
33975 sed 's/^/| /' conftest.$ac_ext >&5
33976
33977 glibcxx_cv_func__qfpclass_use=no
33978 fi
33979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33980       ac_ext=c
33981 ac_cpp='$CPP $CPPFLAGS'
33982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33985
33986
33987 fi
33988
33989   fi
33990   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
33991 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
33992
33993     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33994
33995 for ac_func in _qfpclass
33996 do
33997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33998 echo "$as_me:$LINENO: checking for $ac_func" >&5
33999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34000 if eval "test \"\${$as_ac_var+set}\" = set"; then
34001   echo $ECHO_N "(cached) $ECHO_C" >&6
34002 else
34003   if test x$gcc_no_link = xyes; then
34004   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34006    { (exit 1); exit 1; }; }
34007 fi
34008 cat >conftest.$ac_ext <<_ACEOF
34009 /* confdefs.h.  */
34010 _ACEOF
34011 cat confdefs.h >>conftest.$ac_ext
34012 cat >>conftest.$ac_ext <<_ACEOF
34013 /* end confdefs.h.  */
34014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34015    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34016 #define $ac_func innocuous_$ac_func
34017
34018 /* System header to define __stub macros and hopefully few prototypes,
34019     which can conflict with char $ac_func (); below.
34020     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34021     <limits.h> exists even on freestanding compilers.  */
34022
34023 #ifdef __STDC__
34024 # include <limits.h>
34025 #else
34026 # include <assert.h>
34027 #endif
34028
34029 #undef $ac_func
34030
34031 /* Override any gcc2 internal prototype to avoid an error.  */
34032 #ifdef __cplusplus
34033 extern "C"
34034 {
34035 #endif
34036 /* We use char because int might match the return type of a gcc2
34037    builtin and then its argument prototype would still apply.  */
34038 char $ac_func ();
34039 /* The GNU C library defines this for functions which it implements
34040     to always fail with ENOSYS.  Some functions are actually named
34041     something starting with __ and the normal name is an alias.  */
34042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34043 choke me
34044 #else
34045 char (*f) () = $ac_func;
34046 #endif
34047 #ifdef __cplusplus
34048 }
34049 #endif
34050
34051 int
34052 main ()
34053 {
34054 return f != $ac_func;
34055   ;
34056   return 0;
34057 }
34058 _ACEOF
34059 rm -f conftest.$ac_objext conftest$ac_exeext
34060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34061   (eval $ac_link) 2>conftest.er1
34062   ac_status=$?
34063   grep -v '^ *+' conftest.er1 >conftest.err
34064   rm -f conftest.er1
34065   cat conftest.err >&5
34066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34067   (exit $ac_status); } &&
34068          { ac_try='test -z "$ac_c_werror_flag"
34069                          || test ! -s conftest.err'
34070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34071   (eval $ac_try) 2>&5
34072   ac_status=$?
34073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34074   (exit $ac_status); }; } &&
34075          { ac_try='test -s conftest$ac_exeext'
34076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34077   (eval $ac_try) 2>&5
34078   ac_status=$?
34079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34080   (exit $ac_status); }; }; then
34081   eval "$as_ac_var=yes"
34082 else
34083   echo "$as_me: failed program was:" >&5
34084 sed 's/^/| /' conftest.$ac_ext >&5
34085
34086 eval "$as_ac_var=no"
34087 fi
34088 rm -f conftest.err conftest.$ac_objext \
34089       conftest$ac_exeext conftest.$ac_ext
34090 fi
34091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34093 if test `eval echo '${'$as_ac_var'}'` = yes; then
34094   cat >>confdefs.h <<_ACEOF
34095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34096 _ACEOF
34097
34098 fi
34099 done
34100
34101     fi
34102   fi
34103
34104
34105
34106   echo "$as_me:$LINENO: checking for hypot declaration" >&5
34107 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
34108   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34109     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
34110   echo $ECHO_N "(cached) $ECHO_C" >&6
34111 else
34112
34113
34114
34115       ac_ext=cc
34116 ac_cpp='$CXXCPP $CPPFLAGS'
34117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34120
34121       cat >conftest.$ac_ext <<_ACEOF
34122 /* confdefs.h.  */
34123 _ACEOF
34124 cat confdefs.h >>conftest.$ac_ext
34125 cat >>conftest.$ac_ext <<_ACEOF
34126 /* end confdefs.h.  */
34127 #include <math.h>
34128 int
34129 main ()
34130 {
34131  hypot(0, 0);
34132   ;
34133   return 0;
34134 }
34135 _ACEOF
34136 rm -f conftest.$ac_objext
34137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34138   (eval $ac_compile) 2>conftest.er1
34139   ac_status=$?
34140   grep -v '^ *+' conftest.er1 >conftest.err
34141   rm -f conftest.er1
34142   cat conftest.err >&5
34143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34144   (exit $ac_status); } &&
34145          { ac_try='test -z "$ac_cxx_werror_flag"
34146                          || test ! -s conftest.err'
34147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34148   (eval $ac_try) 2>&5
34149   ac_status=$?
34150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34151   (exit $ac_status); }; } &&
34152          { ac_try='test -s conftest.$ac_objext'
34153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34154   (eval $ac_try) 2>&5
34155   ac_status=$?
34156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34157   (exit $ac_status); }; }; then
34158   glibcxx_cv_func_hypot_use=yes
34159 else
34160   echo "$as_me: failed program was:" >&5
34161 sed 's/^/| /' conftest.$ac_ext >&5
34162
34163 glibcxx_cv_func_hypot_use=no
34164 fi
34165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34166       ac_ext=c
34167 ac_cpp='$CPP $CPPFLAGS'
34168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34171
34172
34173 fi
34174
34175   fi
34176   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
34177 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
34178
34179   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34180
34181 for ac_func in hypot
34182 do
34183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34184 echo "$as_me:$LINENO: checking for $ac_func" >&5
34185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34186 if eval "test \"\${$as_ac_var+set}\" = set"; then
34187   echo $ECHO_N "(cached) $ECHO_C" >&6
34188 else
34189   if test x$gcc_no_link = xyes; then
34190   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34192    { (exit 1); exit 1; }; }
34193 fi
34194 cat >conftest.$ac_ext <<_ACEOF
34195 /* confdefs.h.  */
34196 _ACEOF
34197 cat confdefs.h >>conftest.$ac_ext
34198 cat >>conftest.$ac_ext <<_ACEOF
34199 /* end confdefs.h.  */
34200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34201    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34202 #define $ac_func innocuous_$ac_func
34203
34204 /* System header to define __stub macros and hopefully few prototypes,
34205     which can conflict with char $ac_func (); below.
34206     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34207     <limits.h> exists even on freestanding compilers.  */
34208
34209 #ifdef __STDC__
34210 # include <limits.h>
34211 #else
34212 # include <assert.h>
34213 #endif
34214
34215 #undef $ac_func
34216
34217 /* Override any gcc2 internal prototype to avoid an error.  */
34218 #ifdef __cplusplus
34219 extern "C"
34220 {
34221 #endif
34222 /* We use char because int might match the return type of a gcc2
34223    builtin and then its argument prototype would still apply.  */
34224 char $ac_func ();
34225 /* The GNU C library defines this for functions which it implements
34226     to always fail with ENOSYS.  Some functions are actually named
34227     something starting with __ and the normal name is an alias.  */
34228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34229 choke me
34230 #else
34231 char (*f) () = $ac_func;
34232 #endif
34233 #ifdef __cplusplus
34234 }
34235 #endif
34236
34237 int
34238 main ()
34239 {
34240 return f != $ac_func;
34241   ;
34242   return 0;
34243 }
34244 _ACEOF
34245 rm -f conftest.$ac_objext conftest$ac_exeext
34246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34247   (eval $ac_link) 2>conftest.er1
34248   ac_status=$?
34249   grep -v '^ *+' conftest.er1 >conftest.err
34250   rm -f conftest.er1
34251   cat conftest.err >&5
34252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34253   (exit $ac_status); } &&
34254          { ac_try='test -z "$ac_c_werror_flag"
34255                          || test ! -s conftest.err'
34256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34257   (eval $ac_try) 2>&5
34258   ac_status=$?
34259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34260   (exit $ac_status); }; } &&
34261          { ac_try='test -s conftest$ac_exeext'
34262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34263   (eval $ac_try) 2>&5
34264   ac_status=$?
34265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34266   (exit $ac_status); }; }; then
34267   eval "$as_ac_var=yes"
34268 else
34269   echo "$as_me: failed program was:" >&5
34270 sed 's/^/| /' conftest.$ac_ext >&5
34271
34272 eval "$as_ac_var=no"
34273 fi
34274 rm -f conftest.err conftest.$ac_objext \
34275       conftest$ac_exeext conftest.$ac_ext
34276 fi
34277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34279 if test `eval echo '${'$as_ac_var'}'` = yes; then
34280   cat >>confdefs.h <<_ACEOF
34281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34282 _ACEOF
34283
34284 fi
34285 done
34286
34287   else
34288
34289   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
34290 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
34291   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34292     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
34293   echo $ECHO_N "(cached) $ECHO_C" >&6
34294 else
34295
34296
34297
34298       ac_ext=cc
34299 ac_cpp='$CXXCPP $CPPFLAGS'
34300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34303
34304       cat >conftest.$ac_ext <<_ACEOF
34305 /* confdefs.h.  */
34306 _ACEOF
34307 cat confdefs.h >>conftest.$ac_ext
34308 cat >>conftest.$ac_ext <<_ACEOF
34309 /* end confdefs.h.  */
34310 #include <math.h>
34311 int
34312 main ()
34313 {
34314  _hypot(0, 0);
34315   ;
34316   return 0;
34317 }
34318 _ACEOF
34319 rm -f conftest.$ac_objext
34320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34321   (eval $ac_compile) 2>conftest.er1
34322   ac_status=$?
34323   grep -v '^ *+' conftest.er1 >conftest.err
34324   rm -f conftest.er1
34325   cat conftest.err >&5
34326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34327   (exit $ac_status); } &&
34328          { ac_try='test -z "$ac_cxx_werror_flag"
34329                          || test ! -s conftest.err'
34330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34331   (eval $ac_try) 2>&5
34332   ac_status=$?
34333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34334   (exit $ac_status); }; } &&
34335          { ac_try='test -s conftest.$ac_objext'
34336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34337   (eval $ac_try) 2>&5
34338   ac_status=$?
34339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34340   (exit $ac_status); }; }; then
34341   glibcxx_cv_func__hypot_use=yes
34342 else
34343   echo "$as_me: failed program was:" >&5
34344 sed 's/^/| /' conftest.$ac_ext >&5
34345
34346 glibcxx_cv_func__hypot_use=no
34347 fi
34348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34349       ac_ext=c
34350 ac_cpp='$CPP $CPPFLAGS'
34351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34354
34355
34356 fi
34357
34358   fi
34359   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
34360 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
34361
34362     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34363
34364 for ac_func in _hypot
34365 do
34366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34367 echo "$as_me:$LINENO: checking for $ac_func" >&5
34368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34369 if eval "test \"\${$as_ac_var+set}\" = set"; then
34370   echo $ECHO_N "(cached) $ECHO_C" >&6
34371 else
34372   if test x$gcc_no_link = xyes; then
34373   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34375    { (exit 1); exit 1; }; }
34376 fi
34377 cat >conftest.$ac_ext <<_ACEOF
34378 /* confdefs.h.  */
34379 _ACEOF
34380 cat confdefs.h >>conftest.$ac_ext
34381 cat >>conftest.$ac_ext <<_ACEOF
34382 /* end confdefs.h.  */
34383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34384    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34385 #define $ac_func innocuous_$ac_func
34386
34387 /* System header to define __stub macros and hopefully few prototypes,
34388     which can conflict with char $ac_func (); below.
34389     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34390     <limits.h> exists even on freestanding compilers.  */
34391
34392 #ifdef __STDC__
34393 # include <limits.h>
34394 #else
34395 # include <assert.h>
34396 #endif
34397
34398 #undef $ac_func
34399
34400 /* Override any gcc2 internal prototype to avoid an error.  */
34401 #ifdef __cplusplus
34402 extern "C"
34403 {
34404 #endif
34405 /* We use char because int might match the return type of a gcc2
34406    builtin and then its argument prototype would still apply.  */
34407 char $ac_func ();
34408 /* The GNU C library defines this for functions which it implements
34409     to always fail with ENOSYS.  Some functions are actually named
34410     something starting with __ and the normal name is an alias.  */
34411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34412 choke me
34413 #else
34414 char (*f) () = $ac_func;
34415 #endif
34416 #ifdef __cplusplus
34417 }
34418 #endif
34419
34420 int
34421 main ()
34422 {
34423 return f != $ac_func;
34424   ;
34425   return 0;
34426 }
34427 _ACEOF
34428 rm -f conftest.$ac_objext conftest$ac_exeext
34429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34430   (eval $ac_link) 2>conftest.er1
34431   ac_status=$?
34432   grep -v '^ *+' conftest.er1 >conftest.err
34433   rm -f conftest.er1
34434   cat conftest.err >&5
34435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34436   (exit $ac_status); } &&
34437          { ac_try='test -z "$ac_c_werror_flag"
34438                          || test ! -s conftest.err'
34439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34440   (eval $ac_try) 2>&5
34441   ac_status=$?
34442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34443   (exit $ac_status); }; } &&
34444          { ac_try='test -s conftest$ac_exeext'
34445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34446   (eval $ac_try) 2>&5
34447   ac_status=$?
34448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34449   (exit $ac_status); }; }; then
34450   eval "$as_ac_var=yes"
34451 else
34452   echo "$as_me: failed program was:" >&5
34453 sed 's/^/| /' conftest.$ac_ext >&5
34454
34455 eval "$as_ac_var=no"
34456 fi
34457 rm -f conftest.err conftest.$ac_objext \
34458       conftest$ac_exeext conftest.$ac_ext
34459 fi
34460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34462 if test `eval echo '${'$as_ac_var'}'` = yes; then
34463   cat >>confdefs.h <<_ACEOF
34464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34465 _ACEOF
34466
34467 fi
34468 done
34469
34470     fi
34471   fi
34472
34473
34474
34475   echo "$as_me:$LINENO: checking for float trig functions" >&5
34476 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
34477   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
34478   echo $ECHO_N "(cached) $ECHO_C" >&6
34479 else
34480
34481
34482
34483     ac_ext=cc
34484 ac_cpp='$CXXCPP $CPPFLAGS'
34485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34488
34489     cat >conftest.$ac_ext <<_ACEOF
34490 /* confdefs.h.  */
34491 _ACEOF
34492 cat confdefs.h >>conftest.$ac_ext
34493 cat >>conftest.$ac_ext <<_ACEOF
34494 /* end confdefs.h.  */
34495 #include <math.h>
34496 int
34497 main ()
34498 {
34499  `for x in acosf asinf atanf \
34500                                           cosf sinf tanf \
34501                                           coshf sinhf tanhf; do echo "$x (0);"; done`
34502   ;
34503   return 0;
34504 }
34505 _ACEOF
34506 rm -f conftest.$ac_objext
34507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34508   (eval $ac_compile) 2>conftest.er1
34509   ac_status=$?
34510   grep -v '^ *+' conftest.er1 >conftest.err
34511   rm -f conftest.er1
34512   cat conftest.err >&5
34513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34514   (exit $ac_status); } &&
34515          { ac_try='test -z "$ac_cxx_werror_flag"
34516                          || test ! -s conftest.err'
34517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34518   (eval $ac_try) 2>&5
34519   ac_status=$?
34520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34521   (exit $ac_status); }; } &&
34522          { ac_try='test -s conftest.$ac_objext'
34523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34524   (eval $ac_try) 2>&5
34525   ac_status=$?
34526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34527   (exit $ac_status); }; }; then
34528   glibcxx_cv_func_float_trig_use=yes
34529 else
34530   echo "$as_me: failed program was:" >&5
34531 sed 's/^/| /' conftest.$ac_ext >&5
34532
34533 glibcxx_cv_func_float_trig_use=no
34534 fi
34535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34536     ac_ext=c
34537 ac_cpp='$CPP $CPPFLAGS'
34538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34541
34542 fi
34543
34544   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
34545 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
34546   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34547
34548
34549
34550
34551
34552
34553
34554
34555
34556 for ac_func in acosf asinf atanf \
34557                                           cosf sinf tanf \
34558                                           coshf sinhf tanhf
34559 do
34560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34561 echo "$as_me:$LINENO: checking for $ac_func" >&5
34562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34563 if eval "test \"\${$as_ac_var+set}\" = set"; then
34564   echo $ECHO_N "(cached) $ECHO_C" >&6
34565 else
34566   if test x$gcc_no_link = xyes; then
34567   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34569    { (exit 1); exit 1; }; }
34570 fi
34571 cat >conftest.$ac_ext <<_ACEOF
34572 /* confdefs.h.  */
34573 _ACEOF
34574 cat confdefs.h >>conftest.$ac_ext
34575 cat >>conftest.$ac_ext <<_ACEOF
34576 /* end confdefs.h.  */
34577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34578    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34579 #define $ac_func innocuous_$ac_func
34580
34581 /* System header to define __stub macros and hopefully few prototypes,
34582     which can conflict with char $ac_func (); below.
34583     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34584     <limits.h> exists even on freestanding compilers.  */
34585
34586 #ifdef __STDC__
34587 # include <limits.h>
34588 #else
34589 # include <assert.h>
34590 #endif
34591
34592 #undef $ac_func
34593
34594 /* Override any gcc2 internal prototype to avoid an error.  */
34595 #ifdef __cplusplus
34596 extern "C"
34597 {
34598 #endif
34599 /* We use char because int might match the return type of a gcc2
34600    builtin and then its argument prototype would still apply.  */
34601 char $ac_func ();
34602 /* The GNU C library defines this for functions which it implements
34603     to always fail with ENOSYS.  Some functions are actually named
34604     something starting with __ and the normal name is an alias.  */
34605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34606 choke me
34607 #else
34608 char (*f) () = $ac_func;
34609 #endif
34610 #ifdef __cplusplus
34611 }
34612 #endif
34613
34614 int
34615 main ()
34616 {
34617 return f != $ac_func;
34618   ;
34619   return 0;
34620 }
34621 _ACEOF
34622 rm -f conftest.$ac_objext conftest$ac_exeext
34623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34624   (eval $ac_link) 2>conftest.er1
34625   ac_status=$?
34626   grep -v '^ *+' conftest.er1 >conftest.err
34627   rm -f conftest.er1
34628   cat conftest.err >&5
34629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34630   (exit $ac_status); } &&
34631          { ac_try='test -z "$ac_c_werror_flag"
34632                          || test ! -s conftest.err'
34633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34634   (eval $ac_try) 2>&5
34635   ac_status=$?
34636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34637   (exit $ac_status); }; } &&
34638          { ac_try='test -s conftest$ac_exeext'
34639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34640   (eval $ac_try) 2>&5
34641   ac_status=$?
34642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34643   (exit $ac_status); }; }; then
34644   eval "$as_ac_var=yes"
34645 else
34646   echo "$as_me: failed program was:" >&5
34647 sed 's/^/| /' conftest.$ac_ext >&5
34648
34649 eval "$as_ac_var=no"
34650 fi
34651 rm -f conftest.err conftest.$ac_objext \
34652       conftest$ac_exeext conftest.$ac_ext
34653 fi
34654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34656 if test `eval echo '${'$as_ac_var'}'` = yes; then
34657   cat >>confdefs.h <<_ACEOF
34658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34659 _ACEOF
34660
34661 fi
34662 done
34663
34664   fi
34665
34666
34667   echo "$as_me:$LINENO: checking for float round functions" >&5
34668 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
34669   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
34670   echo $ECHO_N "(cached) $ECHO_C" >&6
34671 else
34672
34673
34674
34675     ac_ext=cc
34676 ac_cpp='$CXXCPP $CPPFLAGS'
34677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34680
34681     cat >conftest.$ac_ext <<_ACEOF
34682 /* confdefs.h.  */
34683 _ACEOF
34684 cat confdefs.h >>conftest.$ac_ext
34685 cat >>conftest.$ac_ext <<_ACEOF
34686 /* end confdefs.h.  */
34687 #include <math.h>
34688 int
34689 main ()
34690 {
34691  `for x in ceilf floorf; do echo "$x (0);"; done`
34692   ;
34693   return 0;
34694 }
34695 _ACEOF
34696 rm -f conftest.$ac_objext
34697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34698   (eval $ac_compile) 2>conftest.er1
34699   ac_status=$?
34700   grep -v '^ *+' conftest.er1 >conftest.err
34701   rm -f conftest.er1
34702   cat conftest.err >&5
34703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34704   (exit $ac_status); } &&
34705          { ac_try='test -z "$ac_cxx_werror_flag"
34706                          || test ! -s conftest.err'
34707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34708   (eval $ac_try) 2>&5
34709   ac_status=$?
34710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34711   (exit $ac_status); }; } &&
34712          { ac_try='test -s conftest.$ac_objext'
34713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34714   (eval $ac_try) 2>&5
34715   ac_status=$?
34716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34717   (exit $ac_status); }; }; then
34718   glibcxx_cv_func_float_round_use=yes
34719 else
34720   echo "$as_me: failed program was:" >&5
34721 sed 's/^/| /' conftest.$ac_ext >&5
34722
34723 glibcxx_cv_func_float_round_use=no
34724 fi
34725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34726     ac_ext=c
34727 ac_cpp='$CPP $CPPFLAGS'
34728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34731
34732 fi
34733
34734   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
34735 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
34736   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34737
34738
34739 for ac_func in ceilf floorf
34740 do
34741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34742 echo "$as_me:$LINENO: checking for $ac_func" >&5
34743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34744 if eval "test \"\${$as_ac_var+set}\" = set"; then
34745   echo $ECHO_N "(cached) $ECHO_C" >&6
34746 else
34747   if test x$gcc_no_link = xyes; then
34748   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34750    { (exit 1); exit 1; }; }
34751 fi
34752 cat >conftest.$ac_ext <<_ACEOF
34753 /* confdefs.h.  */
34754 _ACEOF
34755 cat confdefs.h >>conftest.$ac_ext
34756 cat >>conftest.$ac_ext <<_ACEOF
34757 /* end confdefs.h.  */
34758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34759    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34760 #define $ac_func innocuous_$ac_func
34761
34762 /* System header to define __stub macros and hopefully few prototypes,
34763     which can conflict with char $ac_func (); below.
34764     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34765     <limits.h> exists even on freestanding compilers.  */
34766
34767 #ifdef __STDC__
34768 # include <limits.h>
34769 #else
34770 # include <assert.h>
34771 #endif
34772
34773 #undef $ac_func
34774
34775 /* Override any gcc2 internal prototype to avoid an error.  */
34776 #ifdef __cplusplus
34777 extern "C"
34778 {
34779 #endif
34780 /* We use char because int might match the return type of a gcc2
34781    builtin and then its argument prototype would still apply.  */
34782 char $ac_func ();
34783 /* The GNU C library defines this for functions which it implements
34784     to always fail with ENOSYS.  Some functions are actually named
34785     something starting with __ and the normal name is an alias.  */
34786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34787 choke me
34788 #else
34789 char (*f) () = $ac_func;
34790 #endif
34791 #ifdef __cplusplus
34792 }
34793 #endif
34794
34795 int
34796 main ()
34797 {
34798 return f != $ac_func;
34799   ;
34800   return 0;
34801 }
34802 _ACEOF
34803 rm -f conftest.$ac_objext conftest$ac_exeext
34804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34805   (eval $ac_link) 2>conftest.er1
34806   ac_status=$?
34807   grep -v '^ *+' conftest.er1 >conftest.err
34808   rm -f conftest.er1
34809   cat conftest.err >&5
34810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34811   (exit $ac_status); } &&
34812          { ac_try='test -z "$ac_c_werror_flag"
34813                          || test ! -s conftest.err'
34814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34815   (eval $ac_try) 2>&5
34816   ac_status=$?
34817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34818   (exit $ac_status); }; } &&
34819          { ac_try='test -s conftest$ac_exeext'
34820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34821   (eval $ac_try) 2>&5
34822   ac_status=$?
34823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34824   (exit $ac_status); }; }; then
34825   eval "$as_ac_var=yes"
34826 else
34827   echo "$as_me: failed program was:" >&5
34828 sed 's/^/| /' conftest.$ac_ext >&5
34829
34830 eval "$as_ac_var=no"
34831 fi
34832 rm -f conftest.err conftest.$ac_objext \
34833       conftest$ac_exeext conftest.$ac_ext
34834 fi
34835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34837 if test `eval echo '${'$as_ac_var'}'` = yes; then
34838   cat >>confdefs.h <<_ACEOF
34839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34840 _ACEOF
34841
34842 fi
34843 done
34844
34845   fi
34846
34847
34848
34849   echo "$as_me:$LINENO: checking for expf declaration" >&5
34850 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
34851   if test x${glibcxx_cv_func_expf_use+set} != xset; then
34852     if test "${glibcxx_cv_func_expf_use+set}" = set; then
34853   echo $ECHO_N "(cached) $ECHO_C" >&6
34854 else
34855
34856
34857
34858       ac_ext=cc
34859 ac_cpp='$CXXCPP $CPPFLAGS'
34860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34863
34864       cat >conftest.$ac_ext <<_ACEOF
34865 /* confdefs.h.  */
34866 _ACEOF
34867 cat confdefs.h >>conftest.$ac_ext
34868 cat >>conftest.$ac_ext <<_ACEOF
34869 /* end confdefs.h.  */
34870 #include <math.h>
34871                       #ifdef HAVE_IEEEFP_H
34872                       #include <ieeefp.h>
34873                       #endif
34874
34875 int
34876 main ()
34877 {
34878  expf(0);
34879   ;
34880   return 0;
34881 }
34882 _ACEOF
34883 rm -f conftest.$ac_objext
34884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34885   (eval $ac_compile) 2>conftest.er1
34886   ac_status=$?
34887   grep -v '^ *+' conftest.er1 >conftest.err
34888   rm -f conftest.er1
34889   cat conftest.err >&5
34890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34891   (exit $ac_status); } &&
34892          { ac_try='test -z "$ac_cxx_werror_flag"
34893                          || test ! -s conftest.err'
34894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34895   (eval $ac_try) 2>&5
34896   ac_status=$?
34897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34898   (exit $ac_status); }; } &&
34899          { ac_try='test -s conftest.$ac_objext'
34900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34901   (eval $ac_try) 2>&5
34902   ac_status=$?
34903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34904   (exit $ac_status); }; }; then
34905   glibcxx_cv_func_expf_use=yes
34906 else
34907   echo "$as_me: failed program was:" >&5
34908 sed 's/^/| /' conftest.$ac_ext >&5
34909
34910 glibcxx_cv_func_expf_use=no
34911 fi
34912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34913       ac_ext=c
34914 ac_cpp='$CPP $CPPFLAGS'
34915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34918
34919
34920 fi
34921
34922   fi
34923   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
34924 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
34925
34926   if test x$glibcxx_cv_func_expf_use = x"yes"; then
34927
34928 for ac_func in expf
34929 do
34930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34931 echo "$as_me:$LINENO: checking for $ac_func" >&5
34932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34933 if eval "test \"\${$as_ac_var+set}\" = set"; then
34934   echo $ECHO_N "(cached) $ECHO_C" >&6
34935 else
34936   if test x$gcc_no_link = xyes; then
34937   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34939    { (exit 1); exit 1; }; }
34940 fi
34941 cat >conftest.$ac_ext <<_ACEOF
34942 /* confdefs.h.  */
34943 _ACEOF
34944 cat confdefs.h >>conftest.$ac_ext
34945 cat >>conftest.$ac_ext <<_ACEOF
34946 /* end confdefs.h.  */
34947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34948    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34949 #define $ac_func innocuous_$ac_func
34950
34951 /* System header to define __stub macros and hopefully few prototypes,
34952     which can conflict with char $ac_func (); below.
34953     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34954     <limits.h> exists even on freestanding compilers.  */
34955
34956 #ifdef __STDC__
34957 # include <limits.h>
34958 #else
34959 # include <assert.h>
34960 #endif
34961
34962 #undef $ac_func
34963
34964 /* Override any gcc2 internal prototype to avoid an error.  */
34965 #ifdef __cplusplus
34966 extern "C"
34967 {
34968 #endif
34969 /* We use char because int might match the return type of a gcc2
34970    builtin and then its argument prototype would still apply.  */
34971 char $ac_func ();
34972 /* The GNU C library defines this for functions which it implements
34973     to always fail with ENOSYS.  Some functions are actually named
34974     something starting with __ and the normal name is an alias.  */
34975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34976 choke me
34977 #else
34978 char (*f) () = $ac_func;
34979 #endif
34980 #ifdef __cplusplus
34981 }
34982 #endif
34983
34984 int
34985 main ()
34986 {
34987 return f != $ac_func;
34988   ;
34989   return 0;
34990 }
34991 _ACEOF
34992 rm -f conftest.$ac_objext conftest$ac_exeext
34993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34994   (eval $ac_link) 2>conftest.er1
34995   ac_status=$?
34996   grep -v '^ *+' conftest.er1 >conftest.err
34997   rm -f conftest.er1
34998   cat conftest.err >&5
34999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35000   (exit $ac_status); } &&
35001          { ac_try='test -z "$ac_c_werror_flag"
35002                          || test ! -s conftest.err'
35003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35004   (eval $ac_try) 2>&5
35005   ac_status=$?
35006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35007   (exit $ac_status); }; } &&
35008          { ac_try='test -s conftest$ac_exeext'
35009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35010   (eval $ac_try) 2>&5
35011   ac_status=$?
35012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35013   (exit $ac_status); }; }; then
35014   eval "$as_ac_var=yes"
35015 else
35016   echo "$as_me: failed program was:" >&5
35017 sed 's/^/| /' conftest.$ac_ext >&5
35018
35019 eval "$as_ac_var=no"
35020 fi
35021 rm -f conftest.err conftest.$ac_objext \
35022       conftest$ac_exeext conftest.$ac_ext
35023 fi
35024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35026 if test `eval echo '${'$as_ac_var'}'` = yes; then
35027   cat >>confdefs.h <<_ACEOF
35028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35029 _ACEOF
35030
35031 fi
35032 done
35033
35034   else
35035
35036   echo "$as_me:$LINENO: checking for _expf declaration" >&5
35037 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
35038   if test x${glibcxx_cv_func__expf_use+set} != xset; then
35039     if test "${glibcxx_cv_func__expf_use+set}" = set; then
35040   echo $ECHO_N "(cached) $ECHO_C" >&6
35041 else
35042
35043
35044
35045       ac_ext=cc
35046 ac_cpp='$CXXCPP $CPPFLAGS'
35047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35050
35051       cat >conftest.$ac_ext <<_ACEOF
35052 /* confdefs.h.  */
35053 _ACEOF
35054 cat confdefs.h >>conftest.$ac_ext
35055 cat >>conftest.$ac_ext <<_ACEOF
35056 /* end confdefs.h.  */
35057 #include <math.h>
35058                       #ifdef HAVE_IEEEFP_H
35059                       #include <ieeefp.h>
35060                       #endif
35061
35062 int
35063 main ()
35064 {
35065  _expf(0);
35066   ;
35067   return 0;
35068 }
35069 _ACEOF
35070 rm -f conftest.$ac_objext
35071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35072   (eval $ac_compile) 2>conftest.er1
35073   ac_status=$?
35074   grep -v '^ *+' conftest.er1 >conftest.err
35075   rm -f conftest.er1
35076   cat conftest.err >&5
35077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35078   (exit $ac_status); } &&
35079          { ac_try='test -z "$ac_cxx_werror_flag"
35080                          || test ! -s conftest.err'
35081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35082   (eval $ac_try) 2>&5
35083   ac_status=$?
35084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35085   (exit $ac_status); }; } &&
35086          { ac_try='test -s conftest.$ac_objext'
35087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35088   (eval $ac_try) 2>&5
35089   ac_status=$?
35090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35091   (exit $ac_status); }; }; then
35092   glibcxx_cv_func__expf_use=yes
35093 else
35094   echo "$as_me: failed program was:" >&5
35095 sed 's/^/| /' conftest.$ac_ext >&5
35096
35097 glibcxx_cv_func__expf_use=no
35098 fi
35099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35100       ac_ext=c
35101 ac_cpp='$CPP $CPPFLAGS'
35102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35105
35106
35107 fi
35108
35109   fi
35110   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
35111 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
35112
35113     if test x$glibcxx_cv_func__expf_use = x"yes"; then
35114
35115 for ac_func in _expf
35116 do
35117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35118 echo "$as_me:$LINENO: checking for $ac_func" >&5
35119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35120 if eval "test \"\${$as_ac_var+set}\" = set"; then
35121   echo $ECHO_N "(cached) $ECHO_C" >&6
35122 else
35123   if test x$gcc_no_link = xyes; then
35124   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35126    { (exit 1); exit 1; }; }
35127 fi
35128 cat >conftest.$ac_ext <<_ACEOF
35129 /* confdefs.h.  */
35130 _ACEOF
35131 cat confdefs.h >>conftest.$ac_ext
35132 cat >>conftest.$ac_ext <<_ACEOF
35133 /* end confdefs.h.  */
35134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35135    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35136 #define $ac_func innocuous_$ac_func
35137
35138 /* System header to define __stub macros and hopefully few prototypes,
35139     which can conflict with char $ac_func (); below.
35140     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35141     <limits.h> exists even on freestanding compilers.  */
35142
35143 #ifdef __STDC__
35144 # include <limits.h>
35145 #else
35146 # include <assert.h>
35147 #endif
35148
35149 #undef $ac_func
35150
35151 /* Override any gcc2 internal prototype to avoid an error.  */
35152 #ifdef __cplusplus
35153 extern "C"
35154 {
35155 #endif
35156 /* We use char because int might match the return type of a gcc2
35157    builtin and then its argument prototype would still apply.  */
35158 char $ac_func ();
35159 /* The GNU C library defines this for functions which it implements
35160     to always fail with ENOSYS.  Some functions are actually named
35161     something starting with __ and the normal name is an alias.  */
35162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35163 choke me
35164 #else
35165 char (*f) () = $ac_func;
35166 #endif
35167 #ifdef __cplusplus
35168 }
35169 #endif
35170
35171 int
35172 main ()
35173 {
35174 return f != $ac_func;
35175   ;
35176   return 0;
35177 }
35178 _ACEOF
35179 rm -f conftest.$ac_objext conftest$ac_exeext
35180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35181   (eval $ac_link) 2>conftest.er1
35182   ac_status=$?
35183   grep -v '^ *+' conftest.er1 >conftest.err
35184   rm -f conftest.er1
35185   cat conftest.err >&5
35186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35187   (exit $ac_status); } &&
35188          { ac_try='test -z "$ac_c_werror_flag"
35189                          || test ! -s conftest.err'
35190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35191   (eval $ac_try) 2>&5
35192   ac_status=$?
35193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35194   (exit $ac_status); }; } &&
35195          { ac_try='test -s conftest$ac_exeext'
35196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35197   (eval $ac_try) 2>&5
35198   ac_status=$?
35199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35200   (exit $ac_status); }; }; then
35201   eval "$as_ac_var=yes"
35202 else
35203   echo "$as_me: failed program was:" >&5
35204 sed 's/^/| /' conftest.$ac_ext >&5
35205
35206 eval "$as_ac_var=no"
35207 fi
35208 rm -f conftest.err conftest.$ac_objext \
35209       conftest$ac_exeext conftest.$ac_ext
35210 fi
35211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35213 if test `eval echo '${'$as_ac_var'}'` = yes; then
35214   cat >>confdefs.h <<_ACEOF
35215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35216 _ACEOF
35217
35218 fi
35219 done
35220
35221     fi
35222   fi
35223
35224
35225
35226   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
35227 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
35228   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35229     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
35230   echo $ECHO_N "(cached) $ECHO_C" >&6
35231 else
35232
35233
35234
35235       ac_ext=cc
35236 ac_cpp='$CXXCPP $CPPFLAGS'
35237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35240
35241       cat >conftest.$ac_ext <<_ACEOF
35242 /* confdefs.h.  */
35243 _ACEOF
35244 cat confdefs.h >>conftest.$ac_ext
35245 cat >>conftest.$ac_ext <<_ACEOF
35246 /* end confdefs.h.  */
35247 #include <math.h>
35248                       #ifdef HAVE_IEEEFP_H
35249                       #include <ieeefp.h>
35250                       #endif
35251
35252 int
35253 main ()
35254 {
35255  isnanf(0);
35256   ;
35257   return 0;
35258 }
35259 _ACEOF
35260 rm -f conftest.$ac_objext
35261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35262   (eval $ac_compile) 2>conftest.er1
35263   ac_status=$?
35264   grep -v '^ *+' conftest.er1 >conftest.err
35265   rm -f conftest.er1
35266   cat conftest.err >&5
35267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35268   (exit $ac_status); } &&
35269          { ac_try='test -z "$ac_cxx_werror_flag"
35270                          || test ! -s conftest.err'
35271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35272   (eval $ac_try) 2>&5
35273   ac_status=$?
35274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35275   (exit $ac_status); }; } &&
35276          { ac_try='test -s conftest.$ac_objext'
35277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35278   (eval $ac_try) 2>&5
35279   ac_status=$?
35280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35281   (exit $ac_status); }; }; then
35282   glibcxx_cv_func_isnanf_use=yes
35283 else
35284   echo "$as_me: failed program was:" >&5
35285 sed 's/^/| /' conftest.$ac_ext >&5
35286
35287 glibcxx_cv_func_isnanf_use=no
35288 fi
35289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35290       ac_ext=c
35291 ac_cpp='$CPP $CPPFLAGS'
35292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35295
35296
35297 fi
35298
35299   fi
35300   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
35301 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
35302
35303   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35304
35305 for ac_func in isnanf
35306 do
35307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35308 echo "$as_me:$LINENO: checking for $ac_func" >&5
35309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35310 if eval "test \"\${$as_ac_var+set}\" = set"; then
35311   echo $ECHO_N "(cached) $ECHO_C" >&6
35312 else
35313   if test x$gcc_no_link = xyes; then
35314   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35316    { (exit 1); exit 1; }; }
35317 fi
35318 cat >conftest.$ac_ext <<_ACEOF
35319 /* confdefs.h.  */
35320 _ACEOF
35321 cat confdefs.h >>conftest.$ac_ext
35322 cat >>conftest.$ac_ext <<_ACEOF
35323 /* end confdefs.h.  */
35324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35325    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35326 #define $ac_func innocuous_$ac_func
35327
35328 /* System header to define __stub macros and hopefully few prototypes,
35329     which can conflict with char $ac_func (); below.
35330     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35331     <limits.h> exists even on freestanding compilers.  */
35332
35333 #ifdef __STDC__
35334 # include <limits.h>
35335 #else
35336 # include <assert.h>
35337 #endif
35338
35339 #undef $ac_func
35340
35341 /* Override any gcc2 internal prototype to avoid an error.  */
35342 #ifdef __cplusplus
35343 extern "C"
35344 {
35345 #endif
35346 /* We use char because int might match the return type of a gcc2
35347    builtin and then its argument prototype would still apply.  */
35348 char $ac_func ();
35349 /* The GNU C library defines this for functions which it implements
35350     to always fail with ENOSYS.  Some functions are actually named
35351     something starting with __ and the normal name is an alias.  */
35352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35353 choke me
35354 #else
35355 char (*f) () = $ac_func;
35356 #endif
35357 #ifdef __cplusplus
35358 }
35359 #endif
35360
35361 int
35362 main ()
35363 {
35364 return f != $ac_func;
35365   ;
35366   return 0;
35367 }
35368 _ACEOF
35369 rm -f conftest.$ac_objext conftest$ac_exeext
35370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35371   (eval $ac_link) 2>conftest.er1
35372   ac_status=$?
35373   grep -v '^ *+' conftest.er1 >conftest.err
35374   rm -f conftest.er1
35375   cat conftest.err >&5
35376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35377   (exit $ac_status); } &&
35378          { ac_try='test -z "$ac_c_werror_flag"
35379                          || test ! -s conftest.err'
35380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35381   (eval $ac_try) 2>&5
35382   ac_status=$?
35383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35384   (exit $ac_status); }; } &&
35385          { ac_try='test -s conftest$ac_exeext'
35386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35387   (eval $ac_try) 2>&5
35388   ac_status=$?
35389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35390   (exit $ac_status); }; }; then
35391   eval "$as_ac_var=yes"
35392 else
35393   echo "$as_me: failed program was:" >&5
35394 sed 's/^/| /' conftest.$ac_ext >&5
35395
35396 eval "$as_ac_var=no"
35397 fi
35398 rm -f conftest.err conftest.$ac_objext \
35399       conftest$ac_exeext conftest.$ac_ext
35400 fi
35401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35403 if test `eval echo '${'$as_ac_var'}'` = yes; then
35404   cat >>confdefs.h <<_ACEOF
35405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35406 _ACEOF
35407
35408 fi
35409 done
35410
35411   else
35412
35413   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
35414 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
35415   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35416     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
35417   echo $ECHO_N "(cached) $ECHO_C" >&6
35418 else
35419
35420
35421
35422       ac_ext=cc
35423 ac_cpp='$CXXCPP $CPPFLAGS'
35424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35427
35428       cat >conftest.$ac_ext <<_ACEOF
35429 /* confdefs.h.  */
35430 _ACEOF
35431 cat confdefs.h >>conftest.$ac_ext
35432 cat >>conftest.$ac_ext <<_ACEOF
35433 /* end confdefs.h.  */
35434 #include <math.h>
35435                       #ifdef HAVE_IEEEFP_H
35436                       #include <ieeefp.h>
35437                       #endif
35438
35439 int
35440 main ()
35441 {
35442  _isnanf(0);
35443   ;
35444   return 0;
35445 }
35446 _ACEOF
35447 rm -f conftest.$ac_objext
35448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35449   (eval $ac_compile) 2>conftest.er1
35450   ac_status=$?
35451   grep -v '^ *+' conftest.er1 >conftest.err
35452   rm -f conftest.er1
35453   cat conftest.err >&5
35454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35455   (exit $ac_status); } &&
35456          { ac_try='test -z "$ac_cxx_werror_flag"
35457                          || test ! -s conftest.err'
35458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35459   (eval $ac_try) 2>&5
35460   ac_status=$?
35461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35462   (exit $ac_status); }; } &&
35463          { ac_try='test -s conftest.$ac_objext'
35464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35465   (eval $ac_try) 2>&5
35466   ac_status=$?
35467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35468   (exit $ac_status); }; }; then
35469   glibcxx_cv_func__isnanf_use=yes
35470 else
35471   echo "$as_me: failed program was:" >&5
35472 sed 's/^/| /' conftest.$ac_ext >&5
35473
35474 glibcxx_cv_func__isnanf_use=no
35475 fi
35476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35477       ac_ext=c
35478 ac_cpp='$CPP $CPPFLAGS'
35479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35482
35483
35484 fi
35485
35486   fi
35487   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
35488 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
35489
35490     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35491
35492 for ac_func in _isnanf
35493 do
35494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35495 echo "$as_me:$LINENO: checking for $ac_func" >&5
35496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35497 if eval "test \"\${$as_ac_var+set}\" = set"; then
35498   echo $ECHO_N "(cached) $ECHO_C" >&6
35499 else
35500   if test x$gcc_no_link = xyes; then
35501   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35503    { (exit 1); exit 1; }; }
35504 fi
35505 cat >conftest.$ac_ext <<_ACEOF
35506 /* confdefs.h.  */
35507 _ACEOF
35508 cat confdefs.h >>conftest.$ac_ext
35509 cat >>conftest.$ac_ext <<_ACEOF
35510 /* end confdefs.h.  */
35511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35512    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35513 #define $ac_func innocuous_$ac_func
35514
35515 /* System header to define __stub macros and hopefully few prototypes,
35516     which can conflict with char $ac_func (); below.
35517     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35518     <limits.h> exists even on freestanding compilers.  */
35519
35520 #ifdef __STDC__
35521 # include <limits.h>
35522 #else
35523 # include <assert.h>
35524 #endif
35525
35526 #undef $ac_func
35527
35528 /* Override any gcc2 internal prototype to avoid an error.  */
35529 #ifdef __cplusplus
35530 extern "C"
35531 {
35532 #endif
35533 /* We use char because int might match the return type of a gcc2
35534    builtin and then its argument prototype would still apply.  */
35535 char $ac_func ();
35536 /* The GNU C library defines this for functions which it implements
35537     to always fail with ENOSYS.  Some functions are actually named
35538     something starting with __ and the normal name is an alias.  */
35539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35540 choke me
35541 #else
35542 char (*f) () = $ac_func;
35543 #endif
35544 #ifdef __cplusplus
35545 }
35546 #endif
35547
35548 int
35549 main ()
35550 {
35551 return f != $ac_func;
35552   ;
35553   return 0;
35554 }
35555 _ACEOF
35556 rm -f conftest.$ac_objext conftest$ac_exeext
35557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35558   (eval $ac_link) 2>conftest.er1
35559   ac_status=$?
35560   grep -v '^ *+' conftest.er1 >conftest.err
35561   rm -f conftest.er1
35562   cat conftest.err >&5
35563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35564   (exit $ac_status); } &&
35565          { ac_try='test -z "$ac_c_werror_flag"
35566                          || test ! -s conftest.err'
35567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35568   (eval $ac_try) 2>&5
35569   ac_status=$?
35570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35571   (exit $ac_status); }; } &&
35572          { ac_try='test -s conftest$ac_exeext'
35573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35574   (eval $ac_try) 2>&5
35575   ac_status=$?
35576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35577   (exit $ac_status); }; }; then
35578   eval "$as_ac_var=yes"
35579 else
35580   echo "$as_me: failed program was:" >&5
35581 sed 's/^/| /' conftest.$ac_ext >&5
35582
35583 eval "$as_ac_var=no"
35584 fi
35585 rm -f conftest.err conftest.$ac_objext \
35586       conftest$ac_exeext conftest.$ac_ext
35587 fi
35588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35590 if test `eval echo '${'$as_ac_var'}'` = yes; then
35591   cat >>confdefs.h <<_ACEOF
35592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35593 _ACEOF
35594
35595 fi
35596 done
35597
35598     fi
35599   fi
35600
35601
35602
35603   echo "$as_me:$LINENO: checking for isinff declaration" >&5
35604 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
35605   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35606     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
35607   echo $ECHO_N "(cached) $ECHO_C" >&6
35608 else
35609
35610
35611
35612       ac_ext=cc
35613 ac_cpp='$CXXCPP $CPPFLAGS'
35614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35617
35618       cat >conftest.$ac_ext <<_ACEOF
35619 /* confdefs.h.  */
35620 _ACEOF
35621 cat confdefs.h >>conftest.$ac_ext
35622 cat >>conftest.$ac_ext <<_ACEOF
35623 /* end confdefs.h.  */
35624 #include <math.h>
35625                       #ifdef HAVE_IEEEFP_H
35626                       #include <ieeefp.h>
35627                       #endif
35628
35629 int
35630 main ()
35631 {
35632  isinff(0);
35633   ;
35634   return 0;
35635 }
35636 _ACEOF
35637 rm -f conftest.$ac_objext
35638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35639   (eval $ac_compile) 2>conftest.er1
35640   ac_status=$?
35641   grep -v '^ *+' conftest.er1 >conftest.err
35642   rm -f conftest.er1
35643   cat conftest.err >&5
35644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35645   (exit $ac_status); } &&
35646          { ac_try='test -z "$ac_cxx_werror_flag"
35647                          || test ! -s conftest.err'
35648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35649   (eval $ac_try) 2>&5
35650   ac_status=$?
35651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35652   (exit $ac_status); }; } &&
35653          { ac_try='test -s conftest.$ac_objext'
35654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35655   (eval $ac_try) 2>&5
35656   ac_status=$?
35657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35658   (exit $ac_status); }; }; then
35659   glibcxx_cv_func_isinff_use=yes
35660 else
35661   echo "$as_me: failed program was:" >&5
35662 sed 's/^/| /' conftest.$ac_ext >&5
35663
35664 glibcxx_cv_func_isinff_use=no
35665 fi
35666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35667       ac_ext=c
35668 ac_cpp='$CPP $CPPFLAGS'
35669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35672
35673
35674 fi
35675
35676   fi
35677   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
35678 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
35679
35680   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35681
35682 for ac_func in isinff
35683 do
35684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35685 echo "$as_me:$LINENO: checking for $ac_func" >&5
35686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35687 if eval "test \"\${$as_ac_var+set}\" = set"; then
35688   echo $ECHO_N "(cached) $ECHO_C" >&6
35689 else
35690   if test x$gcc_no_link = xyes; then
35691   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35693    { (exit 1); exit 1; }; }
35694 fi
35695 cat >conftest.$ac_ext <<_ACEOF
35696 /* confdefs.h.  */
35697 _ACEOF
35698 cat confdefs.h >>conftest.$ac_ext
35699 cat >>conftest.$ac_ext <<_ACEOF
35700 /* end confdefs.h.  */
35701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35702    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35703 #define $ac_func innocuous_$ac_func
35704
35705 /* System header to define __stub macros and hopefully few prototypes,
35706     which can conflict with char $ac_func (); below.
35707     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35708     <limits.h> exists even on freestanding compilers.  */
35709
35710 #ifdef __STDC__
35711 # include <limits.h>
35712 #else
35713 # include <assert.h>
35714 #endif
35715
35716 #undef $ac_func
35717
35718 /* Override any gcc2 internal prototype to avoid an error.  */
35719 #ifdef __cplusplus
35720 extern "C"
35721 {
35722 #endif
35723 /* We use char because int might match the return type of a gcc2
35724    builtin and then its argument prototype would still apply.  */
35725 char $ac_func ();
35726 /* The GNU C library defines this for functions which it implements
35727     to always fail with ENOSYS.  Some functions are actually named
35728     something starting with __ and the normal name is an alias.  */
35729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35730 choke me
35731 #else
35732 char (*f) () = $ac_func;
35733 #endif
35734 #ifdef __cplusplus
35735 }
35736 #endif
35737
35738 int
35739 main ()
35740 {
35741 return f != $ac_func;
35742   ;
35743   return 0;
35744 }
35745 _ACEOF
35746 rm -f conftest.$ac_objext conftest$ac_exeext
35747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35748   (eval $ac_link) 2>conftest.er1
35749   ac_status=$?
35750   grep -v '^ *+' conftest.er1 >conftest.err
35751   rm -f conftest.er1
35752   cat conftest.err >&5
35753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35754   (exit $ac_status); } &&
35755          { ac_try='test -z "$ac_c_werror_flag"
35756                          || test ! -s conftest.err'
35757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35758   (eval $ac_try) 2>&5
35759   ac_status=$?
35760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35761   (exit $ac_status); }; } &&
35762          { ac_try='test -s conftest$ac_exeext'
35763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35764   (eval $ac_try) 2>&5
35765   ac_status=$?
35766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35767   (exit $ac_status); }; }; then
35768   eval "$as_ac_var=yes"
35769 else
35770   echo "$as_me: failed program was:" >&5
35771 sed 's/^/| /' conftest.$ac_ext >&5
35772
35773 eval "$as_ac_var=no"
35774 fi
35775 rm -f conftest.err conftest.$ac_objext \
35776       conftest$ac_exeext conftest.$ac_ext
35777 fi
35778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35780 if test `eval echo '${'$as_ac_var'}'` = yes; then
35781   cat >>confdefs.h <<_ACEOF
35782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35783 _ACEOF
35784
35785 fi
35786 done
35787
35788   else
35789
35790   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
35791 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
35792   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35793     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
35794   echo $ECHO_N "(cached) $ECHO_C" >&6
35795 else
35796
35797
35798
35799       ac_ext=cc
35800 ac_cpp='$CXXCPP $CPPFLAGS'
35801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35804
35805       cat >conftest.$ac_ext <<_ACEOF
35806 /* confdefs.h.  */
35807 _ACEOF
35808 cat confdefs.h >>conftest.$ac_ext
35809 cat >>conftest.$ac_ext <<_ACEOF
35810 /* end confdefs.h.  */
35811 #include <math.h>
35812                       #ifdef HAVE_IEEEFP_H
35813                       #include <ieeefp.h>
35814                       #endif
35815
35816 int
35817 main ()
35818 {
35819  _isinff(0);
35820   ;
35821   return 0;
35822 }
35823 _ACEOF
35824 rm -f conftest.$ac_objext
35825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35826   (eval $ac_compile) 2>conftest.er1
35827   ac_status=$?
35828   grep -v '^ *+' conftest.er1 >conftest.err
35829   rm -f conftest.er1
35830   cat conftest.err >&5
35831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35832   (exit $ac_status); } &&
35833          { ac_try='test -z "$ac_cxx_werror_flag"
35834                          || test ! -s conftest.err'
35835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35836   (eval $ac_try) 2>&5
35837   ac_status=$?
35838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35839   (exit $ac_status); }; } &&
35840          { ac_try='test -s conftest.$ac_objext'
35841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35842   (eval $ac_try) 2>&5
35843   ac_status=$?
35844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35845   (exit $ac_status); }; }; then
35846   glibcxx_cv_func__isinff_use=yes
35847 else
35848   echo "$as_me: failed program was:" >&5
35849 sed 's/^/| /' conftest.$ac_ext >&5
35850
35851 glibcxx_cv_func__isinff_use=no
35852 fi
35853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35854       ac_ext=c
35855 ac_cpp='$CPP $CPPFLAGS'
35856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35859
35860
35861 fi
35862
35863   fi
35864   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
35865 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
35866
35867     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35868
35869 for ac_func in _isinff
35870 do
35871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35872 echo "$as_me:$LINENO: checking for $ac_func" >&5
35873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35874 if eval "test \"\${$as_ac_var+set}\" = set"; then
35875   echo $ECHO_N "(cached) $ECHO_C" >&6
35876 else
35877   if test x$gcc_no_link = xyes; then
35878   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35880    { (exit 1); exit 1; }; }
35881 fi
35882 cat >conftest.$ac_ext <<_ACEOF
35883 /* confdefs.h.  */
35884 _ACEOF
35885 cat confdefs.h >>conftest.$ac_ext
35886 cat >>conftest.$ac_ext <<_ACEOF
35887 /* end confdefs.h.  */
35888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35889    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35890 #define $ac_func innocuous_$ac_func
35891
35892 /* System header to define __stub macros and hopefully few prototypes,
35893     which can conflict with char $ac_func (); below.
35894     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35895     <limits.h> exists even on freestanding compilers.  */
35896
35897 #ifdef __STDC__
35898 # include <limits.h>
35899 #else
35900 # include <assert.h>
35901 #endif
35902
35903 #undef $ac_func
35904
35905 /* Override any gcc2 internal prototype to avoid an error.  */
35906 #ifdef __cplusplus
35907 extern "C"
35908 {
35909 #endif
35910 /* We use char because int might match the return type of a gcc2
35911    builtin and then its argument prototype would still apply.  */
35912 char $ac_func ();
35913 /* The GNU C library defines this for functions which it implements
35914     to always fail with ENOSYS.  Some functions are actually named
35915     something starting with __ and the normal name is an alias.  */
35916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35917 choke me
35918 #else
35919 char (*f) () = $ac_func;
35920 #endif
35921 #ifdef __cplusplus
35922 }
35923 #endif
35924
35925 int
35926 main ()
35927 {
35928 return f != $ac_func;
35929   ;
35930   return 0;
35931 }
35932 _ACEOF
35933 rm -f conftest.$ac_objext conftest$ac_exeext
35934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35935   (eval $ac_link) 2>conftest.er1
35936   ac_status=$?
35937   grep -v '^ *+' conftest.er1 >conftest.err
35938   rm -f conftest.er1
35939   cat conftest.err >&5
35940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35941   (exit $ac_status); } &&
35942          { ac_try='test -z "$ac_c_werror_flag"
35943                          || test ! -s conftest.err'
35944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35945   (eval $ac_try) 2>&5
35946   ac_status=$?
35947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35948   (exit $ac_status); }; } &&
35949          { ac_try='test -s conftest$ac_exeext'
35950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35951   (eval $ac_try) 2>&5
35952   ac_status=$?
35953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35954   (exit $ac_status); }; }; then
35955   eval "$as_ac_var=yes"
35956 else
35957   echo "$as_me: failed program was:" >&5
35958 sed 's/^/| /' conftest.$ac_ext >&5
35959
35960 eval "$as_ac_var=no"
35961 fi
35962 rm -f conftest.err conftest.$ac_objext \
35963       conftest$ac_exeext conftest.$ac_ext
35964 fi
35965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35967 if test `eval echo '${'$as_ac_var'}'` = yes; then
35968   cat >>confdefs.h <<_ACEOF
35969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35970 _ACEOF
35971
35972 fi
35973 done
35974
35975     fi
35976   fi
35977
35978
35979
35980   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
35981 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
35982   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35983     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
35984   echo $ECHO_N "(cached) $ECHO_C" >&6
35985 else
35986
35987
35988
35989       ac_ext=cc
35990 ac_cpp='$CXXCPP $CPPFLAGS'
35991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35994
35995       cat >conftest.$ac_ext <<_ACEOF
35996 /* confdefs.h.  */
35997 _ACEOF
35998 cat confdefs.h >>conftest.$ac_ext
35999 cat >>conftest.$ac_ext <<_ACEOF
36000 /* end confdefs.h.  */
36001 #include <math.h>
36002 int
36003 main ()
36004 {
36005  atan2f(0, 0);
36006   ;
36007   return 0;
36008 }
36009 _ACEOF
36010 rm -f conftest.$ac_objext
36011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36012   (eval $ac_compile) 2>conftest.er1
36013   ac_status=$?
36014   grep -v '^ *+' conftest.er1 >conftest.err
36015   rm -f conftest.er1
36016   cat conftest.err >&5
36017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36018   (exit $ac_status); } &&
36019          { ac_try='test -z "$ac_cxx_werror_flag"
36020                          || test ! -s conftest.err'
36021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36022   (eval $ac_try) 2>&5
36023   ac_status=$?
36024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36025   (exit $ac_status); }; } &&
36026          { ac_try='test -s conftest.$ac_objext'
36027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36028   (eval $ac_try) 2>&5
36029   ac_status=$?
36030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36031   (exit $ac_status); }; }; then
36032   glibcxx_cv_func_atan2f_use=yes
36033 else
36034   echo "$as_me: failed program was:" >&5
36035 sed 's/^/| /' conftest.$ac_ext >&5
36036
36037 glibcxx_cv_func_atan2f_use=no
36038 fi
36039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36040       ac_ext=c
36041 ac_cpp='$CPP $CPPFLAGS'
36042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36045
36046
36047 fi
36048
36049   fi
36050   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
36051 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
36052
36053   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36054
36055 for ac_func in atan2f
36056 do
36057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36058 echo "$as_me:$LINENO: checking for $ac_func" >&5
36059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36060 if eval "test \"\${$as_ac_var+set}\" = set"; then
36061   echo $ECHO_N "(cached) $ECHO_C" >&6
36062 else
36063   if test x$gcc_no_link = xyes; then
36064   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36066    { (exit 1); exit 1; }; }
36067 fi
36068 cat >conftest.$ac_ext <<_ACEOF
36069 /* confdefs.h.  */
36070 _ACEOF
36071 cat confdefs.h >>conftest.$ac_ext
36072 cat >>conftest.$ac_ext <<_ACEOF
36073 /* end confdefs.h.  */
36074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36075    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36076 #define $ac_func innocuous_$ac_func
36077
36078 /* System header to define __stub macros and hopefully few prototypes,
36079     which can conflict with char $ac_func (); below.
36080     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36081     <limits.h> exists even on freestanding compilers.  */
36082
36083 #ifdef __STDC__
36084 # include <limits.h>
36085 #else
36086 # include <assert.h>
36087 #endif
36088
36089 #undef $ac_func
36090
36091 /* Override any gcc2 internal prototype to avoid an error.  */
36092 #ifdef __cplusplus
36093 extern "C"
36094 {
36095 #endif
36096 /* We use char because int might match the return type of a gcc2
36097    builtin and then its argument prototype would still apply.  */
36098 char $ac_func ();
36099 /* The GNU C library defines this for functions which it implements
36100     to always fail with ENOSYS.  Some functions are actually named
36101     something starting with __ and the normal name is an alias.  */
36102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36103 choke me
36104 #else
36105 char (*f) () = $ac_func;
36106 #endif
36107 #ifdef __cplusplus
36108 }
36109 #endif
36110
36111 int
36112 main ()
36113 {
36114 return f != $ac_func;
36115   ;
36116   return 0;
36117 }
36118 _ACEOF
36119 rm -f conftest.$ac_objext conftest$ac_exeext
36120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36121   (eval $ac_link) 2>conftest.er1
36122   ac_status=$?
36123   grep -v '^ *+' conftest.er1 >conftest.err
36124   rm -f conftest.er1
36125   cat conftest.err >&5
36126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36127   (exit $ac_status); } &&
36128          { ac_try='test -z "$ac_c_werror_flag"
36129                          || test ! -s conftest.err'
36130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36131   (eval $ac_try) 2>&5
36132   ac_status=$?
36133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36134   (exit $ac_status); }; } &&
36135          { ac_try='test -s conftest$ac_exeext'
36136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36137   (eval $ac_try) 2>&5
36138   ac_status=$?
36139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36140   (exit $ac_status); }; }; then
36141   eval "$as_ac_var=yes"
36142 else
36143   echo "$as_me: failed program was:" >&5
36144 sed 's/^/| /' conftest.$ac_ext >&5
36145
36146 eval "$as_ac_var=no"
36147 fi
36148 rm -f conftest.err conftest.$ac_objext \
36149       conftest$ac_exeext conftest.$ac_ext
36150 fi
36151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36153 if test `eval echo '${'$as_ac_var'}'` = yes; then
36154   cat >>confdefs.h <<_ACEOF
36155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36156 _ACEOF
36157
36158 fi
36159 done
36160
36161   else
36162
36163   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
36164 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
36165   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36166     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
36167   echo $ECHO_N "(cached) $ECHO_C" >&6
36168 else
36169
36170
36171
36172       ac_ext=cc
36173 ac_cpp='$CXXCPP $CPPFLAGS'
36174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36177
36178       cat >conftest.$ac_ext <<_ACEOF
36179 /* confdefs.h.  */
36180 _ACEOF
36181 cat confdefs.h >>conftest.$ac_ext
36182 cat >>conftest.$ac_ext <<_ACEOF
36183 /* end confdefs.h.  */
36184 #include <math.h>
36185 int
36186 main ()
36187 {
36188  _atan2f(0, 0);
36189   ;
36190   return 0;
36191 }
36192 _ACEOF
36193 rm -f conftest.$ac_objext
36194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36195   (eval $ac_compile) 2>conftest.er1
36196   ac_status=$?
36197   grep -v '^ *+' conftest.er1 >conftest.err
36198   rm -f conftest.er1
36199   cat conftest.err >&5
36200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36201   (exit $ac_status); } &&
36202          { ac_try='test -z "$ac_cxx_werror_flag"
36203                          || test ! -s conftest.err'
36204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36205   (eval $ac_try) 2>&5
36206   ac_status=$?
36207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36208   (exit $ac_status); }; } &&
36209          { ac_try='test -s conftest.$ac_objext'
36210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36211   (eval $ac_try) 2>&5
36212   ac_status=$?
36213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36214   (exit $ac_status); }; }; then
36215   glibcxx_cv_func__atan2f_use=yes
36216 else
36217   echo "$as_me: failed program was:" >&5
36218 sed 's/^/| /' conftest.$ac_ext >&5
36219
36220 glibcxx_cv_func__atan2f_use=no
36221 fi
36222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36223       ac_ext=c
36224 ac_cpp='$CPP $CPPFLAGS'
36225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36228
36229
36230 fi
36231
36232   fi
36233   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
36234 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
36235
36236     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36237
36238 for ac_func in _atan2f
36239 do
36240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36241 echo "$as_me:$LINENO: checking for $ac_func" >&5
36242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36243 if eval "test \"\${$as_ac_var+set}\" = set"; then
36244   echo $ECHO_N "(cached) $ECHO_C" >&6
36245 else
36246   if test x$gcc_no_link = xyes; then
36247   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36249    { (exit 1); exit 1; }; }
36250 fi
36251 cat >conftest.$ac_ext <<_ACEOF
36252 /* confdefs.h.  */
36253 _ACEOF
36254 cat confdefs.h >>conftest.$ac_ext
36255 cat >>conftest.$ac_ext <<_ACEOF
36256 /* end confdefs.h.  */
36257 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36258    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36259 #define $ac_func innocuous_$ac_func
36260
36261 /* System header to define __stub macros and hopefully few prototypes,
36262     which can conflict with char $ac_func (); below.
36263     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36264     <limits.h> exists even on freestanding compilers.  */
36265
36266 #ifdef __STDC__
36267 # include <limits.h>
36268 #else
36269 # include <assert.h>
36270 #endif
36271
36272 #undef $ac_func
36273
36274 /* Override any gcc2 internal prototype to avoid an error.  */
36275 #ifdef __cplusplus
36276 extern "C"
36277 {
36278 #endif
36279 /* We use char because int might match the return type of a gcc2
36280    builtin and then its argument prototype would still apply.  */
36281 char $ac_func ();
36282 /* The GNU C library defines this for functions which it implements
36283     to always fail with ENOSYS.  Some functions are actually named
36284     something starting with __ and the normal name is an alias.  */
36285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36286 choke me
36287 #else
36288 char (*f) () = $ac_func;
36289 #endif
36290 #ifdef __cplusplus
36291 }
36292 #endif
36293
36294 int
36295 main ()
36296 {
36297 return f != $ac_func;
36298   ;
36299   return 0;
36300 }
36301 _ACEOF
36302 rm -f conftest.$ac_objext conftest$ac_exeext
36303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36304   (eval $ac_link) 2>conftest.er1
36305   ac_status=$?
36306   grep -v '^ *+' conftest.er1 >conftest.err
36307   rm -f conftest.er1
36308   cat conftest.err >&5
36309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36310   (exit $ac_status); } &&
36311          { ac_try='test -z "$ac_c_werror_flag"
36312                          || test ! -s conftest.err'
36313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36314   (eval $ac_try) 2>&5
36315   ac_status=$?
36316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36317   (exit $ac_status); }; } &&
36318          { ac_try='test -s conftest$ac_exeext'
36319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36320   (eval $ac_try) 2>&5
36321   ac_status=$?
36322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36323   (exit $ac_status); }; }; then
36324   eval "$as_ac_var=yes"
36325 else
36326   echo "$as_me: failed program was:" >&5
36327 sed 's/^/| /' conftest.$ac_ext >&5
36328
36329 eval "$as_ac_var=no"
36330 fi
36331 rm -f conftest.err conftest.$ac_objext \
36332       conftest$ac_exeext conftest.$ac_ext
36333 fi
36334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36335 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36336 if test `eval echo '${'$as_ac_var'}'` = yes; then
36337   cat >>confdefs.h <<_ACEOF
36338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36339 _ACEOF
36340
36341 fi
36342 done
36343
36344     fi
36345   fi
36346
36347
36348
36349   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
36350 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
36351   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36352     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
36353   echo $ECHO_N "(cached) $ECHO_C" >&6
36354 else
36355
36356
36357
36358       ac_ext=cc
36359 ac_cpp='$CXXCPP $CPPFLAGS'
36360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36363
36364       cat >conftest.$ac_ext <<_ACEOF
36365 /* confdefs.h.  */
36366 _ACEOF
36367 cat confdefs.h >>conftest.$ac_ext
36368 cat >>conftest.$ac_ext <<_ACEOF
36369 /* end confdefs.h.  */
36370 #include <math.h>
36371                       #ifdef HAVE_IEEEFP_H
36372                       #include <ieeefp.h>
36373                       #endif
36374
36375 int
36376 main ()
36377 {
36378  fabsf(0);
36379   ;
36380   return 0;
36381 }
36382 _ACEOF
36383 rm -f conftest.$ac_objext
36384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36385   (eval $ac_compile) 2>conftest.er1
36386   ac_status=$?
36387   grep -v '^ *+' conftest.er1 >conftest.err
36388   rm -f conftest.er1
36389   cat conftest.err >&5
36390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36391   (exit $ac_status); } &&
36392          { ac_try='test -z "$ac_cxx_werror_flag"
36393                          || test ! -s conftest.err'
36394   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36395   (eval $ac_try) 2>&5
36396   ac_status=$?
36397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36398   (exit $ac_status); }; } &&
36399          { ac_try='test -s conftest.$ac_objext'
36400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36401   (eval $ac_try) 2>&5
36402   ac_status=$?
36403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36404   (exit $ac_status); }; }; then
36405   glibcxx_cv_func_fabsf_use=yes
36406 else
36407   echo "$as_me: failed program was:" >&5
36408 sed 's/^/| /' conftest.$ac_ext >&5
36409
36410 glibcxx_cv_func_fabsf_use=no
36411 fi
36412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36413       ac_ext=c
36414 ac_cpp='$CPP $CPPFLAGS'
36415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36418
36419
36420 fi
36421
36422   fi
36423   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
36424 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
36425
36426   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36427
36428 for ac_func in fabsf
36429 do
36430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36431 echo "$as_me:$LINENO: checking for $ac_func" >&5
36432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36433 if eval "test \"\${$as_ac_var+set}\" = set"; then
36434   echo $ECHO_N "(cached) $ECHO_C" >&6
36435 else
36436   if test x$gcc_no_link = xyes; then
36437   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36439    { (exit 1); exit 1; }; }
36440 fi
36441 cat >conftest.$ac_ext <<_ACEOF
36442 /* confdefs.h.  */
36443 _ACEOF
36444 cat confdefs.h >>conftest.$ac_ext
36445 cat >>conftest.$ac_ext <<_ACEOF
36446 /* end confdefs.h.  */
36447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36448    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36449 #define $ac_func innocuous_$ac_func
36450
36451 /* System header to define __stub macros and hopefully few prototypes,
36452     which can conflict with char $ac_func (); below.
36453     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36454     <limits.h> exists even on freestanding compilers.  */
36455
36456 #ifdef __STDC__
36457 # include <limits.h>
36458 #else
36459 # include <assert.h>
36460 #endif
36461
36462 #undef $ac_func
36463
36464 /* Override any gcc2 internal prototype to avoid an error.  */
36465 #ifdef __cplusplus
36466 extern "C"
36467 {
36468 #endif
36469 /* We use char because int might match the return type of a gcc2
36470    builtin and then its argument prototype would still apply.  */
36471 char $ac_func ();
36472 /* The GNU C library defines this for functions which it implements
36473     to always fail with ENOSYS.  Some functions are actually named
36474     something starting with __ and the normal name is an alias.  */
36475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36476 choke me
36477 #else
36478 char (*f) () = $ac_func;
36479 #endif
36480 #ifdef __cplusplus
36481 }
36482 #endif
36483
36484 int
36485 main ()
36486 {
36487 return f != $ac_func;
36488   ;
36489   return 0;
36490 }
36491 _ACEOF
36492 rm -f conftest.$ac_objext conftest$ac_exeext
36493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36494   (eval $ac_link) 2>conftest.er1
36495   ac_status=$?
36496   grep -v '^ *+' conftest.er1 >conftest.err
36497   rm -f conftest.er1
36498   cat conftest.err >&5
36499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36500   (exit $ac_status); } &&
36501          { ac_try='test -z "$ac_c_werror_flag"
36502                          || test ! -s conftest.err'
36503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36504   (eval $ac_try) 2>&5
36505   ac_status=$?
36506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36507   (exit $ac_status); }; } &&
36508          { ac_try='test -s conftest$ac_exeext'
36509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36510   (eval $ac_try) 2>&5
36511   ac_status=$?
36512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36513   (exit $ac_status); }; }; then
36514   eval "$as_ac_var=yes"
36515 else
36516   echo "$as_me: failed program was:" >&5
36517 sed 's/^/| /' conftest.$ac_ext >&5
36518
36519 eval "$as_ac_var=no"
36520 fi
36521 rm -f conftest.err conftest.$ac_objext \
36522       conftest$ac_exeext conftest.$ac_ext
36523 fi
36524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36526 if test `eval echo '${'$as_ac_var'}'` = yes; then
36527   cat >>confdefs.h <<_ACEOF
36528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36529 _ACEOF
36530
36531 fi
36532 done
36533
36534   else
36535
36536   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
36537 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
36538   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36539     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
36540   echo $ECHO_N "(cached) $ECHO_C" >&6
36541 else
36542
36543
36544
36545       ac_ext=cc
36546 ac_cpp='$CXXCPP $CPPFLAGS'
36547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36550
36551       cat >conftest.$ac_ext <<_ACEOF
36552 /* confdefs.h.  */
36553 _ACEOF
36554 cat confdefs.h >>conftest.$ac_ext
36555 cat >>conftest.$ac_ext <<_ACEOF
36556 /* end confdefs.h.  */
36557 #include <math.h>
36558                       #ifdef HAVE_IEEEFP_H
36559                       #include <ieeefp.h>
36560                       #endif
36561
36562 int
36563 main ()
36564 {
36565  _fabsf(0);
36566   ;
36567   return 0;
36568 }
36569 _ACEOF
36570 rm -f conftest.$ac_objext
36571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36572   (eval $ac_compile) 2>conftest.er1
36573   ac_status=$?
36574   grep -v '^ *+' conftest.er1 >conftest.err
36575   rm -f conftest.er1
36576   cat conftest.err >&5
36577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36578   (exit $ac_status); } &&
36579          { ac_try='test -z "$ac_cxx_werror_flag"
36580                          || test ! -s conftest.err'
36581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36582   (eval $ac_try) 2>&5
36583   ac_status=$?
36584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36585   (exit $ac_status); }; } &&
36586          { ac_try='test -s conftest.$ac_objext'
36587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36588   (eval $ac_try) 2>&5
36589   ac_status=$?
36590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36591   (exit $ac_status); }; }; then
36592   glibcxx_cv_func__fabsf_use=yes
36593 else
36594   echo "$as_me: failed program was:" >&5
36595 sed 's/^/| /' conftest.$ac_ext >&5
36596
36597 glibcxx_cv_func__fabsf_use=no
36598 fi
36599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36600       ac_ext=c
36601 ac_cpp='$CPP $CPPFLAGS'
36602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36605
36606
36607 fi
36608
36609   fi
36610   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
36611 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
36612
36613     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36614
36615 for ac_func in _fabsf
36616 do
36617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36618 echo "$as_me:$LINENO: checking for $ac_func" >&5
36619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36620 if eval "test \"\${$as_ac_var+set}\" = set"; then
36621   echo $ECHO_N "(cached) $ECHO_C" >&6
36622 else
36623   if test x$gcc_no_link = xyes; then
36624   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36626    { (exit 1); exit 1; }; }
36627 fi
36628 cat >conftest.$ac_ext <<_ACEOF
36629 /* confdefs.h.  */
36630 _ACEOF
36631 cat confdefs.h >>conftest.$ac_ext
36632 cat >>conftest.$ac_ext <<_ACEOF
36633 /* end confdefs.h.  */
36634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36635    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36636 #define $ac_func innocuous_$ac_func
36637
36638 /* System header to define __stub macros and hopefully few prototypes,
36639     which can conflict with char $ac_func (); below.
36640     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36641     <limits.h> exists even on freestanding compilers.  */
36642
36643 #ifdef __STDC__
36644 # include <limits.h>
36645 #else
36646 # include <assert.h>
36647 #endif
36648
36649 #undef $ac_func
36650
36651 /* Override any gcc2 internal prototype to avoid an error.  */
36652 #ifdef __cplusplus
36653 extern "C"
36654 {
36655 #endif
36656 /* We use char because int might match the return type of a gcc2
36657    builtin and then its argument prototype would still apply.  */
36658 char $ac_func ();
36659 /* The GNU C library defines this for functions which it implements
36660     to always fail with ENOSYS.  Some functions are actually named
36661     something starting with __ and the normal name is an alias.  */
36662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36663 choke me
36664 #else
36665 char (*f) () = $ac_func;
36666 #endif
36667 #ifdef __cplusplus
36668 }
36669 #endif
36670
36671 int
36672 main ()
36673 {
36674 return f != $ac_func;
36675   ;
36676   return 0;
36677 }
36678 _ACEOF
36679 rm -f conftest.$ac_objext conftest$ac_exeext
36680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36681   (eval $ac_link) 2>conftest.er1
36682   ac_status=$?
36683   grep -v '^ *+' conftest.er1 >conftest.err
36684   rm -f conftest.er1
36685   cat conftest.err >&5
36686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36687   (exit $ac_status); } &&
36688          { ac_try='test -z "$ac_c_werror_flag"
36689                          || test ! -s conftest.err'
36690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36691   (eval $ac_try) 2>&5
36692   ac_status=$?
36693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36694   (exit $ac_status); }; } &&
36695          { ac_try='test -s conftest$ac_exeext'
36696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36697   (eval $ac_try) 2>&5
36698   ac_status=$?
36699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36700   (exit $ac_status); }; }; then
36701   eval "$as_ac_var=yes"
36702 else
36703   echo "$as_me: failed program was:" >&5
36704 sed 's/^/| /' conftest.$ac_ext >&5
36705
36706 eval "$as_ac_var=no"
36707 fi
36708 rm -f conftest.err conftest.$ac_objext \
36709       conftest$ac_exeext conftest.$ac_ext
36710 fi
36711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36713 if test `eval echo '${'$as_ac_var'}'` = yes; then
36714   cat >>confdefs.h <<_ACEOF
36715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36716 _ACEOF
36717
36718 fi
36719 done
36720
36721     fi
36722   fi
36723
36724
36725
36726   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
36727 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
36728   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36729     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
36730   echo $ECHO_N "(cached) $ECHO_C" >&6
36731 else
36732
36733
36734
36735       ac_ext=cc
36736 ac_cpp='$CXXCPP $CPPFLAGS'
36737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36740
36741       cat >conftest.$ac_ext <<_ACEOF
36742 /* confdefs.h.  */
36743 _ACEOF
36744 cat confdefs.h >>conftest.$ac_ext
36745 cat >>conftest.$ac_ext <<_ACEOF
36746 /* end confdefs.h.  */
36747 #include <math.h>
36748 int
36749 main ()
36750 {
36751  fmodf(0, 0);
36752   ;
36753   return 0;
36754 }
36755 _ACEOF
36756 rm -f conftest.$ac_objext
36757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36758   (eval $ac_compile) 2>conftest.er1
36759   ac_status=$?
36760   grep -v '^ *+' conftest.er1 >conftest.err
36761   rm -f conftest.er1
36762   cat conftest.err >&5
36763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36764   (exit $ac_status); } &&
36765          { ac_try='test -z "$ac_cxx_werror_flag"
36766                          || test ! -s conftest.err'
36767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36768   (eval $ac_try) 2>&5
36769   ac_status=$?
36770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36771   (exit $ac_status); }; } &&
36772          { ac_try='test -s conftest.$ac_objext'
36773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36774   (eval $ac_try) 2>&5
36775   ac_status=$?
36776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36777   (exit $ac_status); }; }; then
36778   glibcxx_cv_func_fmodf_use=yes
36779 else
36780   echo "$as_me: failed program was:" >&5
36781 sed 's/^/| /' conftest.$ac_ext >&5
36782
36783 glibcxx_cv_func_fmodf_use=no
36784 fi
36785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36786       ac_ext=c
36787 ac_cpp='$CPP $CPPFLAGS'
36788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36791
36792
36793 fi
36794
36795   fi
36796   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
36797 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
36798
36799   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36800
36801 for ac_func in fmodf
36802 do
36803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36804 echo "$as_me:$LINENO: checking for $ac_func" >&5
36805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36806 if eval "test \"\${$as_ac_var+set}\" = set"; then
36807   echo $ECHO_N "(cached) $ECHO_C" >&6
36808 else
36809   if test x$gcc_no_link = xyes; then
36810   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36812    { (exit 1); exit 1; }; }
36813 fi
36814 cat >conftest.$ac_ext <<_ACEOF
36815 /* confdefs.h.  */
36816 _ACEOF
36817 cat confdefs.h >>conftest.$ac_ext
36818 cat >>conftest.$ac_ext <<_ACEOF
36819 /* end confdefs.h.  */
36820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36821    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36822 #define $ac_func innocuous_$ac_func
36823
36824 /* System header to define __stub macros and hopefully few prototypes,
36825     which can conflict with char $ac_func (); below.
36826     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36827     <limits.h> exists even on freestanding compilers.  */
36828
36829 #ifdef __STDC__
36830 # include <limits.h>
36831 #else
36832 # include <assert.h>
36833 #endif
36834
36835 #undef $ac_func
36836
36837 /* Override any gcc2 internal prototype to avoid an error.  */
36838 #ifdef __cplusplus
36839 extern "C"
36840 {
36841 #endif
36842 /* We use char because int might match the return type of a gcc2
36843    builtin and then its argument prototype would still apply.  */
36844 char $ac_func ();
36845 /* The GNU C library defines this for functions which it implements
36846     to always fail with ENOSYS.  Some functions are actually named
36847     something starting with __ and the normal name is an alias.  */
36848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36849 choke me
36850 #else
36851 char (*f) () = $ac_func;
36852 #endif
36853 #ifdef __cplusplus
36854 }
36855 #endif
36856
36857 int
36858 main ()
36859 {
36860 return f != $ac_func;
36861   ;
36862   return 0;
36863 }
36864 _ACEOF
36865 rm -f conftest.$ac_objext conftest$ac_exeext
36866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36867   (eval $ac_link) 2>conftest.er1
36868   ac_status=$?
36869   grep -v '^ *+' conftest.er1 >conftest.err
36870   rm -f conftest.er1
36871   cat conftest.err >&5
36872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36873   (exit $ac_status); } &&
36874          { ac_try='test -z "$ac_c_werror_flag"
36875                          || test ! -s conftest.err'
36876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36877   (eval $ac_try) 2>&5
36878   ac_status=$?
36879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36880   (exit $ac_status); }; } &&
36881          { ac_try='test -s conftest$ac_exeext'
36882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36883   (eval $ac_try) 2>&5
36884   ac_status=$?
36885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36886   (exit $ac_status); }; }; then
36887   eval "$as_ac_var=yes"
36888 else
36889   echo "$as_me: failed program was:" >&5
36890 sed 's/^/| /' conftest.$ac_ext >&5
36891
36892 eval "$as_ac_var=no"
36893 fi
36894 rm -f conftest.err conftest.$ac_objext \
36895       conftest$ac_exeext conftest.$ac_ext
36896 fi
36897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36899 if test `eval echo '${'$as_ac_var'}'` = yes; then
36900   cat >>confdefs.h <<_ACEOF
36901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36902 _ACEOF
36903
36904 fi
36905 done
36906
36907   else
36908
36909   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
36910 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
36911   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36912     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
36913   echo $ECHO_N "(cached) $ECHO_C" >&6
36914 else
36915
36916
36917
36918       ac_ext=cc
36919 ac_cpp='$CXXCPP $CPPFLAGS'
36920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36923
36924       cat >conftest.$ac_ext <<_ACEOF
36925 /* confdefs.h.  */
36926 _ACEOF
36927 cat confdefs.h >>conftest.$ac_ext
36928 cat >>conftest.$ac_ext <<_ACEOF
36929 /* end confdefs.h.  */
36930 #include <math.h>
36931 int
36932 main ()
36933 {
36934  _fmodf(0, 0);
36935   ;
36936   return 0;
36937 }
36938 _ACEOF
36939 rm -f conftest.$ac_objext
36940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36941   (eval $ac_compile) 2>conftest.er1
36942   ac_status=$?
36943   grep -v '^ *+' conftest.er1 >conftest.err
36944   rm -f conftest.er1
36945   cat conftest.err >&5
36946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36947   (exit $ac_status); } &&
36948          { ac_try='test -z "$ac_cxx_werror_flag"
36949                          || test ! -s conftest.err'
36950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36951   (eval $ac_try) 2>&5
36952   ac_status=$?
36953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36954   (exit $ac_status); }; } &&
36955          { ac_try='test -s conftest.$ac_objext'
36956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36957   (eval $ac_try) 2>&5
36958   ac_status=$?
36959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36960   (exit $ac_status); }; }; then
36961   glibcxx_cv_func__fmodf_use=yes
36962 else
36963   echo "$as_me: failed program was:" >&5
36964 sed 's/^/| /' conftest.$ac_ext >&5
36965
36966 glibcxx_cv_func__fmodf_use=no
36967 fi
36968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36969       ac_ext=c
36970 ac_cpp='$CPP $CPPFLAGS'
36971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36974
36975
36976 fi
36977
36978   fi
36979   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
36980 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
36981
36982     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36983
36984 for ac_func in _fmodf
36985 do
36986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36987 echo "$as_me:$LINENO: checking for $ac_func" >&5
36988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36989 if eval "test \"\${$as_ac_var+set}\" = set"; then
36990   echo $ECHO_N "(cached) $ECHO_C" >&6
36991 else
36992   if test x$gcc_no_link = xyes; then
36993   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36995    { (exit 1); exit 1; }; }
36996 fi
36997 cat >conftest.$ac_ext <<_ACEOF
36998 /* confdefs.h.  */
36999 _ACEOF
37000 cat confdefs.h >>conftest.$ac_ext
37001 cat >>conftest.$ac_ext <<_ACEOF
37002 /* end confdefs.h.  */
37003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37004    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37005 #define $ac_func innocuous_$ac_func
37006
37007 /* System header to define __stub macros and hopefully few prototypes,
37008     which can conflict with char $ac_func (); below.
37009     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37010     <limits.h> exists even on freestanding compilers.  */
37011
37012 #ifdef __STDC__
37013 # include <limits.h>
37014 #else
37015 # include <assert.h>
37016 #endif
37017
37018 #undef $ac_func
37019
37020 /* Override any gcc2 internal prototype to avoid an error.  */
37021 #ifdef __cplusplus
37022 extern "C"
37023 {
37024 #endif
37025 /* We use char because int might match the return type of a gcc2
37026    builtin and then its argument prototype would still apply.  */
37027 char $ac_func ();
37028 /* The GNU C library defines this for functions which it implements
37029     to always fail with ENOSYS.  Some functions are actually named
37030     something starting with __ and the normal name is an alias.  */
37031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37032 choke me
37033 #else
37034 char (*f) () = $ac_func;
37035 #endif
37036 #ifdef __cplusplus
37037 }
37038 #endif
37039
37040 int
37041 main ()
37042 {
37043 return f != $ac_func;
37044   ;
37045   return 0;
37046 }
37047 _ACEOF
37048 rm -f conftest.$ac_objext conftest$ac_exeext
37049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37050   (eval $ac_link) 2>conftest.er1
37051   ac_status=$?
37052   grep -v '^ *+' conftest.er1 >conftest.err
37053   rm -f conftest.er1
37054   cat conftest.err >&5
37055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37056   (exit $ac_status); } &&
37057          { ac_try='test -z "$ac_c_werror_flag"
37058                          || test ! -s conftest.err'
37059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37060   (eval $ac_try) 2>&5
37061   ac_status=$?
37062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37063   (exit $ac_status); }; } &&
37064          { ac_try='test -s conftest$ac_exeext'
37065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37066   (eval $ac_try) 2>&5
37067   ac_status=$?
37068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37069   (exit $ac_status); }; }; then
37070   eval "$as_ac_var=yes"
37071 else
37072   echo "$as_me: failed program was:" >&5
37073 sed 's/^/| /' conftest.$ac_ext >&5
37074
37075 eval "$as_ac_var=no"
37076 fi
37077 rm -f conftest.err conftest.$ac_objext \
37078       conftest$ac_exeext conftest.$ac_ext
37079 fi
37080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37082 if test `eval echo '${'$as_ac_var'}'` = yes; then
37083   cat >>confdefs.h <<_ACEOF
37084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37085 _ACEOF
37086
37087 fi
37088 done
37089
37090     fi
37091   fi
37092
37093
37094
37095   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
37096 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
37097   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37098     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
37099   echo $ECHO_N "(cached) $ECHO_C" >&6
37100 else
37101
37102
37103
37104       ac_ext=cc
37105 ac_cpp='$CXXCPP $CPPFLAGS'
37106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37109
37110       cat >conftest.$ac_ext <<_ACEOF
37111 /* confdefs.h.  */
37112 _ACEOF
37113 cat confdefs.h >>conftest.$ac_ext
37114 cat >>conftest.$ac_ext <<_ACEOF
37115 /* end confdefs.h.  */
37116 #include <math.h>
37117 int
37118 main ()
37119 {
37120  frexpf(0, 0);
37121   ;
37122   return 0;
37123 }
37124 _ACEOF
37125 rm -f conftest.$ac_objext
37126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37127   (eval $ac_compile) 2>conftest.er1
37128   ac_status=$?
37129   grep -v '^ *+' conftest.er1 >conftest.err
37130   rm -f conftest.er1
37131   cat conftest.err >&5
37132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37133   (exit $ac_status); } &&
37134          { ac_try='test -z "$ac_cxx_werror_flag"
37135                          || test ! -s conftest.err'
37136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37137   (eval $ac_try) 2>&5
37138   ac_status=$?
37139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37140   (exit $ac_status); }; } &&
37141          { ac_try='test -s conftest.$ac_objext'
37142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37143   (eval $ac_try) 2>&5
37144   ac_status=$?
37145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37146   (exit $ac_status); }; }; then
37147   glibcxx_cv_func_frexpf_use=yes
37148 else
37149   echo "$as_me: failed program was:" >&5
37150 sed 's/^/| /' conftest.$ac_ext >&5
37151
37152 glibcxx_cv_func_frexpf_use=no
37153 fi
37154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37155       ac_ext=c
37156 ac_cpp='$CPP $CPPFLAGS'
37157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37160
37161
37162 fi
37163
37164   fi
37165   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
37166 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
37167
37168   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37169
37170 for ac_func in frexpf
37171 do
37172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37173 echo "$as_me:$LINENO: checking for $ac_func" >&5
37174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37175 if eval "test \"\${$as_ac_var+set}\" = set"; then
37176   echo $ECHO_N "(cached) $ECHO_C" >&6
37177 else
37178   if test x$gcc_no_link = xyes; then
37179   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37181    { (exit 1); exit 1; }; }
37182 fi
37183 cat >conftest.$ac_ext <<_ACEOF
37184 /* confdefs.h.  */
37185 _ACEOF
37186 cat confdefs.h >>conftest.$ac_ext
37187 cat >>conftest.$ac_ext <<_ACEOF
37188 /* end confdefs.h.  */
37189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37190    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37191 #define $ac_func innocuous_$ac_func
37192
37193 /* System header to define __stub macros and hopefully few prototypes,
37194     which can conflict with char $ac_func (); below.
37195     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37196     <limits.h> exists even on freestanding compilers.  */
37197
37198 #ifdef __STDC__
37199 # include <limits.h>
37200 #else
37201 # include <assert.h>
37202 #endif
37203
37204 #undef $ac_func
37205
37206 /* Override any gcc2 internal prototype to avoid an error.  */
37207 #ifdef __cplusplus
37208 extern "C"
37209 {
37210 #endif
37211 /* We use char because int might match the return type of a gcc2
37212    builtin and then its argument prototype would still apply.  */
37213 char $ac_func ();
37214 /* The GNU C library defines this for functions which it implements
37215     to always fail with ENOSYS.  Some functions are actually named
37216     something starting with __ and the normal name is an alias.  */
37217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37218 choke me
37219 #else
37220 char (*f) () = $ac_func;
37221 #endif
37222 #ifdef __cplusplus
37223 }
37224 #endif
37225
37226 int
37227 main ()
37228 {
37229 return f != $ac_func;
37230   ;
37231   return 0;
37232 }
37233 _ACEOF
37234 rm -f conftest.$ac_objext conftest$ac_exeext
37235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37236   (eval $ac_link) 2>conftest.er1
37237   ac_status=$?
37238   grep -v '^ *+' conftest.er1 >conftest.err
37239   rm -f conftest.er1
37240   cat conftest.err >&5
37241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37242   (exit $ac_status); } &&
37243          { ac_try='test -z "$ac_c_werror_flag"
37244                          || test ! -s conftest.err'
37245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37246   (eval $ac_try) 2>&5
37247   ac_status=$?
37248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37249   (exit $ac_status); }; } &&
37250          { ac_try='test -s conftest$ac_exeext'
37251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37252   (eval $ac_try) 2>&5
37253   ac_status=$?
37254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37255   (exit $ac_status); }; }; then
37256   eval "$as_ac_var=yes"
37257 else
37258   echo "$as_me: failed program was:" >&5
37259 sed 's/^/| /' conftest.$ac_ext >&5
37260
37261 eval "$as_ac_var=no"
37262 fi
37263 rm -f conftest.err conftest.$ac_objext \
37264       conftest$ac_exeext conftest.$ac_ext
37265 fi
37266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37268 if test `eval echo '${'$as_ac_var'}'` = yes; then
37269   cat >>confdefs.h <<_ACEOF
37270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37271 _ACEOF
37272
37273 fi
37274 done
37275
37276   else
37277
37278   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
37279 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
37280   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37281     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
37282   echo $ECHO_N "(cached) $ECHO_C" >&6
37283 else
37284
37285
37286
37287       ac_ext=cc
37288 ac_cpp='$CXXCPP $CPPFLAGS'
37289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37292
37293       cat >conftest.$ac_ext <<_ACEOF
37294 /* confdefs.h.  */
37295 _ACEOF
37296 cat confdefs.h >>conftest.$ac_ext
37297 cat >>conftest.$ac_ext <<_ACEOF
37298 /* end confdefs.h.  */
37299 #include <math.h>
37300 int
37301 main ()
37302 {
37303  _frexpf(0, 0);
37304   ;
37305   return 0;
37306 }
37307 _ACEOF
37308 rm -f conftest.$ac_objext
37309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37310   (eval $ac_compile) 2>conftest.er1
37311   ac_status=$?
37312   grep -v '^ *+' conftest.er1 >conftest.err
37313   rm -f conftest.er1
37314   cat conftest.err >&5
37315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37316   (exit $ac_status); } &&
37317          { ac_try='test -z "$ac_cxx_werror_flag"
37318                          || test ! -s conftest.err'
37319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37320   (eval $ac_try) 2>&5
37321   ac_status=$?
37322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37323   (exit $ac_status); }; } &&
37324          { ac_try='test -s conftest.$ac_objext'
37325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37326   (eval $ac_try) 2>&5
37327   ac_status=$?
37328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37329   (exit $ac_status); }; }; then
37330   glibcxx_cv_func__frexpf_use=yes
37331 else
37332   echo "$as_me: failed program was:" >&5
37333 sed 's/^/| /' conftest.$ac_ext >&5
37334
37335 glibcxx_cv_func__frexpf_use=no
37336 fi
37337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37338       ac_ext=c
37339 ac_cpp='$CPP $CPPFLAGS'
37340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37343
37344
37345 fi
37346
37347   fi
37348   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
37349 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
37350
37351     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37352
37353 for ac_func in _frexpf
37354 do
37355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37356 echo "$as_me:$LINENO: checking for $ac_func" >&5
37357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37358 if eval "test \"\${$as_ac_var+set}\" = set"; then
37359   echo $ECHO_N "(cached) $ECHO_C" >&6
37360 else
37361   if test x$gcc_no_link = xyes; then
37362   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37364    { (exit 1); exit 1; }; }
37365 fi
37366 cat >conftest.$ac_ext <<_ACEOF
37367 /* confdefs.h.  */
37368 _ACEOF
37369 cat confdefs.h >>conftest.$ac_ext
37370 cat >>conftest.$ac_ext <<_ACEOF
37371 /* end confdefs.h.  */
37372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37373    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37374 #define $ac_func innocuous_$ac_func
37375
37376 /* System header to define __stub macros and hopefully few prototypes,
37377     which can conflict with char $ac_func (); below.
37378     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37379     <limits.h> exists even on freestanding compilers.  */
37380
37381 #ifdef __STDC__
37382 # include <limits.h>
37383 #else
37384 # include <assert.h>
37385 #endif
37386
37387 #undef $ac_func
37388
37389 /* Override any gcc2 internal prototype to avoid an error.  */
37390 #ifdef __cplusplus
37391 extern "C"
37392 {
37393 #endif
37394 /* We use char because int might match the return type of a gcc2
37395    builtin and then its argument prototype would still apply.  */
37396 char $ac_func ();
37397 /* The GNU C library defines this for functions which it implements
37398     to always fail with ENOSYS.  Some functions are actually named
37399     something starting with __ and the normal name is an alias.  */
37400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37401 choke me
37402 #else
37403 char (*f) () = $ac_func;
37404 #endif
37405 #ifdef __cplusplus
37406 }
37407 #endif
37408
37409 int
37410 main ()
37411 {
37412 return f != $ac_func;
37413   ;
37414   return 0;
37415 }
37416 _ACEOF
37417 rm -f conftest.$ac_objext conftest$ac_exeext
37418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37419   (eval $ac_link) 2>conftest.er1
37420   ac_status=$?
37421   grep -v '^ *+' conftest.er1 >conftest.err
37422   rm -f conftest.er1
37423   cat conftest.err >&5
37424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37425   (exit $ac_status); } &&
37426          { ac_try='test -z "$ac_c_werror_flag"
37427                          || test ! -s conftest.err'
37428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37429   (eval $ac_try) 2>&5
37430   ac_status=$?
37431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37432   (exit $ac_status); }; } &&
37433          { ac_try='test -s conftest$ac_exeext'
37434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37435   (eval $ac_try) 2>&5
37436   ac_status=$?
37437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37438   (exit $ac_status); }; }; then
37439   eval "$as_ac_var=yes"
37440 else
37441   echo "$as_me: failed program was:" >&5
37442 sed 's/^/| /' conftest.$ac_ext >&5
37443
37444 eval "$as_ac_var=no"
37445 fi
37446 rm -f conftest.err conftest.$ac_objext \
37447       conftest$ac_exeext conftest.$ac_ext
37448 fi
37449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37451 if test `eval echo '${'$as_ac_var'}'` = yes; then
37452   cat >>confdefs.h <<_ACEOF
37453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37454 _ACEOF
37455
37456 fi
37457 done
37458
37459     fi
37460   fi
37461
37462
37463
37464   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
37465 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
37466   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37467     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
37468   echo $ECHO_N "(cached) $ECHO_C" >&6
37469 else
37470
37471
37472
37473       ac_ext=cc
37474 ac_cpp='$CXXCPP $CPPFLAGS'
37475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37478
37479       cat >conftest.$ac_ext <<_ACEOF
37480 /* confdefs.h.  */
37481 _ACEOF
37482 cat confdefs.h >>conftest.$ac_ext
37483 cat >>conftest.$ac_ext <<_ACEOF
37484 /* end confdefs.h.  */
37485 #include <math.h>
37486 int
37487 main ()
37488 {
37489  hypotf(0, 0);
37490   ;
37491   return 0;
37492 }
37493 _ACEOF
37494 rm -f conftest.$ac_objext
37495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37496   (eval $ac_compile) 2>conftest.er1
37497   ac_status=$?
37498   grep -v '^ *+' conftest.er1 >conftest.err
37499   rm -f conftest.er1
37500   cat conftest.err >&5
37501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37502   (exit $ac_status); } &&
37503          { ac_try='test -z "$ac_cxx_werror_flag"
37504                          || test ! -s conftest.err'
37505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37506   (eval $ac_try) 2>&5
37507   ac_status=$?
37508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37509   (exit $ac_status); }; } &&
37510          { ac_try='test -s conftest.$ac_objext'
37511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37512   (eval $ac_try) 2>&5
37513   ac_status=$?
37514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37515   (exit $ac_status); }; }; then
37516   glibcxx_cv_func_hypotf_use=yes
37517 else
37518   echo "$as_me: failed program was:" >&5
37519 sed 's/^/| /' conftest.$ac_ext >&5
37520
37521 glibcxx_cv_func_hypotf_use=no
37522 fi
37523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37524       ac_ext=c
37525 ac_cpp='$CPP $CPPFLAGS'
37526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37529
37530
37531 fi
37532
37533   fi
37534   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
37535 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
37536
37537   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37538
37539 for ac_func in hypotf
37540 do
37541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37542 echo "$as_me:$LINENO: checking for $ac_func" >&5
37543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37544 if eval "test \"\${$as_ac_var+set}\" = set"; then
37545   echo $ECHO_N "(cached) $ECHO_C" >&6
37546 else
37547   if test x$gcc_no_link = xyes; then
37548   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37550    { (exit 1); exit 1; }; }
37551 fi
37552 cat >conftest.$ac_ext <<_ACEOF
37553 /* confdefs.h.  */
37554 _ACEOF
37555 cat confdefs.h >>conftest.$ac_ext
37556 cat >>conftest.$ac_ext <<_ACEOF
37557 /* end confdefs.h.  */
37558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37559    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37560 #define $ac_func innocuous_$ac_func
37561
37562 /* System header to define __stub macros and hopefully few prototypes,
37563     which can conflict with char $ac_func (); below.
37564     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37565     <limits.h> exists even on freestanding compilers.  */
37566
37567 #ifdef __STDC__
37568 # include <limits.h>
37569 #else
37570 # include <assert.h>
37571 #endif
37572
37573 #undef $ac_func
37574
37575 /* Override any gcc2 internal prototype to avoid an error.  */
37576 #ifdef __cplusplus
37577 extern "C"
37578 {
37579 #endif
37580 /* We use char because int might match the return type of a gcc2
37581    builtin and then its argument prototype would still apply.  */
37582 char $ac_func ();
37583 /* The GNU C library defines this for functions which it implements
37584     to always fail with ENOSYS.  Some functions are actually named
37585     something starting with __ and the normal name is an alias.  */
37586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37587 choke me
37588 #else
37589 char (*f) () = $ac_func;
37590 #endif
37591 #ifdef __cplusplus
37592 }
37593 #endif
37594
37595 int
37596 main ()
37597 {
37598 return f != $ac_func;
37599   ;
37600   return 0;
37601 }
37602 _ACEOF
37603 rm -f conftest.$ac_objext conftest$ac_exeext
37604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37605   (eval $ac_link) 2>conftest.er1
37606   ac_status=$?
37607   grep -v '^ *+' conftest.er1 >conftest.err
37608   rm -f conftest.er1
37609   cat conftest.err >&5
37610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37611   (exit $ac_status); } &&
37612          { ac_try='test -z "$ac_c_werror_flag"
37613                          || test ! -s conftest.err'
37614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37615   (eval $ac_try) 2>&5
37616   ac_status=$?
37617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37618   (exit $ac_status); }; } &&
37619          { ac_try='test -s conftest$ac_exeext'
37620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37621   (eval $ac_try) 2>&5
37622   ac_status=$?
37623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37624   (exit $ac_status); }; }; then
37625   eval "$as_ac_var=yes"
37626 else
37627   echo "$as_me: failed program was:" >&5
37628 sed 's/^/| /' conftest.$ac_ext >&5
37629
37630 eval "$as_ac_var=no"
37631 fi
37632 rm -f conftest.err conftest.$ac_objext \
37633       conftest$ac_exeext conftest.$ac_ext
37634 fi
37635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37637 if test `eval echo '${'$as_ac_var'}'` = yes; then
37638   cat >>confdefs.h <<_ACEOF
37639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37640 _ACEOF
37641
37642 fi
37643 done
37644
37645   else
37646
37647   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
37648 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
37649   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37650     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
37651   echo $ECHO_N "(cached) $ECHO_C" >&6
37652 else
37653
37654
37655
37656       ac_ext=cc
37657 ac_cpp='$CXXCPP $CPPFLAGS'
37658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37661
37662       cat >conftest.$ac_ext <<_ACEOF
37663 /* confdefs.h.  */
37664 _ACEOF
37665 cat confdefs.h >>conftest.$ac_ext
37666 cat >>conftest.$ac_ext <<_ACEOF
37667 /* end confdefs.h.  */
37668 #include <math.h>
37669 int
37670 main ()
37671 {
37672  _hypotf(0, 0);
37673   ;
37674   return 0;
37675 }
37676 _ACEOF
37677 rm -f conftest.$ac_objext
37678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37679   (eval $ac_compile) 2>conftest.er1
37680   ac_status=$?
37681   grep -v '^ *+' conftest.er1 >conftest.err
37682   rm -f conftest.er1
37683   cat conftest.err >&5
37684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37685   (exit $ac_status); } &&
37686          { ac_try='test -z "$ac_cxx_werror_flag"
37687                          || test ! -s conftest.err'
37688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37689   (eval $ac_try) 2>&5
37690   ac_status=$?
37691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37692   (exit $ac_status); }; } &&
37693          { ac_try='test -s conftest.$ac_objext'
37694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37695   (eval $ac_try) 2>&5
37696   ac_status=$?
37697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37698   (exit $ac_status); }; }; then
37699   glibcxx_cv_func__hypotf_use=yes
37700 else
37701   echo "$as_me: failed program was:" >&5
37702 sed 's/^/| /' conftest.$ac_ext >&5
37703
37704 glibcxx_cv_func__hypotf_use=no
37705 fi
37706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37707       ac_ext=c
37708 ac_cpp='$CPP $CPPFLAGS'
37709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37712
37713
37714 fi
37715
37716   fi
37717   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
37718 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
37719
37720     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37721
37722 for ac_func in _hypotf
37723 do
37724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37725 echo "$as_me:$LINENO: checking for $ac_func" >&5
37726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37727 if eval "test \"\${$as_ac_var+set}\" = set"; then
37728   echo $ECHO_N "(cached) $ECHO_C" >&6
37729 else
37730   if test x$gcc_no_link = xyes; then
37731   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37733    { (exit 1); exit 1; }; }
37734 fi
37735 cat >conftest.$ac_ext <<_ACEOF
37736 /* confdefs.h.  */
37737 _ACEOF
37738 cat confdefs.h >>conftest.$ac_ext
37739 cat >>conftest.$ac_ext <<_ACEOF
37740 /* end confdefs.h.  */
37741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37742    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37743 #define $ac_func innocuous_$ac_func
37744
37745 /* System header to define __stub macros and hopefully few prototypes,
37746     which can conflict with char $ac_func (); below.
37747     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37748     <limits.h> exists even on freestanding compilers.  */
37749
37750 #ifdef __STDC__
37751 # include <limits.h>
37752 #else
37753 # include <assert.h>
37754 #endif
37755
37756 #undef $ac_func
37757
37758 /* Override any gcc2 internal prototype to avoid an error.  */
37759 #ifdef __cplusplus
37760 extern "C"
37761 {
37762 #endif
37763 /* We use char because int might match the return type of a gcc2
37764    builtin and then its argument prototype would still apply.  */
37765 char $ac_func ();
37766 /* The GNU C library defines this for functions which it implements
37767     to always fail with ENOSYS.  Some functions are actually named
37768     something starting with __ and the normal name is an alias.  */
37769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37770 choke me
37771 #else
37772 char (*f) () = $ac_func;
37773 #endif
37774 #ifdef __cplusplus
37775 }
37776 #endif
37777
37778 int
37779 main ()
37780 {
37781 return f != $ac_func;
37782   ;
37783   return 0;
37784 }
37785 _ACEOF
37786 rm -f conftest.$ac_objext conftest$ac_exeext
37787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37788   (eval $ac_link) 2>conftest.er1
37789   ac_status=$?
37790   grep -v '^ *+' conftest.er1 >conftest.err
37791   rm -f conftest.er1
37792   cat conftest.err >&5
37793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37794   (exit $ac_status); } &&
37795          { ac_try='test -z "$ac_c_werror_flag"
37796                          || test ! -s conftest.err'
37797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37798   (eval $ac_try) 2>&5
37799   ac_status=$?
37800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37801   (exit $ac_status); }; } &&
37802          { ac_try='test -s conftest$ac_exeext'
37803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37804   (eval $ac_try) 2>&5
37805   ac_status=$?
37806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37807   (exit $ac_status); }; }; then
37808   eval "$as_ac_var=yes"
37809 else
37810   echo "$as_me: failed program was:" >&5
37811 sed 's/^/| /' conftest.$ac_ext >&5
37812
37813 eval "$as_ac_var=no"
37814 fi
37815 rm -f conftest.err conftest.$ac_objext \
37816       conftest$ac_exeext conftest.$ac_ext
37817 fi
37818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37820 if test `eval echo '${'$as_ac_var'}'` = yes; then
37821   cat >>confdefs.h <<_ACEOF
37822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37823 _ACEOF
37824
37825 fi
37826 done
37827
37828     fi
37829   fi
37830
37831
37832
37833   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
37834 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
37835   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37836     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
37837   echo $ECHO_N "(cached) $ECHO_C" >&6
37838 else
37839
37840
37841
37842       ac_ext=cc
37843 ac_cpp='$CXXCPP $CPPFLAGS'
37844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37847
37848       cat >conftest.$ac_ext <<_ACEOF
37849 /* confdefs.h.  */
37850 _ACEOF
37851 cat confdefs.h >>conftest.$ac_ext
37852 cat >>conftest.$ac_ext <<_ACEOF
37853 /* end confdefs.h.  */
37854 #include <math.h>
37855 int
37856 main ()
37857 {
37858  ldexpf(0, 0);
37859   ;
37860   return 0;
37861 }
37862 _ACEOF
37863 rm -f conftest.$ac_objext
37864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37865   (eval $ac_compile) 2>conftest.er1
37866   ac_status=$?
37867   grep -v '^ *+' conftest.er1 >conftest.err
37868   rm -f conftest.er1
37869   cat conftest.err >&5
37870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37871   (exit $ac_status); } &&
37872          { ac_try='test -z "$ac_cxx_werror_flag"
37873                          || test ! -s conftest.err'
37874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37875   (eval $ac_try) 2>&5
37876   ac_status=$?
37877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37878   (exit $ac_status); }; } &&
37879          { ac_try='test -s conftest.$ac_objext'
37880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37881   (eval $ac_try) 2>&5
37882   ac_status=$?
37883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37884   (exit $ac_status); }; }; then
37885   glibcxx_cv_func_ldexpf_use=yes
37886 else
37887   echo "$as_me: failed program was:" >&5
37888 sed 's/^/| /' conftest.$ac_ext >&5
37889
37890 glibcxx_cv_func_ldexpf_use=no
37891 fi
37892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37893       ac_ext=c
37894 ac_cpp='$CPP $CPPFLAGS'
37895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37898
37899
37900 fi
37901
37902   fi
37903   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
37904 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
37905
37906   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37907
37908 for ac_func in ldexpf
37909 do
37910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37911 echo "$as_me:$LINENO: checking for $ac_func" >&5
37912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37913 if eval "test \"\${$as_ac_var+set}\" = set"; then
37914   echo $ECHO_N "(cached) $ECHO_C" >&6
37915 else
37916   if test x$gcc_no_link = xyes; then
37917   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37919    { (exit 1); exit 1; }; }
37920 fi
37921 cat >conftest.$ac_ext <<_ACEOF
37922 /* confdefs.h.  */
37923 _ACEOF
37924 cat confdefs.h >>conftest.$ac_ext
37925 cat >>conftest.$ac_ext <<_ACEOF
37926 /* end confdefs.h.  */
37927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37928    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37929 #define $ac_func innocuous_$ac_func
37930
37931 /* System header to define __stub macros and hopefully few prototypes,
37932     which can conflict with char $ac_func (); below.
37933     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37934     <limits.h> exists even on freestanding compilers.  */
37935
37936 #ifdef __STDC__
37937 # include <limits.h>
37938 #else
37939 # include <assert.h>
37940 #endif
37941
37942 #undef $ac_func
37943
37944 /* Override any gcc2 internal prototype to avoid an error.  */
37945 #ifdef __cplusplus
37946 extern "C"
37947 {
37948 #endif
37949 /* We use char because int might match the return type of a gcc2
37950    builtin and then its argument prototype would still apply.  */
37951 char $ac_func ();
37952 /* The GNU C library defines this for functions which it implements
37953     to always fail with ENOSYS.  Some functions are actually named
37954     something starting with __ and the normal name is an alias.  */
37955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37956 choke me
37957 #else
37958 char (*f) () = $ac_func;
37959 #endif
37960 #ifdef __cplusplus
37961 }
37962 #endif
37963
37964 int
37965 main ()
37966 {
37967 return f != $ac_func;
37968   ;
37969   return 0;
37970 }
37971 _ACEOF
37972 rm -f conftest.$ac_objext conftest$ac_exeext
37973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37974   (eval $ac_link) 2>conftest.er1
37975   ac_status=$?
37976   grep -v '^ *+' conftest.er1 >conftest.err
37977   rm -f conftest.er1
37978   cat conftest.err >&5
37979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37980   (exit $ac_status); } &&
37981          { ac_try='test -z "$ac_c_werror_flag"
37982                          || test ! -s conftest.err'
37983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37984   (eval $ac_try) 2>&5
37985   ac_status=$?
37986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37987   (exit $ac_status); }; } &&
37988          { ac_try='test -s conftest$ac_exeext'
37989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37990   (eval $ac_try) 2>&5
37991   ac_status=$?
37992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37993   (exit $ac_status); }; }; then
37994   eval "$as_ac_var=yes"
37995 else
37996   echo "$as_me: failed program was:" >&5
37997 sed 's/^/| /' conftest.$ac_ext >&5
37998
37999 eval "$as_ac_var=no"
38000 fi
38001 rm -f conftest.err conftest.$ac_objext \
38002       conftest$ac_exeext conftest.$ac_ext
38003 fi
38004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38006 if test `eval echo '${'$as_ac_var'}'` = yes; then
38007   cat >>confdefs.h <<_ACEOF
38008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38009 _ACEOF
38010
38011 fi
38012 done
38013
38014   else
38015
38016   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
38017 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
38018   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
38019     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
38020   echo $ECHO_N "(cached) $ECHO_C" >&6
38021 else
38022
38023
38024
38025       ac_ext=cc
38026 ac_cpp='$CXXCPP $CPPFLAGS'
38027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38030
38031       cat >conftest.$ac_ext <<_ACEOF
38032 /* confdefs.h.  */
38033 _ACEOF
38034 cat confdefs.h >>conftest.$ac_ext
38035 cat >>conftest.$ac_ext <<_ACEOF
38036 /* end confdefs.h.  */
38037 #include <math.h>
38038 int
38039 main ()
38040 {
38041  _ldexpf(0, 0);
38042   ;
38043   return 0;
38044 }
38045 _ACEOF
38046 rm -f conftest.$ac_objext
38047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38048   (eval $ac_compile) 2>conftest.er1
38049   ac_status=$?
38050   grep -v '^ *+' conftest.er1 >conftest.err
38051   rm -f conftest.er1
38052   cat conftest.err >&5
38053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38054   (exit $ac_status); } &&
38055          { ac_try='test -z "$ac_cxx_werror_flag"
38056                          || test ! -s conftest.err'
38057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38058   (eval $ac_try) 2>&5
38059   ac_status=$?
38060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38061   (exit $ac_status); }; } &&
38062          { ac_try='test -s conftest.$ac_objext'
38063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38064   (eval $ac_try) 2>&5
38065   ac_status=$?
38066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38067   (exit $ac_status); }; }; then
38068   glibcxx_cv_func__ldexpf_use=yes
38069 else
38070   echo "$as_me: failed program was:" >&5
38071 sed 's/^/| /' conftest.$ac_ext >&5
38072
38073 glibcxx_cv_func__ldexpf_use=no
38074 fi
38075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38076       ac_ext=c
38077 ac_cpp='$CPP $CPPFLAGS'
38078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38081
38082
38083 fi
38084
38085   fi
38086   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
38087 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
38088
38089     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38090
38091 for ac_func in _ldexpf
38092 do
38093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38094 echo "$as_me:$LINENO: checking for $ac_func" >&5
38095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38096 if eval "test \"\${$as_ac_var+set}\" = set"; then
38097   echo $ECHO_N "(cached) $ECHO_C" >&6
38098 else
38099   if test x$gcc_no_link = xyes; then
38100   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38102    { (exit 1); exit 1; }; }
38103 fi
38104 cat >conftest.$ac_ext <<_ACEOF
38105 /* confdefs.h.  */
38106 _ACEOF
38107 cat confdefs.h >>conftest.$ac_ext
38108 cat >>conftest.$ac_ext <<_ACEOF
38109 /* end confdefs.h.  */
38110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38111    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38112 #define $ac_func innocuous_$ac_func
38113
38114 /* System header to define __stub macros and hopefully few prototypes,
38115     which can conflict with char $ac_func (); below.
38116     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38117     <limits.h> exists even on freestanding compilers.  */
38118
38119 #ifdef __STDC__
38120 # include <limits.h>
38121 #else
38122 # include <assert.h>
38123 #endif
38124
38125 #undef $ac_func
38126
38127 /* Override any gcc2 internal prototype to avoid an error.  */
38128 #ifdef __cplusplus
38129 extern "C"
38130 {
38131 #endif
38132 /* We use char because int might match the return type of a gcc2
38133    builtin and then its argument prototype would still apply.  */
38134 char $ac_func ();
38135 /* The GNU C library defines this for functions which it implements
38136     to always fail with ENOSYS.  Some functions are actually named
38137     something starting with __ and the normal name is an alias.  */
38138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38139 choke me
38140 #else
38141 char (*f) () = $ac_func;
38142 #endif
38143 #ifdef __cplusplus
38144 }
38145 #endif
38146
38147 int
38148 main ()
38149 {
38150 return f != $ac_func;
38151   ;
38152   return 0;
38153 }
38154 _ACEOF
38155 rm -f conftest.$ac_objext conftest$ac_exeext
38156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38157   (eval $ac_link) 2>conftest.er1
38158   ac_status=$?
38159   grep -v '^ *+' conftest.er1 >conftest.err
38160   rm -f conftest.er1
38161   cat conftest.err >&5
38162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38163   (exit $ac_status); } &&
38164          { ac_try='test -z "$ac_c_werror_flag"
38165                          || test ! -s conftest.err'
38166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38167   (eval $ac_try) 2>&5
38168   ac_status=$?
38169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38170   (exit $ac_status); }; } &&
38171          { ac_try='test -s conftest$ac_exeext'
38172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38173   (eval $ac_try) 2>&5
38174   ac_status=$?
38175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38176   (exit $ac_status); }; }; then
38177   eval "$as_ac_var=yes"
38178 else
38179   echo "$as_me: failed program was:" >&5
38180 sed 's/^/| /' conftest.$ac_ext >&5
38181
38182 eval "$as_ac_var=no"
38183 fi
38184 rm -f conftest.err conftest.$ac_objext \
38185       conftest$ac_exeext conftest.$ac_ext
38186 fi
38187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38189 if test `eval echo '${'$as_ac_var'}'` = yes; then
38190   cat >>confdefs.h <<_ACEOF
38191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38192 _ACEOF
38193
38194 fi
38195 done
38196
38197     fi
38198   fi
38199
38200
38201
38202   echo "$as_me:$LINENO: checking for logf declaration" >&5
38203 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
38204   if test x${glibcxx_cv_func_logf_use+set} != xset; then
38205     if test "${glibcxx_cv_func_logf_use+set}" = set; then
38206   echo $ECHO_N "(cached) $ECHO_C" >&6
38207 else
38208
38209
38210
38211       ac_ext=cc
38212 ac_cpp='$CXXCPP $CPPFLAGS'
38213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38216
38217       cat >conftest.$ac_ext <<_ACEOF
38218 /* confdefs.h.  */
38219 _ACEOF
38220 cat confdefs.h >>conftest.$ac_ext
38221 cat >>conftest.$ac_ext <<_ACEOF
38222 /* end confdefs.h.  */
38223 #include <math.h>
38224                       #ifdef HAVE_IEEEFP_H
38225                       #include <ieeefp.h>
38226                       #endif
38227
38228 int
38229 main ()
38230 {
38231  logf(0);
38232   ;
38233   return 0;
38234 }
38235 _ACEOF
38236 rm -f conftest.$ac_objext
38237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38238   (eval $ac_compile) 2>conftest.er1
38239   ac_status=$?
38240   grep -v '^ *+' conftest.er1 >conftest.err
38241   rm -f conftest.er1
38242   cat conftest.err >&5
38243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38244   (exit $ac_status); } &&
38245          { ac_try='test -z "$ac_cxx_werror_flag"
38246                          || test ! -s conftest.err'
38247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38248   (eval $ac_try) 2>&5
38249   ac_status=$?
38250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38251   (exit $ac_status); }; } &&
38252          { ac_try='test -s conftest.$ac_objext'
38253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38254   (eval $ac_try) 2>&5
38255   ac_status=$?
38256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38257   (exit $ac_status); }; }; then
38258   glibcxx_cv_func_logf_use=yes
38259 else
38260   echo "$as_me: failed program was:" >&5
38261 sed 's/^/| /' conftest.$ac_ext >&5
38262
38263 glibcxx_cv_func_logf_use=no
38264 fi
38265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38266       ac_ext=c
38267 ac_cpp='$CPP $CPPFLAGS'
38268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38271
38272
38273 fi
38274
38275   fi
38276   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
38277 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
38278
38279   if test x$glibcxx_cv_func_logf_use = x"yes"; then
38280
38281 for ac_func in logf
38282 do
38283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38284 echo "$as_me:$LINENO: checking for $ac_func" >&5
38285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38286 if eval "test \"\${$as_ac_var+set}\" = set"; then
38287   echo $ECHO_N "(cached) $ECHO_C" >&6
38288 else
38289   if test x$gcc_no_link = xyes; then
38290   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38292    { (exit 1); exit 1; }; }
38293 fi
38294 cat >conftest.$ac_ext <<_ACEOF
38295 /* confdefs.h.  */
38296 _ACEOF
38297 cat confdefs.h >>conftest.$ac_ext
38298 cat >>conftest.$ac_ext <<_ACEOF
38299 /* end confdefs.h.  */
38300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38301    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38302 #define $ac_func innocuous_$ac_func
38303
38304 /* System header to define __stub macros and hopefully few prototypes,
38305     which can conflict with char $ac_func (); below.
38306     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38307     <limits.h> exists even on freestanding compilers.  */
38308
38309 #ifdef __STDC__
38310 # include <limits.h>
38311 #else
38312 # include <assert.h>
38313 #endif
38314
38315 #undef $ac_func
38316
38317 /* Override any gcc2 internal prototype to avoid an error.  */
38318 #ifdef __cplusplus
38319 extern "C"
38320 {
38321 #endif
38322 /* We use char because int might match the return type of a gcc2
38323    builtin and then its argument prototype would still apply.  */
38324 char $ac_func ();
38325 /* The GNU C library defines this for functions which it implements
38326     to always fail with ENOSYS.  Some functions are actually named
38327     something starting with __ and the normal name is an alias.  */
38328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38329 choke me
38330 #else
38331 char (*f) () = $ac_func;
38332 #endif
38333 #ifdef __cplusplus
38334 }
38335 #endif
38336
38337 int
38338 main ()
38339 {
38340 return f != $ac_func;
38341   ;
38342   return 0;
38343 }
38344 _ACEOF
38345 rm -f conftest.$ac_objext conftest$ac_exeext
38346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38347   (eval $ac_link) 2>conftest.er1
38348   ac_status=$?
38349   grep -v '^ *+' conftest.er1 >conftest.err
38350   rm -f conftest.er1
38351   cat conftest.err >&5
38352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38353   (exit $ac_status); } &&
38354          { ac_try='test -z "$ac_c_werror_flag"
38355                          || test ! -s conftest.err'
38356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38357   (eval $ac_try) 2>&5
38358   ac_status=$?
38359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38360   (exit $ac_status); }; } &&
38361          { ac_try='test -s conftest$ac_exeext'
38362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38363   (eval $ac_try) 2>&5
38364   ac_status=$?
38365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38366   (exit $ac_status); }; }; then
38367   eval "$as_ac_var=yes"
38368 else
38369   echo "$as_me: failed program was:" >&5
38370 sed 's/^/| /' conftest.$ac_ext >&5
38371
38372 eval "$as_ac_var=no"
38373 fi
38374 rm -f conftest.err conftest.$ac_objext \
38375       conftest$ac_exeext conftest.$ac_ext
38376 fi
38377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38379 if test `eval echo '${'$as_ac_var'}'` = yes; then
38380   cat >>confdefs.h <<_ACEOF
38381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38382 _ACEOF
38383
38384 fi
38385 done
38386
38387   else
38388
38389   echo "$as_me:$LINENO: checking for _logf declaration" >&5
38390 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
38391   if test x${glibcxx_cv_func__logf_use+set} != xset; then
38392     if test "${glibcxx_cv_func__logf_use+set}" = set; then
38393   echo $ECHO_N "(cached) $ECHO_C" >&6
38394 else
38395
38396
38397
38398       ac_ext=cc
38399 ac_cpp='$CXXCPP $CPPFLAGS'
38400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38403
38404       cat >conftest.$ac_ext <<_ACEOF
38405 /* confdefs.h.  */
38406 _ACEOF
38407 cat confdefs.h >>conftest.$ac_ext
38408 cat >>conftest.$ac_ext <<_ACEOF
38409 /* end confdefs.h.  */
38410 #include <math.h>
38411                       #ifdef HAVE_IEEEFP_H
38412                       #include <ieeefp.h>
38413                       #endif
38414
38415 int
38416 main ()
38417 {
38418  _logf(0);
38419   ;
38420   return 0;
38421 }
38422 _ACEOF
38423 rm -f conftest.$ac_objext
38424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38425   (eval $ac_compile) 2>conftest.er1
38426   ac_status=$?
38427   grep -v '^ *+' conftest.er1 >conftest.err
38428   rm -f conftest.er1
38429   cat conftest.err >&5
38430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38431   (exit $ac_status); } &&
38432          { ac_try='test -z "$ac_cxx_werror_flag"
38433                          || test ! -s conftest.err'
38434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38435   (eval $ac_try) 2>&5
38436   ac_status=$?
38437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38438   (exit $ac_status); }; } &&
38439          { ac_try='test -s conftest.$ac_objext'
38440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38441   (eval $ac_try) 2>&5
38442   ac_status=$?
38443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38444   (exit $ac_status); }; }; then
38445   glibcxx_cv_func__logf_use=yes
38446 else
38447   echo "$as_me: failed program was:" >&5
38448 sed 's/^/| /' conftest.$ac_ext >&5
38449
38450 glibcxx_cv_func__logf_use=no
38451 fi
38452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38453       ac_ext=c
38454 ac_cpp='$CPP $CPPFLAGS'
38455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38458
38459
38460 fi
38461
38462   fi
38463   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
38464 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
38465
38466     if test x$glibcxx_cv_func__logf_use = x"yes"; then
38467
38468 for ac_func in _logf
38469 do
38470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38471 echo "$as_me:$LINENO: checking for $ac_func" >&5
38472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38473 if eval "test \"\${$as_ac_var+set}\" = set"; then
38474   echo $ECHO_N "(cached) $ECHO_C" >&6
38475 else
38476   if test x$gcc_no_link = xyes; then
38477   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38479    { (exit 1); exit 1; }; }
38480 fi
38481 cat >conftest.$ac_ext <<_ACEOF
38482 /* confdefs.h.  */
38483 _ACEOF
38484 cat confdefs.h >>conftest.$ac_ext
38485 cat >>conftest.$ac_ext <<_ACEOF
38486 /* end confdefs.h.  */
38487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38488    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38489 #define $ac_func innocuous_$ac_func
38490
38491 /* System header to define __stub macros and hopefully few prototypes,
38492     which can conflict with char $ac_func (); below.
38493     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38494     <limits.h> exists even on freestanding compilers.  */
38495
38496 #ifdef __STDC__
38497 # include <limits.h>
38498 #else
38499 # include <assert.h>
38500 #endif
38501
38502 #undef $ac_func
38503
38504 /* Override any gcc2 internal prototype to avoid an error.  */
38505 #ifdef __cplusplus
38506 extern "C"
38507 {
38508 #endif
38509 /* We use char because int might match the return type of a gcc2
38510    builtin and then its argument prototype would still apply.  */
38511 char $ac_func ();
38512 /* The GNU C library defines this for functions which it implements
38513     to always fail with ENOSYS.  Some functions are actually named
38514     something starting with __ and the normal name is an alias.  */
38515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38516 choke me
38517 #else
38518 char (*f) () = $ac_func;
38519 #endif
38520 #ifdef __cplusplus
38521 }
38522 #endif
38523
38524 int
38525 main ()
38526 {
38527 return f != $ac_func;
38528   ;
38529   return 0;
38530 }
38531 _ACEOF
38532 rm -f conftest.$ac_objext conftest$ac_exeext
38533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38534   (eval $ac_link) 2>conftest.er1
38535   ac_status=$?
38536   grep -v '^ *+' conftest.er1 >conftest.err
38537   rm -f conftest.er1
38538   cat conftest.err >&5
38539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38540   (exit $ac_status); } &&
38541          { ac_try='test -z "$ac_c_werror_flag"
38542                          || test ! -s conftest.err'
38543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38544   (eval $ac_try) 2>&5
38545   ac_status=$?
38546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38547   (exit $ac_status); }; } &&
38548          { ac_try='test -s conftest$ac_exeext'
38549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38550   (eval $ac_try) 2>&5
38551   ac_status=$?
38552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38553   (exit $ac_status); }; }; then
38554   eval "$as_ac_var=yes"
38555 else
38556   echo "$as_me: failed program was:" >&5
38557 sed 's/^/| /' conftest.$ac_ext >&5
38558
38559 eval "$as_ac_var=no"
38560 fi
38561 rm -f conftest.err conftest.$ac_objext \
38562       conftest$ac_exeext conftest.$ac_ext
38563 fi
38564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38566 if test `eval echo '${'$as_ac_var'}'` = yes; then
38567   cat >>confdefs.h <<_ACEOF
38568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38569 _ACEOF
38570
38571 fi
38572 done
38573
38574     fi
38575   fi
38576
38577
38578
38579   echo "$as_me:$LINENO: checking for log10f declaration" >&5
38580 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
38581   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38582     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
38583   echo $ECHO_N "(cached) $ECHO_C" >&6
38584 else
38585
38586
38587
38588       ac_ext=cc
38589 ac_cpp='$CXXCPP $CPPFLAGS'
38590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38593
38594       cat >conftest.$ac_ext <<_ACEOF
38595 /* confdefs.h.  */
38596 _ACEOF
38597 cat confdefs.h >>conftest.$ac_ext
38598 cat >>conftest.$ac_ext <<_ACEOF
38599 /* end confdefs.h.  */
38600 #include <math.h>
38601                       #ifdef HAVE_IEEEFP_H
38602                       #include <ieeefp.h>
38603                       #endif
38604
38605 int
38606 main ()
38607 {
38608  log10f(0);
38609   ;
38610   return 0;
38611 }
38612 _ACEOF
38613 rm -f conftest.$ac_objext
38614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38615   (eval $ac_compile) 2>conftest.er1
38616   ac_status=$?
38617   grep -v '^ *+' conftest.er1 >conftest.err
38618   rm -f conftest.er1
38619   cat conftest.err >&5
38620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38621   (exit $ac_status); } &&
38622          { ac_try='test -z "$ac_cxx_werror_flag"
38623                          || test ! -s conftest.err'
38624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38625   (eval $ac_try) 2>&5
38626   ac_status=$?
38627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38628   (exit $ac_status); }; } &&
38629          { ac_try='test -s conftest.$ac_objext'
38630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38631   (eval $ac_try) 2>&5
38632   ac_status=$?
38633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38634   (exit $ac_status); }; }; then
38635   glibcxx_cv_func_log10f_use=yes
38636 else
38637   echo "$as_me: failed program was:" >&5
38638 sed 's/^/| /' conftest.$ac_ext >&5
38639
38640 glibcxx_cv_func_log10f_use=no
38641 fi
38642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38643       ac_ext=c
38644 ac_cpp='$CPP $CPPFLAGS'
38645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38648
38649
38650 fi
38651
38652   fi
38653   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
38654 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
38655
38656   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38657
38658 for ac_func in log10f
38659 do
38660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38661 echo "$as_me:$LINENO: checking for $ac_func" >&5
38662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38663 if eval "test \"\${$as_ac_var+set}\" = set"; then
38664   echo $ECHO_N "(cached) $ECHO_C" >&6
38665 else
38666   if test x$gcc_no_link = xyes; then
38667   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38669    { (exit 1); exit 1; }; }
38670 fi
38671 cat >conftest.$ac_ext <<_ACEOF
38672 /* confdefs.h.  */
38673 _ACEOF
38674 cat confdefs.h >>conftest.$ac_ext
38675 cat >>conftest.$ac_ext <<_ACEOF
38676 /* end confdefs.h.  */
38677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38678    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38679 #define $ac_func innocuous_$ac_func
38680
38681 /* System header to define __stub macros and hopefully few prototypes,
38682     which can conflict with char $ac_func (); below.
38683     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38684     <limits.h> exists even on freestanding compilers.  */
38685
38686 #ifdef __STDC__
38687 # include <limits.h>
38688 #else
38689 # include <assert.h>
38690 #endif
38691
38692 #undef $ac_func
38693
38694 /* Override any gcc2 internal prototype to avoid an error.  */
38695 #ifdef __cplusplus
38696 extern "C"
38697 {
38698 #endif
38699 /* We use char because int might match the return type of a gcc2
38700    builtin and then its argument prototype would still apply.  */
38701 char $ac_func ();
38702 /* The GNU C library defines this for functions which it implements
38703     to always fail with ENOSYS.  Some functions are actually named
38704     something starting with __ and the normal name is an alias.  */
38705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38706 choke me
38707 #else
38708 char (*f) () = $ac_func;
38709 #endif
38710 #ifdef __cplusplus
38711 }
38712 #endif
38713
38714 int
38715 main ()
38716 {
38717 return f != $ac_func;
38718   ;
38719   return 0;
38720 }
38721 _ACEOF
38722 rm -f conftest.$ac_objext conftest$ac_exeext
38723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38724   (eval $ac_link) 2>conftest.er1
38725   ac_status=$?
38726   grep -v '^ *+' conftest.er1 >conftest.err
38727   rm -f conftest.er1
38728   cat conftest.err >&5
38729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38730   (exit $ac_status); } &&
38731          { ac_try='test -z "$ac_c_werror_flag"
38732                          || test ! -s conftest.err'
38733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38734   (eval $ac_try) 2>&5
38735   ac_status=$?
38736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38737   (exit $ac_status); }; } &&
38738          { ac_try='test -s conftest$ac_exeext'
38739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38740   (eval $ac_try) 2>&5
38741   ac_status=$?
38742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38743   (exit $ac_status); }; }; then
38744   eval "$as_ac_var=yes"
38745 else
38746   echo "$as_me: failed program was:" >&5
38747 sed 's/^/| /' conftest.$ac_ext >&5
38748
38749 eval "$as_ac_var=no"
38750 fi
38751 rm -f conftest.err conftest.$ac_objext \
38752       conftest$ac_exeext conftest.$ac_ext
38753 fi
38754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38756 if test `eval echo '${'$as_ac_var'}'` = yes; then
38757   cat >>confdefs.h <<_ACEOF
38758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38759 _ACEOF
38760
38761 fi
38762 done
38763
38764   else
38765
38766   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
38767 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
38768   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38769     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
38770   echo $ECHO_N "(cached) $ECHO_C" >&6
38771 else
38772
38773
38774
38775       ac_ext=cc
38776 ac_cpp='$CXXCPP $CPPFLAGS'
38777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38780
38781       cat >conftest.$ac_ext <<_ACEOF
38782 /* confdefs.h.  */
38783 _ACEOF
38784 cat confdefs.h >>conftest.$ac_ext
38785 cat >>conftest.$ac_ext <<_ACEOF
38786 /* end confdefs.h.  */
38787 #include <math.h>
38788                       #ifdef HAVE_IEEEFP_H
38789                       #include <ieeefp.h>
38790                       #endif
38791
38792 int
38793 main ()
38794 {
38795  _log10f(0);
38796   ;
38797   return 0;
38798 }
38799 _ACEOF
38800 rm -f conftest.$ac_objext
38801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38802   (eval $ac_compile) 2>conftest.er1
38803   ac_status=$?
38804   grep -v '^ *+' conftest.er1 >conftest.err
38805   rm -f conftest.er1
38806   cat conftest.err >&5
38807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38808   (exit $ac_status); } &&
38809          { ac_try='test -z "$ac_cxx_werror_flag"
38810                          || test ! -s conftest.err'
38811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38812   (eval $ac_try) 2>&5
38813   ac_status=$?
38814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38815   (exit $ac_status); }; } &&
38816          { ac_try='test -s conftest.$ac_objext'
38817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38818   (eval $ac_try) 2>&5
38819   ac_status=$?
38820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38821   (exit $ac_status); }; }; then
38822   glibcxx_cv_func__log10f_use=yes
38823 else
38824   echo "$as_me: failed program was:" >&5
38825 sed 's/^/| /' conftest.$ac_ext >&5
38826
38827 glibcxx_cv_func__log10f_use=no
38828 fi
38829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38830       ac_ext=c
38831 ac_cpp='$CPP $CPPFLAGS'
38832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38835
38836
38837 fi
38838
38839   fi
38840   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
38841 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
38842
38843     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38844
38845 for ac_func in _log10f
38846 do
38847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38848 echo "$as_me:$LINENO: checking for $ac_func" >&5
38849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38850 if eval "test \"\${$as_ac_var+set}\" = set"; then
38851   echo $ECHO_N "(cached) $ECHO_C" >&6
38852 else
38853   if test x$gcc_no_link = xyes; then
38854   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38856    { (exit 1); exit 1; }; }
38857 fi
38858 cat >conftest.$ac_ext <<_ACEOF
38859 /* confdefs.h.  */
38860 _ACEOF
38861 cat confdefs.h >>conftest.$ac_ext
38862 cat >>conftest.$ac_ext <<_ACEOF
38863 /* end confdefs.h.  */
38864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38865    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38866 #define $ac_func innocuous_$ac_func
38867
38868 /* System header to define __stub macros and hopefully few prototypes,
38869     which can conflict with char $ac_func (); below.
38870     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38871     <limits.h> exists even on freestanding compilers.  */
38872
38873 #ifdef __STDC__
38874 # include <limits.h>
38875 #else
38876 # include <assert.h>
38877 #endif
38878
38879 #undef $ac_func
38880
38881 /* Override any gcc2 internal prototype to avoid an error.  */
38882 #ifdef __cplusplus
38883 extern "C"
38884 {
38885 #endif
38886 /* We use char because int might match the return type of a gcc2
38887    builtin and then its argument prototype would still apply.  */
38888 char $ac_func ();
38889 /* The GNU C library defines this for functions which it implements
38890     to always fail with ENOSYS.  Some functions are actually named
38891     something starting with __ and the normal name is an alias.  */
38892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38893 choke me
38894 #else
38895 char (*f) () = $ac_func;
38896 #endif
38897 #ifdef __cplusplus
38898 }
38899 #endif
38900
38901 int
38902 main ()
38903 {
38904 return f != $ac_func;
38905   ;
38906   return 0;
38907 }
38908 _ACEOF
38909 rm -f conftest.$ac_objext conftest$ac_exeext
38910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38911   (eval $ac_link) 2>conftest.er1
38912   ac_status=$?
38913   grep -v '^ *+' conftest.er1 >conftest.err
38914   rm -f conftest.er1
38915   cat conftest.err >&5
38916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38917   (exit $ac_status); } &&
38918          { ac_try='test -z "$ac_c_werror_flag"
38919                          || test ! -s conftest.err'
38920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38921   (eval $ac_try) 2>&5
38922   ac_status=$?
38923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38924   (exit $ac_status); }; } &&
38925          { ac_try='test -s conftest$ac_exeext'
38926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38927   (eval $ac_try) 2>&5
38928   ac_status=$?
38929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38930   (exit $ac_status); }; }; then
38931   eval "$as_ac_var=yes"
38932 else
38933   echo "$as_me: failed program was:" >&5
38934 sed 's/^/| /' conftest.$ac_ext >&5
38935
38936 eval "$as_ac_var=no"
38937 fi
38938 rm -f conftest.err conftest.$ac_objext \
38939       conftest$ac_exeext conftest.$ac_ext
38940 fi
38941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38943 if test `eval echo '${'$as_ac_var'}'` = yes; then
38944   cat >>confdefs.h <<_ACEOF
38945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38946 _ACEOF
38947
38948 fi
38949 done
38950
38951     fi
38952   fi
38953
38954
38955
38956   echo "$as_me:$LINENO: checking for modff declaration" >&5
38957 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
38958   if test x${glibcxx_cv_func_modff_use+set} != xset; then
38959     if test "${glibcxx_cv_func_modff_use+set}" = set; then
38960   echo $ECHO_N "(cached) $ECHO_C" >&6
38961 else
38962
38963
38964
38965       ac_ext=cc
38966 ac_cpp='$CXXCPP $CPPFLAGS'
38967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38970
38971       cat >conftest.$ac_ext <<_ACEOF
38972 /* confdefs.h.  */
38973 _ACEOF
38974 cat confdefs.h >>conftest.$ac_ext
38975 cat >>conftest.$ac_ext <<_ACEOF
38976 /* end confdefs.h.  */
38977 #include <math.h>
38978 int
38979 main ()
38980 {
38981  modff(0, 0);
38982   ;
38983   return 0;
38984 }
38985 _ACEOF
38986 rm -f conftest.$ac_objext
38987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38988   (eval $ac_compile) 2>conftest.er1
38989   ac_status=$?
38990   grep -v '^ *+' conftest.er1 >conftest.err
38991   rm -f conftest.er1
38992   cat conftest.err >&5
38993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38994   (exit $ac_status); } &&
38995          { ac_try='test -z "$ac_cxx_werror_flag"
38996                          || test ! -s conftest.err'
38997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38998   (eval $ac_try) 2>&5
38999   ac_status=$?
39000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39001   (exit $ac_status); }; } &&
39002          { ac_try='test -s conftest.$ac_objext'
39003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39004   (eval $ac_try) 2>&5
39005   ac_status=$?
39006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39007   (exit $ac_status); }; }; then
39008   glibcxx_cv_func_modff_use=yes
39009 else
39010   echo "$as_me: failed program was:" >&5
39011 sed 's/^/| /' conftest.$ac_ext >&5
39012
39013 glibcxx_cv_func_modff_use=no
39014 fi
39015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39016       ac_ext=c
39017 ac_cpp='$CPP $CPPFLAGS'
39018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39021
39022
39023 fi
39024
39025   fi
39026   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
39027 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
39028
39029   if test x$glibcxx_cv_func_modff_use = x"yes"; then
39030
39031 for ac_func in modff
39032 do
39033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39034 echo "$as_me:$LINENO: checking for $ac_func" >&5
39035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39036 if eval "test \"\${$as_ac_var+set}\" = set"; then
39037   echo $ECHO_N "(cached) $ECHO_C" >&6
39038 else
39039   if test x$gcc_no_link = xyes; then
39040   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39042    { (exit 1); exit 1; }; }
39043 fi
39044 cat >conftest.$ac_ext <<_ACEOF
39045 /* confdefs.h.  */
39046 _ACEOF
39047 cat confdefs.h >>conftest.$ac_ext
39048 cat >>conftest.$ac_ext <<_ACEOF
39049 /* end confdefs.h.  */
39050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39051    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39052 #define $ac_func innocuous_$ac_func
39053
39054 /* System header to define __stub macros and hopefully few prototypes,
39055     which can conflict with char $ac_func (); below.
39056     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39057     <limits.h> exists even on freestanding compilers.  */
39058
39059 #ifdef __STDC__
39060 # include <limits.h>
39061 #else
39062 # include <assert.h>
39063 #endif
39064
39065 #undef $ac_func
39066
39067 /* Override any gcc2 internal prototype to avoid an error.  */
39068 #ifdef __cplusplus
39069 extern "C"
39070 {
39071 #endif
39072 /* We use char because int might match the return type of a gcc2
39073    builtin and then its argument prototype would still apply.  */
39074 char $ac_func ();
39075 /* The GNU C library defines this for functions which it implements
39076     to always fail with ENOSYS.  Some functions are actually named
39077     something starting with __ and the normal name is an alias.  */
39078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39079 choke me
39080 #else
39081 char (*f) () = $ac_func;
39082 #endif
39083 #ifdef __cplusplus
39084 }
39085 #endif
39086
39087 int
39088 main ()
39089 {
39090 return f != $ac_func;
39091   ;
39092   return 0;
39093 }
39094 _ACEOF
39095 rm -f conftest.$ac_objext conftest$ac_exeext
39096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39097   (eval $ac_link) 2>conftest.er1
39098   ac_status=$?
39099   grep -v '^ *+' conftest.er1 >conftest.err
39100   rm -f conftest.er1
39101   cat conftest.err >&5
39102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39103   (exit $ac_status); } &&
39104          { ac_try='test -z "$ac_c_werror_flag"
39105                          || test ! -s conftest.err'
39106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39107   (eval $ac_try) 2>&5
39108   ac_status=$?
39109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39110   (exit $ac_status); }; } &&
39111          { ac_try='test -s conftest$ac_exeext'
39112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39113   (eval $ac_try) 2>&5
39114   ac_status=$?
39115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39116   (exit $ac_status); }; }; then
39117   eval "$as_ac_var=yes"
39118 else
39119   echo "$as_me: failed program was:" >&5
39120 sed 's/^/| /' conftest.$ac_ext >&5
39121
39122 eval "$as_ac_var=no"
39123 fi
39124 rm -f conftest.err conftest.$ac_objext \
39125       conftest$ac_exeext conftest.$ac_ext
39126 fi
39127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39129 if test `eval echo '${'$as_ac_var'}'` = yes; then
39130   cat >>confdefs.h <<_ACEOF
39131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39132 _ACEOF
39133
39134 fi
39135 done
39136
39137   else
39138
39139   echo "$as_me:$LINENO: checking for _modff declaration" >&5
39140 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
39141   if test x${glibcxx_cv_func__modff_use+set} != xset; then
39142     if test "${glibcxx_cv_func__modff_use+set}" = set; then
39143   echo $ECHO_N "(cached) $ECHO_C" >&6
39144 else
39145
39146
39147
39148       ac_ext=cc
39149 ac_cpp='$CXXCPP $CPPFLAGS'
39150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39153
39154       cat >conftest.$ac_ext <<_ACEOF
39155 /* confdefs.h.  */
39156 _ACEOF
39157 cat confdefs.h >>conftest.$ac_ext
39158 cat >>conftest.$ac_ext <<_ACEOF
39159 /* end confdefs.h.  */
39160 #include <math.h>
39161 int
39162 main ()
39163 {
39164  _modff(0, 0);
39165   ;
39166   return 0;
39167 }
39168 _ACEOF
39169 rm -f conftest.$ac_objext
39170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39171   (eval $ac_compile) 2>conftest.er1
39172   ac_status=$?
39173   grep -v '^ *+' conftest.er1 >conftest.err
39174   rm -f conftest.er1
39175   cat conftest.err >&5
39176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39177   (exit $ac_status); } &&
39178          { ac_try='test -z "$ac_cxx_werror_flag"
39179                          || test ! -s conftest.err'
39180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39181   (eval $ac_try) 2>&5
39182   ac_status=$?
39183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39184   (exit $ac_status); }; } &&
39185          { ac_try='test -s conftest.$ac_objext'
39186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39187   (eval $ac_try) 2>&5
39188   ac_status=$?
39189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39190   (exit $ac_status); }; }; then
39191   glibcxx_cv_func__modff_use=yes
39192 else
39193   echo "$as_me: failed program was:" >&5
39194 sed 's/^/| /' conftest.$ac_ext >&5
39195
39196 glibcxx_cv_func__modff_use=no
39197 fi
39198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39199       ac_ext=c
39200 ac_cpp='$CPP $CPPFLAGS'
39201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39204
39205
39206 fi
39207
39208   fi
39209   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
39210 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
39211
39212     if test x$glibcxx_cv_func__modff_use = x"yes"; then
39213
39214 for ac_func in _modff
39215 do
39216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39217 echo "$as_me:$LINENO: checking for $ac_func" >&5
39218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39219 if eval "test \"\${$as_ac_var+set}\" = set"; then
39220   echo $ECHO_N "(cached) $ECHO_C" >&6
39221 else
39222   if test x$gcc_no_link = xyes; then
39223   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39225    { (exit 1); exit 1; }; }
39226 fi
39227 cat >conftest.$ac_ext <<_ACEOF
39228 /* confdefs.h.  */
39229 _ACEOF
39230 cat confdefs.h >>conftest.$ac_ext
39231 cat >>conftest.$ac_ext <<_ACEOF
39232 /* end confdefs.h.  */
39233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39234    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39235 #define $ac_func innocuous_$ac_func
39236
39237 /* System header to define __stub macros and hopefully few prototypes,
39238     which can conflict with char $ac_func (); below.
39239     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39240     <limits.h> exists even on freestanding compilers.  */
39241
39242 #ifdef __STDC__
39243 # include <limits.h>
39244 #else
39245 # include <assert.h>
39246 #endif
39247
39248 #undef $ac_func
39249
39250 /* Override any gcc2 internal prototype to avoid an error.  */
39251 #ifdef __cplusplus
39252 extern "C"
39253 {
39254 #endif
39255 /* We use char because int might match the return type of a gcc2
39256    builtin and then its argument prototype would still apply.  */
39257 char $ac_func ();
39258 /* The GNU C library defines this for functions which it implements
39259     to always fail with ENOSYS.  Some functions are actually named
39260     something starting with __ and the normal name is an alias.  */
39261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39262 choke me
39263 #else
39264 char (*f) () = $ac_func;
39265 #endif
39266 #ifdef __cplusplus
39267 }
39268 #endif
39269
39270 int
39271 main ()
39272 {
39273 return f != $ac_func;
39274   ;
39275   return 0;
39276 }
39277 _ACEOF
39278 rm -f conftest.$ac_objext conftest$ac_exeext
39279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39280   (eval $ac_link) 2>conftest.er1
39281   ac_status=$?
39282   grep -v '^ *+' conftest.er1 >conftest.err
39283   rm -f conftest.er1
39284   cat conftest.err >&5
39285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39286   (exit $ac_status); } &&
39287          { ac_try='test -z "$ac_c_werror_flag"
39288                          || test ! -s conftest.err'
39289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39290   (eval $ac_try) 2>&5
39291   ac_status=$?
39292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39293   (exit $ac_status); }; } &&
39294          { ac_try='test -s conftest$ac_exeext'
39295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39296   (eval $ac_try) 2>&5
39297   ac_status=$?
39298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39299   (exit $ac_status); }; }; then
39300   eval "$as_ac_var=yes"
39301 else
39302   echo "$as_me: failed program was:" >&5
39303 sed 's/^/| /' conftest.$ac_ext >&5
39304
39305 eval "$as_ac_var=no"
39306 fi
39307 rm -f conftest.err conftest.$ac_objext \
39308       conftest$ac_exeext conftest.$ac_ext
39309 fi
39310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39312 if test `eval echo '${'$as_ac_var'}'` = yes; then
39313   cat >>confdefs.h <<_ACEOF
39314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39315 _ACEOF
39316
39317 fi
39318 done
39319
39320     fi
39321   fi
39322
39323
39324
39325   echo "$as_me:$LINENO: checking for powf declaration" >&5
39326 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
39327   if test x${glibcxx_cv_func_powf_use+set} != xset; then
39328     if test "${glibcxx_cv_func_powf_use+set}" = set; then
39329   echo $ECHO_N "(cached) $ECHO_C" >&6
39330 else
39331
39332
39333
39334       ac_ext=cc
39335 ac_cpp='$CXXCPP $CPPFLAGS'
39336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39339
39340       cat >conftest.$ac_ext <<_ACEOF
39341 /* confdefs.h.  */
39342 _ACEOF
39343 cat confdefs.h >>conftest.$ac_ext
39344 cat >>conftest.$ac_ext <<_ACEOF
39345 /* end confdefs.h.  */
39346 #include <math.h>
39347 int
39348 main ()
39349 {
39350  powf(0, 0);
39351   ;
39352   return 0;
39353 }
39354 _ACEOF
39355 rm -f conftest.$ac_objext
39356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39357   (eval $ac_compile) 2>conftest.er1
39358   ac_status=$?
39359   grep -v '^ *+' conftest.er1 >conftest.err
39360   rm -f conftest.er1
39361   cat conftest.err >&5
39362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39363   (exit $ac_status); } &&
39364          { ac_try='test -z "$ac_cxx_werror_flag"
39365                          || test ! -s conftest.err'
39366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39367   (eval $ac_try) 2>&5
39368   ac_status=$?
39369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39370   (exit $ac_status); }; } &&
39371          { ac_try='test -s conftest.$ac_objext'
39372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39373   (eval $ac_try) 2>&5
39374   ac_status=$?
39375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39376   (exit $ac_status); }; }; then
39377   glibcxx_cv_func_powf_use=yes
39378 else
39379   echo "$as_me: failed program was:" >&5
39380 sed 's/^/| /' conftest.$ac_ext >&5
39381
39382 glibcxx_cv_func_powf_use=no
39383 fi
39384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39385       ac_ext=c
39386 ac_cpp='$CPP $CPPFLAGS'
39387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39390
39391
39392 fi
39393
39394   fi
39395   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
39396 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
39397
39398   if test x$glibcxx_cv_func_powf_use = x"yes"; then
39399
39400 for ac_func in powf
39401 do
39402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39403 echo "$as_me:$LINENO: checking for $ac_func" >&5
39404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39405 if eval "test \"\${$as_ac_var+set}\" = set"; then
39406   echo $ECHO_N "(cached) $ECHO_C" >&6
39407 else
39408   if test x$gcc_no_link = xyes; then
39409   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39411    { (exit 1); exit 1; }; }
39412 fi
39413 cat >conftest.$ac_ext <<_ACEOF
39414 /* confdefs.h.  */
39415 _ACEOF
39416 cat confdefs.h >>conftest.$ac_ext
39417 cat >>conftest.$ac_ext <<_ACEOF
39418 /* end confdefs.h.  */
39419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39420    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39421 #define $ac_func innocuous_$ac_func
39422
39423 /* System header to define __stub macros and hopefully few prototypes,
39424     which can conflict with char $ac_func (); below.
39425     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39426     <limits.h> exists even on freestanding compilers.  */
39427
39428 #ifdef __STDC__
39429 # include <limits.h>
39430 #else
39431 # include <assert.h>
39432 #endif
39433
39434 #undef $ac_func
39435
39436 /* Override any gcc2 internal prototype to avoid an error.  */
39437 #ifdef __cplusplus
39438 extern "C"
39439 {
39440 #endif
39441 /* We use char because int might match the return type of a gcc2
39442    builtin and then its argument prototype would still apply.  */
39443 char $ac_func ();
39444 /* The GNU C library defines this for functions which it implements
39445     to always fail with ENOSYS.  Some functions are actually named
39446     something starting with __ and the normal name is an alias.  */
39447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39448 choke me
39449 #else
39450 char (*f) () = $ac_func;
39451 #endif
39452 #ifdef __cplusplus
39453 }
39454 #endif
39455
39456 int
39457 main ()
39458 {
39459 return f != $ac_func;
39460   ;
39461   return 0;
39462 }
39463 _ACEOF
39464 rm -f conftest.$ac_objext conftest$ac_exeext
39465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39466   (eval $ac_link) 2>conftest.er1
39467   ac_status=$?
39468   grep -v '^ *+' conftest.er1 >conftest.err
39469   rm -f conftest.er1
39470   cat conftest.err >&5
39471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39472   (exit $ac_status); } &&
39473          { ac_try='test -z "$ac_c_werror_flag"
39474                          || test ! -s conftest.err'
39475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39476   (eval $ac_try) 2>&5
39477   ac_status=$?
39478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39479   (exit $ac_status); }; } &&
39480          { ac_try='test -s conftest$ac_exeext'
39481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39482   (eval $ac_try) 2>&5
39483   ac_status=$?
39484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39485   (exit $ac_status); }; }; then
39486   eval "$as_ac_var=yes"
39487 else
39488   echo "$as_me: failed program was:" >&5
39489 sed 's/^/| /' conftest.$ac_ext >&5
39490
39491 eval "$as_ac_var=no"
39492 fi
39493 rm -f conftest.err conftest.$ac_objext \
39494       conftest$ac_exeext conftest.$ac_ext
39495 fi
39496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39498 if test `eval echo '${'$as_ac_var'}'` = yes; then
39499   cat >>confdefs.h <<_ACEOF
39500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39501 _ACEOF
39502
39503 fi
39504 done
39505
39506   else
39507
39508   echo "$as_me:$LINENO: checking for _powf declaration" >&5
39509 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
39510   if test x${glibcxx_cv_func__powf_use+set} != xset; then
39511     if test "${glibcxx_cv_func__powf_use+set}" = set; then
39512   echo $ECHO_N "(cached) $ECHO_C" >&6
39513 else
39514
39515
39516
39517       ac_ext=cc
39518 ac_cpp='$CXXCPP $CPPFLAGS'
39519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39522
39523       cat >conftest.$ac_ext <<_ACEOF
39524 /* confdefs.h.  */
39525 _ACEOF
39526 cat confdefs.h >>conftest.$ac_ext
39527 cat >>conftest.$ac_ext <<_ACEOF
39528 /* end confdefs.h.  */
39529 #include <math.h>
39530 int
39531 main ()
39532 {
39533  _powf(0, 0);
39534   ;
39535   return 0;
39536 }
39537 _ACEOF
39538 rm -f conftest.$ac_objext
39539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39540   (eval $ac_compile) 2>conftest.er1
39541   ac_status=$?
39542   grep -v '^ *+' conftest.er1 >conftest.err
39543   rm -f conftest.er1
39544   cat conftest.err >&5
39545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39546   (exit $ac_status); } &&
39547          { ac_try='test -z "$ac_cxx_werror_flag"
39548                          || test ! -s conftest.err'
39549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39550   (eval $ac_try) 2>&5
39551   ac_status=$?
39552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39553   (exit $ac_status); }; } &&
39554          { ac_try='test -s conftest.$ac_objext'
39555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39556   (eval $ac_try) 2>&5
39557   ac_status=$?
39558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39559   (exit $ac_status); }; }; then
39560   glibcxx_cv_func__powf_use=yes
39561 else
39562   echo "$as_me: failed program was:" >&5
39563 sed 's/^/| /' conftest.$ac_ext >&5
39564
39565 glibcxx_cv_func__powf_use=no
39566 fi
39567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39568       ac_ext=c
39569 ac_cpp='$CPP $CPPFLAGS'
39570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39573
39574
39575 fi
39576
39577   fi
39578   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
39579 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
39580
39581     if test x$glibcxx_cv_func__powf_use = x"yes"; then
39582
39583 for ac_func in _powf
39584 do
39585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39586 echo "$as_me:$LINENO: checking for $ac_func" >&5
39587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39588 if eval "test \"\${$as_ac_var+set}\" = set"; then
39589   echo $ECHO_N "(cached) $ECHO_C" >&6
39590 else
39591   if test x$gcc_no_link = xyes; then
39592   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39594    { (exit 1); exit 1; }; }
39595 fi
39596 cat >conftest.$ac_ext <<_ACEOF
39597 /* confdefs.h.  */
39598 _ACEOF
39599 cat confdefs.h >>conftest.$ac_ext
39600 cat >>conftest.$ac_ext <<_ACEOF
39601 /* end confdefs.h.  */
39602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39603    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39604 #define $ac_func innocuous_$ac_func
39605
39606 /* System header to define __stub macros and hopefully few prototypes,
39607     which can conflict with char $ac_func (); below.
39608     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39609     <limits.h> exists even on freestanding compilers.  */
39610
39611 #ifdef __STDC__
39612 # include <limits.h>
39613 #else
39614 # include <assert.h>
39615 #endif
39616
39617 #undef $ac_func
39618
39619 /* Override any gcc2 internal prototype to avoid an error.  */
39620 #ifdef __cplusplus
39621 extern "C"
39622 {
39623 #endif
39624 /* We use char because int might match the return type of a gcc2
39625    builtin and then its argument prototype would still apply.  */
39626 char $ac_func ();
39627 /* The GNU C library defines this for functions which it implements
39628     to always fail with ENOSYS.  Some functions are actually named
39629     something starting with __ and the normal name is an alias.  */
39630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39631 choke me
39632 #else
39633 char (*f) () = $ac_func;
39634 #endif
39635 #ifdef __cplusplus
39636 }
39637 #endif
39638
39639 int
39640 main ()
39641 {
39642 return f != $ac_func;
39643   ;
39644   return 0;
39645 }
39646 _ACEOF
39647 rm -f conftest.$ac_objext conftest$ac_exeext
39648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39649   (eval $ac_link) 2>conftest.er1
39650   ac_status=$?
39651   grep -v '^ *+' conftest.er1 >conftest.err
39652   rm -f conftest.er1
39653   cat conftest.err >&5
39654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39655   (exit $ac_status); } &&
39656          { ac_try='test -z "$ac_c_werror_flag"
39657                          || test ! -s conftest.err'
39658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39659   (eval $ac_try) 2>&5
39660   ac_status=$?
39661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39662   (exit $ac_status); }; } &&
39663          { ac_try='test -s conftest$ac_exeext'
39664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39665   (eval $ac_try) 2>&5
39666   ac_status=$?
39667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39668   (exit $ac_status); }; }; then
39669   eval "$as_ac_var=yes"
39670 else
39671   echo "$as_me: failed program was:" >&5
39672 sed 's/^/| /' conftest.$ac_ext >&5
39673
39674 eval "$as_ac_var=no"
39675 fi
39676 rm -f conftest.err conftest.$ac_objext \
39677       conftest$ac_exeext conftest.$ac_ext
39678 fi
39679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39681 if test `eval echo '${'$as_ac_var'}'` = yes; then
39682   cat >>confdefs.h <<_ACEOF
39683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39684 _ACEOF
39685
39686 fi
39687 done
39688
39689     fi
39690   fi
39691
39692
39693
39694   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
39695 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
39696   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
39697     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
39698   echo $ECHO_N "(cached) $ECHO_C" >&6
39699 else
39700
39701
39702
39703       ac_ext=cc
39704 ac_cpp='$CXXCPP $CPPFLAGS'
39705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39708
39709       cat >conftest.$ac_ext <<_ACEOF
39710 /* confdefs.h.  */
39711 _ACEOF
39712 cat confdefs.h >>conftest.$ac_ext
39713 cat >>conftest.$ac_ext <<_ACEOF
39714 /* end confdefs.h.  */
39715 #include <math.h>
39716                       #ifdef HAVE_IEEEFP_H
39717                       #include <ieeefp.h>
39718                       #endif
39719
39720 int
39721 main ()
39722 {
39723  sqrtf(0);
39724   ;
39725   return 0;
39726 }
39727 _ACEOF
39728 rm -f conftest.$ac_objext
39729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39730   (eval $ac_compile) 2>conftest.er1
39731   ac_status=$?
39732   grep -v '^ *+' conftest.er1 >conftest.err
39733   rm -f conftest.er1
39734   cat conftest.err >&5
39735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39736   (exit $ac_status); } &&
39737          { ac_try='test -z "$ac_cxx_werror_flag"
39738                          || test ! -s conftest.err'
39739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39740   (eval $ac_try) 2>&5
39741   ac_status=$?
39742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39743   (exit $ac_status); }; } &&
39744          { ac_try='test -s conftest.$ac_objext'
39745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39746   (eval $ac_try) 2>&5
39747   ac_status=$?
39748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39749   (exit $ac_status); }; }; then
39750   glibcxx_cv_func_sqrtf_use=yes
39751 else
39752   echo "$as_me: failed program was:" >&5
39753 sed 's/^/| /' conftest.$ac_ext >&5
39754
39755 glibcxx_cv_func_sqrtf_use=no
39756 fi
39757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39758       ac_ext=c
39759 ac_cpp='$CPP $CPPFLAGS'
39760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39763
39764
39765 fi
39766
39767   fi
39768   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
39769 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
39770
39771   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
39772
39773 for ac_func in sqrtf
39774 do
39775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39776 echo "$as_me:$LINENO: checking for $ac_func" >&5
39777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39778 if eval "test \"\${$as_ac_var+set}\" = set"; then
39779   echo $ECHO_N "(cached) $ECHO_C" >&6
39780 else
39781   if test x$gcc_no_link = xyes; then
39782   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39784    { (exit 1); exit 1; }; }
39785 fi
39786 cat >conftest.$ac_ext <<_ACEOF
39787 /* confdefs.h.  */
39788 _ACEOF
39789 cat confdefs.h >>conftest.$ac_ext
39790 cat >>conftest.$ac_ext <<_ACEOF
39791 /* end confdefs.h.  */
39792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39793    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39794 #define $ac_func innocuous_$ac_func
39795
39796 /* System header to define __stub macros and hopefully few prototypes,
39797     which can conflict with char $ac_func (); below.
39798     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39799     <limits.h> exists even on freestanding compilers.  */
39800
39801 #ifdef __STDC__
39802 # include <limits.h>
39803 #else
39804 # include <assert.h>
39805 #endif
39806
39807 #undef $ac_func
39808
39809 /* Override any gcc2 internal prototype to avoid an error.  */
39810 #ifdef __cplusplus
39811 extern "C"
39812 {
39813 #endif
39814 /* We use char because int might match the return type of a gcc2
39815    builtin and then its argument prototype would still apply.  */
39816 char $ac_func ();
39817 /* The GNU C library defines this for functions which it implements
39818     to always fail with ENOSYS.  Some functions are actually named
39819     something starting with __ and the normal name is an alias.  */
39820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39821 choke me
39822 #else
39823 char (*f) () = $ac_func;
39824 #endif
39825 #ifdef __cplusplus
39826 }
39827 #endif
39828
39829 int
39830 main ()
39831 {
39832 return f != $ac_func;
39833   ;
39834   return 0;
39835 }
39836 _ACEOF
39837 rm -f conftest.$ac_objext conftest$ac_exeext
39838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39839   (eval $ac_link) 2>conftest.er1
39840   ac_status=$?
39841   grep -v '^ *+' conftest.er1 >conftest.err
39842   rm -f conftest.er1
39843   cat conftest.err >&5
39844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39845   (exit $ac_status); } &&
39846          { ac_try='test -z "$ac_c_werror_flag"
39847                          || test ! -s conftest.err'
39848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39849   (eval $ac_try) 2>&5
39850   ac_status=$?
39851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39852   (exit $ac_status); }; } &&
39853          { ac_try='test -s conftest$ac_exeext'
39854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39855   (eval $ac_try) 2>&5
39856   ac_status=$?
39857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39858   (exit $ac_status); }; }; then
39859   eval "$as_ac_var=yes"
39860 else
39861   echo "$as_me: failed program was:" >&5
39862 sed 's/^/| /' conftest.$ac_ext >&5
39863
39864 eval "$as_ac_var=no"
39865 fi
39866 rm -f conftest.err conftest.$ac_objext \
39867       conftest$ac_exeext conftest.$ac_ext
39868 fi
39869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39871 if test `eval echo '${'$as_ac_var'}'` = yes; then
39872   cat >>confdefs.h <<_ACEOF
39873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39874 _ACEOF
39875
39876 fi
39877 done
39878
39879   else
39880
39881   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
39882 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
39883   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
39884     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
39885   echo $ECHO_N "(cached) $ECHO_C" >&6
39886 else
39887
39888
39889
39890       ac_ext=cc
39891 ac_cpp='$CXXCPP $CPPFLAGS'
39892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39895
39896       cat >conftest.$ac_ext <<_ACEOF
39897 /* confdefs.h.  */
39898 _ACEOF
39899 cat confdefs.h >>conftest.$ac_ext
39900 cat >>conftest.$ac_ext <<_ACEOF
39901 /* end confdefs.h.  */
39902 #include <math.h>
39903                       #ifdef HAVE_IEEEFP_H
39904                       #include <ieeefp.h>
39905                       #endif
39906
39907 int
39908 main ()
39909 {
39910  _sqrtf(0);
39911   ;
39912   return 0;
39913 }
39914 _ACEOF
39915 rm -f conftest.$ac_objext
39916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39917   (eval $ac_compile) 2>conftest.er1
39918   ac_status=$?
39919   grep -v '^ *+' conftest.er1 >conftest.err
39920   rm -f conftest.er1
39921   cat conftest.err >&5
39922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39923   (exit $ac_status); } &&
39924          { ac_try='test -z "$ac_cxx_werror_flag"
39925                          || test ! -s conftest.err'
39926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39927   (eval $ac_try) 2>&5
39928   ac_status=$?
39929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39930   (exit $ac_status); }; } &&
39931          { ac_try='test -s conftest.$ac_objext'
39932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39933   (eval $ac_try) 2>&5
39934   ac_status=$?
39935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39936   (exit $ac_status); }; }; then
39937   glibcxx_cv_func__sqrtf_use=yes
39938 else
39939   echo "$as_me: failed program was:" >&5
39940 sed 's/^/| /' conftest.$ac_ext >&5
39941
39942 glibcxx_cv_func__sqrtf_use=no
39943 fi
39944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39945       ac_ext=c
39946 ac_cpp='$CPP $CPPFLAGS'
39947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39950
39951
39952 fi
39953
39954   fi
39955   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
39956 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
39957
39958     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
39959
39960 for ac_func in _sqrtf
39961 do
39962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39963 echo "$as_me:$LINENO: checking for $ac_func" >&5
39964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39965 if eval "test \"\${$as_ac_var+set}\" = set"; then
39966   echo $ECHO_N "(cached) $ECHO_C" >&6
39967 else
39968   if test x$gcc_no_link = xyes; then
39969   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39971    { (exit 1); exit 1; }; }
39972 fi
39973 cat >conftest.$ac_ext <<_ACEOF
39974 /* confdefs.h.  */
39975 _ACEOF
39976 cat confdefs.h >>conftest.$ac_ext
39977 cat >>conftest.$ac_ext <<_ACEOF
39978 /* end confdefs.h.  */
39979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39980    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39981 #define $ac_func innocuous_$ac_func
39982
39983 /* System header to define __stub macros and hopefully few prototypes,
39984     which can conflict with char $ac_func (); below.
39985     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39986     <limits.h> exists even on freestanding compilers.  */
39987
39988 #ifdef __STDC__
39989 # include <limits.h>
39990 #else
39991 # include <assert.h>
39992 #endif
39993
39994 #undef $ac_func
39995
39996 /* Override any gcc2 internal prototype to avoid an error.  */
39997 #ifdef __cplusplus
39998 extern "C"
39999 {
40000 #endif
40001 /* We use char because int might match the return type of a gcc2
40002    builtin and then its argument prototype would still apply.  */
40003 char $ac_func ();
40004 /* The GNU C library defines this for functions which it implements
40005     to always fail with ENOSYS.  Some functions are actually named
40006     something starting with __ and the normal name is an alias.  */
40007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40008 choke me
40009 #else
40010 char (*f) () = $ac_func;
40011 #endif
40012 #ifdef __cplusplus
40013 }
40014 #endif
40015
40016 int
40017 main ()
40018 {
40019 return f != $ac_func;
40020   ;
40021   return 0;
40022 }
40023 _ACEOF
40024 rm -f conftest.$ac_objext conftest$ac_exeext
40025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40026   (eval $ac_link) 2>conftest.er1
40027   ac_status=$?
40028   grep -v '^ *+' conftest.er1 >conftest.err
40029   rm -f conftest.er1
40030   cat conftest.err >&5
40031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40032   (exit $ac_status); } &&
40033          { ac_try='test -z "$ac_c_werror_flag"
40034                          || test ! -s conftest.err'
40035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40036   (eval $ac_try) 2>&5
40037   ac_status=$?
40038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40039   (exit $ac_status); }; } &&
40040          { ac_try='test -s conftest$ac_exeext'
40041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40042   (eval $ac_try) 2>&5
40043   ac_status=$?
40044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40045   (exit $ac_status); }; }; then
40046   eval "$as_ac_var=yes"
40047 else
40048   echo "$as_me: failed program was:" >&5
40049 sed 's/^/| /' conftest.$ac_ext >&5
40050
40051 eval "$as_ac_var=no"
40052 fi
40053 rm -f conftest.err conftest.$ac_objext \
40054       conftest$ac_exeext conftest.$ac_ext
40055 fi
40056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40058 if test `eval echo '${'$as_ac_var'}'` = yes; then
40059   cat >>confdefs.h <<_ACEOF
40060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40061 _ACEOF
40062
40063 fi
40064 done
40065
40066     fi
40067   fi
40068
40069
40070
40071   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
40072 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
40073   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
40074     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
40075   echo $ECHO_N "(cached) $ECHO_C" >&6
40076 else
40077
40078
40079
40080       ac_ext=cc
40081 ac_cpp='$CXXCPP $CPPFLAGS'
40082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40085
40086       cat >conftest.$ac_ext <<_ACEOF
40087 /* confdefs.h.  */
40088 _ACEOF
40089 cat confdefs.h >>conftest.$ac_ext
40090 cat >>conftest.$ac_ext <<_ACEOF
40091 /* end confdefs.h.  */
40092 #include <math.h>
40093 int
40094 main ()
40095 {
40096  sincosf(0, 0, 0);
40097   ;
40098   return 0;
40099 }
40100 _ACEOF
40101 rm -f conftest.$ac_objext
40102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40103   (eval $ac_compile) 2>conftest.er1
40104   ac_status=$?
40105   grep -v '^ *+' conftest.er1 >conftest.err
40106   rm -f conftest.er1
40107   cat conftest.err >&5
40108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40109   (exit $ac_status); } &&
40110          { ac_try='test -z "$ac_cxx_werror_flag"
40111                          || test ! -s conftest.err'
40112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40113   (eval $ac_try) 2>&5
40114   ac_status=$?
40115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40116   (exit $ac_status); }; } &&
40117          { ac_try='test -s conftest.$ac_objext'
40118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40119   (eval $ac_try) 2>&5
40120   ac_status=$?
40121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40122   (exit $ac_status); }; }; then
40123   glibcxx_cv_func_sincosf_use=yes
40124 else
40125   echo "$as_me: failed program was:" >&5
40126 sed 's/^/| /' conftest.$ac_ext >&5
40127
40128 glibcxx_cv_func_sincosf_use=no
40129 fi
40130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40131       ac_ext=c
40132 ac_cpp='$CPP $CPPFLAGS'
40133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40136
40137
40138 fi
40139
40140   fi
40141   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
40142 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
40143
40144   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
40145
40146 for ac_func in sincosf
40147 do
40148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40149 echo "$as_me:$LINENO: checking for $ac_func" >&5
40150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40151 if eval "test \"\${$as_ac_var+set}\" = set"; then
40152   echo $ECHO_N "(cached) $ECHO_C" >&6
40153 else
40154   if test x$gcc_no_link = xyes; then
40155   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40157    { (exit 1); exit 1; }; }
40158 fi
40159 cat >conftest.$ac_ext <<_ACEOF
40160 /* confdefs.h.  */
40161 _ACEOF
40162 cat confdefs.h >>conftest.$ac_ext
40163 cat >>conftest.$ac_ext <<_ACEOF
40164 /* end confdefs.h.  */
40165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40166    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40167 #define $ac_func innocuous_$ac_func
40168
40169 /* System header to define __stub macros and hopefully few prototypes,
40170     which can conflict with char $ac_func (); below.
40171     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40172     <limits.h> exists even on freestanding compilers.  */
40173
40174 #ifdef __STDC__
40175 # include <limits.h>
40176 #else
40177 # include <assert.h>
40178 #endif
40179
40180 #undef $ac_func
40181
40182 /* Override any gcc2 internal prototype to avoid an error.  */
40183 #ifdef __cplusplus
40184 extern "C"
40185 {
40186 #endif
40187 /* We use char because int might match the return type of a gcc2
40188    builtin and then its argument prototype would still apply.  */
40189 char $ac_func ();
40190 /* The GNU C library defines this for functions which it implements
40191     to always fail with ENOSYS.  Some functions are actually named
40192     something starting with __ and the normal name is an alias.  */
40193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40194 choke me
40195 #else
40196 char (*f) () = $ac_func;
40197 #endif
40198 #ifdef __cplusplus
40199 }
40200 #endif
40201
40202 int
40203 main ()
40204 {
40205 return f != $ac_func;
40206   ;
40207   return 0;
40208 }
40209 _ACEOF
40210 rm -f conftest.$ac_objext conftest$ac_exeext
40211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40212   (eval $ac_link) 2>conftest.er1
40213   ac_status=$?
40214   grep -v '^ *+' conftest.er1 >conftest.err
40215   rm -f conftest.er1
40216   cat conftest.err >&5
40217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40218   (exit $ac_status); } &&
40219          { ac_try='test -z "$ac_c_werror_flag"
40220                          || test ! -s conftest.err'
40221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40222   (eval $ac_try) 2>&5
40223   ac_status=$?
40224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40225   (exit $ac_status); }; } &&
40226          { ac_try='test -s conftest$ac_exeext'
40227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40228   (eval $ac_try) 2>&5
40229   ac_status=$?
40230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40231   (exit $ac_status); }; }; then
40232   eval "$as_ac_var=yes"
40233 else
40234   echo "$as_me: failed program was:" >&5
40235 sed 's/^/| /' conftest.$ac_ext >&5
40236
40237 eval "$as_ac_var=no"
40238 fi
40239 rm -f conftest.err conftest.$ac_objext \
40240       conftest$ac_exeext conftest.$ac_ext
40241 fi
40242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40244 if test `eval echo '${'$as_ac_var'}'` = yes; then
40245   cat >>confdefs.h <<_ACEOF
40246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40247 _ACEOF
40248
40249 fi
40250 done
40251
40252   else
40253
40254   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
40255 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
40256   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40257     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
40258   echo $ECHO_N "(cached) $ECHO_C" >&6
40259 else
40260
40261
40262
40263       ac_ext=cc
40264 ac_cpp='$CXXCPP $CPPFLAGS'
40265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40268
40269       cat >conftest.$ac_ext <<_ACEOF
40270 /* confdefs.h.  */
40271 _ACEOF
40272 cat confdefs.h >>conftest.$ac_ext
40273 cat >>conftest.$ac_ext <<_ACEOF
40274 /* end confdefs.h.  */
40275 #include <math.h>
40276 int
40277 main ()
40278 {
40279  _sincosf(0, 0, 0);
40280   ;
40281   return 0;
40282 }
40283 _ACEOF
40284 rm -f conftest.$ac_objext
40285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40286   (eval $ac_compile) 2>conftest.er1
40287   ac_status=$?
40288   grep -v '^ *+' conftest.er1 >conftest.err
40289   rm -f conftest.er1
40290   cat conftest.err >&5
40291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40292   (exit $ac_status); } &&
40293          { ac_try='test -z "$ac_cxx_werror_flag"
40294                          || test ! -s conftest.err'
40295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40296   (eval $ac_try) 2>&5
40297   ac_status=$?
40298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40299   (exit $ac_status); }; } &&
40300          { ac_try='test -s conftest.$ac_objext'
40301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40302   (eval $ac_try) 2>&5
40303   ac_status=$?
40304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40305   (exit $ac_status); }; }; then
40306   glibcxx_cv_func__sincosf_use=yes
40307 else
40308   echo "$as_me: failed program was:" >&5
40309 sed 's/^/| /' conftest.$ac_ext >&5
40310
40311 glibcxx_cv_func__sincosf_use=no
40312 fi
40313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40314       ac_ext=c
40315 ac_cpp='$CPP $CPPFLAGS'
40316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40319
40320
40321 fi
40322
40323   fi
40324   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
40325 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
40326
40327     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40328
40329 for ac_func in _sincosf
40330 do
40331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40332 echo "$as_me:$LINENO: checking for $ac_func" >&5
40333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40334 if eval "test \"\${$as_ac_var+set}\" = set"; then
40335   echo $ECHO_N "(cached) $ECHO_C" >&6
40336 else
40337   if test x$gcc_no_link = xyes; then
40338   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40340    { (exit 1); exit 1; }; }
40341 fi
40342 cat >conftest.$ac_ext <<_ACEOF
40343 /* confdefs.h.  */
40344 _ACEOF
40345 cat confdefs.h >>conftest.$ac_ext
40346 cat >>conftest.$ac_ext <<_ACEOF
40347 /* end confdefs.h.  */
40348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40349    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40350 #define $ac_func innocuous_$ac_func
40351
40352 /* System header to define __stub macros and hopefully few prototypes,
40353     which can conflict with char $ac_func (); below.
40354     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40355     <limits.h> exists even on freestanding compilers.  */
40356
40357 #ifdef __STDC__
40358 # include <limits.h>
40359 #else
40360 # include <assert.h>
40361 #endif
40362
40363 #undef $ac_func
40364
40365 /* Override any gcc2 internal prototype to avoid an error.  */
40366 #ifdef __cplusplus
40367 extern "C"
40368 {
40369 #endif
40370 /* We use char because int might match the return type of a gcc2
40371    builtin and then its argument prototype would still apply.  */
40372 char $ac_func ();
40373 /* The GNU C library defines this for functions which it implements
40374     to always fail with ENOSYS.  Some functions are actually named
40375     something starting with __ and the normal name is an alias.  */
40376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40377 choke me
40378 #else
40379 char (*f) () = $ac_func;
40380 #endif
40381 #ifdef __cplusplus
40382 }
40383 #endif
40384
40385 int
40386 main ()
40387 {
40388 return f != $ac_func;
40389   ;
40390   return 0;
40391 }
40392 _ACEOF
40393 rm -f conftest.$ac_objext conftest$ac_exeext
40394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40395   (eval $ac_link) 2>conftest.er1
40396   ac_status=$?
40397   grep -v '^ *+' conftest.er1 >conftest.err
40398   rm -f conftest.er1
40399   cat conftest.err >&5
40400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40401   (exit $ac_status); } &&
40402          { ac_try='test -z "$ac_c_werror_flag"
40403                          || test ! -s conftest.err'
40404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40405   (eval $ac_try) 2>&5
40406   ac_status=$?
40407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40408   (exit $ac_status); }; } &&
40409          { ac_try='test -s conftest$ac_exeext'
40410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40411   (eval $ac_try) 2>&5
40412   ac_status=$?
40413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40414   (exit $ac_status); }; }; then
40415   eval "$as_ac_var=yes"
40416 else
40417   echo "$as_me: failed program was:" >&5
40418 sed 's/^/| /' conftest.$ac_ext >&5
40419
40420 eval "$as_ac_var=no"
40421 fi
40422 rm -f conftest.err conftest.$ac_objext \
40423       conftest$ac_exeext conftest.$ac_ext
40424 fi
40425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40427 if test `eval echo '${'$as_ac_var'}'` = yes; then
40428   cat >>confdefs.h <<_ACEOF
40429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40430 _ACEOF
40431
40432 fi
40433 done
40434
40435     fi
40436   fi
40437
40438
40439
40440   echo "$as_me:$LINENO: checking for finitef declaration" >&5
40441 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
40442   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
40443     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
40444   echo $ECHO_N "(cached) $ECHO_C" >&6
40445 else
40446
40447
40448
40449       ac_ext=cc
40450 ac_cpp='$CXXCPP $CPPFLAGS'
40451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40454
40455       cat >conftest.$ac_ext <<_ACEOF
40456 /* confdefs.h.  */
40457 _ACEOF
40458 cat confdefs.h >>conftest.$ac_ext
40459 cat >>conftest.$ac_ext <<_ACEOF
40460 /* end confdefs.h.  */
40461 #include <math.h>
40462                       #ifdef HAVE_IEEEFP_H
40463                       #include <ieeefp.h>
40464                       #endif
40465
40466 int
40467 main ()
40468 {
40469  finitef(0);
40470   ;
40471   return 0;
40472 }
40473 _ACEOF
40474 rm -f conftest.$ac_objext
40475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40476   (eval $ac_compile) 2>conftest.er1
40477   ac_status=$?
40478   grep -v '^ *+' conftest.er1 >conftest.err
40479   rm -f conftest.er1
40480   cat conftest.err >&5
40481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40482   (exit $ac_status); } &&
40483          { ac_try='test -z "$ac_cxx_werror_flag"
40484                          || test ! -s conftest.err'
40485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40486   (eval $ac_try) 2>&5
40487   ac_status=$?
40488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40489   (exit $ac_status); }; } &&
40490          { ac_try='test -s conftest.$ac_objext'
40491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40492   (eval $ac_try) 2>&5
40493   ac_status=$?
40494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40495   (exit $ac_status); }; }; then
40496   glibcxx_cv_func_finitef_use=yes
40497 else
40498   echo "$as_me: failed program was:" >&5
40499 sed 's/^/| /' conftest.$ac_ext >&5
40500
40501 glibcxx_cv_func_finitef_use=no
40502 fi
40503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40504       ac_ext=c
40505 ac_cpp='$CPP $CPPFLAGS'
40506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40509
40510
40511 fi
40512
40513   fi
40514   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
40515 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
40516
40517   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
40518
40519 for ac_func in finitef
40520 do
40521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40522 echo "$as_me:$LINENO: checking for $ac_func" >&5
40523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40524 if eval "test \"\${$as_ac_var+set}\" = set"; then
40525   echo $ECHO_N "(cached) $ECHO_C" >&6
40526 else
40527   if test x$gcc_no_link = xyes; then
40528   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40530    { (exit 1); exit 1; }; }
40531 fi
40532 cat >conftest.$ac_ext <<_ACEOF
40533 /* confdefs.h.  */
40534 _ACEOF
40535 cat confdefs.h >>conftest.$ac_ext
40536 cat >>conftest.$ac_ext <<_ACEOF
40537 /* end confdefs.h.  */
40538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40539    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40540 #define $ac_func innocuous_$ac_func
40541
40542 /* System header to define __stub macros and hopefully few prototypes,
40543     which can conflict with char $ac_func (); below.
40544     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40545     <limits.h> exists even on freestanding compilers.  */
40546
40547 #ifdef __STDC__
40548 # include <limits.h>
40549 #else
40550 # include <assert.h>
40551 #endif
40552
40553 #undef $ac_func
40554
40555 /* Override any gcc2 internal prototype to avoid an error.  */
40556 #ifdef __cplusplus
40557 extern "C"
40558 {
40559 #endif
40560 /* We use char because int might match the return type of a gcc2
40561    builtin and then its argument prototype would still apply.  */
40562 char $ac_func ();
40563 /* The GNU C library defines this for functions which it implements
40564     to always fail with ENOSYS.  Some functions are actually named
40565     something starting with __ and the normal name is an alias.  */
40566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40567 choke me
40568 #else
40569 char (*f) () = $ac_func;
40570 #endif
40571 #ifdef __cplusplus
40572 }
40573 #endif
40574
40575 int
40576 main ()
40577 {
40578 return f != $ac_func;
40579   ;
40580   return 0;
40581 }
40582 _ACEOF
40583 rm -f conftest.$ac_objext conftest$ac_exeext
40584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40585   (eval $ac_link) 2>conftest.er1
40586   ac_status=$?
40587   grep -v '^ *+' conftest.er1 >conftest.err
40588   rm -f conftest.er1
40589   cat conftest.err >&5
40590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40591   (exit $ac_status); } &&
40592          { ac_try='test -z "$ac_c_werror_flag"
40593                          || test ! -s conftest.err'
40594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40595   (eval $ac_try) 2>&5
40596   ac_status=$?
40597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40598   (exit $ac_status); }; } &&
40599          { ac_try='test -s conftest$ac_exeext'
40600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40601   (eval $ac_try) 2>&5
40602   ac_status=$?
40603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40604   (exit $ac_status); }; }; then
40605   eval "$as_ac_var=yes"
40606 else
40607   echo "$as_me: failed program was:" >&5
40608 sed 's/^/| /' conftest.$ac_ext >&5
40609
40610 eval "$as_ac_var=no"
40611 fi
40612 rm -f conftest.err conftest.$ac_objext \
40613       conftest$ac_exeext conftest.$ac_ext
40614 fi
40615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40617 if test `eval echo '${'$as_ac_var'}'` = yes; then
40618   cat >>confdefs.h <<_ACEOF
40619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40620 _ACEOF
40621
40622 fi
40623 done
40624
40625   else
40626
40627   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
40628 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
40629   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
40630     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
40631   echo $ECHO_N "(cached) $ECHO_C" >&6
40632 else
40633
40634
40635
40636       ac_ext=cc
40637 ac_cpp='$CXXCPP $CPPFLAGS'
40638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40641
40642       cat >conftest.$ac_ext <<_ACEOF
40643 /* confdefs.h.  */
40644 _ACEOF
40645 cat confdefs.h >>conftest.$ac_ext
40646 cat >>conftest.$ac_ext <<_ACEOF
40647 /* end confdefs.h.  */
40648 #include <math.h>
40649                       #ifdef HAVE_IEEEFP_H
40650                       #include <ieeefp.h>
40651                       #endif
40652
40653 int
40654 main ()
40655 {
40656  _finitef(0);
40657   ;
40658   return 0;
40659 }
40660 _ACEOF
40661 rm -f conftest.$ac_objext
40662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40663   (eval $ac_compile) 2>conftest.er1
40664   ac_status=$?
40665   grep -v '^ *+' conftest.er1 >conftest.err
40666   rm -f conftest.er1
40667   cat conftest.err >&5
40668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40669   (exit $ac_status); } &&
40670          { ac_try='test -z "$ac_cxx_werror_flag"
40671                          || test ! -s conftest.err'
40672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40673   (eval $ac_try) 2>&5
40674   ac_status=$?
40675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40676   (exit $ac_status); }; } &&
40677          { ac_try='test -s conftest.$ac_objext'
40678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40679   (eval $ac_try) 2>&5
40680   ac_status=$?
40681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40682   (exit $ac_status); }; }; then
40683   glibcxx_cv_func__finitef_use=yes
40684 else
40685   echo "$as_me: failed program was:" >&5
40686 sed 's/^/| /' conftest.$ac_ext >&5
40687
40688 glibcxx_cv_func__finitef_use=no
40689 fi
40690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40691       ac_ext=c
40692 ac_cpp='$CPP $CPPFLAGS'
40693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40696
40697
40698 fi
40699
40700   fi
40701   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
40702 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
40703
40704     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
40705
40706 for ac_func in _finitef
40707 do
40708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40709 echo "$as_me:$LINENO: checking for $ac_func" >&5
40710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40711 if eval "test \"\${$as_ac_var+set}\" = set"; then
40712   echo $ECHO_N "(cached) $ECHO_C" >&6
40713 else
40714   if test x$gcc_no_link = xyes; then
40715   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40717    { (exit 1); exit 1; }; }
40718 fi
40719 cat >conftest.$ac_ext <<_ACEOF
40720 /* confdefs.h.  */
40721 _ACEOF
40722 cat confdefs.h >>conftest.$ac_ext
40723 cat >>conftest.$ac_ext <<_ACEOF
40724 /* end confdefs.h.  */
40725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40726    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40727 #define $ac_func innocuous_$ac_func
40728
40729 /* System header to define __stub macros and hopefully few prototypes,
40730     which can conflict with char $ac_func (); below.
40731     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40732     <limits.h> exists even on freestanding compilers.  */
40733
40734 #ifdef __STDC__
40735 # include <limits.h>
40736 #else
40737 # include <assert.h>
40738 #endif
40739
40740 #undef $ac_func
40741
40742 /* Override any gcc2 internal prototype to avoid an error.  */
40743 #ifdef __cplusplus
40744 extern "C"
40745 {
40746 #endif
40747 /* We use char because int might match the return type of a gcc2
40748    builtin and then its argument prototype would still apply.  */
40749 char $ac_func ();
40750 /* The GNU C library defines this for functions which it implements
40751     to always fail with ENOSYS.  Some functions are actually named
40752     something starting with __ and the normal name is an alias.  */
40753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40754 choke me
40755 #else
40756 char (*f) () = $ac_func;
40757 #endif
40758 #ifdef __cplusplus
40759 }
40760 #endif
40761
40762 int
40763 main ()
40764 {
40765 return f != $ac_func;
40766   ;
40767   return 0;
40768 }
40769 _ACEOF
40770 rm -f conftest.$ac_objext conftest$ac_exeext
40771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40772   (eval $ac_link) 2>conftest.er1
40773   ac_status=$?
40774   grep -v '^ *+' conftest.er1 >conftest.err
40775   rm -f conftest.er1
40776   cat conftest.err >&5
40777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40778   (exit $ac_status); } &&
40779          { ac_try='test -z "$ac_c_werror_flag"
40780                          || test ! -s conftest.err'
40781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40782   (eval $ac_try) 2>&5
40783   ac_status=$?
40784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40785   (exit $ac_status); }; } &&
40786          { ac_try='test -s conftest$ac_exeext'
40787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40788   (eval $ac_try) 2>&5
40789   ac_status=$?
40790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40791   (exit $ac_status); }; }; then
40792   eval "$as_ac_var=yes"
40793 else
40794   echo "$as_me: failed program was:" >&5
40795 sed 's/^/| /' conftest.$ac_ext >&5
40796
40797 eval "$as_ac_var=no"
40798 fi
40799 rm -f conftest.err conftest.$ac_objext \
40800       conftest$ac_exeext conftest.$ac_ext
40801 fi
40802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40804 if test `eval echo '${'$as_ac_var'}'` = yes; then
40805   cat >>confdefs.h <<_ACEOF
40806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40807 _ACEOF
40808
40809 fi
40810 done
40811
40812     fi
40813   fi
40814
40815
40816
40817   echo "$as_me:$LINENO: checking for long double trig functions" >&5
40818 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
40819   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
40820   echo $ECHO_N "(cached) $ECHO_C" >&6
40821 else
40822
40823
40824
40825     ac_ext=cc
40826 ac_cpp='$CXXCPP $CPPFLAGS'
40827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40830
40831     cat >conftest.$ac_ext <<_ACEOF
40832 /* confdefs.h.  */
40833 _ACEOF
40834 cat confdefs.h >>conftest.$ac_ext
40835 cat >>conftest.$ac_ext <<_ACEOF
40836 /* end confdefs.h.  */
40837 #include <math.h>
40838 int
40839 main ()
40840 {
40841  `for x in acosl asinl atanl \
40842                                           cosl sinl tanl \
40843                                           coshl sinhl tanhl; do echo "$x (0);"; done`
40844   ;
40845   return 0;
40846 }
40847 _ACEOF
40848 rm -f conftest.$ac_objext
40849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40850   (eval $ac_compile) 2>conftest.er1
40851   ac_status=$?
40852   grep -v '^ *+' conftest.er1 >conftest.err
40853   rm -f conftest.er1
40854   cat conftest.err >&5
40855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40856   (exit $ac_status); } &&
40857          { ac_try='test -z "$ac_cxx_werror_flag"
40858                          || test ! -s conftest.err'
40859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40860   (eval $ac_try) 2>&5
40861   ac_status=$?
40862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40863   (exit $ac_status); }; } &&
40864          { ac_try='test -s conftest.$ac_objext'
40865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40866   (eval $ac_try) 2>&5
40867   ac_status=$?
40868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40869   (exit $ac_status); }; }; then
40870   glibcxx_cv_func_long_double_trig_use=yes
40871 else
40872   echo "$as_me: failed program was:" >&5
40873 sed 's/^/| /' conftest.$ac_ext >&5
40874
40875 glibcxx_cv_func_long_double_trig_use=no
40876 fi
40877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40878     ac_ext=c
40879 ac_cpp='$CPP $CPPFLAGS'
40880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40883
40884 fi
40885
40886   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
40887 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
40888   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
40889
40890
40891
40892
40893
40894
40895
40896
40897
40898 for ac_func in acosl asinl atanl \
40899                                           cosl sinl tanl \
40900                                           coshl sinhl tanhl
40901 do
40902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40903 echo "$as_me:$LINENO: checking for $ac_func" >&5
40904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40905 if eval "test \"\${$as_ac_var+set}\" = set"; then
40906   echo $ECHO_N "(cached) $ECHO_C" >&6
40907 else
40908   if test x$gcc_no_link = xyes; then
40909   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40911    { (exit 1); exit 1; }; }
40912 fi
40913 cat >conftest.$ac_ext <<_ACEOF
40914 /* confdefs.h.  */
40915 _ACEOF
40916 cat confdefs.h >>conftest.$ac_ext
40917 cat >>conftest.$ac_ext <<_ACEOF
40918 /* end confdefs.h.  */
40919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40920    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40921 #define $ac_func innocuous_$ac_func
40922
40923 /* System header to define __stub macros and hopefully few prototypes,
40924     which can conflict with char $ac_func (); below.
40925     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40926     <limits.h> exists even on freestanding compilers.  */
40927
40928 #ifdef __STDC__
40929 # include <limits.h>
40930 #else
40931 # include <assert.h>
40932 #endif
40933
40934 #undef $ac_func
40935
40936 /* Override any gcc2 internal prototype to avoid an error.  */
40937 #ifdef __cplusplus
40938 extern "C"
40939 {
40940 #endif
40941 /* We use char because int might match the return type of a gcc2
40942    builtin and then its argument prototype would still apply.  */
40943 char $ac_func ();
40944 /* The GNU C library defines this for functions which it implements
40945     to always fail with ENOSYS.  Some functions are actually named
40946     something starting with __ and the normal name is an alias.  */
40947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40948 choke me
40949 #else
40950 char (*f) () = $ac_func;
40951 #endif
40952 #ifdef __cplusplus
40953 }
40954 #endif
40955
40956 int
40957 main ()
40958 {
40959 return f != $ac_func;
40960   ;
40961   return 0;
40962 }
40963 _ACEOF
40964 rm -f conftest.$ac_objext conftest$ac_exeext
40965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40966   (eval $ac_link) 2>conftest.er1
40967   ac_status=$?
40968   grep -v '^ *+' conftest.er1 >conftest.err
40969   rm -f conftest.er1
40970   cat conftest.err >&5
40971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40972   (exit $ac_status); } &&
40973          { ac_try='test -z "$ac_c_werror_flag"
40974                          || test ! -s conftest.err'
40975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40976   (eval $ac_try) 2>&5
40977   ac_status=$?
40978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40979   (exit $ac_status); }; } &&
40980          { ac_try='test -s conftest$ac_exeext'
40981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40982   (eval $ac_try) 2>&5
40983   ac_status=$?
40984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40985   (exit $ac_status); }; }; then
40986   eval "$as_ac_var=yes"
40987 else
40988   echo "$as_me: failed program was:" >&5
40989 sed 's/^/| /' conftest.$ac_ext >&5
40990
40991 eval "$as_ac_var=no"
40992 fi
40993 rm -f conftest.err conftest.$ac_objext \
40994       conftest$ac_exeext conftest.$ac_ext
40995 fi
40996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40998 if test `eval echo '${'$as_ac_var'}'` = yes; then
40999   cat >>confdefs.h <<_ACEOF
41000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41001 _ACEOF
41002
41003 fi
41004 done
41005
41006   fi
41007
41008
41009   echo "$as_me:$LINENO: checking for long double round functions" >&5
41010 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
41011   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
41012   echo $ECHO_N "(cached) $ECHO_C" >&6
41013 else
41014
41015
41016
41017     ac_ext=cc
41018 ac_cpp='$CXXCPP $CPPFLAGS'
41019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41022
41023     cat >conftest.$ac_ext <<_ACEOF
41024 /* confdefs.h.  */
41025 _ACEOF
41026 cat confdefs.h >>conftest.$ac_ext
41027 cat >>conftest.$ac_ext <<_ACEOF
41028 /* end confdefs.h.  */
41029 #include <math.h>
41030 int
41031 main ()
41032 {
41033  `for x in ceill floorl; do echo "$x (0);"; done`
41034   ;
41035   return 0;
41036 }
41037 _ACEOF
41038 rm -f conftest.$ac_objext
41039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41040   (eval $ac_compile) 2>conftest.er1
41041   ac_status=$?
41042   grep -v '^ *+' conftest.er1 >conftest.err
41043   rm -f conftest.er1
41044   cat conftest.err >&5
41045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41046   (exit $ac_status); } &&
41047          { ac_try='test -z "$ac_cxx_werror_flag"
41048                          || test ! -s conftest.err'
41049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41050   (eval $ac_try) 2>&5
41051   ac_status=$?
41052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41053   (exit $ac_status); }; } &&
41054          { ac_try='test -s conftest.$ac_objext'
41055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41056   (eval $ac_try) 2>&5
41057   ac_status=$?
41058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41059   (exit $ac_status); }; }; then
41060   glibcxx_cv_func_long_double_round_use=yes
41061 else
41062   echo "$as_me: failed program was:" >&5
41063 sed 's/^/| /' conftest.$ac_ext >&5
41064
41065 glibcxx_cv_func_long_double_round_use=no
41066 fi
41067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41068     ac_ext=c
41069 ac_cpp='$CPP $CPPFLAGS'
41070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41073
41074 fi
41075
41076   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
41077 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
41078   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41079
41080
41081 for ac_func in ceill floorl
41082 do
41083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41084 echo "$as_me:$LINENO: checking for $ac_func" >&5
41085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41086 if eval "test \"\${$as_ac_var+set}\" = set"; then
41087   echo $ECHO_N "(cached) $ECHO_C" >&6
41088 else
41089   if test x$gcc_no_link = xyes; then
41090   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41092    { (exit 1); exit 1; }; }
41093 fi
41094 cat >conftest.$ac_ext <<_ACEOF
41095 /* confdefs.h.  */
41096 _ACEOF
41097 cat confdefs.h >>conftest.$ac_ext
41098 cat >>conftest.$ac_ext <<_ACEOF
41099 /* end confdefs.h.  */
41100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41101    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41102 #define $ac_func innocuous_$ac_func
41103
41104 /* System header to define __stub macros and hopefully few prototypes,
41105     which can conflict with char $ac_func (); below.
41106     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41107     <limits.h> exists even on freestanding compilers.  */
41108
41109 #ifdef __STDC__
41110 # include <limits.h>
41111 #else
41112 # include <assert.h>
41113 #endif
41114
41115 #undef $ac_func
41116
41117 /* Override any gcc2 internal prototype to avoid an error.  */
41118 #ifdef __cplusplus
41119 extern "C"
41120 {
41121 #endif
41122 /* We use char because int might match the return type of a gcc2
41123    builtin and then its argument prototype would still apply.  */
41124 char $ac_func ();
41125 /* The GNU C library defines this for functions which it implements
41126     to always fail with ENOSYS.  Some functions are actually named
41127     something starting with __ and the normal name is an alias.  */
41128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41129 choke me
41130 #else
41131 char (*f) () = $ac_func;
41132 #endif
41133 #ifdef __cplusplus
41134 }
41135 #endif
41136
41137 int
41138 main ()
41139 {
41140 return f != $ac_func;
41141   ;
41142   return 0;
41143 }
41144 _ACEOF
41145 rm -f conftest.$ac_objext conftest$ac_exeext
41146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41147   (eval $ac_link) 2>conftest.er1
41148   ac_status=$?
41149   grep -v '^ *+' conftest.er1 >conftest.err
41150   rm -f conftest.er1
41151   cat conftest.err >&5
41152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41153   (exit $ac_status); } &&
41154          { ac_try='test -z "$ac_c_werror_flag"
41155                          || test ! -s conftest.err'
41156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41157   (eval $ac_try) 2>&5
41158   ac_status=$?
41159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41160   (exit $ac_status); }; } &&
41161          { ac_try='test -s conftest$ac_exeext'
41162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41163   (eval $ac_try) 2>&5
41164   ac_status=$?
41165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41166   (exit $ac_status); }; }; then
41167   eval "$as_ac_var=yes"
41168 else
41169   echo "$as_me: failed program was:" >&5
41170 sed 's/^/| /' conftest.$ac_ext >&5
41171
41172 eval "$as_ac_var=no"
41173 fi
41174 rm -f conftest.err conftest.$ac_objext \
41175       conftest$ac_exeext conftest.$ac_ext
41176 fi
41177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41179 if test `eval echo '${'$as_ac_var'}'` = yes; then
41180   cat >>confdefs.h <<_ACEOF
41181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41182 _ACEOF
41183
41184 fi
41185 done
41186
41187   fi
41188
41189
41190
41191   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
41192 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
41193   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41194     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
41195   echo $ECHO_N "(cached) $ECHO_C" >&6
41196 else
41197
41198
41199
41200       ac_ext=cc
41201 ac_cpp='$CXXCPP $CPPFLAGS'
41202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41205
41206       cat >conftest.$ac_ext <<_ACEOF
41207 /* confdefs.h.  */
41208 _ACEOF
41209 cat confdefs.h >>conftest.$ac_ext
41210 cat >>conftest.$ac_ext <<_ACEOF
41211 /* end confdefs.h.  */
41212 #include <math.h>
41213                       #ifdef HAVE_IEEEFP_H
41214                       #include <ieeefp.h>
41215                       #endif
41216
41217 int
41218 main ()
41219 {
41220  isnanl(0);
41221   ;
41222   return 0;
41223 }
41224 _ACEOF
41225 rm -f conftest.$ac_objext
41226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41227   (eval $ac_compile) 2>conftest.er1
41228   ac_status=$?
41229   grep -v '^ *+' conftest.er1 >conftest.err
41230   rm -f conftest.er1
41231   cat conftest.err >&5
41232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41233   (exit $ac_status); } &&
41234          { ac_try='test -z "$ac_cxx_werror_flag"
41235                          || test ! -s conftest.err'
41236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41237   (eval $ac_try) 2>&5
41238   ac_status=$?
41239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41240   (exit $ac_status); }; } &&
41241          { ac_try='test -s conftest.$ac_objext'
41242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41243   (eval $ac_try) 2>&5
41244   ac_status=$?
41245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41246   (exit $ac_status); }; }; then
41247   glibcxx_cv_func_isnanl_use=yes
41248 else
41249   echo "$as_me: failed program was:" >&5
41250 sed 's/^/| /' conftest.$ac_ext >&5
41251
41252 glibcxx_cv_func_isnanl_use=no
41253 fi
41254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41255       ac_ext=c
41256 ac_cpp='$CPP $CPPFLAGS'
41257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41260
41261
41262 fi
41263
41264   fi
41265   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
41266 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
41267
41268   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41269
41270 for ac_func in isnanl
41271 do
41272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41273 echo "$as_me:$LINENO: checking for $ac_func" >&5
41274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41275 if eval "test \"\${$as_ac_var+set}\" = set"; then
41276   echo $ECHO_N "(cached) $ECHO_C" >&6
41277 else
41278   if test x$gcc_no_link = xyes; then
41279   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41281    { (exit 1); exit 1; }; }
41282 fi
41283 cat >conftest.$ac_ext <<_ACEOF
41284 /* confdefs.h.  */
41285 _ACEOF
41286 cat confdefs.h >>conftest.$ac_ext
41287 cat >>conftest.$ac_ext <<_ACEOF
41288 /* end confdefs.h.  */
41289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41290    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41291 #define $ac_func innocuous_$ac_func
41292
41293 /* System header to define __stub macros and hopefully few prototypes,
41294     which can conflict with char $ac_func (); below.
41295     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41296     <limits.h> exists even on freestanding compilers.  */
41297
41298 #ifdef __STDC__
41299 # include <limits.h>
41300 #else
41301 # include <assert.h>
41302 #endif
41303
41304 #undef $ac_func
41305
41306 /* Override any gcc2 internal prototype to avoid an error.  */
41307 #ifdef __cplusplus
41308 extern "C"
41309 {
41310 #endif
41311 /* We use char because int might match the return type of a gcc2
41312    builtin and then its argument prototype would still apply.  */
41313 char $ac_func ();
41314 /* The GNU C library defines this for functions which it implements
41315     to always fail with ENOSYS.  Some functions are actually named
41316     something starting with __ and the normal name is an alias.  */
41317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41318 choke me
41319 #else
41320 char (*f) () = $ac_func;
41321 #endif
41322 #ifdef __cplusplus
41323 }
41324 #endif
41325
41326 int
41327 main ()
41328 {
41329 return f != $ac_func;
41330   ;
41331   return 0;
41332 }
41333 _ACEOF
41334 rm -f conftest.$ac_objext conftest$ac_exeext
41335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41336   (eval $ac_link) 2>conftest.er1
41337   ac_status=$?
41338   grep -v '^ *+' conftest.er1 >conftest.err
41339   rm -f conftest.er1
41340   cat conftest.err >&5
41341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41342   (exit $ac_status); } &&
41343          { ac_try='test -z "$ac_c_werror_flag"
41344                          || test ! -s conftest.err'
41345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41346   (eval $ac_try) 2>&5
41347   ac_status=$?
41348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41349   (exit $ac_status); }; } &&
41350          { ac_try='test -s conftest$ac_exeext'
41351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41352   (eval $ac_try) 2>&5
41353   ac_status=$?
41354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41355   (exit $ac_status); }; }; then
41356   eval "$as_ac_var=yes"
41357 else
41358   echo "$as_me: failed program was:" >&5
41359 sed 's/^/| /' conftest.$ac_ext >&5
41360
41361 eval "$as_ac_var=no"
41362 fi
41363 rm -f conftest.err conftest.$ac_objext \
41364       conftest$ac_exeext conftest.$ac_ext
41365 fi
41366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41368 if test `eval echo '${'$as_ac_var'}'` = yes; then
41369   cat >>confdefs.h <<_ACEOF
41370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41371 _ACEOF
41372
41373 fi
41374 done
41375
41376   else
41377
41378   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
41379 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
41380   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41381     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
41382   echo $ECHO_N "(cached) $ECHO_C" >&6
41383 else
41384
41385
41386
41387       ac_ext=cc
41388 ac_cpp='$CXXCPP $CPPFLAGS'
41389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41392
41393       cat >conftest.$ac_ext <<_ACEOF
41394 /* confdefs.h.  */
41395 _ACEOF
41396 cat confdefs.h >>conftest.$ac_ext
41397 cat >>conftest.$ac_ext <<_ACEOF
41398 /* end confdefs.h.  */
41399 #include <math.h>
41400                       #ifdef HAVE_IEEEFP_H
41401                       #include <ieeefp.h>
41402                       #endif
41403
41404 int
41405 main ()
41406 {
41407  _isnanl(0);
41408   ;
41409   return 0;
41410 }
41411 _ACEOF
41412 rm -f conftest.$ac_objext
41413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41414   (eval $ac_compile) 2>conftest.er1
41415   ac_status=$?
41416   grep -v '^ *+' conftest.er1 >conftest.err
41417   rm -f conftest.er1
41418   cat conftest.err >&5
41419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41420   (exit $ac_status); } &&
41421          { ac_try='test -z "$ac_cxx_werror_flag"
41422                          || test ! -s conftest.err'
41423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41424   (eval $ac_try) 2>&5
41425   ac_status=$?
41426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41427   (exit $ac_status); }; } &&
41428          { ac_try='test -s conftest.$ac_objext'
41429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41430   (eval $ac_try) 2>&5
41431   ac_status=$?
41432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41433   (exit $ac_status); }; }; then
41434   glibcxx_cv_func__isnanl_use=yes
41435 else
41436   echo "$as_me: failed program was:" >&5
41437 sed 's/^/| /' conftest.$ac_ext >&5
41438
41439 glibcxx_cv_func__isnanl_use=no
41440 fi
41441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41442       ac_ext=c
41443 ac_cpp='$CPP $CPPFLAGS'
41444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41447
41448
41449 fi
41450
41451   fi
41452   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
41453 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
41454
41455     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41456
41457 for ac_func in _isnanl
41458 do
41459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41460 echo "$as_me:$LINENO: checking for $ac_func" >&5
41461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41462 if eval "test \"\${$as_ac_var+set}\" = set"; then
41463   echo $ECHO_N "(cached) $ECHO_C" >&6
41464 else
41465   if test x$gcc_no_link = xyes; then
41466   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41468    { (exit 1); exit 1; }; }
41469 fi
41470 cat >conftest.$ac_ext <<_ACEOF
41471 /* confdefs.h.  */
41472 _ACEOF
41473 cat confdefs.h >>conftest.$ac_ext
41474 cat >>conftest.$ac_ext <<_ACEOF
41475 /* end confdefs.h.  */
41476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41477    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41478 #define $ac_func innocuous_$ac_func
41479
41480 /* System header to define __stub macros and hopefully few prototypes,
41481     which can conflict with char $ac_func (); below.
41482     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41483     <limits.h> exists even on freestanding compilers.  */
41484
41485 #ifdef __STDC__
41486 # include <limits.h>
41487 #else
41488 # include <assert.h>
41489 #endif
41490
41491 #undef $ac_func
41492
41493 /* Override any gcc2 internal prototype to avoid an error.  */
41494 #ifdef __cplusplus
41495 extern "C"
41496 {
41497 #endif
41498 /* We use char because int might match the return type of a gcc2
41499    builtin and then its argument prototype would still apply.  */
41500 char $ac_func ();
41501 /* The GNU C library defines this for functions which it implements
41502     to always fail with ENOSYS.  Some functions are actually named
41503     something starting with __ and the normal name is an alias.  */
41504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41505 choke me
41506 #else
41507 char (*f) () = $ac_func;
41508 #endif
41509 #ifdef __cplusplus
41510 }
41511 #endif
41512
41513 int
41514 main ()
41515 {
41516 return f != $ac_func;
41517   ;
41518   return 0;
41519 }
41520 _ACEOF
41521 rm -f conftest.$ac_objext conftest$ac_exeext
41522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41523   (eval $ac_link) 2>conftest.er1
41524   ac_status=$?
41525   grep -v '^ *+' conftest.er1 >conftest.err
41526   rm -f conftest.er1
41527   cat conftest.err >&5
41528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41529   (exit $ac_status); } &&
41530          { ac_try='test -z "$ac_c_werror_flag"
41531                          || test ! -s conftest.err'
41532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41533   (eval $ac_try) 2>&5
41534   ac_status=$?
41535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41536   (exit $ac_status); }; } &&
41537          { ac_try='test -s conftest$ac_exeext'
41538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41539   (eval $ac_try) 2>&5
41540   ac_status=$?
41541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41542   (exit $ac_status); }; }; then
41543   eval "$as_ac_var=yes"
41544 else
41545   echo "$as_me: failed program was:" >&5
41546 sed 's/^/| /' conftest.$ac_ext >&5
41547
41548 eval "$as_ac_var=no"
41549 fi
41550 rm -f conftest.err conftest.$ac_objext \
41551       conftest$ac_exeext conftest.$ac_ext
41552 fi
41553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41555 if test `eval echo '${'$as_ac_var'}'` = yes; then
41556   cat >>confdefs.h <<_ACEOF
41557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41558 _ACEOF
41559
41560 fi
41561 done
41562
41563     fi
41564   fi
41565
41566
41567
41568   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
41569 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
41570   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41571     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
41572   echo $ECHO_N "(cached) $ECHO_C" >&6
41573 else
41574
41575
41576
41577       ac_ext=cc
41578 ac_cpp='$CXXCPP $CPPFLAGS'
41579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41582
41583       cat >conftest.$ac_ext <<_ACEOF
41584 /* confdefs.h.  */
41585 _ACEOF
41586 cat confdefs.h >>conftest.$ac_ext
41587 cat >>conftest.$ac_ext <<_ACEOF
41588 /* end confdefs.h.  */
41589 #include <math.h>
41590                       #ifdef HAVE_IEEEFP_H
41591                       #include <ieeefp.h>
41592                       #endif
41593
41594 int
41595 main ()
41596 {
41597  isinfl(0);
41598   ;
41599   return 0;
41600 }
41601 _ACEOF
41602 rm -f conftest.$ac_objext
41603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41604   (eval $ac_compile) 2>conftest.er1
41605   ac_status=$?
41606   grep -v '^ *+' conftest.er1 >conftest.err
41607   rm -f conftest.er1
41608   cat conftest.err >&5
41609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41610   (exit $ac_status); } &&
41611          { ac_try='test -z "$ac_cxx_werror_flag"
41612                          || test ! -s conftest.err'
41613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41614   (eval $ac_try) 2>&5
41615   ac_status=$?
41616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41617   (exit $ac_status); }; } &&
41618          { ac_try='test -s conftest.$ac_objext'
41619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41620   (eval $ac_try) 2>&5
41621   ac_status=$?
41622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41623   (exit $ac_status); }; }; then
41624   glibcxx_cv_func_isinfl_use=yes
41625 else
41626   echo "$as_me: failed program was:" >&5
41627 sed 's/^/| /' conftest.$ac_ext >&5
41628
41629 glibcxx_cv_func_isinfl_use=no
41630 fi
41631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41632       ac_ext=c
41633 ac_cpp='$CPP $CPPFLAGS'
41634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41637
41638
41639 fi
41640
41641   fi
41642   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
41643 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
41644
41645   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41646
41647 for ac_func in isinfl
41648 do
41649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41650 echo "$as_me:$LINENO: checking for $ac_func" >&5
41651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41652 if eval "test \"\${$as_ac_var+set}\" = set"; then
41653   echo $ECHO_N "(cached) $ECHO_C" >&6
41654 else
41655   if test x$gcc_no_link = xyes; then
41656   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41658    { (exit 1); exit 1; }; }
41659 fi
41660 cat >conftest.$ac_ext <<_ACEOF
41661 /* confdefs.h.  */
41662 _ACEOF
41663 cat confdefs.h >>conftest.$ac_ext
41664 cat >>conftest.$ac_ext <<_ACEOF
41665 /* end confdefs.h.  */
41666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41667    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41668 #define $ac_func innocuous_$ac_func
41669
41670 /* System header to define __stub macros and hopefully few prototypes,
41671     which can conflict with char $ac_func (); below.
41672     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41673     <limits.h> exists even on freestanding compilers.  */
41674
41675 #ifdef __STDC__
41676 # include <limits.h>
41677 #else
41678 # include <assert.h>
41679 #endif
41680
41681 #undef $ac_func
41682
41683 /* Override any gcc2 internal prototype to avoid an error.  */
41684 #ifdef __cplusplus
41685 extern "C"
41686 {
41687 #endif
41688 /* We use char because int might match the return type of a gcc2
41689    builtin and then its argument prototype would still apply.  */
41690 char $ac_func ();
41691 /* The GNU C library defines this for functions which it implements
41692     to always fail with ENOSYS.  Some functions are actually named
41693     something starting with __ and the normal name is an alias.  */
41694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41695 choke me
41696 #else
41697 char (*f) () = $ac_func;
41698 #endif
41699 #ifdef __cplusplus
41700 }
41701 #endif
41702
41703 int
41704 main ()
41705 {
41706 return f != $ac_func;
41707   ;
41708   return 0;
41709 }
41710 _ACEOF
41711 rm -f conftest.$ac_objext conftest$ac_exeext
41712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41713   (eval $ac_link) 2>conftest.er1
41714   ac_status=$?
41715   grep -v '^ *+' conftest.er1 >conftest.err
41716   rm -f conftest.er1
41717   cat conftest.err >&5
41718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41719   (exit $ac_status); } &&
41720          { ac_try='test -z "$ac_c_werror_flag"
41721                          || test ! -s conftest.err'
41722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41723   (eval $ac_try) 2>&5
41724   ac_status=$?
41725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41726   (exit $ac_status); }; } &&
41727          { ac_try='test -s conftest$ac_exeext'
41728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41729   (eval $ac_try) 2>&5
41730   ac_status=$?
41731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41732   (exit $ac_status); }; }; then
41733   eval "$as_ac_var=yes"
41734 else
41735   echo "$as_me: failed program was:" >&5
41736 sed 's/^/| /' conftest.$ac_ext >&5
41737
41738 eval "$as_ac_var=no"
41739 fi
41740 rm -f conftest.err conftest.$ac_objext \
41741       conftest$ac_exeext conftest.$ac_ext
41742 fi
41743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41745 if test `eval echo '${'$as_ac_var'}'` = yes; then
41746   cat >>confdefs.h <<_ACEOF
41747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41748 _ACEOF
41749
41750 fi
41751 done
41752
41753   else
41754
41755   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
41756 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
41757   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41758     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
41759   echo $ECHO_N "(cached) $ECHO_C" >&6
41760 else
41761
41762
41763
41764       ac_ext=cc
41765 ac_cpp='$CXXCPP $CPPFLAGS'
41766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41769
41770       cat >conftest.$ac_ext <<_ACEOF
41771 /* confdefs.h.  */
41772 _ACEOF
41773 cat confdefs.h >>conftest.$ac_ext
41774 cat >>conftest.$ac_ext <<_ACEOF
41775 /* end confdefs.h.  */
41776 #include <math.h>
41777                       #ifdef HAVE_IEEEFP_H
41778                       #include <ieeefp.h>
41779                       #endif
41780
41781 int
41782 main ()
41783 {
41784  _isinfl(0);
41785   ;
41786   return 0;
41787 }
41788 _ACEOF
41789 rm -f conftest.$ac_objext
41790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41791   (eval $ac_compile) 2>conftest.er1
41792   ac_status=$?
41793   grep -v '^ *+' conftest.er1 >conftest.err
41794   rm -f conftest.er1
41795   cat conftest.err >&5
41796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41797   (exit $ac_status); } &&
41798          { ac_try='test -z "$ac_cxx_werror_flag"
41799                          || test ! -s conftest.err'
41800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41801   (eval $ac_try) 2>&5
41802   ac_status=$?
41803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41804   (exit $ac_status); }; } &&
41805          { ac_try='test -s conftest.$ac_objext'
41806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41807   (eval $ac_try) 2>&5
41808   ac_status=$?
41809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41810   (exit $ac_status); }; }; then
41811   glibcxx_cv_func__isinfl_use=yes
41812 else
41813   echo "$as_me: failed program was:" >&5
41814 sed 's/^/| /' conftest.$ac_ext >&5
41815
41816 glibcxx_cv_func__isinfl_use=no
41817 fi
41818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41819       ac_ext=c
41820 ac_cpp='$CPP $CPPFLAGS'
41821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41824
41825
41826 fi
41827
41828   fi
41829   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
41830 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
41831
41832     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
41833
41834 for ac_func in _isinfl
41835 do
41836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41837 echo "$as_me:$LINENO: checking for $ac_func" >&5
41838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41839 if eval "test \"\${$as_ac_var+set}\" = set"; then
41840   echo $ECHO_N "(cached) $ECHO_C" >&6
41841 else
41842   if test x$gcc_no_link = xyes; then
41843   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41845    { (exit 1); exit 1; }; }
41846 fi
41847 cat >conftest.$ac_ext <<_ACEOF
41848 /* confdefs.h.  */
41849 _ACEOF
41850 cat confdefs.h >>conftest.$ac_ext
41851 cat >>conftest.$ac_ext <<_ACEOF
41852 /* end confdefs.h.  */
41853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41854    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41855 #define $ac_func innocuous_$ac_func
41856
41857 /* System header to define __stub macros and hopefully few prototypes,
41858     which can conflict with char $ac_func (); below.
41859     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41860     <limits.h> exists even on freestanding compilers.  */
41861
41862 #ifdef __STDC__
41863 # include <limits.h>
41864 #else
41865 # include <assert.h>
41866 #endif
41867
41868 #undef $ac_func
41869
41870 /* Override any gcc2 internal prototype to avoid an error.  */
41871 #ifdef __cplusplus
41872 extern "C"
41873 {
41874 #endif
41875 /* We use char because int might match the return type of a gcc2
41876    builtin and then its argument prototype would still apply.  */
41877 char $ac_func ();
41878 /* The GNU C library defines this for functions which it implements
41879     to always fail with ENOSYS.  Some functions are actually named
41880     something starting with __ and the normal name is an alias.  */
41881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41882 choke me
41883 #else
41884 char (*f) () = $ac_func;
41885 #endif
41886 #ifdef __cplusplus
41887 }
41888 #endif
41889
41890 int
41891 main ()
41892 {
41893 return f != $ac_func;
41894   ;
41895   return 0;
41896 }
41897 _ACEOF
41898 rm -f conftest.$ac_objext conftest$ac_exeext
41899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41900   (eval $ac_link) 2>conftest.er1
41901   ac_status=$?
41902   grep -v '^ *+' conftest.er1 >conftest.err
41903   rm -f conftest.er1
41904   cat conftest.err >&5
41905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41906   (exit $ac_status); } &&
41907          { ac_try='test -z "$ac_c_werror_flag"
41908                          || test ! -s conftest.err'
41909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41910   (eval $ac_try) 2>&5
41911   ac_status=$?
41912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41913   (exit $ac_status); }; } &&
41914          { ac_try='test -s conftest$ac_exeext'
41915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41916   (eval $ac_try) 2>&5
41917   ac_status=$?
41918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41919   (exit $ac_status); }; }; then
41920   eval "$as_ac_var=yes"
41921 else
41922   echo "$as_me: failed program was:" >&5
41923 sed 's/^/| /' conftest.$ac_ext >&5
41924
41925 eval "$as_ac_var=no"
41926 fi
41927 rm -f conftest.err conftest.$ac_objext \
41928       conftest$ac_exeext conftest.$ac_ext
41929 fi
41930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41932 if test `eval echo '${'$as_ac_var'}'` = yes; then
41933   cat >>confdefs.h <<_ACEOF
41934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41935 _ACEOF
41936
41937 fi
41938 done
41939
41940     fi
41941   fi
41942
41943
41944
41945   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
41946 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
41947   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
41948     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
41949   echo $ECHO_N "(cached) $ECHO_C" >&6
41950 else
41951
41952
41953
41954       ac_ext=cc
41955 ac_cpp='$CXXCPP $CPPFLAGS'
41956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41959
41960       cat >conftest.$ac_ext <<_ACEOF
41961 /* confdefs.h.  */
41962 _ACEOF
41963 cat confdefs.h >>conftest.$ac_ext
41964 cat >>conftest.$ac_ext <<_ACEOF
41965 /* end confdefs.h.  */
41966 #include <math.h>
41967 int
41968 main ()
41969 {
41970  copysignl(0, 0);
41971   ;
41972   return 0;
41973 }
41974 _ACEOF
41975 rm -f conftest.$ac_objext
41976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41977   (eval $ac_compile) 2>conftest.er1
41978   ac_status=$?
41979   grep -v '^ *+' conftest.er1 >conftest.err
41980   rm -f conftest.er1
41981   cat conftest.err >&5
41982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41983   (exit $ac_status); } &&
41984          { ac_try='test -z "$ac_cxx_werror_flag"
41985                          || test ! -s conftest.err'
41986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41987   (eval $ac_try) 2>&5
41988   ac_status=$?
41989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41990   (exit $ac_status); }; } &&
41991          { ac_try='test -s conftest.$ac_objext'
41992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41993   (eval $ac_try) 2>&5
41994   ac_status=$?
41995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41996   (exit $ac_status); }; }; then
41997   glibcxx_cv_func_copysignl_use=yes
41998 else
41999   echo "$as_me: failed program was:" >&5
42000 sed 's/^/| /' conftest.$ac_ext >&5
42001
42002 glibcxx_cv_func_copysignl_use=no
42003 fi
42004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42005       ac_ext=c
42006 ac_cpp='$CPP $CPPFLAGS'
42007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42010
42011
42012 fi
42013
42014   fi
42015   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
42016 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
42017
42018   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
42019
42020 for ac_func in copysignl
42021 do
42022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42023 echo "$as_me:$LINENO: checking for $ac_func" >&5
42024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42025 if eval "test \"\${$as_ac_var+set}\" = set"; then
42026   echo $ECHO_N "(cached) $ECHO_C" >&6
42027 else
42028   if test x$gcc_no_link = xyes; then
42029   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42031    { (exit 1); exit 1; }; }
42032 fi
42033 cat >conftest.$ac_ext <<_ACEOF
42034 /* confdefs.h.  */
42035 _ACEOF
42036 cat confdefs.h >>conftest.$ac_ext
42037 cat >>conftest.$ac_ext <<_ACEOF
42038 /* end confdefs.h.  */
42039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42040    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42041 #define $ac_func innocuous_$ac_func
42042
42043 /* System header to define __stub macros and hopefully few prototypes,
42044     which can conflict with char $ac_func (); below.
42045     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42046     <limits.h> exists even on freestanding compilers.  */
42047
42048 #ifdef __STDC__
42049 # include <limits.h>
42050 #else
42051 # include <assert.h>
42052 #endif
42053
42054 #undef $ac_func
42055
42056 /* Override any gcc2 internal prototype to avoid an error.  */
42057 #ifdef __cplusplus
42058 extern "C"
42059 {
42060 #endif
42061 /* We use char because int might match the return type of a gcc2
42062    builtin and then its argument prototype would still apply.  */
42063 char $ac_func ();
42064 /* The GNU C library defines this for functions which it implements
42065     to always fail with ENOSYS.  Some functions are actually named
42066     something starting with __ and the normal name is an alias.  */
42067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42068 choke me
42069 #else
42070 char (*f) () = $ac_func;
42071 #endif
42072 #ifdef __cplusplus
42073 }
42074 #endif
42075
42076 int
42077 main ()
42078 {
42079 return f != $ac_func;
42080   ;
42081   return 0;
42082 }
42083 _ACEOF
42084 rm -f conftest.$ac_objext conftest$ac_exeext
42085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42086   (eval $ac_link) 2>conftest.er1
42087   ac_status=$?
42088   grep -v '^ *+' conftest.er1 >conftest.err
42089   rm -f conftest.er1
42090   cat conftest.err >&5
42091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42092   (exit $ac_status); } &&
42093          { ac_try='test -z "$ac_c_werror_flag"
42094                          || test ! -s conftest.err'
42095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42096   (eval $ac_try) 2>&5
42097   ac_status=$?
42098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42099   (exit $ac_status); }; } &&
42100          { ac_try='test -s conftest$ac_exeext'
42101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42102   (eval $ac_try) 2>&5
42103   ac_status=$?
42104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42105   (exit $ac_status); }; }; then
42106   eval "$as_ac_var=yes"
42107 else
42108   echo "$as_me: failed program was:" >&5
42109 sed 's/^/| /' conftest.$ac_ext >&5
42110
42111 eval "$as_ac_var=no"
42112 fi
42113 rm -f conftest.err conftest.$ac_objext \
42114       conftest$ac_exeext conftest.$ac_ext
42115 fi
42116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42118 if test `eval echo '${'$as_ac_var'}'` = yes; then
42119   cat >>confdefs.h <<_ACEOF
42120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42121 _ACEOF
42122
42123 fi
42124 done
42125
42126   else
42127
42128   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
42129 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
42130   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
42131     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
42132   echo $ECHO_N "(cached) $ECHO_C" >&6
42133 else
42134
42135
42136
42137       ac_ext=cc
42138 ac_cpp='$CXXCPP $CPPFLAGS'
42139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42142
42143       cat >conftest.$ac_ext <<_ACEOF
42144 /* confdefs.h.  */
42145 _ACEOF
42146 cat confdefs.h >>conftest.$ac_ext
42147 cat >>conftest.$ac_ext <<_ACEOF
42148 /* end confdefs.h.  */
42149 #include <math.h>
42150 int
42151 main ()
42152 {
42153  _copysignl(0, 0);
42154   ;
42155   return 0;
42156 }
42157 _ACEOF
42158 rm -f conftest.$ac_objext
42159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42160   (eval $ac_compile) 2>conftest.er1
42161   ac_status=$?
42162   grep -v '^ *+' conftest.er1 >conftest.err
42163   rm -f conftest.er1
42164   cat conftest.err >&5
42165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42166   (exit $ac_status); } &&
42167          { ac_try='test -z "$ac_cxx_werror_flag"
42168                          || test ! -s conftest.err'
42169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42170   (eval $ac_try) 2>&5
42171   ac_status=$?
42172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42173   (exit $ac_status); }; } &&
42174          { ac_try='test -s conftest.$ac_objext'
42175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42176   (eval $ac_try) 2>&5
42177   ac_status=$?
42178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42179   (exit $ac_status); }; }; then
42180   glibcxx_cv_func__copysignl_use=yes
42181 else
42182   echo "$as_me: failed program was:" >&5
42183 sed 's/^/| /' conftest.$ac_ext >&5
42184
42185 glibcxx_cv_func__copysignl_use=no
42186 fi
42187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42188       ac_ext=c
42189 ac_cpp='$CPP $CPPFLAGS'
42190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42193
42194
42195 fi
42196
42197   fi
42198   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
42199 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
42200
42201     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
42202
42203 for ac_func in _copysignl
42204 do
42205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42206 echo "$as_me:$LINENO: checking for $ac_func" >&5
42207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42208 if eval "test \"\${$as_ac_var+set}\" = set"; then
42209   echo $ECHO_N "(cached) $ECHO_C" >&6
42210 else
42211   if test x$gcc_no_link = xyes; then
42212   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42214    { (exit 1); exit 1; }; }
42215 fi
42216 cat >conftest.$ac_ext <<_ACEOF
42217 /* confdefs.h.  */
42218 _ACEOF
42219 cat confdefs.h >>conftest.$ac_ext
42220 cat >>conftest.$ac_ext <<_ACEOF
42221 /* end confdefs.h.  */
42222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42223    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42224 #define $ac_func innocuous_$ac_func
42225
42226 /* System header to define __stub macros and hopefully few prototypes,
42227     which can conflict with char $ac_func (); below.
42228     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42229     <limits.h> exists even on freestanding compilers.  */
42230
42231 #ifdef __STDC__
42232 # include <limits.h>
42233 #else
42234 # include <assert.h>
42235 #endif
42236
42237 #undef $ac_func
42238
42239 /* Override any gcc2 internal prototype to avoid an error.  */
42240 #ifdef __cplusplus
42241 extern "C"
42242 {
42243 #endif
42244 /* We use char because int might match the return type of a gcc2
42245    builtin and then its argument prototype would still apply.  */
42246 char $ac_func ();
42247 /* The GNU C library defines this for functions which it implements
42248     to always fail with ENOSYS.  Some functions are actually named
42249     something starting with __ and the normal name is an alias.  */
42250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42251 choke me
42252 #else
42253 char (*f) () = $ac_func;
42254 #endif
42255 #ifdef __cplusplus
42256 }
42257 #endif
42258
42259 int
42260 main ()
42261 {
42262 return f != $ac_func;
42263   ;
42264   return 0;
42265 }
42266 _ACEOF
42267 rm -f conftest.$ac_objext conftest$ac_exeext
42268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42269   (eval $ac_link) 2>conftest.er1
42270   ac_status=$?
42271   grep -v '^ *+' conftest.er1 >conftest.err
42272   rm -f conftest.er1
42273   cat conftest.err >&5
42274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42275   (exit $ac_status); } &&
42276          { ac_try='test -z "$ac_c_werror_flag"
42277                          || test ! -s conftest.err'
42278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42279   (eval $ac_try) 2>&5
42280   ac_status=$?
42281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42282   (exit $ac_status); }; } &&
42283          { ac_try='test -s conftest$ac_exeext'
42284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42285   (eval $ac_try) 2>&5
42286   ac_status=$?
42287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42288   (exit $ac_status); }; }; then
42289   eval "$as_ac_var=yes"
42290 else
42291   echo "$as_me: failed program was:" >&5
42292 sed 's/^/| /' conftest.$ac_ext >&5
42293
42294 eval "$as_ac_var=no"
42295 fi
42296 rm -f conftest.err conftest.$ac_objext \
42297       conftest$ac_exeext conftest.$ac_ext
42298 fi
42299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42301 if test `eval echo '${'$as_ac_var'}'` = yes; then
42302   cat >>confdefs.h <<_ACEOF
42303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42304 _ACEOF
42305
42306 fi
42307 done
42308
42309     fi
42310   fi
42311
42312
42313
42314   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
42315 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
42316   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42317     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
42318   echo $ECHO_N "(cached) $ECHO_C" >&6
42319 else
42320
42321
42322
42323       ac_ext=cc
42324 ac_cpp='$CXXCPP $CPPFLAGS'
42325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42328
42329       cat >conftest.$ac_ext <<_ACEOF
42330 /* confdefs.h.  */
42331 _ACEOF
42332 cat confdefs.h >>conftest.$ac_ext
42333 cat >>conftest.$ac_ext <<_ACEOF
42334 /* end confdefs.h.  */
42335 #include <math.h>
42336 int
42337 main ()
42338 {
42339  atan2l(0, 0);
42340   ;
42341   return 0;
42342 }
42343 _ACEOF
42344 rm -f conftest.$ac_objext
42345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42346   (eval $ac_compile) 2>conftest.er1
42347   ac_status=$?
42348   grep -v '^ *+' conftest.er1 >conftest.err
42349   rm -f conftest.er1
42350   cat conftest.err >&5
42351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42352   (exit $ac_status); } &&
42353          { ac_try='test -z "$ac_cxx_werror_flag"
42354                          || test ! -s conftest.err'
42355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42356   (eval $ac_try) 2>&5
42357   ac_status=$?
42358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42359   (exit $ac_status); }; } &&
42360          { ac_try='test -s conftest.$ac_objext'
42361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42362   (eval $ac_try) 2>&5
42363   ac_status=$?
42364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42365   (exit $ac_status); }; }; then
42366   glibcxx_cv_func_atan2l_use=yes
42367 else
42368   echo "$as_me: failed program was:" >&5
42369 sed 's/^/| /' conftest.$ac_ext >&5
42370
42371 glibcxx_cv_func_atan2l_use=no
42372 fi
42373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42374       ac_ext=c
42375 ac_cpp='$CPP $CPPFLAGS'
42376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42379
42380
42381 fi
42382
42383   fi
42384   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
42385 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
42386
42387   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42388
42389 for ac_func in atan2l
42390 do
42391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42392 echo "$as_me:$LINENO: checking for $ac_func" >&5
42393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42394 if eval "test \"\${$as_ac_var+set}\" = set"; then
42395   echo $ECHO_N "(cached) $ECHO_C" >&6
42396 else
42397   if test x$gcc_no_link = xyes; then
42398   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42400    { (exit 1); exit 1; }; }
42401 fi
42402 cat >conftest.$ac_ext <<_ACEOF
42403 /* confdefs.h.  */
42404 _ACEOF
42405 cat confdefs.h >>conftest.$ac_ext
42406 cat >>conftest.$ac_ext <<_ACEOF
42407 /* end confdefs.h.  */
42408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42409    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42410 #define $ac_func innocuous_$ac_func
42411
42412 /* System header to define __stub macros and hopefully few prototypes,
42413     which can conflict with char $ac_func (); below.
42414     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42415     <limits.h> exists even on freestanding compilers.  */
42416
42417 #ifdef __STDC__
42418 # include <limits.h>
42419 #else
42420 # include <assert.h>
42421 #endif
42422
42423 #undef $ac_func
42424
42425 /* Override any gcc2 internal prototype to avoid an error.  */
42426 #ifdef __cplusplus
42427 extern "C"
42428 {
42429 #endif
42430 /* We use char because int might match the return type of a gcc2
42431    builtin and then its argument prototype would still apply.  */
42432 char $ac_func ();
42433 /* The GNU C library defines this for functions which it implements
42434     to always fail with ENOSYS.  Some functions are actually named
42435     something starting with __ and the normal name is an alias.  */
42436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42437 choke me
42438 #else
42439 char (*f) () = $ac_func;
42440 #endif
42441 #ifdef __cplusplus
42442 }
42443 #endif
42444
42445 int
42446 main ()
42447 {
42448 return f != $ac_func;
42449   ;
42450   return 0;
42451 }
42452 _ACEOF
42453 rm -f conftest.$ac_objext conftest$ac_exeext
42454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42455   (eval $ac_link) 2>conftest.er1
42456   ac_status=$?
42457   grep -v '^ *+' conftest.er1 >conftest.err
42458   rm -f conftest.er1
42459   cat conftest.err >&5
42460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42461   (exit $ac_status); } &&
42462          { ac_try='test -z "$ac_c_werror_flag"
42463                          || test ! -s conftest.err'
42464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42465   (eval $ac_try) 2>&5
42466   ac_status=$?
42467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42468   (exit $ac_status); }; } &&
42469          { ac_try='test -s conftest$ac_exeext'
42470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42471   (eval $ac_try) 2>&5
42472   ac_status=$?
42473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42474   (exit $ac_status); }; }; then
42475   eval "$as_ac_var=yes"
42476 else
42477   echo "$as_me: failed program was:" >&5
42478 sed 's/^/| /' conftest.$ac_ext >&5
42479
42480 eval "$as_ac_var=no"
42481 fi
42482 rm -f conftest.err conftest.$ac_objext \
42483       conftest$ac_exeext conftest.$ac_ext
42484 fi
42485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42487 if test `eval echo '${'$as_ac_var'}'` = yes; then
42488   cat >>confdefs.h <<_ACEOF
42489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42490 _ACEOF
42491
42492 fi
42493 done
42494
42495   else
42496
42497   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
42498 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
42499   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42500     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
42501   echo $ECHO_N "(cached) $ECHO_C" >&6
42502 else
42503
42504
42505
42506       ac_ext=cc
42507 ac_cpp='$CXXCPP $CPPFLAGS'
42508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42511
42512       cat >conftest.$ac_ext <<_ACEOF
42513 /* confdefs.h.  */
42514 _ACEOF
42515 cat confdefs.h >>conftest.$ac_ext
42516 cat >>conftest.$ac_ext <<_ACEOF
42517 /* end confdefs.h.  */
42518 #include <math.h>
42519 int
42520 main ()
42521 {
42522  _atan2l(0, 0);
42523   ;
42524   return 0;
42525 }
42526 _ACEOF
42527 rm -f conftest.$ac_objext
42528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42529   (eval $ac_compile) 2>conftest.er1
42530   ac_status=$?
42531   grep -v '^ *+' conftest.er1 >conftest.err
42532   rm -f conftest.er1
42533   cat conftest.err >&5
42534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42535   (exit $ac_status); } &&
42536          { ac_try='test -z "$ac_cxx_werror_flag"
42537                          || test ! -s conftest.err'
42538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42539   (eval $ac_try) 2>&5
42540   ac_status=$?
42541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42542   (exit $ac_status); }; } &&
42543          { ac_try='test -s conftest.$ac_objext'
42544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42545   (eval $ac_try) 2>&5
42546   ac_status=$?
42547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42548   (exit $ac_status); }; }; then
42549   glibcxx_cv_func__atan2l_use=yes
42550 else
42551   echo "$as_me: failed program was:" >&5
42552 sed 's/^/| /' conftest.$ac_ext >&5
42553
42554 glibcxx_cv_func__atan2l_use=no
42555 fi
42556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42557       ac_ext=c
42558 ac_cpp='$CPP $CPPFLAGS'
42559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42562
42563
42564 fi
42565
42566   fi
42567   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
42568 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
42569
42570     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42571
42572 for ac_func in _atan2l
42573 do
42574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42575 echo "$as_me:$LINENO: checking for $ac_func" >&5
42576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42577 if eval "test \"\${$as_ac_var+set}\" = set"; then
42578   echo $ECHO_N "(cached) $ECHO_C" >&6
42579 else
42580   if test x$gcc_no_link = xyes; then
42581   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42583    { (exit 1); exit 1; }; }
42584 fi
42585 cat >conftest.$ac_ext <<_ACEOF
42586 /* confdefs.h.  */
42587 _ACEOF
42588 cat confdefs.h >>conftest.$ac_ext
42589 cat >>conftest.$ac_ext <<_ACEOF
42590 /* end confdefs.h.  */
42591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42592    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42593 #define $ac_func innocuous_$ac_func
42594
42595 /* System header to define __stub macros and hopefully few prototypes,
42596     which can conflict with char $ac_func (); below.
42597     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42598     <limits.h> exists even on freestanding compilers.  */
42599
42600 #ifdef __STDC__
42601 # include <limits.h>
42602 #else
42603 # include <assert.h>
42604 #endif
42605
42606 #undef $ac_func
42607
42608 /* Override any gcc2 internal prototype to avoid an error.  */
42609 #ifdef __cplusplus
42610 extern "C"
42611 {
42612 #endif
42613 /* We use char because int might match the return type of a gcc2
42614    builtin and then its argument prototype would still apply.  */
42615 char $ac_func ();
42616 /* The GNU C library defines this for functions which it implements
42617     to always fail with ENOSYS.  Some functions are actually named
42618     something starting with __ and the normal name is an alias.  */
42619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42620 choke me
42621 #else
42622 char (*f) () = $ac_func;
42623 #endif
42624 #ifdef __cplusplus
42625 }
42626 #endif
42627
42628 int
42629 main ()
42630 {
42631 return f != $ac_func;
42632   ;
42633   return 0;
42634 }
42635 _ACEOF
42636 rm -f conftest.$ac_objext conftest$ac_exeext
42637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42638   (eval $ac_link) 2>conftest.er1
42639   ac_status=$?
42640   grep -v '^ *+' conftest.er1 >conftest.err
42641   rm -f conftest.er1
42642   cat conftest.err >&5
42643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42644   (exit $ac_status); } &&
42645          { ac_try='test -z "$ac_c_werror_flag"
42646                          || test ! -s conftest.err'
42647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42648   (eval $ac_try) 2>&5
42649   ac_status=$?
42650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42651   (exit $ac_status); }; } &&
42652          { ac_try='test -s conftest$ac_exeext'
42653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42654   (eval $ac_try) 2>&5
42655   ac_status=$?
42656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42657   (exit $ac_status); }; }; then
42658   eval "$as_ac_var=yes"
42659 else
42660   echo "$as_me: failed program was:" >&5
42661 sed 's/^/| /' conftest.$ac_ext >&5
42662
42663 eval "$as_ac_var=no"
42664 fi
42665 rm -f conftest.err conftest.$ac_objext \
42666       conftest$ac_exeext conftest.$ac_ext
42667 fi
42668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42670 if test `eval echo '${'$as_ac_var'}'` = yes; then
42671   cat >>confdefs.h <<_ACEOF
42672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42673 _ACEOF
42674
42675 fi
42676 done
42677
42678     fi
42679   fi
42680
42681
42682
42683   echo "$as_me:$LINENO: checking for expl declaration" >&5
42684 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
42685   if test x${glibcxx_cv_func_expl_use+set} != xset; then
42686     if test "${glibcxx_cv_func_expl_use+set}" = set; then
42687   echo $ECHO_N "(cached) $ECHO_C" >&6
42688 else
42689
42690
42691
42692       ac_ext=cc
42693 ac_cpp='$CXXCPP $CPPFLAGS'
42694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42697
42698       cat >conftest.$ac_ext <<_ACEOF
42699 /* confdefs.h.  */
42700 _ACEOF
42701 cat confdefs.h >>conftest.$ac_ext
42702 cat >>conftest.$ac_ext <<_ACEOF
42703 /* end confdefs.h.  */
42704 #include <math.h>
42705                       #ifdef HAVE_IEEEFP_H
42706                       #include <ieeefp.h>
42707                       #endif
42708
42709 int
42710 main ()
42711 {
42712  expl(0);
42713   ;
42714   return 0;
42715 }
42716 _ACEOF
42717 rm -f conftest.$ac_objext
42718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42719   (eval $ac_compile) 2>conftest.er1
42720   ac_status=$?
42721   grep -v '^ *+' conftest.er1 >conftest.err
42722   rm -f conftest.er1
42723   cat conftest.err >&5
42724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42725   (exit $ac_status); } &&
42726          { ac_try='test -z "$ac_cxx_werror_flag"
42727                          || test ! -s conftest.err'
42728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42729   (eval $ac_try) 2>&5
42730   ac_status=$?
42731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42732   (exit $ac_status); }; } &&
42733          { ac_try='test -s conftest.$ac_objext'
42734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42735   (eval $ac_try) 2>&5
42736   ac_status=$?
42737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42738   (exit $ac_status); }; }; then
42739   glibcxx_cv_func_expl_use=yes
42740 else
42741   echo "$as_me: failed program was:" >&5
42742 sed 's/^/| /' conftest.$ac_ext >&5
42743
42744 glibcxx_cv_func_expl_use=no
42745 fi
42746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42747       ac_ext=c
42748 ac_cpp='$CPP $CPPFLAGS'
42749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42752
42753
42754 fi
42755
42756   fi
42757   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
42758 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
42759
42760   if test x$glibcxx_cv_func_expl_use = x"yes"; then
42761
42762 for ac_func in expl
42763 do
42764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42765 echo "$as_me:$LINENO: checking for $ac_func" >&5
42766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42767 if eval "test \"\${$as_ac_var+set}\" = set"; then
42768   echo $ECHO_N "(cached) $ECHO_C" >&6
42769 else
42770   if test x$gcc_no_link = xyes; then
42771   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42773    { (exit 1); exit 1; }; }
42774 fi
42775 cat >conftest.$ac_ext <<_ACEOF
42776 /* confdefs.h.  */
42777 _ACEOF
42778 cat confdefs.h >>conftest.$ac_ext
42779 cat >>conftest.$ac_ext <<_ACEOF
42780 /* end confdefs.h.  */
42781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42782    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42783 #define $ac_func innocuous_$ac_func
42784
42785 /* System header to define __stub macros and hopefully few prototypes,
42786     which can conflict with char $ac_func (); below.
42787     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42788     <limits.h> exists even on freestanding compilers.  */
42789
42790 #ifdef __STDC__
42791 # include <limits.h>
42792 #else
42793 # include <assert.h>
42794 #endif
42795
42796 #undef $ac_func
42797
42798 /* Override any gcc2 internal prototype to avoid an error.  */
42799 #ifdef __cplusplus
42800 extern "C"
42801 {
42802 #endif
42803 /* We use char because int might match the return type of a gcc2
42804    builtin and then its argument prototype would still apply.  */
42805 char $ac_func ();
42806 /* The GNU C library defines this for functions which it implements
42807     to always fail with ENOSYS.  Some functions are actually named
42808     something starting with __ and the normal name is an alias.  */
42809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42810 choke me
42811 #else
42812 char (*f) () = $ac_func;
42813 #endif
42814 #ifdef __cplusplus
42815 }
42816 #endif
42817
42818 int
42819 main ()
42820 {
42821 return f != $ac_func;
42822   ;
42823   return 0;
42824 }
42825 _ACEOF
42826 rm -f conftest.$ac_objext conftest$ac_exeext
42827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42828   (eval $ac_link) 2>conftest.er1
42829   ac_status=$?
42830   grep -v '^ *+' conftest.er1 >conftest.err
42831   rm -f conftest.er1
42832   cat conftest.err >&5
42833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42834   (exit $ac_status); } &&
42835          { ac_try='test -z "$ac_c_werror_flag"
42836                          || test ! -s conftest.err'
42837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42838   (eval $ac_try) 2>&5
42839   ac_status=$?
42840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42841   (exit $ac_status); }; } &&
42842          { ac_try='test -s conftest$ac_exeext'
42843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42844   (eval $ac_try) 2>&5
42845   ac_status=$?
42846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42847   (exit $ac_status); }; }; then
42848   eval "$as_ac_var=yes"
42849 else
42850   echo "$as_me: failed program was:" >&5
42851 sed 's/^/| /' conftest.$ac_ext >&5
42852
42853 eval "$as_ac_var=no"
42854 fi
42855 rm -f conftest.err conftest.$ac_objext \
42856       conftest$ac_exeext conftest.$ac_ext
42857 fi
42858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42860 if test `eval echo '${'$as_ac_var'}'` = yes; then
42861   cat >>confdefs.h <<_ACEOF
42862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42863 _ACEOF
42864
42865 fi
42866 done
42867
42868   else
42869
42870   echo "$as_me:$LINENO: checking for _expl declaration" >&5
42871 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
42872   if test x${glibcxx_cv_func__expl_use+set} != xset; then
42873     if test "${glibcxx_cv_func__expl_use+set}" = set; then
42874   echo $ECHO_N "(cached) $ECHO_C" >&6
42875 else
42876
42877
42878
42879       ac_ext=cc
42880 ac_cpp='$CXXCPP $CPPFLAGS'
42881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42884
42885       cat >conftest.$ac_ext <<_ACEOF
42886 /* confdefs.h.  */
42887 _ACEOF
42888 cat confdefs.h >>conftest.$ac_ext
42889 cat >>conftest.$ac_ext <<_ACEOF
42890 /* end confdefs.h.  */
42891 #include <math.h>
42892                       #ifdef HAVE_IEEEFP_H
42893                       #include <ieeefp.h>
42894                       #endif
42895
42896 int
42897 main ()
42898 {
42899  _expl(0);
42900   ;
42901   return 0;
42902 }
42903 _ACEOF
42904 rm -f conftest.$ac_objext
42905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42906   (eval $ac_compile) 2>conftest.er1
42907   ac_status=$?
42908   grep -v '^ *+' conftest.er1 >conftest.err
42909   rm -f conftest.er1
42910   cat conftest.err >&5
42911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42912   (exit $ac_status); } &&
42913          { ac_try='test -z "$ac_cxx_werror_flag"
42914                          || test ! -s conftest.err'
42915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42916   (eval $ac_try) 2>&5
42917   ac_status=$?
42918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42919   (exit $ac_status); }; } &&
42920          { ac_try='test -s conftest.$ac_objext'
42921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42922   (eval $ac_try) 2>&5
42923   ac_status=$?
42924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42925   (exit $ac_status); }; }; then
42926   glibcxx_cv_func__expl_use=yes
42927 else
42928   echo "$as_me: failed program was:" >&5
42929 sed 's/^/| /' conftest.$ac_ext >&5
42930
42931 glibcxx_cv_func__expl_use=no
42932 fi
42933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42934       ac_ext=c
42935 ac_cpp='$CPP $CPPFLAGS'
42936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42939
42940
42941 fi
42942
42943   fi
42944   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
42945 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
42946
42947     if test x$glibcxx_cv_func__expl_use = x"yes"; then
42948
42949 for ac_func in _expl
42950 do
42951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42952 echo "$as_me:$LINENO: checking for $ac_func" >&5
42953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42954 if eval "test \"\${$as_ac_var+set}\" = set"; then
42955   echo $ECHO_N "(cached) $ECHO_C" >&6
42956 else
42957   if test x$gcc_no_link = xyes; then
42958   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42960    { (exit 1); exit 1; }; }
42961 fi
42962 cat >conftest.$ac_ext <<_ACEOF
42963 /* confdefs.h.  */
42964 _ACEOF
42965 cat confdefs.h >>conftest.$ac_ext
42966 cat >>conftest.$ac_ext <<_ACEOF
42967 /* end confdefs.h.  */
42968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42969    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42970 #define $ac_func innocuous_$ac_func
42971
42972 /* System header to define __stub macros and hopefully few prototypes,
42973     which can conflict with char $ac_func (); below.
42974     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42975     <limits.h> exists even on freestanding compilers.  */
42976
42977 #ifdef __STDC__
42978 # include <limits.h>
42979 #else
42980 # include <assert.h>
42981 #endif
42982
42983 #undef $ac_func
42984
42985 /* Override any gcc2 internal prototype to avoid an error.  */
42986 #ifdef __cplusplus
42987 extern "C"
42988 {
42989 #endif
42990 /* We use char because int might match the return type of a gcc2
42991    builtin and then its argument prototype would still apply.  */
42992 char $ac_func ();
42993 /* The GNU C library defines this for functions which it implements
42994     to always fail with ENOSYS.  Some functions are actually named
42995     something starting with __ and the normal name is an alias.  */
42996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42997 choke me
42998 #else
42999 char (*f) () = $ac_func;
43000 #endif
43001 #ifdef __cplusplus
43002 }
43003 #endif
43004
43005 int
43006 main ()
43007 {
43008 return f != $ac_func;
43009   ;
43010   return 0;
43011 }
43012 _ACEOF
43013 rm -f conftest.$ac_objext conftest$ac_exeext
43014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43015   (eval $ac_link) 2>conftest.er1
43016   ac_status=$?
43017   grep -v '^ *+' conftest.er1 >conftest.err
43018   rm -f conftest.er1
43019   cat conftest.err >&5
43020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43021   (exit $ac_status); } &&
43022          { ac_try='test -z "$ac_c_werror_flag"
43023                          || test ! -s conftest.err'
43024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43025   (eval $ac_try) 2>&5
43026   ac_status=$?
43027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43028   (exit $ac_status); }; } &&
43029          { ac_try='test -s conftest$ac_exeext'
43030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43031   (eval $ac_try) 2>&5
43032   ac_status=$?
43033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43034   (exit $ac_status); }; }; then
43035   eval "$as_ac_var=yes"
43036 else
43037   echo "$as_me: failed program was:" >&5
43038 sed 's/^/| /' conftest.$ac_ext >&5
43039
43040 eval "$as_ac_var=no"
43041 fi
43042 rm -f conftest.err conftest.$ac_objext \
43043       conftest$ac_exeext conftest.$ac_ext
43044 fi
43045 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43046 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43047 if test `eval echo '${'$as_ac_var'}'` = yes; then
43048   cat >>confdefs.h <<_ACEOF
43049 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43050 _ACEOF
43051
43052 fi
43053 done
43054
43055     fi
43056   fi
43057
43058
43059
43060   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
43061 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
43062   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43063     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
43064   echo $ECHO_N "(cached) $ECHO_C" >&6
43065 else
43066
43067
43068
43069       ac_ext=cc
43070 ac_cpp='$CXXCPP $CPPFLAGS'
43071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43074
43075       cat >conftest.$ac_ext <<_ACEOF
43076 /* confdefs.h.  */
43077 _ACEOF
43078 cat confdefs.h >>conftest.$ac_ext
43079 cat >>conftest.$ac_ext <<_ACEOF
43080 /* end confdefs.h.  */
43081 #include <math.h>
43082                       #ifdef HAVE_IEEEFP_H
43083                       #include <ieeefp.h>
43084                       #endif
43085
43086 int
43087 main ()
43088 {
43089  fabsl(0);
43090   ;
43091   return 0;
43092 }
43093 _ACEOF
43094 rm -f conftest.$ac_objext
43095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43096   (eval $ac_compile) 2>conftest.er1
43097   ac_status=$?
43098   grep -v '^ *+' conftest.er1 >conftest.err
43099   rm -f conftest.er1
43100   cat conftest.err >&5
43101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43102   (exit $ac_status); } &&
43103          { ac_try='test -z "$ac_cxx_werror_flag"
43104                          || test ! -s conftest.err'
43105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43106   (eval $ac_try) 2>&5
43107   ac_status=$?
43108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43109   (exit $ac_status); }; } &&
43110          { ac_try='test -s conftest.$ac_objext'
43111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43112   (eval $ac_try) 2>&5
43113   ac_status=$?
43114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43115   (exit $ac_status); }; }; then
43116   glibcxx_cv_func_fabsl_use=yes
43117 else
43118   echo "$as_me: failed program was:" >&5
43119 sed 's/^/| /' conftest.$ac_ext >&5
43120
43121 glibcxx_cv_func_fabsl_use=no
43122 fi
43123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43124       ac_ext=c
43125 ac_cpp='$CPP $CPPFLAGS'
43126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43129
43130
43131 fi
43132
43133   fi
43134   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
43135 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
43136
43137   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43138
43139 for ac_func in fabsl
43140 do
43141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43142 echo "$as_me:$LINENO: checking for $ac_func" >&5
43143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43144 if eval "test \"\${$as_ac_var+set}\" = set"; then
43145   echo $ECHO_N "(cached) $ECHO_C" >&6
43146 else
43147   if test x$gcc_no_link = xyes; then
43148   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43150    { (exit 1); exit 1; }; }
43151 fi
43152 cat >conftest.$ac_ext <<_ACEOF
43153 /* confdefs.h.  */
43154 _ACEOF
43155 cat confdefs.h >>conftest.$ac_ext
43156 cat >>conftest.$ac_ext <<_ACEOF
43157 /* end confdefs.h.  */
43158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43159    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43160 #define $ac_func innocuous_$ac_func
43161
43162 /* System header to define __stub macros and hopefully few prototypes,
43163     which can conflict with char $ac_func (); below.
43164     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43165     <limits.h> exists even on freestanding compilers.  */
43166
43167 #ifdef __STDC__
43168 # include <limits.h>
43169 #else
43170 # include <assert.h>
43171 #endif
43172
43173 #undef $ac_func
43174
43175 /* Override any gcc2 internal prototype to avoid an error.  */
43176 #ifdef __cplusplus
43177 extern "C"
43178 {
43179 #endif
43180 /* We use char because int might match the return type of a gcc2
43181    builtin and then its argument prototype would still apply.  */
43182 char $ac_func ();
43183 /* The GNU C library defines this for functions which it implements
43184     to always fail with ENOSYS.  Some functions are actually named
43185     something starting with __ and the normal name is an alias.  */
43186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43187 choke me
43188 #else
43189 char (*f) () = $ac_func;
43190 #endif
43191 #ifdef __cplusplus
43192 }
43193 #endif
43194
43195 int
43196 main ()
43197 {
43198 return f != $ac_func;
43199   ;
43200   return 0;
43201 }
43202 _ACEOF
43203 rm -f conftest.$ac_objext conftest$ac_exeext
43204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43205   (eval $ac_link) 2>conftest.er1
43206   ac_status=$?
43207   grep -v '^ *+' conftest.er1 >conftest.err
43208   rm -f conftest.er1
43209   cat conftest.err >&5
43210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43211   (exit $ac_status); } &&
43212          { ac_try='test -z "$ac_c_werror_flag"
43213                          || test ! -s conftest.err'
43214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43215   (eval $ac_try) 2>&5
43216   ac_status=$?
43217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43218   (exit $ac_status); }; } &&
43219          { ac_try='test -s conftest$ac_exeext'
43220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43221   (eval $ac_try) 2>&5
43222   ac_status=$?
43223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43224   (exit $ac_status); }; }; then
43225   eval "$as_ac_var=yes"
43226 else
43227   echo "$as_me: failed program was:" >&5
43228 sed 's/^/| /' conftest.$ac_ext >&5
43229
43230 eval "$as_ac_var=no"
43231 fi
43232 rm -f conftest.err conftest.$ac_objext \
43233       conftest$ac_exeext conftest.$ac_ext
43234 fi
43235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43237 if test `eval echo '${'$as_ac_var'}'` = yes; then
43238   cat >>confdefs.h <<_ACEOF
43239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43240 _ACEOF
43241
43242 fi
43243 done
43244
43245   else
43246
43247   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
43248 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
43249   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43250     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
43251   echo $ECHO_N "(cached) $ECHO_C" >&6
43252 else
43253
43254
43255
43256       ac_ext=cc
43257 ac_cpp='$CXXCPP $CPPFLAGS'
43258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43261
43262       cat >conftest.$ac_ext <<_ACEOF
43263 /* confdefs.h.  */
43264 _ACEOF
43265 cat confdefs.h >>conftest.$ac_ext
43266 cat >>conftest.$ac_ext <<_ACEOF
43267 /* end confdefs.h.  */
43268 #include <math.h>
43269                       #ifdef HAVE_IEEEFP_H
43270                       #include <ieeefp.h>
43271                       #endif
43272
43273 int
43274 main ()
43275 {
43276  _fabsl(0);
43277   ;
43278   return 0;
43279 }
43280 _ACEOF
43281 rm -f conftest.$ac_objext
43282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43283   (eval $ac_compile) 2>conftest.er1
43284   ac_status=$?
43285   grep -v '^ *+' conftest.er1 >conftest.err
43286   rm -f conftest.er1
43287   cat conftest.err >&5
43288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43289   (exit $ac_status); } &&
43290          { ac_try='test -z "$ac_cxx_werror_flag"
43291                          || test ! -s conftest.err'
43292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43293   (eval $ac_try) 2>&5
43294   ac_status=$?
43295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43296   (exit $ac_status); }; } &&
43297          { ac_try='test -s conftest.$ac_objext'
43298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43299   (eval $ac_try) 2>&5
43300   ac_status=$?
43301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43302   (exit $ac_status); }; }; then
43303   glibcxx_cv_func__fabsl_use=yes
43304 else
43305   echo "$as_me: failed program was:" >&5
43306 sed 's/^/| /' conftest.$ac_ext >&5
43307
43308 glibcxx_cv_func__fabsl_use=no
43309 fi
43310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43311       ac_ext=c
43312 ac_cpp='$CPP $CPPFLAGS'
43313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43316
43317
43318 fi
43319
43320   fi
43321   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
43322 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
43323
43324     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43325
43326 for ac_func in _fabsl
43327 do
43328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43329 echo "$as_me:$LINENO: checking for $ac_func" >&5
43330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43331 if eval "test \"\${$as_ac_var+set}\" = set"; then
43332   echo $ECHO_N "(cached) $ECHO_C" >&6
43333 else
43334   if test x$gcc_no_link = xyes; then
43335   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43337    { (exit 1); exit 1; }; }
43338 fi
43339 cat >conftest.$ac_ext <<_ACEOF
43340 /* confdefs.h.  */
43341 _ACEOF
43342 cat confdefs.h >>conftest.$ac_ext
43343 cat >>conftest.$ac_ext <<_ACEOF
43344 /* end confdefs.h.  */
43345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43346    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43347 #define $ac_func innocuous_$ac_func
43348
43349 /* System header to define __stub macros and hopefully few prototypes,
43350     which can conflict with char $ac_func (); below.
43351     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43352     <limits.h> exists even on freestanding compilers.  */
43353
43354 #ifdef __STDC__
43355 # include <limits.h>
43356 #else
43357 # include <assert.h>
43358 #endif
43359
43360 #undef $ac_func
43361
43362 /* Override any gcc2 internal prototype to avoid an error.  */
43363 #ifdef __cplusplus
43364 extern "C"
43365 {
43366 #endif
43367 /* We use char because int might match the return type of a gcc2
43368    builtin and then its argument prototype would still apply.  */
43369 char $ac_func ();
43370 /* The GNU C library defines this for functions which it implements
43371     to always fail with ENOSYS.  Some functions are actually named
43372     something starting with __ and the normal name is an alias.  */
43373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43374 choke me
43375 #else
43376 char (*f) () = $ac_func;
43377 #endif
43378 #ifdef __cplusplus
43379 }
43380 #endif
43381
43382 int
43383 main ()
43384 {
43385 return f != $ac_func;
43386   ;
43387   return 0;
43388 }
43389 _ACEOF
43390 rm -f conftest.$ac_objext conftest$ac_exeext
43391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43392   (eval $ac_link) 2>conftest.er1
43393   ac_status=$?
43394   grep -v '^ *+' conftest.er1 >conftest.err
43395   rm -f conftest.er1
43396   cat conftest.err >&5
43397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43398   (exit $ac_status); } &&
43399          { ac_try='test -z "$ac_c_werror_flag"
43400                          || test ! -s conftest.err'
43401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43402   (eval $ac_try) 2>&5
43403   ac_status=$?
43404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43405   (exit $ac_status); }; } &&
43406          { ac_try='test -s conftest$ac_exeext'
43407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43408   (eval $ac_try) 2>&5
43409   ac_status=$?
43410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43411   (exit $ac_status); }; }; then
43412   eval "$as_ac_var=yes"
43413 else
43414   echo "$as_me: failed program was:" >&5
43415 sed 's/^/| /' conftest.$ac_ext >&5
43416
43417 eval "$as_ac_var=no"
43418 fi
43419 rm -f conftest.err conftest.$ac_objext \
43420       conftest$ac_exeext conftest.$ac_ext
43421 fi
43422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43424 if test `eval echo '${'$as_ac_var'}'` = yes; then
43425   cat >>confdefs.h <<_ACEOF
43426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43427 _ACEOF
43428
43429 fi
43430 done
43431
43432     fi
43433   fi
43434
43435
43436
43437   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
43438 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
43439   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43440     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
43441   echo $ECHO_N "(cached) $ECHO_C" >&6
43442 else
43443
43444
43445
43446       ac_ext=cc
43447 ac_cpp='$CXXCPP $CPPFLAGS'
43448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43451
43452       cat >conftest.$ac_ext <<_ACEOF
43453 /* confdefs.h.  */
43454 _ACEOF
43455 cat confdefs.h >>conftest.$ac_ext
43456 cat >>conftest.$ac_ext <<_ACEOF
43457 /* end confdefs.h.  */
43458 #include <math.h>
43459 int
43460 main ()
43461 {
43462  fmodl(0, 0);
43463   ;
43464   return 0;
43465 }
43466 _ACEOF
43467 rm -f conftest.$ac_objext
43468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43469   (eval $ac_compile) 2>conftest.er1
43470   ac_status=$?
43471   grep -v '^ *+' conftest.er1 >conftest.err
43472   rm -f conftest.er1
43473   cat conftest.err >&5
43474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43475   (exit $ac_status); } &&
43476          { ac_try='test -z "$ac_cxx_werror_flag"
43477                          || test ! -s conftest.err'
43478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43479   (eval $ac_try) 2>&5
43480   ac_status=$?
43481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43482   (exit $ac_status); }; } &&
43483          { ac_try='test -s conftest.$ac_objext'
43484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43485   (eval $ac_try) 2>&5
43486   ac_status=$?
43487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43488   (exit $ac_status); }; }; then
43489   glibcxx_cv_func_fmodl_use=yes
43490 else
43491   echo "$as_me: failed program was:" >&5
43492 sed 's/^/| /' conftest.$ac_ext >&5
43493
43494 glibcxx_cv_func_fmodl_use=no
43495 fi
43496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43497       ac_ext=c
43498 ac_cpp='$CPP $CPPFLAGS'
43499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43502
43503
43504 fi
43505
43506   fi
43507   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
43508 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
43509
43510   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43511
43512 for ac_func in fmodl
43513 do
43514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43515 echo "$as_me:$LINENO: checking for $ac_func" >&5
43516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43517 if eval "test \"\${$as_ac_var+set}\" = set"; then
43518   echo $ECHO_N "(cached) $ECHO_C" >&6
43519 else
43520   if test x$gcc_no_link = xyes; then
43521   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43523    { (exit 1); exit 1; }; }
43524 fi
43525 cat >conftest.$ac_ext <<_ACEOF
43526 /* confdefs.h.  */
43527 _ACEOF
43528 cat confdefs.h >>conftest.$ac_ext
43529 cat >>conftest.$ac_ext <<_ACEOF
43530 /* end confdefs.h.  */
43531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43532    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43533 #define $ac_func innocuous_$ac_func
43534
43535 /* System header to define __stub macros and hopefully few prototypes,
43536     which can conflict with char $ac_func (); below.
43537     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43538     <limits.h> exists even on freestanding compilers.  */
43539
43540 #ifdef __STDC__
43541 # include <limits.h>
43542 #else
43543 # include <assert.h>
43544 #endif
43545
43546 #undef $ac_func
43547
43548 /* Override any gcc2 internal prototype to avoid an error.  */
43549 #ifdef __cplusplus
43550 extern "C"
43551 {
43552 #endif
43553 /* We use char because int might match the return type of a gcc2
43554    builtin and then its argument prototype would still apply.  */
43555 char $ac_func ();
43556 /* The GNU C library defines this for functions which it implements
43557     to always fail with ENOSYS.  Some functions are actually named
43558     something starting with __ and the normal name is an alias.  */
43559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43560 choke me
43561 #else
43562 char (*f) () = $ac_func;
43563 #endif
43564 #ifdef __cplusplus
43565 }
43566 #endif
43567
43568 int
43569 main ()
43570 {
43571 return f != $ac_func;
43572   ;
43573   return 0;
43574 }
43575 _ACEOF
43576 rm -f conftest.$ac_objext conftest$ac_exeext
43577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43578   (eval $ac_link) 2>conftest.er1
43579   ac_status=$?
43580   grep -v '^ *+' conftest.er1 >conftest.err
43581   rm -f conftest.er1
43582   cat conftest.err >&5
43583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43584   (exit $ac_status); } &&
43585          { ac_try='test -z "$ac_c_werror_flag"
43586                          || test ! -s conftest.err'
43587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43588   (eval $ac_try) 2>&5
43589   ac_status=$?
43590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43591   (exit $ac_status); }; } &&
43592          { ac_try='test -s conftest$ac_exeext'
43593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43594   (eval $ac_try) 2>&5
43595   ac_status=$?
43596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43597   (exit $ac_status); }; }; then
43598   eval "$as_ac_var=yes"
43599 else
43600   echo "$as_me: failed program was:" >&5
43601 sed 's/^/| /' conftest.$ac_ext >&5
43602
43603 eval "$as_ac_var=no"
43604 fi
43605 rm -f conftest.err conftest.$ac_objext \
43606       conftest$ac_exeext conftest.$ac_ext
43607 fi
43608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43610 if test `eval echo '${'$as_ac_var'}'` = yes; then
43611   cat >>confdefs.h <<_ACEOF
43612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43613 _ACEOF
43614
43615 fi
43616 done
43617
43618   else
43619
43620   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
43621 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
43622   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43623     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
43624   echo $ECHO_N "(cached) $ECHO_C" >&6
43625 else
43626
43627
43628
43629       ac_ext=cc
43630 ac_cpp='$CXXCPP $CPPFLAGS'
43631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43634
43635       cat >conftest.$ac_ext <<_ACEOF
43636 /* confdefs.h.  */
43637 _ACEOF
43638 cat confdefs.h >>conftest.$ac_ext
43639 cat >>conftest.$ac_ext <<_ACEOF
43640 /* end confdefs.h.  */
43641 #include <math.h>
43642 int
43643 main ()
43644 {
43645  _fmodl(0, 0);
43646   ;
43647   return 0;
43648 }
43649 _ACEOF
43650 rm -f conftest.$ac_objext
43651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43652   (eval $ac_compile) 2>conftest.er1
43653   ac_status=$?
43654   grep -v '^ *+' conftest.er1 >conftest.err
43655   rm -f conftest.er1
43656   cat conftest.err >&5
43657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43658   (exit $ac_status); } &&
43659          { ac_try='test -z "$ac_cxx_werror_flag"
43660                          || test ! -s conftest.err'
43661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43662   (eval $ac_try) 2>&5
43663   ac_status=$?
43664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43665   (exit $ac_status); }; } &&
43666          { ac_try='test -s conftest.$ac_objext'
43667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43668   (eval $ac_try) 2>&5
43669   ac_status=$?
43670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43671   (exit $ac_status); }; }; then
43672   glibcxx_cv_func__fmodl_use=yes
43673 else
43674   echo "$as_me: failed program was:" >&5
43675 sed 's/^/| /' conftest.$ac_ext >&5
43676
43677 glibcxx_cv_func__fmodl_use=no
43678 fi
43679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43680       ac_ext=c
43681 ac_cpp='$CPP $CPPFLAGS'
43682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43685
43686
43687 fi
43688
43689   fi
43690   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
43691 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
43692
43693     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43694
43695 for ac_func in _fmodl
43696 do
43697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43698 echo "$as_me:$LINENO: checking for $ac_func" >&5
43699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43700 if eval "test \"\${$as_ac_var+set}\" = set"; then
43701   echo $ECHO_N "(cached) $ECHO_C" >&6
43702 else
43703   if test x$gcc_no_link = xyes; then
43704   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43706    { (exit 1); exit 1; }; }
43707 fi
43708 cat >conftest.$ac_ext <<_ACEOF
43709 /* confdefs.h.  */
43710 _ACEOF
43711 cat confdefs.h >>conftest.$ac_ext
43712 cat >>conftest.$ac_ext <<_ACEOF
43713 /* end confdefs.h.  */
43714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43715    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43716 #define $ac_func innocuous_$ac_func
43717
43718 /* System header to define __stub macros and hopefully few prototypes,
43719     which can conflict with char $ac_func (); below.
43720     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43721     <limits.h> exists even on freestanding compilers.  */
43722
43723 #ifdef __STDC__
43724 # include <limits.h>
43725 #else
43726 # include <assert.h>
43727 #endif
43728
43729 #undef $ac_func
43730
43731 /* Override any gcc2 internal prototype to avoid an error.  */
43732 #ifdef __cplusplus
43733 extern "C"
43734 {
43735 #endif
43736 /* We use char because int might match the return type of a gcc2
43737    builtin and then its argument prototype would still apply.  */
43738 char $ac_func ();
43739 /* The GNU C library defines this for functions which it implements
43740     to always fail with ENOSYS.  Some functions are actually named
43741     something starting with __ and the normal name is an alias.  */
43742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43743 choke me
43744 #else
43745 char (*f) () = $ac_func;
43746 #endif
43747 #ifdef __cplusplus
43748 }
43749 #endif
43750
43751 int
43752 main ()
43753 {
43754 return f != $ac_func;
43755   ;
43756   return 0;
43757 }
43758 _ACEOF
43759 rm -f conftest.$ac_objext conftest$ac_exeext
43760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43761   (eval $ac_link) 2>conftest.er1
43762   ac_status=$?
43763   grep -v '^ *+' conftest.er1 >conftest.err
43764   rm -f conftest.er1
43765   cat conftest.err >&5
43766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43767   (exit $ac_status); } &&
43768          { ac_try='test -z "$ac_c_werror_flag"
43769                          || test ! -s conftest.err'
43770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43771   (eval $ac_try) 2>&5
43772   ac_status=$?
43773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43774   (exit $ac_status); }; } &&
43775          { ac_try='test -s conftest$ac_exeext'
43776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43777   (eval $ac_try) 2>&5
43778   ac_status=$?
43779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43780   (exit $ac_status); }; }; then
43781   eval "$as_ac_var=yes"
43782 else
43783   echo "$as_me: failed program was:" >&5
43784 sed 's/^/| /' conftest.$ac_ext >&5
43785
43786 eval "$as_ac_var=no"
43787 fi
43788 rm -f conftest.err conftest.$ac_objext \
43789       conftest$ac_exeext conftest.$ac_ext
43790 fi
43791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43793 if test `eval echo '${'$as_ac_var'}'` = yes; then
43794   cat >>confdefs.h <<_ACEOF
43795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43796 _ACEOF
43797
43798 fi
43799 done
43800
43801     fi
43802   fi
43803
43804
43805
43806   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
43807 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
43808   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43809     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
43810   echo $ECHO_N "(cached) $ECHO_C" >&6
43811 else
43812
43813
43814
43815       ac_ext=cc
43816 ac_cpp='$CXXCPP $CPPFLAGS'
43817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43820
43821       cat >conftest.$ac_ext <<_ACEOF
43822 /* confdefs.h.  */
43823 _ACEOF
43824 cat confdefs.h >>conftest.$ac_ext
43825 cat >>conftest.$ac_ext <<_ACEOF
43826 /* end confdefs.h.  */
43827 #include <math.h>
43828 int
43829 main ()
43830 {
43831  frexpl(0, 0);
43832   ;
43833   return 0;
43834 }
43835 _ACEOF
43836 rm -f conftest.$ac_objext
43837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43838   (eval $ac_compile) 2>conftest.er1
43839   ac_status=$?
43840   grep -v '^ *+' conftest.er1 >conftest.err
43841   rm -f conftest.er1
43842   cat conftest.err >&5
43843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43844   (exit $ac_status); } &&
43845          { ac_try='test -z "$ac_cxx_werror_flag"
43846                          || test ! -s conftest.err'
43847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43848   (eval $ac_try) 2>&5
43849   ac_status=$?
43850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43851   (exit $ac_status); }; } &&
43852          { ac_try='test -s conftest.$ac_objext'
43853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43854   (eval $ac_try) 2>&5
43855   ac_status=$?
43856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43857   (exit $ac_status); }; }; then
43858   glibcxx_cv_func_frexpl_use=yes
43859 else
43860   echo "$as_me: failed program was:" >&5
43861 sed 's/^/| /' conftest.$ac_ext >&5
43862
43863 glibcxx_cv_func_frexpl_use=no
43864 fi
43865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43866       ac_ext=c
43867 ac_cpp='$CPP $CPPFLAGS'
43868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43871
43872
43873 fi
43874
43875   fi
43876   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
43877 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
43878
43879   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43880
43881 for ac_func in frexpl
43882 do
43883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43884 echo "$as_me:$LINENO: checking for $ac_func" >&5
43885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43886 if eval "test \"\${$as_ac_var+set}\" = set"; then
43887   echo $ECHO_N "(cached) $ECHO_C" >&6
43888 else
43889   if test x$gcc_no_link = xyes; then
43890   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43892    { (exit 1); exit 1; }; }
43893 fi
43894 cat >conftest.$ac_ext <<_ACEOF
43895 /* confdefs.h.  */
43896 _ACEOF
43897 cat confdefs.h >>conftest.$ac_ext
43898 cat >>conftest.$ac_ext <<_ACEOF
43899 /* end confdefs.h.  */
43900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43901    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43902 #define $ac_func innocuous_$ac_func
43903
43904 /* System header to define __stub macros and hopefully few prototypes,
43905     which can conflict with char $ac_func (); below.
43906     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43907     <limits.h> exists even on freestanding compilers.  */
43908
43909 #ifdef __STDC__
43910 # include <limits.h>
43911 #else
43912 # include <assert.h>
43913 #endif
43914
43915 #undef $ac_func
43916
43917 /* Override any gcc2 internal prototype to avoid an error.  */
43918 #ifdef __cplusplus
43919 extern "C"
43920 {
43921 #endif
43922 /* We use char because int might match the return type of a gcc2
43923    builtin and then its argument prototype would still apply.  */
43924 char $ac_func ();
43925 /* The GNU C library defines this for functions which it implements
43926     to always fail with ENOSYS.  Some functions are actually named
43927     something starting with __ and the normal name is an alias.  */
43928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43929 choke me
43930 #else
43931 char (*f) () = $ac_func;
43932 #endif
43933 #ifdef __cplusplus
43934 }
43935 #endif
43936
43937 int
43938 main ()
43939 {
43940 return f != $ac_func;
43941   ;
43942   return 0;
43943 }
43944 _ACEOF
43945 rm -f conftest.$ac_objext conftest$ac_exeext
43946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43947   (eval $ac_link) 2>conftest.er1
43948   ac_status=$?
43949   grep -v '^ *+' conftest.er1 >conftest.err
43950   rm -f conftest.er1
43951   cat conftest.err >&5
43952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43953   (exit $ac_status); } &&
43954          { ac_try='test -z "$ac_c_werror_flag"
43955                          || test ! -s conftest.err'
43956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43957   (eval $ac_try) 2>&5
43958   ac_status=$?
43959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43960   (exit $ac_status); }; } &&
43961          { ac_try='test -s conftest$ac_exeext'
43962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43963   (eval $ac_try) 2>&5
43964   ac_status=$?
43965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43966   (exit $ac_status); }; }; then
43967   eval "$as_ac_var=yes"
43968 else
43969   echo "$as_me: failed program was:" >&5
43970 sed 's/^/| /' conftest.$ac_ext >&5
43971
43972 eval "$as_ac_var=no"
43973 fi
43974 rm -f conftest.err conftest.$ac_objext \
43975       conftest$ac_exeext conftest.$ac_ext
43976 fi
43977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43979 if test `eval echo '${'$as_ac_var'}'` = yes; then
43980   cat >>confdefs.h <<_ACEOF
43981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43982 _ACEOF
43983
43984 fi
43985 done
43986
43987   else
43988
43989   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
43990 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
43991   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43992     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
43993   echo $ECHO_N "(cached) $ECHO_C" >&6
43994 else
43995
43996
43997
43998       ac_ext=cc
43999 ac_cpp='$CXXCPP $CPPFLAGS'
44000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44003
44004       cat >conftest.$ac_ext <<_ACEOF
44005 /* confdefs.h.  */
44006 _ACEOF
44007 cat confdefs.h >>conftest.$ac_ext
44008 cat >>conftest.$ac_ext <<_ACEOF
44009 /* end confdefs.h.  */
44010 #include <math.h>
44011 int
44012 main ()
44013 {
44014  _frexpl(0, 0);
44015   ;
44016   return 0;
44017 }
44018 _ACEOF
44019 rm -f conftest.$ac_objext
44020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44021   (eval $ac_compile) 2>conftest.er1
44022   ac_status=$?
44023   grep -v '^ *+' conftest.er1 >conftest.err
44024   rm -f conftest.er1
44025   cat conftest.err >&5
44026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44027   (exit $ac_status); } &&
44028          { ac_try='test -z "$ac_cxx_werror_flag"
44029                          || test ! -s conftest.err'
44030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44031   (eval $ac_try) 2>&5
44032   ac_status=$?
44033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44034   (exit $ac_status); }; } &&
44035          { ac_try='test -s conftest.$ac_objext'
44036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44037   (eval $ac_try) 2>&5
44038   ac_status=$?
44039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44040   (exit $ac_status); }; }; then
44041   glibcxx_cv_func__frexpl_use=yes
44042 else
44043   echo "$as_me: failed program was:" >&5
44044 sed 's/^/| /' conftest.$ac_ext >&5
44045
44046 glibcxx_cv_func__frexpl_use=no
44047 fi
44048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44049       ac_ext=c
44050 ac_cpp='$CPP $CPPFLAGS'
44051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44054
44055
44056 fi
44057
44058   fi
44059   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
44060 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
44061
44062     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44063
44064 for ac_func in _frexpl
44065 do
44066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44067 echo "$as_me:$LINENO: checking for $ac_func" >&5
44068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44069 if eval "test \"\${$as_ac_var+set}\" = set"; then
44070   echo $ECHO_N "(cached) $ECHO_C" >&6
44071 else
44072   if test x$gcc_no_link = xyes; then
44073   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44075    { (exit 1); exit 1; }; }
44076 fi
44077 cat >conftest.$ac_ext <<_ACEOF
44078 /* confdefs.h.  */
44079 _ACEOF
44080 cat confdefs.h >>conftest.$ac_ext
44081 cat >>conftest.$ac_ext <<_ACEOF
44082 /* end confdefs.h.  */
44083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44084    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44085 #define $ac_func innocuous_$ac_func
44086
44087 /* System header to define __stub macros and hopefully few prototypes,
44088     which can conflict with char $ac_func (); below.
44089     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44090     <limits.h> exists even on freestanding compilers.  */
44091
44092 #ifdef __STDC__
44093 # include <limits.h>
44094 #else
44095 # include <assert.h>
44096 #endif
44097
44098 #undef $ac_func
44099
44100 /* Override any gcc2 internal prototype to avoid an error.  */
44101 #ifdef __cplusplus
44102 extern "C"
44103 {
44104 #endif
44105 /* We use char because int might match the return type of a gcc2
44106    builtin and then its argument prototype would still apply.  */
44107 char $ac_func ();
44108 /* The GNU C library defines this for functions which it implements
44109     to always fail with ENOSYS.  Some functions are actually named
44110     something starting with __ and the normal name is an alias.  */
44111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44112 choke me
44113 #else
44114 char (*f) () = $ac_func;
44115 #endif
44116 #ifdef __cplusplus
44117 }
44118 #endif
44119
44120 int
44121 main ()
44122 {
44123 return f != $ac_func;
44124   ;
44125   return 0;
44126 }
44127 _ACEOF
44128 rm -f conftest.$ac_objext conftest$ac_exeext
44129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44130   (eval $ac_link) 2>conftest.er1
44131   ac_status=$?
44132   grep -v '^ *+' conftest.er1 >conftest.err
44133   rm -f conftest.er1
44134   cat conftest.err >&5
44135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44136   (exit $ac_status); } &&
44137          { ac_try='test -z "$ac_c_werror_flag"
44138                          || test ! -s conftest.err'
44139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44140   (eval $ac_try) 2>&5
44141   ac_status=$?
44142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44143   (exit $ac_status); }; } &&
44144          { ac_try='test -s conftest$ac_exeext'
44145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44146   (eval $ac_try) 2>&5
44147   ac_status=$?
44148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44149   (exit $ac_status); }; }; then
44150   eval "$as_ac_var=yes"
44151 else
44152   echo "$as_me: failed program was:" >&5
44153 sed 's/^/| /' conftest.$ac_ext >&5
44154
44155 eval "$as_ac_var=no"
44156 fi
44157 rm -f conftest.err conftest.$ac_objext \
44158       conftest$ac_exeext conftest.$ac_ext
44159 fi
44160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44162 if test `eval echo '${'$as_ac_var'}'` = yes; then
44163   cat >>confdefs.h <<_ACEOF
44164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44165 _ACEOF
44166
44167 fi
44168 done
44169
44170     fi
44171   fi
44172
44173
44174
44175   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
44176 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
44177   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44178     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
44179   echo $ECHO_N "(cached) $ECHO_C" >&6
44180 else
44181
44182
44183
44184       ac_ext=cc
44185 ac_cpp='$CXXCPP $CPPFLAGS'
44186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44189
44190       cat >conftest.$ac_ext <<_ACEOF
44191 /* confdefs.h.  */
44192 _ACEOF
44193 cat confdefs.h >>conftest.$ac_ext
44194 cat >>conftest.$ac_ext <<_ACEOF
44195 /* end confdefs.h.  */
44196 #include <math.h>
44197 int
44198 main ()
44199 {
44200  hypotl(0, 0);
44201   ;
44202   return 0;
44203 }
44204 _ACEOF
44205 rm -f conftest.$ac_objext
44206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44207   (eval $ac_compile) 2>conftest.er1
44208   ac_status=$?
44209   grep -v '^ *+' conftest.er1 >conftest.err
44210   rm -f conftest.er1
44211   cat conftest.err >&5
44212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44213   (exit $ac_status); } &&
44214          { ac_try='test -z "$ac_cxx_werror_flag"
44215                          || test ! -s conftest.err'
44216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44217   (eval $ac_try) 2>&5
44218   ac_status=$?
44219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44220   (exit $ac_status); }; } &&
44221          { ac_try='test -s conftest.$ac_objext'
44222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44223   (eval $ac_try) 2>&5
44224   ac_status=$?
44225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44226   (exit $ac_status); }; }; then
44227   glibcxx_cv_func_hypotl_use=yes
44228 else
44229   echo "$as_me: failed program was:" >&5
44230 sed 's/^/| /' conftest.$ac_ext >&5
44231
44232 glibcxx_cv_func_hypotl_use=no
44233 fi
44234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44235       ac_ext=c
44236 ac_cpp='$CPP $CPPFLAGS'
44237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44240
44241
44242 fi
44243
44244   fi
44245   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
44246 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
44247
44248   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44249
44250 for ac_func in hypotl
44251 do
44252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44253 echo "$as_me:$LINENO: checking for $ac_func" >&5
44254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44255 if eval "test \"\${$as_ac_var+set}\" = set"; then
44256   echo $ECHO_N "(cached) $ECHO_C" >&6
44257 else
44258   if test x$gcc_no_link = xyes; then
44259   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44261    { (exit 1); exit 1; }; }
44262 fi
44263 cat >conftest.$ac_ext <<_ACEOF
44264 /* confdefs.h.  */
44265 _ACEOF
44266 cat confdefs.h >>conftest.$ac_ext
44267 cat >>conftest.$ac_ext <<_ACEOF
44268 /* end confdefs.h.  */
44269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44270    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44271 #define $ac_func innocuous_$ac_func
44272
44273 /* System header to define __stub macros and hopefully few prototypes,
44274     which can conflict with char $ac_func (); below.
44275     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44276     <limits.h> exists even on freestanding compilers.  */
44277
44278 #ifdef __STDC__
44279 # include <limits.h>
44280 #else
44281 # include <assert.h>
44282 #endif
44283
44284 #undef $ac_func
44285
44286 /* Override any gcc2 internal prototype to avoid an error.  */
44287 #ifdef __cplusplus
44288 extern "C"
44289 {
44290 #endif
44291 /* We use char because int might match the return type of a gcc2
44292    builtin and then its argument prototype would still apply.  */
44293 char $ac_func ();
44294 /* The GNU C library defines this for functions which it implements
44295     to always fail with ENOSYS.  Some functions are actually named
44296     something starting with __ and the normal name is an alias.  */
44297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44298 choke me
44299 #else
44300 char (*f) () = $ac_func;
44301 #endif
44302 #ifdef __cplusplus
44303 }
44304 #endif
44305
44306 int
44307 main ()
44308 {
44309 return f != $ac_func;
44310   ;
44311   return 0;
44312 }
44313 _ACEOF
44314 rm -f conftest.$ac_objext conftest$ac_exeext
44315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44316   (eval $ac_link) 2>conftest.er1
44317   ac_status=$?
44318   grep -v '^ *+' conftest.er1 >conftest.err
44319   rm -f conftest.er1
44320   cat conftest.err >&5
44321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44322   (exit $ac_status); } &&
44323          { ac_try='test -z "$ac_c_werror_flag"
44324                          || test ! -s conftest.err'
44325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44326   (eval $ac_try) 2>&5
44327   ac_status=$?
44328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44329   (exit $ac_status); }; } &&
44330          { ac_try='test -s conftest$ac_exeext'
44331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44332   (eval $ac_try) 2>&5
44333   ac_status=$?
44334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44335   (exit $ac_status); }; }; then
44336   eval "$as_ac_var=yes"
44337 else
44338   echo "$as_me: failed program was:" >&5
44339 sed 's/^/| /' conftest.$ac_ext >&5
44340
44341 eval "$as_ac_var=no"
44342 fi
44343 rm -f conftest.err conftest.$ac_objext \
44344       conftest$ac_exeext conftest.$ac_ext
44345 fi
44346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44348 if test `eval echo '${'$as_ac_var'}'` = yes; then
44349   cat >>confdefs.h <<_ACEOF
44350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44351 _ACEOF
44352
44353 fi
44354 done
44355
44356   else
44357
44358   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
44359 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
44360   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44361     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
44362   echo $ECHO_N "(cached) $ECHO_C" >&6
44363 else
44364
44365
44366
44367       ac_ext=cc
44368 ac_cpp='$CXXCPP $CPPFLAGS'
44369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44372
44373       cat >conftest.$ac_ext <<_ACEOF
44374 /* confdefs.h.  */
44375 _ACEOF
44376 cat confdefs.h >>conftest.$ac_ext
44377 cat >>conftest.$ac_ext <<_ACEOF
44378 /* end confdefs.h.  */
44379 #include <math.h>
44380 int
44381 main ()
44382 {
44383  _hypotl(0, 0);
44384   ;
44385   return 0;
44386 }
44387 _ACEOF
44388 rm -f conftest.$ac_objext
44389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44390   (eval $ac_compile) 2>conftest.er1
44391   ac_status=$?
44392   grep -v '^ *+' conftest.er1 >conftest.err
44393   rm -f conftest.er1
44394   cat conftest.err >&5
44395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44396   (exit $ac_status); } &&
44397          { ac_try='test -z "$ac_cxx_werror_flag"
44398                          || test ! -s conftest.err'
44399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44400   (eval $ac_try) 2>&5
44401   ac_status=$?
44402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44403   (exit $ac_status); }; } &&
44404          { ac_try='test -s conftest.$ac_objext'
44405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44406   (eval $ac_try) 2>&5
44407   ac_status=$?
44408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44409   (exit $ac_status); }; }; then
44410   glibcxx_cv_func__hypotl_use=yes
44411 else
44412   echo "$as_me: failed program was:" >&5
44413 sed 's/^/| /' conftest.$ac_ext >&5
44414
44415 glibcxx_cv_func__hypotl_use=no
44416 fi
44417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44418       ac_ext=c
44419 ac_cpp='$CPP $CPPFLAGS'
44420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44423
44424
44425 fi
44426
44427   fi
44428   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
44429 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
44430
44431     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44432
44433 for ac_func in _hypotl
44434 do
44435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44436 echo "$as_me:$LINENO: checking for $ac_func" >&5
44437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44438 if eval "test \"\${$as_ac_var+set}\" = set"; then
44439   echo $ECHO_N "(cached) $ECHO_C" >&6
44440 else
44441   if test x$gcc_no_link = xyes; then
44442   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44444    { (exit 1); exit 1; }; }
44445 fi
44446 cat >conftest.$ac_ext <<_ACEOF
44447 /* confdefs.h.  */
44448 _ACEOF
44449 cat confdefs.h >>conftest.$ac_ext
44450 cat >>conftest.$ac_ext <<_ACEOF
44451 /* end confdefs.h.  */
44452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44453    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44454 #define $ac_func innocuous_$ac_func
44455
44456 /* System header to define __stub macros and hopefully few prototypes,
44457     which can conflict with char $ac_func (); below.
44458     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44459     <limits.h> exists even on freestanding compilers.  */
44460
44461 #ifdef __STDC__
44462 # include <limits.h>
44463 #else
44464 # include <assert.h>
44465 #endif
44466
44467 #undef $ac_func
44468
44469 /* Override any gcc2 internal prototype to avoid an error.  */
44470 #ifdef __cplusplus
44471 extern "C"
44472 {
44473 #endif
44474 /* We use char because int might match the return type of a gcc2
44475    builtin and then its argument prototype would still apply.  */
44476 char $ac_func ();
44477 /* The GNU C library defines this for functions which it implements
44478     to always fail with ENOSYS.  Some functions are actually named
44479     something starting with __ and the normal name is an alias.  */
44480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44481 choke me
44482 #else
44483 char (*f) () = $ac_func;
44484 #endif
44485 #ifdef __cplusplus
44486 }
44487 #endif
44488
44489 int
44490 main ()
44491 {
44492 return f != $ac_func;
44493   ;
44494   return 0;
44495 }
44496 _ACEOF
44497 rm -f conftest.$ac_objext conftest$ac_exeext
44498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44499   (eval $ac_link) 2>conftest.er1
44500   ac_status=$?
44501   grep -v '^ *+' conftest.er1 >conftest.err
44502   rm -f conftest.er1
44503   cat conftest.err >&5
44504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44505   (exit $ac_status); } &&
44506          { ac_try='test -z "$ac_c_werror_flag"
44507                          || test ! -s conftest.err'
44508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44509   (eval $ac_try) 2>&5
44510   ac_status=$?
44511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44512   (exit $ac_status); }; } &&
44513          { ac_try='test -s conftest$ac_exeext'
44514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44515   (eval $ac_try) 2>&5
44516   ac_status=$?
44517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44518   (exit $ac_status); }; }; then
44519   eval "$as_ac_var=yes"
44520 else
44521   echo "$as_me: failed program was:" >&5
44522 sed 's/^/| /' conftest.$ac_ext >&5
44523
44524 eval "$as_ac_var=no"
44525 fi
44526 rm -f conftest.err conftest.$ac_objext \
44527       conftest$ac_exeext conftest.$ac_ext
44528 fi
44529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44531 if test `eval echo '${'$as_ac_var'}'` = yes; then
44532   cat >>confdefs.h <<_ACEOF
44533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44534 _ACEOF
44535
44536 fi
44537 done
44538
44539     fi
44540   fi
44541
44542
44543
44544   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
44545 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
44546   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44547     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
44548   echo $ECHO_N "(cached) $ECHO_C" >&6
44549 else
44550
44551
44552
44553       ac_ext=cc
44554 ac_cpp='$CXXCPP $CPPFLAGS'
44555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44558
44559       cat >conftest.$ac_ext <<_ACEOF
44560 /* confdefs.h.  */
44561 _ACEOF
44562 cat confdefs.h >>conftest.$ac_ext
44563 cat >>conftest.$ac_ext <<_ACEOF
44564 /* end confdefs.h.  */
44565 #include <math.h>
44566 int
44567 main ()
44568 {
44569  ldexpl(0, 0);
44570   ;
44571   return 0;
44572 }
44573 _ACEOF
44574 rm -f conftest.$ac_objext
44575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44576   (eval $ac_compile) 2>conftest.er1
44577   ac_status=$?
44578   grep -v '^ *+' conftest.er1 >conftest.err
44579   rm -f conftest.er1
44580   cat conftest.err >&5
44581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44582   (exit $ac_status); } &&
44583          { ac_try='test -z "$ac_cxx_werror_flag"
44584                          || test ! -s conftest.err'
44585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44586   (eval $ac_try) 2>&5
44587   ac_status=$?
44588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44589   (exit $ac_status); }; } &&
44590          { ac_try='test -s conftest.$ac_objext'
44591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44592   (eval $ac_try) 2>&5
44593   ac_status=$?
44594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44595   (exit $ac_status); }; }; then
44596   glibcxx_cv_func_ldexpl_use=yes
44597 else
44598   echo "$as_me: failed program was:" >&5
44599 sed 's/^/| /' conftest.$ac_ext >&5
44600
44601 glibcxx_cv_func_ldexpl_use=no
44602 fi
44603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44604       ac_ext=c
44605 ac_cpp='$CPP $CPPFLAGS'
44606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44609
44610
44611 fi
44612
44613   fi
44614   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
44615 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
44616
44617   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44618
44619 for ac_func in ldexpl
44620 do
44621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44622 echo "$as_me:$LINENO: checking for $ac_func" >&5
44623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44624 if eval "test \"\${$as_ac_var+set}\" = set"; then
44625   echo $ECHO_N "(cached) $ECHO_C" >&6
44626 else
44627   if test x$gcc_no_link = xyes; then
44628   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44630    { (exit 1); exit 1; }; }
44631 fi
44632 cat >conftest.$ac_ext <<_ACEOF
44633 /* confdefs.h.  */
44634 _ACEOF
44635 cat confdefs.h >>conftest.$ac_ext
44636 cat >>conftest.$ac_ext <<_ACEOF
44637 /* end confdefs.h.  */
44638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44639    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44640 #define $ac_func innocuous_$ac_func
44641
44642 /* System header to define __stub macros and hopefully few prototypes,
44643     which can conflict with char $ac_func (); below.
44644     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44645     <limits.h> exists even on freestanding compilers.  */
44646
44647 #ifdef __STDC__
44648 # include <limits.h>
44649 #else
44650 # include <assert.h>
44651 #endif
44652
44653 #undef $ac_func
44654
44655 /* Override any gcc2 internal prototype to avoid an error.  */
44656 #ifdef __cplusplus
44657 extern "C"
44658 {
44659 #endif
44660 /* We use char because int might match the return type of a gcc2
44661    builtin and then its argument prototype would still apply.  */
44662 char $ac_func ();
44663 /* The GNU C library defines this for functions which it implements
44664     to always fail with ENOSYS.  Some functions are actually named
44665     something starting with __ and the normal name is an alias.  */
44666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44667 choke me
44668 #else
44669 char (*f) () = $ac_func;
44670 #endif
44671 #ifdef __cplusplus
44672 }
44673 #endif
44674
44675 int
44676 main ()
44677 {
44678 return f != $ac_func;
44679   ;
44680   return 0;
44681 }
44682 _ACEOF
44683 rm -f conftest.$ac_objext conftest$ac_exeext
44684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44685   (eval $ac_link) 2>conftest.er1
44686   ac_status=$?
44687   grep -v '^ *+' conftest.er1 >conftest.err
44688   rm -f conftest.er1
44689   cat conftest.err >&5
44690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44691   (exit $ac_status); } &&
44692          { ac_try='test -z "$ac_c_werror_flag"
44693                          || test ! -s conftest.err'
44694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44695   (eval $ac_try) 2>&5
44696   ac_status=$?
44697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44698   (exit $ac_status); }; } &&
44699          { ac_try='test -s conftest$ac_exeext'
44700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44701   (eval $ac_try) 2>&5
44702   ac_status=$?
44703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44704   (exit $ac_status); }; }; then
44705   eval "$as_ac_var=yes"
44706 else
44707   echo "$as_me: failed program was:" >&5
44708 sed 's/^/| /' conftest.$ac_ext >&5
44709
44710 eval "$as_ac_var=no"
44711 fi
44712 rm -f conftest.err conftest.$ac_objext \
44713       conftest$ac_exeext conftest.$ac_ext
44714 fi
44715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44717 if test `eval echo '${'$as_ac_var'}'` = yes; then
44718   cat >>confdefs.h <<_ACEOF
44719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44720 _ACEOF
44721
44722 fi
44723 done
44724
44725   else
44726
44727   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
44728 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
44729   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44730     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
44731   echo $ECHO_N "(cached) $ECHO_C" >&6
44732 else
44733
44734
44735
44736       ac_ext=cc
44737 ac_cpp='$CXXCPP $CPPFLAGS'
44738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44741
44742       cat >conftest.$ac_ext <<_ACEOF
44743 /* confdefs.h.  */
44744 _ACEOF
44745 cat confdefs.h >>conftest.$ac_ext
44746 cat >>conftest.$ac_ext <<_ACEOF
44747 /* end confdefs.h.  */
44748 #include <math.h>
44749 int
44750 main ()
44751 {
44752  _ldexpl(0, 0);
44753   ;
44754   return 0;
44755 }
44756 _ACEOF
44757 rm -f conftest.$ac_objext
44758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44759   (eval $ac_compile) 2>conftest.er1
44760   ac_status=$?
44761   grep -v '^ *+' conftest.er1 >conftest.err
44762   rm -f conftest.er1
44763   cat conftest.err >&5
44764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44765   (exit $ac_status); } &&
44766          { ac_try='test -z "$ac_cxx_werror_flag"
44767                          || test ! -s conftest.err'
44768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44769   (eval $ac_try) 2>&5
44770   ac_status=$?
44771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44772   (exit $ac_status); }; } &&
44773          { ac_try='test -s conftest.$ac_objext'
44774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44775   (eval $ac_try) 2>&5
44776   ac_status=$?
44777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44778   (exit $ac_status); }; }; then
44779   glibcxx_cv_func__ldexpl_use=yes
44780 else
44781   echo "$as_me: failed program was:" >&5
44782 sed 's/^/| /' conftest.$ac_ext >&5
44783
44784 glibcxx_cv_func__ldexpl_use=no
44785 fi
44786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44787       ac_ext=c
44788 ac_cpp='$CPP $CPPFLAGS'
44789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44792
44793
44794 fi
44795
44796   fi
44797   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
44798 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
44799
44800     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44801
44802 for ac_func in _ldexpl
44803 do
44804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44805 echo "$as_me:$LINENO: checking for $ac_func" >&5
44806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44807 if eval "test \"\${$as_ac_var+set}\" = set"; then
44808   echo $ECHO_N "(cached) $ECHO_C" >&6
44809 else
44810   if test x$gcc_no_link = xyes; then
44811   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44813    { (exit 1); exit 1; }; }
44814 fi
44815 cat >conftest.$ac_ext <<_ACEOF
44816 /* confdefs.h.  */
44817 _ACEOF
44818 cat confdefs.h >>conftest.$ac_ext
44819 cat >>conftest.$ac_ext <<_ACEOF
44820 /* end confdefs.h.  */
44821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44822    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44823 #define $ac_func innocuous_$ac_func
44824
44825 /* System header to define __stub macros and hopefully few prototypes,
44826     which can conflict with char $ac_func (); below.
44827     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44828     <limits.h> exists even on freestanding compilers.  */
44829
44830 #ifdef __STDC__
44831 # include <limits.h>
44832 #else
44833 # include <assert.h>
44834 #endif
44835
44836 #undef $ac_func
44837
44838 /* Override any gcc2 internal prototype to avoid an error.  */
44839 #ifdef __cplusplus
44840 extern "C"
44841 {
44842 #endif
44843 /* We use char because int might match the return type of a gcc2
44844    builtin and then its argument prototype would still apply.  */
44845 char $ac_func ();
44846 /* The GNU C library defines this for functions which it implements
44847     to always fail with ENOSYS.  Some functions are actually named
44848     something starting with __ and the normal name is an alias.  */
44849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44850 choke me
44851 #else
44852 char (*f) () = $ac_func;
44853 #endif
44854 #ifdef __cplusplus
44855 }
44856 #endif
44857
44858 int
44859 main ()
44860 {
44861 return f != $ac_func;
44862   ;
44863   return 0;
44864 }
44865 _ACEOF
44866 rm -f conftest.$ac_objext conftest$ac_exeext
44867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44868   (eval $ac_link) 2>conftest.er1
44869   ac_status=$?
44870   grep -v '^ *+' conftest.er1 >conftest.err
44871   rm -f conftest.er1
44872   cat conftest.err >&5
44873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44874   (exit $ac_status); } &&
44875          { ac_try='test -z "$ac_c_werror_flag"
44876                          || test ! -s conftest.err'
44877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44878   (eval $ac_try) 2>&5
44879   ac_status=$?
44880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44881   (exit $ac_status); }; } &&
44882          { ac_try='test -s conftest$ac_exeext'
44883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44884   (eval $ac_try) 2>&5
44885   ac_status=$?
44886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44887   (exit $ac_status); }; }; then
44888   eval "$as_ac_var=yes"
44889 else
44890   echo "$as_me: failed program was:" >&5
44891 sed 's/^/| /' conftest.$ac_ext >&5
44892
44893 eval "$as_ac_var=no"
44894 fi
44895 rm -f conftest.err conftest.$ac_objext \
44896       conftest$ac_exeext conftest.$ac_ext
44897 fi
44898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44899 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44900 if test `eval echo '${'$as_ac_var'}'` = yes; then
44901   cat >>confdefs.h <<_ACEOF
44902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44903 _ACEOF
44904
44905 fi
44906 done
44907
44908     fi
44909   fi
44910
44911
44912
44913   echo "$as_me:$LINENO: checking for logl declaration" >&5
44914 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
44915   if test x${glibcxx_cv_func_logl_use+set} != xset; then
44916     if test "${glibcxx_cv_func_logl_use+set}" = set; then
44917   echo $ECHO_N "(cached) $ECHO_C" >&6
44918 else
44919
44920
44921
44922       ac_ext=cc
44923 ac_cpp='$CXXCPP $CPPFLAGS'
44924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44927
44928       cat >conftest.$ac_ext <<_ACEOF
44929 /* confdefs.h.  */
44930 _ACEOF
44931 cat confdefs.h >>conftest.$ac_ext
44932 cat >>conftest.$ac_ext <<_ACEOF
44933 /* end confdefs.h.  */
44934 #include <math.h>
44935                       #ifdef HAVE_IEEEFP_H
44936                       #include <ieeefp.h>
44937                       #endif
44938
44939 int
44940 main ()
44941 {
44942  logl(0);
44943   ;
44944   return 0;
44945 }
44946 _ACEOF
44947 rm -f conftest.$ac_objext
44948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44949   (eval $ac_compile) 2>conftest.er1
44950   ac_status=$?
44951   grep -v '^ *+' conftest.er1 >conftest.err
44952   rm -f conftest.er1
44953   cat conftest.err >&5
44954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44955   (exit $ac_status); } &&
44956          { ac_try='test -z "$ac_cxx_werror_flag"
44957                          || test ! -s conftest.err'
44958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44959   (eval $ac_try) 2>&5
44960   ac_status=$?
44961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44962   (exit $ac_status); }; } &&
44963          { ac_try='test -s conftest.$ac_objext'
44964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44965   (eval $ac_try) 2>&5
44966   ac_status=$?
44967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44968   (exit $ac_status); }; }; then
44969   glibcxx_cv_func_logl_use=yes
44970 else
44971   echo "$as_me: failed program was:" >&5
44972 sed 's/^/| /' conftest.$ac_ext >&5
44973
44974 glibcxx_cv_func_logl_use=no
44975 fi
44976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44977       ac_ext=c
44978 ac_cpp='$CPP $CPPFLAGS'
44979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44982
44983
44984 fi
44985
44986   fi
44987   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
44988 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
44989
44990   if test x$glibcxx_cv_func_logl_use = x"yes"; then
44991
44992 for ac_func in logl
44993 do
44994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44995 echo "$as_me:$LINENO: checking for $ac_func" >&5
44996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44997 if eval "test \"\${$as_ac_var+set}\" = set"; then
44998   echo $ECHO_N "(cached) $ECHO_C" >&6
44999 else
45000   if test x$gcc_no_link = xyes; then
45001   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45003    { (exit 1); exit 1; }; }
45004 fi
45005 cat >conftest.$ac_ext <<_ACEOF
45006 /* confdefs.h.  */
45007 _ACEOF
45008 cat confdefs.h >>conftest.$ac_ext
45009 cat >>conftest.$ac_ext <<_ACEOF
45010 /* end confdefs.h.  */
45011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45012    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45013 #define $ac_func innocuous_$ac_func
45014
45015 /* System header to define __stub macros and hopefully few prototypes,
45016     which can conflict with char $ac_func (); below.
45017     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45018     <limits.h> exists even on freestanding compilers.  */
45019
45020 #ifdef __STDC__
45021 # include <limits.h>
45022 #else
45023 # include <assert.h>
45024 #endif
45025
45026 #undef $ac_func
45027
45028 /* Override any gcc2 internal prototype to avoid an error.  */
45029 #ifdef __cplusplus
45030 extern "C"
45031 {
45032 #endif
45033 /* We use char because int might match the return type of a gcc2
45034    builtin and then its argument prototype would still apply.  */
45035 char $ac_func ();
45036 /* The GNU C library defines this for functions which it implements
45037     to always fail with ENOSYS.  Some functions are actually named
45038     something starting with __ and the normal name is an alias.  */
45039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45040 choke me
45041 #else
45042 char (*f) () = $ac_func;
45043 #endif
45044 #ifdef __cplusplus
45045 }
45046 #endif
45047
45048 int
45049 main ()
45050 {
45051 return f != $ac_func;
45052   ;
45053   return 0;
45054 }
45055 _ACEOF
45056 rm -f conftest.$ac_objext conftest$ac_exeext
45057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45058   (eval $ac_link) 2>conftest.er1
45059   ac_status=$?
45060   grep -v '^ *+' conftest.er1 >conftest.err
45061   rm -f conftest.er1
45062   cat conftest.err >&5
45063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45064   (exit $ac_status); } &&
45065          { ac_try='test -z "$ac_c_werror_flag"
45066                          || test ! -s conftest.err'
45067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45068   (eval $ac_try) 2>&5
45069   ac_status=$?
45070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45071   (exit $ac_status); }; } &&
45072          { ac_try='test -s conftest$ac_exeext'
45073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45074   (eval $ac_try) 2>&5
45075   ac_status=$?
45076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45077   (exit $ac_status); }; }; then
45078   eval "$as_ac_var=yes"
45079 else
45080   echo "$as_me: failed program was:" >&5
45081 sed 's/^/| /' conftest.$ac_ext >&5
45082
45083 eval "$as_ac_var=no"
45084 fi
45085 rm -f conftest.err conftest.$ac_objext \
45086       conftest$ac_exeext conftest.$ac_ext
45087 fi
45088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45090 if test `eval echo '${'$as_ac_var'}'` = yes; then
45091   cat >>confdefs.h <<_ACEOF
45092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45093 _ACEOF
45094
45095 fi
45096 done
45097
45098   else
45099
45100   echo "$as_me:$LINENO: checking for _logl declaration" >&5
45101 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
45102   if test x${glibcxx_cv_func__logl_use+set} != xset; then
45103     if test "${glibcxx_cv_func__logl_use+set}" = set; then
45104   echo $ECHO_N "(cached) $ECHO_C" >&6
45105 else
45106
45107
45108
45109       ac_ext=cc
45110 ac_cpp='$CXXCPP $CPPFLAGS'
45111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45114
45115       cat >conftest.$ac_ext <<_ACEOF
45116 /* confdefs.h.  */
45117 _ACEOF
45118 cat confdefs.h >>conftest.$ac_ext
45119 cat >>conftest.$ac_ext <<_ACEOF
45120 /* end confdefs.h.  */
45121 #include <math.h>
45122                       #ifdef HAVE_IEEEFP_H
45123                       #include <ieeefp.h>
45124                       #endif
45125
45126 int
45127 main ()
45128 {
45129  _logl(0);
45130   ;
45131   return 0;
45132 }
45133 _ACEOF
45134 rm -f conftest.$ac_objext
45135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45136   (eval $ac_compile) 2>conftest.er1
45137   ac_status=$?
45138   grep -v '^ *+' conftest.er1 >conftest.err
45139   rm -f conftest.er1
45140   cat conftest.err >&5
45141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45142   (exit $ac_status); } &&
45143          { ac_try='test -z "$ac_cxx_werror_flag"
45144                          || test ! -s conftest.err'
45145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45146   (eval $ac_try) 2>&5
45147   ac_status=$?
45148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45149   (exit $ac_status); }; } &&
45150          { ac_try='test -s conftest.$ac_objext'
45151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45152   (eval $ac_try) 2>&5
45153   ac_status=$?
45154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45155   (exit $ac_status); }; }; then
45156   glibcxx_cv_func__logl_use=yes
45157 else
45158   echo "$as_me: failed program was:" >&5
45159 sed 's/^/| /' conftest.$ac_ext >&5
45160
45161 glibcxx_cv_func__logl_use=no
45162 fi
45163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45164       ac_ext=c
45165 ac_cpp='$CPP $CPPFLAGS'
45166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45169
45170
45171 fi
45172
45173   fi
45174   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
45175 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
45176
45177     if test x$glibcxx_cv_func__logl_use = x"yes"; then
45178
45179 for ac_func in _logl
45180 do
45181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45182 echo "$as_me:$LINENO: checking for $ac_func" >&5
45183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45184 if eval "test \"\${$as_ac_var+set}\" = set"; then
45185   echo $ECHO_N "(cached) $ECHO_C" >&6
45186 else
45187   if test x$gcc_no_link = xyes; then
45188   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45190    { (exit 1); exit 1; }; }
45191 fi
45192 cat >conftest.$ac_ext <<_ACEOF
45193 /* confdefs.h.  */
45194 _ACEOF
45195 cat confdefs.h >>conftest.$ac_ext
45196 cat >>conftest.$ac_ext <<_ACEOF
45197 /* end confdefs.h.  */
45198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45199    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45200 #define $ac_func innocuous_$ac_func
45201
45202 /* System header to define __stub macros and hopefully few prototypes,
45203     which can conflict with char $ac_func (); below.
45204     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45205     <limits.h> exists even on freestanding compilers.  */
45206
45207 #ifdef __STDC__
45208 # include <limits.h>
45209 #else
45210 # include <assert.h>
45211 #endif
45212
45213 #undef $ac_func
45214
45215 /* Override any gcc2 internal prototype to avoid an error.  */
45216 #ifdef __cplusplus
45217 extern "C"
45218 {
45219 #endif
45220 /* We use char because int might match the return type of a gcc2
45221    builtin and then its argument prototype would still apply.  */
45222 char $ac_func ();
45223 /* The GNU C library defines this for functions which it implements
45224     to always fail with ENOSYS.  Some functions are actually named
45225     something starting with __ and the normal name is an alias.  */
45226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45227 choke me
45228 #else
45229 char (*f) () = $ac_func;
45230 #endif
45231 #ifdef __cplusplus
45232 }
45233 #endif
45234
45235 int
45236 main ()
45237 {
45238 return f != $ac_func;
45239   ;
45240   return 0;
45241 }
45242 _ACEOF
45243 rm -f conftest.$ac_objext conftest$ac_exeext
45244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45245   (eval $ac_link) 2>conftest.er1
45246   ac_status=$?
45247   grep -v '^ *+' conftest.er1 >conftest.err
45248   rm -f conftest.er1
45249   cat conftest.err >&5
45250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45251   (exit $ac_status); } &&
45252          { ac_try='test -z "$ac_c_werror_flag"
45253                          || test ! -s conftest.err'
45254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45255   (eval $ac_try) 2>&5
45256   ac_status=$?
45257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45258   (exit $ac_status); }; } &&
45259          { ac_try='test -s conftest$ac_exeext'
45260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45261   (eval $ac_try) 2>&5
45262   ac_status=$?
45263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45264   (exit $ac_status); }; }; then
45265   eval "$as_ac_var=yes"
45266 else
45267   echo "$as_me: failed program was:" >&5
45268 sed 's/^/| /' conftest.$ac_ext >&5
45269
45270 eval "$as_ac_var=no"
45271 fi
45272 rm -f conftest.err conftest.$ac_objext \
45273       conftest$ac_exeext conftest.$ac_ext
45274 fi
45275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45277 if test `eval echo '${'$as_ac_var'}'` = yes; then
45278   cat >>confdefs.h <<_ACEOF
45279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45280 _ACEOF
45281
45282 fi
45283 done
45284
45285     fi
45286   fi
45287
45288
45289
45290   echo "$as_me:$LINENO: checking for log10l declaration" >&5
45291 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
45292   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45293     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
45294   echo $ECHO_N "(cached) $ECHO_C" >&6
45295 else
45296
45297
45298
45299       ac_ext=cc
45300 ac_cpp='$CXXCPP $CPPFLAGS'
45301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45304
45305       cat >conftest.$ac_ext <<_ACEOF
45306 /* confdefs.h.  */
45307 _ACEOF
45308 cat confdefs.h >>conftest.$ac_ext
45309 cat >>conftest.$ac_ext <<_ACEOF
45310 /* end confdefs.h.  */
45311 #include <math.h>
45312                       #ifdef HAVE_IEEEFP_H
45313                       #include <ieeefp.h>
45314                       #endif
45315
45316 int
45317 main ()
45318 {
45319  log10l(0);
45320   ;
45321   return 0;
45322 }
45323 _ACEOF
45324 rm -f conftest.$ac_objext
45325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45326   (eval $ac_compile) 2>conftest.er1
45327   ac_status=$?
45328   grep -v '^ *+' conftest.er1 >conftest.err
45329   rm -f conftest.er1
45330   cat conftest.err >&5
45331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45332   (exit $ac_status); } &&
45333          { ac_try='test -z "$ac_cxx_werror_flag"
45334                          || test ! -s conftest.err'
45335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45336   (eval $ac_try) 2>&5
45337   ac_status=$?
45338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45339   (exit $ac_status); }; } &&
45340          { ac_try='test -s conftest.$ac_objext'
45341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45342   (eval $ac_try) 2>&5
45343   ac_status=$?
45344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45345   (exit $ac_status); }; }; then
45346   glibcxx_cv_func_log10l_use=yes
45347 else
45348   echo "$as_me: failed program was:" >&5
45349 sed 's/^/| /' conftest.$ac_ext >&5
45350
45351 glibcxx_cv_func_log10l_use=no
45352 fi
45353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45354       ac_ext=c
45355 ac_cpp='$CPP $CPPFLAGS'
45356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45359
45360
45361 fi
45362
45363   fi
45364   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
45365 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
45366
45367   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45368
45369 for ac_func in log10l
45370 do
45371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45372 echo "$as_me:$LINENO: checking for $ac_func" >&5
45373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45374 if eval "test \"\${$as_ac_var+set}\" = set"; then
45375   echo $ECHO_N "(cached) $ECHO_C" >&6
45376 else
45377   if test x$gcc_no_link = xyes; then
45378   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45380    { (exit 1); exit 1; }; }
45381 fi
45382 cat >conftest.$ac_ext <<_ACEOF
45383 /* confdefs.h.  */
45384 _ACEOF
45385 cat confdefs.h >>conftest.$ac_ext
45386 cat >>conftest.$ac_ext <<_ACEOF
45387 /* end confdefs.h.  */
45388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45389    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45390 #define $ac_func innocuous_$ac_func
45391
45392 /* System header to define __stub macros and hopefully few prototypes,
45393     which can conflict with char $ac_func (); below.
45394     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45395     <limits.h> exists even on freestanding compilers.  */
45396
45397 #ifdef __STDC__
45398 # include <limits.h>
45399 #else
45400 # include <assert.h>
45401 #endif
45402
45403 #undef $ac_func
45404
45405 /* Override any gcc2 internal prototype to avoid an error.  */
45406 #ifdef __cplusplus
45407 extern "C"
45408 {
45409 #endif
45410 /* We use char because int might match the return type of a gcc2
45411    builtin and then its argument prototype would still apply.  */
45412 char $ac_func ();
45413 /* The GNU C library defines this for functions which it implements
45414     to always fail with ENOSYS.  Some functions are actually named
45415     something starting with __ and the normal name is an alias.  */
45416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45417 choke me
45418 #else
45419 char (*f) () = $ac_func;
45420 #endif
45421 #ifdef __cplusplus
45422 }
45423 #endif
45424
45425 int
45426 main ()
45427 {
45428 return f != $ac_func;
45429   ;
45430   return 0;
45431 }
45432 _ACEOF
45433 rm -f conftest.$ac_objext conftest$ac_exeext
45434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45435   (eval $ac_link) 2>conftest.er1
45436   ac_status=$?
45437   grep -v '^ *+' conftest.er1 >conftest.err
45438   rm -f conftest.er1
45439   cat conftest.err >&5
45440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45441   (exit $ac_status); } &&
45442          { ac_try='test -z "$ac_c_werror_flag"
45443                          || test ! -s conftest.err'
45444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45445   (eval $ac_try) 2>&5
45446   ac_status=$?
45447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45448   (exit $ac_status); }; } &&
45449          { ac_try='test -s conftest$ac_exeext'
45450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45451   (eval $ac_try) 2>&5
45452   ac_status=$?
45453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45454   (exit $ac_status); }; }; then
45455   eval "$as_ac_var=yes"
45456 else
45457   echo "$as_me: failed program was:" >&5
45458 sed 's/^/| /' conftest.$ac_ext >&5
45459
45460 eval "$as_ac_var=no"
45461 fi
45462 rm -f conftest.err conftest.$ac_objext \
45463       conftest$ac_exeext conftest.$ac_ext
45464 fi
45465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45467 if test `eval echo '${'$as_ac_var'}'` = yes; then
45468   cat >>confdefs.h <<_ACEOF
45469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45470 _ACEOF
45471
45472 fi
45473 done
45474
45475   else
45476
45477   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
45478 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
45479   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45480     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
45481   echo $ECHO_N "(cached) $ECHO_C" >&6
45482 else
45483
45484
45485
45486       ac_ext=cc
45487 ac_cpp='$CXXCPP $CPPFLAGS'
45488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45491
45492       cat >conftest.$ac_ext <<_ACEOF
45493 /* confdefs.h.  */
45494 _ACEOF
45495 cat confdefs.h >>conftest.$ac_ext
45496 cat >>conftest.$ac_ext <<_ACEOF
45497 /* end confdefs.h.  */
45498 #include <math.h>
45499                       #ifdef HAVE_IEEEFP_H
45500                       #include <ieeefp.h>
45501                       #endif
45502
45503 int
45504 main ()
45505 {
45506  _log10l(0);
45507   ;
45508   return 0;
45509 }
45510 _ACEOF
45511 rm -f conftest.$ac_objext
45512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45513   (eval $ac_compile) 2>conftest.er1
45514   ac_status=$?
45515   grep -v '^ *+' conftest.er1 >conftest.err
45516   rm -f conftest.er1
45517   cat conftest.err >&5
45518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45519   (exit $ac_status); } &&
45520          { ac_try='test -z "$ac_cxx_werror_flag"
45521                          || test ! -s conftest.err'
45522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45523   (eval $ac_try) 2>&5
45524   ac_status=$?
45525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45526   (exit $ac_status); }; } &&
45527          { ac_try='test -s conftest.$ac_objext'
45528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45529   (eval $ac_try) 2>&5
45530   ac_status=$?
45531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45532   (exit $ac_status); }; }; then
45533   glibcxx_cv_func__log10l_use=yes
45534 else
45535   echo "$as_me: failed program was:" >&5
45536 sed 's/^/| /' conftest.$ac_ext >&5
45537
45538 glibcxx_cv_func__log10l_use=no
45539 fi
45540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45541       ac_ext=c
45542 ac_cpp='$CPP $CPPFLAGS'
45543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45546
45547
45548 fi
45549
45550   fi
45551   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
45552 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
45553
45554     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45555
45556 for ac_func in _log10l
45557 do
45558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45559 echo "$as_me:$LINENO: checking for $ac_func" >&5
45560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45561 if eval "test \"\${$as_ac_var+set}\" = set"; then
45562   echo $ECHO_N "(cached) $ECHO_C" >&6
45563 else
45564   if test x$gcc_no_link = xyes; then
45565   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45567    { (exit 1); exit 1; }; }
45568 fi
45569 cat >conftest.$ac_ext <<_ACEOF
45570 /* confdefs.h.  */
45571 _ACEOF
45572 cat confdefs.h >>conftest.$ac_ext
45573 cat >>conftest.$ac_ext <<_ACEOF
45574 /* end confdefs.h.  */
45575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45576    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45577 #define $ac_func innocuous_$ac_func
45578
45579 /* System header to define __stub macros and hopefully few prototypes,
45580     which can conflict with char $ac_func (); below.
45581     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45582     <limits.h> exists even on freestanding compilers.  */
45583
45584 #ifdef __STDC__
45585 # include <limits.h>
45586 #else
45587 # include <assert.h>
45588 #endif
45589
45590 #undef $ac_func
45591
45592 /* Override any gcc2 internal prototype to avoid an error.  */
45593 #ifdef __cplusplus
45594 extern "C"
45595 {
45596 #endif
45597 /* We use char because int might match the return type of a gcc2
45598    builtin and then its argument prototype would still apply.  */
45599 char $ac_func ();
45600 /* The GNU C library defines this for functions which it implements
45601     to always fail with ENOSYS.  Some functions are actually named
45602     something starting with __ and the normal name is an alias.  */
45603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45604 choke me
45605 #else
45606 char (*f) () = $ac_func;
45607 #endif
45608 #ifdef __cplusplus
45609 }
45610 #endif
45611
45612 int
45613 main ()
45614 {
45615 return f != $ac_func;
45616   ;
45617   return 0;
45618 }
45619 _ACEOF
45620 rm -f conftest.$ac_objext conftest$ac_exeext
45621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45622   (eval $ac_link) 2>conftest.er1
45623   ac_status=$?
45624   grep -v '^ *+' conftest.er1 >conftest.err
45625   rm -f conftest.er1
45626   cat conftest.err >&5
45627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45628   (exit $ac_status); } &&
45629          { ac_try='test -z "$ac_c_werror_flag"
45630                          || test ! -s conftest.err'
45631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45632   (eval $ac_try) 2>&5
45633   ac_status=$?
45634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45635   (exit $ac_status); }; } &&
45636          { ac_try='test -s conftest$ac_exeext'
45637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45638   (eval $ac_try) 2>&5
45639   ac_status=$?
45640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45641   (exit $ac_status); }; }; then
45642   eval "$as_ac_var=yes"
45643 else
45644   echo "$as_me: failed program was:" >&5
45645 sed 's/^/| /' conftest.$ac_ext >&5
45646
45647 eval "$as_ac_var=no"
45648 fi
45649 rm -f conftest.err conftest.$ac_objext \
45650       conftest$ac_exeext conftest.$ac_ext
45651 fi
45652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45654 if test `eval echo '${'$as_ac_var'}'` = yes; then
45655   cat >>confdefs.h <<_ACEOF
45656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45657 _ACEOF
45658
45659 fi
45660 done
45661
45662     fi
45663   fi
45664
45665
45666
45667   echo "$as_me:$LINENO: checking for modfl declaration" >&5
45668 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
45669   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45670     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
45671   echo $ECHO_N "(cached) $ECHO_C" >&6
45672 else
45673
45674
45675
45676       ac_ext=cc
45677 ac_cpp='$CXXCPP $CPPFLAGS'
45678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45681
45682       cat >conftest.$ac_ext <<_ACEOF
45683 /* confdefs.h.  */
45684 _ACEOF
45685 cat confdefs.h >>conftest.$ac_ext
45686 cat >>conftest.$ac_ext <<_ACEOF
45687 /* end confdefs.h.  */
45688 #include <math.h>
45689 int
45690 main ()
45691 {
45692  modfl(0, 0);
45693   ;
45694   return 0;
45695 }
45696 _ACEOF
45697 rm -f conftest.$ac_objext
45698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45699   (eval $ac_compile) 2>conftest.er1
45700   ac_status=$?
45701   grep -v '^ *+' conftest.er1 >conftest.err
45702   rm -f conftest.er1
45703   cat conftest.err >&5
45704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45705   (exit $ac_status); } &&
45706          { ac_try='test -z "$ac_cxx_werror_flag"
45707                          || test ! -s conftest.err'
45708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45709   (eval $ac_try) 2>&5
45710   ac_status=$?
45711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45712   (exit $ac_status); }; } &&
45713          { ac_try='test -s conftest.$ac_objext'
45714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45715   (eval $ac_try) 2>&5
45716   ac_status=$?
45717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45718   (exit $ac_status); }; }; then
45719   glibcxx_cv_func_modfl_use=yes
45720 else
45721   echo "$as_me: failed program was:" >&5
45722 sed 's/^/| /' conftest.$ac_ext >&5
45723
45724 glibcxx_cv_func_modfl_use=no
45725 fi
45726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45727       ac_ext=c
45728 ac_cpp='$CPP $CPPFLAGS'
45729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45732
45733
45734 fi
45735
45736   fi
45737   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
45738 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
45739
45740   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45741
45742 for ac_func in modfl
45743 do
45744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45745 echo "$as_me:$LINENO: checking for $ac_func" >&5
45746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45747 if eval "test \"\${$as_ac_var+set}\" = set"; then
45748   echo $ECHO_N "(cached) $ECHO_C" >&6
45749 else
45750   if test x$gcc_no_link = xyes; then
45751   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45753    { (exit 1); exit 1; }; }
45754 fi
45755 cat >conftest.$ac_ext <<_ACEOF
45756 /* confdefs.h.  */
45757 _ACEOF
45758 cat confdefs.h >>conftest.$ac_ext
45759 cat >>conftest.$ac_ext <<_ACEOF
45760 /* end confdefs.h.  */
45761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45762    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45763 #define $ac_func innocuous_$ac_func
45764
45765 /* System header to define __stub macros and hopefully few prototypes,
45766     which can conflict with char $ac_func (); below.
45767     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45768     <limits.h> exists even on freestanding compilers.  */
45769
45770 #ifdef __STDC__
45771 # include <limits.h>
45772 #else
45773 # include <assert.h>
45774 #endif
45775
45776 #undef $ac_func
45777
45778 /* Override any gcc2 internal prototype to avoid an error.  */
45779 #ifdef __cplusplus
45780 extern "C"
45781 {
45782 #endif
45783 /* We use char because int might match the return type of a gcc2
45784    builtin and then its argument prototype would still apply.  */
45785 char $ac_func ();
45786 /* The GNU C library defines this for functions which it implements
45787     to always fail with ENOSYS.  Some functions are actually named
45788     something starting with __ and the normal name is an alias.  */
45789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45790 choke me
45791 #else
45792 char (*f) () = $ac_func;
45793 #endif
45794 #ifdef __cplusplus
45795 }
45796 #endif
45797
45798 int
45799 main ()
45800 {
45801 return f != $ac_func;
45802   ;
45803   return 0;
45804 }
45805 _ACEOF
45806 rm -f conftest.$ac_objext conftest$ac_exeext
45807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45808   (eval $ac_link) 2>conftest.er1
45809   ac_status=$?
45810   grep -v '^ *+' conftest.er1 >conftest.err
45811   rm -f conftest.er1
45812   cat conftest.err >&5
45813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45814   (exit $ac_status); } &&
45815          { ac_try='test -z "$ac_c_werror_flag"
45816                          || test ! -s conftest.err'
45817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45818   (eval $ac_try) 2>&5
45819   ac_status=$?
45820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45821   (exit $ac_status); }; } &&
45822          { ac_try='test -s conftest$ac_exeext'
45823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45824   (eval $ac_try) 2>&5
45825   ac_status=$?
45826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45827   (exit $ac_status); }; }; then
45828   eval "$as_ac_var=yes"
45829 else
45830   echo "$as_me: failed program was:" >&5
45831 sed 's/^/| /' conftest.$ac_ext >&5
45832
45833 eval "$as_ac_var=no"
45834 fi
45835 rm -f conftest.err conftest.$ac_objext \
45836       conftest$ac_exeext conftest.$ac_ext
45837 fi
45838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45840 if test `eval echo '${'$as_ac_var'}'` = yes; then
45841   cat >>confdefs.h <<_ACEOF
45842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45843 _ACEOF
45844
45845 fi
45846 done
45847
45848   else
45849
45850   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
45851 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
45852   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45853     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
45854   echo $ECHO_N "(cached) $ECHO_C" >&6
45855 else
45856
45857
45858
45859       ac_ext=cc
45860 ac_cpp='$CXXCPP $CPPFLAGS'
45861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45864
45865       cat >conftest.$ac_ext <<_ACEOF
45866 /* confdefs.h.  */
45867 _ACEOF
45868 cat confdefs.h >>conftest.$ac_ext
45869 cat >>conftest.$ac_ext <<_ACEOF
45870 /* end confdefs.h.  */
45871 #include <math.h>
45872 int
45873 main ()
45874 {
45875  _modfl(0, 0);
45876   ;
45877   return 0;
45878 }
45879 _ACEOF
45880 rm -f conftest.$ac_objext
45881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45882   (eval $ac_compile) 2>conftest.er1
45883   ac_status=$?
45884   grep -v '^ *+' conftest.er1 >conftest.err
45885   rm -f conftest.er1
45886   cat conftest.err >&5
45887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45888   (exit $ac_status); } &&
45889          { ac_try='test -z "$ac_cxx_werror_flag"
45890                          || test ! -s conftest.err'
45891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45892   (eval $ac_try) 2>&5
45893   ac_status=$?
45894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45895   (exit $ac_status); }; } &&
45896          { ac_try='test -s conftest.$ac_objext'
45897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45898   (eval $ac_try) 2>&5
45899   ac_status=$?
45900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45901   (exit $ac_status); }; }; then
45902   glibcxx_cv_func__modfl_use=yes
45903 else
45904   echo "$as_me: failed program was:" >&5
45905 sed 's/^/| /' conftest.$ac_ext >&5
45906
45907 glibcxx_cv_func__modfl_use=no
45908 fi
45909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45910       ac_ext=c
45911 ac_cpp='$CPP $CPPFLAGS'
45912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45915
45916
45917 fi
45918
45919   fi
45920   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
45921 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
45922
45923     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45924
45925 for ac_func in _modfl
45926 do
45927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45928 echo "$as_me:$LINENO: checking for $ac_func" >&5
45929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45930 if eval "test \"\${$as_ac_var+set}\" = set"; then
45931   echo $ECHO_N "(cached) $ECHO_C" >&6
45932 else
45933   if test x$gcc_no_link = xyes; then
45934   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45936    { (exit 1); exit 1; }; }
45937 fi
45938 cat >conftest.$ac_ext <<_ACEOF
45939 /* confdefs.h.  */
45940 _ACEOF
45941 cat confdefs.h >>conftest.$ac_ext
45942 cat >>conftest.$ac_ext <<_ACEOF
45943 /* end confdefs.h.  */
45944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45945    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45946 #define $ac_func innocuous_$ac_func
45947
45948 /* System header to define __stub macros and hopefully few prototypes,
45949     which can conflict with char $ac_func (); below.
45950     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45951     <limits.h> exists even on freestanding compilers.  */
45952
45953 #ifdef __STDC__
45954 # include <limits.h>
45955 #else
45956 # include <assert.h>
45957 #endif
45958
45959 #undef $ac_func
45960
45961 /* Override any gcc2 internal prototype to avoid an error.  */
45962 #ifdef __cplusplus
45963 extern "C"
45964 {
45965 #endif
45966 /* We use char because int might match the return type of a gcc2
45967    builtin and then its argument prototype would still apply.  */
45968 char $ac_func ();
45969 /* The GNU C library defines this for functions which it implements
45970     to always fail with ENOSYS.  Some functions are actually named
45971     something starting with __ and the normal name is an alias.  */
45972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45973 choke me
45974 #else
45975 char (*f) () = $ac_func;
45976 #endif
45977 #ifdef __cplusplus
45978 }
45979 #endif
45980
45981 int
45982 main ()
45983 {
45984 return f != $ac_func;
45985   ;
45986   return 0;
45987 }
45988 _ACEOF
45989 rm -f conftest.$ac_objext conftest$ac_exeext
45990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45991   (eval $ac_link) 2>conftest.er1
45992   ac_status=$?
45993   grep -v '^ *+' conftest.er1 >conftest.err
45994   rm -f conftest.er1
45995   cat conftest.err >&5
45996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45997   (exit $ac_status); } &&
45998          { ac_try='test -z "$ac_c_werror_flag"
45999                          || test ! -s conftest.err'
46000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46001   (eval $ac_try) 2>&5
46002   ac_status=$?
46003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46004   (exit $ac_status); }; } &&
46005          { ac_try='test -s conftest$ac_exeext'
46006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46007   (eval $ac_try) 2>&5
46008   ac_status=$?
46009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46010   (exit $ac_status); }; }; then
46011   eval "$as_ac_var=yes"
46012 else
46013   echo "$as_me: failed program was:" >&5
46014 sed 's/^/| /' conftest.$ac_ext >&5
46015
46016 eval "$as_ac_var=no"
46017 fi
46018 rm -f conftest.err conftest.$ac_objext \
46019       conftest$ac_exeext conftest.$ac_ext
46020 fi
46021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46023 if test `eval echo '${'$as_ac_var'}'` = yes; then
46024   cat >>confdefs.h <<_ACEOF
46025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46026 _ACEOF
46027
46028 fi
46029 done
46030
46031     fi
46032   fi
46033
46034
46035
46036   echo "$as_me:$LINENO: checking for powl declaration" >&5
46037 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
46038   if test x${glibcxx_cv_func_powl_use+set} != xset; then
46039     if test "${glibcxx_cv_func_powl_use+set}" = set; then
46040   echo $ECHO_N "(cached) $ECHO_C" >&6
46041 else
46042
46043
46044
46045       ac_ext=cc
46046 ac_cpp='$CXXCPP $CPPFLAGS'
46047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46050
46051       cat >conftest.$ac_ext <<_ACEOF
46052 /* confdefs.h.  */
46053 _ACEOF
46054 cat confdefs.h >>conftest.$ac_ext
46055 cat >>conftest.$ac_ext <<_ACEOF
46056 /* end confdefs.h.  */
46057 #include <math.h>
46058 int
46059 main ()
46060 {
46061  powl(0, 0);
46062   ;
46063   return 0;
46064 }
46065 _ACEOF
46066 rm -f conftest.$ac_objext
46067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46068   (eval $ac_compile) 2>conftest.er1
46069   ac_status=$?
46070   grep -v '^ *+' conftest.er1 >conftest.err
46071   rm -f conftest.er1
46072   cat conftest.err >&5
46073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46074   (exit $ac_status); } &&
46075          { ac_try='test -z "$ac_cxx_werror_flag"
46076                          || test ! -s conftest.err'
46077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46078   (eval $ac_try) 2>&5
46079   ac_status=$?
46080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46081   (exit $ac_status); }; } &&
46082          { ac_try='test -s conftest.$ac_objext'
46083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46084   (eval $ac_try) 2>&5
46085   ac_status=$?
46086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46087   (exit $ac_status); }; }; then
46088   glibcxx_cv_func_powl_use=yes
46089 else
46090   echo "$as_me: failed program was:" >&5
46091 sed 's/^/| /' conftest.$ac_ext >&5
46092
46093 glibcxx_cv_func_powl_use=no
46094 fi
46095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46096       ac_ext=c
46097 ac_cpp='$CPP $CPPFLAGS'
46098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46101
46102
46103 fi
46104
46105   fi
46106   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
46107 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
46108
46109   if test x$glibcxx_cv_func_powl_use = x"yes"; then
46110
46111 for ac_func in powl
46112 do
46113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46114 echo "$as_me:$LINENO: checking for $ac_func" >&5
46115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46116 if eval "test \"\${$as_ac_var+set}\" = set"; then
46117   echo $ECHO_N "(cached) $ECHO_C" >&6
46118 else
46119   if test x$gcc_no_link = xyes; then
46120   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46122    { (exit 1); exit 1; }; }
46123 fi
46124 cat >conftest.$ac_ext <<_ACEOF
46125 /* confdefs.h.  */
46126 _ACEOF
46127 cat confdefs.h >>conftest.$ac_ext
46128 cat >>conftest.$ac_ext <<_ACEOF
46129 /* end confdefs.h.  */
46130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46131    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46132 #define $ac_func innocuous_$ac_func
46133
46134 /* System header to define __stub macros and hopefully few prototypes,
46135     which can conflict with char $ac_func (); below.
46136     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46137     <limits.h> exists even on freestanding compilers.  */
46138
46139 #ifdef __STDC__
46140 # include <limits.h>
46141 #else
46142 # include <assert.h>
46143 #endif
46144
46145 #undef $ac_func
46146
46147 /* Override any gcc2 internal prototype to avoid an error.  */
46148 #ifdef __cplusplus
46149 extern "C"
46150 {
46151 #endif
46152 /* We use char because int might match the return type of a gcc2
46153    builtin and then its argument prototype would still apply.  */
46154 char $ac_func ();
46155 /* The GNU C library defines this for functions which it implements
46156     to always fail with ENOSYS.  Some functions are actually named
46157     something starting with __ and the normal name is an alias.  */
46158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46159 choke me
46160 #else
46161 char (*f) () = $ac_func;
46162 #endif
46163 #ifdef __cplusplus
46164 }
46165 #endif
46166
46167 int
46168 main ()
46169 {
46170 return f != $ac_func;
46171   ;
46172   return 0;
46173 }
46174 _ACEOF
46175 rm -f conftest.$ac_objext conftest$ac_exeext
46176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46177   (eval $ac_link) 2>conftest.er1
46178   ac_status=$?
46179   grep -v '^ *+' conftest.er1 >conftest.err
46180   rm -f conftest.er1
46181   cat conftest.err >&5
46182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46183   (exit $ac_status); } &&
46184          { ac_try='test -z "$ac_c_werror_flag"
46185                          || test ! -s conftest.err'
46186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46187   (eval $ac_try) 2>&5
46188   ac_status=$?
46189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46190   (exit $ac_status); }; } &&
46191          { ac_try='test -s conftest$ac_exeext'
46192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46193   (eval $ac_try) 2>&5
46194   ac_status=$?
46195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46196   (exit $ac_status); }; }; then
46197   eval "$as_ac_var=yes"
46198 else
46199   echo "$as_me: failed program was:" >&5
46200 sed 's/^/| /' conftest.$ac_ext >&5
46201
46202 eval "$as_ac_var=no"
46203 fi
46204 rm -f conftest.err conftest.$ac_objext \
46205       conftest$ac_exeext conftest.$ac_ext
46206 fi
46207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46209 if test `eval echo '${'$as_ac_var'}'` = yes; then
46210   cat >>confdefs.h <<_ACEOF
46211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46212 _ACEOF
46213
46214 fi
46215 done
46216
46217   else
46218
46219   echo "$as_me:$LINENO: checking for _powl declaration" >&5
46220 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
46221   if test x${glibcxx_cv_func__powl_use+set} != xset; then
46222     if test "${glibcxx_cv_func__powl_use+set}" = set; then
46223   echo $ECHO_N "(cached) $ECHO_C" >&6
46224 else
46225
46226
46227
46228       ac_ext=cc
46229 ac_cpp='$CXXCPP $CPPFLAGS'
46230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46233
46234       cat >conftest.$ac_ext <<_ACEOF
46235 /* confdefs.h.  */
46236 _ACEOF
46237 cat confdefs.h >>conftest.$ac_ext
46238 cat >>conftest.$ac_ext <<_ACEOF
46239 /* end confdefs.h.  */
46240 #include <math.h>
46241 int
46242 main ()
46243 {
46244  _powl(0, 0);
46245   ;
46246   return 0;
46247 }
46248 _ACEOF
46249 rm -f conftest.$ac_objext
46250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46251   (eval $ac_compile) 2>conftest.er1
46252   ac_status=$?
46253   grep -v '^ *+' conftest.er1 >conftest.err
46254   rm -f conftest.er1
46255   cat conftest.err >&5
46256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46257   (exit $ac_status); } &&
46258          { ac_try='test -z "$ac_cxx_werror_flag"
46259                          || test ! -s conftest.err'
46260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46261   (eval $ac_try) 2>&5
46262   ac_status=$?
46263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46264   (exit $ac_status); }; } &&
46265          { ac_try='test -s conftest.$ac_objext'
46266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46267   (eval $ac_try) 2>&5
46268   ac_status=$?
46269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46270   (exit $ac_status); }; }; then
46271   glibcxx_cv_func__powl_use=yes
46272 else
46273   echo "$as_me: failed program was:" >&5
46274 sed 's/^/| /' conftest.$ac_ext >&5
46275
46276 glibcxx_cv_func__powl_use=no
46277 fi
46278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46279       ac_ext=c
46280 ac_cpp='$CPP $CPPFLAGS'
46281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46284
46285
46286 fi
46287
46288   fi
46289   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
46290 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
46291
46292     if test x$glibcxx_cv_func__powl_use = x"yes"; then
46293
46294 for ac_func in _powl
46295 do
46296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46297 echo "$as_me:$LINENO: checking for $ac_func" >&5
46298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46299 if eval "test \"\${$as_ac_var+set}\" = set"; then
46300   echo $ECHO_N "(cached) $ECHO_C" >&6
46301 else
46302   if test x$gcc_no_link = xyes; then
46303   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46305    { (exit 1); exit 1; }; }
46306 fi
46307 cat >conftest.$ac_ext <<_ACEOF
46308 /* confdefs.h.  */
46309 _ACEOF
46310 cat confdefs.h >>conftest.$ac_ext
46311 cat >>conftest.$ac_ext <<_ACEOF
46312 /* end confdefs.h.  */
46313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46314    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46315 #define $ac_func innocuous_$ac_func
46316
46317 /* System header to define __stub macros and hopefully few prototypes,
46318     which can conflict with char $ac_func (); below.
46319     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46320     <limits.h> exists even on freestanding compilers.  */
46321
46322 #ifdef __STDC__
46323 # include <limits.h>
46324 #else
46325 # include <assert.h>
46326 #endif
46327
46328 #undef $ac_func
46329
46330 /* Override any gcc2 internal prototype to avoid an error.  */
46331 #ifdef __cplusplus
46332 extern "C"
46333 {
46334 #endif
46335 /* We use char because int might match the return type of a gcc2
46336    builtin and then its argument prototype would still apply.  */
46337 char $ac_func ();
46338 /* The GNU C library defines this for functions which it implements
46339     to always fail with ENOSYS.  Some functions are actually named
46340     something starting with __ and the normal name is an alias.  */
46341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46342 choke me
46343 #else
46344 char (*f) () = $ac_func;
46345 #endif
46346 #ifdef __cplusplus
46347 }
46348 #endif
46349
46350 int
46351 main ()
46352 {
46353 return f != $ac_func;
46354   ;
46355   return 0;
46356 }
46357 _ACEOF
46358 rm -f conftest.$ac_objext conftest$ac_exeext
46359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46360   (eval $ac_link) 2>conftest.er1
46361   ac_status=$?
46362   grep -v '^ *+' conftest.er1 >conftest.err
46363   rm -f conftest.er1
46364   cat conftest.err >&5
46365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46366   (exit $ac_status); } &&
46367          { ac_try='test -z "$ac_c_werror_flag"
46368                          || test ! -s conftest.err'
46369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46370   (eval $ac_try) 2>&5
46371   ac_status=$?
46372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46373   (exit $ac_status); }; } &&
46374          { ac_try='test -s conftest$ac_exeext'
46375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46376   (eval $ac_try) 2>&5
46377   ac_status=$?
46378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46379   (exit $ac_status); }; }; then
46380   eval "$as_ac_var=yes"
46381 else
46382   echo "$as_me: failed program was:" >&5
46383 sed 's/^/| /' conftest.$ac_ext >&5
46384
46385 eval "$as_ac_var=no"
46386 fi
46387 rm -f conftest.err conftest.$ac_objext \
46388       conftest$ac_exeext conftest.$ac_ext
46389 fi
46390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46392 if test `eval echo '${'$as_ac_var'}'` = yes; then
46393   cat >>confdefs.h <<_ACEOF
46394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46395 _ACEOF
46396
46397 fi
46398 done
46399
46400     fi
46401   fi
46402
46403
46404
46405   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
46406 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
46407   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46408     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
46409   echo $ECHO_N "(cached) $ECHO_C" >&6
46410 else
46411
46412
46413
46414       ac_ext=cc
46415 ac_cpp='$CXXCPP $CPPFLAGS'
46416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46419
46420       cat >conftest.$ac_ext <<_ACEOF
46421 /* confdefs.h.  */
46422 _ACEOF
46423 cat confdefs.h >>conftest.$ac_ext
46424 cat >>conftest.$ac_ext <<_ACEOF
46425 /* end confdefs.h.  */
46426 #include <math.h>
46427                       #ifdef HAVE_IEEEFP_H
46428                       #include <ieeefp.h>
46429                       #endif
46430
46431 int
46432 main ()
46433 {
46434  sqrtl(0);
46435   ;
46436   return 0;
46437 }
46438 _ACEOF
46439 rm -f conftest.$ac_objext
46440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46441   (eval $ac_compile) 2>conftest.er1
46442   ac_status=$?
46443   grep -v '^ *+' conftest.er1 >conftest.err
46444   rm -f conftest.er1
46445   cat conftest.err >&5
46446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46447   (exit $ac_status); } &&
46448          { ac_try='test -z "$ac_cxx_werror_flag"
46449                          || test ! -s conftest.err'
46450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46451   (eval $ac_try) 2>&5
46452   ac_status=$?
46453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46454   (exit $ac_status); }; } &&
46455          { ac_try='test -s conftest.$ac_objext'
46456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46457   (eval $ac_try) 2>&5
46458   ac_status=$?
46459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46460   (exit $ac_status); }; }; then
46461   glibcxx_cv_func_sqrtl_use=yes
46462 else
46463   echo "$as_me: failed program was:" >&5
46464 sed 's/^/| /' conftest.$ac_ext >&5
46465
46466 glibcxx_cv_func_sqrtl_use=no
46467 fi
46468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46469       ac_ext=c
46470 ac_cpp='$CPP $CPPFLAGS'
46471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46474
46475
46476 fi
46477
46478   fi
46479   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
46480 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
46481
46482   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46483
46484 for ac_func in sqrtl
46485 do
46486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46487 echo "$as_me:$LINENO: checking for $ac_func" >&5
46488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46489 if eval "test \"\${$as_ac_var+set}\" = set"; then
46490   echo $ECHO_N "(cached) $ECHO_C" >&6
46491 else
46492   if test x$gcc_no_link = xyes; then
46493   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46495    { (exit 1); exit 1; }; }
46496 fi
46497 cat >conftest.$ac_ext <<_ACEOF
46498 /* confdefs.h.  */
46499 _ACEOF
46500 cat confdefs.h >>conftest.$ac_ext
46501 cat >>conftest.$ac_ext <<_ACEOF
46502 /* end confdefs.h.  */
46503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46504    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46505 #define $ac_func innocuous_$ac_func
46506
46507 /* System header to define __stub macros and hopefully few prototypes,
46508     which can conflict with char $ac_func (); below.
46509     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46510     <limits.h> exists even on freestanding compilers.  */
46511
46512 #ifdef __STDC__
46513 # include <limits.h>
46514 #else
46515 # include <assert.h>
46516 #endif
46517
46518 #undef $ac_func
46519
46520 /* Override any gcc2 internal prototype to avoid an error.  */
46521 #ifdef __cplusplus
46522 extern "C"
46523 {
46524 #endif
46525 /* We use char because int might match the return type of a gcc2
46526    builtin and then its argument prototype would still apply.  */
46527 char $ac_func ();
46528 /* The GNU C library defines this for functions which it implements
46529     to always fail with ENOSYS.  Some functions are actually named
46530     something starting with __ and the normal name is an alias.  */
46531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46532 choke me
46533 #else
46534 char (*f) () = $ac_func;
46535 #endif
46536 #ifdef __cplusplus
46537 }
46538 #endif
46539
46540 int
46541 main ()
46542 {
46543 return f != $ac_func;
46544   ;
46545   return 0;
46546 }
46547 _ACEOF
46548 rm -f conftest.$ac_objext conftest$ac_exeext
46549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46550   (eval $ac_link) 2>conftest.er1
46551   ac_status=$?
46552   grep -v '^ *+' conftest.er1 >conftest.err
46553   rm -f conftest.er1
46554   cat conftest.err >&5
46555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46556   (exit $ac_status); } &&
46557          { ac_try='test -z "$ac_c_werror_flag"
46558                          || test ! -s conftest.err'
46559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46560   (eval $ac_try) 2>&5
46561   ac_status=$?
46562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46563   (exit $ac_status); }; } &&
46564          { ac_try='test -s conftest$ac_exeext'
46565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46566   (eval $ac_try) 2>&5
46567   ac_status=$?
46568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46569   (exit $ac_status); }; }; then
46570   eval "$as_ac_var=yes"
46571 else
46572   echo "$as_me: failed program was:" >&5
46573 sed 's/^/| /' conftest.$ac_ext >&5
46574
46575 eval "$as_ac_var=no"
46576 fi
46577 rm -f conftest.err conftest.$ac_objext \
46578       conftest$ac_exeext conftest.$ac_ext
46579 fi
46580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46582 if test `eval echo '${'$as_ac_var'}'` = yes; then
46583   cat >>confdefs.h <<_ACEOF
46584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46585 _ACEOF
46586
46587 fi
46588 done
46589
46590   else
46591
46592   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
46593 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
46594   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46595     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
46596   echo $ECHO_N "(cached) $ECHO_C" >&6
46597 else
46598
46599
46600
46601       ac_ext=cc
46602 ac_cpp='$CXXCPP $CPPFLAGS'
46603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46606
46607       cat >conftest.$ac_ext <<_ACEOF
46608 /* confdefs.h.  */
46609 _ACEOF
46610 cat confdefs.h >>conftest.$ac_ext
46611 cat >>conftest.$ac_ext <<_ACEOF
46612 /* end confdefs.h.  */
46613 #include <math.h>
46614                       #ifdef HAVE_IEEEFP_H
46615                       #include <ieeefp.h>
46616                       #endif
46617
46618 int
46619 main ()
46620 {
46621  _sqrtl(0);
46622   ;
46623   return 0;
46624 }
46625 _ACEOF
46626 rm -f conftest.$ac_objext
46627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46628   (eval $ac_compile) 2>conftest.er1
46629   ac_status=$?
46630   grep -v '^ *+' conftest.er1 >conftest.err
46631   rm -f conftest.er1
46632   cat conftest.err >&5
46633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46634   (exit $ac_status); } &&
46635          { ac_try='test -z "$ac_cxx_werror_flag"
46636                          || test ! -s conftest.err'
46637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46638   (eval $ac_try) 2>&5
46639   ac_status=$?
46640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46641   (exit $ac_status); }; } &&
46642          { ac_try='test -s conftest.$ac_objext'
46643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46644   (eval $ac_try) 2>&5
46645   ac_status=$?
46646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46647   (exit $ac_status); }; }; then
46648   glibcxx_cv_func__sqrtl_use=yes
46649 else
46650   echo "$as_me: failed program was:" >&5
46651 sed 's/^/| /' conftest.$ac_ext >&5
46652
46653 glibcxx_cv_func__sqrtl_use=no
46654 fi
46655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46656       ac_ext=c
46657 ac_cpp='$CPP $CPPFLAGS'
46658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46661
46662
46663 fi
46664
46665   fi
46666   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
46667 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
46668
46669     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46670
46671 for ac_func in _sqrtl
46672 do
46673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46674 echo "$as_me:$LINENO: checking for $ac_func" >&5
46675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46676 if eval "test \"\${$as_ac_var+set}\" = set"; then
46677   echo $ECHO_N "(cached) $ECHO_C" >&6
46678 else
46679   if test x$gcc_no_link = xyes; then
46680   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46682    { (exit 1); exit 1; }; }
46683 fi
46684 cat >conftest.$ac_ext <<_ACEOF
46685 /* confdefs.h.  */
46686 _ACEOF
46687 cat confdefs.h >>conftest.$ac_ext
46688 cat >>conftest.$ac_ext <<_ACEOF
46689 /* end confdefs.h.  */
46690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46691    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46692 #define $ac_func innocuous_$ac_func
46693
46694 /* System header to define __stub macros and hopefully few prototypes,
46695     which can conflict with char $ac_func (); below.
46696     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46697     <limits.h> exists even on freestanding compilers.  */
46698
46699 #ifdef __STDC__
46700 # include <limits.h>
46701 #else
46702 # include <assert.h>
46703 #endif
46704
46705 #undef $ac_func
46706
46707 /* Override any gcc2 internal prototype to avoid an error.  */
46708 #ifdef __cplusplus
46709 extern "C"
46710 {
46711 #endif
46712 /* We use char because int might match the return type of a gcc2
46713    builtin and then its argument prototype would still apply.  */
46714 char $ac_func ();
46715 /* The GNU C library defines this for functions which it implements
46716     to always fail with ENOSYS.  Some functions are actually named
46717     something starting with __ and the normal name is an alias.  */
46718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46719 choke me
46720 #else
46721 char (*f) () = $ac_func;
46722 #endif
46723 #ifdef __cplusplus
46724 }
46725 #endif
46726
46727 int
46728 main ()
46729 {
46730 return f != $ac_func;
46731   ;
46732   return 0;
46733 }
46734 _ACEOF
46735 rm -f conftest.$ac_objext conftest$ac_exeext
46736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46737   (eval $ac_link) 2>conftest.er1
46738   ac_status=$?
46739   grep -v '^ *+' conftest.er1 >conftest.err
46740   rm -f conftest.er1
46741   cat conftest.err >&5
46742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46743   (exit $ac_status); } &&
46744          { ac_try='test -z "$ac_c_werror_flag"
46745                          || test ! -s conftest.err'
46746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46747   (eval $ac_try) 2>&5
46748   ac_status=$?
46749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46750   (exit $ac_status); }; } &&
46751          { ac_try='test -s conftest$ac_exeext'
46752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46753   (eval $ac_try) 2>&5
46754   ac_status=$?
46755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46756   (exit $ac_status); }; }; then
46757   eval "$as_ac_var=yes"
46758 else
46759   echo "$as_me: failed program was:" >&5
46760 sed 's/^/| /' conftest.$ac_ext >&5
46761
46762 eval "$as_ac_var=no"
46763 fi
46764 rm -f conftest.err conftest.$ac_objext \
46765       conftest$ac_exeext conftest.$ac_ext
46766 fi
46767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46769 if test `eval echo '${'$as_ac_var'}'` = yes; then
46770   cat >>confdefs.h <<_ACEOF
46771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46772 _ACEOF
46773
46774 fi
46775 done
46776
46777     fi
46778   fi
46779
46780
46781
46782   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
46783 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
46784   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46785     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
46786   echo $ECHO_N "(cached) $ECHO_C" >&6
46787 else
46788
46789
46790
46791       ac_ext=cc
46792 ac_cpp='$CXXCPP $CPPFLAGS'
46793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46796
46797       cat >conftest.$ac_ext <<_ACEOF
46798 /* confdefs.h.  */
46799 _ACEOF
46800 cat confdefs.h >>conftest.$ac_ext
46801 cat >>conftest.$ac_ext <<_ACEOF
46802 /* end confdefs.h.  */
46803 #include <math.h>
46804 int
46805 main ()
46806 {
46807  sincosl(0, 0, 0);
46808   ;
46809   return 0;
46810 }
46811 _ACEOF
46812 rm -f conftest.$ac_objext
46813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46814   (eval $ac_compile) 2>conftest.er1
46815   ac_status=$?
46816   grep -v '^ *+' conftest.er1 >conftest.err
46817   rm -f conftest.er1
46818   cat conftest.err >&5
46819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46820   (exit $ac_status); } &&
46821          { ac_try='test -z "$ac_cxx_werror_flag"
46822                          || test ! -s conftest.err'
46823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46824   (eval $ac_try) 2>&5
46825   ac_status=$?
46826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46827   (exit $ac_status); }; } &&
46828          { ac_try='test -s conftest.$ac_objext'
46829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46830   (eval $ac_try) 2>&5
46831   ac_status=$?
46832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46833   (exit $ac_status); }; }; then
46834   glibcxx_cv_func_sincosl_use=yes
46835 else
46836   echo "$as_me: failed program was:" >&5
46837 sed 's/^/| /' conftest.$ac_ext >&5
46838
46839 glibcxx_cv_func_sincosl_use=no
46840 fi
46841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46842       ac_ext=c
46843 ac_cpp='$CPP $CPPFLAGS'
46844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46847
46848
46849 fi
46850
46851   fi
46852   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
46853 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
46854
46855   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46856
46857 for ac_func in sincosl
46858 do
46859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46860 echo "$as_me:$LINENO: checking for $ac_func" >&5
46861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46862 if eval "test \"\${$as_ac_var+set}\" = set"; then
46863   echo $ECHO_N "(cached) $ECHO_C" >&6
46864 else
46865   if test x$gcc_no_link = xyes; then
46866   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46868    { (exit 1); exit 1; }; }
46869 fi
46870 cat >conftest.$ac_ext <<_ACEOF
46871 /* confdefs.h.  */
46872 _ACEOF
46873 cat confdefs.h >>conftest.$ac_ext
46874 cat >>conftest.$ac_ext <<_ACEOF
46875 /* end confdefs.h.  */
46876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46877    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46878 #define $ac_func innocuous_$ac_func
46879
46880 /* System header to define __stub macros and hopefully few prototypes,
46881     which can conflict with char $ac_func (); below.
46882     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46883     <limits.h> exists even on freestanding compilers.  */
46884
46885 #ifdef __STDC__
46886 # include <limits.h>
46887 #else
46888 # include <assert.h>
46889 #endif
46890
46891 #undef $ac_func
46892
46893 /* Override any gcc2 internal prototype to avoid an error.  */
46894 #ifdef __cplusplus
46895 extern "C"
46896 {
46897 #endif
46898 /* We use char because int might match the return type of a gcc2
46899    builtin and then its argument prototype would still apply.  */
46900 char $ac_func ();
46901 /* The GNU C library defines this for functions which it implements
46902     to always fail with ENOSYS.  Some functions are actually named
46903     something starting with __ and the normal name is an alias.  */
46904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46905 choke me
46906 #else
46907 char (*f) () = $ac_func;
46908 #endif
46909 #ifdef __cplusplus
46910 }
46911 #endif
46912
46913 int
46914 main ()
46915 {
46916 return f != $ac_func;
46917   ;
46918   return 0;
46919 }
46920 _ACEOF
46921 rm -f conftest.$ac_objext conftest$ac_exeext
46922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46923   (eval $ac_link) 2>conftest.er1
46924   ac_status=$?
46925   grep -v '^ *+' conftest.er1 >conftest.err
46926   rm -f conftest.er1
46927   cat conftest.err >&5
46928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46929   (exit $ac_status); } &&
46930          { ac_try='test -z "$ac_c_werror_flag"
46931                          || test ! -s conftest.err'
46932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46933   (eval $ac_try) 2>&5
46934   ac_status=$?
46935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46936   (exit $ac_status); }; } &&
46937          { ac_try='test -s conftest$ac_exeext'
46938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46939   (eval $ac_try) 2>&5
46940   ac_status=$?
46941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46942   (exit $ac_status); }; }; then
46943   eval "$as_ac_var=yes"
46944 else
46945   echo "$as_me: failed program was:" >&5
46946 sed 's/^/| /' conftest.$ac_ext >&5
46947
46948 eval "$as_ac_var=no"
46949 fi
46950 rm -f conftest.err conftest.$ac_objext \
46951       conftest$ac_exeext conftest.$ac_ext
46952 fi
46953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46954 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46955 if test `eval echo '${'$as_ac_var'}'` = yes; then
46956   cat >>confdefs.h <<_ACEOF
46957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46958 _ACEOF
46959
46960 fi
46961 done
46962
46963   else
46964
46965   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
46966 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
46967   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46968     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
46969   echo $ECHO_N "(cached) $ECHO_C" >&6
46970 else
46971
46972
46973
46974       ac_ext=cc
46975 ac_cpp='$CXXCPP $CPPFLAGS'
46976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46979
46980       cat >conftest.$ac_ext <<_ACEOF
46981 /* confdefs.h.  */
46982 _ACEOF
46983 cat confdefs.h >>conftest.$ac_ext
46984 cat >>conftest.$ac_ext <<_ACEOF
46985 /* end confdefs.h.  */
46986 #include <math.h>
46987 int
46988 main ()
46989 {
46990  _sincosl(0, 0, 0);
46991   ;
46992   return 0;
46993 }
46994 _ACEOF
46995 rm -f conftest.$ac_objext
46996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46997   (eval $ac_compile) 2>conftest.er1
46998   ac_status=$?
46999   grep -v '^ *+' conftest.er1 >conftest.err
47000   rm -f conftest.er1
47001   cat conftest.err >&5
47002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47003   (exit $ac_status); } &&
47004          { ac_try='test -z "$ac_cxx_werror_flag"
47005                          || test ! -s conftest.err'
47006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47007   (eval $ac_try) 2>&5
47008   ac_status=$?
47009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47010   (exit $ac_status); }; } &&
47011          { ac_try='test -s conftest.$ac_objext'
47012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47013   (eval $ac_try) 2>&5
47014   ac_status=$?
47015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47016   (exit $ac_status); }; }; then
47017   glibcxx_cv_func__sincosl_use=yes
47018 else
47019   echo "$as_me: failed program was:" >&5
47020 sed 's/^/| /' conftest.$ac_ext >&5
47021
47022 glibcxx_cv_func__sincosl_use=no
47023 fi
47024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47025       ac_ext=c
47026 ac_cpp='$CPP $CPPFLAGS'
47027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47030
47031
47032 fi
47033
47034   fi
47035   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
47036 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
47037
47038     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
47039
47040 for ac_func in _sincosl
47041 do
47042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47043 echo "$as_me:$LINENO: checking for $ac_func" >&5
47044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47045 if eval "test \"\${$as_ac_var+set}\" = set"; then
47046   echo $ECHO_N "(cached) $ECHO_C" >&6
47047 else
47048   if test x$gcc_no_link = xyes; then
47049   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47051    { (exit 1); exit 1; }; }
47052 fi
47053 cat >conftest.$ac_ext <<_ACEOF
47054 /* confdefs.h.  */
47055 _ACEOF
47056 cat confdefs.h >>conftest.$ac_ext
47057 cat >>conftest.$ac_ext <<_ACEOF
47058 /* end confdefs.h.  */
47059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47060    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47061 #define $ac_func innocuous_$ac_func
47062
47063 /* System header to define __stub macros and hopefully few prototypes,
47064     which can conflict with char $ac_func (); below.
47065     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47066     <limits.h> exists even on freestanding compilers.  */
47067
47068 #ifdef __STDC__
47069 # include <limits.h>
47070 #else
47071 # include <assert.h>
47072 #endif
47073
47074 #undef $ac_func
47075
47076 /* Override any gcc2 internal prototype to avoid an error.  */
47077 #ifdef __cplusplus
47078 extern "C"
47079 {
47080 #endif
47081 /* We use char because int might match the return type of a gcc2
47082    builtin and then its argument prototype would still apply.  */
47083 char $ac_func ();
47084 /* The GNU C library defines this for functions which it implements
47085     to always fail with ENOSYS.  Some functions are actually named
47086     something starting with __ and the normal name is an alias.  */
47087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47088 choke me
47089 #else
47090 char (*f) () = $ac_func;
47091 #endif
47092 #ifdef __cplusplus
47093 }
47094 #endif
47095
47096 int
47097 main ()
47098 {
47099 return f != $ac_func;
47100   ;
47101   return 0;
47102 }
47103 _ACEOF
47104 rm -f conftest.$ac_objext conftest$ac_exeext
47105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47106   (eval $ac_link) 2>conftest.er1
47107   ac_status=$?
47108   grep -v '^ *+' conftest.er1 >conftest.err
47109   rm -f conftest.er1
47110   cat conftest.err >&5
47111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47112   (exit $ac_status); } &&
47113          { ac_try='test -z "$ac_c_werror_flag"
47114                          || test ! -s conftest.err'
47115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47116   (eval $ac_try) 2>&5
47117   ac_status=$?
47118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47119   (exit $ac_status); }; } &&
47120          { ac_try='test -s conftest$ac_exeext'
47121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47122   (eval $ac_try) 2>&5
47123   ac_status=$?
47124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47125   (exit $ac_status); }; }; then
47126   eval "$as_ac_var=yes"
47127 else
47128   echo "$as_me: failed program was:" >&5
47129 sed 's/^/| /' conftest.$ac_ext >&5
47130
47131 eval "$as_ac_var=no"
47132 fi
47133 rm -f conftest.err conftest.$ac_objext \
47134       conftest$ac_exeext conftest.$ac_ext
47135 fi
47136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47138 if test `eval echo '${'$as_ac_var'}'` = yes; then
47139   cat >>confdefs.h <<_ACEOF
47140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47141 _ACEOF
47142
47143 fi
47144 done
47145
47146     fi
47147   fi
47148
47149
47150
47151   echo "$as_me:$LINENO: checking for finitel declaration" >&5
47152 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
47153   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
47154     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
47155   echo $ECHO_N "(cached) $ECHO_C" >&6
47156 else
47157
47158
47159
47160       ac_ext=cc
47161 ac_cpp='$CXXCPP $CPPFLAGS'
47162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47165
47166       cat >conftest.$ac_ext <<_ACEOF
47167 /* confdefs.h.  */
47168 _ACEOF
47169 cat confdefs.h >>conftest.$ac_ext
47170 cat >>conftest.$ac_ext <<_ACEOF
47171 /* end confdefs.h.  */
47172 #include <math.h>
47173                       #ifdef HAVE_IEEEFP_H
47174                       #include <ieeefp.h>
47175                       #endif
47176
47177 int
47178 main ()
47179 {
47180  finitel(0);
47181   ;
47182   return 0;
47183 }
47184 _ACEOF
47185 rm -f conftest.$ac_objext
47186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47187   (eval $ac_compile) 2>conftest.er1
47188   ac_status=$?
47189   grep -v '^ *+' conftest.er1 >conftest.err
47190   rm -f conftest.er1
47191   cat conftest.err >&5
47192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47193   (exit $ac_status); } &&
47194          { ac_try='test -z "$ac_cxx_werror_flag"
47195                          || test ! -s conftest.err'
47196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47197   (eval $ac_try) 2>&5
47198   ac_status=$?
47199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47200   (exit $ac_status); }; } &&
47201          { ac_try='test -s conftest.$ac_objext'
47202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47203   (eval $ac_try) 2>&5
47204   ac_status=$?
47205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47206   (exit $ac_status); }; }; then
47207   glibcxx_cv_func_finitel_use=yes
47208 else
47209   echo "$as_me: failed program was:" >&5
47210 sed 's/^/| /' conftest.$ac_ext >&5
47211
47212 glibcxx_cv_func_finitel_use=no
47213 fi
47214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47215       ac_ext=c
47216 ac_cpp='$CPP $CPPFLAGS'
47217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47220
47221
47222 fi
47223
47224   fi
47225   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
47226 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
47227
47228   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
47229
47230 for ac_func in finitel
47231 do
47232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47233 echo "$as_me:$LINENO: checking for $ac_func" >&5
47234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47235 if eval "test \"\${$as_ac_var+set}\" = set"; then
47236   echo $ECHO_N "(cached) $ECHO_C" >&6
47237 else
47238   if test x$gcc_no_link = xyes; then
47239   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47241    { (exit 1); exit 1; }; }
47242 fi
47243 cat >conftest.$ac_ext <<_ACEOF
47244 /* confdefs.h.  */
47245 _ACEOF
47246 cat confdefs.h >>conftest.$ac_ext
47247 cat >>conftest.$ac_ext <<_ACEOF
47248 /* end confdefs.h.  */
47249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47250    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47251 #define $ac_func innocuous_$ac_func
47252
47253 /* System header to define __stub macros and hopefully few prototypes,
47254     which can conflict with char $ac_func (); below.
47255     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47256     <limits.h> exists even on freestanding compilers.  */
47257
47258 #ifdef __STDC__
47259 # include <limits.h>
47260 #else
47261 # include <assert.h>
47262 #endif
47263
47264 #undef $ac_func
47265
47266 /* Override any gcc2 internal prototype to avoid an error.  */
47267 #ifdef __cplusplus
47268 extern "C"
47269 {
47270 #endif
47271 /* We use char because int might match the return type of a gcc2
47272    builtin and then its argument prototype would still apply.  */
47273 char $ac_func ();
47274 /* The GNU C library defines this for functions which it implements
47275     to always fail with ENOSYS.  Some functions are actually named
47276     something starting with __ and the normal name is an alias.  */
47277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47278 choke me
47279 #else
47280 char (*f) () = $ac_func;
47281 #endif
47282 #ifdef __cplusplus
47283 }
47284 #endif
47285
47286 int
47287 main ()
47288 {
47289 return f != $ac_func;
47290   ;
47291   return 0;
47292 }
47293 _ACEOF
47294 rm -f conftest.$ac_objext conftest$ac_exeext
47295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47296   (eval $ac_link) 2>conftest.er1
47297   ac_status=$?
47298   grep -v '^ *+' conftest.er1 >conftest.err
47299   rm -f conftest.er1
47300   cat conftest.err >&5
47301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47302   (exit $ac_status); } &&
47303          { ac_try='test -z "$ac_c_werror_flag"
47304                          || test ! -s conftest.err'
47305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47306   (eval $ac_try) 2>&5
47307   ac_status=$?
47308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47309   (exit $ac_status); }; } &&
47310          { ac_try='test -s conftest$ac_exeext'
47311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47312   (eval $ac_try) 2>&5
47313   ac_status=$?
47314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47315   (exit $ac_status); }; }; then
47316   eval "$as_ac_var=yes"
47317 else
47318   echo "$as_me: failed program was:" >&5
47319 sed 's/^/| /' conftest.$ac_ext >&5
47320
47321 eval "$as_ac_var=no"
47322 fi
47323 rm -f conftest.err conftest.$ac_objext \
47324       conftest$ac_exeext conftest.$ac_ext
47325 fi
47326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47328 if test `eval echo '${'$as_ac_var'}'` = yes; then
47329   cat >>confdefs.h <<_ACEOF
47330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47331 _ACEOF
47332
47333 fi
47334 done
47335
47336   else
47337
47338   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
47339 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
47340   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47341     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
47342   echo $ECHO_N "(cached) $ECHO_C" >&6
47343 else
47344
47345
47346
47347       ac_ext=cc
47348 ac_cpp='$CXXCPP $CPPFLAGS'
47349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47352
47353       cat >conftest.$ac_ext <<_ACEOF
47354 /* confdefs.h.  */
47355 _ACEOF
47356 cat confdefs.h >>conftest.$ac_ext
47357 cat >>conftest.$ac_ext <<_ACEOF
47358 /* end confdefs.h.  */
47359 #include <math.h>
47360                       #ifdef HAVE_IEEEFP_H
47361                       #include <ieeefp.h>
47362                       #endif
47363
47364 int
47365 main ()
47366 {
47367  _finitel(0);
47368   ;
47369   return 0;
47370 }
47371 _ACEOF
47372 rm -f conftest.$ac_objext
47373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47374   (eval $ac_compile) 2>conftest.er1
47375   ac_status=$?
47376   grep -v '^ *+' conftest.er1 >conftest.err
47377   rm -f conftest.er1
47378   cat conftest.err >&5
47379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47380   (exit $ac_status); } &&
47381          { ac_try='test -z "$ac_cxx_werror_flag"
47382                          || test ! -s conftest.err'
47383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47384   (eval $ac_try) 2>&5
47385   ac_status=$?
47386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47387   (exit $ac_status); }; } &&
47388          { ac_try='test -s conftest.$ac_objext'
47389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47390   (eval $ac_try) 2>&5
47391   ac_status=$?
47392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47393   (exit $ac_status); }; }; then
47394   glibcxx_cv_func__finitel_use=yes
47395 else
47396   echo "$as_me: failed program was:" >&5
47397 sed 's/^/| /' conftest.$ac_ext >&5
47398
47399 glibcxx_cv_func__finitel_use=no
47400 fi
47401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47402       ac_ext=c
47403 ac_cpp='$CPP $CPPFLAGS'
47404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47407
47408
47409 fi
47410
47411   fi
47412   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
47413 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
47414
47415     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47416
47417 for ac_func in _finitel
47418 do
47419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47420 echo "$as_me:$LINENO: checking for $ac_func" >&5
47421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47422 if eval "test \"\${$as_ac_var+set}\" = set"; then
47423   echo $ECHO_N "(cached) $ECHO_C" >&6
47424 else
47425   if test x$gcc_no_link = xyes; then
47426   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47428    { (exit 1); exit 1; }; }
47429 fi
47430 cat >conftest.$ac_ext <<_ACEOF
47431 /* confdefs.h.  */
47432 _ACEOF
47433 cat confdefs.h >>conftest.$ac_ext
47434 cat >>conftest.$ac_ext <<_ACEOF
47435 /* end confdefs.h.  */
47436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47437    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47438 #define $ac_func innocuous_$ac_func
47439
47440 /* System header to define __stub macros and hopefully few prototypes,
47441     which can conflict with char $ac_func (); below.
47442     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47443     <limits.h> exists even on freestanding compilers.  */
47444
47445 #ifdef __STDC__
47446 # include <limits.h>
47447 #else
47448 # include <assert.h>
47449 #endif
47450
47451 #undef $ac_func
47452
47453 /* Override any gcc2 internal prototype to avoid an error.  */
47454 #ifdef __cplusplus
47455 extern "C"
47456 {
47457 #endif
47458 /* We use char because int might match the return type of a gcc2
47459    builtin and then its argument prototype would still apply.  */
47460 char $ac_func ();
47461 /* The GNU C library defines this for functions which it implements
47462     to always fail with ENOSYS.  Some functions are actually named
47463     something starting with __ and the normal name is an alias.  */
47464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47465 choke me
47466 #else
47467 char (*f) () = $ac_func;
47468 #endif
47469 #ifdef __cplusplus
47470 }
47471 #endif
47472
47473 int
47474 main ()
47475 {
47476 return f != $ac_func;
47477   ;
47478   return 0;
47479 }
47480 _ACEOF
47481 rm -f conftest.$ac_objext conftest$ac_exeext
47482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47483   (eval $ac_link) 2>conftest.er1
47484   ac_status=$?
47485   grep -v '^ *+' conftest.er1 >conftest.err
47486   rm -f conftest.er1
47487   cat conftest.err >&5
47488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47489   (exit $ac_status); } &&
47490          { ac_try='test -z "$ac_c_werror_flag"
47491                          || test ! -s conftest.err'
47492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47493   (eval $ac_try) 2>&5
47494   ac_status=$?
47495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47496   (exit $ac_status); }; } &&
47497          { ac_try='test -s conftest$ac_exeext'
47498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47499   (eval $ac_try) 2>&5
47500   ac_status=$?
47501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47502   (exit $ac_status); }; }; then
47503   eval "$as_ac_var=yes"
47504 else
47505   echo "$as_me: failed program was:" >&5
47506 sed 's/^/| /' conftest.$ac_ext >&5
47507
47508 eval "$as_ac_var=no"
47509 fi
47510 rm -f conftest.err conftest.$ac_objext \
47511       conftest$ac_exeext conftest.$ac_ext
47512 fi
47513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47515 if test `eval echo '${'$as_ac_var'}'` = yes; then
47516   cat >>confdefs.h <<_ACEOF
47517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47518 _ACEOF
47519
47520 fi
47521 done
47522
47523     fi
47524   fi
47525
47526
47527
47528
47529   echo "$as_me:$LINENO: checking for _float trig functions" >&5
47530 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
47531   if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
47532   echo $ECHO_N "(cached) $ECHO_C" >&6
47533 else
47534
47535
47536
47537     ac_ext=cc
47538 ac_cpp='$CXXCPP $CPPFLAGS'
47539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47542
47543     cat >conftest.$ac_ext <<_ACEOF
47544 /* confdefs.h.  */
47545 _ACEOF
47546 cat confdefs.h >>conftest.$ac_ext
47547 cat >>conftest.$ac_ext <<_ACEOF
47548 /* end confdefs.h.  */
47549 #include <math.h>
47550 int
47551 main ()
47552 {
47553  `for x in _acosf _asinf _atanf \
47554                                           _cosf _sinf _tanf \
47555                                           _coshf _sinhf _tanhf; do echo "$x (0);"; done`
47556   ;
47557   return 0;
47558 }
47559 _ACEOF
47560 rm -f conftest.$ac_objext
47561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47562   (eval $ac_compile) 2>conftest.er1
47563   ac_status=$?
47564   grep -v '^ *+' conftest.er1 >conftest.err
47565   rm -f conftest.er1
47566   cat conftest.err >&5
47567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47568   (exit $ac_status); } &&
47569          { ac_try='test -z "$ac_cxx_werror_flag"
47570                          || test ! -s conftest.err'
47571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47572   (eval $ac_try) 2>&5
47573   ac_status=$?
47574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47575   (exit $ac_status); }; } &&
47576          { ac_try='test -s conftest.$ac_objext'
47577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47578   (eval $ac_try) 2>&5
47579   ac_status=$?
47580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47581   (exit $ac_status); }; }; then
47582   glibcxx_cv_func__float_trig_use=yes
47583 else
47584   echo "$as_me: failed program was:" >&5
47585 sed 's/^/| /' conftest.$ac_ext >&5
47586
47587 glibcxx_cv_func__float_trig_use=no
47588 fi
47589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47590     ac_ext=c
47591 ac_cpp='$CPP $CPPFLAGS'
47592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47595
47596 fi
47597
47598   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
47599 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
47600   if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47601
47602
47603
47604
47605
47606
47607
47608
47609
47610 for ac_func in _acosf _asinf _atanf \
47611                                           _cosf _sinf _tanf \
47612                                           _coshf _sinhf _tanhf
47613 do
47614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47615 echo "$as_me:$LINENO: checking for $ac_func" >&5
47616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47617 if eval "test \"\${$as_ac_var+set}\" = set"; then
47618   echo $ECHO_N "(cached) $ECHO_C" >&6
47619 else
47620   if test x$gcc_no_link = xyes; then
47621   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47623    { (exit 1); exit 1; }; }
47624 fi
47625 cat >conftest.$ac_ext <<_ACEOF
47626 /* confdefs.h.  */
47627 _ACEOF
47628 cat confdefs.h >>conftest.$ac_ext
47629 cat >>conftest.$ac_ext <<_ACEOF
47630 /* end confdefs.h.  */
47631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47632    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47633 #define $ac_func innocuous_$ac_func
47634
47635 /* System header to define __stub macros and hopefully few prototypes,
47636     which can conflict with char $ac_func (); below.
47637     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47638     <limits.h> exists even on freestanding compilers.  */
47639
47640 #ifdef __STDC__
47641 # include <limits.h>
47642 #else
47643 # include <assert.h>
47644 #endif
47645
47646 #undef $ac_func
47647
47648 /* Override any gcc2 internal prototype to avoid an error.  */
47649 #ifdef __cplusplus
47650 extern "C"
47651 {
47652 #endif
47653 /* We use char because int might match the return type of a gcc2
47654    builtin and then its argument prototype would still apply.  */
47655 char $ac_func ();
47656 /* The GNU C library defines this for functions which it implements
47657     to always fail with ENOSYS.  Some functions are actually named
47658     something starting with __ and the normal name is an alias.  */
47659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47660 choke me
47661 #else
47662 char (*f) () = $ac_func;
47663 #endif
47664 #ifdef __cplusplus
47665 }
47666 #endif
47667
47668 int
47669 main ()
47670 {
47671 return f != $ac_func;
47672   ;
47673   return 0;
47674 }
47675 _ACEOF
47676 rm -f conftest.$ac_objext conftest$ac_exeext
47677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47678   (eval $ac_link) 2>conftest.er1
47679   ac_status=$?
47680   grep -v '^ *+' conftest.er1 >conftest.err
47681   rm -f conftest.er1
47682   cat conftest.err >&5
47683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47684   (exit $ac_status); } &&
47685          { ac_try='test -z "$ac_c_werror_flag"
47686                          || test ! -s conftest.err'
47687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47688   (eval $ac_try) 2>&5
47689   ac_status=$?
47690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47691   (exit $ac_status); }; } &&
47692          { ac_try='test -s conftest$ac_exeext'
47693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47694   (eval $ac_try) 2>&5
47695   ac_status=$?
47696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47697   (exit $ac_status); }; }; then
47698   eval "$as_ac_var=yes"
47699 else
47700   echo "$as_me: failed program was:" >&5
47701 sed 's/^/| /' conftest.$ac_ext >&5
47702
47703 eval "$as_ac_var=no"
47704 fi
47705 rm -f conftest.err conftest.$ac_objext \
47706       conftest$ac_exeext conftest.$ac_ext
47707 fi
47708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47710 if test `eval echo '${'$as_ac_var'}'` = yes; then
47711   cat >>confdefs.h <<_ACEOF
47712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47713 _ACEOF
47714
47715 fi
47716 done
47717
47718   fi
47719
47720
47721   echo "$as_me:$LINENO: checking for _float round functions" >&5
47722 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
47723   if test "${glibcxx_cv_func__float_round_use+set}" = set; then
47724   echo $ECHO_N "(cached) $ECHO_C" >&6
47725 else
47726
47727
47728
47729     ac_ext=cc
47730 ac_cpp='$CXXCPP $CPPFLAGS'
47731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47734
47735     cat >conftest.$ac_ext <<_ACEOF
47736 /* confdefs.h.  */
47737 _ACEOF
47738 cat confdefs.h >>conftest.$ac_ext
47739 cat >>conftest.$ac_ext <<_ACEOF
47740 /* end confdefs.h.  */
47741 #include <math.h>
47742 int
47743 main ()
47744 {
47745  `for x in _ceilf _floorf; do echo "$x (0);"; done`
47746   ;
47747   return 0;
47748 }
47749 _ACEOF
47750 rm -f conftest.$ac_objext
47751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47752   (eval $ac_compile) 2>conftest.er1
47753   ac_status=$?
47754   grep -v '^ *+' conftest.er1 >conftest.err
47755   rm -f conftest.er1
47756   cat conftest.err >&5
47757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47758   (exit $ac_status); } &&
47759          { ac_try='test -z "$ac_cxx_werror_flag"
47760                          || test ! -s conftest.err'
47761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47762   (eval $ac_try) 2>&5
47763   ac_status=$?
47764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47765   (exit $ac_status); }; } &&
47766          { ac_try='test -s conftest.$ac_objext'
47767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47768   (eval $ac_try) 2>&5
47769   ac_status=$?
47770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47771   (exit $ac_status); }; }; then
47772   glibcxx_cv_func__float_round_use=yes
47773 else
47774   echo "$as_me: failed program was:" >&5
47775 sed 's/^/| /' conftest.$ac_ext >&5
47776
47777 glibcxx_cv_func__float_round_use=no
47778 fi
47779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47780     ac_ext=c
47781 ac_cpp='$CPP $CPPFLAGS'
47782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47785
47786 fi
47787
47788   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
47789 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
47790   if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47791
47792
47793 for ac_func in _ceilf _floorf
47794 do
47795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47796 echo "$as_me:$LINENO: checking for $ac_func" >&5
47797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47798 if eval "test \"\${$as_ac_var+set}\" = set"; then
47799   echo $ECHO_N "(cached) $ECHO_C" >&6
47800 else
47801   if test x$gcc_no_link = xyes; then
47802   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47804    { (exit 1); exit 1; }; }
47805 fi
47806 cat >conftest.$ac_ext <<_ACEOF
47807 /* confdefs.h.  */
47808 _ACEOF
47809 cat confdefs.h >>conftest.$ac_ext
47810 cat >>conftest.$ac_ext <<_ACEOF
47811 /* end confdefs.h.  */
47812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47813    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47814 #define $ac_func innocuous_$ac_func
47815
47816 /* System header to define __stub macros and hopefully few prototypes,
47817     which can conflict with char $ac_func (); below.
47818     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47819     <limits.h> exists even on freestanding compilers.  */
47820
47821 #ifdef __STDC__
47822 # include <limits.h>
47823 #else
47824 # include <assert.h>
47825 #endif
47826
47827 #undef $ac_func
47828
47829 /* Override any gcc2 internal prototype to avoid an error.  */
47830 #ifdef __cplusplus
47831 extern "C"
47832 {
47833 #endif
47834 /* We use char because int might match the return type of a gcc2
47835    builtin and then its argument prototype would still apply.  */
47836 char $ac_func ();
47837 /* The GNU C library defines this for functions which it implements
47838     to always fail with ENOSYS.  Some functions are actually named
47839     something starting with __ and the normal name is an alias.  */
47840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47841 choke me
47842 #else
47843 char (*f) () = $ac_func;
47844 #endif
47845 #ifdef __cplusplus
47846 }
47847 #endif
47848
47849 int
47850 main ()
47851 {
47852 return f != $ac_func;
47853   ;
47854   return 0;
47855 }
47856 _ACEOF
47857 rm -f conftest.$ac_objext conftest$ac_exeext
47858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47859   (eval $ac_link) 2>conftest.er1
47860   ac_status=$?
47861   grep -v '^ *+' conftest.er1 >conftest.err
47862   rm -f conftest.er1
47863   cat conftest.err >&5
47864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47865   (exit $ac_status); } &&
47866          { ac_try='test -z "$ac_c_werror_flag"
47867                          || test ! -s conftest.err'
47868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47869   (eval $ac_try) 2>&5
47870   ac_status=$?
47871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47872   (exit $ac_status); }; } &&
47873          { ac_try='test -s conftest$ac_exeext'
47874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47875   (eval $ac_try) 2>&5
47876   ac_status=$?
47877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47878   (exit $ac_status); }; }; then
47879   eval "$as_ac_var=yes"
47880 else
47881   echo "$as_me: failed program was:" >&5
47882 sed 's/^/| /' conftest.$ac_ext >&5
47883
47884 eval "$as_ac_var=no"
47885 fi
47886 rm -f conftest.err conftest.$ac_objext \
47887       conftest$ac_exeext conftest.$ac_ext
47888 fi
47889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47891 if test `eval echo '${'$as_ac_var'}'` = yes; then
47892   cat >>confdefs.h <<_ACEOF
47893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47894 _ACEOF
47895
47896 fi
47897 done
47898
47899   fi
47900
47901
47902
47903   echo "$as_me:$LINENO: checking for _long double trig functions" >&5
47904 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
47905   if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
47906   echo $ECHO_N "(cached) $ECHO_C" >&6
47907 else
47908
47909
47910
47911     ac_ext=cc
47912 ac_cpp='$CXXCPP $CPPFLAGS'
47913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47916
47917     cat >conftest.$ac_ext <<_ACEOF
47918 /* confdefs.h.  */
47919 _ACEOF
47920 cat confdefs.h >>conftest.$ac_ext
47921 cat >>conftest.$ac_ext <<_ACEOF
47922 /* end confdefs.h.  */
47923 #include <math.h>
47924 int
47925 main ()
47926 {
47927  `for x in _acosl _asinl _atanl \
47928                                           _cosl _sinl _tanl \
47929                                           _coshl _sinhl _tanhl; do echo "$x (0);"; done`
47930   ;
47931   return 0;
47932 }
47933 _ACEOF
47934 rm -f conftest.$ac_objext
47935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47936   (eval $ac_compile) 2>conftest.er1
47937   ac_status=$?
47938   grep -v '^ *+' conftest.er1 >conftest.err
47939   rm -f conftest.er1
47940   cat conftest.err >&5
47941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47942   (exit $ac_status); } &&
47943          { ac_try='test -z "$ac_cxx_werror_flag"
47944                          || test ! -s conftest.err'
47945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47946   (eval $ac_try) 2>&5
47947   ac_status=$?
47948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47949   (exit $ac_status); }; } &&
47950          { ac_try='test -s conftest.$ac_objext'
47951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47952   (eval $ac_try) 2>&5
47953   ac_status=$?
47954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47955   (exit $ac_status); }; }; then
47956   glibcxx_cv_func__long_double_trig_use=yes
47957 else
47958   echo "$as_me: failed program was:" >&5
47959 sed 's/^/| /' conftest.$ac_ext >&5
47960
47961 glibcxx_cv_func__long_double_trig_use=no
47962 fi
47963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47964     ac_ext=c
47965 ac_cpp='$CPP $CPPFLAGS'
47966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47969
47970 fi
47971
47972   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
47973 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
47974   if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
47975
47976
47977
47978
47979
47980
47981
47982
47983
47984 for ac_func in _acosl _asinl _atanl \
47985                                           _cosl _sinl _tanl \
47986                                           _coshl _sinhl _tanhl
47987 do
47988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47989 echo "$as_me:$LINENO: checking for $ac_func" >&5
47990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47991 if eval "test \"\${$as_ac_var+set}\" = set"; then
47992   echo $ECHO_N "(cached) $ECHO_C" >&6
47993 else
47994   if test x$gcc_no_link = xyes; then
47995   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47997    { (exit 1); exit 1; }; }
47998 fi
47999 cat >conftest.$ac_ext <<_ACEOF
48000 /* confdefs.h.  */
48001 _ACEOF
48002 cat confdefs.h >>conftest.$ac_ext
48003 cat >>conftest.$ac_ext <<_ACEOF
48004 /* end confdefs.h.  */
48005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48006    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48007 #define $ac_func innocuous_$ac_func
48008
48009 /* System header to define __stub macros and hopefully few prototypes,
48010     which can conflict with char $ac_func (); below.
48011     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48012     <limits.h> exists even on freestanding compilers.  */
48013
48014 #ifdef __STDC__
48015 # include <limits.h>
48016 #else
48017 # include <assert.h>
48018 #endif
48019
48020 #undef $ac_func
48021
48022 /* Override any gcc2 internal prototype to avoid an error.  */
48023 #ifdef __cplusplus
48024 extern "C"
48025 {
48026 #endif
48027 /* We use char because int might match the return type of a gcc2
48028    builtin and then its argument prototype would still apply.  */
48029 char $ac_func ();
48030 /* The GNU C library defines this for functions which it implements
48031     to always fail with ENOSYS.  Some functions are actually named
48032     something starting with __ and the normal name is an alias.  */
48033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48034 choke me
48035 #else
48036 char (*f) () = $ac_func;
48037 #endif
48038 #ifdef __cplusplus
48039 }
48040 #endif
48041
48042 int
48043 main ()
48044 {
48045 return f != $ac_func;
48046   ;
48047   return 0;
48048 }
48049 _ACEOF
48050 rm -f conftest.$ac_objext conftest$ac_exeext
48051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48052   (eval $ac_link) 2>conftest.er1
48053   ac_status=$?
48054   grep -v '^ *+' conftest.er1 >conftest.err
48055   rm -f conftest.er1
48056   cat conftest.err >&5
48057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48058   (exit $ac_status); } &&
48059          { ac_try='test -z "$ac_c_werror_flag"
48060                          || test ! -s conftest.err'
48061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48062   (eval $ac_try) 2>&5
48063   ac_status=$?
48064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48065   (exit $ac_status); }; } &&
48066          { ac_try='test -s conftest$ac_exeext'
48067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48068   (eval $ac_try) 2>&5
48069   ac_status=$?
48070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48071   (exit $ac_status); }; }; then
48072   eval "$as_ac_var=yes"
48073 else
48074   echo "$as_me: failed program was:" >&5
48075 sed 's/^/| /' conftest.$ac_ext >&5
48076
48077 eval "$as_ac_var=no"
48078 fi
48079 rm -f conftest.err conftest.$ac_objext \
48080       conftest$ac_exeext conftest.$ac_ext
48081 fi
48082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48084 if test `eval echo '${'$as_ac_var'}'` = yes; then
48085   cat >>confdefs.h <<_ACEOF
48086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48087 _ACEOF
48088
48089 fi
48090 done
48091
48092   fi
48093
48094
48095   echo "$as_me:$LINENO: checking for _long double round functions" >&5
48096 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
48097   if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
48098   echo $ECHO_N "(cached) $ECHO_C" >&6
48099 else
48100
48101
48102
48103     ac_ext=cc
48104 ac_cpp='$CXXCPP $CPPFLAGS'
48105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48108
48109     cat >conftest.$ac_ext <<_ACEOF
48110 /* confdefs.h.  */
48111 _ACEOF
48112 cat confdefs.h >>conftest.$ac_ext
48113 cat >>conftest.$ac_ext <<_ACEOF
48114 /* end confdefs.h.  */
48115 #include <math.h>
48116 int
48117 main ()
48118 {
48119  `for x in _ceill _floorl; do echo "$x (0);"; done`
48120   ;
48121   return 0;
48122 }
48123 _ACEOF
48124 rm -f conftest.$ac_objext
48125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48126   (eval $ac_compile) 2>conftest.er1
48127   ac_status=$?
48128   grep -v '^ *+' conftest.er1 >conftest.err
48129   rm -f conftest.er1
48130   cat conftest.err >&5
48131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48132   (exit $ac_status); } &&
48133          { ac_try='test -z "$ac_cxx_werror_flag"
48134                          || test ! -s conftest.err'
48135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48136   (eval $ac_try) 2>&5
48137   ac_status=$?
48138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48139   (exit $ac_status); }; } &&
48140          { ac_try='test -s conftest.$ac_objext'
48141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48142   (eval $ac_try) 2>&5
48143   ac_status=$?
48144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48145   (exit $ac_status); }; }; then
48146   glibcxx_cv_func__long_double_round_use=yes
48147 else
48148   echo "$as_me: failed program was:" >&5
48149 sed 's/^/| /' conftest.$ac_ext >&5
48150
48151 glibcxx_cv_func__long_double_round_use=no
48152 fi
48153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48154     ac_ext=c
48155 ac_cpp='$CPP $CPPFLAGS'
48156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48159
48160 fi
48161
48162   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
48163 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
48164   if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48165
48166
48167 for ac_func in _ceill _floorl
48168 do
48169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48170 echo "$as_me:$LINENO: checking for $ac_func" >&5
48171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48172 if eval "test \"\${$as_ac_var+set}\" = set"; then
48173   echo $ECHO_N "(cached) $ECHO_C" >&6
48174 else
48175   if test x$gcc_no_link = xyes; then
48176   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48178    { (exit 1); exit 1; }; }
48179 fi
48180 cat >conftest.$ac_ext <<_ACEOF
48181 /* confdefs.h.  */
48182 _ACEOF
48183 cat confdefs.h >>conftest.$ac_ext
48184 cat >>conftest.$ac_ext <<_ACEOF
48185 /* end confdefs.h.  */
48186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48187    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48188 #define $ac_func innocuous_$ac_func
48189
48190 /* System header to define __stub macros and hopefully few prototypes,
48191     which can conflict with char $ac_func (); below.
48192     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48193     <limits.h> exists even on freestanding compilers.  */
48194
48195 #ifdef __STDC__
48196 # include <limits.h>
48197 #else
48198 # include <assert.h>
48199 #endif
48200
48201 #undef $ac_func
48202
48203 /* Override any gcc2 internal prototype to avoid an error.  */
48204 #ifdef __cplusplus
48205 extern "C"
48206 {
48207 #endif
48208 /* We use char because int might match the return type of a gcc2
48209    builtin and then its argument prototype would still apply.  */
48210 char $ac_func ();
48211 /* The GNU C library defines this for functions which it implements
48212     to always fail with ENOSYS.  Some functions are actually named
48213     something starting with __ and the normal name is an alias.  */
48214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48215 choke me
48216 #else
48217 char (*f) () = $ac_func;
48218 #endif
48219 #ifdef __cplusplus
48220 }
48221 #endif
48222
48223 int
48224 main ()
48225 {
48226 return f != $ac_func;
48227   ;
48228   return 0;
48229 }
48230 _ACEOF
48231 rm -f conftest.$ac_objext conftest$ac_exeext
48232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48233   (eval $ac_link) 2>conftest.er1
48234   ac_status=$?
48235   grep -v '^ *+' conftest.er1 >conftest.err
48236   rm -f conftest.er1
48237   cat conftest.err >&5
48238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48239   (exit $ac_status); } &&
48240          { ac_try='test -z "$ac_c_werror_flag"
48241                          || test ! -s conftest.err'
48242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48243   (eval $ac_try) 2>&5
48244   ac_status=$?
48245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48246   (exit $ac_status); }; } &&
48247          { ac_try='test -s conftest$ac_exeext'
48248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48249   (eval $ac_try) 2>&5
48250   ac_status=$?
48251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48252   (exit $ac_status); }; }; then
48253   eval "$as_ac_var=yes"
48254 else
48255   echo "$as_me: failed program was:" >&5
48256 sed 's/^/| /' conftest.$ac_ext >&5
48257
48258 eval "$as_ac_var=no"
48259 fi
48260 rm -f conftest.err conftest.$ac_objext \
48261       conftest$ac_exeext conftest.$ac_ext
48262 fi
48263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48265 if test `eval echo '${'$as_ac_var'}'` = yes; then
48266   cat >>confdefs.h <<_ACEOF
48267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48268 _ACEOF
48269
48270 fi
48271 done
48272
48273   fi
48274
48275
48276   LIBS="$ac_save_LIBS"
48277   CXXFLAGS="$ac_save_CXXFLAGS"
48278
48279
48280
48281   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
48282 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
48283   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
48284     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
48285   echo $ECHO_N "(cached) $ECHO_C" >&6
48286 else
48287
48288
48289
48290       ac_ext=cc
48291 ac_cpp='$CXXCPP $CPPFLAGS'
48292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48295
48296       cat >conftest.$ac_ext <<_ACEOF
48297 /* confdefs.h.  */
48298 _ACEOF
48299 cat confdefs.h >>conftest.$ac_ext
48300 cat >>conftest.$ac_ext <<_ACEOF
48301 /* end confdefs.h.  */
48302 #include <math.h>
48303 int
48304 main ()
48305 {
48306  __builtin_abs(0);
48307   ;
48308   return 0;
48309 }
48310 _ACEOF
48311 rm -f conftest.$ac_objext
48312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48313   (eval $ac_compile) 2>conftest.er1
48314   ac_status=$?
48315   grep -v '^ *+' conftest.er1 >conftest.err
48316   rm -f conftest.er1
48317   cat conftest.err >&5
48318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48319   (exit $ac_status); } &&
48320          { ac_try='test -z "$ac_cxx_werror_flag"
48321                          || test ! -s conftest.err'
48322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48323   (eval $ac_try) 2>&5
48324   ac_status=$?
48325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48326   (exit $ac_status); }; } &&
48327          { ac_try='test -s conftest.$ac_objext'
48328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48329   (eval $ac_try) 2>&5
48330   ac_status=$?
48331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48332   (exit $ac_status); }; }; then
48333   glibcxx_cv_func___builtin_abs_use=yes
48334 else
48335   echo "$as_me: failed program was:" >&5
48336 sed 's/^/| /' conftest.$ac_ext >&5
48337
48338 glibcxx_cv_func___builtin_abs_use=no
48339 fi
48340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48341       ac_ext=c
48342 ac_cpp='$CPP $CPPFLAGS'
48343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48346
48347
48348 fi
48349
48350   fi
48351   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
48352 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
48353   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
48354     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
48355 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
48356     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
48357       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
48358   echo $ECHO_N "(cached) $ECHO_C" >&6
48359 else
48360
48361         if test x$gcc_no_link = xyes; then
48362   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48364    { (exit 1); exit 1; }; }
48365 fi
48366 cat >conftest.$ac_ext <<_ACEOF
48367 /* confdefs.h.  */
48368 _ACEOF
48369 cat confdefs.h >>conftest.$ac_ext
48370 cat >>conftest.$ac_ext <<_ACEOF
48371 /* end confdefs.h.  */
48372 #include <math.h>
48373 int
48374 main ()
48375 {
48376  __builtin_abs(0);
48377   ;
48378   return 0;
48379 }
48380 _ACEOF
48381 rm -f conftest.$ac_objext conftest$ac_exeext
48382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48383   (eval $ac_link) 2>conftest.er1
48384   ac_status=$?
48385   grep -v '^ *+' conftest.er1 >conftest.err
48386   rm -f conftest.er1
48387   cat conftest.err >&5
48388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48389   (exit $ac_status); } &&
48390          { ac_try='test -z "$ac_c_werror_flag"
48391                          || test ! -s conftest.err'
48392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48393   (eval $ac_try) 2>&5
48394   ac_status=$?
48395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48396   (exit $ac_status); }; } &&
48397          { ac_try='test -s conftest$ac_exeext'
48398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48399   (eval $ac_try) 2>&5
48400   ac_status=$?
48401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48402   (exit $ac_status); }; }; then
48403   glibcxx_cv_func___builtin_abs_link=yes
48404 else
48405   echo "$as_me: failed program was:" >&5
48406 sed 's/^/| /' conftest.$ac_ext >&5
48407
48408 glibcxx_cv_func___builtin_abs_link=no
48409 fi
48410 rm -f conftest.err conftest.$ac_objext \
48411       conftest$ac_exeext conftest.$ac_ext
48412
48413 fi
48414
48415     fi
48416     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
48417 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
48418     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
48419       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48420
48421 cat >>confdefs.h <<_ACEOF
48422 #define ${ac_tr_func} 1
48423 _ACEOF
48424
48425     fi
48426   fi
48427
48428
48429   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
48430 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
48431   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
48432     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
48433   echo $ECHO_N "(cached) $ECHO_C" >&6
48434 else
48435
48436
48437
48438       ac_ext=cc
48439 ac_cpp='$CXXCPP $CPPFLAGS'
48440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48443
48444       cat >conftest.$ac_ext <<_ACEOF
48445 /* confdefs.h.  */
48446 _ACEOF
48447 cat confdefs.h >>conftest.$ac_ext
48448 cat >>conftest.$ac_ext <<_ACEOF
48449 /* end confdefs.h.  */
48450 #include <math.h>
48451 int
48452 main ()
48453 {
48454  __builtin_fabsf(0);
48455   ;
48456   return 0;
48457 }
48458 _ACEOF
48459 rm -f conftest.$ac_objext
48460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48461   (eval $ac_compile) 2>conftest.er1
48462   ac_status=$?
48463   grep -v '^ *+' conftest.er1 >conftest.err
48464   rm -f conftest.er1
48465   cat conftest.err >&5
48466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48467   (exit $ac_status); } &&
48468          { ac_try='test -z "$ac_cxx_werror_flag"
48469                          || test ! -s conftest.err'
48470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48471   (eval $ac_try) 2>&5
48472   ac_status=$?
48473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48474   (exit $ac_status); }; } &&
48475          { ac_try='test -s conftest.$ac_objext'
48476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48477   (eval $ac_try) 2>&5
48478   ac_status=$?
48479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48480   (exit $ac_status); }; }; then
48481   glibcxx_cv_func___builtin_fabsf_use=yes
48482 else
48483   echo "$as_me: failed program was:" >&5
48484 sed 's/^/| /' conftest.$ac_ext >&5
48485
48486 glibcxx_cv_func___builtin_fabsf_use=no
48487 fi
48488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48489       ac_ext=c
48490 ac_cpp='$CPP $CPPFLAGS'
48491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48494
48495
48496 fi
48497
48498   fi
48499   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
48500 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
48501   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
48502     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
48503 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
48504     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
48505       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
48506   echo $ECHO_N "(cached) $ECHO_C" >&6
48507 else
48508
48509         if test x$gcc_no_link = xyes; then
48510   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48512    { (exit 1); exit 1; }; }
48513 fi
48514 cat >conftest.$ac_ext <<_ACEOF
48515 /* confdefs.h.  */
48516 _ACEOF
48517 cat confdefs.h >>conftest.$ac_ext
48518 cat >>conftest.$ac_ext <<_ACEOF
48519 /* end confdefs.h.  */
48520 #include <math.h>
48521 int
48522 main ()
48523 {
48524  __builtin_fabsf(0);
48525   ;
48526   return 0;
48527 }
48528 _ACEOF
48529 rm -f conftest.$ac_objext conftest$ac_exeext
48530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48531   (eval $ac_link) 2>conftest.er1
48532   ac_status=$?
48533   grep -v '^ *+' conftest.er1 >conftest.err
48534   rm -f conftest.er1
48535   cat conftest.err >&5
48536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48537   (exit $ac_status); } &&
48538          { ac_try='test -z "$ac_c_werror_flag"
48539                          || test ! -s conftest.err'
48540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48541   (eval $ac_try) 2>&5
48542   ac_status=$?
48543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48544   (exit $ac_status); }; } &&
48545          { ac_try='test -s conftest$ac_exeext'
48546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48547   (eval $ac_try) 2>&5
48548   ac_status=$?
48549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48550   (exit $ac_status); }; }; then
48551   glibcxx_cv_func___builtin_fabsf_link=yes
48552 else
48553   echo "$as_me: failed program was:" >&5
48554 sed 's/^/| /' conftest.$ac_ext >&5
48555
48556 glibcxx_cv_func___builtin_fabsf_link=no
48557 fi
48558 rm -f conftest.err conftest.$ac_objext \
48559       conftest$ac_exeext conftest.$ac_ext
48560
48561 fi
48562
48563     fi
48564     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
48565 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
48566     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
48567       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48568
48569 cat >>confdefs.h <<_ACEOF
48570 #define ${ac_tr_func} 1
48571 _ACEOF
48572
48573     fi
48574   fi
48575
48576
48577   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
48578 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
48579   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
48580     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
48581   echo $ECHO_N "(cached) $ECHO_C" >&6
48582 else
48583
48584
48585
48586       ac_ext=cc
48587 ac_cpp='$CXXCPP $CPPFLAGS'
48588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48591
48592       cat >conftest.$ac_ext <<_ACEOF
48593 /* confdefs.h.  */
48594 _ACEOF
48595 cat confdefs.h >>conftest.$ac_ext
48596 cat >>conftest.$ac_ext <<_ACEOF
48597 /* end confdefs.h.  */
48598 #include <math.h>
48599 int
48600 main ()
48601 {
48602  __builtin_fabs(0);
48603   ;
48604   return 0;
48605 }
48606 _ACEOF
48607 rm -f conftest.$ac_objext
48608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48609   (eval $ac_compile) 2>conftest.er1
48610   ac_status=$?
48611   grep -v '^ *+' conftest.er1 >conftest.err
48612   rm -f conftest.er1
48613   cat conftest.err >&5
48614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48615   (exit $ac_status); } &&
48616          { ac_try='test -z "$ac_cxx_werror_flag"
48617                          || test ! -s conftest.err'
48618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48619   (eval $ac_try) 2>&5
48620   ac_status=$?
48621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48622   (exit $ac_status); }; } &&
48623          { ac_try='test -s conftest.$ac_objext'
48624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48625   (eval $ac_try) 2>&5
48626   ac_status=$?
48627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48628   (exit $ac_status); }; }; then
48629   glibcxx_cv_func___builtin_fabs_use=yes
48630 else
48631   echo "$as_me: failed program was:" >&5
48632 sed 's/^/| /' conftest.$ac_ext >&5
48633
48634 glibcxx_cv_func___builtin_fabs_use=no
48635 fi
48636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48637       ac_ext=c
48638 ac_cpp='$CPP $CPPFLAGS'
48639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48642
48643
48644 fi
48645
48646   fi
48647   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
48648 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
48649   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
48650     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
48651 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
48652     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
48653       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
48654   echo $ECHO_N "(cached) $ECHO_C" >&6
48655 else
48656
48657         if test x$gcc_no_link = xyes; then
48658   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48660    { (exit 1); exit 1; }; }
48661 fi
48662 cat >conftest.$ac_ext <<_ACEOF
48663 /* confdefs.h.  */
48664 _ACEOF
48665 cat confdefs.h >>conftest.$ac_ext
48666 cat >>conftest.$ac_ext <<_ACEOF
48667 /* end confdefs.h.  */
48668 #include <math.h>
48669 int
48670 main ()
48671 {
48672  __builtin_fabs(0);
48673   ;
48674   return 0;
48675 }
48676 _ACEOF
48677 rm -f conftest.$ac_objext conftest$ac_exeext
48678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48679   (eval $ac_link) 2>conftest.er1
48680   ac_status=$?
48681   grep -v '^ *+' conftest.er1 >conftest.err
48682   rm -f conftest.er1
48683   cat conftest.err >&5
48684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48685   (exit $ac_status); } &&
48686          { ac_try='test -z "$ac_c_werror_flag"
48687                          || test ! -s conftest.err'
48688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48689   (eval $ac_try) 2>&5
48690   ac_status=$?
48691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48692   (exit $ac_status); }; } &&
48693          { ac_try='test -s conftest$ac_exeext'
48694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48695   (eval $ac_try) 2>&5
48696   ac_status=$?
48697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48698   (exit $ac_status); }; }; then
48699   glibcxx_cv_func___builtin_fabs_link=yes
48700 else
48701   echo "$as_me: failed program was:" >&5
48702 sed 's/^/| /' conftest.$ac_ext >&5
48703
48704 glibcxx_cv_func___builtin_fabs_link=no
48705 fi
48706 rm -f conftest.err conftest.$ac_objext \
48707       conftest$ac_exeext conftest.$ac_ext
48708
48709 fi
48710
48711     fi
48712     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
48713 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
48714     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
48715       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48716
48717 cat >>confdefs.h <<_ACEOF
48718 #define ${ac_tr_func} 1
48719 _ACEOF
48720
48721     fi
48722   fi
48723
48724
48725   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
48726 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
48727   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
48728     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
48729   echo $ECHO_N "(cached) $ECHO_C" >&6
48730 else
48731
48732
48733
48734       ac_ext=cc
48735 ac_cpp='$CXXCPP $CPPFLAGS'
48736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48739
48740       cat >conftest.$ac_ext <<_ACEOF
48741 /* confdefs.h.  */
48742 _ACEOF
48743 cat confdefs.h >>conftest.$ac_ext
48744 cat >>conftest.$ac_ext <<_ACEOF
48745 /* end confdefs.h.  */
48746 #include <math.h>
48747 int
48748 main ()
48749 {
48750  __builtin_fabsl(0);
48751   ;
48752   return 0;
48753 }
48754 _ACEOF
48755 rm -f conftest.$ac_objext
48756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48757   (eval $ac_compile) 2>conftest.er1
48758   ac_status=$?
48759   grep -v '^ *+' conftest.er1 >conftest.err
48760   rm -f conftest.er1
48761   cat conftest.err >&5
48762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48763   (exit $ac_status); } &&
48764          { ac_try='test -z "$ac_cxx_werror_flag"
48765                          || test ! -s conftest.err'
48766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48767   (eval $ac_try) 2>&5
48768   ac_status=$?
48769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48770   (exit $ac_status); }; } &&
48771          { ac_try='test -s conftest.$ac_objext'
48772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48773   (eval $ac_try) 2>&5
48774   ac_status=$?
48775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48776   (exit $ac_status); }; }; then
48777   glibcxx_cv_func___builtin_fabsl_use=yes
48778 else
48779   echo "$as_me: failed program was:" >&5
48780 sed 's/^/| /' conftest.$ac_ext >&5
48781
48782 glibcxx_cv_func___builtin_fabsl_use=no
48783 fi
48784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48785       ac_ext=c
48786 ac_cpp='$CPP $CPPFLAGS'
48787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48790
48791
48792 fi
48793
48794   fi
48795   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
48796 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
48797   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
48798     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
48799 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
48800     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
48801       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
48802   echo $ECHO_N "(cached) $ECHO_C" >&6
48803 else
48804
48805         if test x$gcc_no_link = xyes; then
48806   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48808    { (exit 1); exit 1; }; }
48809 fi
48810 cat >conftest.$ac_ext <<_ACEOF
48811 /* confdefs.h.  */
48812 _ACEOF
48813 cat confdefs.h >>conftest.$ac_ext
48814 cat >>conftest.$ac_ext <<_ACEOF
48815 /* end confdefs.h.  */
48816 #include <math.h>
48817 int
48818 main ()
48819 {
48820  __builtin_fabsl(0);
48821   ;
48822   return 0;
48823 }
48824 _ACEOF
48825 rm -f conftest.$ac_objext conftest$ac_exeext
48826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48827   (eval $ac_link) 2>conftest.er1
48828   ac_status=$?
48829   grep -v '^ *+' conftest.er1 >conftest.err
48830   rm -f conftest.er1
48831   cat conftest.err >&5
48832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48833   (exit $ac_status); } &&
48834          { ac_try='test -z "$ac_c_werror_flag"
48835                          || test ! -s conftest.err'
48836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48837   (eval $ac_try) 2>&5
48838   ac_status=$?
48839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48840   (exit $ac_status); }; } &&
48841          { ac_try='test -s conftest$ac_exeext'
48842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48843   (eval $ac_try) 2>&5
48844   ac_status=$?
48845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48846   (exit $ac_status); }; }; then
48847   glibcxx_cv_func___builtin_fabsl_link=yes
48848 else
48849   echo "$as_me: failed program was:" >&5
48850 sed 's/^/| /' conftest.$ac_ext >&5
48851
48852 glibcxx_cv_func___builtin_fabsl_link=no
48853 fi
48854 rm -f conftest.err conftest.$ac_objext \
48855       conftest$ac_exeext conftest.$ac_ext
48856
48857 fi
48858
48859     fi
48860     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
48861 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
48862     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
48863       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48864
48865 cat >>confdefs.h <<_ACEOF
48866 #define ${ac_tr_func} 1
48867 _ACEOF
48868
48869     fi
48870   fi
48871
48872
48873   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
48874 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
48875   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
48876     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
48877   echo $ECHO_N "(cached) $ECHO_C" >&6
48878 else
48879
48880
48881
48882       ac_ext=cc
48883 ac_cpp='$CXXCPP $CPPFLAGS'
48884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48887
48888       cat >conftest.$ac_ext <<_ACEOF
48889 /* confdefs.h.  */
48890 _ACEOF
48891 cat confdefs.h >>conftest.$ac_ext
48892 cat >>conftest.$ac_ext <<_ACEOF
48893 /* end confdefs.h.  */
48894 #include <math.h>
48895 int
48896 main ()
48897 {
48898  __builtin_labs(0);
48899   ;
48900   return 0;
48901 }
48902 _ACEOF
48903 rm -f conftest.$ac_objext
48904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48905   (eval $ac_compile) 2>conftest.er1
48906   ac_status=$?
48907   grep -v '^ *+' conftest.er1 >conftest.err
48908   rm -f conftest.er1
48909   cat conftest.err >&5
48910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48911   (exit $ac_status); } &&
48912          { ac_try='test -z "$ac_cxx_werror_flag"
48913                          || test ! -s conftest.err'
48914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48915   (eval $ac_try) 2>&5
48916   ac_status=$?
48917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48918   (exit $ac_status); }; } &&
48919          { ac_try='test -s conftest.$ac_objext'
48920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48921   (eval $ac_try) 2>&5
48922   ac_status=$?
48923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48924   (exit $ac_status); }; }; then
48925   glibcxx_cv_func___builtin_labs_use=yes
48926 else
48927   echo "$as_me: failed program was:" >&5
48928 sed 's/^/| /' conftest.$ac_ext >&5
48929
48930 glibcxx_cv_func___builtin_labs_use=no
48931 fi
48932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48933       ac_ext=c
48934 ac_cpp='$CPP $CPPFLAGS'
48935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48938
48939
48940 fi
48941
48942   fi
48943   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
48944 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
48945   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
48946     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
48947 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
48948     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
48949       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
48950   echo $ECHO_N "(cached) $ECHO_C" >&6
48951 else
48952
48953         if test x$gcc_no_link = xyes; then
48954   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48956    { (exit 1); exit 1; }; }
48957 fi
48958 cat >conftest.$ac_ext <<_ACEOF
48959 /* confdefs.h.  */
48960 _ACEOF
48961 cat confdefs.h >>conftest.$ac_ext
48962 cat >>conftest.$ac_ext <<_ACEOF
48963 /* end confdefs.h.  */
48964 #include <math.h>
48965 int
48966 main ()
48967 {
48968  __builtin_labs(0);
48969   ;
48970   return 0;
48971 }
48972 _ACEOF
48973 rm -f conftest.$ac_objext conftest$ac_exeext
48974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48975   (eval $ac_link) 2>conftest.er1
48976   ac_status=$?
48977   grep -v '^ *+' conftest.er1 >conftest.err
48978   rm -f conftest.er1
48979   cat conftest.err >&5
48980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48981   (exit $ac_status); } &&
48982          { ac_try='test -z "$ac_c_werror_flag"
48983                          || test ! -s conftest.err'
48984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48985   (eval $ac_try) 2>&5
48986   ac_status=$?
48987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48988   (exit $ac_status); }; } &&
48989          { ac_try='test -s conftest$ac_exeext'
48990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48991   (eval $ac_try) 2>&5
48992   ac_status=$?
48993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48994   (exit $ac_status); }; }; then
48995   glibcxx_cv_func___builtin_labs_link=yes
48996 else
48997   echo "$as_me: failed program was:" >&5
48998 sed 's/^/| /' conftest.$ac_ext >&5
48999
49000 glibcxx_cv_func___builtin_labs_link=no
49001 fi
49002 rm -f conftest.err conftest.$ac_objext \
49003       conftest$ac_exeext conftest.$ac_ext
49004
49005 fi
49006
49007     fi
49008     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
49009 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
49010     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
49011       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49012
49013 cat >>confdefs.h <<_ACEOF
49014 #define ${ac_tr_func} 1
49015 _ACEOF
49016
49017     fi
49018   fi
49019
49020
49021
49022   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
49023 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
49024   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
49025     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
49026   echo $ECHO_N "(cached) $ECHO_C" >&6
49027 else
49028
49029
49030
49031       ac_ext=cc
49032 ac_cpp='$CXXCPP $CPPFLAGS'
49033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49036
49037       cat >conftest.$ac_ext <<_ACEOF
49038 /* confdefs.h.  */
49039 _ACEOF
49040 cat confdefs.h >>conftest.$ac_ext
49041 cat >>conftest.$ac_ext <<_ACEOF
49042 /* end confdefs.h.  */
49043 #include <math.h>
49044 int
49045 main ()
49046 {
49047  __builtin_sqrtf(0);
49048   ;
49049   return 0;
49050 }
49051 _ACEOF
49052 rm -f conftest.$ac_objext
49053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49054   (eval $ac_compile) 2>conftest.er1
49055   ac_status=$?
49056   grep -v '^ *+' conftest.er1 >conftest.err
49057   rm -f conftest.er1
49058   cat conftest.err >&5
49059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49060   (exit $ac_status); } &&
49061          { ac_try='test -z "$ac_cxx_werror_flag"
49062                          || test ! -s conftest.err'
49063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49064   (eval $ac_try) 2>&5
49065   ac_status=$?
49066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49067   (exit $ac_status); }; } &&
49068          { ac_try='test -s conftest.$ac_objext'
49069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49070   (eval $ac_try) 2>&5
49071   ac_status=$?
49072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49073   (exit $ac_status); }; }; then
49074   glibcxx_cv_func___builtin_sqrtf_use=yes
49075 else
49076   echo "$as_me: failed program was:" >&5
49077 sed 's/^/| /' conftest.$ac_ext >&5
49078
49079 glibcxx_cv_func___builtin_sqrtf_use=no
49080 fi
49081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49082       ac_ext=c
49083 ac_cpp='$CPP $CPPFLAGS'
49084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49087
49088
49089 fi
49090
49091   fi
49092   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
49093 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
49094   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
49095     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
49096 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
49097     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
49098       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
49099   echo $ECHO_N "(cached) $ECHO_C" >&6
49100 else
49101
49102         if test x$gcc_no_link = xyes; then
49103   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49105    { (exit 1); exit 1; }; }
49106 fi
49107 cat >conftest.$ac_ext <<_ACEOF
49108 /* confdefs.h.  */
49109 _ACEOF
49110 cat confdefs.h >>conftest.$ac_ext
49111 cat >>conftest.$ac_ext <<_ACEOF
49112 /* end confdefs.h.  */
49113 #include <math.h>
49114 int
49115 main ()
49116 {
49117  __builtin_sqrtf(0);
49118   ;
49119   return 0;
49120 }
49121 _ACEOF
49122 rm -f conftest.$ac_objext conftest$ac_exeext
49123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49124   (eval $ac_link) 2>conftest.er1
49125   ac_status=$?
49126   grep -v '^ *+' conftest.er1 >conftest.err
49127   rm -f conftest.er1
49128   cat conftest.err >&5
49129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49130   (exit $ac_status); } &&
49131          { ac_try='test -z "$ac_c_werror_flag"
49132                          || test ! -s conftest.err'
49133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49134   (eval $ac_try) 2>&5
49135   ac_status=$?
49136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49137   (exit $ac_status); }; } &&
49138          { ac_try='test -s conftest$ac_exeext'
49139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49140   (eval $ac_try) 2>&5
49141   ac_status=$?
49142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49143   (exit $ac_status); }; }; then
49144   glibcxx_cv_func___builtin_sqrtf_link=yes
49145 else
49146   echo "$as_me: failed program was:" >&5
49147 sed 's/^/| /' conftest.$ac_ext >&5
49148
49149 glibcxx_cv_func___builtin_sqrtf_link=no
49150 fi
49151 rm -f conftest.err conftest.$ac_objext \
49152       conftest$ac_exeext conftest.$ac_ext
49153
49154 fi
49155
49156     fi
49157     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
49158 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
49159     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
49160       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49161
49162 cat >>confdefs.h <<_ACEOF
49163 #define ${ac_tr_func} 1
49164 _ACEOF
49165
49166     fi
49167   fi
49168
49169
49170   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
49171 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
49172   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
49173     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
49174   echo $ECHO_N "(cached) $ECHO_C" >&6
49175 else
49176
49177
49178
49179       ac_ext=cc
49180 ac_cpp='$CXXCPP $CPPFLAGS'
49181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49184
49185       cat >conftest.$ac_ext <<_ACEOF
49186 /* confdefs.h.  */
49187 _ACEOF
49188 cat confdefs.h >>conftest.$ac_ext
49189 cat >>conftest.$ac_ext <<_ACEOF
49190 /* end confdefs.h.  */
49191 #include <math.h>
49192 int
49193 main ()
49194 {
49195  __builtin_sqrt(0);
49196   ;
49197   return 0;
49198 }
49199 _ACEOF
49200 rm -f conftest.$ac_objext
49201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49202   (eval $ac_compile) 2>conftest.er1
49203   ac_status=$?
49204   grep -v '^ *+' conftest.er1 >conftest.err
49205   rm -f conftest.er1
49206   cat conftest.err >&5
49207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49208   (exit $ac_status); } &&
49209          { ac_try='test -z "$ac_cxx_werror_flag"
49210                          || test ! -s conftest.err'
49211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49212   (eval $ac_try) 2>&5
49213   ac_status=$?
49214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49215   (exit $ac_status); }; } &&
49216          { ac_try='test -s conftest.$ac_objext'
49217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49218   (eval $ac_try) 2>&5
49219   ac_status=$?
49220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49221   (exit $ac_status); }; }; then
49222   glibcxx_cv_func___builtin_sqrt_use=yes
49223 else
49224   echo "$as_me: failed program was:" >&5
49225 sed 's/^/| /' conftest.$ac_ext >&5
49226
49227 glibcxx_cv_func___builtin_sqrt_use=no
49228 fi
49229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49230       ac_ext=c
49231 ac_cpp='$CPP $CPPFLAGS'
49232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49235
49236
49237 fi
49238
49239   fi
49240   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
49241 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
49242   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
49243     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
49244 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
49245     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
49246       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
49247   echo $ECHO_N "(cached) $ECHO_C" >&6
49248 else
49249
49250         if test x$gcc_no_link = xyes; then
49251   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49253    { (exit 1); exit 1; }; }
49254 fi
49255 cat >conftest.$ac_ext <<_ACEOF
49256 /* confdefs.h.  */
49257 _ACEOF
49258 cat confdefs.h >>conftest.$ac_ext
49259 cat >>conftest.$ac_ext <<_ACEOF
49260 /* end confdefs.h.  */
49261 #include <math.h>
49262 int
49263 main ()
49264 {
49265  __builtin_sqrt(0);
49266   ;
49267   return 0;
49268 }
49269 _ACEOF
49270 rm -f conftest.$ac_objext conftest$ac_exeext
49271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49272   (eval $ac_link) 2>conftest.er1
49273   ac_status=$?
49274   grep -v '^ *+' conftest.er1 >conftest.err
49275   rm -f conftest.er1
49276   cat conftest.err >&5
49277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49278   (exit $ac_status); } &&
49279          { ac_try='test -z "$ac_c_werror_flag"
49280                          || test ! -s conftest.err'
49281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49282   (eval $ac_try) 2>&5
49283   ac_status=$?
49284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49285   (exit $ac_status); }; } &&
49286          { ac_try='test -s conftest$ac_exeext'
49287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49288   (eval $ac_try) 2>&5
49289   ac_status=$?
49290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49291   (exit $ac_status); }; }; then
49292   glibcxx_cv_func___builtin_sqrt_link=yes
49293 else
49294   echo "$as_me: failed program was:" >&5
49295 sed 's/^/| /' conftest.$ac_ext >&5
49296
49297 glibcxx_cv_func___builtin_sqrt_link=no
49298 fi
49299 rm -f conftest.err conftest.$ac_objext \
49300       conftest$ac_exeext conftest.$ac_ext
49301
49302 fi
49303
49304     fi
49305     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
49306 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
49307     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
49308       ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49309
49310 cat >>confdefs.h <<_ACEOF
49311 #define ${ac_tr_func} 1
49312 _ACEOF
49313
49314     fi
49315   fi
49316
49317
49318   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
49319 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
49320   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
49321     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
49322   echo $ECHO_N "(cached) $ECHO_C" >&6
49323 else
49324
49325
49326
49327       ac_ext=cc
49328 ac_cpp='$CXXCPP $CPPFLAGS'
49329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49332
49333       cat >conftest.$ac_ext <<_ACEOF
49334 /* confdefs.h.  */
49335 _ACEOF
49336 cat confdefs.h >>conftest.$ac_ext
49337 cat >>conftest.$ac_ext <<_ACEOF
49338 /* end confdefs.h.  */
49339 #include <math.h>
49340 int
49341 main ()
49342 {
49343  __builtin_sqrtl(0);
49344   ;
49345   return 0;
49346 }
49347 _ACEOF
49348 rm -f conftest.$ac_objext
49349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49350   (eval $ac_compile) 2>conftest.er1
49351   ac_status=$?
49352   grep -v '^ *+' conftest.er1 >conftest.err
49353   rm -f conftest.er1
49354   cat conftest.err >&5
49355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49356   (exit $ac_status); } &&
49357          { ac_try='test -z "$ac_cxx_werror_flag"
49358                          || test ! -s conftest.err'
49359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49360   (eval $ac_try) 2>&5
49361   ac_status=$?
49362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49363   (exit $ac_status); }; } &&
49364          { ac_try='test -s conftest.$ac_objext'
49365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49366   (eval $ac_try) 2>&5
49367   ac_status=$?
49368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49369   (exit $ac_status); }; }; then
49370   glibcxx_cv_func___builtin_sqrtl_use=yes
49371 else
49372   echo "$as_me: failed program was:" >&5
49373 sed 's/^/| /' conftest.$ac_ext >&5
49374
49375 glibcxx_cv_func___builtin_sqrtl_use=no
49376 fi
49377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49378       ac_ext=c
49379 ac_cpp='$CPP $CPPFLAGS'
49380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49383
49384
49385 fi
49386
49387   fi
49388   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
49389 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
49390   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
49391     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
49392 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
49393     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
49394       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
49395   echo $ECHO_N "(cached) $ECHO_C" >&6
49396 else
49397
49398         if test x$gcc_no_link = xyes; then
49399   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49401    { (exit 1); exit 1; }; }
49402 fi
49403 cat >conftest.$ac_ext <<_ACEOF
49404 /* confdefs.h.  */
49405 _ACEOF
49406 cat confdefs.h >>conftest.$ac_ext
49407 cat >>conftest.$ac_ext <<_ACEOF
49408 /* end confdefs.h.  */
49409 #include <math.h>
49410 int
49411 main ()
49412 {
49413  __builtin_sqrtl(0);
49414   ;
49415   return 0;
49416 }
49417 _ACEOF
49418 rm -f conftest.$ac_objext conftest$ac_exeext
49419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49420   (eval $ac_link) 2>conftest.er1
49421   ac_status=$?
49422   grep -v '^ *+' conftest.er1 >conftest.err
49423   rm -f conftest.er1
49424   cat conftest.err >&5
49425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49426   (exit $ac_status); } &&
49427          { ac_try='test -z "$ac_c_werror_flag"
49428                          || test ! -s conftest.err'
49429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49430   (eval $ac_try) 2>&5
49431   ac_status=$?
49432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49433   (exit $ac_status); }; } &&
49434          { ac_try='test -s conftest$ac_exeext'
49435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49436   (eval $ac_try) 2>&5
49437   ac_status=$?
49438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49439   (exit $ac_status); }; }; then
49440   glibcxx_cv_func___builtin_sqrtl_link=yes
49441 else
49442   echo "$as_me: failed program was:" >&5
49443 sed 's/^/| /' conftest.$ac_ext >&5
49444
49445 glibcxx_cv_func___builtin_sqrtl_link=no
49446 fi
49447 rm -f conftest.err conftest.$ac_objext \
49448       conftest$ac_exeext conftest.$ac_ext
49449
49450 fi
49451
49452     fi
49453     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
49454 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
49455     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
49456       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49457
49458 cat >>confdefs.h <<_ACEOF
49459 #define ${ac_tr_func} 1
49460 _ACEOF
49461
49462     fi
49463   fi
49464
49465
49466
49467   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
49468 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
49469   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
49470     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
49471   echo $ECHO_N "(cached) $ECHO_C" >&6
49472 else
49473
49474
49475
49476       ac_ext=cc
49477 ac_cpp='$CXXCPP $CPPFLAGS'
49478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49481
49482       cat >conftest.$ac_ext <<_ACEOF
49483 /* confdefs.h.  */
49484 _ACEOF
49485 cat confdefs.h >>conftest.$ac_ext
49486 cat >>conftest.$ac_ext <<_ACEOF
49487 /* end confdefs.h.  */
49488 #include <math.h>
49489 int
49490 main ()
49491 {
49492  __builtin_sinf(0);
49493   ;
49494   return 0;
49495 }
49496 _ACEOF
49497 rm -f conftest.$ac_objext
49498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49499   (eval $ac_compile) 2>conftest.er1
49500   ac_status=$?
49501   grep -v '^ *+' conftest.er1 >conftest.err
49502   rm -f conftest.er1
49503   cat conftest.err >&5
49504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49505   (exit $ac_status); } &&
49506          { ac_try='test -z "$ac_cxx_werror_flag"
49507                          || test ! -s conftest.err'
49508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49509   (eval $ac_try) 2>&5
49510   ac_status=$?
49511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49512   (exit $ac_status); }; } &&
49513          { ac_try='test -s conftest.$ac_objext'
49514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49515   (eval $ac_try) 2>&5
49516   ac_status=$?
49517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49518   (exit $ac_status); }; }; then
49519   glibcxx_cv_func___builtin_sinf_use=yes
49520 else
49521   echo "$as_me: failed program was:" >&5
49522 sed 's/^/| /' conftest.$ac_ext >&5
49523
49524 glibcxx_cv_func___builtin_sinf_use=no
49525 fi
49526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49527       ac_ext=c
49528 ac_cpp='$CPP $CPPFLAGS'
49529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49532
49533
49534 fi
49535
49536   fi
49537   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
49538 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
49539   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
49540     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
49541 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
49542     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
49543       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
49544   echo $ECHO_N "(cached) $ECHO_C" >&6
49545 else
49546
49547         if test x$gcc_no_link = xyes; then
49548   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49550    { (exit 1); exit 1; }; }
49551 fi
49552 cat >conftest.$ac_ext <<_ACEOF
49553 /* confdefs.h.  */
49554 _ACEOF
49555 cat confdefs.h >>conftest.$ac_ext
49556 cat >>conftest.$ac_ext <<_ACEOF
49557 /* end confdefs.h.  */
49558 #include <math.h>
49559 int
49560 main ()
49561 {
49562  __builtin_sinf(0);
49563   ;
49564   return 0;
49565 }
49566 _ACEOF
49567 rm -f conftest.$ac_objext conftest$ac_exeext
49568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49569   (eval $ac_link) 2>conftest.er1
49570   ac_status=$?
49571   grep -v '^ *+' conftest.er1 >conftest.err
49572   rm -f conftest.er1
49573   cat conftest.err >&5
49574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49575   (exit $ac_status); } &&
49576          { ac_try='test -z "$ac_c_werror_flag"
49577                          || test ! -s conftest.err'
49578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49579   (eval $ac_try) 2>&5
49580   ac_status=$?
49581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49582   (exit $ac_status); }; } &&
49583          { ac_try='test -s conftest$ac_exeext'
49584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49585   (eval $ac_try) 2>&5
49586   ac_status=$?
49587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49588   (exit $ac_status); }; }; then
49589   glibcxx_cv_func___builtin_sinf_link=yes
49590 else
49591   echo "$as_me: failed program was:" >&5
49592 sed 's/^/| /' conftest.$ac_ext >&5
49593
49594 glibcxx_cv_func___builtin_sinf_link=no
49595 fi
49596 rm -f conftest.err conftest.$ac_objext \
49597       conftest$ac_exeext conftest.$ac_ext
49598
49599 fi
49600
49601     fi
49602     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
49603 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
49604     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
49605       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49606
49607 cat >>confdefs.h <<_ACEOF
49608 #define ${ac_tr_func} 1
49609 _ACEOF
49610
49611     fi
49612   fi
49613
49614
49615   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
49616 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
49617   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
49618     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
49619   echo $ECHO_N "(cached) $ECHO_C" >&6
49620 else
49621
49622
49623
49624       ac_ext=cc
49625 ac_cpp='$CXXCPP $CPPFLAGS'
49626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49629
49630       cat >conftest.$ac_ext <<_ACEOF
49631 /* confdefs.h.  */
49632 _ACEOF
49633 cat confdefs.h >>conftest.$ac_ext
49634 cat >>conftest.$ac_ext <<_ACEOF
49635 /* end confdefs.h.  */
49636 #include <math.h>
49637 int
49638 main ()
49639 {
49640  __builtin_sin(0);
49641   ;
49642   return 0;
49643 }
49644 _ACEOF
49645 rm -f conftest.$ac_objext
49646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49647   (eval $ac_compile) 2>conftest.er1
49648   ac_status=$?
49649   grep -v '^ *+' conftest.er1 >conftest.err
49650   rm -f conftest.er1
49651   cat conftest.err >&5
49652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49653   (exit $ac_status); } &&
49654          { ac_try='test -z "$ac_cxx_werror_flag"
49655                          || test ! -s conftest.err'
49656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49657   (eval $ac_try) 2>&5
49658   ac_status=$?
49659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49660   (exit $ac_status); }; } &&
49661          { ac_try='test -s conftest.$ac_objext'
49662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49663   (eval $ac_try) 2>&5
49664   ac_status=$?
49665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49666   (exit $ac_status); }; }; then
49667   glibcxx_cv_func___builtin_sin_use=yes
49668 else
49669   echo "$as_me: failed program was:" >&5
49670 sed 's/^/| /' conftest.$ac_ext >&5
49671
49672 glibcxx_cv_func___builtin_sin_use=no
49673 fi
49674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49675       ac_ext=c
49676 ac_cpp='$CPP $CPPFLAGS'
49677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49680
49681
49682 fi
49683
49684   fi
49685   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
49686 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
49687   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
49688     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
49689 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
49690     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
49691       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
49692   echo $ECHO_N "(cached) $ECHO_C" >&6
49693 else
49694
49695         if test x$gcc_no_link = xyes; then
49696   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49698    { (exit 1); exit 1; }; }
49699 fi
49700 cat >conftest.$ac_ext <<_ACEOF
49701 /* confdefs.h.  */
49702 _ACEOF
49703 cat confdefs.h >>conftest.$ac_ext
49704 cat >>conftest.$ac_ext <<_ACEOF
49705 /* end confdefs.h.  */
49706 #include <math.h>
49707 int
49708 main ()
49709 {
49710  __builtin_sin(0);
49711   ;
49712   return 0;
49713 }
49714 _ACEOF
49715 rm -f conftest.$ac_objext conftest$ac_exeext
49716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49717   (eval $ac_link) 2>conftest.er1
49718   ac_status=$?
49719   grep -v '^ *+' conftest.er1 >conftest.err
49720   rm -f conftest.er1
49721   cat conftest.err >&5
49722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49723   (exit $ac_status); } &&
49724          { ac_try='test -z "$ac_c_werror_flag"
49725                          || test ! -s conftest.err'
49726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49727   (eval $ac_try) 2>&5
49728   ac_status=$?
49729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49730   (exit $ac_status); }; } &&
49731          { ac_try='test -s conftest$ac_exeext'
49732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49733   (eval $ac_try) 2>&5
49734   ac_status=$?
49735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49736   (exit $ac_status); }; }; then
49737   glibcxx_cv_func___builtin_sin_link=yes
49738 else
49739   echo "$as_me: failed program was:" >&5
49740 sed 's/^/| /' conftest.$ac_ext >&5
49741
49742 glibcxx_cv_func___builtin_sin_link=no
49743 fi
49744 rm -f conftest.err conftest.$ac_objext \
49745       conftest$ac_exeext conftest.$ac_ext
49746
49747 fi
49748
49749     fi
49750     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
49751 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
49752     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
49753       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49754
49755 cat >>confdefs.h <<_ACEOF
49756 #define ${ac_tr_func} 1
49757 _ACEOF
49758
49759     fi
49760   fi
49761
49762
49763   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
49764 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
49765   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
49766     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
49767   echo $ECHO_N "(cached) $ECHO_C" >&6
49768 else
49769
49770
49771
49772       ac_ext=cc
49773 ac_cpp='$CXXCPP $CPPFLAGS'
49774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49777
49778       cat >conftest.$ac_ext <<_ACEOF
49779 /* confdefs.h.  */
49780 _ACEOF
49781 cat confdefs.h >>conftest.$ac_ext
49782 cat >>conftest.$ac_ext <<_ACEOF
49783 /* end confdefs.h.  */
49784 #include <math.h>
49785 int
49786 main ()
49787 {
49788  __builtin_sinl(0);
49789   ;
49790   return 0;
49791 }
49792 _ACEOF
49793 rm -f conftest.$ac_objext
49794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49795   (eval $ac_compile) 2>conftest.er1
49796   ac_status=$?
49797   grep -v '^ *+' conftest.er1 >conftest.err
49798   rm -f conftest.er1
49799   cat conftest.err >&5
49800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49801   (exit $ac_status); } &&
49802          { ac_try='test -z "$ac_cxx_werror_flag"
49803                          || test ! -s conftest.err'
49804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49805   (eval $ac_try) 2>&5
49806   ac_status=$?
49807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49808   (exit $ac_status); }; } &&
49809          { ac_try='test -s conftest.$ac_objext'
49810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49811   (eval $ac_try) 2>&5
49812   ac_status=$?
49813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49814   (exit $ac_status); }; }; then
49815   glibcxx_cv_func___builtin_sinl_use=yes
49816 else
49817   echo "$as_me: failed program was:" >&5
49818 sed 's/^/| /' conftest.$ac_ext >&5
49819
49820 glibcxx_cv_func___builtin_sinl_use=no
49821 fi
49822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49823       ac_ext=c
49824 ac_cpp='$CPP $CPPFLAGS'
49825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49828
49829
49830 fi
49831
49832   fi
49833   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
49834 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
49835   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
49836     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
49837 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
49838     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
49839       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
49840   echo $ECHO_N "(cached) $ECHO_C" >&6
49841 else
49842
49843         if test x$gcc_no_link = xyes; then
49844   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49846    { (exit 1); exit 1; }; }
49847 fi
49848 cat >conftest.$ac_ext <<_ACEOF
49849 /* confdefs.h.  */
49850 _ACEOF
49851 cat confdefs.h >>conftest.$ac_ext
49852 cat >>conftest.$ac_ext <<_ACEOF
49853 /* end confdefs.h.  */
49854 #include <math.h>
49855 int
49856 main ()
49857 {
49858  __builtin_sinl(0);
49859   ;
49860   return 0;
49861 }
49862 _ACEOF
49863 rm -f conftest.$ac_objext conftest$ac_exeext
49864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49865   (eval $ac_link) 2>conftest.er1
49866   ac_status=$?
49867   grep -v '^ *+' conftest.er1 >conftest.err
49868   rm -f conftest.er1
49869   cat conftest.err >&5
49870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49871   (exit $ac_status); } &&
49872          { ac_try='test -z "$ac_c_werror_flag"
49873                          || test ! -s conftest.err'
49874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49875   (eval $ac_try) 2>&5
49876   ac_status=$?
49877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49878   (exit $ac_status); }; } &&
49879          { ac_try='test -s conftest$ac_exeext'
49880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49881   (eval $ac_try) 2>&5
49882   ac_status=$?
49883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49884   (exit $ac_status); }; }; then
49885   glibcxx_cv_func___builtin_sinl_link=yes
49886 else
49887   echo "$as_me: failed program was:" >&5
49888 sed 's/^/| /' conftest.$ac_ext >&5
49889
49890 glibcxx_cv_func___builtin_sinl_link=no
49891 fi
49892 rm -f conftest.err conftest.$ac_objext \
49893       conftest$ac_exeext conftest.$ac_ext
49894
49895 fi
49896
49897     fi
49898     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
49899 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
49900     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
49901       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49902
49903 cat >>confdefs.h <<_ACEOF
49904 #define ${ac_tr_func} 1
49905 _ACEOF
49906
49907     fi
49908   fi
49909
49910
49911
49912   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
49913 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
49914   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
49915     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
49916   echo $ECHO_N "(cached) $ECHO_C" >&6
49917 else
49918
49919
49920
49921       ac_ext=cc
49922 ac_cpp='$CXXCPP $CPPFLAGS'
49923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49926
49927       cat >conftest.$ac_ext <<_ACEOF
49928 /* confdefs.h.  */
49929 _ACEOF
49930 cat confdefs.h >>conftest.$ac_ext
49931 cat >>conftest.$ac_ext <<_ACEOF
49932 /* end confdefs.h.  */
49933 #include <math.h>
49934 int
49935 main ()
49936 {
49937  __builtin_cosf(0);
49938   ;
49939   return 0;
49940 }
49941 _ACEOF
49942 rm -f conftest.$ac_objext
49943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49944   (eval $ac_compile) 2>conftest.er1
49945   ac_status=$?
49946   grep -v '^ *+' conftest.er1 >conftest.err
49947   rm -f conftest.er1
49948   cat conftest.err >&5
49949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49950   (exit $ac_status); } &&
49951          { ac_try='test -z "$ac_cxx_werror_flag"
49952                          || test ! -s conftest.err'
49953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49954   (eval $ac_try) 2>&5
49955   ac_status=$?
49956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49957   (exit $ac_status); }; } &&
49958          { ac_try='test -s conftest.$ac_objext'
49959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49960   (eval $ac_try) 2>&5
49961   ac_status=$?
49962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49963   (exit $ac_status); }; }; then
49964   glibcxx_cv_func___builtin_cosf_use=yes
49965 else
49966   echo "$as_me: failed program was:" >&5
49967 sed 's/^/| /' conftest.$ac_ext >&5
49968
49969 glibcxx_cv_func___builtin_cosf_use=no
49970 fi
49971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49972       ac_ext=c
49973 ac_cpp='$CPP $CPPFLAGS'
49974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49977
49978
49979 fi
49980
49981   fi
49982   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
49983 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
49984   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
49985     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
49986 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
49987     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
49988       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
49989   echo $ECHO_N "(cached) $ECHO_C" >&6
49990 else
49991
49992         if test x$gcc_no_link = xyes; then
49993   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49995    { (exit 1); exit 1; }; }
49996 fi
49997 cat >conftest.$ac_ext <<_ACEOF
49998 /* confdefs.h.  */
49999 _ACEOF
50000 cat confdefs.h >>conftest.$ac_ext
50001 cat >>conftest.$ac_ext <<_ACEOF
50002 /* end confdefs.h.  */
50003 #include <math.h>
50004 int
50005 main ()
50006 {
50007  __builtin_cosf(0);
50008   ;
50009   return 0;
50010 }
50011 _ACEOF
50012 rm -f conftest.$ac_objext conftest$ac_exeext
50013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50014   (eval $ac_link) 2>conftest.er1
50015   ac_status=$?
50016   grep -v '^ *+' conftest.er1 >conftest.err
50017   rm -f conftest.er1
50018   cat conftest.err >&5
50019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50020   (exit $ac_status); } &&
50021          { ac_try='test -z "$ac_c_werror_flag"
50022                          || test ! -s conftest.err'
50023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50024   (eval $ac_try) 2>&5
50025   ac_status=$?
50026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50027   (exit $ac_status); }; } &&
50028          { ac_try='test -s conftest$ac_exeext'
50029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50030   (eval $ac_try) 2>&5
50031   ac_status=$?
50032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50033   (exit $ac_status); }; }; then
50034   glibcxx_cv_func___builtin_cosf_link=yes
50035 else
50036   echo "$as_me: failed program was:" >&5
50037 sed 's/^/| /' conftest.$ac_ext >&5
50038
50039 glibcxx_cv_func___builtin_cosf_link=no
50040 fi
50041 rm -f conftest.err conftest.$ac_objext \
50042       conftest$ac_exeext conftest.$ac_ext
50043
50044 fi
50045
50046     fi
50047     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
50048 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
50049     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
50050       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50051
50052 cat >>confdefs.h <<_ACEOF
50053 #define ${ac_tr_func} 1
50054 _ACEOF
50055
50056     fi
50057   fi
50058
50059
50060   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
50061 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
50062   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
50063     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
50064   echo $ECHO_N "(cached) $ECHO_C" >&6
50065 else
50066
50067
50068
50069       ac_ext=cc
50070 ac_cpp='$CXXCPP $CPPFLAGS'
50071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50074
50075       cat >conftest.$ac_ext <<_ACEOF
50076 /* confdefs.h.  */
50077 _ACEOF
50078 cat confdefs.h >>conftest.$ac_ext
50079 cat >>conftest.$ac_ext <<_ACEOF
50080 /* end confdefs.h.  */
50081 #include <math.h>
50082 int
50083 main ()
50084 {
50085  __builtin_cos(0);
50086   ;
50087   return 0;
50088 }
50089 _ACEOF
50090 rm -f conftest.$ac_objext
50091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50092   (eval $ac_compile) 2>conftest.er1
50093   ac_status=$?
50094   grep -v '^ *+' conftest.er1 >conftest.err
50095   rm -f conftest.er1
50096   cat conftest.err >&5
50097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50098   (exit $ac_status); } &&
50099          { ac_try='test -z "$ac_cxx_werror_flag"
50100                          || test ! -s conftest.err'
50101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50102   (eval $ac_try) 2>&5
50103   ac_status=$?
50104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50105   (exit $ac_status); }; } &&
50106          { ac_try='test -s conftest.$ac_objext'
50107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50108   (eval $ac_try) 2>&5
50109   ac_status=$?
50110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50111   (exit $ac_status); }; }; then
50112   glibcxx_cv_func___builtin_cos_use=yes
50113 else
50114   echo "$as_me: failed program was:" >&5
50115 sed 's/^/| /' conftest.$ac_ext >&5
50116
50117 glibcxx_cv_func___builtin_cos_use=no
50118 fi
50119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50120       ac_ext=c
50121 ac_cpp='$CPP $CPPFLAGS'
50122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50125
50126
50127 fi
50128
50129   fi
50130   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
50131 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
50132   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
50133     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
50134 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
50135     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
50136       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
50137   echo $ECHO_N "(cached) $ECHO_C" >&6
50138 else
50139
50140         if test x$gcc_no_link = xyes; then
50141   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50143    { (exit 1); exit 1; }; }
50144 fi
50145 cat >conftest.$ac_ext <<_ACEOF
50146 /* confdefs.h.  */
50147 _ACEOF
50148 cat confdefs.h >>conftest.$ac_ext
50149 cat >>conftest.$ac_ext <<_ACEOF
50150 /* end confdefs.h.  */
50151 #include <math.h>
50152 int
50153 main ()
50154 {
50155  __builtin_cos(0);
50156   ;
50157   return 0;
50158 }
50159 _ACEOF
50160 rm -f conftest.$ac_objext conftest$ac_exeext
50161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50162   (eval $ac_link) 2>conftest.er1
50163   ac_status=$?
50164   grep -v '^ *+' conftest.er1 >conftest.err
50165   rm -f conftest.er1
50166   cat conftest.err >&5
50167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50168   (exit $ac_status); } &&
50169          { ac_try='test -z "$ac_c_werror_flag"
50170                          || test ! -s conftest.err'
50171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50172   (eval $ac_try) 2>&5
50173   ac_status=$?
50174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50175   (exit $ac_status); }; } &&
50176          { ac_try='test -s conftest$ac_exeext'
50177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50178   (eval $ac_try) 2>&5
50179   ac_status=$?
50180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50181   (exit $ac_status); }; }; then
50182   glibcxx_cv_func___builtin_cos_link=yes
50183 else
50184   echo "$as_me: failed program was:" >&5
50185 sed 's/^/| /' conftest.$ac_ext >&5
50186
50187 glibcxx_cv_func___builtin_cos_link=no
50188 fi
50189 rm -f conftest.err conftest.$ac_objext \
50190       conftest$ac_exeext conftest.$ac_ext
50191
50192 fi
50193
50194     fi
50195     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
50196 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
50197     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
50198       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50199
50200 cat >>confdefs.h <<_ACEOF
50201 #define ${ac_tr_func} 1
50202 _ACEOF
50203
50204     fi
50205   fi
50206
50207
50208   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
50209 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
50210   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
50211     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
50212   echo $ECHO_N "(cached) $ECHO_C" >&6
50213 else
50214
50215
50216
50217       ac_ext=cc
50218 ac_cpp='$CXXCPP $CPPFLAGS'
50219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50222
50223       cat >conftest.$ac_ext <<_ACEOF
50224 /* confdefs.h.  */
50225 _ACEOF
50226 cat confdefs.h >>conftest.$ac_ext
50227 cat >>conftest.$ac_ext <<_ACEOF
50228 /* end confdefs.h.  */
50229 #include <math.h>
50230 int
50231 main ()
50232 {
50233  __builtin_cosl(0);
50234   ;
50235   return 0;
50236 }
50237 _ACEOF
50238 rm -f conftest.$ac_objext
50239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50240   (eval $ac_compile) 2>conftest.er1
50241   ac_status=$?
50242   grep -v '^ *+' conftest.er1 >conftest.err
50243   rm -f conftest.er1
50244   cat conftest.err >&5
50245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50246   (exit $ac_status); } &&
50247          { ac_try='test -z "$ac_cxx_werror_flag"
50248                          || test ! -s conftest.err'
50249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50250   (eval $ac_try) 2>&5
50251   ac_status=$?
50252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50253   (exit $ac_status); }; } &&
50254          { ac_try='test -s conftest.$ac_objext'
50255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50256   (eval $ac_try) 2>&5
50257   ac_status=$?
50258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50259   (exit $ac_status); }; }; then
50260   glibcxx_cv_func___builtin_cosl_use=yes
50261 else
50262   echo "$as_me: failed program was:" >&5
50263 sed 's/^/| /' conftest.$ac_ext >&5
50264
50265 glibcxx_cv_func___builtin_cosl_use=no
50266 fi
50267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50268       ac_ext=c
50269 ac_cpp='$CPP $CPPFLAGS'
50270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50273
50274
50275 fi
50276
50277   fi
50278   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
50279 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
50280   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
50281     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
50282 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
50283     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
50284       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
50285   echo $ECHO_N "(cached) $ECHO_C" >&6
50286 else
50287
50288         if test x$gcc_no_link = xyes; then
50289   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50291    { (exit 1); exit 1; }; }
50292 fi
50293 cat >conftest.$ac_ext <<_ACEOF
50294 /* confdefs.h.  */
50295 _ACEOF
50296 cat confdefs.h >>conftest.$ac_ext
50297 cat >>conftest.$ac_ext <<_ACEOF
50298 /* end confdefs.h.  */
50299 #include <math.h>
50300 int
50301 main ()
50302 {
50303  __builtin_cosl(0);
50304   ;
50305   return 0;
50306 }
50307 _ACEOF
50308 rm -f conftest.$ac_objext conftest$ac_exeext
50309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50310   (eval $ac_link) 2>conftest.er1
50311   ac_status=$?
50312   grep -v '^ *+' conftest.er1 >conftest.err
50313   rm -f conftest.er1
50314   cat conftest.err >&5
50315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50316   (exit $ac_status); } &&
50317          { ac_try='test -z "$ac_c_werror_flag"
50318                          || test ! -s conftest.err'
50319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50320   (eval $ac_try) 2>&5
50321   ac_status=$?
50322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50323   (exit $ac_status); }; } &&
50324          { ac_try='test -s conftest$ac_exeext'
50325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50326   (eval $ac_try) 2>&5
50327   ac_status=$?
50328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50329   (exit $ac_status); }; }; then
50330   glibcxx_cv_func___builtin_cosl_link=yes
50331 else
50332   echo "$as_me: failed program was:" >&5
50333 sed 's/^/| /' conftest.$ac_ext >&5
50334
50335 glibcxx_cv_func___builtin_cosl_link=no
50336 fi
50337 rm -f conftest.err conftest.$ac_objext \
50338       conftest$ac_exeext conftest.$ac_ext
50339
50340 fi
50341
50342     fi
50343     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
50344 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
50345     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
50346       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50347
50348 cat >>confdefs.h <<_ACEOF
50349 #define ${ac_tr_func} 1
50350 _ACEOF
50351
50352     fi
50353   fi
50354
50355
50356
50357
50358 echo "$as_me:$LINENO: checking for main in -lm" >&5
50359 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
50360 if test "${ac_cv_lib_m_main+set}" = set; then
50361   echo $ECHO_N "(cached) $ECHO_C" >&6
50362 else
50363   ac_check_lib_save_LIBS=$LIBS
50364 LIBS="-lm  $LIBS"
50365 if test x$gcc_no_link = xyes; then
50366   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50368    { (exit 1); exit 1; }; }
50369 fi
50370 cat >conftest.$ac_ext <<_ACEOF
50371 /* confdefs.h.  */
50372 _ACEOF
50373 cat confdefs.h >>conftest.$ac_ext
50374 cat >>conftest.$ac_ext <<_ACEOF
50375 /* end confdefs.h.  */
50376
50377
50378 int
50379 main ()
50380 {
50381 main ();
50382   ;
50383   return 0;
50384 }
50385 _ACEOF
50386 rm -f conftest.$ac_objext conftest$ac_exeext
50387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50388   (eval $ac_link) 2>conftest.er1
50389   ac_status=$?
50390   grep -v '^ *+' conftest.er1 >conftest.err
50391   rm -f conftest.er1
50392   cat conftest.err >&5
50393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50394   (exit $ac_status); } &&
50395          { ac_try='test -z "$ac_c_werror_flag"
50396                          || test ! -s conftest.err'
50397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50398   (eval $ac_try) 2>&5
50399   ac_status=$?
50400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50401   (exit $ac_status); }; } &&
50402          { ac_try='test -s conftest$ac_exeext'
50403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50404   (eval $ac_try) 2>&5
50405   ac_status=$?
50406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50407   (exit $ac_status); }; }; then
50408   ac_cv_lib_m_main=yes
50409 else
50410   echo "$as_me: failed program was:" >&5
50411 sed 's/^/| /' conftest.$ac_ext >&5
50412
50413 ac_cv_lib_m_main=no
50414 fi
50415 rm -f conftest.err conftest.$ac_objext \
50416       conftest$ac_exeext conftest.$ac_ext
50417 LIBS=$ac_check_lib_save_LIBS
50418 fi
50419 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
50420 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
50421 if test $ac_cv_lib_m_main = yes; then
50422   cat >>confdefs.h <<_ACEOF
50423 #define HAVE_LIBM 1
50424 _ACEOF
50425
50426   LIBS="-lm $LIBS"
50427
50428 fi
50429
50430
50431 for ac_func in copysignf
50432 do
50433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50434 echo "$as_me:$LINENO: checking for $ac_func" >&5
50435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50436 if eval "test \"\${$as_ac_var+set}\" = set"; then
50437   echo $ECHO_N "(cached) $ECHO_C" >&6
50438 else
50439   if test x$gcc_no_link = xyes; then
50440   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50442    { (exit 1); exit 1; }; }
50443 fi
50444 cat >conftest.$ac_ext <<_ACEOF
50445 /* confdefs.h.  */
50446 _ACEOF
50447 cat confdefs.h >>conftest.$ac_ext
50448 cat >>conftest.$ac_ext <<_ACEOF
50449 /* end confdefs.h.  */
50450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50451    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50452 #define $ac_func innocuous_$ac_func
50453
50454 /* System header to define __stub macros and hopefully few prototypes,
50455     which can conflict with char $ac_func (); below.
50456     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50457     <limits.h> exists even on freestanding compilers.  */
50458
50459 #ifdef __STDC__
50460 # include <limits.h>
50461 #else
50462 # include <assert.h>
50463 #endif
50464
50465 #undef $ac_func
50466
50467 /* Override any gcc2 internal prototype to avoid an error.  */
50468 #ifdef __cplusplus
50469 extern "C"
50470 {
50471 #endif
50472 /* We use char because int might match the return type of a gcc2
50473    builtin and then its argument prototype would still apply.  */
50474 char $ac_func ();
50475 /* The GNU C library defines this for functions which it implements
50476     to always fail with ENOSYS.  Some functions are actually named
50477     something starting with __ and the normal name is an alias.  */
50478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50479 choke me
50480 #else
50481 char (*f) () = $ac_func;
50482 #endif
50483 #ifdef __cplusplus
50484 }
50485 #endif
50486
50487 int
50488 main ()
50489 {
50490 return f != $ac_func;
50491   ;
50492   return 0;
50493 }
50494 _ACEOF
50495 rm -f conftest.$ac_objext conftest$ac_exeext
50496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50497   (eval $ac_link) 2>conftest.er1
50498   ac_status=$?
50499   grep -v '^ *+' conftest.er1 >conftest.err
50500   rm -f conftest.er1
50501   cat conftest.err >&5
50502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50503   (exit $ac_status); } &&
50504          { ac_try='test -z "$ac_c_werror_flag"
50505                          || test ! -s conftest.err'
50506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50507   (eval $ac_try) 2>&5
50508   ac_status=$?
50509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50510   (exit $ac_status); }; } &&
50511          { ac_try='test -s conftest$ac_exeext'
50512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50513   (eval $ac_try) 2>&5
50514   ac_status=$?
50515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50516   (exit $ac_status); }; }; then
50517   eval "$as_ac_var=yes"
50518 else
50519   echo "$as_me: failed program was:" >&5
50520 sed 's/^/| /' conftest.$ac_ext >&5
50521
50522 eval "$as_ac_var=no"
50523 fi
50524 rm -f conftest.err conftest.$ac_objext \
50525       conftest$ac_exeext conftest.$ac_ext
50526 fi
50527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50529 if test `eval echo '${'$as_ac_var'}'` = yes; then
50530   cat >>confdefs.h <<_ACEOF
50531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50532 _ACEOF
50533
50534 else
50535   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
50536 fi
50537 done
50538
50539
50540
50541 for ac_func in __signbit
50542 do
50543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50544 echo "$as_me:$LINENO: checking for $ac_func" >&5
50545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50546 if eval "test \"\${$as_ac_var+set}\" = set"; then
50547   echo $ECHO_N "(cached) $ECHO_C" >&6
50548 else
50549   if test x$gcc_no_link = xyes; then
50550   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50552    { (exit 1); exit 1; }; }
50553 fi
50554 cat >conftest.$ac_ext <<_ACEOF
50555 /* confdefs.h.  */
50556 _ACEOF
50557 cat confdefs.h >>conftest.$ac_ext
50558 cat >>conftest.$ac_ext <<_ACEOF
50559 /* end confdefs.h.  */
50560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50561    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50562 #define $ac_func innocuous_$ac_func
50563
50564 /* System header to define __stub macros and hopefully few prototypes,
50565     which can conflict with char $ac_func (); below.
50566     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50567     <limits.h> exists even on freestanding compilers.  */
50568
50569 #ifdef __STDC__
50570 # include <limits.h>
50571 #else
50572 # include <assert.h>
50573 #endif
50574
50575 #undef $ac_func
50576
50577 /* Override any gcc2 internal prototype to avoid an error.  */
50578 #ifdef __cplusplus
50579 extern "C"
50580 {
50581 #endif
50582 /* We use char because int might match the return type of a gcc2
50583    builtin and then its argument prototype would still apply.  */
50584 char $ac_func ();
50585 /* The GNU C library defines this for functions which it implements
50586     to always fail with ENOSYS.  Some functions are actually named
50587     something starting with __ and the normal name is an alias.  */
50588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50589 choke me
50590 #else
50591 char (*f) () = $ac_func;
50592 #endif
50593 #ifdef __cplusplus
50594 }
50595 #endif
50596
50597 int
50598 main ()
50599 {
50600 return f != $ac_func;
50601   ;
50602   return 0;
50603 }
50604 _ACEOF
50605 rm -f conftest.$ac_objext conftest$ac_exeext
50606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50607   (eval $ac_link) 2>conftest.er1
50608   ac_status=$?
50609   grep -v '^ *+' conftest.er1 >conftest.err
50610   rm -f conftest.er1
50611   cat conftest.err >&5
50612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50613   (exit $ac_status); } &&
50614          { ac_try='test -z "$ac_c_werror_flag"
50615                          || test ! -s conftest.err'
50616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50617   (eval $ac_try) 2>&5
50618   ac_status=$?
50619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50620   (exit $ac_status); }; } &&
50621          { ac_try='test -s conftest$ac_exeext'
50622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50623   (eval $ac_try) 2>&5
50624   ac_status=$?
50625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50626   (exit $ac_status); }; }; then
50627   eval "$as_ac_var=yes"
50628 else
50629   echo "$as_me: failed program was:" >&5
50630 sed 's/^/| /' conftest.$ac_ext >&5
50631
50632 eval "$as_ac_var=no"
50633 fi
50634 rm -f conftest.err conftest.$ac_objext \
50635       conftest$ac_exeext conftest.$ac_ext
50636 fi
50637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50639 if test `eval echo '${'$as_ac_var'}'` = yes; then
50640   cat >>confdefs.h <<_ACEOF
50641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50642 _ACEOF
50643
50644 else
50645   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
50646 fi
50647 done
50648
50649
50650
50651 for ac_func in __signbitf
50652 do
50653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50654 echo "$as_me:$LINENO: checking for $ac_func" >&5
50655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50656 if eval "test \"\${$as_ac_var+set}\" = set"; then
50657   echo $ECHO_N "(cached) $ECHO_C" >&6
50658 else
50659   if test x$gcc_no_link = xyes; then
50660   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50662    { (exit 1); exit 1; }; }
50663 fi
50664 cat >conftest.$ac_ext <<_ACEOF
50665 /* confdefs.h.  */
50666 _ACEOF
50667 cat confdefs.h >>conftest.$ac_ext
50668 cat >>conftest.$ac_ext <<_ACEOF
50669 /* end confdefs.h.  */
50670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50671    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50672 #define $ac_func innocuous_$ac_func
50673
50674 /* System header to define __stub macros and hopefully few prototypes,
50675     which can conflict with char $ac_func (); below.
50676     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50677     <limits.h> exists even on freestanding compilers.  */
50678
50679 #ifdef __STDC__
50680 # include <limits.h>
50681 #else
50682 # include <assert.h>
50683 #endif
50684
50685 #undef $ac_func
50686
50687 /* Override any gcc2 internal prototype to avoid an error.  */
50688 #ifdef __cplusplus
50689 extern "C"
50690 {
50691 #endif
50692 /* We use char because int might match the return type of a gcc2
50693    builtin and then its argument prototype would still apply.  */
50694 char $ac_func ();
50695 /* The GNU C library defines this for functions which it implements
50696     to always fail with ENOSYS.  Some functions are actually named
50697     something starting with __ and the normal name is an alias.  */
50698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50699 choke me
50700 #else
50701 char (*f) () = $ac_func;
50702 #endif
50703 #ifdef __cplusplus
50704 }
50705 #endif
50706
50707 int
50708 main ()
50709 {
50710 return f != $ac_func;
50711   ;
50712   return 0;
50713 }
50714 _ACEOF
50715 rm -f conftest.$ac_objext conftest$ac_exeext
50716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50717   (eval $ac_link) 2>conftest.er1
50718   ac_status=$?
50719   grep -v '^ *+' conftest.er1 >conftest.err
50720   rm -f conftest.er1
50721   cat conftest.err >&5
50722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50723   (exit $ac_status); } &&
50724          { ac_try='test -z "$ac_c_werror_flag"
50725                          || test ! -s conftest.err'
50726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50727   (eval $ac_try) 2>&5
50728   ac_status=$?
50729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50730   (exit $ac_status); }; } &&
50731          { ac_try='test -s conftest$ac_exeext'
50732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50733   (eval $ac_try) 2>&5
50734   ac_status=$?
50735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50736   (exit $ac_status); }; }; then
50737   eval "$as_ac_var=yes"
50738 else
50739   echo "$as_me: failed program was:" >&5
50740 sed 's/^/| /' conftest.$ac_ext >&5
50741
50742 eval "$as_ac_var=no"
50743 fi
50744 rm -f conftest.err conftest.$ac_objext \
50745       conftest$ac_exeext conftest.$ac_ext
50746 fi
50747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50749 if test `eval echo '${'$as_ac_var'}'` = yes; then
50750   cat >>confdefs.h <<_ACEOF
50751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50752 _ACEOF
50753
50754 else
50755   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
50756 fi
50757 done
50758
50759
50760           if test x$ac_cv_func_copysignl = x"yes"; then
50761
50762 for ac_func in __signbitl
50763 do
50764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50765 echo "$as_me:$LINENO: checking for $ac_func" >&5
50766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50767 if eval "test \"\${$as_ac_var+set}\" = set"; then
50768   echo $ECHO_N "(cached) $ECHO_C" >&6
50769 else
50770   if test x$gcc_no_link = xyes; then
50771   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50773    { (exit 1); exit 1; }; }
50774 fi
50775 cat >conftest.$ac_ext <<_ACEOF
50776 /* confdefs.h.  */
50777 _ACEOF
50778 cat confdefs.h >>conftest.$ac_ext
50779 cat >>conftest.$ac_ext <<_ACEOF
50780 /* end confdefs.h.  */
50781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50782    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50783 #define $ac_func innocuous_$ac_func
50784
50785 /* System header to define __stub macros and hopefully few prototypes,
50786     which can conflict with char $ac_func (); below.
50787     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50788     <limits.h> exists even on freestanding compilers.  */
50789
50790 #ifdef __STDC__
50791 # include <limits.h>
50792 #else
50793 # include <assert.h>
50794 #endif
50795
50796 #undef $ac_func
50797
50798 /* Override any gcc2 internal prototype to avoid an error.  */
50799 #ifdef __cplusplus
50800 extern "C"
50801 {
50802 #endif
50803 /* We use char because int might match the return type of a gcc2
50804    builtin and then its argument prototype would still apply.  */
50805 char $ac_func ();
50806 /* The GNU C library defines this for functions which it implements
50807     to always fail with ENOSYS.  Some functions are actually named
50808     something starting with __ and the normal name is an alias.  */
50809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50810 choke me
50811 #else
50812 char (*f) () = $ac_func;
50813 #endif
50814 #ifdef __cplusplus
50815 }
50816 #endif
50817
50818 int
50819 main ()
50820 {
50821 return f != $ac_func;
50822   ;
50823   return 0;
50824 }
50825 _ACEOF
50826 rm -f conftest.$ac_objext conftest$ac_exeext
50827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50828   (eval $ac_link) 2>conftest.er1
50829   ac_status=$?
50830   grep -v '^ *+' conftest.er1 >conftest.err
50831   rm -f conftest.er1
50832   cat conftest.err >&5
50833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50834   (exit $ac_status); } &&
50835          { ac_try='test -z "$ac_c_werror_flag"
50836                          || test ! -s conftest.err'
50837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50838   (eval $ac_try) 2>&5
50839   ac_status=$?
50840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50841   (exit $ac_status); }; } &&
50842          { ac_try='test -s conftest$ac_exeext'
50843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50844   (eval $ac_try) 2>&5
50845   ac_status=$?
50846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50847   (exit $ac_status); }; }; then
50848   eval "$as_ac_var=yes"
50849 else
50850   echo "$as_me: failed program was:" >&5
50851 sed 's/^/| /' conftest.$ac_ext >&5
50852
50853 eval "$as_ac_var=no"
50854 fi
50855 rm -f conftest.err conftest.$ac_objext \
50856       conftest$ac_exeext conftest.$ac_ext
50857 fi
50858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50860 if test `eval echo '${'$as_ac_var'}'` = yes; then
50861   cat >>confdefs.h <<_ACEOF
50862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50863 _ACEOF
50864
50865 else
50866   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
50867 fi
50868 done
50869
50870   fi
50871
50872   # Used in libmath/Makefile.am.
50873   if test -n "$LIBMATHOBJS"; then
50874     need_libmath=yes
50875   fi
50876
50877
50878
50879   # Test wchar.h for mbstate_t, which is needed for char_traits and
50880   # others even if wchar_t support is not on.
50881   echo "$as_me:$LINENO: checking for mbstate_t" >&5
50882 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
50883   cat >conftest.$ac_ext <<_ACEOF
50884 /* confdefs.h.  */
50885 _ACEOF
50886 cat confdefs.h >>conftest.$ac_ext
50887 cat >>conftest.$ac_ext <<_ACEOF
50888 /* end confdefs.h.  */
50889 #include <wchar.h>
50890 int
50891 main ()
50892 {
50893 mbstate_t teststate;
50894   ;
50895   return 0;
50896 }
50897 _ACEOF
50898 rm -f conftest.$ac_objext
50899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50900   (eval $ac_compile) 2>conftest.er1
50901   ac_status=$?
50902   grep -v '^ *+' conftest.er1 >conftest.err
50903   rm -f conftest.er1
50904   cat conftest.err >&5
50905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50906   (exit $ac_status); } &&
50907          { ac_try='test -z "$ac_c_werror_flag"
50908                          || test ! -s conftest.err'
50909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50910   (eval $ac_try) 2>&5
50911   ac_status=$?
50912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50913   (exit $ac_status); }; } &&
50914          { ac_try='test -s conftest.$ac_objext'
50915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50916   (eval $ac_try) 2>&5
50917   ac_status=$?
50918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50919   (exit $ac_status); }; }; then
50920   have_mbstate_t=yes
50921 else
50922   echo "$as_me: failed program was:" >&5
50923 sed 's/^/| /' conftest.$ac_ext >&5
50924
50925 have_mbstate_t=no
50926 fi
50927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50928   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
50929 echo "${ECHO_T}$have_mbstate_t" >&6
50930   if test x"$have_mbstate_t" = xyes; then
50931     cat >>confdefs.h <<\_ACEOF
50932 #define HAVE_MBSTATE_T 1
50933 _ACEOF
50934
50935   fi
50936
50937   # Sanity check for existence of ISO C99 headers for extended encoding.
50938
50939 for ac_header in wchar.h
50940 do
50941 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
50942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50943   echo "$as_me:$LINENO: checking for $ac_header" >&5
50944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50945 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50946   echo $ECHO_N "(cached) $ECHO_C" >&6
50947 fi
50948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50949 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50950 else
50951   # Is the header compilable?
50952 echo "$as_me:$LINENO: checking $ac_header usability" >&5
50953 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
50954 cat >conftest.$ac_ext <<_ACEOF
50955 /* confdefs.h.  */
50956 _ACEOF
50957 cat confdefs.h >>conftest.$ac_ext
50958 cat >>conftest.$ac_ext <<_ACEOF
50959 /* end confdefs.h.  */
50960 $ac_includes_default
50961 #include <$ac_header>
50962 _ACEOF
50963 rm -f conftest.$ac_objext
50964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50965   (eval $ac_compile) 2>conftest.er1
50966   ac_status=$?
50967   grep -v '^ *+' conftest.er1 >conftest.err
50968   rm -f conftest.er1
50969   cat conftest.err >&5
50970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50971   (exit $ac_status); } &&
50972          { ac_try='test -z "$ac_c_werror_flag"
50973                          || test ! -s conftest.err'
50974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50975   (eval $ac_try) 2>&5
50976   ac_status=$?
50977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50978   (exit $ac_status); }; } &&
50979          { ac_try='test -s conftest.$ac_objext'
50980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50981   (eval $ac_try) 2>&5
50982   ac_status=$?
50983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50984   (exit $ac_status); }; }; then
50985   ac_header_compiler=yes
50986 else
50987   echo "$as_me: failed program was:" >&5
50988 sed 's/^/| /' conftest.$ac_ext >&5
50989
50990 ac_header_compiler=no
50991 fi
50992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50993 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50994 echo "${ECHO_T}$ac_header_compiler" >&6
50995
50996 # Is the header present?
50997 echo "$as_me:$LINENO: checking $ac_header presence" >&5
50998 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
50999 cat >conftest.$ac_ext <<_ACEOF
51000 /* confdefs.h.  */
51001 _ACEOF
51002 cat confdefs.h >>conftest.$ac_ext
51003 cat >>conftest.$ac_ext <<_ACEOF
51004 /* end confdefs.h.  */
51005 #include <$ac_header>
51006 _ACEOF
51007 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51008   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51009   ac_status=$?
51010   grep -v '^ *+' conftest.er1 >conftest.err
51011   rm -f conftest.er1
51012   cat conftest.err >&5
51013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51014   (exit $ac_status); } >/dev/null; then
51015   if test -s conftest.err; then
51016     ac_cpp_err=$ac_c_preproc_warn_flag
51017     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51018   else
51019     ac_cpp_err=
51020   fi
51021 else
51022   ac_cpp_err=yes
51023 fi
51024 if test -z "$ac_cpp_err"; then
51025   ac_header_preproc=yes
51026 else
51027   echo "$as_me: failed program was:" >&5
51028 sed 's/^/| /' conftest.$ac_ext >&5
51029
51030   ac_header_preproc=no
51031 fi
51032 rm -f conftest.err conftest.$ac_ext
51033 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51034 echo "${ECHO_T}$ac_header_preproc" >&6
51035
51036 # So?  What about this header?
51037 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51038   yes:no: )
51039     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51040 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51041     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51042 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51043     ac_header_preproc=yes
51044     ;;
51045   no:yes:* )
51046     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51047 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51048     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
51049 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
51050     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51051 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51052     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
51053 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
51054     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51055 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51056     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51057 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51058     (
51059       cat <<\_ASBOX
51060 ## ----------------------------------------- ##
51061 ## Report this to the package-unused lists.  ##
51062 ## ----------------------------------------- ##
51063 _ASBOX
51064     ) |
51065       sed "s/^/$as_me: WARNING:     /" >&2
51066     ;;
51067 esac
51068 echo "$as_me:$LINENO: checking for $ac_header" >&5
51069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51070 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51071   echo $ECHO_N "(cached) $ECHO_C" >&6
51072 else
51073   eval "$as_ac_Header=\$ac_header_preproc"
51074 fi
51075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51076 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51077
51078 fi
51079 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51080   cat >>confdefs.h <<_ACEOF
51081 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51082 _ACEOF
51083  ac_has_wchar_h=yes
51084 else
51085   ac_has_wchar_h=no
51086 fi
51087
51088 done
51089
51090
51091 for ac_header in wctype.h
51092 do
51093 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51095   echo "$as_me:$LINENO: checking for $ac_header" >&5
51096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51098   echo $ECHO_N "(cached) $ECHO_C" >&6
51099 fi
51100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51101 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51102 else
51103   # Is the header compilable?
51104 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51105 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51106 cat >conftest.$ac_ext <<_ACEOF
51107 /* confdefs.h.  */
51108 _ACEOF
51109 cat confdefs.h >>conftest.$ac_ext
51110 cat >>conftest.$ac_ext <<_ACEOF
51111 /* end confdefs.h.  */
51112 $ac_includes_default
51113 #include <$ac_header>
51114 _ACEOF
51115 rm -f conftest.$ac_objext
51116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51117   (eval $ac_compile) 2>conftest.er1
51118   ac_status=$?
51119   grep -v '^ *+' conftest.er1 >conftest.err
51120   rm -f conftest.er1
51121   cat conftest.err >&5
51122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51123   (exit $ac_status); } &&
51124          { ac_try='test -z "$ac_c_werror_flag"
51125                          || test ! -s conftest.err'
51126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51127   (eval $ac_try) 2>&5
51128   ac_status=$?
51129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51130   (exit $ac_status); }; } &&
51131          { ac_try='test -s conftest.$ac_objext'
51132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51133   (eval $ac_try) 2>&5
51134   ac_status=$?
51135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51136   (exit $ac_status); }; }; then
51137   ac_header_compiler=yes
51138 else
51139   echo "$as_me: failed program was:" >&5
51140 sed 's/^/| /' conftest.$ac_ext >&5
51141
51142 ac_header_compiler=no
51143 fi
51144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51145 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51146 echo "${ECHO_T}$ac_header_compiler" >&6
51147
51148 # Is the header present?
51149 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51150 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51151 cat >conftest.$ac_ext <<_ACEOF
51152 /* confdefs.h.  */
51153 _ACEOF
51154 cat confdefs.h >>conftest.$ac_ext
51155 cat >>conftest.$ac_ext <<_ACEOF
51156 /* end confdefs.h.  */
51157 #include <$ac_header>
51158 _ACEOF
51159 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51160   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51161   ac_status=$?
51162   grep -v '^ *+' conftest.er1 >conftest.err
51163   rm -f conftest.er1
51164   cat conftest.err >&5
51165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51166   (exit $ac_status); } >/dev/null; then
51167   if test -s conftest.err; then
51168     ac_cpp_err=$ac_c_preproc_warn_flag
51169     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51170   else
51171     ac_cpp_err=
51172   fi
51173 else
51174   ac_cpp_err=yes
51175 fi
51176 if test -z "$ac_cpp_err"; then
51177   ac_header_preproc=yes
51178 else
51179   echo "$as_me: failed program was:" >&5
51180 sed 's/^/| /' conftest.$ac_ext >&5
51181
51182   ac_header_preproc=no
51183 fi
51184 rm -f conftest.err conftest.$ac_ext
51185 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51186 echo "${ECHO_T}$ac_header_preproc" >&6
51187
51188 # So?  What about this header?
51189 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51190   yes:no: )
51191     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51192 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51193     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51194 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51195     ac_header_preproc=yes
51196     ;;
51197   no:yes:* )
51198     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51199 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51200     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
51201 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
51202     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51203 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51204     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
51205 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
51206     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51207 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51208     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51209 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51210     (
51211       cat <<\_ASBOX
51212 ## ----------------------------------------- ##
51213 ## Report this to the package-unused lists.  ##
51214 ## ----------------------------------------- ##
51215 _ASBOX
51216     ) |
51217       sed "s/^/$as_me: WARNING:     /" >&2
51218     ;;
51219 esac
51220 echo "$as_me:$LINENO: checking for $ac_header" >&5
51221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51222 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51223   echo $ECHO_N "(cached) $ECHO_C" >&6
51224 else
51225   eval "$as_ac_Header=\$ac_header_preproc"
51226 fi
51227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51228 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51229
51230 fi
51231 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51232   cat >>confdefs.h <<_ACEOF
51233 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51234 _ACEOF
51235  ac_has_wctype_h=yes
51236 else
51237   ac_has_wctype_h=no
51238 fi
51239
51240 done
51241
51242
51243   # Only continue checking if the ISO C99 headers exist and support is on.
51244   if test x"$ac_has_wchar_h" = xyes &&
51245      test x"$ac_has_wctype_h" = xyes &&
51246      test x"$enable_c_mbchar" != xno; then
51247
51248     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
51249     # numeric_limits can instantiate type_traits<wchar_t>
51250     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
51251 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
51252     cat >conftest.$ac_ext <<_ACEOF
51253 /* confdefs.h.  */
51254 _ACEOF
51255 cat confdefs.h >>conftest.$ac_ext
51256 cat >>conftest.$ac_ext <<_ACEOF
51257 /* end confdefs.h.  */
51258 #include <wchar.h>
51259 int
51260 main ()
51261 {
51262 int i = WCHAR_MIN; int j = WCHAR_MAX;
51263   ;
51264   return 0;
51265 }
51266 _ACEOF
51267 rm -f conftest.$ac_objext
51268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51269   (eval $ac_compile) 2>conftest.er1
51270   ac_status=$?
51271   grep -v '^ *+' conftest.er1 >conftest.err
51272   rm -f conftest.er1
51273   cat conftest.err >&5
51274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51275   (exit $ac_status); } &&
51276          { ac_try='test -z "$ac_c_werror_flag"
51277                          || test ! -s conftest.err'
51278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51279   (eval $ac_try) 2>&5
51280   ac_status=$?
51281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51282   (exit $ac_status); }; } &&
51283          { ac_try='test -s conftest.$ac_objext'
51284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51285   (eval $ac_try) 2>&5
51286   ac_status=$?
51287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51288   (exit $ac_status); }; }; then
51289   has_wchar_minmax=yes
51290 else
51291   echo "$as_me: failed program was:" >&5
51292 sed 's/^/| /' conftest.$ac_ext >&5
51293
51294 has_wchar_minmax=no
51295 fi
51296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51297     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
51298 echo "${ECHO_T}$has_wchar_minmax" >&6
51299
51300     # Test wchar.h for WEOF, which is what we use to determine whether
51301     # to specialize for char_traits<wchar_t> or not.
51302     echo "$as_me:$LINENO: checking for WEOF" >&5
51303 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
51304     cat >conftest.$ac_ext <<_ACEOF
51305 /* confdefs.h.  */
51306 _ACEOF
51307 cat confdefs.h >>conftest.$ac_ext
51308 cat >>conftest.$ac_ext <<_ACEOF
51309 /* end confdefs.h.  */
51310
51311       #include <wchar.h>
51312       #include <stddef.h>
51313 int
51314 main ()
51315 {
51316 wint_t i = WEOF;
51317   ;
51318   return 0;
51319 }
51320 _ACEOF
51321 rm -f conftest.$ac_objext
51322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51323   (eval $ac_compile) 2>conftest.er1
51324   ac_status=$?
51325   grep -v '^ *+' conftest.er1 >conftest.err
51326   rm -f conftest.er1
51327   cat conftest.err >&5
51328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51329   (exit $ac_status); } &&
51330          { ac_try='test -z "$ac_c_werror_flag"
51331                          || test ! -s conftest.err'
51332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51333   (eval $ac_try) 2>&5
51334   ac_status=$?
51335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51336   (exit $ac_status); }; } &&
51337          { ac_try='test -s conftest.$ac_objext'
51338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51339   (eval $ac_try) 2>&5
51340   ac_status=$?
51341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51342   (exit $ac_status); }; }; then
51343   has_weof=yes
51344 else
51345   echo "$as_me: failed program was:" >&5
51346 sed 's/^/| /' conftest.$ac_ext >&5
51347
51348 has_weof=no
51349 fi
51350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51351     echo "$as_me:$LINENO: result: $has_weof" >&5
51352 echo "${ECHO_T}$has_weof" >&6
51353
51354     # Tests for wide character functions used in char_traits<wchar_t>.
51355     ac_wfuncs=yes
51356
51357
51358
51359
51360
51361
51362 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
51363 do
51364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51365 echo "$as_me:$LINENO: checking for $ac_func" >&5
51366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51367 if eval "test \"\${$as_ac_var+set}\" = set"; then
51368   echo $ECHO_N "(cached) $ECHO_C" >&6
51369 else
51370   if test x$gcc_no_link = xyes; then
51371   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51373    { (exit 1); exit 1; }; }
51374 fi
51375 cat >conftest.$ac_ext <<_ACEOF
51376 /* confdefs.h.  */
51377 _ACEOF
51378 cat confdefs.h >>conftest.$ac_ext
51379 cat >>conftest.$ac_ext <<_ACEOF
51380 /* end confdefs.h.  */
51381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51382    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51383 #define $ac_func innocuous_$ac_func
51384
51385 /* System header to define __stub macros and hopefully few prototypes,
51386     which can conflict with char $ac_func (); below.
51387     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51388     <limits.h> exists even on freestanding compilers.  */
51389
51390 #ifdef __STDC__
51391 # include <limits.h>
51392 #else
51393 # include <assert.h>
51394 #endif
51395
51396 #undef $ac_func
51397
51398 /* Override any gcc2 internal prototype to avoid an error.  */
51399 #ifdef __cplusplus
51400 extern "C"
51401 {
51402 #endif
51403 /* We use char because int might match the return type of a gcc2
51404    builtin and then its argument prototype would still apply.  */
51405 char $ac_func ();
51406 /* The GNU C library defines this for functions which it implements
51407     to always fail with ENOSYS.  Some functions are actually named
51408     something starting with __ and the normal name is an alias.  */
51409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51410 choke me
51411 #else
51412 char (*f) () = $ac_func;
51413 #endif
51414 #ifdef __cplusplus
51415 }
51416 #endif
51417
51418 int
51419 main ()
51420 {
51421 return f != $ac_func;
51422   ;
51423   return 0;
51424 }
51425 _ACEOF
51426 rm -f conftest.$ac_objext conftest$ac_exeext
51427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51428   (eval $ac_link) 2>conftest.er1
51429   ac_status=$?
51430   grep -v '^ *+' conftest.er1 >conftest.err
51431   rm -f conftest.er1
51432   cat conftest.err >&5
51433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51434   (exit $ac_status); } &&
51435          { ac_try='test -z "$ac_c_werror_flag"
51436                          || test ! -s conftest.err'
51437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51438   (eval $ac_try) 2>&5
51439   ac_status=$?
51440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51441   (exit $ac_status); }; } &&
51442          { ac_try='test -s conftest$ac_exeext'
51443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51444   (eval $ac_try) 2>&5
51445   ac_status=$?
51446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51447   (exit $ac_status); }; }; then
51448   eval "$as_ac_var=yes"
51449 else
51450   echo "$as_me: failed program was:" >&5
51451 sed 's/^/| /' conftest.$ac_ext >&5
51452
51453 eval "$as_ac_var=no"
51454 fi
51455 rm -f conftest.err conftest.$ac_objext \
51456       conftest$ac_exeext conftest.$ac_ext
51457 fi
51458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51460 if test `eval echo '${'$as_ac_var'}'` = yes; then
51461   cat >>confdefs.h <<_ACEOF
51462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51463 _ACEOF
51464
51465 else
51466   ac_wfuncs=no
51467 fi
51468 done
51469
51470
51471     # Checks for names injected into std:: by the c_std headers.
51472
51473
51474
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 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
51519     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
51520     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
51521     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
51522     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
51523     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
51524 do
51525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51526 echo "$as_me:$LINENO: checking for $ac_func" >&5
51527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51528 if eval "test \"\${$as_ac_var+set}\" = set"; then
51529   echo $ECHO_N "(cached) $ECHO_C" >&6
51530 else
51531   if test x$gcc_no_link = xyes; then
51532   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51534    { (exit 1); exit 1; }; }
51535 fi
51536 cat >conftest.$ac_ext <<_ACEOF
51537 /* confdefs.h.  */
51538 _ACEOF
51539 cat confdefs.h >>conftest.$ac_ext
51540 cat >>conftest.$ac_ext <<_ACEOF
51541 /* end confdefs.h.  */
51542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51543    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51544 #define $ac_func innocuous_$ac_func
51545
51546 /* System header to define __stub macros and hopefully few prototypes,
51547     which can conflict with char $ac_func (); below.
51548     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51549     <limits.h> exists even on freestanding compilers.  */
51550
51551 #ifdef __STDC__
51552 # include <limits.h>
51553 #else
51554 # include <assert.h>
51555 #endif
51556
51557 #undef $ac_func
51558
51559 /* Override any gcc2 internal prototype to avoid an error.  */
51560 #ifdef __cplusplus
51561 extern "C"
51562 {
51563 #endif
51564 /* We use char because int might match the return type of a gcc2
51565    builtin and then its argument prototype would still apply.  */
51566 char $ac_func ();
51567 /* The GNU C library defines this for functions which it implements
51568     to always fail with ENOSYS.  Some functions are actually named
51569     something starting with __ and the normal name is an alias.  */
51570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51571 choke me
51572 #else
51573 char (*f) () = $ac_func;
51574 #endif
51575 #ifdef __cplusplus
51576 }
51577 #endif
51578
51579 int
51580 main ()
51581 {
51582 return f != $ac_func;
51583   ;
51584   return 0;
51585 }
51586 _ACEOF
51587 rm -f conftest.$ac_objext conftest$ac_exeext
51588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51589   (eval $ac_link) 2>conftest.er1
51590   ac_status=$?
51591   grep -v '^ *+' conftest.er1 >conftest.err
51592   rm -f conftest.er1
51593   cat conftest.err >&5
51594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51595   (exit $ac_status); } &&
51596          { ac_try='test -z "$ac_c_werror_flag"
51597                          || test ! -s conftest.err'
51598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51599   (eval $ac_try) 2>&5
51600   ac_status=$?
51601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51602   (exit $ac_status); }; } &&
51603          { ac_try='test -s conftest$ac_exeext'
51604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51605   (eval $ac_try) 2>&5
51606   ac_status=$?
51607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51608   (exit $ac_status); }; }; then
51609   eval "$as_ac_var=yes"
51610 else
51611   echo "$as_me: failed program was:" >&5
51612 sed 's/^/| /' conftest.$ac_ext >&5
51613
51614 eval "$as_ac_var=no"
51615 fi
51616 rm -f conftest.err conftest.$ac_objext \
51617       conftest$ac_exeext conftest.$ac_ext
51618 fi
51619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51621 if test `eval echo '${'$as_ac_var'}'` = yes; then
51622   cat >>confdefs.h <<_ACEOF
51623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51624 _ACEOF
51625
51626 else
51627   ac_wfuncs=no
51628 fi
51629 done
51630
51631
51632     # Checks for wide character functions that are not required
51633     # for basic wchar_t support.  Don't disable support if they are missing.
51634     # Injection of these is wrapped with guard macros.
51635
51636
51637
51638
51639
51640 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
51641 do
51642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51643 echo "$as_me:$LINENO: checking for $ac_func" >&5
51644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51645 if eval "test \"\${$as_ac_var+set}\" = set"; then
51646   echo $ECHO_N "(cached) $ECHO_C" >&6
51647 else
51648   if test x$gcc_no_link = xyes; then
51649   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51651    { (exit 1); exit 1; }; }
51652 fi
51653 cat >conftest.$ac_ext <<_ACEOF
51654 /* confdefs.h.  */
51655 _ACEOF
51656 cat confdefs.h >>conftest.$ac_ext
51657 cat >>conftest.$ac_ext <<_ACEOF
51658 /* end confdefs.h.  */
51659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51660    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51661 #define $ac_func innocuous_$ac_func
51662
51663 /* System header to define __stub macros and hopefully few prototypes,
51664     which can conflict with char $ac_func (); below.
51665     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51666     <limits.h> exists even on freestanding compilers.  */
51667
51668 #ifdef __STDC__
51669 # include <limits.h>
51670 #else
51671 # include <assert.h>
51672 #endif
51673
51674 #undef $ac_func
51675
51676 /* Override any gcc2 internal prototype to avoid an error.  */
51677 #ifdef __cplusplus
51678 extern "C"
51679 {
51680 #endif
51681 /* We use char because int might match the return type of a gcc2
51682    builtin and then its argument prototype would still apply.  */
51683 char $ac_func ();
51684 /* The GNU C library defines this for functions which it implements
51685     to always fail with ENOSYS.  Some functions are actually named
51686     something starting with __ and the normal name is an alias.  */
51687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51688 choke me
51689 #else
51690 char (*f) () = $ac_func;
51691 #endif
51692 #ifdef __cplusplus
51693 }
51694 #endif
51695
51696 int
51697 main ()
51698 {
51699 return f != $ac_func;
51700   ;
51701   return 0;
51702 }
51703 _ACEOF
51704 rm -f conftest.$ac_objext conftest$ac_exeext
51705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51706   (eval $ac_link) 2>conftest.er1
51707   ac_status=$?
51708   grep -v '^ *+' conftest.er1 >conftest.err
51709   rm -f conftest.er1
51710   cat conftest.err >&5
51711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51712   (exit $ac_status); } &&
51713          { ac_try='test -z "$ac_c_werror_flag"
51714                          || test ! -s conftest.err'
51715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51716   (eval $ac_try) 2>&5
51717   ac_status=$?
51718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51719   (exit $ac_status); }; } &&
51720          { ac_try='test -s conftest$ac_exeext'
51721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51722   (eval $ac_try) 2>&5
51723   ac_status=$?
51724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51725   (exit $ac_status); }; }; then
51726   eval "$as_ac_var=yes"
51727 else
51728   echo "$as_me: failed program was:" >&5
51729 sed 's/^/| /' conftest.$ac_ext >&5
51730
51731 eval "$as_ac_var=no"
51732 fi
51733 rm -f conftest.err conftest.$ac_objext \
51734       conftest$ac_exeext conftest.$ac_ext
51735 fi
51736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51737 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51738 if test `eval echo '${'$as_ac_var'}'` = yes; then
51739   cat >>confdefs.h <<_ACEOF
51740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51741 _ACEOF
51742
51743 fi
51744 done
51745
51746
51747     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
51748 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
51749     if test x"$has_weof" = xyes &&
51750        test x"$has_wchar_minmax" = xyes &&
51751        test x"$ac_wfuncs" = xyes;
51752     then
51753       ac_isoC99_wchar_t=yes
51754     else
51755       ac_isoC99_wchar_t=no
51756     fi
51757     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
51758 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
51759
51760     # Use iconv for wchar_t to char conversions. As such, check for
51761     # X/Open Portability Guide, version 2 features (XPG2).
51762     if test "${ac_cv_header_iconv_h+set}" = set; then
51763   echo "$as_me:$LINENO: checking for iconv.h" >&5
51764 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51765 if test "${ac_cv_header_iconv_h+set}" = set; then
51766   echo $ECHO_N "(cached) $ECHO_C" >&6
51767 fi
51768 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51769 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51770 else
51771   # Is the header compilable?
51772 echo "$as_me:$LINENO: checking iconv.h usability" >&5
51773 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
51774 cat >conftest.$ac_ext <<_ACEOF
51775 /* confdefs.h.  */
51776 _ACEOF
51777 cat confdefs.h >>conftest.$ac_ext
51778 cat >>conftest.$ac_ext <<_ACEOF
51779 /* end confdefs.h.  */
51780 $ac_includes_default
51781 #include <iconv.h>
51782 _ACEOF
51783 rm -f conftest.$ac_objext
51784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51785   (eval $ac_compile) 2>conftest.er1
51786   ac_status=$?
51787   grep -v '^ *+' conftest.er1 >conftest.err
51788   rm -f conftest.er1
51789   cat conftest.err >&5
51790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51791   (exit $ac_status); } &&
51792          { ac_try='test -z "$ac_c_werror_flag"
51793                          || test ! -s conftest.err'
51794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51795   (eval $ac_try) 2>&5
51796   ac_status=$?
51797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51798   (exit $ac_status); }; } &&
51799          { ac_try='test -s conftest.$ac_objext'
51800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51801   (eval $ac_try) 2>&5
51802   ac_status=$?
51803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51804   (exit $ac_status); }; }; then
51805   ac_header_compiler=yes
51806 else
51807   echo "$as_me: failed program was:" >&5
51808 sed 's/^/| /' conftest.$ac_ext >&5
51809
51810 ac_header_compiler=no
51811 fi
51812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51813 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51814 echo "${ECHO_T}$ac_header_compiler" >&6
51815
51816 # Is the header present?
51817 echo "$as_me:$LINENO: checking iconv.h presence" >&5
51818 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
51819 cat >conftest.$ac_ext <<_ACEOF
51820 /* confdefs.h.  */
51821 _ACEOF
51822 cat confdefs.h >>conftest.$ac_ext
51823 cat >>conftest.$ac_ext <<_ACEOF
51824 /* end confdefs.h.  */
51825 #include <iconv.h>
51826 _ACEOF
51827 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51828   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51829   ac_status=$?
51830   grep -v '^ *+' conftest.er1 >conftest.err
51831   rm -f conftest.er1
51832   cat conftest.err >&5
51833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51834   (exit $ac_status); } >/dev/null; then
51835   if test -s conftest.err; then
51836     ac_cpp_err=$ac_c_preproc_warn_flag
51837     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51838   else
51839     ac_cpp_err=
51840   fi
51841 else
51842   ac_cpp_err=yes
51843 fi
51844 if test -z "$ac_cpp_err"; then
51845   ac_header_preproc=yes
51846 else
51847   echo "$as_me: failed program was:" >&5
51848 sed 's/^/| /' conftest.$ac_ext >&5
51849
51850   ac_header_preproc=no
51851 fi
51852 rm -f conftest.err conftest.$ac_ext
51853 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51854 echo "${ECHO_T}$ac_header_preproc" >&6
51855
51856 # So?  What about this header?
51857 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51858   yes:no: )
51859     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
51860 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51861     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
51862 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
51863     ac_header_preproc=yes
51864     ;;
51865   no:yes:* )
51866     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
51867 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
51868     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
51869 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
51870     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
51871 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
51872     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
51873 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
51874     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
51875 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
51876     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
51877 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
51878     (
51879       cat <<\_ASBOX
51880 ## ----------------------------------------- ##
51881 ## Report this to the package-unused lists.  ##
51882 ## ----------------------------------------- ##
51883 _ASBOX
51884     ) |
51885       sed "s/^/$as_me: WARNING:     /" >&2
51886     ;;
51887 esac
51888 echo "$as_me:$LINENO: checking for iconv.h" >&5
51889 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51890 if test "${ac_cv_header_iconv_h+set}" = set; then
51891   echo $ECHO_N "(cached) $ECHO_C" >&6
51892 else
51893   ac_cv_header_iconv_h=$ac_header_preproc
51894 fi
51895 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51896 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51897
51898 fi
51899 if test $ac_cv_header_iconv_h = yes; then
51900   ac_has_iconv_h=yes
51901 else
51902   ac_has_iconv_h=no
51903 fi
51904
51905
51906     if test "${ac_cv_header_langinfo_h+set}" = set; then
51907   echo "$as_me:$LINENO: checking for langinfo.h" >&5
51908 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51909 if test "${ac_cv_header_langinfo_h+set}" = set; then
51910   echo $ECHO_N "(cached) $ECHO_C" >&6
51911 fi
51912 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51913 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51914 else
51915   # Is the header compilable?
51916 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
51917 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
51918 cat >conftest.$ac_ext <<_ACEOF
51919 /* confdefs.h.  */
51920 _ACEOF
51921 cat confdefs.h >>conftest.$ac_ext
51922 cat >>conftest.$ac_ext <<_ACEOF
51923 /* end confdefs.h.  */
51924 $ac_includes_default
51925 #include <langinfo.h>
51926 _ACEOF
51927 rm -f conftest.$ac_objext
51928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51929   (eval $ac_compile) 2>conftest.er1
51930   ac_status=$?
51931   grep -v '^ *+' conftest.er1 >conftest.err
51932   rm -f conftest.er1
51933   cat conftest.err >&5
51934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51935   (exit $ac_status); } &&
51936          { ac_try='test -z "$ac_c_werror_flag"
51937                          || test ! -s conftest.err'
51938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51939   (eval $ac_try) 2>&5
51940   ac_status=$?
51941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51942   (exit $ac_status); }; } &&
51943          { ac_try='test -s conftest.$ac_objext'
51944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51945   (eval $ac_try) 2>&5
51946   ac_status=$?
51947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51948   (exit $ac_status); }; }; then
51949   ac_header_compiler=yes
51950 else
51951   echo "$as_me: failed program was:" >&5
51952 sed 's/^/| /' conftest.$ac_ext >&5
51953
51954 ac_header_compiler=no
51955 fi
51956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51957 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51958 echo "${ECHO_T}$ac_header_compiler" >&6
51959
51960 # Is the header present?
51961 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
51962 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
51963 cat >conftest.$ac_ext <<_ACEOF
51964 /* confdefs.h.  */
51965 _ACEOF
51966 cat confdefs.h >>conftest.$ac_ext
51967 cat >>conftest.$ac_ext <<_ACEOF
51968 /* end confdefs.h.  */
51969 #include <langinfo.h>
51970 _ACEOF
51971 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51972   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51973   ac_status=$?
51974   grep -v '^ *+' conftest.er1 >conftest.err
51975   rm -f conftest.er1
51976   cat conftest.err >&5
51977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51978   (exit $ac_status); } >/dev/null; then
51979   if test -s conftest.err; then
51980     ac_cpp_err=$ac_c_preproc_warn_flag
51981     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51982   else
51983     ac_cpp_err=
51984   fi
51985 else
51986   ac_cpp_err=yes
51987 fi
51988 if test -z "$ac_cpp_err"; then
51989   ac_header_preproc=yes
51990 else
51991   echo "$as_me: failed program was:" >&5
51992 sed 's/^/| /' conftest.$ac_ext >&5
51993
51994   ac_header_preproc=no
51995 fi
51996 rm -f conftest.err conftest.$ac_ext
51997 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51998 echo "${ECHO_T}$ac_header_preproc" >&6
51999
52000 # So?  What about this header?
52001 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52002   yes:no: )
52003     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
52004 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52005     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
52006 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
52007     ac_header_preproc=yes
52008     ;;
52009   no:yes:* )
52010     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
52011 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
52012     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
52013 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
52014     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
52015 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
52016     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
52017 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
52018     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52019 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52020     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
52021 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
52022     (
52023       cat <<\_ASBOX
52024 ## ----------------------------------------- ##
52025 ## Report this to the package-unused lists.  ##
52026 ## ----------------------------------------- ##
52027 _ASBOX
52028     ) |
52029       sed "s/^/$as_me: WARNING:     /" >&2
52030     ;;
52031 esac
52032 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52033 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52034 if test "${ac_cv_header_langinfo_h+set}" = set; then
52035   echo $ECHO_N "(cached) $ECHO_C" >&6
52036 else
52037   ac_cv_header_langinfo_h=$ac_header_preproc
52038 fi
52039 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52040 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52041
52042 fi
52043 if test $ac_cv_header_langinfo_h = yes; then
52044   ac_has_langinfo_h=yes
52045 else
52046   ac_has_langinfo_h=no
52047 fi
52048
52049
52050
52051     # Check for existence of libiconv.a providing XPG2 wchar_t support.
52052     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
52053 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
52054 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
52055   echo $ECHO_N "(cached) $ECHO_C" >&6
52056 else
52057   ac_check_lib_save_LIBS=$LIBS
52058 LIBS="-liconv  $LIBS"
52059 if test x$gcc_no_link = xyes; then
52060   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52062    { (exit 1); exit 1; }; }
52063 fi
52064 cat >conftest.$ac_ext <<_ACEOF
52065 /* confdefs.h.  */
52066 _ACEOF
52067 cat confdefs.h >>conftest.$ac_ext
52068 cat >>conftest.$ac_ext <<_ACEOF
52069 /* end confdefs.h.  */
52070
52071 /* Override any gcc2 internal prototype to avoid an error.  */
52072 #ifdef __cplusplus
52073 extern "C"
52074 #endif
52075 /* We use char because int might match the return type of a gcc2
52076    builtin and then its argument prototype would still apply.  */
52077 char iconv ();
52078 int
52079 main ()
52080 {
52081 iconv ();
52082   ;
52083   return 0;
52084 }
52085 _ACEOF
52086 rm -f conftest.$ac_objext conftest$ac_exeext
52087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52088   (eval $ac_link) 2>conftest.er1
52089   ac_status=$?
52090   grep -v '^ *+' conftest.er1 >conftest.err
52091   rm -f conftest.er1
52092   cat conftest.err >&5
52093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52094   (exit $ac_status); } &&
52095          { ac_try='test -z "$ac_c_werror_flag"
52096                          || test ! -s conftest.err'
52097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52098   (eval $ac_try) 2>&5
52099   ac_status=$?
52100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52101   (exit $ac_status); }; } &&
52102          { ac_try='test -s conftest$ac_exeext'
52103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52104   (eval $ac_try) 2>&5
52105   ac_status=$?
52106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52107   (exit $ac_status); }; }; then
52108   ac_cv_lib_iconv_iconv=yes
52109 else
52110   echo "$as_me: failed program was:" >&5
52111 sed 's/^/| /' conftest.$ac_ext >&5
52112
52113 ac_cv_lib_iconv_iconv=no
52114 fi
52115 rm -f conftest.err conftest.$ac_objext \
52116       conftest$ac_exeext conftest.$ac_ext
52117 LIBS=$ac_check_lib_save_LIBS
52118 fi
52119 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
52120 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
52121 if test $ac_cv_lib_iconv_iconv = yes; then
52122   LIBICONV="-liconv"
52123 fi
52124
52125     ac_save_LIBS="$LIBS"
52126     LIBS="$LIBS $LIBICONV"
52127
52128
52129
52130
52131
52132
52133 for ac_func in iconv_open iconv_close iconv nl_langinfo
52134 do
52135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52136 echo "$as_me:$LINENO: checking for $ac_func" >&5
52137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52138 if eval "test \"\${$as_ac_var+set}\" = set"; then
52139   echo $ECHO_N "(cached) $ECHO_C" >&6
52140 else
52141   if test x$gcc_no_link = xyes; then
52142   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52144    { (exit 1); exit 1; }; }
52145 fi
52146 cat >conftest.$ac_ext <<_ACEOF
52147 /* confdefs.h.  */
52148 _ACEOF
52149 cat confdefs.h >>conftest.$ac_ext
52150 cat >>conftest.$ac_ext <<_ACEOF
52151 /* end confdefs.h.  */
52152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52153    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52154 #define $ac_func innocuous_$ac_func
52155
52156 /* System header to define __stub macros and hopefully few prototypes,
52157     which can conflict with char $ac_func (); below.
52158     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52159     <limits.h> exists even on freestanding compilers.  */
52160
52161 #ifdef __STDC__
52162 # include <limits.h>
52163 #else
52164 # include <assert.h>
52165 #endif
52166
52167 #undef $ac_func
52168
52169 /* Override any gcc2 internal prototype to avoid an error.  */
52170 #ifdef __cplusplus
52171 extern "C"
52172 {
52173 #endif
52174 /* We use char because int might match the return type of a gcc2
52175    builtin and then its argument prototype would still apply.  */
52176 char $ac_func ();
52177 /* The GNU C library defines this for functions which it implements
52178     to always fail with ENOSYS.  Some functions are actually named
52179     something starting with __ and the normal name is an alias.  */
52180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52181 choke me
52182 #else
52183 char (*f) () = $ac_func;
52184 #endif
52185 #ifdef __cplusplus
52186 }
52187 #endif
52188
52189 int
52190 main ()
52191 {
52192 return f != $ac_func;
52193   ;
52194   return 0;
52195 }
52196 _ACEOF
52197 rm -f conftest.$ac_objext conftest$ac_exeext
52198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52199   (eval $ac_link) 2>conftest.er1
52200   ac_status=$?
52201   grep -v '^ *+' conftest.er1 >conftest.err
52202   rm -f conftest.er1
52203   cat conftest.err >&5
52204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52205   (exit $ac_status); } &&
52206          { ac_try='test -z "$ac_c_werror_flag"
52207                          || test ! -s conftest.err'
52208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52209   (eval $ac_try) 2>&5
52210   ac_status=$?
52211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52212   (exit $ac_status); }; } &&
52213          { ac_try='test -s conftest$ac_exeext'
52214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52215   (eval $ac_try) 2>&5
52216   ac_status=$?
52217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52218   (exit $ac_status); }; }; then
52219   eval "$as_ac_var=yes"
52220 else
52221   echo "$as_me: failed program was:" >&5
52222 sed 's/^/| /' conftest.$ac_ext >&5
52223
52224 eval "$as_ac_var=no"
52225 fi
52226 rm -f conftest.err conftest.$ac_objext \
52227       conftest$ac_exeext conftest.$ac_ext
52228 fi
52229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52231 if test `eval echo '${'$as_ac_var'}'` = yes; then
52232   cat >>confdefs.h <<_ACEOF
52233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52234 _ACEOF
52235  ac_XPG2funcs=yes
52236 else
52237   ac_XPG2funcs=no
52238 fi
52239 done
52240
52241
52242     LIBS="$ac_save_LIBS"
52243
52244     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
52245 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
52246     if test x"$ac_has_iconv_h" = xyes &&
52247        test x"$ac_has_langinfo_h" = xyes &&
52248        test x"$ac_XPG2funcs" = xyes;
52249     then
52250       ac_XPG2_wchar_t=yes
52251     else
52252       ac_XPG2_wchar_t=no
52253     fi
52254     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
52255 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
52256
52257     # At the moment, only enable wchar_t specializations if all the
52258     # above support is present.
52259     if test x"$ac_isoC99_wchar_t" = xyes &&
52260        test x"$ac_XPG2_wchar_t" = xyes;
52261     then
52262       cat >>confdefs.h <<\_ACEOF
52263 #define _GLIBCXX_USE_WCHAR_T 1
52264 _ACEOF
52265
52266       enable_wchar_t=yes
52267     fi
52268   fi
52269   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
52270 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
52271   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
52272 echo "${ECHO_T}$enable_wchar_t" >&6
52273
52274
52275   ac_test_CXXFLAGS="${CXXFLAGS+set}"
52276   ac_save_CXXFLAGS="$CXXFLAGS"
52277   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52278
52279
52280   echo "$as_me:$LINENO: checking for strtold declaration" >&5
52281 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
52282   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52283     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
52284   echo $ECHO_N "(cached) $ECHO_C" >&6
52285 else
52286
52287
52288
52289       ac_ext=cc
52290 ac_cpp='$CXXCPP $CPPFLAGS'
52291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52294
52295       cat >conftest.$ac_ext <<_ACEOF
52296 /* confdefs.h.  */
52297 _ACEOF
52298 cat confdefs.h >>conftest.$ac_ext
52299 cat >>conftest.$ac_ext <<_ACEOF
52300 /* end confdefs.h.  */
52301 #include <stdlib.h>
52302 int
52303 main ()
52304 {
52305  strtold(0, 0);
52306   ;
52307   return 0;
52308 }
52309 _ACEOF
52310 rm -f conftest.$ac_objext
52311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52312   (eval $ac_compile) 2>conftest.er1
52313   ac_status=$?
52314   grep -v '^ *+' conftest.er1 >conftest.err
52315   rm -f conftest.er1
52316   cat conftest.err >&5
52317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52318   (exit $ac_status); } &&
52319          { ac_try='test -z "$ac_cxx_werror_flag"
52320                          || test ! -s conftest.err'
52321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52322   (eval $ac_try) 2>&5
52323   ac_status=$?
52324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52325   (exit $ac_status); }; } &&
52326          { ac_try='test -s conftest.$ac_objext'
52327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52328   (eval $ac_try) 2>&5
52329   ac_status=$?
52330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52331   (exit $ac_status); }; }; then
52332   glibcxx_cv_func_strtold_use=yes
52333 else
52334   echo "$as_me: failed program was:" >&5
52335 sed 's/^/| /' conftest.$ac_ext >&5
52336
52337 glibcxx_cv_func_strtold_use=no
52338 fi
52339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52340       ac_ext=c
52341 ac_cpp='$CPP $CPPFLAGS'
52342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52345
52346
52347 fi
52348
52349   fi
52350   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
52351 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
52352   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52353
52354 for ac_func in strtold
52355 do
52356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52357 echo "$as_me:$LINENO: checking for $ac_func" >&5
52358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52359 if eval "test \"\${$as_ac_var+set}\" = set"; then
52360   echo $ECHO_N "(cached) $ECHO_C" >&6
52361 else
52362   if test x$gcc_no_link = xyes; then
52363   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52365    { (exit 1); exit 1; }; }
52366 fi
52367 cat >conftest.$ac_ext <<_ACEOF
52368 /* confdefs.h.  */
52369 _ACEOF
52370 cat confdefs.h >>conftest.$ac_ext
52371 cat >>conftest.$ac_ext <<_ACEOF
52372 /* end confdefs.h.  */
52373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52374    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52375 #define $ac_func innocuous_$ac_func
52376
52377 /* System header to define __stub macros and hopefully few prototypes,
52378     which can conflict with char $ac_func (); below.
52379     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52380     <limits.h> exists even on freestanding compilers.  */
52381
52382 #ifdef __STDC__
52383 # include <limits.h>
52384 #else
52385 # include <assert.h>
52386 #endif
52387
52388 #undef $ac_func
52389
52390 /* Override any gcc2 internal prototype to avoid an error.  */
52391 #ifdef __cplusplus
52392 extern "C"
52393 {
52394 #endif
52395 /* We use char because int might match the return type of a gcc2
52396    builtin and then its argument prototype would still apply.  */
52397 char $ac_func ();
52398 /* The GNU C library defines this for functions which it implements
52399     to always fail with ENOSYS.  Some functions are actually named
52400     something starting with __ and the normal name is an alias.  */
52401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52402 choke me
52403 #else
52404 char (*f) () = $ac_func;
52405 #endif
52406 #ifdef __cplusplus
52407 }
52408 #endif
52409
52410 int
52411 main ()
52412 {
52413 return f != $ac_func;
52414   ;
52415   return 0;
52416 }
52417 _ACEOF
52418 rm -f conftest.$ac_objext conftest$ac_exeext
52419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52420   (eval $ac_link) 2>conftest.er1
52421   ac_status=$?
52422   grep -v '^ *+' conftest.er1 >conftest.err
52423   rm -f conftest.er1
52424   cat conftest.err >&5
52425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52426   (exit $ac_status); } &&
52427          { ac_try='test -z "$ac_c_werror_flag"
52428                          || test ! -s conftest.err'
52429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52430   (eval $ac_try) 2>&5
52431   ac_status=$?
52432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52433   (exit $ac_status); }; } &&
52434          { ac_try='test -s conftest$ac_exeext'
52435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52436   (eval $ac_try) 2>&5
52437   ac_status=$?
52438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52439   (exit $ac_status); }; }; then
52440   eval "$as_ac_var=yes"
52441 else
52442   echo "$as_me: failed program was:" >&5
52443 sed 's/^/| /' conftest.$ac_ext >&5
52444
52445 eval "$as_ac_var=no"
52446 fi
52447 rm -f conftest.err conftest.$ac_objext \
52448       conftest$ac_exeext conftest.$ac_ext
52449 fi
52450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52452 if test `eval echo '${'$as_ac_var'}'` = yes; then
52453   cat >>confdefs.h <<_ACEOF
52454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52455 _ACEOF
52456
52457 fi
52458 done
52459
52460   fi
52461
52462
52463   echo "$as_me:$LINENO: checking for strtof declaration" >&5
52464 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
52465   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52466     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
52467   echo $ECHO_N "(cached) $ECHO_C" >&6
52468 else
52469
52470
52471
52472       ac_ext=cc
52473 ac_cpp='$CXXCPP $CPPFLAGS'
52474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52477
52478       cat >conftest.$ac_ext <<_ACEOF
52479 /* confdefs.h.  */
52480 _ACEOF
52481 cat confdefs.h >>conftest.$ac_ext
52482 cat >>conftest.$ac_ext <<_ACEOF
52483 /* end confdefs.h.  */
52484 #include <stdlib.h>
52485 int
52486 main ()
52487 {
52488  strtof(0, 0);
52489   ;
52490   return 0;
52491 }
52492 _ACEOF
52493 rm -f conftest.$ac_objext
52494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52495   (eval $ac_compile) 2>conftest.er1
52496   ac_status=$?
52497   grep -v '^ *+' conftest.er1 >conftest.err
52498   rm -f conftest.er1
52499   cat conftest.err >&5
52500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52501   (exit $ac_status); } &&
52502          { ac_try='test -z "$ac_cxx_werror_flag"
52503                          || test ! -s conftest.err'
52504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52505   (eval $ac_try) 2>&5
52506   ac_status=$?
52507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52508   (exit $ac_status); }; } &&
52509          { ac_try='test -s conftest.$ac_objext'
52510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52511   (eval $ac_try) 2>&5
52512   ac_status=$?
52513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52514   (exit $ac_status); }; }; then
52515   glibcxx_cv_func_strtof_use=yes
52516 else
52517   echo "$as_me: failed program was:" >&5
52518 sed 's/^/| /' conftest.$ac_ext >&5
52519
52520 glibcxx_cv_func_strtof_use=no
52521 fi
52522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52523       ac_ext=c
52524 ac_cpp='$CPP $CPPFLAGS'
52525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52528
52529
52530 fi
52531
52532   fi
52533   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
52534 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
52535   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52536
52537 for ac_func in strtof
52538 do
52539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52540 echo "$as_me:$LINENO: checking for $ac_func" >&5
52541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52542 if eval "test \"\${$as_ac_var+set}\" = set"; then
52543   echo $ECHO_N "(cached) $ECHO_C" >&6
52544 else
52545   if test x$gcc_no_link = xyes; then
52546   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52548    { (exit 1); exit 1; }; }
52549 fi
52550 cat >conftest.$ac_ext <<_ACEOF
52551 /* confdefs.h.  */
52552 _ACEOF
52553 cat confdefs.h >>conftest.$ac_ext
52554 cat >>conftest.$ac_ext <<_ACEOF
52555 /* end confdefs.h.  */
52556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52557    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52558 #define $ac_func innocuous_$ac_func
52559
52560 /* System header to define __stub macros and hopefully few prototypes,
52561     which can conflict with char $ac_func (); below.
52562     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52563     <limits.h> exists even on freestanding compilers.  */
52564
52565 #ifdef __STDC__
52566 # include <limits.h>
52567 #else
52568 # include <assert.h>
52569 #endif
52570
52571 #undef $ac_func
52572
52573 /* Override any gcc2 internal prototype to avoid an error.  */
52574 #ifdef __cplusplus
52575 extern "C"
52576 {
52577 #endif
52578 /* We use char because int might match the return type of a gcc2
52579    builtin and then its argument prototype would still apply.  */
52580 char $ac_func ();
52581 /* The GNU C library defines this for functions which it implements
52582     to always fail with ENOSYS.  Some functions are actually named
52583     something starting with __ and the normal name is an alias.  */
52584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52585 choke me
52586 #else
52587 char (*f) () = $ac_func;
52588 #endif
52589 #ifdef __cplusplus
52590 }
52591 #endif
52592
52593 int
52594 main ()
52595 {
52596 return f != $ac_func;
52597   ;
52598   return 0;
52599 }
52600 _ACEOF
52601 rm -f conftest.$ac_objext conftest$ac_exeext
52602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52603   (eval $ac_link) 2>conftest.er1
52604   ac_status=$?
52605   grep -v '^ *+' conftest.er1 >conftest.err
52606   rm -f conftest.er1
52607   cat conftest.err >&5
52608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52609   (exit $ac_status); } &&
52610          { ac_try='test -z "$ac_c_werror_flag"
52611                          || test ! -s conftest.err'
52612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52613   (eval $ac_try) 2>&5
52614   ac_status=$?
52615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52616   (exit $ac_status); }; } &&
52617          { ac_try='test -s conftest$ac_exeext'
52618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52619   (eval $ac_try) 2>&5
52620   ac_status=$?
52621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52622   (exit $ac_status); }; }; then
52623   eval "$as_ac_var=yes"
52624 else
52625   echo "$as_me: failed program was:" >&5
52626 sed 's/^/| /' conftest.$ac_ext >&5
52627
52628 eval "$as_ac_var=no"
52629 fi
52630 rm -f conftest.err conftest.$ac_objext \
52631       conftest$ac_exeext conftest.$ac_ext
52632 fi
52633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52635 if test `eval echo '${'$as_ac_var'}'` = yes; then
52636   cat >>confdefs.h <<_ACEOF
52637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52638 _ACEOF
52639
52640 fi
52641 done
52642
52643   fi
52644
52645
52646   CXXFLAGS="$ac_save_CXXFLAGS"
52647
52648
52649     # For showmanyc_helper().
52650
52651
52652 for ac_header in sys/ioctl.h sys/filio.h
52653 do
52654 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52656   echo "$as_me:$LINENO: checking for $ac_header" >&5
52657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52659   echo $ECHO_N "(cached) $ECHO_C" >&6
52660 fi
52661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52662 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52663 else
52664   # Is the header compilable?
52665 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52666 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52667 cat >conftest.$ac_ext <<_ACEOF
52668 /* confdefs.h.  */
52669 _ACEOF
52670 cat confdefs.h >>conftest.$ac_ext
52671 cat >>conftest.$ac_ext <<_ACEOF
52672 /* end confdefs.h.  */
52673 $ac_includes_default
52674 #include <$ac_header>
52675 _ACEOF
52676 rm -f conftest.$ac_objext
52677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52678   (eval $ac_compile) 2>conftest.er1
52679   ac_status=$?
52680   grep -v '^ *+' conftest.er1 >conftest.err
52681   rm -f conftest.er1
52682   cat conftest.err >&5
52683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52684   (exit $ac_status); } &&
52685          { ac_try='test -z "$ac_c_werror_flag"
52686                          || test ! -s conftest.err'
52687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52688   (eval $ac_try) 2>&5
52689   ac_status=$?
52690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52691   (exit $ac_status); }; } &&
52692          { ac_try='test -s conftest.$ac_objext'
52693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52694   (eval $ac_try) 2>&5
52695   ac_status=$?
52696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52697   (exit $ac_status); }; }; then
52698   ac_header_compiler=yes
52699 else
52700   echo "$as_me: failed program was:" >&5
52701 sed 's/^/| /' conftest.$ac_ext >&5
52702
52703 ac_header_compiler=no
52704 fi
52705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52706 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52707 echo "${ECHO_T}$ac_header_compiler" >&6
52708
52709 # Is the header present?
52710 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52711 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52712 cat >conftest.$ac_ext <<_ACEOF
52713 /* confdefs.h.  */
52714 _ACEOF
52715 cat confdefs.h >>conftest.$ac_ext
52716 cat >>conftest.$ac_ext <<_ACEOF
52717 /* end confdefs.h.  */
52718 #include <$ac_header>
52719 _ACEOF
52720 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52721   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52722   ac_status=$?
52723   grep -v '^ *+' conftest.er1 >conftest.err
52724   rm -f conftest.er1
52725   cat conftest.err >&5
52726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52727   (exit $ac_status); } >/dev/null; then
52728   if test -s conftest.err; then
52729     ac_cpp_err=$ac_c_preproc_warn_flag
52730     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52731   else
52732     ac_cpp_err=
52733   fi
52734 else
52735   ac_cpp_err=yes
52736 fi
52737 if test -z "$ac_cpp_err"; then
52738   ac_header_preproc=yes
52739 else
52740   echo "$as_me: failed program was:" >&5
52741 sed 's/^/| /' conftest.$ac_ext >&5
52742
52743   ac_header_preproc=no
52744 fi
52745 rm -f conftest.err conftest.$ac_ext
52746 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52747 echo "${ECHO_T}$ac_header_preproc" >&6
52748
52749 # So?  What about this header?
52750 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52751   yes:no: )
52752     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52753 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52754     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52755 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52756     ac_header_preproc=yes
52757     ;;
52758   no:yes:* )
52759     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52760 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52761     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
52762 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
52763     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52764 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52765     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
52766 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
52767     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52768 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52769     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52770 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52771     (
52772       cat <<\_ASBOX
52773 ## ----------------------------------------- ##
52774 ## Report this to the package-unused lists.  ##
52775 ## ----------------------------------------- ##
52776 _ASBOX
52777     ) |
52778       sed "s/^/$as_me: WARNING:     /" >&2
52779     ;;
52780 esac
52781 echo "$as_me:$LINENO: checking for $ac_header" >&5
52782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52784   echo $ECHO_N "(cached) $ECHO_C" >&6
52785 else
52786   eval "$as_ac_Header=\$ac_header_preproc"
52787 fi
52788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52789 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52790
52791 fi
52792 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52793   cat >>confdefs.h <<_ACEOF
52794 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52795 _ACEOF
52796
52797 fi
52798
52799 done
52800
52801
52802   if test "${glibcxx_cv_POLL+set}" = set; then
52803   echo $ECHO_N "(cached) $ECHO_C" >&6
52804 else
52805
52806     if test x$gcc_no_link = xyes; then
52807   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52809    { (exit 1); exit 1; }; }
52810 fi
52811 cat >conftest.$ac_ext <<_ACEOF
52812 /* confdefs.h.  */
52813 _ACEOF
52814 cat confdefs.h >>conftest.$ac_ext
52815 cat >>conftest.$ac_ext <<_ACEOF
52816 /* end confdefs.h.  */
52817 #include <poll.h>
52818 int
52819 main ()
52820 {
52821 struct pollfd pfd[1];
52822        pfd[0].events = POLLIN;
52823        poll(pfd, 1, 0);
52824   ;
52825   return 0;
52826 }
52827 _ACEOF
52828 rm -f conftest.$ac_objext conftest$ac_exeext
52829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52830   (eval $ac_link) 2>conftest.er1
52831   ac_status=$?
52832   grep -v '^ *+' conftest.er1 >conftest.err
52833   rm -f conftest.er1
52834   cat conftest.err >&5
52835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52836   (exit $ac_status); } &&
52837          { ac_try='test -z "$ac_c_werror_flag"
52838                          || test ! -s conftest.err'
52839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52840   (eval $ac_try) 2>&5
52841   ac_status=$?
52842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52843   (exit $ac_status); }; } &&
52844          { ac_try='test -s conftest$ac_exeext'
52845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52846   (eval $ac_try) 2>&5
52847   ac_status=$?
52848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52849   (exit $ac_status); }; }; then
52850   glibcxx_cv_POLL=yes
52851 else
52852   echo "$as_me: failed program was:" >&5
52853 sed 's/^/| /' conftest.$ac_ext >&5
52854
52855 glibcxx_cv_POLL=no
52856 fi
52857 rm -f conftest.err conftest.$ac_objext \
52858       conftest$ac_exeext conftest.$ac_ext
52859
52860 fi
52861
52862   if test $glibcxx_cv_POLL = yes; then
52863     cat >>confdefs.h <<\_ACEOF
52864 #define HAVE_POLL 1
52865 _ACEOF
52866
52867   fi
52868
52869
52870   if test "${glibcxx_cv_S_ISREG+set}" = set; then
52871   echo $ECHO_N "(cached) $ECHO_C" >&6
52872 else
52873
52874     if test x$gcc_no_link = xyes; then
52875   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52877    { (exit 1); exit 1; }; }
52878 fi
52879 cat >conftest.$ac_ext <<_ACEOF
52880 /* confdefs.h.  */
52881 _ACEOF
52882 cat confdefs.h >>conftest.$ac_ext
52883 cat >>conftest.$ac_ext <<_ACEOF
52884 /* end confdefs.h.  */
52885 #include <sys/stat.h>
52886 int
52887 main ()
52888 {
52889 struct stat buffer;
52890        fstat(0, &buffer);
52891        S_ISREG(buffer.st_mode);
52892   ;
52893   return 0;
52894 }
52895 _ACEOF
52896 rm -f conftest.$ac_objext conftest$ac_exeext
52897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52898   (eval $ac_link) 2>conftest.er1
52899   ac_status=$?
52900   grep -v '^ *+' conftest.er1 >conftest.err
52901   rm -f conftest.er1
52902   cat conftest.err >&5
52903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52904   (exit $ac_status); } &&
52905          { ac_try='test -z "$ac_c_werror_flag"
52906                          || test ! -s conftest.err'
52907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52908   (eval $ac_try) 2>&5
52909   ac_status=$?
52910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52911   (exit $ac_status); }; } &&
52912          { ac_try='test -s conftest$ac_exeext'
52913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52914   (eval $ac_try) 2>&5
52915   ac_status=$?
52916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52917   (exit $ac_status); }; }; then
52918   glibcxx_cv_S_ISREG=yes
52919 else
52920   echo "$as_me: failed program was:" >&5
52921 sed 's/^/| /' conftest.$ac_ext >&5
52922
52923 glibcxx_cv_S_ISREG=no
52924 fi
52925 rm -f conftest.err conftest.$ac_objext \
52926       conftest$ac_exeext conftest.$ac_ext
52927
52928 fi
52929
52930   if test "${glibcxx_cv_S_IFREG+set}" = set; then
52931   echo $ECHO_N "(cached) $ECHO_C" >&6
52932 else
52933
52934     if test x$gcc_no_link = xyes; then
52935   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52937    { (exit 1); exit 1; }; }
52938 fi
52939 cat >conftest.$ac_ext <<_ACEOF
52940 /* confdefs.h.  */
52941 _ACEOF
52942 cat confdefs.h >>conftest.$ac_ext
52943 cat >>conftest.$ac_ext <<_ACEOF
52944 /* end confdefs.h.  */
52945 #include <sys/stat.h>
52946 int
52947 main ()
52948 {
52949 struct stat buffer;
52950        fstat(0, &buffer);
52951        S_IFREG & buffer.st_mode;
52952   ;
52953   return 0;
52954 }
52955 _ACEOF
52956 rm -f conftest.$ac_objext conftest$ac_exeext
52957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52958   (eval $ac_link) 2>conftest.er1
52959   ac_status=$?
52960   grep -v '^ *+' conftest.er1 >conftest.err
52961   rm -f conftest.er1
52962   cat conftest.err >&5
52963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52964   (exit $ac_status); } &&
52965          { ac_try='test -z "$ac_c_werror_flag"
52966                          || test ! -s conftest.err'
52967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52968   (eval $ac_try) 2>&5
52969   ac_status=$?
52970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52971   (exit $ac_status); }; } &&
52972          { ac_try='test -s conftest$ac_exeext'
52973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52974   (eval $ac_try) 2>&5
52975   ac_status=$?
52976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52977   (exit $ac_status); }; }; then
52978   glibcxx_cv_S_IFREG=yes
52979 else
52980   echo "$as_me: failed program was:" >&5
52981 sed 's/^/| /' conftest.$ac_ext >&5
52982
52983 glibcxx_cv_S_IFREG=no
52984 fi
52985 rm -f conftest.err conftest.$ac_objext \
52986       conftest$ac_exeext conftest.$ac_ext
52987
52988 fi
52989
52990   if test $glibcxx_cv_S_ISREG = yes; then
52991     cat >>confdefs.h <<\_ACEOF
52992 #define HAVE_S_ISREG 1
52993 _ACEOF
52994
52995   elif test $glibcxx_cv_S_IFREG = yes; then
52996     cat >>confdefs.h <<\_ACEOF
52997 #define HAVE_S_IFREG 1
52998 _ACEOF
52999
53000   fi
53001
53002
53003     # For xsputn_2().
53004
53005 for ac_header in sys/uio.h
53006 do
53007 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53008 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53009   echo "$as_me:$LINENO: checking for $ac_header" >&5
53010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53012   echo $ECHO_N "(cached) $ECHO_C" >&6
53013 fi
53014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53016 else
53017   # Is the header compilable?
53018 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53019 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53020 cat >conftest.$ac_ext <<_ACEOF
53021 /* confdefs.h.  */
53022 _ACEOF
53023 cat confdefs.h >>conftest.$ac_ext
53024 cat >>conftest.$ac_ext <<_ACEOF
53025 /* end confdefs.h.  */
53026 $ac_includes_default
53027 #include <$ac_header>
53028 _ACEOF
53029 rm -f conftest.$ac_objext
53030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53031   (eval $ac_compile) 2>conftest.er1
53032   ac_status=$?
53033   grep -v '^ *+' conftest.er1 >conftest.err
53034   rm -f conftest.er1
53035   cat conftest.err >&5
53036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53037   (exit $ac_status); } &&
53038          { ac_try='test -z "$ac_c_werror_flag"
53039                          || test ! -s conftest.err'
53040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53041   (eval $ac_try) 2>&5
53042   ac_status=$?
53043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53044   (exit $ac_status); }; } &&
53045          { ac_try='test -s conftest.$ac_objext'
53046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53047   (eval $ac_try) 2>&5
53048   ac_status=$?
53049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53050   (exit $ac_status); }; }; then
53051   ac_header_compiler=yes
53052 else
53053   echo "$as_me: failed program was:" >&5
53054 sed 's/^/| /' conftest.$ac_ext >&5
53055
53056 ac_header_compiler=no
53057 fi
53058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53059 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53060 echo "${ECHO_T}$ac_header_compiler" >&6
53061
53062 # Is the header present?
53063 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53064 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53065 cat >conftest.$ac_ext <<_ACEOF
53066 /* confdefs.h.  */
53067 _ACEOF
53068 cat confdefs.h >>conftest.$ac_ext
53069 cat >>conftest.$ac_ext <<_ACEOF
53070 /* end confdefs.h.  */
53071 #include <$ac_header>
53072 _ACEOF
53073 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53074   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53075   ac_status=$?
53076   grep -v '^ *+' conftest.er1 >conftest.err
53077   rm -f conftest.er1
53078   cat conftest.err >&5
53079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53080   (exit $ac_status); } >/dev/null; then
53081   if test -s conftest.err; then
53082     ac_cpp_err=$ac_c_preproc_warn_flag
53083     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53084   else
53085     ac_cpp_err=
53086   fi
53087 else
53088   ac_cpp_err=yes
53089 fi
53090 if test -z "$ac_cpp_err"; then
53091   ac_header_preproc=yes
53092 else
53093   echo "$as_me: failed program was:" >&5
53094 sed 's/^/| /' conftest.$ac_ext >&5
53095
53096   ac_header_preproc=no
53097 fi
53098 rm -f conftest.err conftest.$ac_ext
53099 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53100 echo "${ECHO_T}$ac_header_preproc" >&6
53101
53102 # So?  What about this header?
53103 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53104   yes:no: )
53105     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53106 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53107     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53108 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53109     ac_header_preproc=yes
53110     ;;
53111   no:yes:* )
53112     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53113 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53114     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
53115 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
53116     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53117 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53118     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
53119 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
53120     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53121 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53122     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53123 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53124     (
53125       cat <<\_ASBOX
53126 ## ----------------------------------------- ##
53127 ## Report this to the package-unused lists.  ##
53128 ## ----------------------------------------- ##
53129 _ASBOX
53130     ) |
53131       sed "s/^/$as_me: WARNING:     /" >&2
53132     ;;
53133 esac
53134 echo "$as_me:$LINENO: checking for $ac_header" >&5
53135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53137   echo $ECHO_N "(cached) $ECHO_C" >&6
53138 else
53139   eval "$as_ac_Header=\$ac_header_preproc"
53140 fi
53141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53142 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53143
53144 fi
53145 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53146   cat >>confdefs.h <<_ACEOF
53147 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53148 _ACEOF
53149
53150 fi
53151
53152 done
53153
53154
53155   if test "${glibcxx_cv_WRITEV+set}" = set; then
53156   echo $ECHO_N "(cached) $ECHO_C" >&6
53157 else
53158
53159     if test x$gcc_no_link = xyes; then
53160   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53162    { (exit 1); exit 1; }; }
53163 fi
53164 cat >conftest.$ac_ext <<_ACEOF
53165 /* confdefs.h.  */
53166 _ACEOF
53167 cat confdefs.h >>conftest.$ac_ext
53168 cat >>conftest.$ac_ext <<_ACEOF
53169 /* end confdefs.h.  */
53170 #include <sys/uio.h>
53171 int
53172 main ()
53173 {
53174 struct iovec iov[2];
53175        writev(0, iov, 0);
53176   ;
53177   return 0;
53178 }
53179 _ACEOF
53180 rm -f conftest.$ac_objext conftest$ac_exeext
53181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53182   (eval $ac_link) 2>conftest.er1
53183   ac_status=$?
53184   grep -v '^ *+' conftest.er1 >conftest.err
53185   rm -f conftest.er1
53186   cat conftest.err >&5
53187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53188   (exit $ac_status); } &&
53189          { ac_try='test -z "$ac_c_werror_flag"
53190                          || test ! -s conftest.err'
53191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53192   (eval $ac_try) 2>&5
53193   ac_status=$?
53194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53195   (exit $ac_status); }; } &&
53196          { ac_try='test -s conftest$ac_exeext'
53197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53198   (eval $ac_try) 2>&5
53199   ac_status=$?
53200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53201   (exit $ac_status); }; }; then
53202   glibcxx_cv_WRITEV=yes
53203 else
53204   echo "$as_me: failed program was:" >&5
53205 sed 's/^/| /' conftest.$ac_ext >&5
53206
53207 glibcxx_cv_WRITEV=no
53208 fi
53209 rm -f conftest.err conftest.$ac_objext \
53210       conftest$ac_exeext conftest.$ac_ext
53211
53212 fi
53213
53214   if test $glibcxx_cv_WRITEV = yes; then
53215     cat >>confdefs.h <<\_ACEOF
53216 #define HAVE_WRITEV 1
53217 _ACEOF
53218
53219   fi
53220
53221
53222     cat >>confdefs.h <<\_ACEOF
53223 #define HAVE_LC_MESSAGES 1
53224 _ACEOF
53225
53226
53227     cat >conftest.$ac_ext <<_ACEOF
53228 /* confdefs.h.  */
53229 _ACEOF
53230 cat confdefs.h >>conftest.$ac_ext
53231 cat >>conftest.$ac_ext <<_ACEOF
53232 /* end confdefs.h.  */
53233 #include <setjmp.h>
53234 int
53235 main ()
53236 {
53237 sigjmp_buf env;
53238        while (! sigsetjmp (env, 1))
53239          siglongjmp (env, 1);
53240
53241   ;
53242   return 0;
53243 }
53244 _ACEOF
53245 rm -f conftest.$ac_objext
53246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53247   (eval $ac_compile) 2>conftest.er1
53248   ac_status=$?
53249   grep -v '^ *+' conftest.er1 >conftest.err
53250   rm -f conftest.er1
53251   cat conftest.err >&5
53252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53253   (exit $ac_status); } &&
53254          { ac_try='test -z "$ac_c_werror_flag"
53255                          || test ! -s conftest.err'
53256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53257   (eval $ac_try) 2>&5
53258   ac_status=$?
53259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53260   (exit $ac_status); }; } &&
53261          { ac_try='test -s conftest.$ac_objext'
53262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53263   (eval $ac_try) 2>&5
53264   ac_status=$?
53265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53266   (exit $ac_status); }; }; then
53267
53268 cat >>confdefs.h <<\_ACEOF
53269 #define HAVE_SIGSETJMP 1
53270 _ACEOF
53271
53272 else
53273   echo "$as_me: failed program was:" >&5
53274 sed 's/^/| /' conftest.$ac_ext >&5
53275
53276 fi
53277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53278
53279     cat >>confdefs.h <<\_ACEOF
53280 #define HAVE_MMAP 1
53281 _ACEOF
53282
53283     ;;
53284
53285   *djgpp)
53286
53287
53288
53289
53290
53291
53292
53293
53294
53295
53296
53297
53298
53299
53300
53301
53302
53303
53304
53305
53306 for ac_header in float.h ieeefp.h inttypes.h locale.h \
53307       memory.h stdint.h stdlib.h strings.h string.h unistd.h \
53308       wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
53309       sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
53310 do
53311 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53312 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53313   echo "$as_me:$LINENO: checking for $ac_header" >&5
53314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53316   echo $ECHO_N "(cached) $ECHO_C" >&6
53317 fi
53318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53319 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53320 else
53321   # Is the header compilable?
53322 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53323 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53324 cat >conftest.$ac_ext <<_ACEOF
53325 /* confdefs.h.  */
53326 _ACEOF
53327 cat confdefs.h >>conftest.$ac_ext
53328 cat >>conftest.$ac_ext <<_ACEOF
53329 /* end confdefs.h.  */
53330 $ac_includes_default
53331 #include <$ac_header>
53332 _ACEOF
53333 rm -f conftest.$ac_objext
53334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53335   (eval $ac_compile) 2>conftest.er1
53336   ac_status=$?
53337   grep -v '^ *+' conftest.er1 >conftest.err
53338   rm -f conftest.er1
53339   cat conftest.err >&5
53340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53341   (exit $ac_status); } &&
53342          { ac_try='test -z "$ac_c_werror_flag"
53343                          || test ! -s conftest.err'
53344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53345   (eval $ac_try) 2>&5
53346   ac_status=$?
53347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53348   (exit $ac_status); }; } &&
53349          { ac_try='test -s conftest.$ac_objext'
53350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53351   (eval $ac_try) 2>&5
53352   ac_status=$?
53353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53354   (exit $ac_status); }; }; then
53355   ac_header_compiler=yes
53356 else
53357   echo "$as_me: failed program was:" >&5
53358 sed 's/^/| /' conftest.$ac_ext >&5
53359
53360 ac_header_compiler=no
53361 fi
53362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53363 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53364 echo "${ECHO_T}$ac_header_compiler" >&6
53365
53366 # Is the header present?
53367 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53368 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53369 cat >conftest.$ac_ext <<_ACEOF
53370 /* confdefs.h.  */
53371 _ACEOF
53372 cat confdefs.h >>conftest.$ac_ext
53373 cat >>conftest.$ac_ext <<_ACEOF
53374 /* end confdefs.h.  */
53375 #include <$ac_header>
53376 _ACEOF
53377 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53378   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53379   ac_status=$?
53380   grep -v '^ *+' conftest.er1 >conftest.err
53381   rm -f conftest.er1
53382   cat conftest.err >&5
53383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53384   (exit $ac_status); } >/dev/null; then
53385   if test -s conftest.err; then
53386     ac_cpp_err=$ac_c_preproc_warn_flag
53387     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53388   else
53389     ac_cpp_err=
53390   fi
53391 else
53392   ac_cpp_err=yes
53393 fi
53394 if test -z "$ac_cpp_err"; then
53395   ac_header_preproc=yes
53396 else
53397   echo "$as_me: failed program was:" >&5
53398 sed 's/^/| /' conftest.$ac_ext >&5
53399
53400   ac_header_preproc=no
53401 fi
53402 rm -f conftest.err conftest.$ac_ext
53403 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53404 echo "${ECHO_T}$ac_header_preproc" >&6
53405
53406 # So?  What about this header?
53407 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53408   yes:no: )
53409     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53410 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53411     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53412 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53413     ac_header_preproc=yes
53414     ;;
53415   no:yes:* )
53416     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53417 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53418     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
53419 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
53420     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53421 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53422     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
53423 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
53424     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53425 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53426     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53427 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53428     (
53429       cat <<\_ASBOX
53430 ## ----------------------------------------- ##
53431 ## Report this to the package-unused lists.  ##
53432 ## ----------------------------------------- ##
53433 _ASBOX
53434     ) |
53435       sed "s/^/$as_me: WARNING:     /" >&2
53436     ;;
53437 esac
53438 echo "$as_me:$LINENO: checking for $ac_header" >&5
53439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53441   echo $ECHO_N "(cached) $ECHO_C" >&6
53442 else
53443   eval "$as_ac_Header=\$ac_header_preproc"
53444 fi
53445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53446 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53447
53448 fi
53449 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53450   cat >>confdefs.h <<_ACEOF
53451 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53452 _ACEOF
53453
53454 fi
53455
53456 done
53457
53458
53459   # All these tests are for C++; save the language and the compiler flags.
53460   # The CXXFLAGS thing is suspicious, but based on similar bits previously
53461   # found in GLIBCXX_CONFIGURE.
53462
53463
53464   ac_ext=cc
53465 ac_cpp='$CXXCPP $CPPFLAGS'
53466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53469
53470   ac_test_CXXFLAGS="${CXXFLAGS+set}"
53471   ac_save_CXXFLAGS="$CXXFLAGS"
53472
53473   # Check for maintainer-mode bits.
53474   if test x"$USE_MAINTAINER_MODE" = xno; then
53475     WERROR=''
53476   else
53477     WERROR='-Werror'
53478   fi
53479
53480   # Check for -ffunction-sections -fdata-sections
53481   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53482 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
53483   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
53484   cat >conftest.$ac_ext <<_ACEOF
53485 /* confdefs.h.  */
53486 _ACEOF
53487 cat confdefs.h >>conftest.$ac_ext
53488 cat >>conftest.$ac_ext <<_ACEOF
53489 /* end confdefs.h.  */
53490
53491 int
53492 main ()
53493 {
53494 int foo;
53495   ;
53496   return 0;
53497 }
53498 _ACEOF
53499 rm -f conftest.$ac_objext
53500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53501   (eval $ac_compile) 2>conftest.er1
53502   ac_status=$?
53503   grep -v '^ *+' conftest.er1 >conftest.err
53504   rm -f conftest.er1
53505   cat conftest.err >&5
53506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53507   (exit $ac_status); } &&
53508          { ac_try='test -z "$ac_cxx_werror_flag"
53509                          || test ! -s conftest.err'
53510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53511   (eval $ac_try) 2>&5
53512   ac_status=$?
53513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53514   (exit $ac_status); }; } &&
53515          { ac_try='test -s conftest.$ac_objext'
53516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53517   (eval $ac_try) 2>&5
53518   ac_status=$?
53519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53520   (exit $ac_status); }; }; then
53521   ac_fdsections=yes
53522 else
53523   echo "$as_me: failed program was:" >&5
53524 sed 's/^/| /' conftest.$ac_ext >&5
53525
53526 ac_fdsections=no
53527 fi
53528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53529   if test "$ac_test_CXXFLAGS" = set; then
53530     CXXFLAGS="$ac_save_CXXFLAGS"
53531   else
53532     # this is the suspicious part
53533     CXXFLAGS=''
53534   fi
53535   if test x"$ac_fdsections" = x"yes"; then
53536     SECTION_FLAGS='-ffunction-sections -fdata-sections'
53537   fi
53538   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
53539 echo "${ECHO_T}$ac_fdsections" >&6
53540
53541   ac_ext=c
53542 ac_cpp='$CPP $CPPFLAGS'
53543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53546
53547
53548
53549
53550
53551   # If we're not using GNU ld, then there's no point in even trying these
53552   # tests.  Check for that first.  We should have already tested for gld
53553   # by now (in libtool), but require it now just to be safe...
53554   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53555   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53556
53557
53558
53559   # The name set by libtool depends on the version of libtool.  Shame on us
53560   # for depending on an impl detail, but c'est la vie.  Older versions used
53561   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53562   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53563   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
53564   # set (hence we're using an older libtool), then set it.
53565   if test x${with_gnu_ld+set} != xset; then
53566     if test x${ac_cv_prog_gnu_ld+set} != xset; then
53567       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
53568       with_gnu_ld=no
53569     else
53570       with_gnu_ld=$ac_cv_prog_gnu_ld
53571     fi
53572   fi
53573
53574   # Start by getting the version number.  I think the libtool test already
53575   # does some of this, but throws away the result.
53576
53577   ldver=`$LD --version 2>/dev/null | head -1 | \
53578          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
53579
53580   glibcxx_gnu_ld_version=`echo $ldver | \
53581          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53582
53583   # Set --gc-sections.
53584   if test "$with_gnu_ld" = "notbroken"; then
53585     # GNU ld it is!  Joy and bunny rabbits!
53586
53587     # All these tests are for C++; save the language and the compiler flags.
53588     # Need to do this so that g++ won't try to link in libstdc++
53589     ac_test_CFLAGS="${CFLAGS+set}"
53590     ac_save_CFLAGS="$CFLAGS"
53591     CFLAGS='-x c++  -Wl,--gc-sections'
53592
53593     # Check for -Wl,--gc-sections
53594     # XXX This test is broken at the moment, as symbols required for linking
53595     # are now in libsupc++ (not built yet).  In addition, this test has
53596     # cored on solaris in the past.  In addition, --gc-sections doesn't
53597     # really work at the moment (keeps on discarding used sections, first
53598     # .eh_frame and now some of the glibc sections for iconv).
53599     # Bzzzzt.  Thanks for playing, maybe next time.
53600     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
53601 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
53602     if test "$cross_compiling" = yes; then
53603   ac_sectionLDflags=yes
53604 else
53605   cat >conftest.$ac_ext <<_ACEOF
53606 /* confdefs.h.  */
53607 _ACEOF
53608 cat confdefs.h >>conftest.$ac_ext
53609 cat >>conftest.$ac_ext <<_ACEOF
53610 /* end confdefs.h.  */
53611
53612      int main(void)
53613      {
53614        try { throw 1; }
53615        catch (...) { };
53616        return 0;
53617      }
53618
53619 _ACEOF
53620 rm -f conftest$ac_exeext
53621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53622   (eval $ac_link) 2>&5
53623   ac_status=$?
53624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53625   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
53626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53627   (eval $ac_try) 2>&5
53628   ac_status=$?
53629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53630   (exit $ac_status); }; }; then
53631   ac_sectionLDflags=yes
53632 else
53633   echo "$as_me: program exited with status $ac_status" >&5
53634 echo "$as_me: failed program was:" >&5
53635 sed 's/^/| /' conftest.$ac_ext >&5
53636
53637 ( exit $ac_status )
53638 ac_sectionLDflags=no
53639 fi
53640 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
53641 fi
53642     if test "$ac_test_CFLAGS" = set; then
53643       CFLAGS="$ac_save_CFLAGS"
53644     else
53645       # this is the suspicious part
53646       CFLAGS=''
53647     fi
53648     if test "$ac_sectionLDflags" = "yes"; then
53649       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53650     fi
53651     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
53652 echo "${ECHO_T}$ac_sectionLDflags" >&6
53653   fi
53654
53655   # Set linker optimization flags.
53656   if test x"$with_gnu_ld" = x"yes"; then
53657     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53658   fi
53659
53660
53661
53662
53663
53664   ac_test_CXXFLAGS="${CXXFLAGS+set}"
53665   ac_save_CXXFLAGS="$CXXFLAGS"
53666   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53667
53668     echo "$as_me:$LINENO: checking for sin in -lm" >&5
53669 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
53670 if test "${ac_cv_lib_m_sin+set}" = set; then
53671   echo $ECHO_N "(cached) $ECHO_C" >&6
53672 else
53673   ac_check_lib_save_LIBS=$LIBS
53674 LIBS="-lm  $LIBS"
53675 if test x$gcc_no_link = xyes; then
53676   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53678    { (exit 1); exit 1; }; }
53679 fi
53680 cat >conftest.$ac_ext <<_ACEOF
53681 /* confdefs.h.  */
53682 _ACEOF
53683 cat confdefs.h >>conftest.$ac_ext
53684 cat >>conftest.$ac_ext <<_ACEOF
53685 /* end confdefs.h.  */
53686
53687 /* Override any gcc2 internal prototype to avoid an error.  */
53688 #ifdef __cplusplus
53689 extern "C"
53690 #endif
53691 /* We use char because int might match the return type of a gcc2
53692    builtin and then its argument prototype would still apply.  */
53693 char sin ();
53694 int
53695 main ()
53696 {
53697 sin ();
53698   ;
53699   return 0;
53700 }
53701 _ACEOF
53702 rm -f conftest.$ac_objext conftest$ac_exeext
53703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53704   (eval $ac_link) 2>conftest.er1
53705   ac_status=$?
53706   grep -v '^ *+' conftest.er1 >conftest.err
53707   rm -f conftest.er1
53708   cat conftest.err >&5
53709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53710   (exit $ac_status); } &&
53711          { ac_try='test -z "$ac_c_werror_flag"
53712                          || test ! -s conftest.err'
53713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53714   (eval $ac_try) 2>&5
53715   ac_status=$?
53716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53717   (exit $ac_status); }; } &&
53718          { ac_try='test -s conftest$ac_exeext'
53719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53720   (eval $ac_try) 2>&5
53721   ac_status=$?
53722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53723   (exit $ac_status); }; }; then
53724   ac_cv_lib_m_sin=yes
53725 else
53726   echo "$as_me: failed program was:" >&5
53727 sed 's/^/| /' conftest.$ac_ext >&5
53728
53729 ac_cv_lib_m_sin=no
53730 fi
53731 rm -f conftest.err conftest.$ac_objext \
53732       conftest$ac_exeext conftest.$ac_ext
53733 LIBS=$ac_check_lib_save_LIBS
53734 fi
53735 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
53736 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
53737 if test $ac_cv_lib_m_sin = yes; then
53738   libm="-lm"
53739 fi
53740
53741   ac_save_LIBS="$LIBS"
53742   LIBS="$LIBS $libm"
53743
53744
53745
53746   echo "$as_me:$LINENO: checking for isinf declaration" >&5
53747 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
53748   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53749     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
53750   echo $ECHO_N "(cached) $ECHO_C" >&6
53751 else
53752
53753
53754
53755       ac_ext=cc
53756 ac_cpp='$CXXCPP $CPPFLAGS'
53757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53760
53761       cat >conftest.$ac_ext <<_ACEOF
53762 /* confdefs.h.  */
53763 _ACEOF
53764 cat confdefs.h >>conftest.$ac_ext
53765 cat >>conftest.$ac_ext <<_ACEOF
53766 /* end confdefs.h.  */
53767 #include <math.h>
53768                       #ifdef HAVE_IEEEFP_H
53769                       #include <ieeefp.h>
53770                       #endif
53771
53772 int
53773 main ()
53774 {
53775  isinf(0);
53776   ;
53777   return 0;
53778 }
53779 _ACEOF
53780 rm -f conftest.$ac_objext
53781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53782   (eval $ac_compile) 2>conftest.er1
53783   ac_status=$?
53784   grep -v '^ *+' conftest.er1 >conftest.err
53785   rm -f conftest.er1
53786   cat conftest.err >&5
53787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53788   (exit $ac_status); } &&
53789          { ac_try='test -z "$ac_cxx_werror_flag"
53790                          || test ! -s conftest.err'
53791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53792   (eval $ac_try) 2>&5
53793   ac_status=$?
53794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53795   (exit $ac_status); }; } &&
53796          { ac_try='test -s conftest.$ac_objext'
53797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53798   (eval $ac_try) 2>&5
53799   ac_status=$?
53800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53801   (exit $ac_status); }; }; then
53802   glibcxx_cv_func_isinf_use=yes
53803 else
53804   echo "$as_me: failed program was:" >&5
53805 sed 's/^/| /' conftest.$ac_ext >&5
53806
53807 glibcxx_cv_func_isinf_use=no
53808 fi
53809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53810       ac_ext=c
53811 ac_cpp='$CPP $CPPFLAGS'
53812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53815
53816
53817 fi
53818
53819   fi
53820   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
53821 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
53822
53823   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53824
53825 for ac_func in isinf
53826 do
53827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53828 echo "$as_me:$LINENO: checking for $ac_func" >&5
53829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53830 if eval "test \"\${$as_ac_var+set}\" = set"; then
53831   echo $ECHO_N "(cached) $ECHO_C" >&6
53832 else
53833   if test x$gcc_no_link = xyes; then
53834   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53836    { (exit 1); exit 1; }; }
53837 fi
53838 cat >conftest.$ac_ext <<_ACEOF
53839 /* confdefs.h.  */
53840 _ACEOF
53841 cat confdefs.h >>conftest.$ac_ext
53842 cat >>conftest.$ac_ext <<_ACEOF
53843 /* end confdefs.h.  */
53844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53845    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53846 #define $ac_func innocuous_$ac_func
53847
53848 /* System header to define __stub macros and hopefully few prototypes,
53849     which can conflict with char $ac_func (); below.
53850     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53851     <limits.h> exists even on freestanding compilers.  */
53852
53853 #ifdef __STDC__
53854 # include <limits.h>
53855 #else
53856 # include <assert.h>
53857 #endif
53858
53859 #undef $ac_func
53860
53861 /* Override any gcc2 internal prototype to avoid an error.  */
53862 #ifdef __cplusplus
53863 extern "C"
53864 {
53865 #endif
53866 /* We use char because int might match the return type of a gcc2
53867    builtin and then its argument prototype would still apply.  */
53868 char $ac_func ();
53869 /* The GNU C library defines this for functions which it implements
53870     to always fail with ENOSYS.  Some functions are actually named
53871     something starting with __ and the normal name is an alias.  */
53872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53873 choke me
53874 #else
53875 char (*f) () = $ac_func;
53876 #endif
53877 #ifdef __cplusplus
53878 }
53879 #endif
53880
53881 int
53882 main ()
53883 {
53884 return f != $ac_func;
53885   ;
53886   return 0;
53887 }
53888 _ACEOF
53889 rm -f conftest.$ac_objext conftest$ac_exeext
53890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53891   (eval $ac_link) 2>conftest.er1
53892   ac_status=$?
53893   grep -v '^ *+' conftest.er1 >conftest.err
53894   rm -f conftest.er1
53895   cat conftest.err >&5
53896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53897   (exit $ac_status); } &&
53898          { ac_try='test -z "$ac_c_werror_flag"
53899                          || test ! -s conftest.err'
53900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53901   (eval $ac_try) 2>&5
53902   ac_status=$?
53903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53904   (exit $ac_status); }; } &&
53905          { ac_try='test -s conftest$ac_exeext'
53906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53907   (eval $ac_try) 2>&5
53908   ac_status=$?
53909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53910   (exit $ac_status); }; }; then
53911   eval "$as_ac_var=yes"
53912 else
53913   echo "$as_me: failed program was:" >&5
53914 sed 's/^/| /' conftest.$ac_ext >&5
53915
53916 eval "$as_ac_var=no"
53917 fi
53918 rm -f conftest.err conftest.$ac_objext \
53919       conftest$ac_exeext conftest.$ac_ext
53920 fi
53921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53923 if test `eval echo '${'$as_ac_var'}'` = yes; then
53924   cat >>confdefs.h <<_ACEOF
53925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53926 _ACEOF
53927
53928 fi
53929 done
53930
53931   else
53932
53933   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
53934 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
53935   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53936     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
53937   echo $ECHO_N "(cached) $ECHO_C" >&6
53938 else
53939
53940
53941
53942       ac_ext=cc
53943 ac_cpp='$CXXCPP $CPPFLAGS'
53944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53947
53948       cat >conftest.$ac_ext <<_ACEOF
53949 /* confdefs.h.  */
53950 _ACEOF
53951 cat confdefs.h >>conftest.$ac_ext
53952 cat >>conftest.$ac_ext <<_ACEOF
53953 /* end confdefs.h.  */
53954 #include <math.h>
53955                       #ifdef HAVE_IEEEFP_H
53956                       #include <ieeefp.h>
53957                       #endif
53958
53959 int
53960 main ()
53961 {
53962  _isinf(0);
53963   ;
53964   return 0;
53965 }
53966 _ACEOF
53967 rm -f conftest.$ac_objext
53968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53969   (eval $ac_compile) 2>conftest.er1
53970   ac_status=$?
53971   grep -v '^ *+' conftest.er1 >conftest.err
53972   rm -f conftest.er1
53973   cat conftest.err >&5
53974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53975   (exit $ac_status); } &&
53976          { ac_try='test -z "$ac_cxx_werror_flag"
53977                          || test ! -s conftest.err'
53978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53979   (eval $ac_try) 2>&5
53980   ac_status=$?
53981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53982   (exit $ac_status); }; } &&
53983          { ac_try='test -s conftest.$ac_objext'
53984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53985   (eval $ac_try) 2>&5
53986   ac_status=$?
53987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53988   (exit $ac_status); }; }; then
53989   glibcxx_cv_func__isinf_use=yes
53990 else
53991   echo "$as_me: failed program was:" >&5
53992 sed 's/^/| /' conftest.$ac_ext >&5
53993
53994 glibcxx_cv_func__isinf_use=no
53995 fi
53996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53997       ac_ext=c
53998 ac_cpp='$CPP $CPPFLAGS'
53999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54002
54003
54004 fi
54005
54006   fi
54007   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
54008 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
54009
54010     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54011
54012 for ac_func in _isinf
54013 do
54014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54015 echo "$as_me:$LINENO: checking for $ac_func" >&5
54016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54017 if eval "test \"\${$as_ac_var+set}\" = set"; then
54018   echo $ECHO_N "(cached) $ECHO_C" >&6
54019 else
54020   if test x$gcc_no_link = xyes; then
54021   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54023    { (exit 1); exit 1; }; }
54024 fi
54025 cat >conftest.$ac_ext <<_ACEOF
54026 /* confdefs.h.  */
54027 _ACEOF
54028 cat confdefs.h >>conftest.$ac_ext
54029 cat >>conftest.$ac_ext <<_ACEOF
54030 /* end confdefs.h.  */
54031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54032    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54033 #define $ac_func innocuous_$ac_func
54034
54035 /* System header to define __stub macros and hopefully few prototypes,
54036     which can conflict with char $ac_func (); below.
54037     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54038     <limits.h> exists even on freestanding compilers.  */
54039
54040 #ifdef __STDC__
54041 # include <limits.h>
54042 #else
54043 # include <assert.h>
54044 #endif
54045
54046 #undef $ac_func
54047
54048 /* Override any gcc2 internal prototype to avoid an error.  */
54049 #ifdef __cplusplus
54050 extern "C"
54051 {
54052 #endif
54053 /* We use char because int might match the return type of a gcc2
54054    builtin and then its argument prototype would still apply.  */
54055 char $ac_func ();
54056 /* The GNU C library defines this for functions which it implements
54057     to always fail with ENOSYS.  Some functions are actually named
54058     something starting with __ and the normal name is an alias.  */
54059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54060 choke me
54061 #else
54062 char (*f) () = $ac_func;
54063 #endif
54064 #ifdef __cplusplus
54065 }
54066 #endif
54067
54068 int
54069 main ()
54070 {
54071 return f != $ac_func;
54072   ;
54073   return 0;
54074 }
54075 _ACEOF
54076 rm -f conftest.$ac_objext conftest$ac_exeext
54077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54078   (eval $ac_link) 2>conftest.er1
54079   ac_status=$?
54080   grep -v '^ *+' conftest.er1 >conftest.err
54081   rm -f conftest.er1
54082   cat conftest.err >&5
54083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54084   (exit $ac_status); } &&
54085          { ac_try='test -z "$ac_c_werror_flag"
54086                          || test ! -s conftest.err'
54087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54088   (eval $ac_try) 2>&5
54089   ac_status=$?
54090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54091   (exit $ac_status); }; } &&
54092          { ac_try='test -s conftest$ac_exeext'
54093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54094   (eval $ac_try) 2>&5
54095   ac_status=$?
54096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54097   (exit $ac_status); }; }; then
54098   eval "$as_ac_var=yes"
54099 else
54100   echo "$as_me: failed program was:" >&5
54101 sed 's/^/| /' conftest.$ac_ext >&5
54102
54103 eval "$as_ac_var=no"
54104 fi
54105 rm -f conftest.err conftest.$ac_objext \
54106       conftest$ac_exeext conftest.$ac_ext
54107 fi
54108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54110 if test `eval echo '${'$as_ac_var'}'` = yes; then
54111   cat >>confdefs.h <<_ACEOF
54112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54113 _ACEOF
54114
54115 fi
54116 done
54117
54118     fi
54119   fi
54120
54121
54122
54123   echo "$as_me:$LINENO: checking for isnan declaration" >&5
54124 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
54125   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54126     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
54127   echo $ECHO_N "(cached) $ECHO_C" >&6
54128 else
54129
54130
54131
54132       ac_ext=cc
54133 ac_cpp='$CXXCPP $CPPFLAGS'
54134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54137
54138       cat >conftest.$ac_ext <<_ACEOF
54139 /* confdefs.h.  */
54140 _ACEOF
54141 cat confdefs.h >>conftest.$ac_ext
54142 cat >>conftest.$ac_ext <<_ACEOF
54143 /* end confdefs.h.  */
54144 #include <math.h>
54145                       #ifdef HAVE_IEEEFP_H
54146                       #include <ieeefp.h>
54147                       #endif
54148
54149 int
54150 main ()
54151 {
54152  isnan(0);
54153   ;
54154   return 0;
54155 }
54156 _ACEOF
54157 rm -f conftest.$ac_objext
54158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54159   (eval $ac_compile) 2>conftest.er1
54160   ac_status=$?
54161   grep -v '^ *+' conftest.er1 >conftest.err
54162   rm -f conftest.er1
54163   cat conftest.err >&5
54164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54165   (exit $ac_status); } &&
54166          { ac_try='test -z "$ac_cxx_werror_flag"
54167                          || test ! -s conftest.err'
54168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54169   (eval $ac_try) 2>&5
54170   ac_status=$?
54171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54172   (exit $ac_status); }; } &&
54173          { ac_try='test -s conftest.$ac_objext'
54174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54175   (eval $ac_try) 2>&5
54176   ac_status=$?
54177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54178   (exit $ac_status); }; }; then
54179   glibcxx_cv_func_isnan_use=yes
54180 else
54181   echo "$as_me: failed program was:" >&5
54182 sed 's/^/| /' conftest.$ac_ext >&5
54183
54184 glibcxx_cv_func_isnan_use=no
54185 fi
54186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54187       ac_ext=c
54188 ac_cpp='$CPP $CPPFLAGS'
54189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54192
54193
54194 fi
54195
54196   fi
54197   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
54198 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
54199
54200   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54201
54202 for ac_func in isnan
54203 do
54204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54205 echo "$as_me:$LINENO: checking for $ac_func" >&5
54206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54207 if eval "test \"\${$as_ac_var+set}\" = set"; then
54208   echo $ECHO_N "(cached) $ECHO_C" >&6
54209 else
54210   if test x$gcc_no_link = xyes; then
54211   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54213    { (exit 1); exit 1; }; }
54214 fi
54215 cat >conftest.$ac_ext <<_ACEOF
54216 /* confdefs.h.  */
54217 _ACEOF
54218 cat confdefs.h >>conftest.$ac_ext
54219 cat >>conftest.$ac_ext <<_ACEOF
54220 /* end confdefs.h.  */
54221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54222    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54223 #define $ac_func innocuous_$ac_func
54224
54225 /* System header to define __stub macros and hopefully few prototypes,
54226     which can conflict with char $ac_func (); below.
54227     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54228     <limits.h> exists even on freestanding compilers.  */
54229
54230 #ifdef __STDC__
54231 # include <limits.h>
54232 #else
54233 # include <assert.h>
54234 #endif
54235
54236 #undef $ac_func
54237
54238 /* Override any gcc2 internal prototype to avoid an error.  */
54239 #ifdef __cplusplus
54240 extern "C"
54241 {
54242 #endif
54243 /* We use char because int might match the return type of a gcc2
54244    builtin and then its argument prototype would still apply.  */
54245 char $ac_func ();
54246 /* The GNU C library defines this for functions which it implements
54247     to always fail with ENOSYS.  Some functions are actually named
54248     something starting with __ and the normal name is an alias.  */
54249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54250 choke me
54251 #else
54252 char (*f) () = $ac_func;
54253 #endif
54254 #ifdef __cplusplus
54255 }
54256 #endif
54257
54258 int
54259 main ()
54260 {
54261 return f != $ac_func;
54262   ;
54263   return 0;
54264 }
54265 _ACEOF
54266 rm -f conftest.$ac_objext conftest$ac_exeext
54267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54268   (eval $ac_link) 2>conftest.er1
54269   ac_status=$?
54270   grep -v '^ *+' conftest.er1 >conftest.err
54271   rm -f conftest.er1
54272   cat conftest.err >&5
54273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54274   (exit $ac_status); } &&
54275          { ac_try='test -z "$ac_c_werror_flag"
54276                          || test ! -s conftest.err'
54277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54278   (eval $ac_try) 2>&5
54279   ac_status=$?
54280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54281   (exit $ac_status); }; } &&
54282          { ac_try='test -s conftest$ac_exeext'
54283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54284   (eval $ac_try) 2>&5
54285   ac_status=$?
54286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54287   (exit $ac_status); }; }; then
54288   eval "$as_ac_var=yes"
54289 else
54290   echo "$as_me: failed program was:" >&5
54291 sed 's/^/| /' conftest.$ac_ext >&5
54292
54293 eval "$as_ac_var=no"
54294 fi
54295 rm -f conftest.err conftest.$ac_objext \
54296       conftest$ac_exeext conftest.$ac_ext
54297 fi
54298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54300 if test `eval echo '${'$as_ac_var'}'` = yes; then
54301   cat >>confdefs.h <<_ACEOF
54302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54303 _ACEOF
54304
54305 fi
54306 done
54307
54308   else
54309
54310   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
54311 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
54312   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54313     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
54314   echo $ECHO_N "(cached) $ECHO_C" >&6
54315 else
54316
54317
54318
54319       ac_ext=cc
54320 ac_cpp='$CXXCPP $CPPFLAGS'
54321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54324
54325       cat >conftest.$ac_ext <<_ACEOF
54326 /* confdefs.h.  */
54327 _ACEOF
54328 cat confdefs.h >>conftest.$ac_ext
54329 cat >>conftest.$ac_ext <<_ACEOF
54330 /* end confdefs.h.  */
54331 #include <math.h>
54332                       #ifdef HAVE_IEEEFP_H
54333                       #include <ieeefp.h>
54334                       #endif
54335
54336 int
54337 main ()
54338 {
54339  _isnan(0);
54340   ;
54341   return 0;
54342 }
54343 _ACEOF
54344 rm -f conftest.$ac_objext
54345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54346   (eval $ac_compile) 2>conftest.er1
54347   ac_status=$?
54348   grep -v '^ *+' conftest.er1 >conftest.err
54349   rm -f conftest.er1
54350   cat conftest.err >&5
54351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54352   (exit $ac_status); } &&
54353          { ac_try='test -z "$ac_cxx_werror_flag"
54354                          || test ! -s conftest.err'
54355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54356   (eval $ac_try) 2>&5
54357   ac_status=$?
54358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54359   (exit $ac_status); }; } &&
54360          { ac_try='test -s conftest.$ac_objext'
54361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54362   (eval $ac_try) 2>&5
54363   ac_status=$?
54364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54365   (exit $ac_status); }; }; then
54366   glibcxx_cv_func__isnan_use=yes
54367 else
54368   echo "$as_me: failed program was:" >&5
54369 sed 's/^/| /' conftest.$ac_ext >&5
54370
54371 glibcxx_cv_func__isnan_use=no
54372 fi
54373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54374       ac_ext=c
54375 ac_cpp='$CPP $CPPFLAGS'
54376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54379
54380
54381 fi
54382
54383   fi
54384   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
54385 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
54386
54387     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54388
54389 for ac_func in _isnan
54390 do
54391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54392 echo "$as_me:$LINENO: checking for $ac_func" >&5
54393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54394 if eval "test \"\${$as_ac_var+set}\" = set"; then
54395   echo $ECHO_N "(cached) $ECHO_C" >&6
54396 else
54397   if test x$gcc_no_link = xyes; then
54398   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54400    { (exit 1); exit 1; }; }
54401 fi
54402 cat >conftest.$ac_ext <<_ACEOF
54403 /* confdefs.h.  */
54404 _ACEOF
54405 cat confdefs.h >>conftest.$ac_ext
54406 cat >>conftest.$ac_ext <<_ACEOF
54407 /* end confdefs.h.  */
54408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54409    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54410 #define $ac_func innocuous_$ac_func
54411
54412 /* System header to define __stub macros and hopefully few prototypes,
54413     which can conflict with char $ac_func (); below.
54414     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54415     <limits.h> exists even on freestanding compilers.  */
54416
54417 #ifdef __STDC__
54418 # include <limits.h>
54419 #else
54420 # include <assert.h>
54421 #endif
54422
54423 #undef $ac_func
54424
54425 /* Override any gcc2 internal prototype to avoid an error.  */
54426 #ifdef __cplusplus
54427 extern "C"
54428 {
54429 #endif
54430 /* We use char because int might match the return type of a gcc2
54431    builtin and then its argument prototype would still apply.  */
54432 char $ac_func ();
54433 /* The GNU C library defines this for functions which it implements
54434     to always fail with ENOSYS.  Some functions are actually named
54435     something starting with __ and the normal name is an alias.  */
54436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54437 choke me
54438 #else
54439 char (*f) () = $ac_func;
54440 #endif
54441 #ifdef __cplusplus
54442 }
54443 #endif
54444
54445 int
54446 main ()
54447 {
54448 return f != $ac_func;
54449   ;
54450   return 0;
54451 }
54452 _ACEOF
54453 rm -f conftest.$ac_objext conftest$ac_exeext
54454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54455   (eval $ac_link) 2>conftest.er1
54456   ac_status=$?
54457   grep -v '^ *+' conftest.er1 >conftest.err
54458   rm -f conftest.er1
54459   cat conftest.err >&5
54460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54461   (exit $ac_status); } &&
54462          { ac_try='test -z "$ac_c_werror_flag"
54463                          || test ! -s conftest.err'
54464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54465   (eval $ac_try) 2>&5
54466   ac_status=$?
54467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54468   (exit $ac_status); }; } &&
54469          { ac_try='test -s conftest$ac_exeext'
54470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54471   (eval $ac_try) 2>&5
54472   ac_status=$?
54473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54474   (exit $ac_status); }; }; then
54475   eval "$as_ac_var=yes"
54476 else
54477   echo "$as_me: failed program was:" >&5
54478 sed 's/^/| /' conftest.$ac_ext >&5
54479
54480 eval "$as_ac_var=no"
54481 fi
54482 rm -f conftest.err conftest.$ac_objext \
54483       conftest$ac_exeext conftest.$ac_ext
54484 fi
54485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54487 if test `eval echo '${'$as_ac_var'}'` = yes; then
54488   cat >>confdefs.h <<_ACEOF
54489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54490 _ACEOF
54491
54492 fi
54493 done
54494
54495     fi
54496   fi
54497
54498
54499
54500   echo "$as_me:$LINENO: checking for finite declaration" >&5
54501 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
54502   if test x${glibcxx_cv_func_finite_use+set} != xset; then
54503     if test "${glibcxx_cv_func_finite_use+set}" = set; then
54504   echo $ECHO_N "(cached) $ECHO_C" >&6
54505 else
54506
54507
54508
54509       ac_ext=cc
54510 ac_cpp='$CXXCPP $CPPFLAGS'
54511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54514
54515       cat >conftest.$ac_ext <<_ACEOF
54516 /* confdefs.h.  */
54517 _ACEOF
54518 cat confdefs.h >>conftest.$ac_ext
54519 cat >>conftest.$ac_ext <<_ACEOF
54520 /* end confdefs.h.  */
54521 #include <math.h>
54522                       #ifdef HAVE_IEEEFP_H
54523                       #include <ieeefp.h>
54524                       #endif
54525
54526 int
54527 main ()
54528 {
54529  finite(0);
54530   ;
54531   return 0;
54532 }
54533 _ACEOF
54534 rm -f conftest.$ac_objext
54535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54536   (eval $ac_compile) 2>conftest.er1
54537   ac_status=$?
54538   grep -v '^ *+' conftest.er1 >conftest.err
54539   rm -f conftest.er1
54540   cat conftest.err >&5
54541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54542   (exit $ac_status); } &&
54543          { ac_try='test -z "$ac_cxx_werror_flag"
54544                          || test ! -s conftest.err'
54545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54546   (eval $ac_try) 2>&5
54547   ac_status=$?
54548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54549   (exit $ac_status); }; } &&
54550          { ac_try='test -s conftest.$ac_objext'
54551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54552   (eval $ac_try) 2>&5
54553   ac_status=$?
54554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54555   (exit $ac_status); }; }; then
54556   glibcxx_cv_func_finite_use=yes
54557 else
54558   echo "$as_me: failed program was:" >&5
54559 sed 's/^/| /' conftest.$ac_ext >&5
54560
54561 glibcxx_cv_func_finite_use=no
54562 fi
54563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54564       ac_ext=c
54565 ac_cpp='$CPP $CPPFLAGS'
54566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54569
54570
54571 fi
54572
54573   fi
54574   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
54575 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
54576
54577   if test x$glibcxx_cv_func_finite_use = x"yes"; then
54578
54579 for ac_func in finite
54580 do
54581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54582 echo "$as_me:$LINENO: checking for $ac_func" >&5
54583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54584 if eval "test \"\${$as_ac_var+set}\" = set"; then
54585   echo $ECHO_N "(cached) $ECHO_C" >&6
54586 else
54587   if test x$gcc_no_link = xyes; then
54588   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54590    { (exit 1); exit 1; }; }
54591 fi
54592 cat >conftest.$ac_ext <<_ACEOF
54593 /* confdefs.h.  */
54594 _ACEOF
54595 cat confdefs.h >>conftest.$ac_ext
54596 cat >>conftest.$ac_ext <<_ACEOF
54597 /* end confdefs.h.  */
54598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54599    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54600 #define $ac_func innocuous_$ac_func
54601
54602 /* System header to define __stub macros and hopefully few prototypes,
54603     which can conflict with char $ac_func (); below.
54604     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54605     <limits.h> exists even on freestanding compilers.  */
54606
54607 #ifdef __STDC__
54608 # include <limits.h>
54609 #else
54610 # include <assert.h>
54611 #endif
54612
54613 #undef $ac_func
54614
54615 /* Override any gcc2 internal prototype to avoid an error.  */
54616 #ifdef __cplusplus
54617 extern "C"
54618 {
54619 #endif
54620 /* We use char because int might match the return type of a gcc2
54621    builtin and then its argument prototype would still apply.  */
54622 char $ac_func ();
54623 /* The GNU C library defines this for functions which it implements
54624     to always fail with ENOSYS.  Some functions are actually named
54625     something starting with __ and the normal name is an alias.  */
54626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54627 choke me
54628 #else
54629 char (*f) () = $ac_func;
54630 #endif
54631 #ifdef __cplusplus
54632 }
54633 #endif
54634
54635 int
54636 main ()
54637 {
54638 return f != $ac_func;
54639   ;
54640   return 0;
54641 }
54642 _ACEOF
54643 rm -f conftest.$ac_objext conftest$ac_exeext
54644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54645   (eval $ac_link) 2>conftest.er1
54646   ac_status=$?
54647   grep -v '^ *+' conftest.er1 >conftest.err
54648   rm -f conftest.er1
54649   cat conftest.err >&5
54650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54651   (exit $ac_status); } &&
54652          { ac_try='test -z "$ac_c_werror_flag"
54653                          || test ! -s conftest.err'
54654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54655   (eval $ac_try) 2>&5
54656   ac_status=$?
54657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54658   (exit $ac_status); }; } &&
54659          { ac_try='test -s conftest$ac_exeext'
54660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54661   (eval $ac_try) 2>&5
54662   ac_status=$?
54663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54664   (exit $ac_status); }; }; then
54665   eval "$as_ac_var=yes"
54666 else
54667   echo "$as_me: failed program was:" >&5
54668 sed 's/^/| /' conftest.$ac_ext >&5
54669
54670 eval "$as_ac_var=no"
54671 fi
54672 rm -f conftest.err conftest.$ac_objext \
54673       conftest$ac_exeext conftest.$ac_ext
54674 fi
54675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54677 if test `eval echo '${'$as_ac_var'}'` = yes; then
54678   cat >>confdefs.h <<_ACEOF
54679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54680 _ACEOF
54681
54682 fi
54683 done
54684
54685   else
54686
54687   echo "$as_me:$LINENO: checking for _finite declaration" >&5
54688 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
54689   if test x${glibcxx_cv_func__finite_use+set} != xset; then
54690     if test "${glibcxx_cv_func__finite_use+set}" = set; then
54691   echo $ECHO_N "(cached) $ECHO_C" >&6
54692 else
54693
54694
54695
54696       ac_ext=cc
54697 ac_cpp='$CXXCPP $CPPFLAGS'
54698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54701
54702       cat >conftest.$ac_ext <<_ACEOF
54703 /* confdefs.h.  */
54704 _ACEOF
54705 cat confdefs.h >>conftest.$ac_ext
54706 cat >>conftest.$ac_ext <<_ACEOF
54707 /* end confdefs.h.  */
54708 #include <math.h>
54709                       #ifdef HAVE_IEEEFP_H
54710                       #include <ieeefp.h>
54711                       #endif
54712
54713 int
54714 main ()
54715 {
54716  _finite(0);
54717   ;
54718   return 0;
54719 }
54720 _ACEOF
54721 rm -f conftest.$ac_objext
54722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54723   (eval $ac_compile) 2>conftest.er1
54724   ac_status=$?
54725   grep -v '^ *+' conftest.er1 >conftest.err
54726   rm -f conftest.er1
54727   cat conftest.err >&5
54728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54729   (exit $ac_status); } &&
54730          { ac_try='test -z "$ac_cxx_werror_flag"
54731                          || test ! -s conftest.err'
54732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54733   (eval $ac_try) 2>&5
54734   ac_status=$?
54735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54736   (exit $ac_status); }; } &&
54737          { ac_try='test -s conftest.$ac_objext'
54738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54739   (eval $ac_try) 2>&5
54740   ac_status=$?
54741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54742   (exit $ac_status); }; }; then
54743   glibcxx_cv_func__finite_use=yes
54744 else
54745   echo "$as_me: failed program was:" >&5
54746 sed 's/^/| /' conftest.$ac_ext >&5
54747
54748 glibcxx_cv_func__finite_use=no
54749 fi
54750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54751       ac_ext=c
54752 ac_cpp='$CPP $CPPFLAGS'
54753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54756
54757
54758 fi
54759
54760   fi
54761   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
54762 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
54763
54764     if test x$glibcxx_cv_func__finite_use = x"yes"; then
54765
54766 for ac_func in _finite
54767 do
54768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54769 echo "$as_me:$LINENO: checking for $ac_func" >&5
54770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54771 if eval "test \"\${$as_ac_var+set}\" = set"; then
54772   echo $ECHO_N "(cached) $ECHO_C" >&6
54773 else
54774   if test x$gcc_no_link = xyes; then
54775   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54777    { (exit 1); exit 1; }; }
54778 fi
54779 cat >conftest.$ac_ext <<_ACEOF
54780 /* confdefs.h.  */
54781 _ACEOF
54782 cat confdefs.h >>conftest.$ac_ext
54783 cat >>conftest.$ac_ext <<_ACEOF
54784 /* end confdefs.h.  */
54785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54786    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54787 #define $ac_func innocuous_$ac_func
54788
54789 /* System header to define __stub macros and hopefully few prototypes,
54790     which can conflict with char $ac_func (); below.
54791     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54792     <limits.h> exists even on freestanding compilers.  */
54793
54794 #ifdef __STDC__
54795 # include <limits.h>
54796 #else
54797 # include <assert.h>
54798 #endif
54799
54800 #undef $ac_func
54801
54802 /* Override any gcc2 internal prototype to avoid an error.  */
54803 #ifdef __cplusplus
54804 extern "C"
54805 {
54806 #endif
54807 /* We use char because int might match the return type of a gcc2
54808    builtin and then its argument prototype would still apply.  */
54809 char $ac_func ();
54810 /* The GNU C library defines this for functions which it implements
54811     to always fail with ENOSYS.  Some functions are actually named
54812     something starting with __ and the normal name is an alias.  */
54813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54814 choke me
54815 #else
54816 char (*f) () = $ac_func;
54817 #endif
54818 #ifdef __cplusplus
54819 }
54820 #endif
54821
54822 int
54823 main ()
54824 {
54825 return f != $ac_func;
54826   ;
54827   return 0;
54828 }
54829 _ACEOF
54830 rm -f conftest.$ac_objext conftest$ac_exeext
54831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54832   (eval $ac_link) 2>conftest.er1
54833   ac_status=$?
54834   grep -v '^ *+' conftest.er1 >conftest.err
54835   rm -f conftest.er1
54836   cat conftest.err >&5
54837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54838   (exit $ac_status); } &&
54839          { ac_try='test -z "$ac_c_werror_flag"
54840                          || test ! -s conftest.err'
54841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54842   (eval $ac_try) 2>&5
54843   ac_status=$?
54844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54845   (exit $ac_status); }; } &&
54846          { ac_try='test -s conftest$ac_exeext'
54847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54848   (eval $ac_try) 2>&5
54849   ac_status=$?
54850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54851   (exit $ac_status); }; }; then
54852   eval "$as_ac_var=yes"
54853 else
54854   echo "$as_me: failed program was:" >&5
54855 sed 's/^/| /' conftest.$ac_ext >&5
54856
54857 eval "$as_ac_var=no"
54858 fi
54859 rm -f conftest.err conftest.$ac_objext \
54860       conftest$ac_exeext conftest.$ac_ext
54861 fi
54862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54864 if test `eval echo '${'$as_ac_var'}'` = yes; then
54865   cat >>confdefs.h <<_ACEOF
54866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54867 _ACEOF
54868
54869 fi
54870 done
54871
54872     fi
54873   fi
54874
54875
54876
54877   echo "$as_me:$LINENO: checking for copysign declaration" >&5
54878 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
54879   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
54880     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
54881   echo $ECHO_N "(cached) $ECHO_C" >&6
54882 else
54883
54884
54885
54886       ac_ext=cc
54887 ac_cpp='$CXXCPP $CPPFLAGS'
54888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54891
54892       cat >conftest.$ac_ext <<_ACEOF
54893 /* confdefs.h.  */
54894 _ACEOF
54895 cat confdefs.h >>conftest.$ac_ext
54896 cat >>conftest.$ac_ext <<_ACEOF
54897 /* end confdefs.h.  */
54898 #include <math.h>
54899 int
54900 main ()
54901 {
54902  copysign(0, 0);
54903   ;
54904   return 0;
54905 }
54906 _ACEOF
54907 rm -f conftest.$ac_objext
54908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54909   (eval $ac_compile) 2>conftest.er1
54910   ac_status=$?
54911   grep -v '^ *+' conftest.er1 >conftest.err
54912   rm -f conftest.er1
54913   cat conftest.err >&5
54914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54915   (exit $ac_status); } &&
54916          { ac_try='test -z "$ac_cxx_werror_flag"
54917                          || test ! -s conftest.err'
54918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54919   (eval $ac_try) 2>&5
54920   ac_status=$?
54921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54922   (exit $ac_status); }; } &&
54923          { ac_try='test -s conftest.$ac_objext'
54924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54925   (eval $ac_try) 2>&5
54926   ac_status=$?
54927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54928   (exit $ac_status); }; }; then
54929   glibcxx_cv_func_copysign_use=yes
54930 else
54931   echo "$as_me: failed program was:" >&5
54932 sed 's/^/| /' conftest.$ac_ext >&5
54933
54934 glibcxx_cv_func_copysign_use=no
54935 fi
54936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54937       ac_ext=c
54938 ac_cpp='$CPP $CPPFLAGS'
54939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54942
54943
54944 fi
54945
54946   fi
54947   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
54948 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
54949
54950   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
54951
54952 for ac_func in copysign
54953 do
54954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54955 echo "$as_me:$LINENO: checking for $ac_func" >&5
54956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54957 if eval "test \"\${$as_ac_var+set}\" = set"; then
54958   echo $ECHO_N "(cached) $ECHO_C" >&6
54959 else
54960   if test x$gcc_no_link = xyes; then
54961   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54963    { (exit 1); exit 1; }; }
54964 fi
54965 cat >conftest.$ac_ext <<_ACEOF
54966 /* confdefs.h.  */
54967 _ACEOF
54968 cat confdefs.h >>conftest.$ac_ext
54969 cat >>conftest.$ac_ext <<_ACEOF
54970 /* end confdefs.h.  */
54971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54972    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54973 #define $ac_func innocuous_$ac_func
54974
54975 /* System header to define __stub macros and hopefully few prototypes,
54976     which can conflict with char $ac_func (); below.
54977     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54978     <limits.h> exists even on freestanding compilers.  */
54979
54980 #ifdef __STDC__
54981 # include <limits.h>
54982 #else
54983 # include <assert.h>
54984 #endif
54985
54986 #undef $ac_func
54987
54988 /* Override any gcc2 internal prototype to avoid an error.  */
54989 #ifdef __cplusplus
54990 extern "C"
54991 {
54992 #endif
54993 /* We use char because int might match the return type of a gcc2
54994    builtin and then its argument prototype would still apply.  */
54995 char $ac_func ();
54996 /* The GNU C library defines this for functions which it implements
54997     to always fail with ENOSYS.  Some functions are actually named
54998     something starting with __ and the normal name is an alias.  */
54999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55000 choke me
55001 #else
55002 char (*f) () = $ac_func;
55003 #endif
55004 #ifdef __cplusplus
55005 }
55006 #endif
55007
55008 int
55009 main ()
55010 {
55011 return f != $ac_func;
55012   ;
55013   return 0;
55014 }
55015 _ACEOF
55016 rm -f conftest.$ac_objext conftest$ac_exeext
55017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55018   (eval $ac_link) 2>conftest.er1
55019   ac_status=$?
55020   grep -v '^ *+' conftest.er1 >conftest.err
55021   rm -f conftest.er1
55022   cat conftest.err >&5
55023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55024   (exit $ac_status); } &&
55025          { ac_try='test -z "$ac_c_werror_flag"
55026                          || test ! -s conftest.err'
55027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55028   (eval $ac_try) 2>&5
55029   ac_status=$?
55030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55031   (exit $ac_status); }; } &&
55032          { ac_try='test -s conftest$ac_exeext'
55033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55034   (eval $ac_try) 2>&5
55035   ac_status=$?
55036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55037   (exit $ac_status); }; }; then
55038   eval "$as_ac_var=yes"
55039 else
55040   echo "$as_me: failed program was:" >&5
55041 sed 's/^/| /' conftest.$ac_ext >&5
55042
55043 eval "$as_ac_var=no"
55044 fi
55045 rm -f conftest.err conftest.$ac_objext \
55046       conftest$ac_exeext conftest.$ac_ext
55047 fi
55048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55050 if test `eval echo '${'$as_ac_var'}'` = yes; then
55051   cat >>confdefs.h <<_ACEOF
55052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55053 _ACEOF
55054
55055 fi
55056 done
55057
55058   else
55059
55060   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
55061 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
55062   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
55063     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
55064   echo $ECHO_N "(cached) $ECHO_C" >&6
55065 else
55066
55067
55068
55069       ac_ext=cc
55070 ac_cpp='$CXXCPP $CPPFLAGS'
55071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55074
55075       cat >conftest.$ac_ext <<_ACEOF
55076 /* confdefs.h.  */
55077 _ACEOF
55078 cat confdefs.h >>conftest.$ac_ext
55079 cat >>conftest.$ac_ext <<_ACEOF
55080 /* end confdefs.h.  */
55081 #include <math.h>
55082 int
55083 main ()
55084 {
55085  _copysign(0, 0);
55086   ;
55087   return 0;
55088 }
55089 _ACEOF
55090 rm -f conftest.$ac_objext
55091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55092   (eval $ac_compile) 2>conftest.er1
55093   ac_status=$?
55094   grep -v '^ *+' conftest.er1 >conftest.err
55095   rm -f conftest.er1
55096   cat conftest.err >&5
55097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55098   (exit $ac_status); } &&
55099          { ac_try='test -z "$ac_cxx_werror_flag"
55100                          || test ! -s conftest.err'
55101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55102   (eval $ac_try) 2>&5
55103   ac_status=$?
55104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55105   (exit $ac_status); }; } &&
55106          { ac_try='test -s conftest.$ac_objext'
55107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55108   (eval $ac_try) 2>&5
55109   ac_status=$?
55110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55111   (exit $ac_status); }; }; then
55112   glibcxx_cv_func__copysign_use=yes
55113 else
55114   echo "$as_me: failed program was:" >&5
55115 sed 's/^/| /' conftest.$ac_ext >&5
55116
55117 glibcxx_cv_func__copysign_use=no
55118 fi
55119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55120       ac_ext=c
55121 ac_cpp='$CPP $CPPFLAGS'
55122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55125
55126
55127 fi
55128
55129   fi
55130   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
55131 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
55132
55133     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
55134
55135 for ac_func in _copysign
55136 do
55137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55138 echo "$as_me:$LINENO: checking for $ac_func" >&5
55139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55140 if eval "test \"\${$as_ac_var+set}\" = set"; then
55141   echo $ECHO_N "(cached) $ECHO_C" >&6
55142 else
55143   if test x$gcc_no_link = xyes; then
55144   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55146    { (exit 1); exit 1; }; }
55147 fi
55148 cat >conftest.$ac_ext <<_ACEOF
55149 /* confdefs.h.  */
55150 _ACEOF
55151 cat confdefs.h >>conftest.$ac_ext
55152 cat >>conftest.$ac_ext <<_ACEOF
55153 /* end confdefs.h.  */
55154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55155    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55156 #define $ac_func innocuous_$ac_func
55157
55158 /* System header to define __stub macros and hopefully few prototypes,
55159     which can conflict with char $ac_func (); below.
55160     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55161     <limits.h> exists even on freestanding compilers.  */
55162
55163 #ifdef __STDC__
55164 # include <limits.h>
55165 #else
55166 # include <assert.h>
55167 #endif
55168
55169 #undef $ac_func
55170
55171 /* Override any gcc2 internal prototype to avoid an error.  */
55172 #ifdef __cplusplus
55173 extern "C"
55174 {
55175 #endif
55176 /* We use char because int might match the return type of a gcc2
55177    builtin and then its argument prototype would still apply.  */
55178 char $ac_func ();
55179 /* The GNU C library defines this for functions which it implements
55180     to always fail with ENOSYS.  Some functions are actually named
55181     something starting with __ and the normal name is an alias.  */
55182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55183 choke me
55184 #else
55185 char (*f) () = $ac_func;
55186 #endif
55187 #ifdef __cplusplus
55188 }
55189 #endif
55190
55191 int
55192 main ()
55193 {
55194 return f != $ac_func;
55195   ;
55196   return 0;
55197 }
55198 _ACEOF
55199 rm -f conftest.$ac_objext conftest$ac_exeext
55200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55201   (eval $ac_link) 2>conftest.er1
55202   ac_status=$?
55203   grep -v '^ *+' conftest.er1 >conftest.err
55204   rm -f conftest.er1
55205   cat conftest.err >&5
55206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55207   (exit $ac_status); } &&
55208          { ac_try='test -z "$ac_c_werror_flag"
55209                          || test ! -s conftest.err'
55210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55211   (eval $ac_try) 2>&5
55212   ac_status=$?
55213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55214   (exit $ac_status); }; } &&
55215          { ac_try='test -s conftest$ac_exeext'
55216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55217   (eval $ac_try) 2>&5
55218   ac_status=$?
55219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55220   (exit $ac_status); }; }; then
55221   eval "$as_ac_var=yes"
55222 else
55223   echo "$as_me: failed program was:" >&5
55224 sed 's/^/| /' conftest.$ac_ext >&5
55225
55226 eval "$as_ac_var=no"
55227 fi
55228 rm -f conftest.err conftest.$ac_objext \
55229       conftest$ac_exeext conftest.$ac_ext
55230 fi
55231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55233 if test `eval echo '${'$as_ac_var'}'` = yes; then
55234   cat >>confdefs.h <<_ACEOF
55235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55236 _ACEOF
55237
55238 fi
55239 done
55240
55241     fi
55242   fi
55243
55244
55245
55246   echo "$as_me:$LINENO: checking for sincos declaration" >&5
55247 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
55248   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55249     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
55250   echo $ECHO_N "(cached) $ECHO_C" >&6
55251 else
55252
55253
55254
55255       ac_ext=cc
55256 ac_cpp='$CXXCPP $CPPFLAGS'
55257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55260
55261       cat >conftest.$ac_ext <<_ACEOF
55262 /* confdefs.h.  */
55263 _ACEOF
55264 cat confdefs.h >>conftest.$ac_ext
55265 cat >>conftest.$ac_ext <<_ACEOF
55266 /* end confdefs.h.  */
55267 #include <math.h>
55268 int
55269 main ()
55270 {
55271  sincos(0, 0, 0);
55272   ;
55273   return 0;
55274 }
55275 _ACEOF
55276 rm -f conftest.$ac_objext
55277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55278   (eval $ac_compile) 2>conftest.er1
55279   ac_status=$?
55280   grep -v '^ *+' conftest.er1 >conftest.err
55281   rm -f conftest.er1
55282   cat conftest.err >&5
55283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55284   (exit $ac_status); } &&
55285          { ac_try='test -z "$ac_cxx_werror_flag"
55286                          || test ! -s conftest.err'
55287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55288   (eval $ac_try) 2>&5
55289   ac_status=$?
55290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55291   (exit $ac_status); }; } &&
55292          { ac_try='test -s conftest.$ac_objext'
55293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55294   (eval $ac_try) 2>&5
55295   ac_status=$?
55296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55297   (exit $ac_status); }; }; then
55298   glibcxx_cv_func_sincos_use=yes
55299 else
55300   echo "$as_me: failed program was:" >&5
55301 sed 's/^/| /' conftest.$ac_ext >&5
55302
55303 glibcxx_cv_func_sincos_use=no
55304 fi
55305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55306       ac_ext=c
55307 ac_cpp='$CPP $CPPFLAGS'
55308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55311
55312
55313 fi
55314
55315   fi
55316   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
55317 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
55318
55319   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55320
55321 for ac_func in sincos
55322 do
55323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55324 echo "$as_me:$LINENO: checking for $ac_func" >&5
55325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55326 if eval "test \"\${$as_ac_var+set}\" = set"; then
55327   echo $ECHO_N "(cached) $ECHO_C" >&6
55328 else
55329   if test x$gcc_no_link = xyes; then
55330   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55332    { (exit 1); exit 1; }; }
55333 fi
55334 cat >conftest.$ac_ext <<_ACEOF
55335 /* confdefs.h.  */
55336 _ACEOF
55337 cat confdefs.h >>conftest.$ac_ext
55338 cat >>conftest.$ac_ext <<_ACEOF
55339 /* end confdefs.h.  */
55340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55341    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55342 #define $ac_func innocuous_$ac_func
55343
55344 /* System header to define __stub macros and hopefully few prototypes,
55345     which can conflict with char $ac_func (); below.
55346     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55347     <limits.h> exists even on freestanding compilers.  */
55348
55349 #ifdef __STDC__
55350 # include <limits.h>
55351 #else
55352 # include <assert.h>
55353 #endif
55354
55355 #undef $ac_func
55356
55357 /* Override any gcc2 internal prototype to avoid an error.  */
55358 #ifdef __cplusplus
55359 extern "C"
55360 {
55361 #endif
55362 /* We use char because int might match the return type of a gcc2
55363    builtin and then its argument prototype would still apply.  */
55364 char $ac_func ();
55365 /* The GNU C library defines this for functions which it implements
55366     to always fail with ENOSYS.  Some functions are actually named
55367     something starting with __ and the normal name is an alias.  */
55368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55369 choke me
55370 #else
55371 char (*f) () = $ac_func;
55372 #endif
55373 #ifdef __cplusplus
55374 }
55375 #endif
55376
55377 int
55378 main ()
55379 {
55380 return f != $ac_func;
55381   ;
55382   return 0;
55383 }
55384 _ACEOF
55385 rm -f conftest.$ac_objext conftest$ac_exeext
55386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55387   (eval $ac_link) 2>conftest.er1
55388   ac_status=$?
55389   grep -v '^ *+' conftest.er1 >conftest.err
55390   rm -f conftest.er1
55391   cat conftest.err >&5
55392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55393   (exit $ac_status); } &&
55394          { ac_try='test -z "$ac_c_werror_flag"
55395                          || test ! -s conftest.err'
55396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55397   (eval $ac_try) 2>&5
55398   ac_status=$?
55399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55400   (exit $ac_status); }; } &&
55401          { ac_try='test -s conftest$ac_exeext'
55402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55403   (eval $ac_try) 2>&5
55404   ac_status=$?
55405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55406   (exit $ac_status); }; }; then
55407   eval "$as_ac_var=yes"
55408 else
55409   echo "$as_me: failed program was:" >&5
55410 sed 's/^/| /' conftest.$ac_ext >&5
55411
55412 eval "$as_ac_var=no"
55413 fi
55414 rm -f conftest.err conftest.$ac_objext \
55415       conftest$ac_exeext conftest.$ac_ext
55416 fi
55417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55419 if test `eval echo '${'$as_ac_var'}'` = yes; then
55420   cat >>confdefs.h <<_ACEOF
55421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55422 _ACEOF
55423
55424 fi
55425 done
55426
55427   else
55428
55429   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
55430 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
55431   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55432     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
55433   echo $ECHO_N "(cached) $ECHO_C" >&6
55434 else
55435
55436
55437
55438       ac_ext=cc
55439 ac_cpp='$CXXCPP $CPPFLAGS'
55440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55443
55444       cat >conftest.$ac_ext <<_ACEOF
55445 /* confdefs.h.  */
55446 _ACEOF
55447 cat confdefs.h >>conftest.$ac_ext
55448 cat >>conftest.$ac_ext <<_ACEOF
55449 /* end confdefs.h.  */
55450 #include <math.h>
55451 int
55452 main ()
55453 {
55454  _sincos(0, 0, 0);
55455   ;
55456   return 0;
55457 }
55458 _ACEOF
55459 rm -f conftest.$ac_objext
55460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55461   (eval $ac_compile) 2>conftest.er1
55462   ac_status=$?
55463   grep -v '^ *+' conftest.er1 >conftest.err
55464   rm -f conftest.er1
55465   cat conftest.err >&5
55466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55467   (exit $ac_status); } &&
55468          { ac_try='test -z "$ac_cxx_werror_flag"
55469                          || test ! -s conftest.err'
55470   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55471   (eval $ac_try) 2>&5
55472   ac_status=$?
55473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55474   (exit $ac_status); }; } &&
55475          { ac_try='test -s conftest.$ac_objext'
55476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55477   (eval $ac_try) 2>&5
55478   ac_status=$?
55479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55480   (exit $ac_status); }; }; then
55481   glibcxx_cv_func__sincos_use=yes
55482 else
55483   echo "$as_me: failed program was:" >&5
55484 sed 's/^/| /' conftest.$ac_ext >&5
55485
55486 glibcxx_cv_func__sincos_use=no
55487 fi
55488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55489       ac_ext=c
55490 ac_cpp='$CPP $CPPFLAGS'
55491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55494
55495
55496 fi
55497
55498   fi
55499   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
55500 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
55501
55502     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55503
55504 for ac_func in _sincos
55505 do
55506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55507 echo "$as_me:$LINENO: checking for $ac_func" >&5
55508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55509 if eval "test \"\${$as_ac_var+set}\" = set"; then
55510   echo $ECHO_N "(cached) $ECHO_C" >&6
55511 else
55512   if test x$gcc_no_link = xyes; then
55513   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55515    { (exit 1); exit 1; }; }
55516 fi
55517 cat >conftest.$ac_ext <<_ACEOF
55518 /* confdefs.h.  */
55519 _ACEOF
55520 cat confdefs.h >>conftest.$ac_ext
55521 cat >>conftest.$ac_ext <<_ACEOF
55522 /* end confdefs.h.  */
55523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55524    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55525 #define $ac_func innocuous_$ac_func
55526
55527 /* System header to define __stub macros and hopefully few prototypes,
55528     which can conflict with char $ac_func (); below.
55529     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55530     <limits.h> exists even on freestanding compilers.  */
55531
55532 #ifdef __STDC__
55533 # include <limits.h>
55534 #else
55535 # include <assert.h>
55536 #endif
55537
55538 #undef $ac_func
55539
55540 /* Override any gcc2 internal prototype to avoid an error.  */
55541 #ifdef __cplusplus
55542 extern "C"
55543 {
55544 #endif
55545 /* We use char because int might match the return type of a gcc2
55546    builtin and then its argument prototype would still apply.  */
55547 char $ac_func ();
55548 /* The GNU C library defines this for functions which it implements
55549     to always fail with ENOSYS.  Some functions are actually named
55550     something starting with __ and the normal name is an alias.  */
55551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55552 choke me
55553 #else
55554 char (*f) () = $ac_func;
55555 #endif
55556 #ifdef __cplusplus
55557 }
55558 #endif
55559
55560 int
55561 main ()
55562 {
55563 return f != $ac_func;
55564   ;
55565   return 0;
55566 }
55567 _ACEOF
55568 rm -f conftest.$ac_objext conftest$ac_exeext
55569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55570   (eval $ac_link) 2>conftest.er1
55571   ac_status=$?
55572   grep -v '^ *+' conftest.er1 >conftest.err
55573   rm -f conftest.er1
55574   cat conftest.err >&5
55575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55576   (exit $ac_status); } &&
55577          { ac_try='test -z "$ac_c_werror_flag"
55578                          || test ! -s conftest.err'
55579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55580   (eval $ac_try) 2>&5
55581   ac_status=$?
55582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55583   (exit $ac_status); }; } &&
55584          { ac_try='test -s conftest$ac_exeext'
55585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55586   (eval $ac_try) 2>&5
55587   ac_status=$?
55588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55589   (exit $ac_status); }; }; then
55590   eval "$as_ac_var=yes"
55591 else
55592   echo "$as_me: failed program was:" >&5
55593 sed 's/^/| /' conftest.$ac_ext >&5
55594
55595 eval "$as_ac_var=no"
55596 fi
55597 rm -f conftest.err conftest.$ac_objext \
55598       conftest$ac_exeext conftest.$ac_ext
55599 fi
55600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55602 if test `eval echo '${'$as_ac_var'}'` = yes; then
55603   cat >>confdefs.h <<_ACEOF
55604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55605 _ACEOF
55606
55607 fi
55608 done
55609
55610     fi
55611   fi
55612
55613
55614
55615   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
55616 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
55617   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55618     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
55619   echo $ECHO_N "(cached) $ECHO_C" >&6
55620 else
55621
55622
55623
55624       ac_ext=cc
55625 ac_cpp='$CXXCPP $CPPFLAGS'
55626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55629
55630       cat >conftest.$ac_ext <<_ACEOF
55631 /* confdefs.h.  */
55632 _ACEOF
55633 cat confdefs.h >>conftest.$ac_ext
55634 cat >>conftest.$ac_ext <<_ACEOF
55635 /* end confdefs.h.  */
55636 #include <math.h>
55637                       #ifdef HAVE_IEEEFP_H
55638                       #include <ieeefp.h>
55639                       #endif
55640
55641 int
55642 main ()
55643 {
55644  fpclass(0);
55645   ;
55646   return 0;
55647 }
55648 _ACEOF
55649 rm -f conftest.$ac_objext
55650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55651   (eval $ac_compile) 2>conftest.er1
55652   ac_status=$?
55653   grep -v '^ *+' conftest.er1 >conftest.err
55654   rm -f conftest.er1
55655   cat conftest.err >&5
55656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55657   (exit $ac_status); } &&
55658          { ac_try='test -z "$ac_cxx_werror_flag"
55659                          || test ! -s conftest.err'
55660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55661   (eval $ac_try) 2>&5
55662   ac_status=$?
55663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55664   (exit $ac_status); }; } &&
55665          { ac_try='test -s conftest.$ac_objext'
55666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55667   (eval $ac_try) 2>&5
55668   ac_status=$?
55669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55670   (exit $ac_status); }; }; then
55671   glibcxx_cv_func_fpclass_use=yes
55672 else
55673   echo "$as_me: failed program was:" >&5
55674 sed 's/^/| /' conftest.$ac_ext >&5
55675
55676 glibcxx_cv_func_fpclass_use=no
55677 fi
55678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55679       ac_ext=c
55680 ac_cpp='$CPP $CPPFLAGS'
55681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55684
55685
55686 fi
55687
55688   fi
55689   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
55690 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
55691
55692   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55693
55694 for ac_func in fpclass
55695 do
55696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55697 echo "$as_me:$LINENO: checking for $ac_func" >&5
55698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55699 if eval "test \"\${$as_ac_var+set}\" = set"; then
55700   echo $ECHO_N "(cached) $ECHO_C" >&6
55701 else
55702   if test x$gcc_no_link = xyes; then
55703   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55705    { (exit 1); exit 1; }; }
55706 fi
55707 cat >conftest.$ac_ext <<_ACEOF
55708 /* confdefs.h.  */
55709 _ACEOF
55710 cat confdefs.h >>conftest.$ac_ext
55711 cat >>conftest.$ac_ext <<_ACEOF
55712 /* end confdefs.h.  */
55713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55714    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55715 #define $ac_func innocuous_$ac_func
55716
55717 /* System header to define __stub macros and hopefully few prototypes,
55718     which can conflict with char $ac_func (); below.
55719     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55720     <limits.h> exists even on freestanding compilers.  */
55721
55722 #ifdef __STDC__
55723 # include <limits.h>
55724 #else
55725 # include <assert.h>
55726 #endif
55727
55728 #undef $ac_func
55729
55730 /* Override any gcc2 internal prototype to avoid an error.  */
55731 #ifdef __cplusplus
55732 extern "C"
55733 {
55734 #endif
55735 /* We use char because int might match the return type of a gcc2
55736    builtin and then its argument prototype would still apply.  */
55737 char $ac_func ();
55738 /* The GNU C library defines this for functions which it implements
55739     to always fail with ENOSYS.  Some functions are actually named
55740     something starting with __ and the normal name is an alias.  */
55741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55742 choke me
55743 #else
55744 char (*f) () = $ac_func;
55745 #endif
55746 #ifdef __cplusplus
55747 }
55748 #endif
55749
55750 int
55751 main ()
55752 {
55753 return f != $ac_func;
55754   ;
55755   return 0;
55756 }
55757 _ACEOF
55758 rm -f conftest.$ac_objext conftest$ac_exeext
55759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55760   (eval $ac_link) 2>conftest.er1
55761   ac_status=$?
55762   grep -v '^ *+' conftest.er1 >conftest.err
55763   rm -f conftest.er1
55764   cat conftest.err >&5
55765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55766   (exit $ac_status); } &&
55767          { ac_try='test -z "$ac_c_werror_flag"
55768                          || test ! -s conftest.err'
55769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55770   (eval $ac_try) 2>&5
55771   ac_status=$?
55772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55773   (exit $ac_status); }; } &&
55774          { ac_try='test -s conftest$ac_exeext'
55775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55776   (eval $ac_try) 2>&5
55777   ac_status=$?
55778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55779   (exit $ac_status); }; }; then
55780   eval "$as_ac_var=yes"
55781 else
55782   echo "$as_me: failed program was:" >&5
55783 sed 's/^/| /' conftest.$ac_ext >&5
55784
55785 eval "$as_ac_var=no"
55786 fi
55787 rm -f conftest.err conftest.$ac_objext \
55788       conftest$ac_exeext conftest.$ac_ext
55789 fi
55790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55792 if test `eval echo '${'$as_ac_var'}'` = yes; then
55793   cat >>confdefs.h <<_ACEOF
55794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55795 _ACEOF
55796
55797 fi
55798 done
55799
55800   else
55801
55802   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
55803 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
55804   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55805     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
55806   echo $ECHO_N "(cached) $ECHO_C" >&6
55807 else
55808
55809
55810
55811       ac_ext=cc
55812 ac_cpp='$CXXCPP $CPPFLAGS'
55813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55816
55817       cat >conftest.$ac_ext <<_ACEOF
55818 /* confdefs.h.  */
55819 _ACEOF
55820 cat confdefs.h >>conftest.$ac_ext
55821 cat >>conftest.$ac_ext <<_ACEOF
55822 /* end confdefs.h.  */
55823 #include <math.h>
55824                       #ifdef HAVE_IEEEFP_H
55825                       #include <ieeefp.h>
55826                       #endif
55827
55828 int
55829 main ()
55830 {
55831  _fpclass(0);
55832   ;
55833   return 0;
55834 }
55835 _ACEOF
55836 rm -f conftest.$ac_objext
55837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55838   (eval $ac_compile) 2>conftest.er1
55839   ac_status=$?
55840   grep -v '^ *+' conftest.er1 >conftest.err
55841   rm -f conftest.er1
55842   cat conftest.err >&5
55843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55844   (exit $ac_status); } &&
55845          { ac_try='test -z "$ac_cxx_werror_flag"
55846                          || test ! -s conftest.err'
55847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55848   (eval $ac_try) 2>&5
55849   ac_status=$?
55850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55851   (exit $ac_status); }; } &&
55852          { ac_try='test -s conftest.$ac_objext'
55853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55854   (eval $ac_try) 2>&5
55855   ac_status=$?
55856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55857   (exit $ac_status); }; }; then
55858   glibcxx_cv_func__fpclass_use=yes
55859 else
55860   echo "$as_me: failed program was:" >&5
55861 sed 's/^/| /' conftest.$ac_ext >&5
55862
55863 glibcxx_cv_func__fpclass_use=no
55864 fi
55865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55866       ac_ext=c
55867 ac_cpp='$CPP $CPPFLAGS'
55868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55871
55872
55873 fi
55874
55875   fi
55876   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
55877 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
55878
55879     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55880
55881 for ac_func in _fpclass
55882 do
55883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55884 echo "$as_me:$LINENO: checking for $ac_func" >&5
55885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55886 if eval "test \"\${$as_ac_var+set}\" = set"; then
55887   echo $ECHO_N "(cached) $ECHO_C" >&6
55888 else
55889   if test x$gcc_no_link = xyes; then
55890   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55892    { (exit 1); exit 1; }; }
55893 fi
55894 cat >conftest.$ac_ext <<_ACEOF
55895 /* confdefs.h.  */
55896 _ACEOF
55897 cat confdefs.h >>conftest.$ac_ext
55898 cat >>conftest.$ac_ext <<_ACEOF
55899 /* end confdefs.h.  */
55900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55901    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55902 #define $ac_func innocuous_$ac_func
55903
55904 /* System header to define __stub macros and hopefully few prototypes,
55905     which can conflict with char $ac_func (); below.
55906     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55907     <limits.h> exists even on freestanding compilers.  */
55908
55909 #ifdef __STDC__
55910 # include <limits.h>
55911 #else
55912 # include <assert.h>
55913 #endif
55914
55915 #undef $ac_func
55916
55917 /* Override any gcc2 internal prototype to avoid an error.  */
55918 #ifdef __cplusplus
55919 extern "C"
55920 {
55921 #endif
55922 /* We use char because int might match the return type of a gcc2
55923    builtin and then its argument prototype would still apply.  */
55924 char $ac_func ();
55925 /* The GNU C library defines this for functions which it implements
55926     to always fail with ENOSYS.  Some functions are actually named
55927     something starting with __ and the normal name is an alias.  */
55928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55929 choke me
55930 #else
55931 char (*f) () = $ac_func;
55932 #endif
55933 #ifdef __cplusplus
55934 }
55935 #endif
55936
55937 int
55938 main ()
55939 {
55940 return f != $ac_func;
55941   ;
55942   return 0;
55943 }
55944 _ACEOF
55945 rm -f conftest.$ac_objext conftest$ac_exeext
55946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55947   (eval $ac_link) 2>conftest.er1
55948   ac_status=$?
55949   grep -v '^ *+' conftest.er1 >conftest.err
55950   rm -f conftest.er1
55951   cat conftest.err >&5
55952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55953   (exit $ac_status); } &&
55954          { ac_try='test -z "$ac_c_werror_flag"
55955                          || test ! -s conftest.err'
55956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55957   (eval $ac_try) 2>&5
55958   ac_status=$?
55959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55960   (exit $ac_status); }; } &&
55961          { ac_try='test -s conftest$ac_exeext'
55962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55963   (eval $ac_try) 2>&5
55964   ac_status=$?
55965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55966   (exit $ac_status); }; }; then
55967   eval "$as_ac_var=yes"
55968 else
55969   echo "$as_me: failed program was:" >&5
55970 sed 's/^/| /' conftest.$ac_ext >&5
55971
55972 eval "$as_ac_var=no"
55973 fi
55974 rm -f conftest.err conftest.$ac_objext \
55975       conftest$ac_exeext conftest.$ac_ext
55976 fi
55977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55979 if test `eval echo '${'$as_ac_var'}'` = yes; then
55980   cat >>confdefs.h <<_ACEOF
55981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55982 _ACEOF
55983
55984 fi
55985 done
55986
55987     fi
55988   fi
55989
55990
55991
55992   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
55993 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
55994   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55995     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
55996   echo $ECHO_N "(cached) $ECHO_C" >&6
55997 else
55998
55999
56000
56001       ac_ext=cc
56002 ac_cpp='$CXXCPP $CPPFLAGS'
56003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56006
56007       cat >conftest.$ac_ext <<_ACEOF
56008 /* confdefs.h.  */
56009 _ACEOF
56010 cat confdefs.h >>conftest.$ac_ext
56011 cat >>conftest.$ac_ext <<_ACEOF
56012 /* end confdefs.h.  */
56013 #include <math.h>
56014                       #ifdef HAVE_IEEEFP_H
56015                       #include <ieeefp.h>
56016                       #endif
56017
56018 int
56019 main ()
56020 {
56021  qfpclass(0);
56022   ;
56023   return 0;
56024 }
56025 _ACEOF
56026 rm -f conftest.$ac_objext
56027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56028   (eval $ac_compile) 2>conftest.er1
56029   ac_status=$?
56030   grep -v '^ *+' conftest.er1 >conftest.err
56031   rm -f conftest.er1
56032   cat conftest.err >&5
56033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56034   (exit $ac_status); } &&
56035          { ac_try='test -z "$ac_cxx_werror_flag"
56036                          || test ! -s conftest.err'
56037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56038   (eval $ac_try) 2>&5
56039   ac_status=$?
56040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56041   (exit $ac_status); }; } &&
56042          { ac_try='test -s conftest.$ac_objext'
56043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56044   (eval $ac_try) 2>&5
56045   ac_status=$?
56046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56047   (exit $ac_status); }; }; then
56048   glibcxx_cv_func_qfpclass_use=yes
56049 else
56050   echo "$as_me: failed program was:" >&5
56051 sed 's/^/| /' conftest.$ac_ext >&5
56052
56053 glibcxx_cv_func_qfpclass_use=no
56054 fi
56055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56056       ac_ext=c
56057 ac_cpp='$CPP $CPPFLAGS'
56058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56061
56062
56063 fi
56064
56065   fi
56066   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
56067 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
56068
56069   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
56070
56071 for ac_func in qfpclass
56072 do
56073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56074 echo "$as_me:$LINENO: checking for $ac_func" >&5
56075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56076 if eval "test \"\${$as_ac_var+set}\" = set"; then
56077   echo $ECHO_N "(cached) $ECHO_C" >&6
56078 else
56079   if test x$gcc_no_link = xyes; then
56080   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56082    { (exit 1); exit 1; }; }
56083 fi
56084 cat >conftest.$ac_ext <<_ACEOF
56085 /* confdefs.h.  */
56086 _ACEOF
56087 cat confdefs.h >>conftest.$ac_ext
56088 cat >>conftest.$ac_ext <<_ACEOF
56089 /* end confdefs.h.  */
56090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56091    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56092 #define $ac_func innocuous_$ac_func
56093
56094 /* System header to define __stub macros and hopefully few prototypes,
56095     which can conflict with char $ac_func (); below.
56096     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56097     <limits.h> exists even on freestanding compilers.  */
56098
56099 #ifdef __STDC__
56100 # include <limits.h>
56101 #else
56102 # include <assert.h>
56103 #endif
56104
56105 #undef $ac_func
56106
56107 /* Override any gcc2 internal prototype to avoid an error.  */
56108 #ifdef __cplusplus
56109 extern "C"
56110 {
56111 #endif
56112 /* We use char because int might match the return type of a gcc2
56113    builtin and then its argument prototype would still apply.  */
56114 char $ac_func ();
56115 /* The GNU C library defines this for functions which it implements
56116     to always fail with ENOSYS.  Some functions are actually named
56117     something starting with __ and the normal name is an alias.  */
56118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56119 choke me
56120 #else
56121 char (*f) () = $ac_func;
56122 #endif
56123 #ifdef __cplusplus
56124 }
56125 #endif
56126
56127 int
56128 main ()
56129 {
56130 return f != $ac_func;
56131   ;
56132   return 0;
56133 }
56134 _ACEOF
56135 rm -f conftest.$ac_objext conftest$ac_exeext
56136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56137   (eval $ac_link) 2>conftest.er1
56138   ac_status=$?
56139   grep -v '^ *+' conftest.er1 >conftest.err
56140   rm -f conftest.er1
56141   cat conftest.err >&5
56142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56143   (exit $ac_status); } &&
56144          { ac_try='test -z "$ac_c_werror_flag"
56145                          || test ! -s conftest.err'
56146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56147   (eval $ac_try) 2>&5
56148   ac_status=$?
56149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56150   (exit $ac_status); }; } &&
56151          { ac_try='test -s conftest$ac_exeext'
56152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56153   (eval $ac_try) 2>&5
56154   ac_status=$?
56155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56156   (exit $ac_status); }; }; then
56157   eval "$as_ac_var=yes"
56158 else
56159   echo "$as_me: failed program was:" >&5
56160 sed 's/^/| /' conftest.$ac_ext >&5
56161
56162 eval "$as_ac_var=no"
56163 fi
56164 rm -f conftest.err conftest.$ac_objext \
56165       conftest$ac_exeext conftest.$ac_ext
56166 fi
56167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56169 if test `eval echo '${'$as_ac_var'}'` = yes; then
56170   cat >>confdefs.h <<_ACEOF
56171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56172 _ACEOF
56173
56174 fi
56175 done
56176
56177   else
56178
56179   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
56180 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
56181   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
56182     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
56183   echo $ECHO_N "(cached) $ECHO_C" >&6
56184 else
56185
56186
56187
56188       ac_ext=cc
56189 ac_cpp='$CXXCPP $CPPFLAGS'
56190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56193
56194       cat >conftest.$ac_ext <<_ACEOF
56195 /* confdefs.h.  */
56196 _ACEOF
56197 cat confdefs.h >>conftest.$ac_ext
56198 cat >>conftest.$ac_ext <<_ACEOF
56199 /* end confdefs.h.  */
56200 #include <math.h>
56201                       #ifdef HAVE_IEEEFP_H
56202                       #include <ieeefp.h>
56203                       #endif
56204
56205 int
56206 main ()
56207 {
56208  _qfpclass(0);
56209   ;
56210   return 0;
56211 }
56212 _ACEOF
56213 rm -f conftest.$ac_objext
56214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56215   (eval $ac_compile) 2>conftest.er1
56216   ac_status=$?
56217   grep -v '^ *+' conftest.er1 >conftest.err
56218   rm -f conftest.er1
56219   cat conftest.err >&5
56220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56221   (exit $ac_status); } &&
56222          { ac_try='test -z "$ac_cxx_werror_flag"
56223                          || test ! -s conftest.err'
56224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56225   (eval $ac_try) 2>&5
56226   ac_status=$?
56227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56228   (exit $ac_status); }; } &&
56229          { ac_try='test -s conftest.$ac_objext'
56230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56231   (eval $ac_try) 2>&5
56232   ac_status=$?
56233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56234   (exit $ac_status); }; }; then
56235   glibcxx_cv_func__qfpclass_use=yes
56236 else
56237   echo "$as_me: failed program was:" >&5
56238 sed 's/^/| /' conftest.$ac_ext >&5
56239
56240 glibcxx_cv_func__qfpclass_use=no
56241 fi
56242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56243       ac_ext=c
56244 ac_cpp='$CPP $CPPFLAGS'
56245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56248
56249
56250 fi
56251
56252   fi
56253   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
56254 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
56255
56256     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
56257
56258 for ac_func in _qfpclass
56259 do
56260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56261 echo "$as_me:$LINENO: checking for $ac_func" >&5
56262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56263 if eval "test \"\${$as_ac_var+set}\" = set"; then
56264   echo $ECHO_N "(cached) $ECHO_C" >&6
56265 else
56266   if test x$gcc_no_link = xyes; then
56267   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56269    { (exit 1); exit 1; }; }
56270 fi
56271 cat >conftest.$ac_ext <<_ACEOF
56272 /* confdefs.h.  */
56273 _ACEOF
56274 cat confdefs.h >>conftest.$ac_ext
56275 cat >>conftest.$ac_ext <<_ACEOF
56276 /* end confdefs.h.  */
56277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56278    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56279 #define $ac_func innocuous_$ac_func
56280
56281 /* System header to define __stub macros and hopefully few prototypes,
56282     which can conflict with char $ac_func (); below.
56283     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56284     <limits.h> exists even on freestanding compilers.  */
56285
56286 #ifdef __STDC__
56287 # include <limits.h>
56288 #else
56289 # include <assert.h>
56290 #endif
56291
56292 #undef $ac_func
56293
56294 /* Override any gcc2 internal prototype to avoid an error.  */
56295 #ifdef __cplusplus
56296 extern "C"
56297 {
56298 #endif
56299 /* We use char because int might match the return type of a gcc2
56300    builtin and then its argument prototype would still apply.  */
56301 char $ac_func ();
56302 /* The GNU C library defines this for functions which it implements
56303     to always fail with ENOSYS.  Some functions are actually named
56304     something starting with __ and the normal name is an alias.  */
56305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56306 choke me
56307 #else
56308 char (*f) () = $ac_func;
56309 #endif
56310 #ifdef __cplusplus
56311 }
56312 #endif
56313
56314 int
56315 main ()
56316 {
56317 return f != $ac_func;
56318   ;
56319   return 0;
56320 }
56321 _ACEOF
56322 rm -f conftest.$ac_objext conftest$ac_exeext
56323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56324   (eval $ac_link) 2>conftest.er1
56325   ac_status=$?
56326   grep -v '^ *+' conftest.er1 >conftest.err
56327   rm -f conftest.er1
56328   cat conftest.err >&5
56329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56330   (exit $ac_status); } &&
56331          { ac_try='test -z "$ac_c_werror_flag"
56332                          || test ! -s conftest.err'
56333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56334   (eval $ac_try) 2>&5
56335   ac_status=$?
56336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56337   (exit $ac_status); }; } &&
56338          { ac_try='test -s conftest$ac_exeext'
56339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56340   (eval $ac_try) 2>&5
56341   ac_status=$?
56342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56343   (exit $ac_status); }; }; then
56344   eval "$as_ac_var=yes"
56345 else
56346   echo "$as_me: failed program was:" >&5
56347 sed 's/^/| /' conftest.$ac_ext >&5
56348
56349 eval "$as_ac_var=no"
56350 fi
56351 rm -f conftest.err conftest.$ac_objext \
56352       conftest$ac_exeext conftest.$ac_ext
56353 fi
56354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56356 if test `eval echo '${'$as_ac_var'}'` = yes; then
56357   cat >>confdefs.h <<_ACEOF
56358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56359 _ACEOF
56360
56361 fi
56362 done
56363
56364     fi
56365   fi
56366
56367
56368
56369   echo "$as_me:$LINENO: checking for hypot declaration" >&5
56370 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
56371   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
56372     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
56373   echo $ECHO_N "(cached) $ECHO_C" >&6
56374 else
56375
56376
56377
56378       ac_ext=cc
56379 ac_cpp='$CXXCPP $CPPFLAGS'
56380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56383
56384       cat >conftest.$ac_ext <<_ACEOF
56385 /* confdefs.h.  */
56386 _ACEOF
56387 cat confdefs.h >>conftest.$ac_ext
56388 cat >>conftest.$ac_ext <<_ACEOF
56389 /* end confdefs.h.  */
56390 #include <math.h>
56391 int
56392 main ()
56393 {
56394  hypot(0, 0);
56395   ;
56396   return 0;
56397 }
56398 _ACEOF
56399 rm -f conftest.$ac_objext
56400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56401   (eval $ac_compile) 2>conftest.er1
56402   ac_status=$?
56403   grep -v '^ *+' conftest.er1 >conftest.err
56404   rm -f conftest.er1
56405   cat conftest.err >&5
56406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56407   (exit $ac_status); } &&
56408          { ac_try='test -z "$ac_cxx_werror_flag"
56409                          || test ! -s conftest.err'
56410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56411   (eval $ac_try) 2>&5
56412   ac_status=$?
56413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56414   (exit $ac_status); }; } &&
56415          { ac_try='test -s conftest.$ac_objext'
56416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56417   (eval $ac_try) 2>&5
56418   ac_status=$?
56419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56420   (exit $ac_status); }; }; then
56421   glibcxx_cv_func_hypot_use=yes
56422 else
56423   echo "$as_me: failed program was:" >&5
56424 sed 's/^/| /' conftest.$ac_ext >&5
56425
56426 glibcxx_cv_func_hypot_use=no
56427 fi
56428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56429       ac_ext=c
56430 ac_cpp='$CPP $CPPFLAGS'
56431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56434
56435
56436 fi
56437
56438   fi
56439   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
56440 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
56441
56442   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
56443
56444 for ac_func in hypot
56445 do
56446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56447 echo "$as_me:$LINENO: checking for $ac_func" >&5
56448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56449 if eval "test \"\${$as_ac_var+set}\" = set"; then
56450   echo $ECHO_N "(cached) $ECHO_C" >&6
56451 else
56452   if test x$gcc_no_link = xyes; then
56453   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56455    { (exit 1); exit 1; }; }
56456 fi
56457 cat >conftest.$ac_ext <<_ACEOF
56458 /* confdefs.h.  */
56459 _ACEOF
56460 cat confdefs.h >>conftest.$ac_ext
56461 cat >>conftest.$ac_ext <<_ACEOF
56462 /* end confdefs.h.  */
56463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56464    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56465 #define $ac_func innocuous_$ac_func
56466
56467 /* System header to define __stub macros and hopefully few prototypes,
56468     which can conflict with char $ac_func (); below.
56469     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56470     <limits.h> exists even on freestanding compilers.  */
56471
56472 #ifdef __STDC__
56473 # include <limits.h>
56474 #else
56475 # include <assert.h>
56476 #endif
56477
56478 #undef $ac_func
56479
56480 /* Override any gcc2 internal prototype to avoid an error.  */
56481 #ifdef __cplusplus
56482 extern "C"
56483 {
56484 #endif
56485 /* We use char because int might match the return type of a gcc2
56486    builtin and then its argument prototype would still apply.  */
56487 char $ac_func ();
56488 /* The GNU C library defines this for functions which it implements
56489     to always fail with ENOSYS.  Some functions are actually named
56490     something starting with __ and the normal name is an alias.  */
56491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56492 choke me
56493 #else
56494 char (*f) () = $ac_func;
56495 #endif
56496 #ifdef __cplusplus
56497 }
56498 #endif
56499
56500 int
56501 main ()
56502 {
56503 return f != $ac_func;
56504   ;
56505   return 0;
56506 }
56507 _ACEOF
56508 rm -f conftest.$ac_objext conftest$ac_exeext
56509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56510   (eval $ac_link) 2>conftest.er1
56511   ac_status=$?
56512   grep -v '^ *+' conftest.er1 >conftest.err
56513   rm -f conftest.er1
56514   cat conftest.err >&5
56515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56516   (exit $ac_status); } &&
56517          { ac_try='test -z "$ac_c_werror_flag"
56518                          || test ! -s conftest.err'
56519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56520   (eval $ac_try) 2>&5
56521   ac_status=$?
56522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56523   (exit $ac_status); }; } &&
56524          { ac_try='test -s conftest$ac_exeext'
56525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56526   (eval $ac_try) 2>&5
56527   ac_status=$?
56528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56529   (exit $ac_status); }; }; then
56530   eval "$as_ac_var=yes"
56531 else
56532   echo "$as_me: failed program was:" >&5
56533 sed 's/^/| /' conftest.$ac_ext >&5
56534
56535 eval "$as_ac_var=no"
56536 fi
56537 rm -f conftest.err conftest.$ac_objext \
56538       conftest$ac_exeext conftest.$ac_ext
56539 fi
56540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56542 if test `eval echo '${'$as_ac_var'}'` = yes; then
56543   cat >>confdefs.h <<_ACEOF
56544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56545 _ACEOF
56546
56547 fi
56548 done
56549
56550   else
56551
56552   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
56553 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
56554   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
56555     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
56556   echo $ECHO_N "(cached) $ECHO_C" >&6
56557 else
56558
56559
56560
56561       ac_ext=cc
56562 ac_cpp='$CXXCPP $CPPFLAGS'
56563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56566
56567       cat >conftest.$ac_ext <<_ACEOF
56568 /* confdefs.h.  */
56569 _ACEOF
56570 cat confdefs.h >>conftest.$ac_ext
56571 cat >>conftest.$ac_ext <<_ACEOF
56572 /* end confdefs.h.  */
56573 #include <math.h>
56574 int
56575 main ()
56576 {
56577  _hypot(0, 0);
56578   ;
56579   return 0;
56580 }
56581 _ACEOF
56582 rm -f conftest.$ac_objext
56583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56584   (eval $ac_compile) 2>conftest.er1
56585   ac_status=$?
56586   grep -v '^ *+' conftest.er1 >conftest.err
56587   rm -f conftest.er1
56588   cat conftest.err >&5
56589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56590   (exit $ac_status); } &&
56591          { ac_try='test -z "$ac_cxx_werror_flag"
56592                          || test ! -s conftest.err'
56593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56594   (eval $ac_try) 2>&5
56595   ac_status=$?
56596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56597   (exit $ac_status); }; } &&
56598          { ac_try='test -s conftest.$ac_objext'
56599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56600   (eval $ac_try) 2>&5
56601   ac_status=$?
56602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56603   (exit $ac_status); }; }; then
56604   glibcxx_cv_func__hypot_use=yes
56605 else
56606   echo "$as_me: failed program was:" >&5
56607 sed 's/^/| /' conftest.$ac_ext >&5
56608
56609 glibcxx_cv_func__hypot_use=no
56610 fi
56611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56612       ac_ext=c
56613 ac_cpp='$CPP $CPPFLAGS'
56614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56617
56618
56619 fi
56620
56621   fi
56622   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
56623 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
56624
56625     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
56626
56627 for ac_func in _hypot
56628 do
56629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56630 echo "$as_me:$LINENO: checking for $ac_func" >&5
56631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56632 if eval "test \"\${$as_ac_var+set}\" = set"; then
56633   echo $ECHO_N "(cached) $ECHO_C" >&6
56634 else
56635   if test x$gcc_no_link = xyes; then
56636   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56638    { (exit 1); exit 1; }; }
56639 fi
56640 cat >conftest.$ac_ext <<_ACEOF
56641 /* confdefs.h.  */
56642 _ACEOF
56643 cat confdefs.h >>conftest.$ac_ext
56644 cat >>conftest.$ac_ext <<_ACEOF
56645 /* end confdefs.h.  */
56646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56647    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56648 #define $ac_func innocuous_$ac_func
56649
56650 /* System header to define __stub macros and hopefully few prototypes,
56651     which can conflict with char $ac_func (); below.
56652     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56653     <limits.h> exists even on freestanding compilers.  */
56654
56655 #ifdef __STDC__
56656 # include <limits.h>
56657 #else
56658 # include <assert.h>
56659 #endif
56660
56661 #undef $ac_func
56662
56663 /* Override any gcc2 internal prototype to avoid an error.  */
56664 #ifdef __cplusplus
56665 extern "C"
56666 {
56667 #endif
56668 /* We use char because int might match the return type of a gcc2
56669    builtin and then its argument prototype would still apply.  */
56670 char $ac_func ();
56671 /* The GNU C library defines this for functions which it implements
56672     to always fail with ENOSYS.  Some functions are actually named
56673     something starting with __ and the normal name is an alias.  */
56674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56675 choke me
56676 #else
56677 char (*f) () = $ac_func;
56678 #endif
56679 #ifdef __cplusplus
56680 }
56681 #endif
56682
56683 int
56684 main ()
56685 {
56686 return f != $ac_func;
56687   ;
56688   return 0;
56689 }
56690 _ACEOF
56691 rm -f conftest.$ac_objext conftest$ac_exeext
56692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56693   (eval $ac_link) 2>conftest.er1
56694   ac_status=$?
56695   grep -v '^ *+' conftest.er1 >conftest.err
56696   rm -f conftest.er1
56697   cat conftest.err >&5
56698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56699   (exit $ac_status); } &&
56700          { ac_try='test -z "$ac_c_werror_flag"
56701                          || test ! -s conftest.err'
56702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56703   (eval $ac_try) 2>&5
56704   ac_status=$?
56705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56706   (exit $ac_status); }; } &&
56707          { ac_try='test -s conftest$ac_exeext'
56708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56709   (eval $ac_try) 2>&5
56710   ac_status=$?
56711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56712   (exit $ac_status); }; }; then
56713   eval "$as_ac_var=yes"
56714 else
56715   echo "$as_me: failed program was:" >&5
56716 sed 's/^/| /' conftest.$ac_ext >&5
56717
56718 eval "$as_ac_var=no"
56719 fi
56720 rm -f conftest.err conftest.$ac_objext \
56721       conftest$ac_exeext conftest.$ac_ext
56722 fi
56723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56725 if test `eval echo '${'$as_ac_var'}'` = yes; then
56726   cat >>confdefs.h <<_ACEOF
56727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56728 _ACEOF
56729
56730 fi
56731 done
56732
56733     fi
56734   fi
56735
56736
56737
56738   echo "$as_me:$LINENO: checking for float trig functions" >&5
56739 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
56740   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
56741   echo $ECHO_N "(cached) $ECHO_C" >&6
56742 else
56743
56744
56745
56746     ac_ext=cc
56747 ac_cpp='$CXXCPP $CPPFLAGS'
56748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56751
56752     cat >conftest.$ac_ext <<_ACEOF
56753 /* confdefs.h.  */
56754 _ACEOF
56755 cat confdefs.h >>conftest.$ac_ext
56756 cat >>conftest.$ac_ext <<_ACEOF
56757 /* end confdefs.h.  */
56758 #include <math.h>
56759 int
56760 main ()
56761 {
56762  `for x in acosf asinf atanf \
56763                                           cosf sinf tanf \
56764                                           coshf sinhf tanhf; do echo "$x (0);"; done`
56765   ;
56766   return 0;
56767 }
56768 _ACEOF
56769 rm -f conftest.$ac_objext
56770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56771   (eval $ac_compile) 2>conftest.er1
56772   ac_status=$?
56773   grep -v '^ *+' conftest.er1 >conftest.err
56774   rm -f conftest.er1
56775   cat conftest.err >&5
56776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56777   (exit $ac_status); } &&
56778          { ac_try='test -z "$ac_cxx_werror_flag"
56779                          || test ! -s conftest.err'
56780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56781   (eval $ac_try) 2>&5
56782   ac_status=$?
56783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56784   (exit $ac_status); }; } &&
56785          { ac_try='test -s conftest.$ac_objext'
56786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56787   (eval $ac_try) 2>&5
56788   ac_status=$?
56789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56790   (exit $ac_status); }; }; then
56791   glibcxx_cv_func_float_trig_use=yes
56792 else
56793   echo "$as_me: failed program was:" >&5
56794 sed 's/^/| /' conftest.$ac_ext >&5
56795
56796 glibcxx_cv_func_float_trig_use=no
56797 fi
56798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56799     ac_ext=c
56800 ac_cpp='$CPP $CPPFLAGS'
56801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56804
56805 fi
56806
56807   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
56808 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
56809   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56810
56811
56812
56813
56814
56815
56816
56817
56818
56819 for ac_func in acosf asinf atanf \
56820                                           cosf sinf tanf \
56821                                           coshf sinhf tanhf
56822 do
56823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56824 echo "$as_me:$LINENO: checking for $ac_func" >&5
56825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56826 if eval "test \"\${$as_ac_var+set}\" = set"; then
56827   echo $ECHO_N "(cached) $ECHO_C" >&6
56828 else
56829   if test x$gcc_no_link = xyes; then
56830   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56832    { (exit 1); exit 1; }; }
56833 fi
56834 cat >conftest.$ac_ext <<_ACEOF
56835 /* confdefs.h.  */
56836 _ACEOF
56837 cat confdefs.h >>conftest.$ac_ext
56838 cat >>conftest.$ac_ext <<_ACEOF
56839 /* end confdefs.h.  */
56840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56841    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56842 #define $ac_func innocuous_$ac_func
56843
56844 /* System header to define __stub macros and hopefully few prototypes,
56845     which can conflict with char $ac_func (); below.
56846     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56847     <limits.h> exists even on freestanding compilers.  */
56848
56849 #ifdef __STDC__
56850 # include <limits.h>
56851 #else
56852 # include <assert.h>
56853 #endif
56854
56855 #undef $ac_func
56856
56857 /* Override any gcc2 internal prototype to avoid an error.  */
56858 #ifdef __cplusplus
56859 extern "C"
56860 {
56861 #endif
56862 /* We use char because int might match the return type of a gcc2
56863    builtin and then its argument prototype would still apply.  */
56864 char $ac_func ();
56865 /* The GNU C library defines this for functions which it implements
56866     to always fail with ENOSYS.  Some functions are actually named
56867     something starting with __ and the normal name is an alias.  */
56868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56869 choke me
56870 #else
56871 char (*f) () = $ac_func;
56872 #endif
56873 #ifdef __cplusplus
56874 }
56875 #endif
56876
56877 int
56878 main ()
56879 {
56880 return f != $ac_func;
56881   ;
56882   return 0;
56883 }
56884 _ACEOF
56885 rm -f conftest.$ac_objext conftest$ac_exeext
56886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56887   (eval $ac_link) 2>conftest.er1
56888   ac_status=$?
56889   grep -v '^ *+' conftest.er1 >conftest.err
56890   rm -f conftest.er1
56891   cat conftest.err >&5
56892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56893   (exit $ac_status); } &&
56894          { ac_try='test -z "$ac_c_werror_flag"
56895                          || test ! -s conftest.err'
56896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56897   (eval $ac_try) 2>&5
56898   ac_status=$?
56899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56900   (exit $ac_status); }; } &&
56901          { ac_try='test -s conftest$ac_exeext'
56902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56903   (eval $ac_try) 2>&5
56904   ac_status=$?
56905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56906   (exit $ac_status); }; }; then
56907   eval "$as_ac_var=yes"
56908 else
56909   echo "$as_me: failed program was:" >&5
56910 sed 's/^/| /' conftest.$ac_ext >&5
56911
56912 eval "$as_ac_var=no"
56913 fi
56914 rm -f conftest.err conftest.$ac_objext \
56915       conftest$ac_exeext conftest.$ac_ext
56916 fi
56917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56919 if test `eval echo '${'$as_ac_var'}'` = yes; then
56920   cat >>confdefs.h <<_ACEOF
56921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56922 _ACEOF
56923
56924 fi
56925 done
56926
56927   fi
56928
56929
56930   echo "$as_me:$LINENO: checking for float round functions" >&5
56931 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
56932   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
56933   echo $ECHO_N "(cached) $ECHO_C" >&6
56934 else
56935
56936
56937
56938     ac_ext=cc
56939 ac_cpp='$CXXCPP $CPPFLAGS'
56940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56943
56944     cat >conftest.$ac_ext <<_ACEOF
56945 /* confdefs.h.  */
56946 _ACEOF
56947 cat confdefs.h >>conftest.$ac_ext
56948 cat >>conftest.$ac_ext <<_ACEOF
56949 /* end confdefs.h.  */
56950 #include <math.h>
56951 int
56952 main ()
56953 {
56954  `for x in ceilf floorf; do echo "$x (0);"; done`
56955   ;
56956   return 0;
56957 }
56958 _ACEOF
56959 rm -f conftest.$ac_objext
56960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56961   (eval $ac_compile) 2>conftest.er1
56962   ac_status=$?
56963   grep -v '^ *+' conftest.er1 >conftest.err
56964   rm -f conftest.er1
56965   cat conftest.err >&5
56966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56967   (exit $ac_status); } &&
56968          { ac_try='test -z "$ac_cxx_werror_flag"
56969                          || test ! -s conftest.err'
56970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56971   (eval $ac_try) 2>&5
56972   ac_status=$?
56973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56974   (exit $ac_status); }; } &&
56975          { ac_try='test -s conftest.$ac_objext'
56976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56977   (eval $ac_try) 2>&5
56978   ac_status=$?
56979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56980   (exit $ac_status); }; }; then
56981   glibcxx_cv_func_float_round_use=yes
56982 else
56983   echo "$as_me: failed program was:" >&5
56984 sed 's/^/| /' conftest.$ac_ext >&5
56985
56986 glibcxx_cv_func_float_round_use=no
56987 fi
56988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56989     ac_ext=c
56990 ac_cpp='$CPP $CPPFLAGS'
56991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56994
56995 fi
56996
56997   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
56998 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
56999   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
57000
57001
57002 for ac_func in ceilf floorf
57003 do
57004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57005 echo "$as_me:$LINENO: checking for $ac_func" >&5
57006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57007 if eval "test \"\${$as_ac_var+set}\" = set"; then
57008   echo $ECHO_N "(cached) $ECHO_C" >&6
57009 else
57010   if test x$gcc_no_link = xyes; then
57011   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57013    { (exit 1); exit 1; }; }
57014 fi
57015 cat >conftest.$ac_ext <<_ACEOF
57016 /* confdefs.h.  */
57017 _ACEOF
57018 cat confdefs.h >>conftest.$ac_ext
57019 cat >>conftest.$ac_ext <<_ACEOF
57020 /* end confdefs.h.  */
57021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57022    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57023 #define $ac_func innocuous_$ac_func
57024
57025 /* System header to define __stub macros and hopefully few prototypes,
57026     which can conflict with char $ac_func (); below.
57027     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57028     <limits.h> exists even on freestanding compilers.  */
57029
57030 #ifdef __STDC__
57031 # include <limits.h>
57032 #else
57033 # include <assert.h>
57034 #endif
57035
57036 #undef $ac_func
57037
57038 /* Override any gcc2 internal prototype to avoid an error.  */
57039 #ifdef __cplusplus
57040 extern "C"
57041 {
57042 #endif
57043 /* We use char because int might match the return type of a gcc2
57044    builtin and then its argument prototype would still apply.  */
57045 char $ac_func ();
57046 /* The GNU C library defines this for functions which it implements
57047     to always fail with ENOSYS.  Some functions are actually named
57048     something starting with __ and the normal name is an alias.  */
57049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57050 choke me
57051 #else
57052 char (*f) () = $ac_func;
57053 #endif
57054 #ifdef __cplusplus
57055 }
57056 #endif
57057
57058 int
57059 main ()
57060 {
57061 return f != $ac_func;
57062   ;
57063   return 0;
57064 }
57065 _ACEOF
57066 rm -f conftest.$ac_objext conftest$ac_exeext
57067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57068   (eval $ac_link) 2>conftest.er1
57069   ac_status=$?
57070   grep -v '^ *+' conftest.er1 >conftest.err
57071   rm -f conftest.er1
57072   cat conftest.err >&5
57073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57074   (exit $ac_status); } &&
57075          { ac_try='test -z "$ac_c_werror_flag"
57076                          || test ! -s conftest.err'
57077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57078   (eval $ac_try) 2>&5
57079   ac_status=$?
57080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57081   (exit $ac_status); }; } &&
57082          { ac_try='test -s conftest$ac_exeext'
57083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57084   (eval $ac_try) 2>&5
57085   ac_status=$?
57086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57087   (exit $ac_status); }; }; then
57088   eval "$as_ac_var=yes"
57089 else
57090   echo "$as_me: failed program was:" >&5
57091 sed 's/^/| /' conftest.$ac_ext >&5
57092
57093 eval "$as_ac_var=no"
57094 fi
57095 rm -f conftest.err conftest.$ac_objext \
57096       conftest$ac_exeext conftest.$ac_ext
57097 fi
57098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57100 if test `eval echo '${'$as_ac_var'}'` = yes; then
57101   cat >>confdefs.h <<_ACEOF
57102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57103 _ACEOF
57104
57105 fi
57106 done
57107
57108   fi
57109
57110
57111
57112   echo "$as_me:$LINENO: checking for expf declaration" >&5
57113 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
57114   if test x${glibcxx_cv_func_expf_use+set} != xset; then
57115     if test "${glibcxx_cv_func_expf_use+set}" = set; then
57116   echo $ECHO_N "(cached) $ECHO_C" >&6
57117 else
57118
57119
57120
57121       ac_ext=cc
57122 ac_cpp='$CXXCPP $CPPFLAGS'
57123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57126
57127       cat >conftest.$ac_ext <<_ACEOF
57128 /* confdefs.h.  */
57129 _ACEOF
57130 cat confdefs.h >>conftest.$ac_ext
57131 cat >>conftest.$ac_ext <<_ACEOF
57132 /* end confdefs.h.  */
57133 #include <math.h>
57134                       #ifdef HAVE_IEEEFP_H
57135                       #include <ieeefp.h>
57136                       #endif
57137
57138 int
57139 main ()
57140 {
57141  expf(0);
57142   ;
57143   return 0;
57144 }
57145 _ACEOF
57146 rm -f conftest.$ac_objext
57147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57148   (eval $ac_compile) 2>conftest.er1
57149   ac_status=$?
57150   grep -v '^ *+' conftest.er1 >conftest.err
57151   rm -f conftest.er1
57152   cat conftest.err >&5
57153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57154   (exit $ac_status); } &&
57155          { ac_try='test -z "$ac_cxx_werror_flag"
57156                          || test ! -s conftest.err'
57157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57158   (eval $ac_try) 2>&5
57159   ac_status=$?
57160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57161   (exit $ac_status); }; } &&
57162          { ac_try='test -s conftest.$ac_objext'
57163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57164   (eval $ac_try) 2>&5
57165   ac_status=$?
57166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57167   (exit $ac_status); }; }; then
57168   glibcxx_cv_func_expf_use=yes
57169 else
57170   echo "$as_me: failed program was:" >&5
57171 sed 's/^/| /' conftest.$ac_ext >&5
57172
57173 glibcxx_cv_func_expf_use=no
57174 fi
57175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57176       ac_ext=c
57177 ac_cpp='$CPP $CPPFLAGS'
57178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57181
57182
57183 fi
57184
57185   fi
57186   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
57187 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
57188
57189   if test x$glibcxx_cv_func_expf_use = x"yes"; then
57190
57191 for ac_func in expf
57192 do
57193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57194 echo "$as_me:$LINENO: checking for $ac_func" >&5
57195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57196 if eval "test \"\${$as_ac_var+set}\" = set"; then
57197   echo $ECHO_N "(cached) $ECHO_C" >&6
57198 else
57199   if test x$gcc_no_link = xyes; then
57200   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57202    { (exit 1); exit 1; }; }
57203 fi
57204 cat >conftest.$ac_ext <<_ACEOF
57205 /* confdefs.h.  */
57206 _ACEOF
57207 cat confdefs.h >>conftest.$ac_ext
57208 cat >>conftest.$ac_ext <<_ACEOF
57209 /* end confdefs.h.  */
57210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57211    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57212 #define $ac_func innocuous_$ac_func
57213
57214 /* System header to define __stub macros and hopefully few prototypes,
57215     which can conflict with char $ac_func (); below.
57216     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57217     <limits.h> exists even on freestanding compilers.  */
57218
57219 #ifdef __STDC__
57220 # include <limits.h>
57221 #else
57222 # include <assert.h>
57223 #endif
57224
57225 #undef $ac_func
57226
57227 /* Override any gcc2 internal prototype to avoid an error.  */
57228 #ifdef __cplusplus
57229 extern "C"
57230 {
57231 #endif
57232 /* We use char because int might match the return type of a gcc2
57233    builtin and then its argument prototype would still apply.  */
57234 char $ac_func ();
57235 /* The GNU C library defines this for functions which it implements
57236     to always fail with ENOSYS.  Some functions are actually named
57237     something starting with __ and the normal name is an alias.  */
57238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57239 choke me
57240 #else
57241 char (*f) () = $ac_func;
57242 #endif
57243 #ifdef __cplusplus
57244 }
57245 #endif
57246
57247 int
57248 main ()
57249 {
57250 return f != $ac_func;
57251   ;
57252   return 0;
57253 }
57254 _ACEOF
57255 rm -f conftest.$ac_objext conftest$ac_exeext
57256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57257   (eval $ac_link) 2>conftest.er1
57258   ac_status=$?
57259   grep -v '^ *+' conftest.er1 >conftest.err
57260   rm -f conftest.er1
57261   cat conftest.err >&5
57262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57263   (exit $ac_status); } &&
57264          { ac_try='test -z "$ac_c_werror_flag"
57265                          || test ! -s conftest.err'
57266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57267   (eval $ac_try) 2>&5
57268   ac_status=$?
57269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57270   (exit $ac_status); }; } &&
57271          { ac_try='test -s conftest$ac_exeext'
57272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57273   (eval $ac_try) 2>&5
57274   ac_status=$?
57275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57276   (exit $ac_status); }; }; then
57277   eval "$as_ac_var=yes"
57278 else
57279   echo "$as_me: failed program was:" >&5
57280 sed 's/^/| /' conftest.$ac_ext >&5
57281
57282 eval "$as_ac_var=no"
57283 fi
57284 rm -f conftest.err conftest.$ac_objext \
57285       conftest$ac_exeext conftest.$ac_ext
57286 fi
57287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57289 if test `eval echo '${'$as_ac_var'}'` = yes; then
57290   cat >>confdefs.h <<_ACEOF
57291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57292 _ACEOF
57293
57294 fi
57295 done
57296
57297   else
57298
57299   echo "$as_me:$LINENO: checking for _expf declaration" >&5
57300 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
57301   if test x${glibcxx_cv_func__expf_use+set} != xset; then
57302     if test "${glibcxx_cv_func__expf_use+set}" = set; then
57303   echo $ECHO_N "(cached) $ECHO_C" >&6
57304 else
57305
57306
57307
57308       ac_ext=cc
57309 ac_cpp='$CXXCPP $CPPFLAGS'
57310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57313
57314       cat >conftest.$ac_ext <<_ACEOF
57315 /* confdefs.h.  */
57316 _ACEOF
57317 cat confdefs.h >>conftest.$ac_ext
57318 cat >>conftest.$ac_ext <<_ACEOF
57319 /* end confdefs.h.  */
57320 #include <math.h>
57321                       #ifdef HAVE_IEEEFP_H
57322                       #include <ieeefp.h>
57323                       #endif
57324
57325 int
57326 main ()
57327 {
57328  _expf(0);
57329   ;
57330   return 0;
57331 }
57332 _ACEOF
57333 rm -f conftest.$ac_objext
57334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57335   (eval $ac_compile) 2>conftest.er1
57336   ac_status=$?
57337   grep -v '^ *+' conftest.er1 >conftest.err
57338   rm -f conftest.er1
57339   cat conftest.err >&5
57340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57341   (exit $ac_status); } &&
57342          { ac_try='test -z "$ac_cxx_werror_flag"
57343                          || test ! -s conftest.err'
57344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57345   (eval $ac_try) 2>&5
57346   ac_status=$?
57347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57348   (exit $ac_status); }; } &&
57349          { ac_try='test -s conftest.$ac_objext'
57350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57351   (eval $ac_try) 2>&5
57352   ac_status=$?
57353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57354   (exit $ac_status); }; }; then
57355   glibcxx_cv_func__expf_use=yes
57356 else
57357   echo "$as_me: failed program was:" >&5
57358 sed 's/^/| /' conftest.$ac_ext >&5
57359
57360 glibcxx_cv_func__expf_use=no
57361 fi
57362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57363       ac_ext=c
57364 ac_cpp='$CPP $CPPFLAGS'
57365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57368
57369
57370 fi
57371
57372   fi
57373   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
57374 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
57375
57376     if test x$glibcxx_cv_func__expf_use = x"yes"; then
57377
57378 for ac_func in _expf
57379 do
57380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57381 echo "$as_me:$LINENO: checking for $ac_func" >&5
57382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57383 if eval "test \"\${$as_ac_var+set}\" = set"; then
57384   echo $ECHO_N "(cached) $ECHO_C" >&6
57385 else
57386   if test x$gcc_no_link = xyes; then
57387   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57389    { (exit 1); exit 1; }; }
57390 fi
57391 cat >conftest.$ac_ext <<_ACEOF
57392 /* confdefs.h.  */
57393 _ACEOF
57394 cat confdefs.h >>conftest.$ac_ext
57395 cat >>conftest.$ac_ext <<_ACEOF
57396 /* end confdefs.h.  */
57397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57398    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57399 #define $ac_func innocuous_$ac_func
57400
57401 /* System header to define __stub macros and hopefully few prototypes,
57402     which can conflict with char $ac_func (); below.
57403     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57404     <limits.h> exists even on freestanding compilers.  */
57405
57406 #ifdef __STDC__
57407 # include <limits.h>
57408 #else
57409 # include <assert.h>
57410 #endif
57411
57412 #undef $ac_func
57413
57414 /* Override any gcc2 internal prototype to avoid an error.  */
57415 #ifdef __cplusplus
57416 extern "C"
57417 {
57418 #endif
57419 /* We use char because int might match the return type of a gcc2
57420    builtin and then its argument prototype would still apply.  */
57421 char $ac_func ();
57422 /* The GNU C library defines this for functions which it implements
57423     to always fail with ENOSYS.  Some functions are actually named
57424     something starting with __ and the normal name is an alias.  */
57425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57426 choke me
57427 #else
57428 char (*f) () = $ac_func;
57429 #endif
57430 #ifdef __cplusplus
57431 }
57432 #endif
57433
57434 int
57435 main ()
57436 {
57437 return f != $ac_func;
57438   ;
57439   return 0;
57440 }
57441 _ACEOF
57442 rm -f conftest.$ac_objext conftest$ac_exeext
57443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57444   (eval $ac_link) 2>conftest.er1
57445   ac_status=$?
57446   grep -v '^ *+' conftest.er1 >conftest.err
57447   rm -f conftest.er1
57448   cat conftest.err >&5
57449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57450   (exit $ac_status); } &&
57451          { ac_try='test -z "$ac_c_werror_flag"
57452                          || test ! -s conftest.err'
57453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57454   (eval $ac_try) 2>&5
57455   ac_status=$?
57456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57457   (exit $ac_status); }; } &&
57458          { ac_try='test -s conftest$ac_exeext'
57459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57460   (eval $ac_try) 2>&5
57461   ac_status=$?
57462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57463   (exit $ac_status); }; }; then
57464   eval "$as_ac_var=yes"
57465 else
57466   echo "$as_me: failed program was:" >&5
57467 sed 's/^/| /' conftest.$ac_ext >&5
57468
57469 eval "$as_ac_var=no"
57470 fi
57471 rm -f conftest.err conftest.$ac_objext \
57472       conftest$ac_exeext conftest.$ac_ext
57473 fi
57474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57476 if test `eval echo '${'$as_ac_var'}'` = yes; then
57477   cat >>confdefs.h <<_ACEOF
57478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57479 _ACEOF
57480
57481 fi
57482 done
57483
57484     fi
57485   fi
57486
57487
57488
57489   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
57490 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
57491   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
57492     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
57493   echo $ECHO_N "(cached) $ECHO_C" >&6
57494 else
57495
57496
57497
57498       ac_ext=cc
57499 ac_cpp='$CXXCPP $CPPFLAGS'
57500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57503
57504       cat >conftest.$ac_ext <<_ACEOF
57505 /* confdefs.h.  */
57506 _ACEOF
57507 cat confdefs.h >>conftest.$ac_ext
57508 cat >>conftest.$ac_ext <<_ACEOF
57509 /* end confdefs.h.  */
57510 #include <math.h>
57511                       #ifdef HAVE_IEEEFP_H
57512                       #include <ieeefp.h>
57513                       #endif
57514
57515 int
57516 main ()
57517 {
57518  isnanf(0);
57519   ;
57520   return 0;
57521 }
57522 _ACEOF
57523 rm -f conftest.$ac_objext
57524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57525   (eval $ac_compile) 2>conftest.er1
57526   ac_status=$?
57527   grep -v '^ *+' conftest.er1 >conftest.err
57528   rm -f conftest.er1
57529   cat conftest.err >&5
57530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57531   (exit $ac_status); } &&
57532          { ac_try='test -z "$ac_cxx_werror_flag"
57533                          || test ! -s conftest.err'
57534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57535   (eval $ac_try) 2>&5
57536   ac_status=$?
57537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57538   (exit $ac_status); }; } &&
57539          { ac_try='test -s conftest.$ac_objext'
57540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57541   (eval $ac_try) 2>&5
57542   ac_status=$?
57543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57544   (exit $ac_status); }; }; then
57545   glibcxx_cv_func_isnanf_use=yes
57546 else
57547   echo "$as_me: failed program was:" >&5
57548 sed 's/^/| /' conftest.$ac_ext >&5
57549
57550 glibcxx_cv_func_isnanf_use=no
57551 fi
57552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57553       ac_ext=c
57554 ac_cpp='$CPP $CPPFLAGS'
57555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57558
57559
57560 fi
57561
57562   fi
57563   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
57564 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
57565
57566   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
57567
57568 for ac_func in isnanf
57569 do
57570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57571 echo "$as_me:$LINENO: checking for $ac_func" >&5
57572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57573 if eval "test \"\${$as_ac_var+set}\" = set"; then
57574   echo $ECHO_N "(cached) $ECHO_C" >&6
57575 else
57576   if test x$gcc_no_link = xyes; then
57577   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57579    { (exit 1); exit 1; }; }
57580 fi
57581 cat >conftest.$ac_ext <<_ACEOF
57582 /* confdefs.h.  */
57583 _ACEOF
57584 cat confdefs.h >>conftest.$ac_ext
57585 cat >>conftest.$ac_ext <<_ACEOF
57586 /* end confdefs.h.  */
57587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57588    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57589 #define $ac_func innocuous_$ac_func
57590
57591 /* System header to define __stub macros and hopefully few prototypes,
57592     which can conflict with char $ac_func (); below.
57593     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57594     <limits.h> exists even on freestanding compilers.  */
57595
57596 #ifdef __STDC__
57597 # include <limits.h>
57598 #else
57599 # include <assert.h>
57600 #endif
57601
57602 #undef $ac_func
57603
57604 /* Override any gcc2 internal prototype to avoid an error.  */
57605 #ifdef __cplusplus
57606 extern "C"
57607 {
57608 #endif
57609 /* We use char because int might match the return type of a gcc2
57610    builtin and then its argument prototype would still apply.  */
57611 char $ac_func ();
57612 /* The GNU C library defines this for functions which it implements
57613     to always fail with ENOSYS.  Some functions are actually named
57614     something starting with __ and the normal name is an alias.  */
57615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57616 choke me
57617 #else
57618 char (*f) () = $ac_func;
57619 #endif
57620 #ifdef __cplusplus
57621 }
57622 #endif
57623
57624 int
57625 main ()
57626 {
57627 return f != $ac_func;
57628   ;
57629   return 0;
57630 }
57631 _ACEOF
57632 rm -f conftest.$ac_objext conftest$ac_exeext
57633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57634   (eval $ac_link) 2>conftest.er1
57635   ac_status=$?
57636   grep -v '^ *+' conftest.er1 >conftest.err
57637   rm -f conftest.er1
57638   cat conftest.err >&5
57639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57640   (exit $ac_status); } &&
57641          { ac_try='test -z "$ac_c_werror_flag"
57642                          || test ! -s conftest.err'
57643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57644   (eval $ac_try) 2>&5
57645   ac_status=$?
57646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57647   (exit $ac_status); }; } &&
57648          { ac_try='test -s conftest$ac_exeext'
57649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57650   (eval $ac_try) 2>&5
57651   ac_status=$?
57652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57653   (exit $ac_status); }; }; then
57654   eval "$as_ac_var=yes"
57655 else
57656   echo "$as_me: failed program was:" >&5
57657 sed 's/^/| /' conftest.$ac_ext >&5
57658
57659 eval "$as_ac_var=no"
57660 fi
57661 rm -f conftest.err conftest.$ac_objext \
57662       conftest$ac_exeext conftest.$ac_ext
57663 fi
57664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57666 if test `eval echo '${'$as_ac_var'}'` = yes; then
57667   cat >>confdefs.h <<_ACEOF
57668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57669 _ACEOF
57670
57671 fi
57672 done
57673
57674   else
57675
57676   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
57677 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
57678   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
57679     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
57680   echo $ECHO_N "(cached) $ECHO_C" >&6
57681 else
57682
57683
57684
57685       ac_ext=cc
57686 ac_cpp='$CXXCPP $CPPFLAGS'
57687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57690
57691       cat >conftest.$ac_ext <<_ACEOF
57692 /* confdefs.h.  */
57693 _ACEOF
57694 cat confdefs.h >>conftest.$ac_ext
57695 cat >>conftest.$ac_ext <<_ACEOF
57696 /* end confdefs.h.  */
57697 #include <math.h>
57698                       #ifdef HAVE_IEEEFP_H
57699                       #include <ieeefp.h>
57700                       #endif
57701
57702 int
57703 main ()
57704 {
57705  _isnanf(0);
57706   ;
57707   return 0;
57708 }
57709 _ACEOF
57710 rm -f conftest.$ac_objext
57711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57712   (eval $ac_compile) 2>conftest.er1
57713   ac_status=$?
57714   grep -v '^ *+' conftest.er1 >conftest.err
57715   rm -f conftest.er1
57716   cat conftest.err >&5
57717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57718   (exit $ac_status); } &&
57719          { ac_try='test -z "$ac_cxx_werror_flag"
57720                          || test ! -s conftest.err'
57721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57722   (eval $ac_try) 2>&5
57723   ac_status=$?
57724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57725   (exit $ac_status); }; } &&
57726          { ac_try='test -s conftest.$ac_objext'
57727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57728   (eval $ac_try) 2>&5
57729   ac_status=$?
57730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57731   (exit $ac_status); }; }; then
57732   glibcxx_cv_func__isnanf_use=yes
57733 else
57734   echo "$as_me: failed program was:" >&5
57735 sed 's/^/| /' conftest.$ac_ext >&5
57736
57737 glibcxx_cv_func__isnanf_use=no
57738 fi
57739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57740       ac_ext=c
57741 ac_cpp='$CPP $CPPFLAGS'
57742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57745
57746
57747 fi
57748
57749   fi
57750   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
57751 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
57752
57753     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
57754
57755 for ac_func in _isnanf
57756 do
57757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57758 echo "$as_me:$LINENO: checking for $ac_func" >&5
57759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57760 if eval "test \"\${$as_ac_var+set}\" = set"; then
57761   echo $ECHO_N "(cached) $ECHO_C" >&6
57762 else
57763   if test x$gcc_no_link = xyes; then
57764   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57766    { (exit 1); exit 1; }; }
57767 fi
57768 cat >conftest.$ac_ext <<_ACEOF
57769 /* confdefs.h.  */
57770 _ACEOF
57771 cat confdefs.h >>conftest.$ac_ext
57772 cat >>conftest.$ac_ext <<_ACEOF
57773 /* end confdefs.h.  */
57774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57775    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57776 #define $ac_func innocuous_$ac_func
57777
57778 /* System header to define __stub macros and hopefully few prototypes,
57779     which can conflict with char $ac_func (); below.
57780     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57781     <limits.h> exists even on freestanding compilers.  */
57782
57783 #ifdef __STDC__
57784 # include <limits.h>
57785 #else
57786 # include <assert.h>
57787 #endif
57788
57789 #undef $ac_func
57790
57791 /* Override any gcc2 internal prototype to avoid an error.  */
57792 #ifdef __cplusplus
57793 extern "C"
57794 {
57795 #endif
57796 /* We use char because int might match the return type of a gcc2
57797    builtin and then its argument prototype would still apply.  */
57798 char $ac_func ();
57799 /* The GNU C library defines this for functions which it implements
57800     to always fail with ENOSYS.  Some functions are actually named
57801     something starting with __ and the normal name is an alias.  */
57802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57803 choke me
57804 #else
57805 char (*f) () = $ac_func;
57806 #endif
57807 #ifdef __cplusplus
57808 }
57809 #endif
57810
57811 int
57812 main ()
57813 {
57814 return f != $ac_func;
57815   ;
57816   return 0;
57817 }
57818 _ACEOF
57819 rm -f conftest.$ac_objext conftest$ac_exeext
57820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57821   (eval $ac_link) 2>conftest.er1
57822   ac_status=$?
57823   grep -v '^ *+' conftest.er1 >conftest.err
57824   rm -f conftest.er1
57825   cat conftest.err >&5
57826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57827   (exit $ac_status); } &&
57828          { ac_try='test -z "$ac_c_werror_flag"
57829                          || test ! -s conftest.err'
57830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57831   (eval $ac_try) 2>&5
57832   ac_status=$?
57833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57834   (exit $ac_status); }; } &&
57835          { ac_try='test -s conftest$ac_exeext'
57836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57837   (eval $ac_try) 2>&5
57838   ac_status=$?
57839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57840   (exit $ac_status); }; }; then
57841   eval "$as_ac_var=yes"
57842 else
57843   echo "$as_me: failed program was:" >&5
57844 sed 's/^/| /' conftest.$ac_ext >&5
57845
57846 eval "$as_ac_var=no"
57847 fi
57848 rm -f conftest.err conftest.$ac_objext \
57849       conftest$ac_exeext conftest.$ac_ext
57850 fi
57851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57853 if test `eval echo '${'$as_ac_var'}'` = yes; then
57854   cat >>confdefs.h <<_ACEOF
57855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57856 _ACEOF
57857
57858 fi
57859 done
57860
57861     fi
57862   fi
57863
57864
57865
57866   echo "$as_me:$LINENO: checking for isinff declaration" >&5
57867 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
57868   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
57869     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
57870   echo $ECHO_N "(cached) $ECHO_C" >&6
57871 else
57872
57873
57874
57875       ac_ext=cc
57876 ac_cpp='$CXXCPP $CPPFLAGS'
57877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57880
57881       cat >conftest.$ac_ext <<_ACEOF
57882 /* confdefs.h.  */
57883 _ACEOF
57884 cat confdefs.h >>conftest.$ac_ext
57885 cat >>conftest.$ac_ext <<_ACEOF
57886 /* end confdefs.h.  */
57887 #include <math.h>
57888                       #ifdef HAVE_IEEEFP_H
57889                       #include <ieeefp.h>
57890                       #endif
57891
57892 int
57893 main ()
57894 {
57895  isinff(0);
57896   ;
57897   return 0;
57898 }
57899 _ACEOF
57900 rm -f conftest.$ac_objext
57901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57902   (eval $ac_compile) 2>conftest.er1
57903   ac_status=$?
57904   grep -v '^ *+' conftest.er1 >conftest.err
57905   rm -f conftest.er1
57906   cat conftest.err >&5
57907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57908   (exit $ac_status); } &&
57909          { ac_try='test -z "$ac_cxx_werror_flag"
57910                          || test ! -s conftest.err'
57911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57912   (eval $ac_try) 2>&5
57913   ac_status=$?
57914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57915   (exit $ac_status); }; } &&
57916          { ac_try='test -s conftest.$ac_objext'
57917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57918   (eval $ac_try) 2>&5
57919   ac_status=$?
57920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57921   (exit $ac_status); }; }; then
57922   glibcxx_cv_func_isinff_use=yes
57923 else
57924   echo "$as_me: failed program was:" >&5
57925 sed 's/^/| /' conftest.$ac_ext >&5
57926
57927 glibcxx_cv_func_isinff_use=no
57928 fi
57929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57930       ac_ext=c
57931 ac_cpp='$CPP $CPPFLAGS'
57932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57935
57936
57937 fi
57938
57939   fi
57940   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
57941 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
57942
57943   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
57944
57945 for ac_func in isinff
57946 do
57947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57948 echo "$as_me:$LINENO: checking for $ac_func" >&5
57949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57950 if eval "test \"\${$as_ac_var+set}\" = set"; then
57951   echo $ECHO_N "(cached) $ECHO_C" >&6
57952 else
57953   if test x$gcc_no_link = xyes; then
57954   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57956    { (exit 1); exit 1; }; }
57957 fi
57958 cat >conftest.$ac_ext <<_ACEOF
57959 /* confdefs.h.  */
57960 _ACEOF
57961 cat confdefs.h >>conftest.$ac_ext
57962 cat >>conftest.$ac_ext <<_ACEOF
57963 /* end confdefs.h.  */
57964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57965    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57966 #define $ac_func innocuous_$ac_func
57967
57968 /* System header to define __stub macros and hopefully few prototypes,
57969     which can conflict with char $ac_func (); below.
57970     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57971     <limits.h> exists even on freestanding compilers.  */
57972
57973 #ifdef __STDC__
57974 # include <limits.h>
57975 #else
57976 # include <assert.h>
57977 #endif
57978
57979 #undef $ac_func
57980
57981 /* Override any gcc2 internal prototype to avoid an error.  */
57982 #ifdef __cplusplus
57983 extern "C"
57984 {
57985 #endif
57986 /* We use char because int might match the return type of a gcc2
57987    builtin and then its argument prototype would still apply.  */
57988 char $ac_func ();
57989 /* The GNU C library defines this for functions which it implements
57990     to always fail with ENOSYS.  Some functions are actually named
57991     something starting with __ and the normal name is an alias.  */
57992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57993 choke me
57994 #else
57995 char (*f) () = $ac_func;
57996 #endif
57997 #ifdef __cplusplus
57998 }
57999 #endif
58000
58001 int
58002 main ()
58003 {
58004 return f != $ac_func;
58005   ;
58006   return 0;
58007 }
58008 _ACEOF
58009 rm -f conftest.$ac_objext conftest$ac_exeext
58010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58011   (eval $ac_link) 2>conftest.er1
58012   ac_status=$?
58013   grep -v '^ *+' conftest.er1 >conftest.err
58014   rm -f conftest.er1
58015   cat conftest.err >&5
58016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58017   (exit $ac_status); } &&
58018          { ac_try='test -z "$ac_c_werror_flag"
58019                          || test ! -s conftest.err'
58020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58021   (eval $ac_try) 2>&5
58022   ac_status=$?
58023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58024   (exit $ac_status); }; } &&
58025          { ac_try='test -s conftest$ac_exeext'
58026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58027   (eval $ac_try) 2>&5
58028   ac_status=$?
58029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58030   (exit $ac_status); }; }; then
58031   eval "$as_ac_var=yes"
58032 else
58033   echo "$as_me: failed program was:" >&5
58034 sed 's/^/| /' conftest.$ac_ext >&5
58035
58036 eval "$as_ac_var=no"
58037 fi
58038 rm -f conftest.err conftest.$ac_objext \
58039       conftest$ac_exeext conftest.$ac_ext
58040 fi
58041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58043 if test `eval echo '${'$as_ac_var'}'` = yes; then
58044   cat >>confdefs.h <<_ACEOF
58045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58046 _ACEOF
58047
58048 fi
58049 done
58050
58051   else
58052
58053   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
58054 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
58055   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
58056     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
58057   echo $ECHO_N "(cached) $ECHO_C" >&6
58058 else
58059
58060
58061
58062       ac_ext=cc
58063 ac_cpp='$CXXCPP $CPPFLAGS'
58064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58067
58068       cat >conftest.$ac_ext <<_ACEOF
58069 /* confdefs.h.  */
58070 _ACEOF
58071 cat confdefs.h >>conftest.$ac_ext
58072 cat >>conftest.$ac_ext <<_ACEOF
58073 /* end confdefs.h.  */
58074 #include <math.h>
58075                       #ifdef HAVE_IEEEFP_H
58076                       #include <ieeefp.h>
58077                       #endif
58078
58079 int
58080 main ()
58081 {
58082  _isinff(0);
58083   ;
58084   return 0;
58085 }
58086 _ACEOF
58087 rm -f conftest.$ac_objext
58088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58089   (eval $ac_compile) 2>conftest.er1
58090   ac_status=$?
58091   grep -v '^ *+' conftest.er1 >conftest.err
58092   rm -f conftest.er1
58093   cat conftest.err >&5
58094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58095   (exit $ac_status); } &&
58096          { ac_try='test -z "$ac_cxx_werror_flag"
58097                          || test ! -s conftest.err'
58098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58099   (eval $ac_try) 2>&5
58100   ac_status=$?
58101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58102   (exit $ac_status); }; } &&
58103          { ac_try='test -s conftest.$ac_objext'
58104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58105   (eval $ac_try) 2>&5
58106   ac_status=$?
58107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58108   (exit $ac_status); }; }; then
58109   glibcxx_cv_func__isinff_use=yes
58110 else
58111   echo "$as_me: failed program was:" >&5
58112 sed 's/^/| /' conftest.$ac_ext >&5
58113
58114 glibcxx_cv_func__isinff_use=no
58115 fi
58116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58117       ac_ext=c
58118 ac_cpp='$CPP $CPPFLAGS'
58119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58122
58123
58124 fi
58125
58126   fi
58127   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
58128 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
58129
58130     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
58131
58132 for ac_func in _isinff
58133 do
58134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58135 echo "$as_me:$LINENO: checking for $ac_func" >&5
58136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58137 if eval "test \"\${$as_ac_var+set}\" = set"; then
58138   echo $ECHO_N "(cached) $ECHO_C" >&6
58139 else
58140   if test x$gcc_no_link = xyes; then
58141   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58143    { (exit 1); exit 1; }; }
58144 fi
58145 cat >conftest.$ac_ext <<_ACEOF
58146 /* confdefs.h.  */
58147 _ACEOF
58148 cat confdefs.h >>conftest.$ac_ext
58149 cat >>conftest.$ac_ext <<_ACEOF
58150 /* end confdefs.h.  */
58151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58152    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58153 #define $ac_func innocuous_$ac_func
58154
58155 /* System header to define __stub macros and hopefully few prototypes,
58156     which can conflict with char $ac_func (); below.
58157     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58158     <limits.h> exists even on freestanding compilers.  */
58159
58160 #ifdef __STDC__
58161 # include <limits.h>
58162 #else
58163 # include <assert.h>
58164 #endif
58165
58166 #undef $ac_func
58167
58168 /* Override any gcc2 internal prototype to avoid an error.  */
58169 #ifdef __cplusplus
58170 extern "C"
58171 {
58172 #endif
58173 /* We use char because int might match the return type of a gcc2
58174    builtin and then its argument prototype would still apply.  */
58175 char $ac_func ();
58176 /* The GNU C library defines this for functions which it implements
58177     to always fail with ENOSYS.  Some functions are actually named
58178     something starting with __ and the normal name is an alias.  */
58179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58180 choke me
58181 #else
58182 char (*f) () = $ac_func;
58183 #endif
58184 #ifdef __cplusplus
58185 }
58186 #endif
58187
58188 int
58189 main ()
58190 {
58191 return f != $ac_func;
58192   ;
58193   return 0;
58194 }
58195 _ACEOF
58196 rm -f conftest.$ac_objext conftest$ac_exeext
58197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58198   (eval $ac_link) 2>conftest.er1
58199   ac_status=$?
58200   grep -v '^ *+' conftest.er1 >conftest.err
58201   rm -f conftest.er1
58202   cat conftest.err >&5
58203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58204   (exit $ac_status); } &&
58205          { ac_try='test -z "$ac_c_werror_flag"
58206                          || test ! -s conftest.err'
58207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58208   (eval $ac_try) 2>&5
58209   ac_status=$?
58210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58211   (exit $ac_status); }; } &&
58212          { ac_try='test -s conftest$ac_exeext'
58213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58214   (eval $ac_try) 2>&5
58215   ac_status=$?
58216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58217   (exit $ac_status); }; }; then
58218   eval "$as_ac_var=yes"
58219 else
58220   echo "$as_me: failed program was:" >&5
58221 sed 's/^/| /' conftest.$ac_ext >&5
58222
58223 eval "$as_ac_var=no"
58224 fi
58225 rm -f conftest.err conftest.$ac_objext \
58226       conftest$ac_exeext conftest.$ac_ext
58227 fi
58228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58230 if test `eval echo '${'$as_ac_var'}'` = yes; then
58231   cat >>confdefs.h <<_ACEOF
58232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58233 _ACEOF
58234
58235 fi
58236 done
58237
58238     fi
58239   fi
58240
58241
58242
58243   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
58244 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
58245   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
58246     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
58247   echo $ECHO_N "(cached) $ECHO_C" >&6
58248 else
58249
58250
58251
58252       ac_ext=cc
58253 ac_cpp='$CXXCPP $CPPFLAGS'
58254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58257
58258       cat >conftest.$ac_ext <<_ACEOF
58259 /* confdefs.h.  */
58260 _ACEOF
58261 cat confdefs.h >>conftest.$ac_ext
58262 cat >>conftest.$ac_ext <<_ACEOF
58263 /* end confdefs.h.  */
58264 #include <math.h>
58265 int
58266 main ()
58267 {
58268  atan2f(0, 0);
58269   ;
58270   return 0;
58271 }
58272 _ACEOF
58273 rm -f conftest.$ac_objext
58274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58275   (eval $ac_compile) 2>conftest.er1
58276   ac_status=$?
58277   grep -v '^ *+' conftest.er1 >conftest.err
58278   rm -f conftest.er1
58279   cat conftest.err >&5
58280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58281   (exit $ac_status); } &&
58282          { ac_try='test -z "$ac_cxx_werror_flag"
58283                          || test ! -s conftest.err'
58284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58285   (eval $ac_try) 2>&5
58286   ac_status=$?
58287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58288   (exit $ac_status); }; } &&
58289          { ac_try='test -s conftest.$ac_objext'
58290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58291   (eval $ac_try) 2>&5
58292   ac_status=$?
58293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58294   (exit $ac_status); }; }; then
58295   glibcxx_cv_func_atan2f_use=yes
58296 else
58297   echo "$as_me: failed program was:" >&5
58298 sed 's/^/| /' conftest.$ac_ext >&5
58299
58300 glibcxx_cv_func_atan2f_use=no
58301 fi
58302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58303       ac_ext=c
58304 ac_cpp='$CPP $CPPFLAGS'
58305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58308
58309
58310 fi
58311
58312   fi
58313   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
58314 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
58315
58316   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
58317
58318 for ac_func in atan2f
58319 do
58320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58321 echo "$as_me:$LINENO: checking for $ac_func" >&5
58322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58323 if eval "test \"\${$as_ac_var+set}\" = set"; then
58324   echo $ECHO_N "(cached) $ECHO_C" >&6
58325 else
58326   if test x$gcc_no_link = xyes; then
58327   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58329    { (exit 1); exit 1; }; }
58330 fi
58331 cat >conftest.$ac_ext <<_ACEOF
58332 /* confdefs.h.  */
58333 _ACEOF
58334 cat confdefs.h >>conftest.$ac_ext
58335 cat >>conftest.$ac_ext <<_ACEOF
58336 /* end confdefs.h.  */
58337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58338    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58339 #define $ac_func innocuous_$ac_func
58340
58341 /* System header to define __stub macros and hopefully few prototypes,
58342     which can conflict with char $ac_func (); below.
58343     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58344     <limits.h> exists even on freestanding compilers.  */
58345
58346 #ifdef __STDC__
58347 # include <limits.h>
58348 #else
58349 # include <assert.h>
58350 #endif
58351
58352 #undef $ac_func
58353
58354 /* Override any gcc2 internal prototype to avoid an error.  */
58355 #ifdef __cplusplus
58356 extern "C"
58357 {
58358 #endif
58359 /* We use char because int might match the return type of a gcc2
58360    builtin and then its argument prototype would still apply.  */
58361 char $ac_func ();
58362 /* The GNU C library defines this for functions which it implements
58363     to always fail with ENOSYS.  Some functions are actually named
58364     something starting with __ and the normal name is an alias.  */
58365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58366 choke me
58367 #else
58368 char (*f) () = $ac_func;
58369 #endif
58370 #ifdef __cplusplus
58371 }
58372 #endif
58373
58374 int
58375 main ()
58376 {
58377 return f != $ac_func;
58378   ;
58379   return 0;
58380 }
58381 _ACEOF
58382 rm -f conftest.$ac_objext conftest$ac_exeext
58383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58384   (eval $ac_link) 2>conftest.er1
58385   ac_status=$?
58386   grep -v '^ *+' conftest.er1 >conftest.err
58387   rm -f conftest.er1
58388   cat conftest.err >&5
58389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58390   (exit $ac_status); } &&
58391          { ac_try='test -z "$ac_c_werror_flag"
58392                          || test ! -s conftest.err'
58393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58394   (eval $ac_try) 2>&5
58395   ac_status=$?
58396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58397   (exit $ac_status); }; } &&
58398          { ac_try='test -s conftest$ac_exeext'
58399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58400   (eval $ac_try) 2>&5
58401   ac_status=$?
58402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58403   (exit $ac_status); }; }; then
58404   eval "$as_ac_var=yes"
58405 else
58406   echo "$as_me: failed program was:" >&5
58407 sed 's/^/| /' conftest.$ac_ext >&5
58408
58409 eval "$as_ac_var=no"
58410 fi
58411 rm -f conftest.err conftest.$ac_objext \
58412       conftest$ac_exeext conftest.$ac_ext
58413 fi
58414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58416 if test `eval echo '${'$as_ac_var'}'` = yes; then
58417   cat >>confdefs.h <<_ACEOF
58418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58419 _ACEOF
58420
58421 fi
58422 done
58423
58424   else
58425
58426   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
58427 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
58428   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58429     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
58430   echo $ECHO_N "(cached) $ECHO_C" >&6
58431 else
58432
58433
58434
58435       ac_ext=cc
58436 ac_cpp='$CXXCPP $CPPFLAGS'
58437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58440
58441       cat >conftest.$ac_ext <<_ACEOF
58442 /* confdefs.h.  */
58443 _ACEOF
58444 cat confdefs.h >>conftest.$ac_ext
58445 cat >>conftest.$ac_ext <<_ACEOF
58446 /* end confdefs.h.  */
58447 #include <math.h>
58448 int
58449 main ()
58450 {
58451  _atan2f(0, 0);
58452   ;
58453   return 0;
58454 }
58455 _ACEOF
58456 rm -f conftest.$ac_objext
58457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58458   (eval $ac_compile) 2>conftest.er1
58459   ac_status=$?
58460   grep -v '^ *+' conftest.er1 >conftest.err
58461   rm -f conftest.er1
58462   cat conftest.err >&5
58463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58464   (exit $ac_status); } &&
58465          { ac_try='test -z "$ac_cxx_werror_flag"
58466                          || test ! -s conftest.err'
58467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58468   (eval $ac_try) 2>&5
58469   ac_status=$?
58470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58471   (exit $ac_status); }; } &&
58472          { ac_try='test -s conftest.$ac_objext'
58473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58474   (eval $ac_try) 2>&5
58475   ac_status=$?
58476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58477   (exit $ac_status); }; }; then
58478   glibcxx_cv_func__atan2f_use=yes
58479 else
58480   echo "$as_me: failed program was:" >&5
58481 sed 's/^/| /' conftest.$ac_ext >&5
58482
58483 glibcxx_cv_func__atan2f_use=no
58484 fi
58485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58486       ac_ext=c
58487 ac_cpp='$CPP $CPPFLAGS'
58488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58491
58492
58493 fi
58494
58495   fi
58496   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
58497 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
58498
58499     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
58500
58501 for ac_func in _atan2f
58502 do
58503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58504 echo "$as_me:$LINENO: checking for $ac_func" >&5
58505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58506 if eval "test \"\${$as_ac_var+set}\" = set"; then
58507   echo $ECHO_N "(cached) $ECHO_C" >&6
58508 else
58509   if test x$gcc_no_link = xyes; then
58510   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58512    { (exit 1); exit 1; }; }
58513 fi
58514 cat >conftest.$ac_ext <<_ACEOF
58515 /* confdefs.h.  */
58516 _ACEOF
58517 cat confdefs.h >>conftest.$ac_ext
58518 cat >>conftest.$ac_ext <<_ACEOF
58519 /* end confdefs.h.  */
58520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58521    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58522 #define $ac_func innocuous_$ac_func
58523
58524 /* System header to define __stub macros and hopefully few prototypes,
58525     which can conflict with char $ac_func (); below.
58526     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58527     <limits.h> exists even on freestanding compilers.  */
58528
58529 #ifdef __STDC__
58530 # include <limits.h>
58531 #else
58532 # include <assert.h>
58533 #endif
58534
58535 #undef $ac_func
58536
58537 /* Override any gcc2 internal prototype to avoid an error.  */
58538 #ifdef __cplusplus
58539 extern "C"
58540 {
58541 #endif
58542 /* We use char because int might match the return type of a gcc2
58543    builtin and then its argument prototype would still apply.  */
58544 char $ac_func ();
58545 /* The GNU C library defines this for functions which it implements
58546     to always fail with ENOSYS.  Some functions are actually named
58547     something starting with __ and the normal name is an alias.  */
58548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58549 choke me
58550 #else
58551 char (*f) () = $ac_func;
58552 #endif
58553 #ifdef __cplusplus
58554 }
58555 #endif
58556
58557 int
58558 main ()
58559 {
58560 return f != $ac_func;
58561   ;
58562   return 0;
58563 }
58564 _ACEOF
58565 rm -f conftest.$ac_objext conftest$ac_exeext
58566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58567   (eval $ac_link) 2>conftest.er1
58568   ac_status=$?
58569   grep -v '^ *+' conftest.er1 >conftest.err
58570   rm -f conftest.er1
58571   cat conftest.err >&5
58572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58573   (exit $ac_status); } &&
58574          { ac_try='test -z "$ac_c_werror_flag"
58575                          || test ! -s conftest.err'
58576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58577   (eval $ac_try) 2>&5
58578   ac_status=$?
58579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58580   (exit $ac_status); }; } &&
58581          { ac_try='test -s conftest$ac_exeext'
58582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58583   (eval $ac_try) 2>&5
58584   ac_status=$?
58585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58586   (exit $ac_status); }; }; then
58587   eval "$as_ac_var=yes"
58588 else
58589   echo "$as_me: failed program was:" >&5
58590 sed 's/^/| /' conftest.$ac_ext >&5
58591
58592 eval "$as_ac_var=no"
58593 fi
58594 rm -f conftest.err conftest.$ac_objext \
58595       conftest$ac_exeext conftest.$ac_ext
58596 fi
58597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58599 if test `eval echo '${'$as_ac_var'}'` = yes; then
58600   cat >>confdefs.h <<_ACEOF
58601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58602 _ACEOF
58603
58604 fi
58605 done
58606
58607     fi
58608   fi
58609
58610
58611
58612   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
58613 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
58614   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
58615     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
58616   echo $ECHO_N "(cached) $ECHO_C" >&6
58617 else
58618
58619
58620
58621       ac_ext=cc
58622 ac_cpp='$CXXCPP $CPPFLAGS'
58623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58626
58627       cat >conftest.$ac_ext <<_ACEOF
58628 /* confdefs.h.  */
58629 _ACEOF
58630 cat confdefs.h >>conftest.$ac_ext
58631 cat >>conftest.$ac_ext <<_ACEOF
58632 /* end confdefs.h.  */
58633 #include <math.h>
58634                       #ifdef HAVE_IEEEFP_H
58635                       #include <ieeefp.h>
58636                       #endif
58637
58638 int
58639 main ()
58640 {
58641  fabsf(0);
58642   ;
58643   return 0;
58644 }
58645 _ACEOF
58646 rm -f conftest.$ac_objext
58647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58648   (eval $ac_compile) 2>conftest.er1
58649   ac_status=$?
58650   grep -v '^ *+' conftest.er1 >conftest.err
58651   rm -f conftest.er1
58652   cat conftest.err >&5
58653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58654   (exit $ac_status); } &&
58655          { ac_try='test -z "$ac_cxx_werror_flag"
58656                          || test ! -s conftest.err'
58657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58658   (eval $ac_try) 2>&5
58659   ac_status=$?
58660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58661   (exit $ac_status); }; } &&
58662          { ac_try='test -s conftest.$ac_objext'
58663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58664   (eval $ac_try) 2>&5
58665   ac_status=$?
58666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58667   (exit $ac_status); }; }; then
58668   glibcxx_cv_func_fabsf_use=yes
58669 else
58670   echo "$as_me: failed program was:" >&5
58671 sed 's/^/| /' conftest.$ac_ext >&5
58672
58673 glibcxx_cv_func_fabsf_use=no
58674 fi
58675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58676       ac_ext=c
58677 ac_cpp='$CPP $CPPFLAGS'
58678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58681
58682
58683 fi
58684
58685   fi
58686   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
58687 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
58688
58689   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
58690
58691 for ac_func in fabsf
58692 do
58693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58694 echo "$as_me:$LINENO: checking for $ac_func" >&5
58695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58696 if eval "test \"\${$as_ac_var+set}\" = set"; then
58697   echo $ECHO_N "(cached) $ECHO_C" >&6
58698 else
58699   if test x$gcc_no_link = xyes; then
58700   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58702    { (exit 1); exit 1; }; }
58703 fi
58704 cat >conftest.$ac_ext <<_ACEOF
58705 /* confdefs.h.  */
58706 _ACEOF
58707 cat confdefs.h >>conftest.$ac_ext
58708 cat >>conftest.$ac_ext <<_ACEOF
58709 /* end confdefs.h.  */
58710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58711    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58712 #define $ac_func innocuous_$ac_func
58713
58714 /* System header to define __stub macros and hopefully few prototypes,
58715     which can conflict with char $ac_func (); below.
58716     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58717     <limits.h> exists even on freestanding compilers.  */
58718
58719 #ifdef __STDC__
58720 # include <limits.h>
58721 #else
58722 # include <assert.h>
58723 #endif
58724
58725 #undef $ac_func
58726
58727 /* Override any gcc2 internal prototype to avoid an error.  */
58728 #ifdef __cplusplus
58729 extern "C"
58730 {
58731 #endif
58732 /* We use char because int might match the return type of a gcc2
58733    builtin and then its argument prototype would still apply.  */
58734 char $ac_func ();
58735 /* The GNU C library defines this for functions which it implements
58736     to always fail with ENOSYS.  Some functions are actually named
58737     something starting with __ and the normal name is an alias.  */
58738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58739 choke me
58740 #else
58741 char (*f) () = $ac_func;
58742 #endif
58743 #ifdef __cplusplus
58744 }
58745 #endif
58746
58747 int
58748 main ()
58749 {
58750 return f != $ac_func;
58751   ;
58752   return 0;
58753 }
58754 _ACEOF
58755 rm -f conftest.$ac_objext conftest$ac_exeext
58756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58757   (eval $ac_link) 2>conftest.er1
58758   ac_status=$?
58759   grep -v '^ *+' conftest.er1 >conftest.err
58760   rm -f conftest.er1
58761   cat conftest.err >&5
58762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58763   (exit $ac_status); } &&
58764          { ac_try='test -z "$ac_c_werror_flag"
58765                          || test ! -s conftest.err'
58766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58767   (eval $ac_try) 2>&5
58768   ac_status=$?
58769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58770   (exit $ac_status); }; } &&
58771          { ac_try='test -s conftest$ac_exeext'
58772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58773   (eval $ac_try) 2>&5
58774   ac_status=$?
58775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58776   (exit $ac_status); }; }; then
58777   eval "$as_ac_var=yes"
58778 else
58779   echo "$as_me: failed program was:" >&5
58780 sed 's/^/| /' conftest.$ac_ext >&5
58781
58782 eval "$as_ac_var=no"
58783 fi
58784 rm -f conftest.err conftest.$ac_objext \
58785       conftest$ac_exeext conftest.$ac_ext
58786 fi
58787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58789 if test `eval echo '${'$as_ac_var'}'` = yes; then
58790   cat >>confdefs.h <<_ACEOF
58791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58792 _ACEOF
58793
58794 fi
58795 done
58796
58797   else
58798
58799   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
58800 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
58801   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
58802     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
58803   echo $ECHO_N "(cached) $ECHO_C" >&6
58804 else
58805
58806
58807
58808       ac_ext=cc
58809 ac_cpp='$CXXCPP $CPPFLAGS'
58810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58813
58814       cat >conftest.$ac_ext <<_ACEOF
58815 /* confdefs.h.  */
58816 _ACEOF
58817 cat confdefs.h >>conftest.$ac_ext
58818 cat >>conftest.$ac_ext <<_ACEOF
58819 /* end confdefs.h.  */
58820 #include <math.h>
58821                       #ifdef HAVE_IEEEFP_H
58822                       #include <ieeefp.h>
58823                       #endif
58824
58825 int
58826 main ()
58827 {
58828  _fabsf(0);
58829   ;
58830   return 0;
58831 }
58832 _ACEOF
58833 rm -f conftest.$ac_objext
58834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58835   (eval $ac_compile) 2>conftest.er1
58836   ac_status=$?
58837   grep -v '^ *+' conftest.er1 >conftest.err
58838   rm -f conftest.er1
58839   cat conftest.err >&5
58840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58841   (exit $ac_status); } &&
58842          { ac_try='test -z "$ac_cxx_werror_flag"
58843                          || test ! -s conftest.err'
58844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58845   (eval $ac_try) 2>&5
58846   ac_status=$?
58847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58848   (exit $ac_status); }; } &&
58849          { ac_try='test -s conftest.$ac_objext'
58850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58851   (eval $ac_try) 2>&5
58852   ac_status=$?
58853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58854   (exit $ac_status); }; }; then
58855   glibcxx_cv_func__fabsf_use=yes
58856 else
58857   echo "$as_me: failed program was:" >&5
58858 sed 's/^/| /' conftest.$ac_ext >&5
58859
58860 glibcxx_cv_func__fabsf_use=no
58861 fi
58862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58863       ac_ext=c
58864 ac_cpp='$CPP $CPPFLAGS'
58865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58868
58869
58870 fi
58871
58872   fi
58873   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
58874 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
58875
58876     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
58877
58878 for ac_func in _fabsf
58879 do
58880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58881 echo "$as_me:$LINENO: checking for $ac_func" >&5
58882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58883 if eval "test \"\${$as_ac_var+set}\" = set"; then
58884   echo $ECHO_N "(cached) $ECHO_C" >&6
58885 else
58886   if test x$gcc_no_link = xyes; then
58887   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58889    { (exit 1); exit 1; }; }
58890 fi
58891 cat >conftest.$ac_ext <<_ACEOF
58892 /* confdefs.h.  */
58893 _ACEOF
58894 cat confdefs.h >>conftest.$ac_ext
58895 cat >>conftest.$ac_ext <<_ACEOF
58896 /* end confdefs.h.  */
58897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58898    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58899 #define $ac_func innocuous_$ac_func
58900
58901 /* System header to define __stub macros and hopefully few prototypes,
58902     which can conflict with char $ac_func (); below.
58903     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58904     <limits.h> exists even on freestanding compilers.  */
58905
58906 #ifdef __STDC__
58907 # include <limits.h>
58908 #else
58909 # include <assert.h>
58910 #endif
58911
58912 #undef $ac_func
58913
58914 /* Override any gcc2 internal prototype to avoid an error.  */
58915 #ifdef __cplusplus
58916 extern "C"
58917 {
58918 #endif
58919 /* We use char because int might match the return type of a gcc2
58920    builtin and then its argument prototype would still apply.  */
58921 char $ac_func ();
58922 /* The GNU C library defines this for functions which it implements
58923     to always fail with ENOSYS.  Some functions are actually named
58924     something starting with __ and the normal name is an alias.  */
58925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58926 choke me
58927 #else
58928 char (*f) () = $ac_func;
58929 #endif
58930 #ifdef __cplusplus
58931 }
58932 #endif
58933
58934 int
58935 main ()
58936 {
58937 return f != $ac_func;
58938   ;
58939   return 0;
58940 }
58941 _ACEOF
58942 rm -f conftest.$ac_objext conftest$ac_exeext
58943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58944   (eval $ac_link) 2>conftest.er1
58945   ac_status=$?
58946   grep -v '^ *+' conftest.er1 >conftest.err
58947   rm -f conftest.er1
58948   cat conftest.err >&5
58949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58950   (exit $ac_status); } &&
58951          { ac_try='test -z "$ac_c_werror_flag"
58952                          || test ! -s conftest.err'
58953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58954   (eval $ac_try) 2>&5
58955   ac_status=$?
58956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58957   (exit $ac_status); }; } &&
58958          { ac_try='test -s conftest$ac_exeext'
58959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58960   (eval $ac_try) 2>&5
58961   ac_status=$?
58962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58963   (exit $ac_status); }; }; then
58964   eval "$as_ac_var=yes"
58965 else
58966   echo "$as_me: failed program was:" >&5
58967 sed 's/^/| /' conftest.$ac_ext >&5
58968
58969 eval "$as_ac_var=no"
58970 fi
58971 rm -f conftest.err conftest.$ac_objext \
58972       conftest$ac_exeext conftest.$ac_ext
58973 fi
58974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58976 if test `eval echo '${'$as_ac_var'}'` = yes; then
58977   cat >>confdefs.h <<_ACEOF
58978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58979 _ACEOF
58980
58981 fi
58982 done
58983
58984     fi
58985   fi
58986
58987
58988
58989   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
58990 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
58991   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
58992     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
58993   echo $ECHO_N "(cached) $ECHO_C" >&6
58994 else
58995
58996
58997
58998       ac_ext=cc
58999 ac_cpp='$CXXCPP $CPPFLAGS'
59000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59003
59004       cat >conftest.$ac_ext <<_ACEOF
59005 /* confdefs.h.  */
59006 _ACEOF
59007 cat confdefs.h >>conftest.$ac_ext
59008 cat >>conftest.$ac_ext <<_ACEOF
59009 /* end confdefs.h.  */
59010 #include <math.h>
59011 int
59012 main ()
59013 {
59014  fmodf(0, 0);
59015   ;
59016   return 0;
59017 }
59018 _ACEOF
59019 rm -f conftest.$ac_objext
59020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59021   (eval $ac_compile) 2>conftest.er1
59022   ac_status=$?
59023   grep -v '^ *+' conftest.er1 >conftest.err
59024   rm -f conftest.er1
59025   cat conftest.err >&5
59026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59027   (exit $ac_status); } &&
59028          { ac_try='test -z "$ac_cxx_werror_flag"
59029                          || test ! -s conftest.err'
59030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59031   (eval $ac_try) 2>&5
59032   ac_status=$?
59033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59034   (exit $ac_status); }; } &&
59035          { ac_try='test -s conftest.$ac_objext'
59036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59037   (eval $ac_try) 2>&5
59038   ac_status=$?
59039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59040   (exit $ac_status); }; }; then
59041   glibcxx_cv_func_fmodf_use=yes
59042 else
59043   echo "$as_me: failed program was:" >&5
59044 sed 's/^/| /' conftest.$ac_ext >&5
59045
59046 glibcxx_cv_func_fmodf_use=no
59047 fi
59048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59049       ac_ext=c
59050 ac_cpp='$CPP $CPPFLAGS'
59051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59054
59055
59056 fi
59057
59058   fi
59059   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
59060 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
59061
59062   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59063
59064 for ac_func in fmodf
59065 do
59066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59067 echo "$as_me:$LINENO: checking for $ac_func" >&5
59068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59069 if eval "test \"\${$as_ac_var+set}\" = set"; then
59070   echo $ECHO_N "(cached) $ECHO_C" >&6
59071 else
59072   if test x$gcc_no_link = xyes; then
59073   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59075    { (exit 1); exit 1; }; }
59076 fi
59077 cat >conftest.$ac_ext <<_ACEOF
59078 /* confdefs.h.  */
59079 _ACEOF
59080 cat confdefs.h >>conftest.$ac_ext
59081 cat >>conftest.$ac_ext <<_ACEOF
59082 /* end confdefs.h.  */
59083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59084    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59085 #define $ac_func innocuous_$ac_func
59086
59087 /* System header to define __stub macros and hopefully few prototypes,
59088     which can conflict with char $ac_func (); below.
59089     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59090     <limits.h> exists even on freestanding compilers.  */
59091
59092 #ifdef __STDC__
59093 # include <limits.h>
59094 #else
59095 # include <assert.h>
59096 #endif
59097
59098 #undef $ac_func
59099
59100 /* Override any gcc2 internal prototype to avoid an error.  */
59101 #ifdef __cplusplus
59102 extern "C"
59103 {
59104 #endif
59105 /* We use char because int might match the return type of a gcc2
59106    builtin and then its argument prototype would still apply.  */
59107 char $ac_func ();
59108 /* The GNU C library defines this for functions which it implements
59109     to always fail with ENOSYS.  Some functions are actually named
59110     something starting with __ and the normal name is an alias.  */
59111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59112 choke me
59113 #else
59114 char (*f) () = $ac_func;
59115 #endif
59116 #ifdef __cplusplus
59117 }
59118 #endif
59119
59120 int
59121 main ()
59122 {
59123 return f != $ac_func;
59124   ;
59125   return 0;
59126 }
59127 _ACEOF
59128 rm -f conftest.$ac_objext conftest$ac_exeext
59129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59130   (eval $ac_link) 2>conftest.er1
59131   ac_status=$?
59132   grep -v '^ *+' conftest.er1 >conftest.err
59133   rm -f conftest.er1
59134   cat conftest.err >&5
59135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59136   (exit $ac_status); } &&
59137          { ac_try='test -z "$ac_c_werror_flag"
59138                          || test ! -s conftest.err'
59139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59140   (eval $ac_try) 2>&5
59141   ac_status=$?
59142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59143   (exit $ac_status); }; } &&
59144          { ac_try='test -s conftest$ac_exeext'
59145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59146   (eval $ac_try) 2>&5
59147   ac_status=$?
59148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59149   (exit $ac_status); }; }; then
59150   eval "$as_ac_var=yes"
59151 else
59152   echo "$as_me: failed program was:" >&5
59153 sed 's/^/| /' conftest.$ac_ext >&5
59154
59155 eval "$as_ac_var=no"
59156 fi
59157 rm -f conftest.err conftest.$ac_objext \
59158       conftest$ac_exeext conftest.$ac_ext
59159 fi
59160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59162 if test `eval echo '${'$as_ac_var'}'` = yes; then
59163   cat >>confdefs.h <<_ACEOF
59164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59165 _ACEOF
59166
59167 fi
59168 done
59169
59170   else
59171
59172   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
59173 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
59174   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59175     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
59176   echo $ECHO_N "(cached) $ECHO_C" >&6
59177 else
59178
59179
59180
59181       ac_ext=cc
59182 ac_cpp='$CXXCPP $CPPFLAGS'
59183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59186
59187       cat >conftest.$ac_ext <<_ACEOF
59188 /* confdefs.h.  */
59189 _ACEOF
59190 cat confdefs.h >>conftest.$ac_ext
59191 cat >>conftest.$ac_ext <<_ACEOF
59192 /* end confdefs.h.  */
59193 #include <math.h>
59194 int
59195 main ()
59196 {
59197  _fmodf(0, 0);
59198   ;
59199   return 0;
59200 }
59201 _ACEOF
59202 rm -f conftest.$ac_objext
59203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59204   (eval $ac_compile) 2>conftest.er1
59205   ac_status=$?
59206   grep -v '^ *+' conftest.er1 >conftest.err
59207   rm -f conftest.er1
59208   cat conftest.err >&5
59209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59210   (exit $ac_status); } &&
59211          { ac_try='test -z "$ac_cxx_werror_flag"
59212                          || test ! -s conftest.err'
59213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59214   (eval $ac_try) 2>&5
59215   ac_status=$?
59216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59217   (exit $ac_status); }; } &&
59218          { ac_try='test -s conftest.$ac_objext'
59219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59220   (eval $ac_try) 2>&5
59221   ac_status=$?
59222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59223   (exit $ac_status); }; }; then
59224   glibcxx_cv_func__fmodf_use=yes
59225 else
59226   echo "$as_me: failed program was:" >&5
59227 sed 's/^/| /' conftest.$ac_ext >&5
59228
59229 glibcxx_cv_func__fmodf_use=no
59230 fi
59231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59232       ac_ext=c
59233 ac_cpp='$CPP $CPPFLAGS'
59234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59237
59238
59239 fi
59240
59241   fi
59242   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
59243 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
59244
59245     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59246
59247 for ac_func in _fmodf
59248 do
59249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59250 echo "$as_me:$LINENO: checking for $ac_func" >&5
59251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59252 if eval "test \"\${$as_ac_var+set}\" = set"; then
59253   echo $ECHO_N "(cached) $ECHO_C" >&6
59254 else
59255   if test x$gcc_no_link = xyes; then
59256   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59258    { (exit 1); exit 1; }; }
59259 fi
59260 cat >conftest.$ac_ext <<_ACEOF
59261 /* confdefs.h.  */
59262 _ACEOF
59263 cat confdefs.h >>conftest.$ac_ext
59264 cat >>conftest.$ac_ext <<_ACEOF
59265 /* end confdefs.h.  */
59266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59267    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59268 #define $ac_func innocuous_$ac_func
59269
59270 /* System header to define __stub macros and hopefully few prototypes,
59271     which can conflict with char $ac_func (); below.
59272     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59273     <limits.h> exists even on freestanding compilers.  */
59274
59275 #ifdef __STDC__
59276 # include <limits.h>
59277 #else
59278 # include <assert.h>
59279 #endif
59280
59281 #undef $ac_func
59282
59283 /* Override any gcc2 internal prototype to avoid an error.  */
59284 #ifdef __cplusplus
59285 extern "C"
59286 {
59287 #endif
59288 /* We use char because int might match the return type of a gcc2
59289    builtin and then its argument prototype would still apply.  */
59290 char $ac_func ();
59291 /* The GNU C library defines this for functions which it implements
59292     to always fail with ENOSYS.  Some functions are actually named
59293     something starting with __ and the normal name is an alias.  */
59294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59295 choke me
59296 #else
59297 char (*f) () = $ac_func;
59298 #endif
59299 #ifdef __cplusplus
59300 }
59301 #endif
59302
59303 int
59304 main ()
59305 {
59306 return f != $ac_func;
59307   ;
59308   return 0;
59309 }
59310 _ACEOF
59311 rm -f conftest.$ac_objext conftest$ac_exeext
59312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59313   (eval $ac_link) 2>conftest.er1
59314   ac_status=$?
59315   grep -v '^ *+' conftest.er1 >conftest.err
59316   rm -f conftest.er1
59317   cat conftest.err >&5
59318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59319   (exit $ac_status); } &&
59320          { ac_try='test -z "$ac_c_werror_flag"
59321                          || test ! -s conftest.err'
59322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59323   (eval $ac_try) 2>&5
59324   ac_status=$?
59325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59326   (exit $ac_status); }; } &&
59327          { ac_try='test -s conftest$ac_exeext'
59328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59329   (eval $ac_try) 2>&5
59330   ac_status=$?
59331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59332   (exit $ac_status); }; }; then
59333   eval "$as_ac_var=yes"
59334 else
59335   echo "$as_me: failed program was:" >&5
59336 sed 's/^/| /' conftest.$ac_ext >&5
59337
59338 eval "$as_ac_var=no"
59339 fi
59340 rm -f conftest.err conftest.$ac_objext \
59341       conftest$ac_exeext conftest.$ac_ext
59342 fi
59343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59345 if test `eval echo '${'$as_ac_var'}'` = yes; then
59346   cat >>confdefs.h <<_ACEOF
59347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59348 _ACEOF
59349
59350 fi
59351 done
59352
59353     fi
59354   fi
59355
59356
59357
59358   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
59359 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
59360   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59361     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
59362   echo $ECHO_N "(cached) $ECHO_C" >&6
59363 else
59364
59365
59366
59367       ac_ext=cc
59368 ac_cpp='$CXXCPP $CPPFLAGS'
59369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59372
59373       cat >conftest.$ac_ext <<_ACEOF
59374 /* confdefs.h.  */
59375 _ACEOF
59376 cat confdefs.h >>conftest.$ac_ext
59377 cat >>conftest.$ac_ext <<_ACEOF
59378 /* end confdefs.h.  */
59379 #include <math.h>
59380 int
59381 main ()
59382 {
59383  frexpf(0, 0);
59384   ;
59385   return 0;
59386 }
59387 _ACEOF
59388 rm -f conftest.$ac_objext
59389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59390   (eval $ac_compile) 2>conftest.er1
59391   ac_status=$?
59392   grep -v '^ *+' conftest.er1 >conftest.err
59393   rm -f conftest.er1
59394   cat conftest.err >&5
59395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59396   (exit $ac_status); } &&
59397          { ac_try='test -z "$ac_cxx_werror_flag"
59398                          || test ! -s conftest.err'
59399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59400   (eval $ac_try) 2>&5
59401   ac_status=$?
59402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59403   (exit $ac_status); }; } &&
59404          { ac_try='test -s conftest.$ac_objext'
59405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59406   (eval $ac_try) 2>&5
59407   ac_status=$?
59408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59409   (exit $ac_status); }; }; then
59410   glibcxx_cv_func_frexpf_use=yes
59411 else
59412   echo "$as_me: failed program was:" >&5
59413 sed 's/^/| /' conftest.$ac_ext >&5
59414
59415 glibcxx_cv_func_frexpf_use=no
59416 fi
59417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59418       ac_ext=c
59419 ac_cpp='$CPP $CPPFLAGS'
59420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59423
59424
59425 fi
59426
59427   fi
59428   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
59429 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
59430
59431   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59432
59433 for ac_func in frexpf
59434 do
59435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59436 echo "$as_me:$LINENO: checking for $ac_func" >&5
59437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59438 if eval "test \"\${$as_ac_var+set}\" = set"; then
59439   echo $ECHO_N "(cached) $ECHO_C" >&6
59440 else
59441   if test x$gcc_no_link = xyes; then
59442   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59444    { (exit 1); exit 1; }; }
59445 fi
59446 cat >conftest.$ac_ext <<_ACEOF
59447 /* confdefs.h.  */
59448 _ACEOF
59449 cat confdefs.h >>conftest.$ac_ext
59450 cat >>conftest.$ac_ext <<_ACEOF
59451 /* end confdefs.h.  */
59452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59453    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59454 #define $ac_func innocuous_$ac_func
59455
59456 /* System header to define __stub macros and hopefully few prototypes,
59457     which can conflict with char $ac_func (); below.
59458     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59459     <limits.h> exists even on freestanding compilers.  */
59460
59461 #ifdef __STDC__
59462 # include <limits.h>
59463 #else
59464 # include <assert.h>
59465 #endif
59466
59467 #undef $ac_func
59468
59469 /* Override any gcc2 internal prototype to avoid an error.  */
59470 #ifdef __cplusplus
59471 extern "C"
59472 {
59473 #endif
59474 /* We use char because int might match the return type of a gcc2
59475    builtin and then its argument prototype would still apply.  */
59476 char $ac_func ();
59477 /* The GNU C library defines this for functions which it implements
59478     to always fail with ENOSYS.  Some functions are actually named
59479     something starting with __ and the normal name is an alias.  */
59480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59481 choke me
59482 #else
59483 char (*f) () = $ac_func;
59484 #endif
59485 #ifdef __cplusplus
59486 }
59487 #endif
59488
59489 int
59490 main ()
59491 {
59492 return f != $ac_func;
59493   ;
59494   return 0;
59495 }
59496 _ACEOF
59497 rm -f conftest.$ac_objext conftest$ac_exeext
59498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59499   (eval $ac_link) 2>conftest.er1
59500   ac_status=$?
59501   grep -v '^ *+' conftest.er1 >conftest.err
59502   rm -f conftest.er1
59503   cat conftest.err >&5
59504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59505   (exit $ac_status); } &&
59506          { ac_try='test -z "$ac_c_werror_flag"
59507                          || test ! -s conftest.err'
59508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59509   (eval $ac_try) 2>&5
59510   ac_status=$?
59511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59512   (exit $ac_status); }; } &&
59513          { ac_try='test -s conftest$ac_exeext'
59514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59515   (eval $ac_try) 2>&5
59516   ac_status=$?
59517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59518   (exit $ac_status); }; }; then
59519   eval "$as_ac_var=yes"
59520 else
59521   echo "$as_me: failed program was:" >&5
59522 sed 's/^/| /' conftest.$ac_ext >&5
59523
59524 eval "$as_ac_var=no"
59525 fi
59526 rm -f conftest.err conftest.$ac_objext \
59527       conftest$ac_exeext conftest.$ac_ext
59528 fi
59529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59531 if test `eval echo '${'$as_ac_var'}'` = yes; then
59532   cat >>confdefs.h <<_ACEOF
59533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59534 _ACEOF
59535
59536 fi
59537 done
59538
59539   else
59540
59541   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
59542 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
59543   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59544     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
59545   echo $ECHO_N "(cached) $ECHO_C" >&6
59546 else
59547
59548
59549
59550       ac_ext=cc
59551 ac_cpp='$CXXCPP $CPPFLAGS'
59552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59555
59556       cat >conftest.$ac_ext <<_ACEOF
59557 /* confdefs.h.  */
59558 _ACEOF
59559 cat confdefs.h >>conftest.$ac_ext
59560 cat >>conftest.$ac_ext <<_ACEOF
59561 /* end confdefs.h.  */
59562 #include <math.h>
59563 int
59564 main ()
59565 {
59566  _frexpf(0, 0);
59567   ;
59568   return 0;
59569 }
59570 _ACEOF
59571 rm -f conftest.$ac_objext
59572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59573   (eval $ac_compile) 2>conftest.er1
59574   ac_status=$?
59575   grep -v '^ *+' conftest.er1 >conftest.err
59576   rm -f conftest.er1
59577   cat conftest.err >&5
59578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59579   (exit $ac_status); } &&
59580          { ac_try='test -z "$ac_cxx_werror_flag"
59581                          || test ! -s conftest.err'
59582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59583   (eval $ac_try) 2>&5
59584   ac_status=$?
59585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59586   (exit $ac_status); }; } &&
59587          { ac_try='test -s conftest.$ac_objext'
59588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59589   (eval $ac_try) 2>&5
59590   ac_status=$?
59591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59592   (exit $ac_status); }; }; then
59593   glibcxx_cv_func__frexpf_use=yes
59594 else
59595   echo "$as_me: failed program was:" >&5
59596 sed 's/^/| /' conftest.$ac_ext >&5
59597
59598 glibcxx_cv_func__frexpf_use=no
59599 fi
59600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59601       ac_ext=c
59602 ac_cpp='$CPP $CPPFLAGS'
59603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59606
59607
59608 fi
59609
59610   fi
59611   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
59612 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
59613
59614     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59615
59616 for ac_func in _frexpf
59617 do
59618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59619 echo "$as_me:$LINENO: checking for $ac_func" >&5
59620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59621 if eval "test \"\${$as_ac_var+set}\" = set"; then
59622   echo $ECHO_N "(cached) $ECHO_C" >&6
59623 else
59624   if test x$gcc_no_link = xyes; then
59625   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59627    { (exit 1); exit 1; }; }
59628 fi
59629 cat >conftest.$ac_ext <<_ACEOF
59630 /* confdefs.h.  */
59631 _ACEOF
59632 cat confdefs.h >>conftest.$ac_ext
59633 cat >>conftest.$ac_ext <<_ACEOF
59634 /* end confdefs.h.  */
59635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59636    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59637 #define $ac_func innocuous_$ac_func
59638
59639 /* System header to define __stub macros and hopefully few prototypes,
59640     which can conflict with char $ac_func (); below.
59641     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59642     <limits.h> exists even on freestanding compilers.  */
59643
59644 #ifdef __STDC__
59645 # include <limits.h>
59646 #else
59647 # include <assert.h>
59648 #endif
59649
59650 #undef $ac_func
59651
59652 /* Override any gcc2 internal prototype to avoid an error.  */
59653 #ifdef __cplusplus
59654 extern "C"
59655 {
59656 #endif
59657 /* We use char because int might match the return type of a gcc2
59658    builtin and then its argument prototype would still apply.  */
59659 char $ac_func ();
59660 /* The GNU C library defines this for functions which it implements
59661     to always fail with ENOSYS.  Some functions are actually named
59662     something starting with __ and the normal name is an alias.  */
59663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59664 choke me
59665 #else
59666 char (*f) () = $ac_func;
59667 #endif
59668 #ifdef __cplusplus
59669 }
59670 #endif
59671
59672 int
59673 main ()
59674 {
59675 return f != $ac_func;
59676   ;
59677   return 0;
59678 }
59679 _ACEOF
59680 rm -f conftest.$ac_objext conftest$ac_exeext
59681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59682   (eval $ac_link) 2>conftest.er1
59683   ac_status=$?
59684   grep -v '^ *+' conftest.er1 >conftest.err
59685   rm -f conftest.er1
59686   cat conftest.err >&5
59687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59688   (exit $ac_status); } &&
59689          { ac_try='test -z "$ac_c_werror_flag"
59690                          || test ! -s conftest.err'
59691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59692   (eval $ac_try) 2>&5
59693   ac_status=$?
59694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59695   (exit $ac_status); }; } &&
59696          { ac_try='test -s conftest$ac_exeext'
59697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59698   (eval $ac_try) 2>&5
59699   ac_status=$?
59700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59701   (exit $ac_status); }; }; then
59702   eval "$as_ac_var=yes"
59703 else
59704   echo "$as_me: failed program was:" >&5
59705 sed 's/^/| /' conftest.$ac_ext >&5
59706
59707 eval "$as_ac_var=no"
59708 fi
59709 rm -f conftest.err conftest.$ac_objext \
59710       conftest$ac_exeext conftest.$ac_ext
59711 fi
59712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59714 if test `eval echo '${'$as_ac_var'}'` = yes; then
59715   cat >>confdefs.h <<_ACEOF
59716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59717 _ACEOF
59718
59719 fi
59720 done
59721
59722     fi
59723   fi
59724
59725
59726
59727   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
59728 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
59729   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59730     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
59731   echo $ECHO_N "(cached) $ECHO_C" >&6
59732 else
59733
59734
59735
59736       ac_ext=cc
59737 ac_cpp='$CXXCPP $CPPFLAGS'
59738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59741
59742       cat >conftest.$ac_ext <<_ACEOF
59743 /* confdefs.h.  */
59744 _ACEOF
59745 cat confdefs.h >>conftest.$ac_ext
59746 cat >>conftest.$ac_ext <<_ACEOF
59747 /* end confdefs.h.  */
59748 #include <math.h>
59749 int
59750 main ()
59751 {
59752  hypotf(0, 0);
59753   ;
59754   return 0;
59755 }
59756 _ACEOF
59757 rm -f conftest.$ac_objext
59758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59759   (eval $ac_compile) 2>conftest.er1
59760   ac_status=$?
59761   grep -v '^ *+' conftest.er1 >conftest.err
59762   rm -f conftest.er1
59763   cat conftest.err >&5
59764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59765   (exit $ac_status); } &&
59766          { ac_try='test -z "$ac_cxx_werror_flag"
59767                          || test ! -s conftest.err'
59768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59769   (eval $ac_try) 2>&5
59770   ac_status=$?
59771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59772   (exit $ac_status); }; } &&
59773          { ac_try='test -s conftest.$ac_objext'
59774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59775   (eval $ac_try) 2>&5
59776   ac_status=$?
59777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59778   (exit $ac_status); }; }; then
59779   glibcxx_cv_func_hypotf_use=yes
59780 else
59781   echo "$as_me: failed program was:" >&5
59782 sed 's/^/| /' conftest.$ac_ext >&5
59783
59784 glibcxx_cv_func_hypotf_use=no
59785 fi
59786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59787       ac_ext=c
59788 ac_cpp='$CPP $CPPFLAGS'
59789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59792
59793
59794 fi
59795
59796   fi
59797   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
59798 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
59799
59800   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59801
59802 for ac_func in hypotf
59803 do
59804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59805 echo "$as_me:$LINENO: checking for $ac_func" >&5
59806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59807 if eval "test \"\${$as_ac_var+set}\" = set"; then
59808   echo $ECHO_N "(cached) $ECHO_C" >&6
59809 else
59810   if test x$gcc_no_link = xyes; then
59811   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59813    { (exit 1); exit 1; }; }
59814 fi
59815 cat >conftest.$ac_ext <<_ACEOF
59816 /* confdefs.h.  */
59817 _ACEOF
59818 cat confdefs.h >>conftest.$ac_ext
59819 cat >>conftest.$ac_ext <<_ACEOF
59820 /* end confdefs.h.  */
59821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59822    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59823 #define $ac_func innocuous_$ac_func
59824
59825 /* System header to define __stub macros and hopefully few prototypes,
59826     which can conflict with char $ac_func (); below.
59827     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59828     <limits.h> exists even on freestanding compilers.  */
59829
59830 #ifdef __STDC__
59831 # include <limits.h>
59832 #else
59833 # include <assert.h>
59834 #endif
59835
59836 #undef $ac_func
59837
59838 /* Override any gcc2 internal prototype to avoid an error.  */
59839 #ifdef __cplusplus
59840 extern "C"
59841 {
59842 #endif
59843 /* We use char because int might match the return type of a gcc2
59844    builtin and then its argument prototype would still apply.  */
59845 char $ac_func ();
59846 /* The GNU C library defines this for functions which it implements
59847     to always fail with ENOSYS.  Some functions are actually named
59848     something starting with __ and the normal name is an alias.  */
59849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59850 choke me
59851 #else
59852 char (*f) () = $ac_func;
59853 #endif
59854 #ifdef __cplusplus
59855 }
59856 #endif
59857
59858 int
59859 main ()
59860 {
59861 return f != $ac_func;
59862   ;
59863   return 0;
59864 }
59865 _ACEOF
59866 rm -f conftest.$ac_objext conftest$ac_exeext
59867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59868   (eval $ac_link) 2>conftest.er1
59869   ac_status=$?
59870   grep -v '^ *+' conftest.er1 >conftest.err
59871   rm -f conftest.er1
59872   cat conftest.err >&5
59873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59874   (exit $ac_status); } &&
59875          { ac_try='test -z "$ac_c_werror_flag"
59876                          || test ! -s conftest.err'
59877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59878   (eval $ac_try) 2>&5
59879   ac_status=$?
59880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59881   (exit $ac_status); }; } &&
59882          { ac_try='test -s conftest$ac_exeext'
59883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59884   (eval $ac_try) 2>&5
59885   ac_status=$?
59886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59887   (exit $ac_status); }; }; then
59888   eval "$as_ac_var=yes"
59889 else
59890   echo "$as_me: failed program was:" >&5
59891 sed 's/^/| /' conftest.$ac_ext >&5
59892
59893 eval "$as_ac_var=no"
59894 fi
59895 rm -f conftest.err conftest.$ac_objext \
59896       conftest$ac_exeext conftest.$ac_ext
59897 fi
59898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59899 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59900 if test `eval echo '${'$as_ac_var'}'` = yes; then
59901   cat >>confdefs.h <<_ACEOF
59902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59903 _ACEOF
59904
59905 fi
59906 done
59907
59908   else
59909
59910   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
59911 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
59912   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59913     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
59914   echo $ECHO_N "(cached) $ECHO_C" >&6
59915 else
59916
59917
59918
59919       ac_ext=cc
59920 ac_cpp='$CXXCPP $CPPFLAGS'
59921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59924
59925       cat >conftest.$ac_ext <<_ACEOF
59926 /* confdefs.h.  */
59927 _ACEOF
59928 cat confdefs.h >>conftest.$ac_ext
59929 cat >>conftest.$ac_ext <<_ACEOF
59930 /* end confdefs.h.  */
59931 #include <math.h>
59932 int
59933 main ()
59934 {
59935  _hypotf(0, 0);
59936   ;
59937   return 0;
59938 }
59939 _ACEOF
59940 rm -f conftest.$ac_objext
59941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59942   (eval $ac_compile) 2>conftest.er1
59943   ac_status=$?
59944   grep -v '^ *+' conftest.er1 >conftest.err
59945   rm -f conftest.er1
59946   cat conftest.err >&5
59947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59948   (exit $ac_status); } &&
59949          { ac_try='test -z "$ac_cxx_werror_flag"
59950                          || test ! -s conftest.err'
59951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59952   (eval $ac_try) 2>&5
59953   ac_status=$?
59954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59955   (exit $ac_status); }; } &&
59956          { ac_try='test -s conftest.$ac_objext'
59957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59958   (eval $ac_try) 2>&5
59959   ac_status=$?
59960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59961   (exit $ac_status); }; }; then
59962   glibcxx_cv_func__hypotf_use=yes
59963 else
59964   echo "$as_me: failed program was:" >&5
59965 sed 's/^/| /' conftest.$ac_ext >&5
59966
59967 glibcxx_cv_func__hypotf_use=no
59968 fi
59969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59970       ac_ext=c
59971 ac_cpp='$CPP $CPPFLAGS'
59972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59975
59976
59977 fi
59978
59979   fi
59980   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
59981 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
59982
59983     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59984
59985 for ac_func in _hypotf
59986 do
59987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59988 echo "$as_me:$LINENO: checking for $ac_func" >&5
59989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59990 if eval "test \"\${$as_ac_var+set}\" = set"; then
59991   echo $ECHO_N "(cached) $ECHO_C" >&6
59992 else
59993   if test x$gcc_no_link = xyes; then
59994   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59996    { (exit 1); exit 1; }; }
59997 fi
59998 cat >conftest.$ac_ext <<_ACEOF
59999 /* confdefs.h.  */
60000 _ACEOF
60001 cat confdefs.h >>conftest.$ac_ext
60002 cat >>conftest.$ac_ext <<_ACEOF
60003 /* end confdefs.h.  */
60004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60005    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60006 #define $ac_func innocuous_$ac_func
60007
60008 /* System header to define __stub macros and hopefully few prototypes,
60009     which can conflict with char $ac_func (); below.
60010     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60011     <limits.h> exists even on freestanding compilers.  */
60012
60013 #ifdef __STDC__
60014 # include <limits.h>
60015 #else
60016 # include <assert.h>
60017 #endif
60018
60019 #undef $ac_func
60020
60021 /* Override any gcc2 internal prototype to avoid an error.  */
60022 #ifdef __cplusplus
60023 extern "C"
60024 {
60025 #endif
60026 /* We use char because int might match the return type of a gcc2
60027    builtin and then its argument prototype would still apply.  */
60028 char $ac_func ();
60029 /* The GNU C library defines this for functions which it implements
60030     to always fail with ENOSYS.  Some functions are actually named
60031     something starting with __ and the normal name is an alias.  */
60032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60033 choke me
60034 #else
60035 char (*f) () = $ac_func;
60036 #endif
60037 #ifdef __cplusplus
60038 }
60039 #endif
60040
60041 int
60042 main ()
60043 {
60044 return f != $ac_func;
60045   ;
60046   return 0;
60047 }
60048 _ACEOF
60049 rm -f conftest.$ac_objext conftest$ac_exeext
60050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60051   (eval $ac_link) 2>conftest.er1
60052   ac_status=$?
60053   grep -v '^ *+' conftest.er1 >conftest.err
60054   rm -f conftest.er1
60055   cat conftest.err >&5
60056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60057   (exit $ac_status); } &&
60058          { ac_try='test -z "$ac_c_werror_flag"
60059                          || test ! -s conftest.err'
60060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60061   (eval $ac_try) 2>&5
60062   ac_status=$?
60063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60064   (exit $ac_status); }; } &&
60065          { ac_try='test -s conftest$ac_exeext'
60066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60067   (eval $ac_try) 2>&5
60068   ac_status=$?
60069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60070   (exit $ac_status); }; }; then
60071   eval "$as_ac_var=yes"
60072 else
60073   echo "$as_me: failed program was:" >&5
60074 sed 's/^/| /' conftest.$ac_ext >&5
60075
60076 eval "$as_ac_var=no"
60077 fi
60078 rm -f conftest.err conftest.$ac_objext \
60079       conftest$ac_exeext conftest.$ac_ext
60080 fi
60081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60083 if test `eval echo '${'$as_ac_var'}'` = yes; then
60084   cat >>confdefs.h <<_ACEOF
60085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60086 _ACEOF
60087
60088 fi
60089 done
60090
60091     fi
60092   fi
60093
60094
60095
60096   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
60097 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
60098   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60099     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
60100   echo $ECHO_N "(cached) $ECHO_C" >&6
60101 else
60102
60103
60104
60105       ac_ext=cc
60106 ac_cpp='$CXXCPP $CPPFLAGS'
60107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60110
60111       cat >conftest.$ac_ext <<_ACEOF
60112 /* confdefs.h.  */
60113 _ACEOF
60114 cat confdefs.h >>conftest.$ac_ext
60115 cat >>conftest.$ac_ext <<_ACEOF
60116 /* end confdefs.h.  */
60117 #include <math.h>
60118 int
60119 main ()
60120 {
60121  ldexpf(0, 0);
60122   ;
60123   return 0;
60124 }
60125 _ACEOF
60126 rm -f conftest.$ac_objext
60127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60128   (eval $ac_compile) 2>conftest.er1
60129   ac_status=$?
60130   grep -v '^ *+' conftest.er1 >conftest.err
60131   rm -f conftest.er1
60132   cat conftest.err >&5
60133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60134   (exit $ac_status); } &&
60135          { ac_try='test -z "$ac_cxx_werror_flag"
60136                          || test ! -s conftest.err'
60137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60138   (eval $ac_try) 2>&5
60139   ac_status=$?
60140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60141   (exit $ac_status); }; } &&
60142          { ac_try='test -s conftest.$ac_objext'
60143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60144   (eval $ac_try) 2>&5
60145   ac_status=$?
60146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60147   (exit $ac_status); }; }; then
60148   glibcxx_cv_func_ldexpf_use=yes
60149 else
60150   echo "$as_me: failed program was:" >&5
60151 sed 's/^/| /' conftest.$ac_ext >&5
60152
60153 glibcxx_cv_func_ldexpf_use=no
60154 fi
60155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60156       ac_ext=c
60157 ac_cpp='$CPP $CPPFLAGS'
60158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60161
60162
60163 fi
60164
60165   fi
60166   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
60167 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
60168
60169   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60170
60171 for ac_func in ldexpf
60172 do
60173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60174 echo "$as_me:$LINENO: checking for $ac_func" >&5
60175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60176 if eval "test \"\${$as_ac_var+set}\" = set"; then
60177   echo $ECHO_N "(cached) $ECHO_C" >&6
60178 else
60179   if test x$gcc_no_link = xyes; then
60180   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60182    { (exit 1); exit 1; }; }
60183 fi
60184 cat >conftest.$ac_ext <<_ACEOF
60185 /* confdefs.h.  */
60186 _ACEOF
60187 cat confdefs.h >>conftest.$ac_ext
60188 cat >>conftest.$ac_ext <<_ACEOF
60189 /* end confdefs.h.  */
60190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60191    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60192 #define $ac_func innocuous_$ac_func
60193
60194 /* System header to define __stub macros and hopefully few prototypes,
60195     which can conflict with char $ac_func (); below.
60196     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60197     <limits.h> exists even on freestanding compilers.  */
60198
60199 #ifdef __STDC__
60200 # include <limits.h>
60201 #else
60202 # include <assert.h>
60203 #endif
60204
60205 #undef $ac_func
60206
60207 /* Override any gcc2 internal prototype to avoid an error.  */
60208 #ifdef __cplusplus
60209 extern "C"
60210 {
60211 #endif
60212 /* We use char because int might match the return type of a gcc2
60213    builtin and then its argument prototype would still apply.  */
60214 char $ac_func ();
60215 /* The GNU C library defines this for functions which it implements
60216     to always fail with ENOSYS.  Some functions are actually named
60217     something starting with __ and the normal name is an alias.  */
60218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60219 choke me
60220 #else
60221 char (*f) () = $ac_func;
60222 #endif
60223 #ifdef __cplusplus
60224 }
60225 #endif
60226
60227 int
60228 main ()
60229 {
60230 return f != $ac_func;
60231   ;
60232   return 0;
60233 }
60234 _ACEOF
60235 rm -f conftest.$ac_objext conftest$ac_exeext
60236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60237   (eval $ac_link) 2>conftest.er1
60238   ac_status=$?
60239   grep -v '^ *+' conftest.er1 >conftest.err
60240   rm -f conftest.er1
60241   cat conftest.err >&5
60242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60243   (exit $ac_status); } &&
60244          { ac_try='test -z "$ac_c_werror_flag"
60245                          || test ! -s conftest.err'
60246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60247   (eval $ac_try) 2>&5
60248   ac_status=$?
60249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60250   (exit $ac_status); }; } &&
60251          { ac_try='test -s conftest$ac_exeext'
60252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60253   (eval $ac_try) 2>&5
60254   ac_status=$?
60255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60256   (exit $ac_status); }; }; then
60257   eval "$as_ac_var=yes"
60258 else
60259   echo "$as_me: failed program was:" >&5
60260 sed 's/^/| /' conftest.$ac_ext >&5
60261
60262 eval "$as_ac_var=no"
60263 fi
60264 rm -f conftest.err conftest.$ac_objext \
60265       conftest$ac_exeext conftest.$ac_ext
60266 fi
60267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60269 if test `eval echo '${'$as_ac_var'}'` = yes; then
60270   cat >>confdefs.h <<_ACEOF
60271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60272 _ACEOF
60273
60274 fi
60275 done
60276
60277   else
60278
60279   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
60280 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
60281   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60282     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
60283   echo $ECHO_N "(cached) $ECHO_C" >&6
60284 else
60285
60286
60287
60288       ac_ext=cc
60289 ac_cpp='$CXXCPP $CPPFLAGS'
60290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60293
60294       cat >conftest.$ac_ext <<_ACEOF
60295 /* confdefs.h.  */
60296 _ACEOF
60297 cat confdefs.h >>conftest.$ac_ext
60298 cat >>conftest.$ac_ext <<_ACEOF
60299 /* end confdefs.h.  */
60300 #include <math.h>
60301 int
60302 main ()
60303 {
60304  _ldexpf(0, 0);
60305   ;
60306   return 0;
60307 }
60308 _ACEOF
60309 rm -f conftest.$ac_objext
60310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60311   (eval $ac_compile) 2>conftest.er1
60312   ac_status=$?
60313   grep -v '^ *+' conftest.er1 >conftest.err
60314   rm -f conftest.er1
60315   cat conftest.err >&5
60316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60317   (exit $ac_status); } &&
60318          { ac_try='test -z "$ac_cxx_werror_flag"
60319                          || test ! -s conftest.err'
60320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60321   (eval $ac_try) 2>&5
60322   ac_status=$?
60323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60324   (exit $ac_status); }; } &&
60325          { ac_try='test -s conftest.$ac_objext'
60326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60327   (eval $ac_try) 2>&5
60328   ac_status=$?
60329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60330   (exit $ac_status); }; }; then
60331   glibcxx_cv_func__ldexpf_use=yes
60332 else
60333   echo "$as_me: failed program was:" >&5
60334 sed 's/^/| /' conftest.$ac_ext >&5
60335
60336 glibcxx_cv_func__ldexpf_use=no
60337 fi
60338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60339       ac_ext=c
60340 ac_cpp='$CPP $CPPFLAGS'
60341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60344
60345
60346 fi
60347
60348   fi
60349   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
60350 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
60351
60352     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60353
60354 for ac_func in _ldexpf
60355 do
60356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60357 echo "$as_me:$LINENO: checking for $ac_func" >&5
60358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60359 if eval "test \"\${$as_ac_var+set}\" = set"; then
60360   echo $ECHO_N "(cached) $ECHO_C" >&6
60361 else
60362   if test x$gcc_no_link = xyes; then
60363   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60365    { (exit 1); exit 1; }; }
60366 fi
60367 cat >conftest.$ac_ext <<_ACEOF
60368 /* confdefs.h.  */
60369 _ACEOF
60370 cat confdefs.h >>conftest.$ac_ext
60371 cat >>conftest.$ac_ext <<_ACEOF
60372 /* end confdefs.h.  */
60373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60374    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60375 #define $ac_func innocuous_$ac_func
60376
60377 /* System header to define __stub macros and hopefully few prototypes,
60378     which can conflict with char $ac_func (); below.
60379     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60380     <limits.h> exists even on freestanding compilers.  */
60381
60382 #ifdef __STDC__
60383 # include <limits.h>
60384 #else
60385 # include <assert.h>
60386 #endif
60387
60388 #undef $ac_func
60389
60390 /* Override any gcc2 internal prototype to avoid an error.  */
60391 #ifdef __cplusplus
60392 extern "C"
60393 {
60394 #endif
60395 /* We use char because int might match the return type of a gcc2
60396    builtin and then its argument prototype would still apply.  */
60397 char $ac_func ();
60398 /* The GNU C library defines this for functions which it implements
60399     to always fail with ENOSYS.  Some functions are actually named
60400     something starting with __ and the normal name is an alias.  */
60401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60402 choke me
60403 #else
60404 char (*f) () = $ac_func;
60405 #endif
60406 #ifdef __cplusplus
60407 }
60408 #endif
60409
60410 int
60411 main ()
60412 {
60413 return f != $ac_func;
60414   ;
60415   return 0;
60416 }
60417 _ACEOF
60418 rm -f conftest.$ac_objext conftest$ac_exeext
60419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60420   (eval $ac_link) 2>conftest.er1
60421   ac_status=$?
60422   grep -v '^ *+' conftest.er1 >conftest.err
60423   rm -f conftest.er1
60424   cat conftest.err >&5
60425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60426   (exit $ac_status); } &&
60427          { ac_try='test -z "$ac_c_werror_flag"
60428                          || test ! -s conftest.err'
60429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60430   (eval $ac_try) 2>&5
60431   ac_status=$?
60432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60433   (exit $ac_status); }; } &&
60434          { ac_try='test -s conftest$ac_exeext'
60435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60436   (eval $ac_try) 2>&5
60437   ac_status=$?
60438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60439   (exit $ac_status); }; }; then
60440   eval "$as_ac_var=yes"
60441 else
60442   echo "$as_me: failed program was:" >&5
60443 sed 's/^/| /' conftest.$ac_ext >&5
60444
60445 eval "$as_ac_var=no"
60446 fi
60447 rm -f conftest.err conftest.$ac_objext \
60448       conftest$ac_exeext conftest.$ac_ext
60449 fi
60450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60452 if test `eval echo '${'$as_ac_var'}'` = yes; then
60453   cat >>confdefs.h <<_ACEOF
60454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60455 _ACEOF
60456
60457 fi
60458 done
60459
60460     fi
60461   fi
60462
60463
60464
60465   echo "$as_me:$LINENO: checking for logf declaration" >&5
60466 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
60467   if test x${glibcxx_cv_func_logf_use+set} != xset; then
60468     if test "${glibcxx_cv_func_logf_use+set}" = set; then
60469   echo $ECHO_N "(cached) $ECHO_C" >&6
60470 else
60471
60472
60473
60474       ac_ext=cc
60475 ac_cpp='$CXXCPP $CPPFLAGS'
60476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60479
60480       cat >conftest.$ac_ext <<_ACEOF
60481 /* confdefs.h.  */
60482 _ACEOF
60483 cat confdefs.h >>conftest.$ac_ext
60484 cat >>conftest.$ac_ext <<_ACEOF
60485 /* end confdefs.h.  */
60486 #include <math.h>
60487                       #ifdef HAVE_IEEEFP_H
60488                       #include <ieeefp.h>
60489                       #endif
60490
60491 int
60492 main ()
60493 {
60494  logf(0);
60495   ;
60496   return 0;
60497 }
60498 _ACEOF
60499 rm -f conftest.$ac_objext
60500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60501   (eval $ac_compile) 2>conftest.er1
60502   ac_status=$?
60503   grep -v '^ *+' conftest.er1 >conftest.err
60504   rm -f conftest.er1
60505   cat conftest.err >&5
60506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60507   (exit $ac_status); } &&
60508          { ac_try='test -z "$ac_cxx_werror_flag"
60509                          || test ! -s conftest.err'
60510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60511   (eval $ac_try) 2>&5
60512   ac_status=$?
60513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60514   (exit $ac_status); }; } &&
60515          { ac_try='test -s conftest.$ac_objext'
60516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60517   (eval $ac_try) 2>&5
60518   ac_status=$?
60519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60520   (exit $ac_status); }; }; then
60521   glibcxx_cv_func_logf_use=yes
60522 else
60523   echo "$as_me: failed program was:" >&5
60524 sed 's/^/| /' conftest.$ac_ext >&5
60525
60526 glibcxx_cv_func_logf_use=no
60527 fi
60528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60529       ac_ext=c
60530 ac_cpp='$CPP $CPPFLAGS'
60531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60534
60535
60536 fi
60537
60538   fi
60539   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
60540 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
60541
60542   if test x$glibcxx_cv_func_logf_use = x"yes"; then
60543
60544 for ac_func in logf
60545 do
60546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60547 echo "$as_me:$LINENO: checking for $ac_func" >&5
60548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60549 if eval "test \"\${$as_ac_var+set}\" = set"; then
60550   echo $ECHO_N "(cached) $ECHO_C" >&6
60551 else
60552   if test x$gcc_no_link = xyes; then
60553   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60555    { (exit 1); exit 1; }; }
60556 fi
60557 cat >conftest.$ac_ext <<_ACEOF
60558 /* confdefs.h.  */
60559 _ACEOF
60560 cat confdefs.h >>conftest.$ac_ext
60561 cat >>conftest.$ac_ext <<_ACEOF
60562 /* end confdefs.h.  */
60563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60564    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60565 #define $ac_func innocuous_$ac_func
60566
60567 /* System header to define __stub macros and hopefully few prototypes,
60568     which can conflict with char $ac_func (); below.
60569     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60570     <limits.h> exists even on freestanding compilers.  */
60571
60572 #ifdef __STDC__
60573 # include <limits.h>
60574 #else
60575 # include <assert.h>
60576 #endif
60577
60578 #undef $ac_func
60579
60580 /* Override any gcc2 internal prototype to avoid an error.  */
60581 #ifdef __cplusplus
60582 extern "C"
60583 {
60584 #endif
60585 /* We use char because int might match the return type of a gcc2
60586    builtin and then its argument prototype would still apply.  */
60587 char $ac_func ();
60588 /* The GNU C library defines this for functions which it implements
60589     to always fail with ENOSYS.  Some functions are actually named
60590     something starting with __ and the normal name is an alias.  */
60591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60592 choke me
60593 #else
60594 char (*f) () = $ac_func;
60595 #endif
60596 #ifdef __cplusplus
60597 }
60598 #endif
60599
60600 int
60601 main ()
60602 {
60603 return f != $ac_func;
60604   ;
60605   return 0;
60606 }
60607 _ACEOF
60608 rm -f conftest.$ac_objext conftest$ac_exeext
60609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60610   (eval $ac_link) 2>conftest.er1
60611   ac_status=$?
60612   grep -v '^ *+' conftest.er1 >conftest.err
60613   rm -f conftest.er1
60614   cat conftest.err >&5
60615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60616   (exit $ac_status); } &&
60617          { ac_try='test -z "$ac_c_werror_flag"
60618                          || test ! -s conftest.err'
60619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60620   (eval $ac_try) 2>&5
60621   ac_status=$?
60622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60623   (exit $ac_status); }; } &&
60624          { ac_try='test -s conftest$ac_exeext'
60625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60626   (eval $ac_try) 2>&5
60627   ac_status=$?
60628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60629   (exit $ac_status); }; }; then
60630   eval "$as_ac_var=yes"
60631 else
60632   echo "$as_me: failed program was:" >&5
60633 sed 's/^/| /' conftest.$ac_ext >&5
60634
60635 eval "$as_ac_var=no"
60636 fi
60637 rm -f conftest.err conftest.$ac_objext \
60638       conftest$ac_exeext conftest.$ac_ext
60639 fi
60640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60642 if test `eval echo '${'$as_ac_var'}'` = yes; then
60643   cat >>confdefs.h <<_ACEOF
60644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60645 _ACEOF
60646
60647 fi
60648 done
60649
60650   else
60651
60652   echo "$as_me:$LINENO: checking for _logf declaration" >&5
60653 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
60654   if test x${glibcxx_cv_func__logf_use+set} != xset; then
60655     if test "${glibcxx_cv_func__logf_use+set}" = set; then
60656   echo $ECHO_N "(cached) $ECHO_C" >&6
60657 else
60658
60659
60660
60661       ac_ext=cc
60662 ac_cpp='$CXXCPP $CPPFLAGS'
60663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60666
60667       cat >conftest.$ac_ext <<_ACEOF
60668 /* confdefs.h.  */
60669 _ACEOF
60670 cat confdefs.h >>conftest.$ac_ext
60671 cat >>conftest.$ac_ext <<_ACEOF
60672 /* end confdefs.h.  */
60673 #include <math.h>
60674                       #ifdef HAVE_IEEEFP_H
60675                       #include <ieeefp.h>
60676                       #endif
60677
60678 int
60679 main ()
60680 {
60681  _logf(0);
60682   ;
60683   return 0;
60684 }
60685 _ACEOF
60686 rm -f conftest.$ac_objext
60687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60688   (eval $ac_compile) 2>conftest.er1
60689   ac_status=$?
60690   grep -v '^ *+' conftest.er1 >conftest.err
60691   rm -f conftest.er1
60692   cat conftest.err >&5
60693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60694   (exit $ac_status); } &&
60695          { ac_try='test -z "$ac_cxx_werror_flag"
60696                          || test ! -s conftest.err'
60697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60698   (eval $ac_try) 2>&5
60699   ac_status=$?
60700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60701   (exit $ac_status); }; } &&
60702          { ac_try='test -s conftest.$ac_objext'
60703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60704   (eval $ac_try) 2>&5
60705   ac_status=$?
60706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60707   (exit $ac_status); }; }; then
60708   glibcxx_cv_func__logf_use=yes
60709 else
60710   echo "$as_me: failed program was:" >&5
60711 sed 's/^/| /' conftest.$ac_ext >&5
60712
60713 glibcxx_cv_func__logf_use=no
60714 fi
60715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60716       ac_ext=c
60717 ac_cpp='$CPP $CPPFLAGS'
60718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60721
60722
60723 fi
60724
60725   fi
60726   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
60727 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
60728
60729     if test x$glibcxx_cv_func__logf_use = x"yes"; then
60730
60731 for ac_func in _logf
60732 do
60733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60734 echo "$as_me:$LINENO: checking for $ac_func" >&5
60735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60736 if eval "test \"\${$as_ac_var+set}\" = set"; then
60737   echo $ECHO_N "(cached) $ECHO_C" >&6
60738 else
60739   if test x$gcc_no_link = xyes; then
60740   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60742    { (exit 1); exit 1; }; }
60743 fi
60744 cat >conftest.$ac_ext <<_ACEOF
60745 /* confdefs.h.  */
60746 _ACEOF
60747 cat confdefs.h >>conftest.$ac_ext
60748 cat >>conftest.$ac_ext <<_ACEOF
60749 /* end confdefs.h.  */
60750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60751    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60752 #define $ac_func innocuous_$ac_func
60753
60754 /* System header to define __stub macros and hopefully few prototypes,
60755     which can conflict with char $ac_func (); below.
60756     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60757     <limits.h> exists even on freestanding compilers.  */
60758
60759 #ifdef __STDC__
60760 # include <limits.h>
60761 #else
60762 # include <assert.h>
60763 #endif
60764
60765 #undef $ac_func
60766
60767 /* Override any gcc2 internal prototype to avoid an error.  */
60768 #ifdef __cplusplus
60769 extern "C"
60770 {
60771 #endif
60772 /* We use char because int might match the return type of a gcc2
60773    builtin and then its argument prototype would still apply.  */
60774 char $ac_func ();
60775 /* The GNU C library defines this for functions which it implements
60776     to always fail with ENOSYS.  Some functions are actually named
60777     something starting with __ and the normal name is an alias.  */
60778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60779 choke me
60780 #else
60781 char (*f) () = $ac_func;
60782 #endif
60783 #ifdef __cplusplus
60784 }
60785 #endif
60786
60787 int
60788 main ()
60789 {
60790 return f != $ac_func;
60791   ;
60792   return 0;
60793 }
60794 _ACEOF
60795 rm -f conftest.$ac_objext conftest$ac_exeext
60796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60797   (eval $ac_link) 2>conftest.er1
60798   ac_status=$?
60799   grep -v '^ *+' conftest.er1 >conftest.err
60800   rm -f conftest.er1
60801   cat conftest.err >&5
60802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60803   (exit $ac_status); } &&
60804          { ac_try='test -z "$ac_c_werror_flag"
60805                          || test ! -s conftest.err'
60806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60807   (eval $ac_try) 2>&5
60808   ac_status=$?
60809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60810   (exit $ac_status); }; } &&
60811          { ac_try='test -s conftest$ac_exeext'
60812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60813   (eval $ac_try) 2>&5
60814   ac_status=$?
60815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60816   (exit $ac_status); }; }; then
60817   eval "$as_ac_var=yes"
60818 else
60819   echo "$as_me: failed program was:" >&5
60820 sed 's/^/| /' conftest.$ac_ext >&5
60821
60822 eval "$as_ac_var=no"
60823 fi
60824 rm -f conftest.err conftest.$ac_objext \
60825       conftest$ac_exeext conftest.$ac_ext
60826 fi
60827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60829 if test `eval echo '${'$as_ac_var'}'` = yes; then
60830   cat >>confdefs.h <<_ACEOF
60831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60832 _ACEOF
60833
60834 fi
60835 done
60836
60837     fi
60838   fi
60839
60840
60841
60842   echo "$as_me:$LINENO: checking for log10f declaration" >&5
60843 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
60844   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60845     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
60846   echo $ECHO_N "(cached) $ECHO_C" >&6
60847 else
60848
60849
60850
60851       ac_ext=cc
60852 ac_cpp='$CXXCPP $CPPFLAGS'
60853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60856
60857       cat >conftest.$ac_ext <<_ACEOF
60858 /* confdefs.h.  */
60859 _ACEOF
60860 cat confdefs.h >>conftest.$ac_ext
60861 cat >>conftest.$ac_ext <<_ACEOF
60862 /* end confdefs.h.  */
60863 #include <math.h>
60864                       #ifdef HAVE_IEEEFP_H
60865                       #include <ieeefp.h>
60866                       #endif
60867
60868 int
60869 main ()
60870 {
60871  log10f(0);
60872   ;
60873   return 0;
60874 }
60875 _ACEOF
60876 rm -f conftest.$ac_objext
60877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60878   (eval $ac_compile) 2>conftest.er1
60879   ac_status=$?
60880   grep -v '^ *+' conftest.er1 >conftest.err
60881   rm -f conftest.er1
60882   cat conftest.err >&5
60883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60884   (exit $ac_status); } &&
60885          { ac_try='test -z "$ac_cxx_werror_flag"
60886                          || test ! -s conftest.err'
60887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60888   (eval $ac_try) 2>&5
60889   ac_status=$?
60890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60891   (exit $ac_status); }; } &&
60892          { ac_try='test -s conftest.$ac_objext'
60893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60894   (eval $ac_try) 2>&5
60895   ac_status=$?
60896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60897   (exit $ac_status); }; }; then
60898   glibcxx_cv_func_log10f_use=yes
60899 else
60900   echo "$as_me: failed program was:" >&5
60901 sed 's/^/| /' conftest.$ac_ext >&5
60902
60903 glibcxx_cv_func_log10f_use=no
60904 fi
60905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60906       ac_ext=c
60907 ac_cpp='$CPP $CPPFLAGS'
60908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60911
60912
60913 fi
60914
60915   fi
60916   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
60917 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
60918
60919   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60920
60921 for ac_func in log10f
60922 do
60923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60924 echo "$as_me:$LINENO: checking for $ac_func" >&5
60925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60926 if eval "test \"\${$as_ac_var+set}\" = set"; then
60927   echo $ECHO_N "(cached) $ECHO_C" >&6
60928 else
60929   if test x$gcc_no_link = xyes; then
60930   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60932    { (exit 1); exit 1; }; }
60933 fi
60934 cat >conftest.$ac_ext <<_ACEOF
60935 /* confdefs.h.  */
60936 _ACEOF
60937 cat confdefs.h >>conftest.$ac_ext
60938 cat >>conftest.$ac_ext <<_ACEOF
60939 /* end confdefs.h.  */
60940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60941    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60942 #define $ac_func innocuous_$ac_func
60943
60944 /* System header to define __stub macros and hopefully few prototypes,
60945     which can conflict with char $ac_func (); below.
60946     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60947     <limits.h> exists even on freestanding compilers.  */
60948
60949 #ifdef __STDC__
60950 # include <limits.h>
60951 #else
60952 # include <assert.h>
60953 #endif
60954
60955 #undef $ac_func
60956
60957 /* Override any gcc2 internal prototype to avoid an error.  */
60958 #ifdef __cplusplus
60959 extern "C"
60960 {
60961 #endif
60962 /* We use char because int might match the return type of a gcc2
60963    builtin and then its argument prototype would still apply.  */
60964 char $ac_func ();
60965 /* The GNU C library defines this for functions which it implements
60966     to always fail with ENOSYS.  Some functions are actually named
60967     something starting with __ and the normal name is an alias.  */
60968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60969 choke me
60970 #else
60971 char (*f) () = $ac_func;
60972 #endif
60973 #ifdef __cplusplus
60974 }
60975 #endif
60976
60977 int
60978 main ()
60979 {
60980 return f != $ac_func;
60981   ;
60982   return 0;
60983 }
60984 _ACEOF
60985 rm -f conftest.$ac_objext conftest$ac_exeext
60986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60987   (eval $ac_link) 2>conftest.er1
60988   ac_status=$?
60989   grep -v '^ *+' conftest.er1 >conftest.err
60990   rm -f conftest.er1
60991   cat conftest.err >&5
60992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60993   (exit $ac_status); } &&
60994          { ac_try='test -z "$ac_c_werror_flag"
60995                          || test ! -s conftest.err'
60996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60997   (eval $ac_try) 2>&5
60998   ac_status=$?
60999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61000   (exit $ac_status); }; } &&
61001          { ac_try='test -s conftest$ac_exeext'
61002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61003   (eval $ac_try) 2>&5
61004   ac_status=$?
61005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61006   (exit $ac_status); }; }; then
61007   eval "$as_ac_var=yes"
61008 else
61009   echo "$as_me: failed program was:" >&5
61010 sed 's/^/| /' conftest.$ac_ext >&5
61011
61012 eval "$as_ac_var=no"
61013 fi
61014 rm -f conftest.err conftest.$ac_objext \
61015       conftest$ac_exeext conftest.$ac_ext
61016 fi
61017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61019 if test `eval echo '${'$as_ac_var'}'` = yes; then
61020   cat >>confdefs.h <<_ACEOF
61021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61022 _ACEOF
61023
61024 fi
61025 done
61026
61027   else
61028
61029   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
61030 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
61031   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61032     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
61033   echo $ECHO_N "(cached) $ECHO_C" >&6
61034 else
61035
61036
61037
61038       ac_ext=cc
61039 ac_cpp='$CXXCPP $CPPFLAGS'
61040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61043
61044       cat >conftest.$ac_ext <<_ACEOF
61045 /* confdefs.h.  */
61046 _ACEOF
61047 cat confdefs.h >>conftest.$ac_ext
61048 cat >>conftest.$ac_ext <<_ACEOF
61049 /* end confdefs.h.  */
61050 #include <math.h>
61051                       #ifdef HAVE_IEEEFP_H
61052                       #include <ieeefp.h>
61053                       #endif
61054
61055 int
61056 main ()
61057 {
61058  _log10f(0);
61059   ;
61060   return 0;
61061 }
61062 _ACEOF
61063 rm -f conftest.$ac_objext
61064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61065   (eval $ac_compile) 2>conftest.er1
61066   ac_status=$?
61067   grep -v '^ *+' conftest.er1 >conftest.err
61068   rm -f conftest.er1
61069   cat conftest.err >&5
61070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61071   (exit $ac_status); } &&
61072          { ac_try='test -z "$ac_cxx_werror_flag"
61073                          || test ! -s conftest.err'
61074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61075   (eval $ac_try) 2>&5
61076   ac_status=$?
61077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61078   (exit $ac_status); }; } &&
61079          { ac_try='test -s conftest.$ac_objext'
61080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61081   (eval $ac_try) 2>&5
61082   ac_status=$?
61083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61084   (exit $ac_status); }; }; then
61085   glibcxx_cv_func__log10f_use=yes
61086 else
61087   echo "$as_me: failed program was:" >&5
61088 sed 's/^/| /' conftest.$ac_ext >&5
61089
61090 glibcxx_cv_func__log10f_use=no
61091 fi
61092 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61093       ac_ext=c
61094 ac_cpp='$CPP $CPPFLAGS'
61095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61098
61099
61100 fi
61101
61102   fi
61103   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
61104 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
61105
61106     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61107
61108 for ac_func in _log10f
61109 do
61110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61111 echo "$as_me:$LINENO: checking for $ac_func" >&5
61112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61113 if eval "test \"\${$as_ac_var+set}\" = set"; then
61114   echo $ECHO_N "(cached) $ECHO_C" >&6
61115 else
61116   if test x$gcc_no_link = xyes; then
61117   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61119    { (exit 1); exit 1; }; }
61120 fi
61121 cat >conftest.$ac_ext <<_ACEOF
61122 /* confdefs.h.  */
61123 _ACEOF
61124 cat confdefs.h >>conftest.$ac_ext
61125 cat >>conftest.$ac_ext <<_ACEOF
61126 /* end confdefs.h.  */
61127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61128    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61129 #define $ac_func innocuous_$ac_func
61130
61131 /* System header to define __stub macros and hopefully few prototypes,
61132     which can conflict with char $ac_func (); below.
61133     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61134     <limits.h> exists even on freestanding compilers.  */
61135
61136 #ifdef __STDC__
61137 # include <limits.h>
61138 #else
61139 # include <assert.h>
61140 #endif
61141
61142 #undef $ac_func
61143
61144 /* Override any gcc2 internal prototype to avoid an error.  */
61145 #ifdef __cplusplus
61146 extern "C"
61147 {
61148 #endif
61149 /* We use char because int might match the return type of a gcc2
61150    builtin and then its argument prototype would still apply.  */
61151 char $ac_func ();
61152 /* The GNU C library defines this for functions which it implements
61153     to always fail with ENOSYS.  Some functions are actually named
61154     something starting with __ and the normal name is an alias.  */
61155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61156 choke me
61157 #else
61158 char (*f) () = $ac_func;
61159 #endif
61160 #ifdef __cplusplus
61161 }
61162 #endif
61163
61164 int
61165 main ()
61166 {
61167 return f != $ac_func;
61168   ;
61169   return 0;
61170 }
61171 _ACEOF
61172 rm -f conftest.$ac_objext conftest$ac_exeext
61173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61174   (eval $ac_link) 2>conftest.er1
61175   ac_status=$?
61176   grep -v '^ *+' conftest.er1 >conftest.err
61177   rm -f conftest.er1
61178   cat conftest.err >&5
61179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61180   (exit $ac_status); } &&
61181          { ac_try='test -z "$ac_c_werror_flag"
61182                          || test ! -s conftest.err'
61183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61184   (eval $ac_try) 2>&5
61185   ac_status=$?
61186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61187   (exit $ac_status); }; } &&
61188          { ac_try='test -s conftest$ac_exeext'
61189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61190   (eval $ac_try) 2>&5
61191   ac_status=$?
61192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61193   (exit $ac_status); }; }; then
61194   eval "$as_ac_var=yes"
61195 else
61196   echo "$as_me: failed program was:" >&5
61197 sed 's/^/| /' conftest.$ac_ext >&5
61198
61199 eval "$as_ac_var=no"
61200 fi
61201 rm -f conftest.err conftest.$ac_objext \
61202       conftest$ac_exeext conftest.$ac_ext
61203 fi
61204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61206 if test `eval echo '${'$as_ac_var'}'` = yes; then
61207   cat >>confdefs.h <<_ACEOF
61208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61209 _ACEOF
61210
61211 fi
61212 done
61213
61214     fi
61215   fi
61216
61217
61218
61219   echo "$as_me:$LINENO: checking for modff declaration" >&5
61220 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
61221   if test x${glibcxx_cv_func_modff_use+set} != xset; then
61222     if test "${glibcxx_cv_func_modff_use+set}" = set; then
61223   echo $ECHO_N "(cached) $ECHO_C" >&6
61224 else
61225
61226
61227
61228       ac_ext=cc
61229 ac_cpp='$CXXCPP $CPPFLAGS'
61230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61233
61234       cat >conftest.$ac_ext <<_ACEOF
61235 /* confdefs.h.  */
61236 _ACEOF
61237 cat confdefs.h >>conftest.$ac_ext
61238 cat >>conftest.$ac_ext <<_ACEOF
61239 /* end confdefs.h.  */
61240 #include <math.h>
61241 int
61242 main ()
61243 {
61244  modff(0, 0);
61245   ;
61246   return 0;
61247 }
61248 _ACEOF
61249 rm -f conftest.$ac_objext
61250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61251   (eval $ac_compile) 2>conftest.er1
61252   ac_status=$?
61253   grep -v '^ *+' conftest.er1 >conftest.err
61254   rm -f conftest.er1
61255   cat conftest.err >&5
61256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61257   (exit $ac_status); } &&
61258          { ac_try='test -z "$ac_cxx_werror_flag"
61259                          || test ! -s conftest.err'
61260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61261   (eval $ac_try) 2>&5
61262   ac_status=$?
61263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61264   (exit $ac_status); }; } &&
61265          { ac_try='test -s conftest.$ac_objext'
61266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61267   (eval $ac_try) 2>&5
61268   ac_status=$?
61269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61270   (exit $ac_status); }; }; then
61271   glibcxx_cv_func_modff_use=yes
61272 else
61273   echo "$as_me: failed program was:" >&5
61274 sed 's/^/| /' conftest.$ac_ext >&5
61275
61276 glibcxx_cv_func_modff_use=no
61277 fi
61278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61279       ac_ext=c
61280 ac_cpp='$CPP $CPPFLAGS'
61281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61284
61285
61286 fi
61287
61288   fi
61289   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
61290 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
61291
61292   if test x$glibcxx_cv_func_modff_use = x"yes"; then
61293
61294 for ac_func in modff
61295 do
61296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61297 echo "$as_me:$LINENO: checking for $ac_func" >&5
61298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61299 if eval "test \"\${$as_ac_var+set}\" = set"; then
61300   echo $ECHO_N "(cached) $ECHO_C" >&6
61301 else
61302   if test x$gcc_no_link = xyes; then
61303   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61305    { (exit 1); exit 1; }; }
61306 fi
61307 cat >conftest.$ac_ext <<_ACEOF
61308 /* confdefs.h.  */
61309 _ACEOF
61310 cat confdefs.h >>conftest.$ac_ext
61311 cat >>conftest.$ac_ext <<_ACEOF
61312 /* end confdefs.h.  */
61313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61314    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61315 #define $ac_func innocuous_$ac_func
61316
61317 /* System header to define __stub macros and hopefully few prototypes,
61318     which can conflict with char $ac_func (); below.
61319     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61320     <limits.h> exists even on freestanding compilers.  */
61321
61322 #ifdef __STDC__
61323 # include <limits.h>
61324 #else
61325 # include <assert.h>
61326 #endif
61327
61328 #undef $ac_func
61329
61330 /* Override any gcc2 internal prototype to avoid an error.  */
61331 #ifdef __cplusplus
61332 extern "C"
61333 {
61334 #endif
61335 /* We use char because int might match the return type of a gcc2
61336    builtin and then its argument prototype would still apply.  */
61337 char $ac_func ();
61338 /* The GNU C library defines this for functions which it implements
61339     to always fail with ENOSYS.  Some functions are actually named
61340     something starting with __ and the normal name is an alias.  */
61341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61342 choke me
61343 #else
61344 char (*f) () = $ac_func;
61345 #endif
61346 #ifdef __cplusplus
61347 }
61348 #endif
61349
61350 int
61351 main ()
61352 {
61353 return f != $ac_func;
61354   ;
61355   return 0;
61356 }
61357 _ACEOF
61358 rm -f conftest.$ac_objext conftest$ac_exeext
61359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61360   (eval $ac_link) 2>conftest.er1
61361   ac_status=$?
61362   grep -v '^ *+' conftest.er1 >conftest.err
61363   rm -f conftest.er1
61364   cat conftest.err >&5
61365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61366   (exit $ac_status); } &&
61367          { ac_try='test -z "$ac_c_werror_flag"
61368                          || test ! -s conftest.err'
61369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61370   (eval $ac_try) 2>&5
61371   ac_status=$?
61372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61373   (exit $ac_status); }; } &&
61374          { ac_try='test -s conftest$ac_exeext'
61375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61376   (eval $ac_try) 2>&5
61377   ac_status=$?
61378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61379   (exit $ac_status); }; }; then
61380   eval "$as_ac_var=yes"
61381 else
61382   echo "$as_me: failed program was:" >&5
61383 sed 's/^/| /' conftest.$ac_ext >&5
61384
61385 eval "$as_ac_var=no"
61386 fi
61387 rm -f conftest.err conftest.$ac_objext \
61388       conftest$ac_exeext conftest.$ac_ext
61389 fi
61390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61392 if test `eval echo '${'$as_ac_var'}'` = yes; then
61393   cat >>confdefs.h <<_ACEOF
61394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61395 _ACEOF
61396
61397 fi
61398 done
61399
61400   else
61401
61402   echo "$as_me:$LINENO: checking for _modff declaration" >&5
61403 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
61404   if test x${glibcxx_cv_func__modff_use+set} != xset; then
61405     if test "${glibcxx_cv_func__modff_use+set}" = set; then
61406   echo $ECHO_N "(cached) $ECHO_C" >&6
61407 else
61408
61409
61410
61411       ac_ext=cc
61412 ac_cpp='$CXXCPP $CPPFLAGS'
61413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61416
61417       cat >conftest.$ac_ext <<_ACEOF
61418 /* confdefs.h.  */
61419 _ACEOF
61420 cat confdefs.h >>conftest.$ac_ext
61421 cat >>conftest.$ac_ext <<_ACEOF
61422 /* end confdefs.h.  */
61423 #include <math.h>
61424 int
61425 main ()
61426 {
61427  _modff(0, 0);
61428   ;
61429   return 0;
61430 }
61431 _ACEOF
61432 rm -f conftest.$ac_objext
61433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61434   (eval $ac_compile) 2>conftest.er1
61435   ac_status=$?
61436   grep -v '^ *+' conftest.er1 >conftest.err
61437   rm -f conftest.er1
61438   cat conftest.err >&5
61439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61440   (exit $ac_status); } &&
61441          { ac_try='test -z "$ac_cxx_werror_flag"
61442                          || test ! -s conftest.err'
61443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61444   (eval $ac_try) 2>&5
61445   ac_status=$?
61446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61447   (exit $ac_status); }; } &&
61448          { ac_try='test -s conftest.$ac_objext'
61449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61450   (eval $ac_try) 2>&5
61451   ac_status=$?
61452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61453   (exit $ac_status); }; }; then
61454   glibcxx_cv_func__modff_use=yes
61455 else
61456   echo "$as_me: failed program was:" >&5
61457 sed 's/^/| /' conftest.$ac_ext >&5
61458
61459 glibcxx_cv_func__modff_use=no
61460 fi
61461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61462       ac_ext=c
61463 ac_cpp='$CPP $CPPFLAGS'
61464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61467
61468
61469 fi
61470
61471   fi
61472   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
61473 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
61474
61475     if test x$glibcxx_cv_func__modff_use = x"yes"; then
61476
61477 for ac_func in _modff
61478 do
61479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61480 echo "$as_me:$LINENO: checking for $ac_func" >&5
61481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61482 if eval "test \"\${$as_ac_var+set}\" = set"; then
61483   echo $ECHO_N "(cached) $ECHO_C" >&6
61484 else
61485   if test x$gcc_no_link = xyes; then
61486   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61488    { (exit 1); exit 1; }; }
61489 fi
61490 cat >conftest.$ac_ext <<_ACEOF
61491 /* confdefs.h.  */
61492 _ACEOF
61493 cat confdefs.h >>conftest.$ac_ext
61494 cat >>conftest.$ac_ext <<_ACEOF
61495 /* end confdefs.h.  */
61496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61497    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61498 #define $ac_func innocuous_$ac_func
61499
61500 /* System header to define __stub macros and hopefully few prototypes,
61501     which can conflict with char $ac_func (); below.
61502     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61503     <limits.h> exists even on freestanding compilers.  */
61504
61505 #ifdef __STDC__
61506 # include <limits.h>
61507 #else
61508 # include <assert.h>
61509 #endif
61510
61511 #undef $ac_func
61512
61513 /* Override any gcc2 internal prototype to avoid an error.  */
61514 #ifdef __cplusplus
61515 extern "C"
61516 {
61517 #endif
61518 /* We use char because int might match the return type of a gcc2
61519    builtin and then its argument prototype would still apply.  */
61520 char $ac_func ();
61521 /* The GNU C library defines this for functions which it implements
61522     to always fail with ENOSYS.  Some functions are actually named
61523     something starting with __ and the normal name is an alias.  */
61524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61525 choke me
61526 #else
61527 char (*f) () = $ac_func;
61528 #endif
61529 #ifdef __cplusplus
61530 }
61531 #endif
61532
61533 int
61534 main ()
61535 {
61536 return f != $ac_func;
61537   ;
61538   return 0;
61539 }
61540 _ACEOF
61541 rm -f conftest.$ac_objext conftest$ac_exeext
61542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61543   (eval $ac_link) 2>conftest.er1
61544   ac_status=$?
61545   grep -v '^ *+' conftest.er1 >conftest.err
61546   rm -f conftest.er1
61547   cat conftest.err >&5
61548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61549   (exit $ac_status); } &&
61550          { ac_try='test -z "$ac_c_werror_flag"
61551                          || test ! -s conftest.err'
61552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61553   (eval $ac_try) 2>&5
61554   ac_status=$?
61555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61556   (exit $ac_status); }; } &&
61557          { ac_try='test -s conftest$ac_exeext'
61558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61559   (eval $ac_try) 2>&5
61560   ac_status=$?
61561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61562   (exit $ac_status); }; }; then
61563   eval "$as_ac_var=yes"
61564 else
61565   echo "$as_me: failed program was:" >&5
61566 sed 's/^/| /' conftest.$ac_ext >&5
61567
61568 eval "$as_ac_var=no"
61569 fi
61570 rm -f conftest.err conftest.$ac_objext \
61571       conftest$ac_exeext conftest.$ac_ext
61572 fi
61573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61575 if test `eval echo '${'$as_ac_var'}'` = yes; then
61576   cat >>confdefs.h <<_ACEOF
61577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61578 _ACEOF
61579
61580 fi
61581 done
61582
61583     fi
61584   fi
61585
61586
61587
61588   echo "$as_me:$LINENO: checking for powf declaration" >&5
61589 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
61590   if test x${glibcxx_cv_func_powf_use+set} != xset; then
61591     if test "${glibcxx_cv_func_powf_use+set}" = set; then
61592   echo $ECHO_N "(cached) $ECHO_C" >&6
61593 else
61594
61595
61596
61597       ac_ext=cc
61598 ac_cpp='$CXXCPP $CPPFLAGS'
61599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61602
61603       cat >conftest.$ac_ext <<_ACEOF
61604 /* confdefs.h.  */
61605 _ACEOF
61606 cat confdefs.h >>conftest.$ac_ext
61607 cat >>conftest.$ac_ext <<_ACEOF
61608 /* end confdefs.h.  */
61609 #include <math.h>
61610 int
61611 main ()
61612 {
61613  powf(0, 0);
61614   ;
61615   return 0;
61616 }
61617 _ACEOF
61618 rm -f conftest.$ac_objext
61619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61620   (eval $ac_compile) 2>conftest.er1
61621   ac_status=$?
61622   grep -v '^ *+' conftest.er1 >conftest.err
61623   rm -f conftest.er1
61624   cat conftest.err >&5
61625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61626   (exit $ac_status); } &&
61627          { ac_try='test -z "$ac_cxx_werror_flag"
61628                          || test ! -s conftest.err'
61629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61630   (eval $ac_try) 2>&5
61631   ac_status=$?
61632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61633   (exit $ac_status); }; } &&
61634          { ac_try='test -s conftest.$ac_objext'
61635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61636   (eval $ac_try) 2>&5
61637   ac_status=$?
61638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61639   (exit $ac_status); }; }; then
61640   glibcxx_cv_func_powf_use=yes
61641 else
61642   echo "$as_me: failed program was:" >&5
61643 sed 's/^/| /' conftest.$ac_ext >&5
61644
61645 glibcxx_cv_func_powf_use=no
61646 fi
61647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61648       ac_ext=c
61649 ac_cpp='$CPP $CPPFLAGS'
61650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61653
61654
61655 fi
61656
61657   fi
61658   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
61659 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
61660
61661   if test x$glibcxx_cv_func_powf_use = x"yes"; then
61662
61663 for ac_func in powf
61664 do
61665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61666 echo "$as_me:$LINENO: checking for $ac_func" >&5
61667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61668 if eval "test \"\${$as_ac_var+set}\" = set"; then
61669   echo $ECHO_N "(cached) $ECHO_C" >&6
61670 else
61671   if test x$gcc_no_link = xyes; then
61672   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61674    { (exit 1); exit 1; }; }
61675 fi
61676 cat >conftest.$ac_ext <<_ACEOF
61677 /* confdefs.h.  */
61678 _ACEOF
61679 cat confdefs.h >>conftest.$ac_ext
61680 cat >>conftest.$ac_ext <<_ACEOF
61681 /* end confdefs.h.  */
61682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61683    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61684 #define $ac_func innocuous_$ac_func
61685
61686 /* System header to define __stub macros and hopefully few prototypes,
61687     which can conflict with char $ac_func (); below.
61688     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61689     <limits.h> exists even on freestanding compilers.  */
61690
61691 #ifdef __STDC__
61692 # include <limits.h>
61693 #else
61694 # include <assert.h>
61695 #endif
61696
61697 #undef $ac_func
61698
61699 /* Override any gcc2 internal prototype to avoid an error.  */
61700 #ifdef __cplusplus
61701 extern "C"
61702 {
61703 #endif
61704 /* We use char because int might match the return type of a gcc2
61705    builtin and then its argument prototype would still apply.  */
61706 char $ac_func ();
61707 /* The GNU C library defines this for functions which it implements
61708     to always fail with ENOSYS.  Some functions are actually named
61709     something starting with __ and the normal name is an alias.  */
61710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61711 choke me
61712 #else
61713 char (*f) () = $ac_func;
61714 #endif
61715 #ifdef __cplusplus
61716 }
61717 #endif
61718
61719 int
61720 main ()
61721 {
61722 return f != $ac_func;
61723   ;
61724   return 0;
61725 }
61726 _ACEOF
61727 rm -f conftest.$ac_objext conftest$ac_exeext
61728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61729   (eval $ac_link) 2>conftest.er1
61730   ac_status=$?
61731   grep -v '^ *+' conftest.er1 >conftest.err
61732   rm -f conftest.er1
61733   cat conftest.err >&5
61734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61735   (exit $ac_status); } &&
61736          { ac_try='test -z "$ac_c_werror_flag"
61737                          || test ! -s conftest.err'
61738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61739   (eval $ac_try) 2>&5
61740   ac_status=$?
61741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61742   (exit $ac_status); }; } &&
61743          { ac_try='test -s conftest$ac_exeext'
61744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61745   (eval $ac_try) 2>&5
61746   ac_status=$?
61747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61748   (exit $ac_status); }; }; then
61749   eval "$as_ac_var=yes"
61750 else
61751   echo "$as_me: failed program was:" >&5
61752 sed 's/^/| /' conftest.$ac_ext >&5
61753
61754 eval "$as_ac_var=no"
61755 fi
61756 rm -f conftest.err conftest.$ac_objext \
61757       conftest$ac_exeext conftest.$ac_ext
61758 fi
61759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61761 if test `eval echo '${'$as_ac_var'}'` = yes; then
61762   cat >>confdefs.h <<_ACEOF
61763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61764 _ACEOF
61765
61766 fi
61767 done
61768
61769   else
61770
61771   echo "$as_me:$LINENO: checking for _powf declaration" >&5
61772 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
61773   if test x${glibcxx_cv_func__powf_use+set} != xset; then
61774     if test "${glibcxx_cv_func__powf_use+set}" = set; then
61775   echo $ECHO_N "(cached) $ECHO_C" >&6
61776 else
61777
61778
61779
61780       ac_ext=cc
61781 ac_cpp='$CXXCPP $CPPFLAGS'
61782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61785
61786       cat >conftest.$ac_ext <<_ACEOF
61787 /* confdefs.h.  */
61788 _ACEOF
61789 cat confdefs.h >>conftest.$ac_ext
61790 cat >>conftest.$ac_ext <<_ACEOF
61791 /* end confdefs.h.  */
61792 #include <math.h>
61793 int
61794 main ()
61795 {
61796  _powf(0, 0);
61797   ;
61798   return 0;
61799 }
61800 _ACEOF
61801 rm -f conftest.$ac_objext
61802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61803   (eval $ac_compile) 2>conftest.er1
61804   ac_status=$?
61805   grep -v '^ *+' conftest.er1 >conftest.err
61806   rm -f conftest.er1
61807   cat conftest.err >&5
61808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61809   (exit $ac_status); } &&
61810          { ac_try='test -z "$ac_cxx_werror_flag"
61811                          || test ! -s conftest.err'
61812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61813   (eval $ac_try) 2>&5
61814   ac_status=$?
61815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61816   (exit $ac_status); }; } &&
61817          { ac_try='test -s conftest.$ac_objext'
61818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61819   (eval $ac_try) 2>&5
61820   ac_status=$?
61821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61822   (exit $ac_status); }; }; then
61823   glibcxx_cv_func__powf_use=yes
61824 else
61825   echo "$as_me: failed program was:" >&5
61826 sed 's/^/| /' conftest.$ac_ext >&5
61827
61828 glibcxx_cv_func__powf_use=no
61829 fi
61830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61831       ac_ext=c
61832 ac_cpp='$CPP $CPPFLAGS'
61833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61836
61837
61838 fi
61839
61840   fi
61841   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
61842 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
61843
61844     if test x$glibcxx_cv_func__powf_use = x"yes"; then
61845
61846 for ac_func in _powf
61847 do
61848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61849 echo "$as_me:$LINENO: checking for $ac_func" >&5
61850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61851 if eval "test \"\${$as_ac_var+set}\" = set"; then
61852   echo $ECHO_N "(cached) $ECHO_C" >&6
61853 else
61854   if test x$gcc_no_link = xyes; then
61855   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61857    { (exit 1); exit 1; }; }
61858 fi
61859 cat >conftest.$ac_ext <<_ACEOF
61860 /* confdefs.h.  */
61861 _ACEOF
61862 cat confdefs.h >>conftest.$ac_ext
61863 cat >>conftest.$ac_ext <<_ACEOF
61864 /* end confdefs.h.  */
61865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61866    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61867 #define $ac_func innocuous_$ac_func
61868
61869 /* System header to define __stub macros and hopefully few prototypes,
61870     which can conflict with char $ac_func (); below.
61871     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61872     <limits.h> exists even on freestanding compilers.  */
61873
61874 #ifdef __STDC__
61875 # include <limits.h>
61876 #else
61877 # include <assert.h>
61878 #endif
61879
61880 #undef $ac_func
61881
61882 /* Override any gcc2 internal prototype to avoid an error.  */
61883 #ifdef __cplusplus
61884 extern "C"
61885 {
61886 #endif
61887 /* We use char because int might match the return type of a gcc2
61888    builtin and then its argument prototype would still apply.  */
61889 char $ac_func ();
61890 /* The GNU C library defines this for functions which it implements
61891     to always fail with ENOSYS.  Some functions are actually named
61892     something starting with __ and the normal name is an alias.  */
61893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61894 choke me
61895 #else
61896 char (*f) () = $ac_func;
61897 #endif
61898 #ifdef __cplusplus
61899 }
61900 #endif
61901
61902 int
61903 main ()
61904 {
61905 return f != $ac_func;
61906   ;
61907   return 0;
61908 }
61909 _ACEOF
61910 rm -f conftest.$ac_objext conftest$ac_exeext
61911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61912   (eval $ac_link) 2>conftest.er1
61913   ac_status=$?
61914   grep -v '^ *+' conftest.er1 >conftest.err
61915   rm -f conftest.er1
61916   cat conftest.err >&5
61917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61918   (exit $ac_status); } &&
61919          { ac_try='test -z "$ac_c_werror_flag"
61920                          || test ! -s conftest.err'
61921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61922   (eval $ac_try) 2>&5
61923   ac_status=$?
61924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61925   (exit $ac_status); }; } &&
61926          { ac_try='test -s conftest$ac_exeext'
61927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61928   (eval $ac_try) 2>&5
61929   ac_status=$?
61930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61931   (exit $ac_status); }; }; then
61932   eval "$as_ac_var=yes"
61933 else
61934   echo "$as_me: failed program was:" >&5
61935 sed 's/^/| /' conftest.$ac_ext >&5
61936
61937 eval "$as_ac_var=no"
61938 fi
61939 rm -f conftest.err conftest.$ac_objext \
61940       conftest$ac_exeext conftest.$ac_ext
61941 fi
61942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61944 if test `eval echo '${'$as_ac_var'}'` = yes; then
61945   cat >>confdefs.h <<_ACEOF
61946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61947 _ACEOF
61948
61949 fi
61950 done
61951
61952     fi
61953   fi
61954
61955
61956
61957   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
61958 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
61959   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61960     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
61961   echo $ECHO_N "(cached) $ECHO_C" >&6
61962 else
61963
61964
61965
61966       ac_ext=cc
61967 ac_cpp='$CXXCPP $CPPFLAGS'
61968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61971
61972       cat >conftest.$ac_ext <<_ACEOF
61973 /* confdefs.h.  */
61974 _ACEOF
61975 cat confdefs.h >>conftest.$ac_ext
61976 cat >>conftest.$ac_ext <<_ACEOF
61977 /* end confdefs.h.  */
61978 #include <math.h>
61979                       #ifdef HAVE_IEEEFP_H
61980                       #include <ieeefp.h>
61981                       #endif
61982
61983 int
61984 main ()
61985 {
61986  sqrtf(0);
61987   ;
61988   return 0;
61989 }
61990 _ACEOF
61991 rm -f conftest.$ac_objext
61992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61993   (eval $ac_compile) 2>conftest.er1
61994   ac_status=$?
61995   grep -v '^ *+' conftest.er1 >conftest.err
61996   rm -f conftest.er1
61997   cat conftest.err >&5
61998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61999   (exit $ac_status); } &&
62000          { ac_try='test -z "$ac_cxx_werror_flag"
62001                          || test ! -s conftest.err'
62002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62003   (eval $ac_try) 2>&5
62004   ac_status=$?
62005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62006   (exit $ac_status); }; } &&
62007          { ac_try='test -s conftest.$ac_objext'
62008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62009   (eval $ac_try) 2>&5
62010   ac_status=$?
62011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62012   (exit $ac_status); }; }; then
62013   glibcxx_cv_func_sqrtf_use=yes
62014 else
62015   echo "$as_me: failed program was:" >&5
62016 sed 's/^/| /' conftest.$ac_ext >&5
62017
62018 glibcxx_cv_func_sqrtf_use=no
62019 fi
62020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62021       ac_ext=c
62022 ac_cpp='$CPP $CPPFLAGS'
62023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62026
62027
62028 fi
62029
62030   fi
62031   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
62032 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
62033
62034   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62035
62036 for ac_func in sqrtf
62037 do
62038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62039 echo "$as_me:$LINENO: checking for $ac_func" >&5
62040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62041 if eval "test \"\${$as_ac_var+set}\" = set"; then
62042   echo $ECHO_N "(cached) $ECHO_C" >&6
62043 else
62044   if test x$gcc_no_link = xyes; then
62045   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62047    { (exit 1); exit 1; }; }
62048 fi
62049 cat >conftest.$ac_ext <<_ACEOF
62050 /* confdefs.h.  */
62051 _ACEOF
62052 cat confdefs.h >>conftest.$ac_ext
62053 cat >>conftest.$ac_ext <<_ACEOF
62054 /* end confdefs.h.  */
62055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62056    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62057 #define $ac_func innocuous_$ac_func
62058
62059 /* System header to define __stub macros and hopefully few prototypes,
62060     which can conflict with char $ac_func (); below.
62061     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62062     <limits.h> exists even on freestanding compilers.  */
62063
62064 #ifdef __STDC__
62065 # include <limits.h>
62066 #else
62067 # include <assert.h>
62068 #endif
62069
62070 #undef $ac_func
62071
62072 /* Override any gcc2 internal prototype to avoid an error.  */
62073 #ifdef __cplusplus
62074 extern "C"
62075 {
62076 #endif
62077 /* We use char because int might match the return type of a gcc2
62078    builtin and then its argument prototype would still apply.  */
62079 char $ac_func ();
62080 /* The GNU C library defines this for functions which it implements
62081     to always fail with ENOSYS.  Some functions are actually named
62082     something starting with __ and the normal name is an alias.  */
62083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62084 choke me
62085 #else
62086 char (*f) () = $ac_func;
62087 #endif
62088 #ifdef __cplusplus
62089 }
62090 #endif
62091
62092 int
62093 main ()
62094 {
62095 return f != $ac_func;
62096   ;
62097   return 0;
62098 }
62099 _ACEOF
62100 rm -f conftest.$ac_objext conftest$ac_exeext
62101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62102   (eval $ac_link) 2>conftest.er1
62103   ac_status=$?
62104   grep -v '^ *+' conftest.er1 >conftest.err
62105   rm -f conftest.er1
62106   cat conftest.err >&5
62107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62108   (exit $ac_status); } &&
62109          { ac_try='test -z "$ac_c_werror_flag"
62110                          || test ! -s conftest.err'
62111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62112   (eval $ac_try) 2>&5
62113   ac_status=$?
62114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62115   (exit $ac_status); }; } &&
62116          { ac_try='test -s conftest$ac_exeext'
62117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62118   (eval $ac_try) 2>&5
62119   ac_status=$?
62120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62121   (exit $ac_status); }; }; then
62122   eval "$as_ac_var=yes"
62123 else
62124   echo "$as_me: failed program was:" >&5
62125 sed 's/^/| /' conftest.$ac_ext >&5
62126
62127 eval "$as_ac_var=no"
62128 fi
62129 rm -f conftest.err conftest.$ac_objext \
62130       conftest$ac_exeext conftest.$ac_ext
62131 fi
62132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62134 if test `eval echo '${'$as_ac_var'}'` = yes; then
62135   cat >>confdefs.h <<_ACEOF
62136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62137 _ACEOF
62138
62139 fi
62140 done
62141
62142   else
62143
62144   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
62145 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
62146   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62147     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
62148   echo $ECHO_N "(cached) $ECHO_C" >&6
62149 else
62150
62151
62152
62153       ac_ext=cc
62154 ac_cpp='$CXXCPP $CPPFLAGS'
62155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62158
62159       cat >conftest.$ac_ext <<_ACEOF
62160 /* confdefs.h.  */
62161 _ACEOF
62162 cat confdefs.h >>conftest.$ac_ext
62163 cat >>conftest.$ac_ext <<_ACEOF
62164 /* end confdefs.h.  */
62165 #include <math.h>
62166                       #ifdef HAVE_IEEEFP_H
62167                       #include <ieeefp.h>
62168                       #endif
62169
62170 int
62171 main ()
62172 {
62173  _sqrtf(0);
62174   ;
62175   return 0;
62176 }
62177 _ACEOF
62178 rm -f conftest.$ac_objext
62179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62180   (eval $ac_compile) 2>conftest.er1
62181   ac_status=$?
62182   grep -v '^ *+' conftest.er1 >conftest.err
62183   rm -f conftest.er1
62184   cat conftest.err >&5
62185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62186   (exit $ac_status); } &&
62187          { ac_try='test -z "$ac_cxx_werror_flag"
62188                          || test ! -s conftest.err'
62189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62190   (eval $ac_try) 2>&5
62191   ac_status=$?
62192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62193   (exit $ac_status); }; } &&
62194          { ac_try='test -s conftest.$ac_objext'
62195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62196   (eval $ac_try) 2>&5
62197   ac_status=$?
62198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62199   (exit $ac_status); }; }; then
62200   glibcxx_cv_func__sqrtf_use=yes
62201 else
62202   echo "$as_me: failed program was:" >&5
62203 sed 's/^/| /' conftest.$ac_ext >&5
62204
62205 glibcxx_cv_func__sqrtf_use=no
62206 fi
62207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62208       ac_ext=c
62209 ac_cpp='$CPP $CPPFLAGS'
62210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62213
62214
62215 fi
62216
62217   fi
62218   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
62219 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
62220
62221     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62222
62223 for ac_func in _sqrtf
62224 do
62225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62226 echo "$as_me:$LINENO: checking for $ac_func" >&5
62227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62228 if eval "test \"\${$as_ac_var+set}\" = set"; then
62229   echo $ECHO_N "(cached) $ECHO_C" >&6
62230 else
62231   if test x$gcc_no_link = xyes; then
62232   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62234    { (exit 1); exit 1; }; }
62235 fi
62236 cat >conftest.$ac_ext <<_ACEOF
62237 /* confdefs.h.  */
62238 _ACEOF
62239 cat confdefs.h >>conftest.$ac_ext
62240 cat >>conftest.$ac_ext <<_ACEOF
62241 /* end confdefs.h.  */
62242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62243    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62244 #define $ac_func innocuous_$ac_func
62245
62246 /* System header to define __stub macros and hopefully few prototypes,
62247     which can conflict with char $ac_func (); below.
62248     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62249     <limits.h> exists even on freestanding compilers.  */
62250
62251 #ifdef __STDC__
62252 # include <limits.h>
62253 #else
62254 # include <assert.h>
62255 #endif
62256
62257 #undef $ac_func
62258
62259 /* Override any gcc2 internal prototype to avoid an error.  */
62260 #ifdef __cplusplus
62261 extern "C"
62262 {
62263 #endif
62264 /* We use char because int might match the return type of a gcc2
62265    builtin and then its argument prototype would still apply.  */
62266 char $ac_func ();
62267 /* The GNU C library defines this for functions which it implements
62268     to always fail with ENOSYS.  Some functions are actually named
62269     something starting with __ and the normal name is an alias.  */
62270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62271 choke me
62272 #else
62273 char (*f) () = $ac_func;
62274 #endif
62275 #ifdef __cplusplus
62276 }
62277 #endif
62278
62279 int
62280 main ()
62281 {
62282 return f != $ac_func;
62283   ;
62284   return 0;
62285 }
62286 _ACEOF
62287 rm -f conftest.$ac_objext conftest$ac_exeext
62288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62289   (eval $ac_link) 2>conftest.er1
62290   ac_status=$?
62291   grep -v '^ *+' conftest.er1 >conftest.err
62292   rm -f conftest.er1
62293   cat conftest.err >&5
62294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62295   (exit $ac_status); } &&
62296          { ac_try='test -z "$ac_c_werror_flag"
62297                          || test ! -s conftest.err'
62298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62299   (eval $ac_try) 2>&5
62300   ac_status=$?
62301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62302   (exit $ac_status); }; } &&
62303          { ac_try='test -s conftest$ac_exeext'
62304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62305   (eval $ac_try) 2>&5
62306   ac_status=$?
62307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62308   (exit $ac_status); }; }; then
62309   eval "$as_ac_var=yes"
62310 else
62311   echo "$as_me: failed program was:" >&5
62312 sed 's/^/| /' conftest.$ac_ext >&5
62313
62314 eval "$as_ac_var=no"
62315 fi
62316 rm -f conftest.err conftest.$ac_objext \
62317       conftest$ac_exeext conftest.$ac_ext
62318 fi
62319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62321 if test `eval echo '${'$as_ac_var'}'` = yes; then
62322   cat >>confdefs.h <<_ACEOF
62323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62324 _ACEOF
62325
62326 fi
62327 done
62328
62329     fi
62330   fi
62331
62332
62333
62334   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
62335 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
62336   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62337     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
62338   echo $ECHO_N "(cached) $ECHO_C" >&6
62339 else
62340
62341
62342
62343       ac_ext=cc
62344 ac_cpp='$CXXCPP $CPPFLAGS'
62345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62348
62349       cat >conftest.$ac_ext <<_ACEOF
62350 /* confdefs.h.  */
62351 _ACEOF
62352 cat confdefs.h >>conftest.$ac_ext
62353 cat >>conftest.$ac_ext <<_ACEOF
62354 /* end confdefs.h.  */
62355 #include <math.h>
62356 int
62357 main ()
62358 {
62359  sincosf(0, 0, 0);
62360   ;
62361   return 0;
62362 }
62363 _ACEOF
62364 rm -f conftest.$ac_objext
62365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62366   (eval $ac_compile) 2>conftest.er1
62367   ac_status=$?
62368   grep -v '^ *+' conftest.er1 >conftest.err
62369   rm -f conftest.er1
62370   cat conftest.err >&5
62371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62372   (exit $ac_status); } &&
62373          { ac_try='test -z "$ac_cxx_werror_flag"
62374                          || test ! -s conftest.err'
62375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62376   (eval $ac_try) 2>&5
62377   ac_status=$?
62378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62379   (exit $ac_status); }; } &&
62380          { ac_try='test -s conftest.$ac_objext'
62381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62382   (eval $ac_try) 2>&5
62383   ac_status=$?
62384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62385   (exit $ac_status); }; }; then
62386   glibcxx_cv_func_sincosf_use=yes
62387 else
62388   echo "$as_me: failed program was:" >&5
62389 sed 's/^/| /' conftest.$ac_ext >&5
62390
62391 glibcxx_cv_func_sincosf_use=no
62392 fi
62393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62394       ac_ext=c
62395 ac_cpp='$CPP $CPPFLAGS'
62396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62399
62400
62401 fi
62402
62403   fi
62404   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
62405 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
62406
62407   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62408
62409 for ac_func in sincosf
62410 do
62411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62412 echo "$as_me:$LINENO: checking for $ac_func" >&5
62413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62414 if eval "test \"\${$as_ac_var+set}\" = set"; then
62415   echo $ECHO_N "(cached) $ECHO_C" >&6
62416 else
62417   if test x$gcc_no_link = xyes; then
62418   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62420    { (exit 1); exit 1; }; }
62421 fi
62422 cat >conftest.$ac_ext <<_ACEOF
62423 /* confdefs.h.  */
62424 _ACEOF
62425 cat confdefs.h >>conftest.$ac_ext
62426 cat >>conftest.$ac_ext <<_ACEOF
62427 /* end confdefs.h.  */
62428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62429    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62430 #define $ac_func innocuous_$ac_func
62431
62432 /* System header to define __stub macros and hopefully few prototypes,
62433     which can conflict with char $ac_func (); below.
62434     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62435     <limits.h> exists even on freestanding compilers.  */
62436
62437 #ifdef __STDC__
62438 # include <limits.h>
62439 #else
62440 # include <assert.h>
62441 #endif
62442
62443 #undef $ac_func
62444
62445 /* Override any gcc2 internal prototype to avoid an error.  */
62446 #ifdef __cplusplus
62447 extern "C"
62448 {
62449 #endif
62450 /* We use char because int might match the return type of a gcc2
62451    builtin and then its argument prototype would still apply.  */
62452 char $ac_func ();
62453 /* The GNU C library defines this for functions which it implements
62454     to always fail with ENOSYS.  Some functions are actually named
62455     something starting with __ and the normal name is an alias.  */
62456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62457 choke me
62458 #else
62459 char (*f) () = $ac_func;
62460 #endif
62461 #ifdef __cplusplus
62462 }
62463 #endif
62464
62465 int
62466 main ()
62467 {
62468 return f != $ac_func;
62469   ;
62470   return 0;
62471 }
62472 _ACEOF
62473 rm -f conftest.$ac_objext conftest$ac_exeext
62474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62475   (eval $ac_link) 2>conftest.er1
62476   ac_status=$?
62477   grep -v '^ *+' conftest.er1 >conftest.err
62478   rm -f conftest.er1
62479   cat conftest.err >&5
62480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62481   (exit $ac_status); } &&
62482          { ac_try='test -z "$ac_c_werror_flag"
62483                          || test ! -s conftest.err'
62484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62485   (eval $ac_try) 2>&5
62486   ac_status=$?
62487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62488   (exit $ac_status); }; } &&
62489          { ac_try='test -s conftest$ac_exeext'
62490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62491   (eval $ac_try) 2>&5
62492   ac_status=$?
62493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62494   (exit $ac_status); }; }; then
62495   eval "$as_ac_var=yes"
62496 else
62497   echo "$as_me: failed program was:" >&5
62498 sed 's/^/| /' conftest.$ac_ext >&5
62499
62500 eval "$as_ac_var=no"
62501 fi
62502 rm -f conftest.err conftest.$ac_objext \
62503       conftest$ac_exeext conftest.$ac_ext
62504 fi
62505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62507 if test `eval echo '${'$as_ac_var'}'` = yes; then
62508   cat >>confdefs.h <<_ACEOF
62509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62510 _ACEOF
62511
62512 fi
62513 done
62514
62515   else
62516
62517   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
62518 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
62519   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62520     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
62521   echo $ECHO_N "(cached) $ECHO_C" >&6
62522 else
62523
62524
62525
62526       ac_ext=cc
62527 ac_cpp='$CXXCPP $CPPFLAGS'
62528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62531
62532       cat >conftest.$ac_ext <<_ACEOF
62533 /* confdefs.h.  */
62534 _ACEOF
62535 cat confdefs.h >>conftest.$ac_ext
62536 cat >>conftest.$ac_ext <<_ACEOF
62537 /* end confdefs.h.  */
62538 #include <math.h>
62539 int
62540 main ()
62541 {
62542  _sincosf(0, 0, 0);
62543   ;
62544   return 0;
62545 }
62546 _ACEOF
62547 rm -f conftest.$ac_objext
62548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62549   (eval $ac_compile) 2>conftest.er1
62550   ac_status=$?
62551   grep -v '^ *+' conftest.er1 >conftest.err
62552   rm -f conftest.er1
62553   cat conftest.err >&5
62554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62555   (exit $ac_status); } &&
62556          { ac_try='test -z "$ac_cxx_werror_flag"
62557                          || test ! -s conftest.err'
62558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62559   (eval $ac_try) 2>&5
62560   ac_status=$?
62561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62562   (exit $ac_status); }; } &&
62563          { ac_try='test -s conftest.$ac_objext'
62564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62565   (eval $ac_try) 2>&5
62566   ac_status=$?
62567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62568   (exit $ac_status); }; }; then
62569   glibcxx_cv_func__sincosf_use=yes
62570 else
62571   echo "$as_me: failed program was:" >&5
62572 sed 's/^/| /' conftest.$ac_ext >&5
62573
62574 glibcxx_cv_func__sincosf_use=no
62575 fi
62576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62577       ac_ext=c
62578 ac_cpp='$CPP $CPPFLAGS'
62579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62582
62583
62584 fi
62585
62586   fi
62587   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
62588 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
62589
62590     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62591
62592 for ac_func in _sincosf
62593 do
62594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62595 echo "$as_me:$LINENO: checking for $ac_func" >&5
62596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62597 if eval "test \"\${$as_ac_var+set}\" = set"; then
62598   echo $ECHO_N "(cached) $ECHO_C" >&6
62599 else
62600   if test x$gcc_no_link = xyes; then
62601   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62603    { (exit 1); exit 1; }; }
62604 fi
62605 cat >conftest.$ac_ext <<_ACEOF
62606 /* confdefs.h.  */
62607 _ACEOF
62608 cat confdefs.h >>conftest.$ac_ext
62609 cat >>conftest.$ac_ext <<_ACEOF
62610 /* end confdefs.h.  */
62611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62612    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62613 #define $ac_func innocuous_$ac_func
62614
62615 /* System header to define __stub macros and hopefully few prototypes,
62616     which can conflict with char $ac_func (); below.
62617     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62618     <limits.h> exists even on freestanding compilers.  */
62619
62620 #ifdef __STDC__
62621 # include <limits.h>
62622 #else
62623 # include <assert.h>
62624 #endif
62625
62626 #undef $ac_func
62627
62628 /* Override any gcc2 internal prototype to avoid an error.  */
62629 #ifdef __cplusplus
62630 extern "C"
62631 {
62632 #endif
62633 /* We use char because int might match the return type of a gcc2
62634    builtin and then its argument prototype would still apply.  */
62635 char $ac_func ();
62636 /* The GNU C library defines this for functions which it implements
62637     to always fail with ENOSYS.  Some functions are actually named
62638     something starting with __ and the normal name is an alias.  */
62639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62640 choke me
62641 #else
62642 char (*f) () = $ac_func;
62643 #endif
62644 #ifdef __cplusplus
62645 }
62646 #endif
62647
62648 int
62649 main ()
62650 {
62651 return f != $ac_func;
62652   ;
62653   return 0;
62654 }
62655 _ACEOF
62656 rm -f conftest.$ac_objext conftest$ac_exeext
62657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62658   (eval $ac_link) 2>conftest.er1
62659   ac_status=$?
62660   grep -v '^ *+' conftest.er1 >conftest.err
62661   rm -f conftest.er1
62662   cat conftest.err >&5
62663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62664   (exit $ac_status); } &&
62665          { ac_try='test -z "$ac_c_werror_flag"
62666                          || test ! -s conftest.err'
62667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62668   (eval $ac_try) 2>&5
62669   ac_status=$?
62670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62671   (exit $ac_status); }; } &&
62672          { ac_try='test -s conftest$ac_exeext'
62673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62674   (eval $ac_try) 2>&5
62675   ac_status=$?
62676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62677   (exit $ac_status); }; }; then
62678   eval "$as_ac_var=yes"
62679 else
62680   echo "$as_me: failed program was:" >&5
62681 sed 's/^/| /' conftest.$ac_ext >&5
62682
62683 eval "$as_ac_var=no"
62684 fi
62685 rm -f conftest.err conftest.$ac_objext \
62686       conftest$ac_exeext conftest.$ac_ext
62687 fi
62688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62690 if test `eval echo '${'$as_ac_var'}'` = yes; then
62691   cat >>confdefs.h <<_ACEOF
62692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62693 _ACEOF
62694
62695 fi
62696 done
62697
62698     fi
62699   fi
62700
62701
62702
62703   echo "$as_me:$LINENO: checking for finitef declaration" >&5
62704 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
62705   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62706     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
62707   echo $ECHO_N "(cached) $ECHO_C" >&6
62708 else
62709
62710
62711
62712       ac_ext=cc
62713 ac_cpp='$CXXCPP $CPPFLAGS'
62714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62717
62718       cat >conftest.$ac_ext <<_ACEOF
62719 /* confdefs.h.  */
62720 _ACEOF
62721 cat confdefs.h >>conftest.$ac_ext
62722 cat >>conftest.$ac_ext <<_ACEOF
62723 /* end confdefs.h.  */
62724 #include <math.h>
62725                       #ifdef HAVE_IEEEFP_H
62726                       #include <ieeefp.h>
62727                       #endif
62728
62729 int
62730 main ()
62731 {
62732  finitef(0);
62733   ;
62734   return 0;
62735 }
62736 _ACEOF
62737 rm -f conftest.$ac_objext
62738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62739   (eval $ac_compile) 2>conftest.er1
62740   ac_status=$?
62741   grep -v '^ *+' conftest.er1 >conftest.err
62742   rm -f conftest.er1
62743   cat conftest.err >&5
62744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62745   (exit $ac_status); } &&
62746          { ac_try='test -z "$ac_cxx_werror_flag"
62747                          || test ! -s conftest.err'
62748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62749   (eval $ac_try) 2>&5
62750   ac_status=$?
62751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62752   (exit $ac_status); }; } &&
62753          { ac_try='test -s conftest.$ac_objext'
62754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62755   (eval $ac_try) 2>&5
62756   ac_status=$?
62757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62758   (exit $ac_status); }; }; then
62759   glibcxx_cv_func_finitef_use=yes
62760 else
62761   echo "$as_me: failed program was:" >&5
62762 sed 's/^/| /' conftest.$ac_ext >&5
62763
62764 glibcxx_cv_func_finitef_use=no
62765 fi
62766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62767       ac_ext=c
62768 ac_cpp='$CPP $CPPFLAGS'
62769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62772
62773
62774 fi
62775
62776   fi
62777   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
62778 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
62779
62780   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62781
62782 for ac_func in finitef
62783 do
62784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62785 echo "$as_me:$LINENO: checking for $ac_func" >&5
62786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62787 if eval "test \"\${$as_ac_var+set}\" = set"; then
62788   echo $ECHO_N "(cached) $ECHO_C" >&6
62789 else
62790   if test x$gcc_no_link = xyes; then
62791   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62793    { (exit 1); exit 1; }; }
62794 fi
62795 cat >conftest.$ac_ext <<_ACEOF
62796 /* confdefs.h.  */
62797 _ACEOF
62798 cat confdefs.h >>conftest.$ac_ext
62799 cat >>conftest.$ac_ext <<_ACEOF
62800 /* end confdefs.h.  */
62801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62802    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62803 #define $ac_func innocuous_$ac_func
62804
62805 /* System header to define __stub macros and hopefully few prototypes,
62806     which can conflict with char $ac_func (); below.
62807     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62808     <limits.h> exists even on freestanding compilers.  */
62809
62810 #ifdef __STDC__
62811 # include <limits.h>
62812 #else
62813 # include <assert.h>
62814 #endif
62815
62816 #undef $ac_func
62817
62818 /* Override any gcc2 internal prototype to avoid an error.  */
62819 #ifdef __cplusplus
62820 extern "C"
62821 {
62822 #endif
62823 /* We use char because int might match the return type of a gcc2
62824    builtin and then its argument prototype would still apply.  */
62825 char $ac_func ();
62826 /* The GNU C library defines this for functions which it implements
62827     to always fail with ENOSYS.  Some functions are actually named
62828     something starting with __ and the normal name is an alias.  */
62829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62830 choke me
62831 #else
62832 char (*f) () = $ac_func;
62833 #endif
62834 #ifdef __cplusplus
62835 }
62836 #endif
62837
62838 int
62839 main ()
62840 {
62841 return f != $ac_func;
62842   ;
62843   return 0;
62844 }
62845 _ACEOF
62846 rm -f conftest.$ac_objext conftest$ac_exeext
62847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62848   (eval $ac_link) 2>conftest.er1
62849   ac_status=$?
62850   grep -v '^ *+' conftest.er1 >conftest.err
62851   rm -f conftest.er1
62852   cat conftest.err >&5
62853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62854   (exit $ac_status); } &&
62855          { ac_try='test -z "$ac_c_werror_flag"
62856                          || test ! -s conftest.err'
62857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62858   (eval $ac_try) 2>&5
62859   ac_status=$?
62860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62861   (exit $ac_status); }; } &&
62862          { ac_try='test -s conftest$ac_exeext'
62863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62864   (eval $ac_try) 2>&5
62865   ac_status=$?
62866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62867   (exit $ac_status); }; }; then
62868   eval "$as_ac_var=yes"
62869 else
62870   echo "$as_me: failed program was:" >&5
62871 sed 's/^/| /' conftest.$ac_ext >&5
62872
62873 eval "$as_ac_var=no"
62874 fi
62875 rm -f conftest.err conftest.$ac_objext \
62876       conftest$ac_exeext conftest.$ac_ext
62877 fi
62878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62880 if test `eval echo '${'$as_ac_var'}'` = yes; then
62881   cat >>confdefs.h <<_ACEOF
62882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62883 _ACEOF
62884
62885 fi
62886 done
62887
62888   else
62889
62890   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
62891 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
62892   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62893     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
62894   echo $ECHO_N "(cached) $ECHO_C" >&6
62895 else
62896
62897
62898
62899       ac_ext=cc
62900 ac_cpp='$CXXCPP $CPPFLAGS'
62901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62904
62905       cat >conftest.$ac_ext <<_ACEOF
62906 /* confdefs.h.  */
62907 _ACEOF
62908 cat confdefs.h >>conftest.$ac_ext
62909 cat >>conftest.$ac_ext <<_ACEOF
62910 /* end confdefs.h.  */
62911 #include <math.h>
62912                       #ifdef HAVE_IEEEFP_H
62913                       #include <ieeefp.h>
62914                       #endif
62915
62916 int
62917 main ()
62918 {
62919  _finitef(0);
62920   ;
62921   return 0;
62922 }
62923 _ACEOF
62924 rm -f conftest.$ac_objext
62925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62926   (eval $ac_compile) 2>conftest.er1
62927   ac_status=$?
62928   grep -v '^ *+' conftest.er1 >conftest.err
62929   rm -f conftest.er1
62930   cat conftest.err >&5
62931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62932   (exit $ac_status); } &&
62933          { ac_try='test -z "$ac_cxx_werror_flag"
62934                          || test ! -s conftest.err'
62935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62936   (eval $ac_try) 2>&5
62937   ac_status=$?
62938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62939   (exit $ac_status); }; } &&
62940          { ac_try='test -s conftest.$ac_objext'
62941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62942   (eval $ac_try) 2>&5
62943   ac_status=$?
62944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62945   (exit $ac_status); }; }; then
62946   glibcxx_cv_func__finitef_use=yes
62947 else
62948   echo "$as_me: failed program was:" >&5
62949 sed 's/^/| /' conftest.$ac_ext >&5
62950
62951 glibcxx_cv_func__finitef_use=no
62952 fi
62953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62954       ac_ext=c
62955 ac_cpp='$CPP $CPPFLAGS'
62956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62959
62960
62961 fi
62962
62963   fi
62964   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
62965 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
62966
62967     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62968
62969 for ac_func in _finitef
62970 do
62971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62972 echo "$as_me:$LINENO: checking for $ac_func" >&5
62973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62974 if eval "test \"\${$as_ac_var+set}\" = set"; then
62975   echo $ECHO_N "(cached) $ECHO_C" >&6
62976 else
62977   if test x$gcc_no_link = xyes; then
62978   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62980    { (exit 1); exit 1; }; }
62981 fi
62982 cat >conftest.$ac_ext <<_ACEOF
62983 /* confdefs.h.  */
62984 _ACEOF
62985 cat confdefs.h >>conftest.$ac_ext
62986 cat >>conftest.$ac_ext <<_ACEOF
62987 /* end confdefs.h.  */
62988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62989    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62990 #define $ac_func innocuous_$ac_func
62991
62992 /* System header to define __stub macros and hopefully few prototypes,
62993     which can conflict with char $ac_func (); below.
62994     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62995     <limits.h> exists even on freestanding compilers.  */
62996
62997 #ifdef __STDC__
62998 # include <limits.h>
62999 #else
63000 # include <assert.h>
63001 #endif
63002
63003 #undef $ac_func
63004
63005 /* Override any gcc2 internal prototype to avoid an error.  */
63006 #ifdef __cplusplus
63007 extern "C"
63008 {
63009 #endif
63010 /* We use char because int might match the return type of a gcc2
63011    builtin and then its argument prototype would still apply.  */
63012 char $ac_func ();
63013 /* The GNU C library defines this for functions which it implements
63014     to always fail with ENOSYS.  Some functions are actually named
63015     something starting with __ and the normal name is an alias.  */
63016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63017 choke me
63018 #else
63019 char (*f) () = $ac_func;
63020 #endif
63021 #ifdef __cplusplus
63022 }
63023 #endif
63024
63025 int
63026 main ()
63027 {
63028 return f != $ac_func;
63029   ;
63030   return 0;
63031 }
63032 _ACEOF
63033 rm -f conftest.$ac_objext conftest$ac_exeext
63034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63035   (eval $ac_link) 2>conftest.er1
63036   ac_status=$?
63037   grep -v '^ *+' conftest.er1 >conftest.err
63038   rm -f conftest.er1
63039   cat conftest.err >&5
63040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63041   (exit $ac_status); } &&
63042          { ac_try='test -z "$ac_c_werror_flag"
63043                          || test ! -s conftest.err'
63044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63045   (eval $ac_try) 2>&5
63046   ac_status=$?
63047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63048   (exit $ac_status); }; } &&
63049          { ac_try='test -s conftest$ac_exeext'
63050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63051   (eval $ac_try) 2>&5
63052   ac_status=$?
63053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63054   (exit $ac_status); }; }; then
63055   eval "$as_ac_var=yes"
63056 else
63057   echo "$as_me: failed program was:" >&5
63058 sed 's/^/| /' conftest.$ac_ext >&5
63059
63060 eval "$as_ac_var=no"
63061 fi
63062 rm -f conftest.err conftest.$ac_objext \
63063       conftest$ac_exeext conftest.$ac_ext
63064 fi
63065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63067 if test `eval echo '${'$as_ac_var'}'` = yes; then
63068   cat >>confdefs.h <<_ACEOF
63069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63070 _ACEOF
63071
63072 fi
63073 done
63074
63075     fi
63076   fi
63077
63078
63079
63080   echo "$as_me:$LINENO: checking for long double trig functions" >&5
63081 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
63082   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
63083   echo $ECHO_N "(cached) $ECHO_C" >&6
63084 else
63085
63086
63087
63088     ac_ext=cc
63089 ac_cpp='$CXXCPP $CPPFLAGS'
63090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63093
63094     cat >conftest.$ac_ext <<_ACEOF
63095 /* confdefs.h.  */
63096 _ACEOF
63097 cat confdefs.h >>conftest.$ac_ext
63098 cat >>conftest.$ac_ext <<_ACEOF
63099 /* end confdefs.h.  */
63100 #include <math.h>
63101 int
63102 main ()
63103 {
63104  `for x in acosl asinl atanl \
63105                                           cosl sinl tanl \
63106                                           coshl sinhl tanhl; do echo "$x (0);"; done`
63107   ;
63108   return 0;
63109 }
63110 _ACEOF
63111 rm -f conftest.$ac_objext
63112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63113   (eval $ac_compile) 2>conftest.er1
63114   ac_status=$?
63115   grep -v '^ *+' conftest.er1 >conftest.err
63116   rm -f conftest.er1
63117   cat conftest.err >&5
63118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63119   (exit $ac_status); } &&
63120          { ac_try='test -z "$ac_cxx_werror_flag"
63121                          || test ! -s conftest.err'
63122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63123   (eval $ac_try) 2>&5
63124   ac_status=$?
63125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63126   (exit $ac_status); }; } &&
63127          { ac_try='test -s conftest.$ac_objext'
63128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63129   (eval $ac_try) 2>&5
63130   ac_status=$?
63131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63132   (exit $ac_status); }; }; then
63133   glibcxx_cv_func_long_double_trig_use=yes
63134 else
63135   echo "$as_me: failed program was:" >&5
63136 sed 's/^/| /' conftest.$ac_ext >&5
63137
63138 glibcxx_cv_func_long_double_trig_use=no
63139 fi
63140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63141     ac_ext=c
63142 ac_cpp='$CPP $CPPFLAGS'
63143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63146
63147 fi
63148
63149   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
63150 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
63151   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63152
63153
63154
63155
63156
63157
63158
63159
63160
63161 for ac_func in acosl asinl atanl \
63162                                           cosl sinl tanl \
63163                                           coshl sinhl tanhl
63164 do
63165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63166 echo "$as_me:$LINENO: checking for $ac_func" >&5
63167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63168 if eval "test \"\${$as_ac_var+set}\" = set"; then
63169   echo $ECHO_N "(cached) $ECHO_C" >&6
63170 else
63171   if test x$gcc_no_link = xyes; then
63172   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63174    { (exit 1); exit 1; }; }
63175 fi
63176 cat >conftest.$ac_ext <<_ACEOF
63177 /* confdefs.h.  */
63178 _ACEOF
63179 cat confdefs.h >>conftest.$ac_ext
63180 cat >>conftest.$ac_ext <<_ACEOF
63181 /* end confdefs.h.  */
63182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63183    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63184 #define $ac_func innocuous_$ac_func
63185
63186 /* System header to define __stub macros and hopefully few prototypes,
63187     which can conflict with char $ac_func (); below.
63188     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63189     <limits.h> exists even on freestanding compilers.  */
63190
63191 #ifdef __STDC__
63192 # include <limits.h>
63193 #else
63194 # include <assert.h>
63195 #endif
63196
63197 #undef $ac_func
63198
63199 /* Override any gcc2 internal prototype to avoid an error.  */
63200 #ifdef __cplusplus
63201 extern "C"
63202 {
63203 #endif
63204 /* We use char because int might match the return type of a gcc2
63205    builtin and then its argument prototype would still apply.  */
63206 char $ac_func ();
63207 /* The GNU C library defines this for functions which it implements
63208     to always fail with ENOSYS.  Some functions are actually named
63209     something starting with __ and the normal name is an alias.  */
63210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63211 choke me
63212 #else
63213 char (*f) () = $ac_func;
63214 #endif
63215 #ifdef __cplusplus
63216 }
63217 #endif
63218
63219 int
63220 main ()
63221 {
63222 return f != $ac_func;
63223   ;
63224   return 0;
63225 }
63226 _ACEOF
63227 rm -f conftest.$ac_objext conftest$ac_exeext
63228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63229   (eval $ac_link) 2>conftest.er1
63230   ac_status=$?
63231   grep -v '^ *+' conftest.er1 >conftest.err
63232   rm -f conftest.er1
63233   cat conftest.err >&5
63234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63235   (exit $ac_status); } &&
63236          { ac_try='test -z "$ac_c_werror_flag"
63237                          || test ! -s conftest.err'
63238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63239   (eval $ac_try) 2>&5
63240   ac_status=$?
63241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63242   (exit $ac_status); }; } &&
63243          { ac_try='test -s conftest$ac_exeext'
63244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63245   (eval $ac_try) 2>&5
63246   ac_status=$?
63247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63248   (exit $ac_status); }; }; then
63249   eval "$as_ac_var=yes"
63250 else
63251   echo "$as_me: failed program was:" >&5
63252 sed 's/^/| /' conftest.$ac_ext >&5
63253
63254 eval "$as_ac_var=no"
63255 fi
63256 rm -f conftest.err conftest.$ac_objext \
63257       conftest$ac_exeext conftest.$ac_ext
63258 fi
63259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63261 if test `eval echo '${'$as_ac_var'}'` = yes; then
63262   cat >>confdefs.h <<_ACEOF
63263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63264 _ACEOF
63265
63266 fi
63267 done
63268
63269   fi
63270
63271
63272   echo "$as_me:$LINENO: checking for long double round functions" >&5
63273 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
63274   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
63275   echo $ECHO_N "(cached) $ECHO_C" >&6
63276 else
63277
63278
63279
63280     ac_ext=cc
63281 ac_cpp='$CXXCPP $CPPFLAGS'
63282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63285
63286     cat >conftest.$ac_ext <<_ACEOF
63287 /* confdefs.h.  */
63288 _ACEOF
63289 cat confdefs.h >>conftest.$ac_ext
63290 cat >>conftest.$ac_ext <<_ACEOF
63291 /* end confdefs.h.  */
63292 #include <math.h>
63293 int
63294 main ()
63295 {
63296  `for x in ceill floorl; do echo "$x (0);"; done`
63297   ;
63298   return 0;
63299 }
63300 _ACEOF
63301 rm -f conftest.$ac_objext
63302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63303   (eval $ac_compile) 2>conftest.er1
63304   ac_status=$?
63305   grep -v '^ *+' conftest.er1 >conftest.err
63306   rm -f conftest.er1
63307   cat conftest.err >&5
63308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63309   (exit $ac_status); } &&
63310          { ac_try='test -z "$ac_cxx_werror_flag"
63311                          || test ! -s conftest.err'
63312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63313   (eval $ac_try) 2>&5
63314   ac_status=$?
63315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63316   (exit $ac_status); }; } &&
63317          { ac_try='test -s conftest.$ac_objext'
63318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63319   (eval $ac_try) 2>&5
63320   ac_status=$?
63321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63322   (exit $ac_status); }; }; then
63323   glibcxx_cv_func_long_double_round_use=yes
63324 else
63325   echo "$as_me: failed program was:" >&5
63326 sed 's/^/| /' conftest.$ac_ext >&5
63327
63328 glibcxx_cv_func_long_double_round_use=no
63329 fi
63330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63331     ac_ext=c
63332 ac_cpp='$CPP $CPPFLAGS'
63333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63336
63337 fi
63338
63339   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
63340 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
63341   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63342
63343
63344 for ac_func in ceill floorl
63345 do
63346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63347 echo "$as_me:$LINENO: checking for $ac_func" >&5
63348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63349 if eval "test \"\${$as_ac_var+set}\" = set"; then
63350   echo $ECHO_N "(cached) $ECHO_C" >&6
63351 else
63352   if test x$gcc_no_link = xyes; then
63353   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63355    { (exit 1); exit 1; }; }
63356 fi
63357 cat >conftest.$ac_ext <<_ACEOF
63358 /* confdefs.h.  */
63359 _ACEOF
63360 cat confdefs.h >>conftest.$ac_ext
63361 cat >>conftest.$ac_ext <<_ACEOF
63362 /* end confdefs.h.  */
63363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63364    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63365 #define $ac_func innocuous_$ac_func
63366
63367 /* System header to define __stub macros and hopefully few prototypes,
63368     which can conflict with char $ac_func (); below.
63369     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63370     <limits.h> exists even on freestanding compilers.  */
63371
63372 #ifdef __STDC__
63373 # include <limits.h>
63374 #else
63375 # include <assert.h>
63376 #endif
63377
63378 #undef $ac_func
63379
63380 /* Override any gcc2 internal prototype to avoid an error.  */
63381 #ifdef __cplusplus
63382 extern "C"
63383 {
63384 #endif
63385 /* We use char because int might match the return type of a gcc2
63386    builtin and then its argument prototype would still apply.  */
63387 char $ac_func ();
63388 /* The GNU C library defines this for functions which it implements
63389     to always fail with ENOSYS.  Some functions are actually named
63390     something starting with __ and the normal name is an alias.  */
63391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63392 choke me
63393 #else
63394 char (*f) () = $ac_func;
63395 #endif
63396 #ifdef __cplusplus
63397 }
63398 #endif
63399
63400 int
63401 main ()
63402 {
63403 return f != $ac_func;
63404   ;
63405   return 0;
63406 }
63407 _ACEOF
63408 rm -f conftest.$ac_objext conftest$ac_exeext
63409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63410   (eval $ac_link) 2>conftest.er1
63411   ac_status=$?
63412   grep -v '^ *+' conftest.er1 >conftest.err
63413   rm -f conftest.er1
63414   cat conftest.err >&5
63415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63416   (exit $ac_status); } &&
63417          { ac_try='test -z "$ac_c_werror_flag"
63418                          || test ! -s conftest.err'
63419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63420   (eval $ac_try) 2>&5
63421   ac_status=$?
63422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63423   (exit $ac_status); }; } &&
63424          { ac_try='test -s conftest$ac_exeext'
63425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63426   (eval $ac_try) 2>&5
63427   ac_status=$?
63428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63429   (exit $ac_status); }; }; then
63430   eval "$as_ac_var=yes"
63431 else
63432   echo "$as_me: failed program was:" >&5
63433 sed 's/^/| /' conftest.$ac_ext >&5
63434
63435 eval "$as_ac_var=no"
63436 fi
63437 rm -f conftest.err conftest.$ac_objext \
63438       conftest$ac_exeext conftest.$ac_ext
63439 fi
63440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63442 if test `eval echo '${'$as_ac_var'}'` = yes; then
63443   cat >>confdefs.h <<_ACEOF
63444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63445 _ACEOF
63446
63447 fi
63448 done
63449
63450   fi
63451
63452
63453
63454   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
63455 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
63456   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63457     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
63458   echo $ECHO_N "(cached) $ECHO_C" >&6
63459 else
63460
63461
63462
63463       ac_ext=cc
63464 ac_cpp='$CXXCPP $CPPFLAGS'
63465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63468
63469       cat >conftest.$ac_ext <<_ACEOF
63470 /* confdefs.h.  */
63471 _ACEOF
63472 cat confdefs.h >>conftest.$ac_ext
63473 cat >>conftest.$ac_ext <<_ACEOF
63474 /* end confdefs.h.  */
63475 #include <math.h>
63476                       #ifdef HAVE_IEEEFP_H
63477                       #include <ieeefp.h>
63478                       #endif
63479
63480 int
63481 main ()
63482 {
63483  isnanl(0);
63484   ;
63485   return 0;
63486 }
63487 _ACEOF
63488 rm -f conftest.$ac_objext
63489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63490   (eval $ac_compile) 2>conftest.er1
63491   ac_status=$?
63492   grep -v '^ *+' conftest.er1 >conftest.err
63493   rm -f conftest.er1
63494   cat conftest.err >&5
63495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63496   (exit $ac_status); } &&
63497          { ac_try='test -z "$ac_cxx_werror_flag"
63498                          || test ! -s conftest.err'
63499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63500   (eval $ac_try) 2>&5
63501   ac_status=$?
63502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63503   (exit $ac_status); }; } &&
63504          { ac_try='test -s conftest.$ac_objext'
63505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63506   (eval $ac_try) 2>&5
63507   ac_status=$?
63508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63509   (exit $ac_status); }; }; then
63510   glibcxx_cv_func_isnanl_use=yes
63511 else
63512   echo "$as_me: failed program was:" >&5
63513 sed 's/^/| /' conftest.$ac_ext >&5
63514
63515 glibcxx_cv_func_isnanl_use=no
63516 fi
63517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63518       ac_ext=c
63519 ac_cpp='$CPP $CPPFLAGS'
63520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63523
63524
63525 fi
63526
63527   fi
63528   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
63529 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
63530
63531   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63532
63533 for ac_func in isnanl
63534 do
63535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63536 echo "$as_me:$LINENO: checking for $ac_func" >&5
63537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63538 if eval "test \"\${$as_ac_var+set}\" = set"; then
63539   echo $ECHO_N "(cached) $ECHO_C" >&6
63540 else
63541   if test x$gcc_no_link = xyes; then
63542   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63544    { (exit 1); exit 1; }; }
63545 fi
63546 cat >conftest.$ac_ext <<_ACEOF
63547 /* confdefs.h.  */
63548 _ACEOF
63549 cat confdefs.h >>conftest.$ac_ext
63550 cat >>conftest.$ac_ext <<_ACEOF
63551 /* end confdefs.h.  */
63552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63553    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63554 #define $ac_func innocuous_$ac_func
63555
63556 /* System header to define __stub macros and hopefully few prototypes,
63557     which can conflict with char $ac_func (); below.
63558     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63559     <limits.h> exists even on freestanding compilers.  */
63560
63561 #ifdef __STDC__
63562 # include <limits.h>
63563 #else
63564 # include <assert.h>
63565 #endif
63566
63567 #undef $ac_func
63568
63569 /* Override any gcc2 internal prototype to avoid an error.  */
63570 #ifdef __cplusplus
63571 extern "C"
63572 {
63573 #endif
63574 /* We use char because int might match the return type of a gcc2
63575    builtin and then its argument prototype would still apply.  */
63576 char $ac_func ();
63577 /* The GNU C library defines this for functions which it implements
63578     to always fail with ENOSYS.  Some functions are actually named
63579     something starting with __ and the normal name is an alias.  */
63580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63581 choke me
63582 #else
63583 char (*f) () = $ac_func;
63584 #endif
63585 #ifdef __cplusplus
63586 }
63587 #endif
63588
63589 int
63590 main ()
63591 {
63592 return f != $ac_func;
63593   ;
63594   return 0;
63595 }
63596 _ACEOF
63597 rm -f conftest.$ac_objext conftest$ac_exeext
63598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63599   (eval $ac_link) 2>conftest.er1
63600   ac_status=$?
63601   grep -v '^ *+' conftest.er1 >conftest.err
63602   rm -f conftest.er1
63603   cat conftest.err >&5
63604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63605   (exit $ac_status); } &&
63606          { ac_try='test -z "$ac_c_werror_flag"
63607                          || test ! -s conftest.err'
63608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63609   (eval $ac_try) 2>&5
63610   ac_status=$?
63611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63612   (exit $ac_status); }; } &&
63613          { ac_try='test -s conftest$ac_exeext'
63614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63615   (eval $ac_try) 2>&5
63616   ac_status=$?
63617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63618   (exit $ac_status); }; }; then
63619   eval "$as_ac_var=yes"
63620 else
63621   echo "$as_me: failed program was:" >&5
63622 sed 's/^/| /' conftest.$ac_ext >&5
63623
63624 eval "$as_ac_var=no"
63625 fi
63626 rm -f conftest.err conftest.$ac_objext \
63627       conftest$ac_exeext conftest.$ac_ext
63628 fi
63629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63631 if test `eval echo '${'$as_ac_var'}'` = yes; then
63632   cat >>confdefs.h <<_ACEOF
63633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63634 _ACEOF
63635
63636 fi
63637 done
63638
63639   else
63640
63641   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
63642 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
63643   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63644     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
63645   echo $ECHO_N "(cached) $ECHO_C" >&6
63646 else
63647
63648
63649
63650       ac_ext=cc
63651 ac_cpp='$CXXCPP $CPPFLAGS'
63652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63655
63656       cat >conftest.$ac_ext <<_ACEOF
63657 /* confdefs.h.  */
63658 _ACEOF
63659 cat confdefs.h >>conftest.$ac_ext
63660 cat >>conftest.$ac_ext <<_ACEOF
63661 /* end confdefs.h.  */
63662 #include <math.h>
63663                       #ifdef HAVE_IEEEFP_H
63664                       #include <ieeefp.h>
63665                       #endif
63666
63667 int
63668 main ()
63669 {
63670  _isnanl(0);
63671   ;
63672   return 0;
63673 }
63674 _ACEOF
63675 rm -f conftest.$ac_objext
63676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63677   (eval $ac_compile) 2>conftest.er1
63678   ac_status=$?
63679   grep -v '^ *+' conftest.er1 >conftest.err
63680   rm -f conftest.er1
63681   cat conftest.err >&5
63682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63683   (exit $ac_status); } &&
63684          { ac_try='test -z "$ac_cxx_werror_flag"
63685                          || test ! -s conftest.err'
63686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63687   (eval $ac_try) 2>&5
63688   ac_status=$?
63689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63690   (exit $ac_status); }; } &&
63691          { ac_try='test -s conftest.$ac_objext'
63692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63693   (eval $ac_try) 2>&5
63694   ac_status=$?
63695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63696   (exit $ac_status); }; }; then
63697   glibcxx_cv_func__isnanl_use=yes
63698 else
63699   echo "$as_me: failed program was:" >&5
63700 sed 's/^/| /' conftest.$ac_ext >&5
63701
63702 glibcxx_cv_func__isnanl_use=no
63703 fi
63704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63705       ac_ext=c
63706 ac_cpp='$CPP $CPPFLAGS'
63707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63710
63711
63712 fi
63713
63714   fi
63715   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
63716 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
63717
63718     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63719
63720 for ac_func in _isnanl
63721 do
63722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63723 echo "$as_me:$LINENO: checking for $ac_func" >&5
63724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63725 if eval "test \"\${$as_ac_var+set}\" = set"; then
63726   echo $ECHO_N "(cached) $ECHO_C" >&6
63727 else
63728   if test x$gcc_no_link = xyes; then
63729   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63731    { (exit 1); exit 1; }; }
63732 fi
63733 cat >conftest.$ac_ext <<_ACEOF
63734 /* confdefs.h.  */
63735 _ACEOF
63736 cat confdefs.h >>conftest.$ac_ext
63737 cat >>conftest.$ac_ext <<_ACEOF
63738 /* end confdefs.h.  */
63739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63740    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63741 #define $ac_func innocuous_$ac_func
63742
63743 /* System header to define __stub macros and hopefully few prototypes,
63744     which can conflict with char $ac_func (); below.
63745     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63746     <limits.h> exists even on freestanding compilers.  */
63747
63748 #ifdef __STDC__
63749 # include <limits.h>
63750 #else
63751 # include <assert.h>
63752 #endif
63753
63754 #undef $ac_func
63755
63756 /* Override any gcc2 internal prototype to avoid an error.  */
63757 #ifdef __cplusplus
63758 extern "C"
63759 {
63760 #endif
63761 /* We use char because int might match the return type of a gcc2
63762    builtin and then its argument prototype would still apply.  */
63763 char $ac_func ();
63764 /* The GNU C library defines this for functions which it implements
63765     to always fail with ENOSYS.  Some functions are actually named
63766     something starting with __ and the normal name is an alias.  */
63767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63768 choke me
63769 #else
63770 char (*f) () = $ac_func;
63771 #endif
63772 #ifdef __cplusplus
63773 }
63774 #endif
63775
63776 int
63777 main ()
63778 {
63779 return f != $ac_func;
63780   ;
63781   return 0;
63782 }
63783 _ACEOF
63784 rm -f conftest.$ac_objext conftest$ac_exeext
63785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63786   (eval $ac_link) 2>conftest.er1
63787   ac_status=$?
63788   grep -v '^ *+' conftest.er1 >conftest.err
63789   rm -f conftest.er1
63790   cat conftest.err >&5
63791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63792   (exit $ac_status); } &&
63793          { ac_try='test -z "$ac_c_werror_flag"
63794                          || test ! -s conftest.err'
63795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63796   (eval $ac_try) 2>&5
63797   ac_status=$?
63798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63799   (exit $ac_status); }; } &&
63800          { ac_try='test -s conftest$ac_exeext'
63801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63802   (eval $ac_try) 2>&5
63803   ac_status=$?
63804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63805   (exit $ac_status); }; }; then
63806   eval "$as_ac_var=yes"
63807 else
63808   echo "$as_me: failed program was:" >&5
63809 sed 's/^/| /' conftest.$ac_ext >&5
63810
63811 eval "$as_ac_var=no"
63812 fi
63813 rm -f conftest.err conftest.$ac_objext \
63814       conftest$ac_exeext conftest.$ac_ext
63815 fi
63816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63818 if test `eval echo '${'$as_ac_var'}'` = yes; then
63819   cat >>confdefs.h <<_ACEOF
63820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63821 _ACEOF
63822
63823 fi
63824 done
63825
63826     fi
63827   fi
63828
63829
63830
63831   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
63832 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
63833   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63834     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
63835   echo $ECHO_N "(cached) $ECHO_C" >&6
63836 else
63837
63838
63839
63840       ac_ext=cc
63841 ac_cpp='$CXXCPP $CPPFLAGS'
63842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63845
63846       cat >conftest.$ac_ext <<_ACEOF
63847 /* confdefs.h.  */
63848 _ACEOF
63849 cat confdefs.h >>conftest.$ac_ext
63850 cat >>conftest.$ac_ext <<_ACEOF
63851 /* end confdefs.h.  */
63852 #include <math.h>
63853                       #ifdef HAVE_IEEEFP_H
63854                       #include <ieeefp.h>
63855                       #endif
63856
63857 int
63858 main ()
63859 {
63860  isinfl(0);
63861   ;
63862   return 0;
63863 }
63864 _ACEOF
63865 rm -f conftest.$ac_objext
63866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63867   (eval $ac_compile) 2>conftest.er1
63868   ac_status=$?
63869   grep -v '^ *+' conftest.er1 >conftest.err
63870   rm -f conftest.er1
63871   cat conftest.err >&5
63872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63873   (exit $ac_status); } &&
63874          { ac_try='test -z "$ac_cxx_werror_flag"
63875                          || test ! -s conftest.err'
63876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63877   (eval $ac_try) 2>&5
63878   ac_status=$?
63879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63880   (exit $ac_status); }; } &&
63881          { ac_try='test -s conftest.$ac_objext'
63882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63883   (eval $ac_try) 2>&5
63884   ac_status=$?
63885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63886   (exit $ac_status); }; }; then
63887   glibcxx_cv_func_isinfl_use=yes
63888 else
63889   echo "$as_me: failed program was:" >&5
63890 sed 's/^/| /' conftest.$ac_ext >&5
63891
63892 glibcxx_cv_func_isinfl_use=no
63893 fi
63894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63895       ac_ext=c
63896 ac_cpp='$CPP $CPPFLAGS'
63897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63900
63901
63902 fi
63903
63904   fi
63905   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
63906 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
63907
63908   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
63909
63910 for ac_func in isinfl
63911 do
63912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63913 echo "$as_me:$LINENO: checking for $ac_func" >&5
63914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63915 if eval "test \"\${$as_ac_var+set}\" = set"; then
63916   echo $ECHO_N "(cached) $ECHO_C" >&6
63917 else
63918   if test x$gcc_no_link = xyes; then
63919   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63921    { (exit 1); exit 1; }; }
63922 fi
63923 cat >conftest.$ac_ext <<_ACEOF
63924 /* confdefs.h.  */
63925 _ACEOF
63926 cat confdefs.h >>conftest.$ac_ext
63927 cat >>conftest.$ac_ext <<_ACEOF
63928 /* end confdefs.h.  */
63929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63930    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63931 #define $ac_func innocuous_$ac_func
63932
63933 /* System header to define __stub macros and hopefully few prototypes,
63934     which can conflict with char $ac_func (); below.
63935     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63936     <limits.h> exists even on freestanding compilers.  */
63937
63938 #ifdef __STDC__
63939 # include <limits.h>
63940 #else
63941 # include <assert.h>
63942 #endif
63943
63944 #undef $ac_func
63945
63946 /* Override any gcc2 internal prototype to avoid an error.  */
63947 #ifdef __cplusplus
63948 extern "C"
63949 {
63950 #endif
63951 /* We use char because int might match the return type of a gcc2
63952    builtin and then its argument prototype would still apply.  */
63953 char $ac_func ();
63954 /* The GNU C library defines this for functions which it implements
63955     to always fail with ENOSYS.  Some functions are actually named
63956     something starting with __ and the normal name is an alias.  */
63957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63958 choke me
63959 #else
63960 char (*f) () = $ac_func;
63961 #endif
63962 #ifdef __cplusplus
63963 }
63964 #endif
63965
63966 int
63967 main ()
63968 {
63969 return f != $ac_func;
63970   ;
63971   return 0;
63972 }
63973 _ACEOF
63974 rm -f conftest.$ac_objext conftest$ac_exeext
63975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63976   (eval $ac_link) 2>conftest.er1
63977   ac_status=$?
63978   grep -v '^ *+' conftest.er1 >conftest.err
63979   rm -f conftest.er1
63980   cat conftest.err >&5
63981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63982   (exit $ac_status); } &&
63983          { ac_try='test -z "$ac_c_werror_flag"
63984                          || test ! -s conftest.err'
63985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63986   (eval $ac_try) 2>&5
63987   ac_status=$?
63988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63989   (exit $ac_status); }; } &&
63990          { ac_try='test -s conftest$ac_exeext'
63991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63992   (eval $ac_try) 2>&5
63993   ac_status=$?
63994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63995   (exit $ac_status); }; }; then
63996   eval "$as_ac_var=yes"
63997 else
63998   echo "$as_me: failed program was:" >&5
63999 sed 's/^/| /' conftest.$ac_ext >&5
64000
64001 eval "$as_ac_var=no"
64002 fi
64003 rm -f conftest.err conftest.$ac_objext \
64004       conftest$ac_exeext conftest.$ac_ext
64005 fi
64006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64008 if test `eval echo '${'$as_ac_var'}'` = yes; then
64009   cat >>confdefs.h <<_ACEOF
64010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64011 _ACEOF
64012
64013 fi
64014 done
64015
64016   else
64017
64018   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
64019 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
64020   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64021     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
64022   echo $ECHO_N "(cached) $ECHO_C" >&6
64023 else
64024
64025
64026
64027       ac_ext=cc
64028 ac_cpp='$CXXCPP $CPPFLAGS'
64029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64032
64033       cat >conftest.$ac_ext <<_ACEOF
64034 /* confdefs.h.  */
64035 _ACEOF
64036 cat confdefs.h >>conftest.$ac_ext
64037 cat >>conftest.$ac_ext <<_ACEOF
64038 /* end confdefs.h.  */
64039 #include <math.h>
64040                       #ifdef HAVE_IEEEFP_H
64041                       #include <ieeefp.h>
64042                       #endif
64043
64044 int
64045 main ()
64046 {
64047  _isinfl(0);
64048   ;
64049   return 0;
64050 }
64051 _ACEOF
64052 rm -f conftest.$ac_objext
64053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64054   (eval $ac_compile) 2>conftest.er1
64055   ac_status=$?
64056   grep -v '^ *+' conftest.er1 >conftest.err
64057   rm -f conftest.er1
64058   cat conftest.err >&5
64059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64060   (exit $ac_status); } &&
64061          { ac_try='test -z "$ac_cxx_werror_flag"
64062                          || test ! -s conftest.err'
64063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64064   (eval $ac_try) 2>&5
64065   ac_status=$?
64066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64067   (exit $ac_status); }; } &&
64068          { ac_try='test -s conftest.$ac_objext'
64069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64070   (eval $ac_try) 2>&5
64071   ac_status=$?
64072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64073   (exit $ac_status); }; }; then
64074   glibcxx_cv_func__isinfl_use=yes
64075 else
64076   echo "$as_me: failed program was:" >&5
64077 sed 's/^/| /' conftest.$ac_ext >&5
64078
64079 glibcxx_cv_func__isinfl_use=no
64080 fi
64081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64082       ac_ext=c
64083 ac_cpp='$CPP $CPPFLAGS'
64084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64087
64088
64089 fi
64090
64091   fi
64092   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
64093 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
64094
64095     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64096
64097 for ac_func in _isinfl
64098 do
64099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64100 echo "$as_me:$LINENO: checking for $ac_func" >&5
64101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64102 if eval "test \"\${$as_ac_var+set}\" = set"; then
64103   echo $ECHO_N "(cached) $ECHO_C" >&6
64104 else
64105   if test x$gcc_no_link = xyes; then
64106   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64108    { (exit 1); exit 1; }; }
64109 fi
64110 cat >conftest.$ac_ext <<_ACEOF
64111 /* confdefs.h.  */
64112 _ACEOF
64113 cat confdefs.h >>conftest.$ac_ext
64114 cat >>conftest.$ac_ext <<_ACEOF
64115 /* end confdefs.h.  */
64116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64117    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64118 #define $ac_func innocuous_$ac_func
64119
64120 /* System header to define __stub macros and hopefully few prototypes,
64121     which can conflict with char $ac_func (); below.
64122     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64123     <limits.h> exists even on freestanding compilers.  */
64124
64125 #ifdef __STDC__
64126 # include <limits.h>
64127 #else
64128 # include <assert.h>
64129 #endif
64130
64131 #undef $ac_func
64132
64133 /* Override any gcc2 internal prototype to avoid an error.  */
64134 #ifdef __cplusplus
64135 extern "C"
64136 {
64137 #endif
64138 /* We use char because int might match the return type of a gcc2
64139    builtin and then its argument prototype would still apply.  */
64140 char $ac_func ();
64141 /* The GNU C library defines this for functions which it implements
64142     to always fail with ENOSYS.  Some functions are actually named
64143     something starting with __ and the normal name is an alias.  */
64144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64145 choke me
64146 #else
64147 char (*f) () = $ac_func;
64148 #endif
64149 #ifdef __cplusplus
64150 }
64151 #endif
64152
64153 int
64154 main ()
64155 {
64156 return f != $ac_func;
64157   ;
64158   return 0;
64159 }
64160 _ACEOF
64161 rm -f conftest.$ac_objext conftest$ac_exeext
64162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64163   (eval $ac_link) 2>conftest.er1
64164   ac_status=$?
64165   grep -v '^ *+' conftest.er1 >conftest.err
64166   rm -f conftest.er1
64167   cat conftest.err >&5
64168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64169   (exit $ac_status); } &&
64170          { ac_try='test -z "$ac_c_werror_flag"
64171                          || test ! -s conftest.err'
64172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64173   (eval $ac_try) 2>&5
64174   ac_status=$?
64175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64176   (exit $ac_status); }; } &&
64177          { ac_try='test -s conftest$ac_exeext'
64178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64179   (eval $ac_try) 2>&5
64180   ac_status=$?
64181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64182   (exit $ac_status); }; }; then
64183   eval "$as_ac_var=yes"
64184 else
64185   echo "$as_me: failed program was:" >&5
64186 sed 's/^/| /' conftest.$ac_ext >&5
64187
64188 eval "$as_ac_var=no"
64189 fi
64190 rm -f conftest.err conftest.$ac_objext \
64191       conftest$ac_exeext conftest.$ac_ext
64192 fi
64193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64195 if test `eval echo '${'$as_ac_var'}'` = yes; then
64196   cat >>confdefs.h <<_ACEOF
64197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64198 _ACEOF
64199
64200 fi
64201 done
64202
64203     fi
64204   fi
64205
64206
64207
64208   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
64209 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
64210   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
64211     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
64212   echo $ECHO_N "(cached) $ECHO_C" >&6
64213 else
64214
64215
64216
64217       ac_ext=cc
64218 ac_cpp='$CXXCPP $CPPFLAGS'
64219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64222
64223       cat >conftest.$ac_ext <<_ACEOF
64224 /* confdefs.h.  */
64225 _ACEOF
64226 cat confdefs.h >>conftest.$ac_ext
64227 cat >>conftest.$ac_ext <<_ACEOF
64228 /* end confdefs.h.  */
64229 #include <math.h>
64230 int
64231 main ()
64232 {
64233  copysignl(0, 0);
64234   ;
64235   return 0;
64236 }
64237 _ACEOF
64238 rm -f conftest.$ac_objext
64239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64240   (eval $ac_compile) 2>conftest.er1
64241   ac_status=$?
64242   grep -v '^ *+' conftest.er1 >conftest.err
64243   rm -f conftest.er1
64244   cat conftest.err >&5
64245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64246   (exit $ac_status); } &&
64247          { ac_try='test -z "$ac_cxx_werror_flag"
64248                          || test ! -s conftest.err'
64249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64250   (eval $ac_try) 2>&5
64251   ac_status=$?
64252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64253   (exit $ac_status); }; } &&
64254          { ac_try='test -s conftest.$ac_objext'
64255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64256   (eval $ac_try) 2>&5
64257   ac_status=$?
64258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64259   (exit $ac_status); }; }; then
64260   glibcxx_cv_func_copysignl_use=yes
64261 else
64262   echo "$as_me: failed program was:" >&5
64263 sed 's/^/| /' conftest.$ac_ext >&5
64264
64265 glibcxx_cv_func_copysignl_use=no
64266 fi
64267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64268       ac_ext=c
64269 ac_cpp='$CPP $CPPFLAGS'
64270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64273
64274
64275 fi
64276
64277   fi
64278   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
64279 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
64280
64281   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
64282
64283 for ac_func in copysignl
64284 do
64285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64286 echo "$as_me:$LINENO: checking for $ac_func" >&5
64287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64288 if eval "test \"\${$as_ac_var+set}\" = set"; then
64289   echo $ECHO_N "(cached) $ECHO_C" >&6
64290 else
64291   if test x$gcc_no_link = xyes; then
64292   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64294    { (exit 1); exit 1; }; }
64295 fi
64296 cat >conftest.$ac_ext <<_ACEOF
64297 /* confdefs.h.  */
64298 _ACEOF
64299 cat confdefs.h >>conftest.$ac_ext
64300 cat >>conftest.$ac_ext <<_ACEOF
64301 /* end confdefs.h.  */
64302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64303    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64304 #define $ac_func innocuous_$ac_func
64305
64306 /* System header to define __stub macros and hopefully few prototypes,
64307     which can conflict with char $ac_func (); below.
64308     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64309     <limits.h> exists even on freestanding compilers.  */
64310
64311 #ifdef __STDC__
64312 # include <limits.h>
64313 #else
64314 # include <assert.h>
64315 #endif
64316
64317 #undef $ac_func
64318
64319 /* Override any gcc2 internal prototype to avoid an error.  */
64320 #ifdef __cplusplus
64321 extern "C"
64322 {
64323 #endif
64324 /* We use char because int might match the return type of a gcc2
64325    builtin and then its argument prototype would still apply.  */
64326 char $ac_func ();
64327 /* The GNU C library defines this for functions which it implements
64328     to always fail with ENOSYS.  Some functions are actually named
64329     something starting with __ and the normal name is an alias.  */
64330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64331 choke me
64332 #else
64333 char (*f) () = $ac_func;
64334 #endif
64335 #ifdef __cplusplus
64336 }
64337 #endif
64338
64339 int
64340 main ()
64341 {
64342 return f != $ac_func;
64343   ;
64344   return 0;
64345 }
64346 _ACEOF
64347 rm -f conftest.$ac_objext conftest$ac_exeext
64348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64349   (eval $ac_link) 2>conftest.er1
64350   ac_status=$?
64351   grep -v '^ *+' conftest.er1 >conftest.err
64352   rm -f conftest.er1
64353   cat conftest.err >&5
64354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64355   (exit $ac_status); } &&
64356          { ac_try='test -z "$ac_c_werror_flag"
64357                          || test ! -s conftest.err'
64358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64359   (eval $ac_try) 2>&5
64360   ac_status=$?
64361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64362   (exit $ac_status); }; } &&
64363          { ac_try='test -s conftest$ac_exeext'
64364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64365   (eval $ac_try) 2>&5
64366   ac_status=$?
64367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64368   (exit $ac_status); }; }; then
64369   eval "$as_ac_var=yes"
64370 else
64371   echo "$as_me: failed program was:" >&5
64372 sed 's/^/| /' conftest.$ac_ext >&5
64373
64374 eval "$as_ac_var=no"
64375 fi
64376 rm -f conftest.err conftest.$ac_objext \
64377       conftest$ac_exeext conftest.$ac_ext
64378 fi
64379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64381 if test `eval echo '${'$as_ac_var'}'` = yes; then
64382   cat >>confdefs.h <<_ACEOF
64383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64384 _ACEOF
64385
64386 fi
64387 done
64388
64389   else
64390
64391   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
64392 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
64393   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
64394     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
64395   echo $ECHO_N "(cached) $ECHO_C" >&6
64396 else
64397
64398
64399
64400       ac_ext=cc
64401 ac_cpp='$CXXCPP $CPPFLAGS'
64402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64405
64406       cat >conftest.$ac_ext <<_ACEOF
64407 /* confdefs.h.  */
64408 _ACEOF
64409 cat confdefs.h >>conftest.$ac_ext
64410 cat >>conftest.$ac_ext <<_ACEOF
64411 /* end confdefs.h.  */
64412 #include <math.h>
64413 int
64414 main ()
64415 {
64416  _copysignl(0, 0);
64417   ;
64418   return 0;
64419 }
64420 _ACEOF
64421 rm -f conftest.$ac_objext
64422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64423   (eval $ac_compile) 2>conftest.er1
64424   ac_status=$?
64425   grep -v '^ *+' conftest.er1 >conftest.err
64426   rm -f conftest.er1
64427   cat conftest.err >&5
64428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64429   (exit $ac_status); } &&
64430          { ac_try='test -z "$ac_cxx_werror_flag"
64431                          || test ! -s conftest.err'
64432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64433   (eval $ac_try) 2>&5
64434   ac_status=$?
64435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64436   (exit $ac_status); }; } &&
64437          { ac_try='test -s conftest.$ac_objext'
64438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64439   (eval $ac_try) 2>&5
64440   ac_status=$?
64441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64442   (exit $ac_status); }; }; then
64443   glibcxx_cv_func__copysignl_use=yes
64444 else
64445   echo "$as_me: failed program was:" >&5
64446 sed 's/^/| /' conftest.$ac_ext >&5
64447
64448 glibcxx_cv_func__copysignl_use=no
64449 fi
64450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64451       ac_ext=c
64452 ac_cpp='$CPP $CPPFLAGS'
64453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64456
64457
64458 fi
64459
64460   fi
64461   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
64462 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
64463
64464     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
64465
64466 for ac_func in _copysignl
64467 do
64468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64469 echo "$as_me:$LINENO: checking for $ac_func" >&5
64470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64471 if eval "test \"\${$as_ac_var+set}\" = set"; then
64472   echo $ECHO_N "(cached) $ECHO_C" >&6
64473 else
64474   if test x$gcc_no_link = xyes; then
64475   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64477    { (exit 1); exit 1; }; }
64478 fi
64479 cat >conftest.$ac_ext <<_ACEOF
64480 /* confdefs.h.  */
64481 _ACEOF
64482 cat confdefs.h >>conftest.$ac_ext
64483 cat >>conftest.$ac_ext <<_ACEOF
64484 /* end confdefs.h.  */
64485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64486    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64487 #define $ac_func innocuous_$ac_func
64488
64489 /* System header to define __stub macros and hopefully few prototypes,
64490     which can conflict with char $ac_func (); below.
64491     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64492     <limits.h> exists even on freestanding compilers.  */
64493
64494 #ifdef __STDC__
64495 # include <limits.h>
64496 #else
64497 # include <assert.h>
64498 #endif
64499
64500 #undef $ac_func
64501
64502 /* Override any gcc2 internal prototype to avoid an error.  */
64503 #ifdef __cplusplus
64504 extern "C"
64505 {
64506 #endif
64507 /* We use char because int might match the return type of a gcc2
64508    builtin and then its argument prototype would still apply.  */
64509 char $ac_func ();
64510 /* The GNU C library defines this for functions which it implements
64511     to always fail with ENOSYS.  Some functions are actually named
64512     something starting with __ and the normal name is an alias.  */
64513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64514 choke me
64515 #else
64516 char (*f) () = $ac_func;
64517 #endif
64518 #ifdef __cplusplus
64519 }
64520 #endif
64521
64522 int
64523 main ()
64524 {
64525 return f != $ac_func;
64526   ;
64527   return 0;
64528 }
64529 _ACEOF
64530 rm -f conftest.$ac_objext conftest$ac_exeext
64531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64532   (eval $ac_link) 2>conftest.er1
64533   ac_status=$?
64534   grep -v '^ *+' conftest.er1 >conftest.err
64535   rm -f conftest.er1
64536   cat conftest.err >&5
64537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64538   (exit $ac_status); } &&
64539          { ac_try='test -z "$ac_c_werror_flag"
64540                          || test ! -s conftest.err'
64541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64542   (eval $ac_try) 2>&5
64543   ac_status=$?
64544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64545   (exit $ac_status); }; } &&
64546          { ac_try='test -s conftest$ac_exeext'
64547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64548   (eval $ac_try) 2>&5
64549   ac_status=$?
64550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64551   (exit $ac_status); }; }; then
64552   eval "$as_ac_var=yes"
64553 else
64554   echo "$as_me: failed program was:" >&5
64555 sed 's/^/| /' conftest.$ac_ext >&5
64556
64557 eval "$as_ac_var=no"
64558 fi
64559 rm -f conftest.err conftest.$ac_objext \
64560       conftest$ac_exeext conftest.$ac_ext
64561 fi
64562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64564 if test `eval echo '${'$as_ac_var'}'` = yes; then
64565   cat >>confdefs.h <<_ACEOF
64566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64567 _ACEOF
64568
64569 fi
64570 done
64571
64572     fi
64573   fi
64574
64575
64576
64577   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
64578 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
64579   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64580     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
64581   echo $ECHO_N "(cached) $ECHO_C" >&6
64582 else
64583
64584
64585
64586       ac_ext=cc
64587 ac_cpp='$CXXCPP $CPPFLAGS'
64588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64591
64592       cat >conftest.$ac_ext <<_ACEOF
64593 /* confdefs.h.  */
64594 _ACEOF
64595 cat confdefs.h >>conftest.$ac_ext
64596 cat >>conftest.$ac_ext <<_ACEOF
64597 /* end confdefs.h.  */
64598 #include <math.h>
64599 int
64600 main ()
64601 {
64602  atan2l(0, 0);
64603   ;
64604   return 0;
64605 }
64606 _ACEOF
64607 rm -f conftest.$ac_objext
64608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64609   (eval $ac_compile) 2>conftest.er1
64610   ac_status=$?
64611   grep -v '^ *+' conftest.er1 >conftest.err
64612   rm -f conftest.er1
64613   cat conftest.err >&5
64614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64615   (exit $ac_status); } &&
64616          { ac_try='test -z "$ac_cxx_werror_flag"
64617                          || test ! -s conftest.err'
64618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64619   (eval $ac_try) 2>&5
64620   ac_status=$?
64621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64622   (exit $ac_status); }; } &&
64623          { ac_try='test -s conftest.$ac_objext'
64624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64625   (eval $ac_try) 2>&5
64626   ac_status=$?
64627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64628   (exit $ac_status); }; }; then
64629   glibcxx_cv_func_atan2l_use=yes
64630 else
64631   echo "$as_me: failed program was:" >&5
64632 sed 's/^/| /' conftest.$ac_ext >&5
64633
64634 glibcxx_cv_func_atan2l_use=no
64635 fi
64636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64637       ac_ext=c
64638 ac_cpp='$CPP $CPPFLAGS'
64639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64642
64643
64644 fi
64645
64646   fi
64647   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
64648 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
64649
64650   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64651
64652 for ac_func in atan2l
64653 do
64654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64655 echo "$as_me:$LINENO: checking for $ac_func" >&5
64656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64657 if eval "test \"\${$as_ac_var+set}\" = set"; then
64658   echo $ECHO_N "(cached) $ECHO_C" >&6
64659 else
64660   if test x$gcc_no_link = xyes; then
64661   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64663    { (exit 1); exit 1; }; }
64664 fi
64665 cat >conftest.$ac_ext <<_ACEOF
64666 /* confdefs.h.  */
64667 _ACEOF
64668 cat confdefs.h >>conftest.$ac_ext
64669 cat >>conftest.$ac_ext <<_ACEOF
64670 /* end confdefs.h.  */
64671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64672    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64673 #define $ac_func innocuous_$ac_func
64674
64675 /* System header to define __stub macros and hopefully few prototypes,
64676     which can conflict with char $ac_func (); below.
64677     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64678     <limits.h> exists even on freestanding compilers.  */
64679
64680 #ifdef __STDC__
64681 # include <limits.h>
64682 #else
64683 # include <assert.h>
64684 #endif
64685
64686 #undef $ac_func
64687
64688 /* Override any gcc2 internal prototype to avoid an error.  */
64689 #ifdef __cplusplus
64690 extern "C"
64691 {
64692 #endif
64693 /* We use char because int might match the return type of a gcc2
64694    builtin and then its argument prototype would still apply.  */
64695 char $ac_func ();
64696 /* The GNU C library defines this for functions which it implements
64697     to always fail with ENOSYS.  Some functions are actually named
64698     something starting with __ and the normal name is an alias.  */
64699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64700 choke me
64701 #else
64702 char (*f) () = $ac_func;
64703 #endif
64704 #ifdef __cplusplus
64705 }
64706 #endif
64707
64708 int
64709 main ()
64710 {
64711 return f != $ac_func;
64712   ;
64713   return 0;
64714 }
64715 _ACEOF
64716 rm -f conftest.$ac_objext conftest$ac_exeext
64717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64718   (eval $ac_link) 2>conftest.er1
64719   ac_status=$?
64720   grep -v '^ *+' conftest.er1 >conftest.err
64721   rm -f conftest.er1
64722   cat conftest.err >&5
64723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64724   (exit $ac_status); } &&
64725          { ac_try='test -z "$ac_c_werror_flag"
64726                          || test ! -s conftest.err'
64727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64728   (eval $ac_try) 2>&5
64729   ac_status=$?
64730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64731   (exit $ac_status); }; } &&
64732          { ac_try='test -s conftest$ac_exeext'
64733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64734   (eval $ac_try) 2>&5
64735   ac_status=$?
64736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64737   (exit $ac_status); }; }; then
64738   eval "$as_ac_var=yes"
64739 else
64740   echo "$as_me: failed program was:" >&5
64741 sed 's/^/| /' conftest.$ac_ext >&5
64742
64743 eval "$as_ac_var=no"
64744 fi
64745 rm -f conftest.err conftest.$ac_objext \
64746       conftest$ac_exeext conftest.$ac_ext
64747 fi
64748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64750 if test `eval echo '${'$as_ac_var'}'` = yes; then
64751   cat >>confdefs.h <<_ACEOF
64752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64753 _ACEOF
64754
64755 fi
64756 done
64757
64758   else
64759
64760   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
64761 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
64762   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64763     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
64764   echo $ECHO_N "(cached) $ECHO_C" >&6
64765 else
64766
64767
64768
64769       ac_ext=cc
64770 ac_cpp='$CXXCPP $CPPFLAGS'
64771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64774
64775       cat >conftest.$ac_ext <<_ACEOF
64776 /* confdefs.h.  */
64777 _ACEOF
64778 cat confdefs.h >>conftest.$ac_ext
64779 cat >>conftest.$ac_ext <<_ACEOF
64780 /* end confdefs.h.  */
64781 #include <math.h>
64782 int
64783 main ()
64784 {
64785  _atan2l(0, 0);
64786   ;
64787   return 0;
64788 }
64789 _ACEOF
64790 rm -f conftest.$ac_objext
64791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64792   (eval $ac_compile) 2>conftest.er1
64793   ac_status=$?
64794   grep -v '^ *+' conftest.er1 >conftest.err
64795   rm -f conftest.er1
64796   cat conftest.err >&5
64797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64798   (exit $ac_status); } &&
64799          { ac_try='test -z "$ac_cxx_werror_flag"
64800                          || test ! -s conftest.err'
64801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64802   (eval $ac_try) 2>&5
64803   ac_status=$?
64804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64805   (exit $ac_status); }; } &&
64806          { ac_try='test -s conftest.$ac_objext'
64807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64808   (eval $ac_try) 2>&5
64809   ac_status=$?
64810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64811   (exit $ac_status); }; }; then
64812   glibcxx_cv_func__atan2l_use=yes
64813 else
64814   echo "$as_me: failed program was:" >&5
64815 sed 's/^/| /' conftest.$ac_ext >&5
64816
64817 glibcxx_cv_func__atan2l_use=no
64818 fi
64819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64820       ac_ext=c
64821 ac_cpp='$CPP $CPPFLAGS'
64822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64825
64826
64827 fi
64828
64829   fi
64830   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
64831 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
64832
64833     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64834
64835 for ac_func in _atan2l
64836 do
64837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64838 echo "$as_me:$LINENO: checking for $ac_func" >&5
64839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64840 if eval "test \"\${$as_ac_var+set}\" = set"; then
64841   echo $ECHO_N "(cached) $ECHO_C" >&6
64842 else
64843   if test x$gcc_no_link = xyes; then
64844   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64846    { (exit 1); exit 1; }; }
64847 fi
64848 cat >conftest.$ac_ext <<_ACEOF
64849 /* confdefs.h.  */
64850 _ACEOF
64851 cat confdefs.h >>conftest.$ac_ext
64852 cat >>conftest.$ac_ext <<_ACEOF
64853 /* end confdefs.h.  */
64854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64855    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64856 #define $ac_func innocuous_$ac_func
64857
64858 /* System header to define __stub macros and hopefully few prototypes,
64859     which can conflict with char $ac_func (); below.
64860     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64861     <limits.h> exists even on freestanding compilers.  */
64862
64863 #ifdef __STDC__
64864 # include <limits.h>
64865 #else
64866 # include <assert.h>
64867 #endif
64868
64869 #undef $ac_func
64870
64871 /* Override any gcc2 internal prototype to avoid an error.  */
64872 #ifdef __cplusplus
64873 extern "C"
64874 {
64875 #endif
64876 /* We use char because int might match the return type of a gcc2
64877    builtin and then its argument prototype would still apply.  */
64878 char $ac_func ();
64879 /* The GNU C library defines this for functions which it implements
64880     to always fail with ENOSYS.  Some functions are actually named
64881     something starting with __ and the normal name is an alias.  */
64882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64883 choke me
64884 #else
64885 char (*f) () = $ac_func;
64886 #endif
64887 #ifdef __cplusplus
64888 }
64889 #endif
64890
64891 int
64892 main ()
64893 {
64894 return f != $ac_func;
64895   ;
64896   return 0;
64897 }
64898 _ACEOF
64899 rm -f conftest.$ac_objext conftest$ac_exeext
64900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64901   (eval $ac_link) 2>conftest.er1
64902   ac_status=$?
64903   grep -v '^ *+' conftest.er1 >conftest.err
64904   rm -f conftest.er1
64905   cat conftest.err >&5
64906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64907   (exit $ac_status); } &&
64908          { ac_try='test -z "$ac_c_werror_flag"
64909                          || test ! -s conftest.err'
64910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64911   (eval $ac_try) 2>&5
64912   ac_status=$?
64913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64914   (exit $ac_status); }; } &&
64915          { ac_try='test -s conftest$ac_exeext'
64916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64917   (eval $ac_try) 2>&5
64918   ac_status=$?
64919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64920   (exit $ac_status); }; }; then
64921   eval "$as_ac_var=yes"
64922 else
64923   echo "$as_me: failed program was:" >&5
64924 sed 's/^/| /' conftest.$ac_ext >&5
64925
64926 eval "$as_ac_var=no"
64927 fi
64928 rm -f conftest.err conftest.$ac_objext \
64929       conftest$ac_exeext conftest.$ac_ext
64930 fi
64931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64933 if test `eval echo '${'$as_ac_var'}'` = yes; then
64934   cat >>confdefs.h <<_ACEOF
64935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64936 _ACEOF
64937
64938 fi
64939 done
64940
64941     fi
64942   fi
64943
64944
64945
64946   echo "$as_me:$LINENO: checking for expl declaration" >&5
64947 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
64948   if test x${glibcxx_cv_func_expl_use+set} != xset; then
64949     if test "${glibcxx_cv_func_expl_use+set}" = set; then
64950   echo $ECHO_N "(cached) $ECHO_C" >&6
64951 else
64952
64953
64954
64955       ac_ext=cc
64956 ac_cpp='$CXXCPP $CPPFLAGS'
64957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64960
64961       cat >conftest.$ac_ext <<_ACEOF
64962 /* confdefs.h.  */
64963 _ACEOF
64964 cat confdefs.h >>conftest.$ac_ext
64965 cat >>conftest.$ac_ext <<_ACEOF
64966 /* end confdefs.h.  */
64967 #include <math.h>
64968                       #ifdef HAVE_IEEEFP_H
64969                       #include <ieeefp.h>
64970                       #endif
64971
64972 int
64973 main ()
64974 {
64975  expl(0);
64976   ;
64977   return 0;
64978 }
64979 _ACEOF
64980 rm -f conftest.$ac_objext
64981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64982   (eval $ac_compile) 2>conftest.er1
64983   ac_status=$?
64984   grep -v '^ *+' conftest.er1 >conftest.err
64985   rm -f conftest.er1
64986   cat conftest.err >&5
64987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64988   (exit $ac_status); } &&
64989          { ac_try='test -z "$ac_cxx_werror_flag"
64990                          || test ! -s conftest.err'
64991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64992   (eval $ac_try) 2>&5
64993   ac_status=$?
64994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64995   (exit $ac_status); }; } &&
64996          { ac_try='test -s conftest.$ac_objext'
64997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64998   (eval $ac_try) 2>&5
64999   ac_status=$?
65000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65001   (exit $ac_status); }; }; then
65002   glibcxx_cv_func_expl_use=yes
65003 else
65004   echo "$as_me: failed program was:" >&5
65005 sed 's/^/| /' conftest.$ac_ext >&5
65006
65007 glibcxx_cv_func_expl_use=no
65008 fi
65009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65010       ac_ext=c
65011 ac_cpp='$CPP $CPPFLAGS'
65012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65015
65016
65017 fi
65018
65019   fi
65020   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
65021 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
65022
65023   if test x$glibcxx_cv_func_expl_use = x"yes"; then
65024
65025 for ac_func in expl
65026 do
65027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65028 echo "$as_me:$LINENO: checking for $ac_func" >&5
65029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65030 if eval "test \"\${$as_ac_var+set}\" = set"; then
65031   echo $ECHO_N "(cached) $ECHO_C" >&6
65032 else
65033   if test x$gcc_no_link = xyes; then
65034   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65036    { (exit 1); exit 1; }; }
65037 fi
65038 cat >conftest.$ac_ext <<_ACEOF
65039 /* confdefs.h.  */
65040 _ACEOF
65041 cat confdefs.h >>conftest.$ac_ext
65042 cat >>conftest.$ac_ext <<_ACEOF
65043 /* end confdefs.h.  */
65044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65045    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65046 #define $ac_func innocuous_$ac_func
65047
65048 /* System header to define __stub macros and hopefully few prototypes,
65049     which can conflict with char $ac_func (); below.
65050     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65051     <limits.h> exists even on freestanding compilers.  */
65052
65053 #ifdef __STDC__
65054 # include <limits.h>
65055 #else
65056 # include <assert.h>
65057 #endif
65058
65059 #undef $ac_func
65060
65061 /* Override any gcc2 internal prototype to avoid an error.  */
65062 #ifdef __cplusplus
65063 extern "C"
65064 {
65065 #endif
65066 /* We use char because int might match the return type of a gcc2
65067    builtin and then its argument prototype would still apply.  */
65068 char $ac_func ();
65069 /* The GNU C library defines this for functions which it implements
65070     to always fail with ENOSYS.  Some functions are actually named
65071     something starting with __ and the normal name is an alias.  */
65072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65073 choke me
65074 #else
65075 char (*f) () = $ac_func;
65076 #endif
65077 #ifdef __cplusplus
65078 }
65079 #endif
65080
65081 int
65082 main ()
65083 {
65084 return f != $ac_func;
65085   ;
65086   return 0;
65087 }
65088 _ACEOF
65089 rm -f conftest.$ac_objext conftest$ac_exeext
65090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65091   (eval $ac_link) 2>conftest.er1
65092   ac_status=$?
65093   grep -v '^ *+' conftest.er1 >conftest.err
65094   rm -f conftest.er1
65095   cat conftest.err >&5
65096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65097   (exit $ac_status); } &&
65098          { ac_try='test -z "$ac_c_werror_flag"
65099                          || test ! -s conftest.err'
65100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65101   (eval $ac_try) 2>&5
65102   ac_status=$?
65103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65104   (exit $ac_status); }; } &&
65105          { ac_try='test -s conftest$ac_exeext'
65106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65107   (eval $ac_try) 2>&5
65108   ac_status=$?
65109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65110   (exit $ac_status); }; }; then
65111   eval "$as_ac_var=yes"
65112 else
65113   echo "$as_me: failed program was:" >&5
65114 sed 's/^/| /' conftest.$ac_ext >&5
65115
65116 eval "$as_ac_var=no"
65117 fi
65118 rm -f conftest.err conftest.$ac_objext \
65119       conftest$ac_exeext conftest.$ac_ext
65120 fi
65121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65123 if test `eval echo '${'$as_ac_var'}'` = yes; then
65124   cat >>confdefs.h <<_ACEOF
65125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65126 _ACEOF
65127
65128 fi
65129 done
65130
65131   else
65132
65133   echo "$as_me:$LINENO: checking for _expl declaration" >&5
65134 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
65135   if test x${glibcxx_cv_func__expl_use+set} != xset; then
65136     if test "${glibcxx_cv_func__expl_use+set}" = set; then
65137   echo $ECHO_N "(cached) $ECHO_C" >&6
65138 else
65139
65140
65141
65142       ac_ext=cc
65143 ac_cpp='$CXXCPP $CPPFLAGS'
65144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65147
65148       cat >conftest.$ac_ext <<_ACEOF
65149 /* confdefs.h.  */
65150 _ACEOF
65151 cat confdefs.h >>conftest.$ac_ext
65152 cat >>conftest.$ac_ext <<_ACEOF
65153 /* end confdefs.h.  */
65154 #include <math.h>
65155                       #ifdef HAVE_IEEEFP_H
65156                       #include <ieeefp.h>
65157                       #endif
65158
65159 int
65160 main ()
65161 {
65162  _expl(0);
65163   ;
65164   return 0;
65165 }
65166 _ACEOF
65167 rm -f conftest.$ac_objext
65168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65169   (eval $ac_compile) 2>conftest.er1
65170   ac_status=$?
65171   grep -v '^ *+' conftest.er1 >conftest.err
65172   rm -f conftest.er1
65173   cat conftest.err >&5
65174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65175   (exit $ac_status); } &&
65176          { ac_try='test -z "$ac_cxx_werror_flag"
65177                          || test ! -s conftest.err'
65178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65179   (eval $ac_try) 2>&5
65180   ac_status=$?
65181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65182   (exit $ac_status); }; } &&
65183          { ac_try='test -s conftest.$ac_objext'
65184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65185   (eval $ac_try) 2>&5
65186   ac_status=$?
65187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65188   (exit $ac_status); }; }; then
65189   glibcxx_cv_func__expl_use=yes
65190 else
65191   echo "$as_me: failed program was:" >&5
65192 sed 's/^/| /' conftest.$ac_ext >&5
65193
65194 glibcxx_cv_func__expl_use=no
65195 fi
65196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65197       ac_ext=c
65198 ac_cpp='$CPP $CPPFLAGS'
65199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65202
65203
65204 fi
65205
65206   fi
65207   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
65208 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
65209
65210     if test x$glibcxx_cv_func__expl_use = x"yes"; then
65211
65212 for ac_func in _expl
65213 do
65214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65215 echo "$as_me:$LINENO: checking for $ac_func" >&5
65216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65217 if eval "test \"\${$as_ac_var+set}\" = set"; then
65218   echo $ECHO_N "(cached) $ECHO_C" >&6
65219 else
65220   if test x$gcc_no_link = xyes; then
65221   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65223    { (exit 1); exit 1; }; }
65224 fi
65225 cat >conftest.$ac_ext <<_ACEOF
65226 /* confdefs.h.  */
65227 _ACEOF
65228 cat confdefs.h >>conftest.$ac_ext
65229 cat >>conftest.$ac_ext <<_ACEOF
65230 /* end confdefs.h.  */
65231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65232    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65233 #define $ac_func innocuous_$ac_func
65234
65235 /* System header to define __stub macros and hopefully few prototypes,
65236     which can conflict with char $ac_func (); below.
65237     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65238     <limits.h> exists even on freestanding compilers.  */
65239
65240 #ifdef __STDC__
65241 # include <limits.h>
65242 #else
65243 # include <assert.h>
65244 #endif
65245
65246 #undef $ac_func
65247
65248 /* Override any gcc2 internal prototype to avoid an error.  */
65249 #ifdef __cplusplus
65250 extern "C"
65251 {
65252 #endif
65253 /* We use char because int might match the return type of a gcc2
65254    builtin and then its argument prototype would still apply.  */
65255 char $ac_func ();
65256 /* The GNU C library defines this for functions which it implements
65257     to always fail with ENOSYS.  Some functions are actually named
65258     something starting with __ and the normal name is an alias.  */
65259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65260 choke me
65261 #else
65262 char (*f) () = $ac_func;
65263 #endif
65264 #ifdef __cplusplus
65265 }
65266 #endif
65267
65268 int
65269 main ()
65270 {
65271 return f != $ac_func;
65272   ;
65273   return 0;
65274 }
65275 _ACEOF
65276 rm -f conftest.$ac_objext conftest$ac_exeext
65277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65278   (eval $ac_link) 2>conftest.er1
65279   ac_status=$?
65280   grep -v '^ *+' conftest.er1 >conftest.err
65281   rm -f conftest.er1
65282   cat conftest.err >&5
65283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65284   (exit $ac_status); } &&
65285          { ac_try='test -z "$ac_c_werror_flag"
65286                          || test ! -s conftest.err'
65287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65288   (eval $ac_try) 2>&5
65289   ac_status=$?
65290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65291   (exit $ac_status); }; } &&
65292          { ac_try='test -s conftest$ac_exeext'
65293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65294   (eval $ac_try) 2>&5
65295   ac_status=$?
65296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65297   (exit $ac_status); }; }; then
65298   eval "$as_ac_var=yes"
65299 else
65300   echo "$as_me: failed program was:" >&5
65301 sed 's/^/| /' conftest.$ac_ext >&5
65302
65303 eval "$as_ac_var=no"
65304 fi
65305 rm -f conftest.err conftest.$ac_objext \
65306       conftest$ac_exeext conftest.$ac_ext
65307 fi
65308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65310 if test `eval echo '${'$as_ac_var'}'` = yes; then
65311   cat >>confdefs.h <<_ACEOF
65312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65313 _ACEOF
65314
65315 fi
65316 done
65317
65318     fi
65319   fi
65320
65321
65322
65323   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
65324 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
65325   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65326     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
65327   echo $ECHO_N "(cached) $ECHO_C" >&6
65328 else
65329
65330
65331
65332       ac_ext=cc
65333 ac_cpp='$CXXCPP $CPPFLAGS'
65334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65337
65338       cat >conftest.$ac_ext <<_ACEOF
65339 /* confdefs.h.  */
65340 _ACEOF
65341 cat confdefs.h >>conftest.$ac_ext
65342 cat >>conftest.$ac_ext <<_ACEOF
65343 /* end confdefs.h.  */
65344 #include <math.h>
65345                       #ifdef HAVE_IEEEFP_H
65346                       #include <ieeefp.h>
65347                       #endif
65348
65349 int
65350 main ()
65351 {
65352  fabsl(0);
65353   ;
65354   return 0;
65355 }
65356 _ACEOF
65357 rm -f conftest.$ac_objext
65358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65359   (eval $ac_compile) 2>conftest.er1
65360   ac_status=$?
65361   grep -v '^ *+' conftest.er1 >conftest.err
65362   rm -f conftest.er1
65363   cat conftest.err >&5
65364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65365   (exit $ac_status); } &&
65366          { ac_try='test -z "$ac_cxx_werror_flag"
65367                          || test ! -s conftest.err'
65368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65369   (eval $ac_try) 2>&5
65370   ac_status=$?
65371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65372   (exit $ac_status); }; } &&
65373          { ac_try='test -s conftest.$ac_objext'
65374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65375   (eval $ac_try) 2>&5
65376   ac_status=$?
65377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65378   (exit $ac_status); }; }; then
65379   glibcxx_cv_func_fabsl_use=yes
65380 else
65381   echo "$as_me: failed program was:" >&5
65382 sed 's/^/| /' conftest.$ac_ext >&5
65383
65384 glibcxx_cv_func_fabsl_use=no
65385 fi
65386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65387       ac_ext=c
65388 ac_cpp='$CPP $CPPFLAGS'
65389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65392
65393
65394 fi
65395
65396   fi
65397   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
65398 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
65399
65400   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65401
65402 for ac_func in fabsl
65403 do
65404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65405 echo "$as_me:$LINENO: checking for $ac_func" >&5
65406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65407 if eval "test \"\${$as_ac_var+set}\" = set"; then
65408   echo $ECHO_N "(cached) $ECHO_C" >&6
65409 else
65410   if test x$gcc_no_link = xyes; then
65411   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65413    { (exit 1); exit 1; }; }
65414 fi
65415 cat >conftest.$ac_ext <<_ACEOF
65416 /* confdefs.h.  */
65417 _ACEOF
65418 cat confdefs.h >>conftest.$ac_ext
65419 cat >>conftest.$ac_ext <<_ACEOF
65420 /* end confdefs.h.  */
65421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65422    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65423 #define $ac_func innocuous_$ac_func
65424
65425 /* System header to define __stub macros and hopefully few prototypes,
65426     which can conflict with char $ac_func (); below.
65427     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65428     <limits.h> exists even on freestanding compilers.  */
65429
65430 #ifdef __STDC__
65431 # include <limits.h>
65432 #else
65433 # include <assert.h>
65434 #endif
65435
65436 #undef $ac_func
65437
65438 /* Override any gcc2 internal prototype to avoid an error.  */
65439 #ifdef __cplusplus
65440 extern "C"
65441 {
65442 #endif
65443 /* We use char because int might match the return type of a gcc2
65444    builtin and then its argument prototype would still apply.  */
65445 char $ac_func ();
65446 /* The GNU C library defines this for functions which it implements
65447     to always fail with ENOSYS.  Some functions are actually named
65448     something starting with __ and the normal name is an alias.  */
65449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65450 choke me
65451 #else
65452 char (*f) () = $ac_func;
65453 #endif
65454 #ifdef __cplusplus
65455 }
65456 #endif
65457
65458 int
65459 main ()
65460 {
65461 return f != $ac_func;
65462   ;
65463   return 0;
65464 }
65465 _ACEOF
65466 rm -f conftest.$ac_objext conftest$ac_exeext
65467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65468   (eval $ac_link) 2>conftest.er1
65469   ac_status=$?
65470   grep -v '^ *+' conftest.er1 >conftest.err
65471   rm -f conftest.er1
65472   cat conftest.err >&5
65473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65474   (exit $ac_status); } &&
65475          { ac_try='test -z "$ac_c_werror_flag"
65476                          || test ! -s conftest.err'
65477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65478   (eval $ac_try) 2>&5
65479   ac_status=$?
65480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65481   (exit $ac_status); }; } &&
65482          { ac_try='test -s conftest$ac_exeext'
65483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65484   (eval $ac_try) 2>&5
65485   ac_status=$?
65486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65487   (exit $ac_status); }; }; then
65488   eval "$as_ac_var=yes"
65489 else
65490   echo "$as_me: failed program was:" >&5
65491 sed 's/^/| /' conftest.$ac_ext >&5
65492
65493 eval "$as_ac_var=no"
65494 fi
65495 rm -f conftest.err conftest.$ac_objext \
65496       conftest$ac_exeext conftest.$ac_ext
65497 fi
65498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65500 if test `eval echo '${'$as_ac_var'}'` = yes; then
65501   cat >>confdefs.h <<_ACEOF
65502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65503 _ACEOF
65504
65505 fi
65506 done
65507
65508   else
65509
65510   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
65511 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
65512   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65513     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
65514   echo $ECHO_N "(cached) $ECHO_C" >&6
65515 else
65516
65517
65518
65519       ac_ext=cc
65520 ac_cpp='$CXXCPP $CPPFLAGS'
65521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65524
65525       cat >conftest.$ac_ext <<_ACEOF
65526 /* confdefs.h.  */
65527 _ACEOF
65528 cat confdefs.h >>conftest.$ac_ext
65529 cat >>conftest.$ac_ext <<_ACEOF
65530 /* end confdefs.h.  */
65531 #include <math.h>
65532                       #ifdef HAVE_IEEEFP_H
65533                       #include <ieeefp.h>
65534                       #endif
65535
65536 int
65537 main ()
65538 {
65539  _fabsl(0);
65540   ;
65541   return 0;
65542 }
65543 _ACEOF
65544 rm -f conftest.$ac_objext
65545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65546   (eval $ac_compile) 2>conftest.er1
65547   ac_status=$?
65548   grep -v '^ *+' conftest.er1 >conftest.err
65549   rm -f conftest.er1
65550   cat conftest.err >&5
65551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65552   (exit $ac_status); } &&
65553          { ac_try='test -z "$ac_cxx_werror_flag"
65554                          || test ! -s conftest.err'
65555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65556   (eval $ac_try) 2>&5
65557   ac_status=$?
65558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65559   (exit $ac_status); }; } &&
65560          { ac_try='test -s conftest.$ac_objext'
65561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65562   (eval $ac_try) 2>&5
65563   ac_status=$?
65564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65565   (exit $ac_status); }; }; then
65566   glibcxx_cv_func__fabsl_use=yes
65567 else
65568   echo "$as_me: failed program was:" >&5
65569 sed 's/^/| /' conftest.$ac_ext >&5
65570
65571 glibcxx_cv_func__fabsl_use=no
65572 fi
65573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65574       ac_ext=c
65575 ac_cpp='$CPP $CPPFLAGS'
65576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65579
65580
65581 fi
65582
65583   fi
65584   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
65585 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
65586
65587     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65588
65589 for ac_func in _fabsl
65590 do
65591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65592 echo "$as_me:$LINENO: checking for $ac_func" >&5
65593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65594 if eval "test \"\${$as_ac_var+set}\" = set"; then
65595   echo $ECHO_N "(cached) $ECHO_C" >&6
65596 else
65597   if test x$gcc_no_link = xyes; then
65598   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65600    { (exit 1); exit 1; }; }
65601 fi
65602 cat >conftest.$ac_ext <<_ACEOF
65603 /* confdefs.h.  */
65604 _ACEOF
65605 cat confdefs.h >>conftest.$ac_ext
65606 cat >>conftest.$ac_ext <<_ACEOF
65607 /* end confdefs.h.  */
65608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65609    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65610 #define $ac_func innocuous_$ac_func
65611
65612 /* System header to define __stub macros and hopefully few prototypes,
65613     which can conflict with char $ac_func (); below.
65614     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65615     <limits.h> exists even on freestanding compilers.  */
65616
65617 #ifdef __STDC__
65618 # include <limits.h>
65619 #else
65620 # include <assert.h>
65621 #endif
65622
65623 #undef $ac_func
65624
65625 /* Override any gcc2 internal prototype to avoid an error.  */
65626 #ifdef __cplusplus
65627 extern "C"
65628 {
65629 #endif
65630 /* We use char because int might match the return type of a gcc2
65631    builtin and then its argument prototype would still apply.  */
65632 char $ac_func ();
65633 /* The GNU C library defines this for functions which it implements
65634     to always fail with ENOSYS.  Some functions are actually named
65635     something starting with __ and the normal name is an alias.  */
65636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65637 choke me
65638 #else
65639 char (*f) () = $ac_func;
65640 #endif
65641 #ifdef __cplusplus
65642 }
65643 #endif
65644
65645 int
65646 main ()
65647 {
65648 return f != $ac_func;
65649   ;
65650   return 0;
65651 }
65652 _ACEOF
65653 rm -f conftest.$ac_objext conftest$ac_exeext
65654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65655   (eval $ac_link) 2>conftest.er1
65656   ac_status=$?
65657   grep -v '^ *+' conftest.er1 >conftest.err
65658   rm -f conftest.er1
65659   cat conftest.err >&5
65660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65661   (exit $ac_status); } &&
65662          { ac_try='test -z "$ac_c_werror_flag"
65663                          || test ! -s conftest.err'
65664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65665   (eval $ac_try) 2>&5
65666   ac_status=$?
65667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65668   (exit $ac_status); }; } &&
65669          { ac_try='test -s conftest$ac_exeext'
65670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65671   (eval $ac_try) 2>&5
65672   ac_status=$?
65673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65674   (exit $ac_status); }; }; then
65675   eval "$as_ac_var=yes"
65676 else
65677   echo "$as_me: failed program was:" >&5
65678 sed 's/^/| /' conftest.$ac_ext >&5
65679
65680 eval "$as_ac_var=no"
65681 fi
65682 rm -f conftest.err conftest.$ac_objext \
65683       conftest$ac_exeext conftest.$ac_ext
65684 fi
65685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65687 if test `eval echo '${'$as_ac_var'}'` = yes; then
65688   cat >>confdefs.h <<_ACEOF
65689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65690 _ACEOF
65691
65692 fi
65693 done
65694
65695     fi
65696   fi
65697
65698
65699
65700   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
65701 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
65702   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65703     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
65704   echo $ECHO_N "(cached) $ECHO_C" >&6
65705 else
65706
65707
65708
65709       ac_ext=cc
65710 ac_cpp='$CXXCPP $CPPFLAGS'
65711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65714
65715       cat >conftest.$ac_ext <<_ACEOF
65716 /* confdefs.h.  */
65717 _ACEOF
65718 cat confdefs.h >>conftest.$ac_ext
65719 cat >>conftest.$ac_ext <<_ACEOF
65720 /* end confdefs.h.  */
65721 #include <math.h>
65722 int
65723 main ()
65724 {
65725  fmodl(0, 0);
65726   ;
65727   return 0;
65728 }
65729 _ACEOF
65730 rm -f conftest.$ac_objext
65731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65732   (eval $ac_compile) 2>conftest.er1
65733   ac_status=$?
65734   grep -v '^ *+' conftest.er1 >conftest.err
65735   rm -f conftest.er1
65736   cat conftest.err >&5
65737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65738   (exit $ac_status); } &&
65739          { ac_try='test -z "$ac_cxx_werror_flag"
65740                          || test ! -s conftest.err'
65741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65742   (eval $ac_try) 2>&5
65743   ac_status=$?
65744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65745   (exit $ac_status); }; } &&
65746          { ac_try='test -s conftest.$ac_objext'
65747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65748   (eval $ac_try) 2>&5
65749   ac_status=$?
65750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65751   (exit $ac_status); }; }; then
65752   glibcxx_cv_func_fmodl_use=yes
65753 else
65754   echo "$as_me: failed program was:" >&5
65755 sed 's/^/| /' conftest.$ac_ext >&5
65756
65757 glibcxx_cv_func_fmodl_use=no
65758 fi
65759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65760       ac_ext=c
65761 ac_cpp='$CPP $CPPFLAGS'
65762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65765
65766
65767 fi
65768
65769   fi
65770   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
65771 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
65772
65773   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65774
65775 for ac_func in fmodl
65776 do
65777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65778 echo "$as_me:$LINENO: checking for $ac_func" >&5
65779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65780 if eval "test \"\${$as_ac_var+set}\" = set"; then
65781   echo $ECHO_N "(cached) $ECHO_C" >&6
65782 else
65783   if test x$gcc_no_link = xyes; then
65784   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65786    { (exit 1); exit 1; }; }
65787 fi
65788 cat >conftest.$ac_ext <<_ACEOF
65789 /* confdefs.h.  */
65790 _ACEOF
65791 cat confdefs.h >>conftest.$ac_ext
65792 cat >>conftest.$ac_ext <<_ACEOF
65793 /* end confdefs.h.  */
65794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65795    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65796 #define $ac_func innocuous_$ac_func
65797
65798 /* System header to define __stub macros and hopefully few prototypes,
65799     which can conflict with char $ac_func (); below.
65800     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65801     <limits.h> exists even on freestanding compilers.  */
65802
65803 #ifdef __STDC__
65804 # include <limits.h>
65805 #else
65806 # include <assert.h>
65807 #endif
65808
65809 #undef $ac_func
65810
65811 /* Override any gcc2 internal prototype to avoid an error.  */
65812 #ifdef __cplusplus
65813 extern "C"
65814 {
65815 #endif
65816 /* We use char because int might match the return type of a gcc2
65817    builtin and then its argument prototype would still apply.  */
65818 char $ac_func ();
65819 /* The GNU C library defines this for functions which it implements
65820     to always fail with ENOSYS.  Some functions are actually named
65821     something starting with __ and the normal name is an alias.  */
65822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65823 choke me
65824 #else
65825 char (*f) () = $ac_func;
65826 #endif
65827 #ifdef __cplusplus
65828 }
65829 #endif
65830
65831 int
65832 main ()
65833 {
65834 return f != $ac_func;
65835   ;
65836   return 0;
65837 }
65838 _ACEOF
65839 rm -f conftest.$ac_objext conftest$ac_exeext
65840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65841   (eval $ac_link) 2>conftest.er1
65842   ac_status=$?
65843   grep -v '^ *+' conftest.er1 >conftest.err
65844   rm -f conftest.er1
65845   cat conftest.err >&5
65846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65847   (exit $ac_status); } &&
65848          { ac_try='test -z "$ac_c_werror_flag"
65849                          || test ! -s conftest.err'
65850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65851   (eval $ac_try) 2>&5
65852   ac_status=$?
65853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65854   (exit $ac_status); }; } &&
65855          { ac_try='test -s conftest$ac_exeext'
65856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65857   (eval $ac_try) 2>&5
65858   ac_status=$?
65859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65860   (exit $ac_status); }; }; then
65861   eval "$as_ac_var=yes"
65862 else
65863   echo "$as_me: failed program was:" >&5
65864 sed 's/^/| /' conftest.$ac_ext >&5
65865
65866 eval "$as_ac_var=no"
65867 fi
65868 rm -f conftest.err conftest.$ac_objext \
65869       conftest$ac_exeext conftest.$ac_ext
65870 fi
65871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65873 if test `eval echo '${'$as_ac_var'}'` = yes; then
65874   cat >>confdefs.h <<_ACEOF
65875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65876 _ACEOF
65877
65878 fi
65879 done
65880
65881   else
65882
65883   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
65884 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
65885   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65886     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
65887   echo $ECHO_N "(cached) $ECHO_C" >&6
65888 else
65889
65890
65891
65892       ac_ext=cc
65893 ac_cpp='$CXXCPP $CPPFLAGS'
65894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65897
65898       cat >conftest.$ac_ext <<_ACEOF
65899 /* confdefs.h.  */
65900 _ACEOF
65901 cat confdefs.h >>conftest.$ac_ext
65902 cat >>conftest.$ac_ext <<_ACEOF
65903 /* end confdefs.h.  */
65904 #include <math.h>
65905 int
65906 main ()
65907 {
65908  _fmodl(0, 0);
65909   ;
65910   return 0;
65911 }
65912 _ACEOF
65913 rm -f conftest.$ac_objext
65914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65915   (eval $ac_compile) 2>conftest.er1
65916   ac_status=$?
65917   grep -v '^ *+' conftest.er1 >conftest.err
65918   rm -f conftest.er1
65919   cat conftest.err >&5
65920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65921   (exit $ac_status); } &&
65922          { ac_try='test -z "$ac_cxx_werror_flag"
65923                          || test ! -s conftest.err'
65924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65925   (eval $ac_try) 2>&5
65926   ac_status=$?
65927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65928   (exit $ac_status); }; } &&
65929          { ac_try='test -s conftest.$ac_objext'
65930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65931   (eval $ac_try) 2>&5
65932   ac_status=$?
65933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65934   (exit $ac_status); }; }; then
65935   glibcxx_cv_func__fmodl_use=yes
65936 else
65937   echo "$as_me: failed program was:" >&5
65938 sed 's/^/| /' conftest.$ac_ext >&5
65939
65940 glibcxx_cv_func__fmodl_use=no
65941 fi
65942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65943       ac_ext=c
65944 ac_cpp='$CPP $CPPFLAGS'
65945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65948
65949
65950 fi
65951
65952   fi
65953   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
65954 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
65955
65956     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65957
65958 for ac_func in _fmodl
65959 do
65960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65961 echo "$as_me:$LINENO: checking for $ac_func" >&5
65962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65963 if eval "test \"\${$as_ac_var+set}\" = set"; then
65964   echo $ECHO_N "(cached) $ECHO_C" >&6
65965 else
65966   if test x$gcc_no_link = xyes; then
65967   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65969    { (exit 1); exit 1; }; }
65970 fi
65971 cat >conftest.$ac_ext <<_ACEOF
65972 /* confdefs.h.  */
65973 _ACEOF
65974 cat confdefs.h >>conftest.$ac_ext
65975 cat >>conftest.$ac_ext <<_ACEOF
65976 /* end confdefs.h.  */
65977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65978    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65979 #define $ac_func innocuous_$ac_func
65980
65981 /* System header to define __stub macros and hopefully few prototypes,
65982     which can conflict with char $ac_func (); below.
65983     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65984     <limits.h> exists even on freestanding compilers.  */
65985
65986 #ifdef __STDC__
65987 # include <limits.h>
65988 #else
65989 # include <assert.h>
65990 #endif
65991
65992 #undef $ac_func
65993
65994 /* Override any gcc2 internal prototype to avoid an error.  */
65995 #ifdef __cplusplus
65996 extern "C"
65997 {
65998 #endif
65999 /* We use char because int might match the return type of a gcc2
66000    builtin and then its argument prototype would still apply.  */
66001 char $ac_func ();
66002 /* The GNU C library defines this for functions which it implements
66003     to always fail with ENOSYS.  Some functions are actually named
66004     something starting with __ and the normal name is an alias.  */
66005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66006 choke me
66007 #else
66008 char (*f) () = $ac_func;
66009 #endif
66010 #ifdef __cplusplus
66011 }
66012 #endif
66013
66014 int
66015 main ()
66016 {
66017 return f != $ac_func;
66018   ;
66019   return 0;
66020 }
66021 _ACEOF
66022 rm -f conftest.$ac_objext conftest$ac_exeext
66023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66024   (eval $ac_link) 2>conftest.er1
66025   ac_status=$?
66026   grep -v '^ *+' conftest.er1 >conftest.err
66027   rm -f conftest.er1
66028   cat conftest.err >&5
66029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66030   (exit $ac_status); } &&
66031          { ac_try='test -z "$ac_c_werror_flag"
66032                          || test ! -s conftest.err'
66033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66034   (eval $ac_try) 2>&5
66035   ac_status=$?
66036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66037   (exit $ac_status); }; } &&
66038          { ac_try='test -s conftest$ac_exeext'
66039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66040   (eval $ac_try) 2>&5
66041   ac_status=$?
66042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66043   (exit $ac_status); }; }; then
66044   eval "$as_ac_var=yes"
66045 else
66046   echo "$as_me: failed program was:" >&5
66047 sed 's/^/| /' conftest.$ac_ext >&5
66048
66049 eval "$as_ac_var=no"
66050 fi
66051 rm -f conftest.err conftest.$ac_objext \
66052       conftest$ac_exeext conftest.$ac_ext
66053 fi
66054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66056 if test `eval echo '${'$as_ac_var'}'` = yes; then
66057   cat >>confdefs.h <<_ACEOF
66058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66059 _ACEOF
66060
66061 fi
66062 done
66063
66064     fi
66065   fi
66066
66067
66068
66069   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
66070 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
66071   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
66072     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
66073   echo $ECHO_N "(cached) $ECHO_C" >&6
66074 else
66075
66076
66077
66078       ac_ext=cc
66079 ac_cpp='$CXXCPP $CPPFLAGS'
66080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66083
66084       cat >conftest.$ac_ext <<_ACEOF
66085 /* confdefs.h.  */
66086 _ACEOF
66087 cat confdefs.h >>conftest.$ac_ext
66088 cat >>conftest.$ac_ext <<_ACEOF
66089 /* end confdefs.h.  */
66090 #include <math.h>
66091 int
66092 main ()
66093 {
66094  frexpl(0, 0);
66095   ;
66096   return 0;
66097 }
66098 _ACEOF
66099 rm -f conftest.$ac_objext
66100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66101   (eval $ac_compile) 2>conftest.er1
66102   ac_status=$?
66103   grep -v '^ *+' conftest.er1 >conftest.err
66104   rm -f conftest.er1
66105   cat conftest.err >&5
66106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66107   (exit $ac_status); } &&
66108          { ac_try='test -z "$ac_cxx_werror_flag"
66109                          || test ! -s conftest.err'
66110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66111   (eval $ac_try) 2>&5
66112   ac_status=$?
66113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66114   (exit $ac_status); }; } &&
66115          { ac_try='test -s conftest.$ac_objext'
66116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66117   (eval $ac_try) 2>&5
66118   ac_status=$?
66119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66120   (exit $ac_status); }; }; then
66121   glibcxx_cv_func_frexpl_use=yes
66122 else
66123   echo "$as_me: failed program was:" >&5
66124 sed 's/^/| /' conftest.$ac_ext >&5
66125
66126 glibcxx_cv_func_frexpl_use=no
66127 fi
66128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66129       ac_ext=c
66130 ac_cpp='$CPP $CPPFLAGS'
66131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66134
66135
66136 fi
66137
66138   fi
66139   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
66140 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
66141
66142   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
66143
66144 for ac_func in frexpl
66145 do
66146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66147 echo "$as_me:$LINENO: checking for $ac_func" >&5
66148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66149 if eval "test \"\${$as_ac_var+set}\" = set"; then
66150   echo $ECHO_N "(cached) $ECHO_C" >&6
66151 else
66152   if test x$gcc_no_link = xyes; then
66153   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66155    { (exit 1); exit 1; }; }
66156 fi
66157 cat >conftest.$ac_ext <<_ACEOF
66158 /* confdefs.h.  */
66159 _ACEOF
66160 cat confdefs.h >>conftest.$ac_ext
66161 cat >>conftest.$ac_ext <<_ACEOF
66162 /* end confdefs.h.  */
66163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66164    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66165 #define $ac_func innocuous_$ac_func
66166
66167 /* System header to define __stub macros and hopefully few prototypes,
66168     which can conflict with char $ac_func (); below.
66169     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66170     <limits.h> exists even on freestanding compilers.  */
66171
66172 #ifdef __STDC__
66173 # include <limits.h>
66174 #else
66175 # include <assert.h>
66176 #endif
66177
66178 #undef $ac_func
66179
66180 /* Override any gcc2 internal prototype to avoid an error.  */
66181 #ifdef __cplusplus
66182 extern "C"
66183 {
66184 #endif
66185 /* We use char because int might match the return type of a gcc2
66186    builtin and then its argument prototype would still apply.  */
66187 char $ac_func ();
66188 /* The GNU C library defines this for functions which it implements
66189     to always fail with ENOSYS.  Some functions are actually named
66190     something starting with __ and the normal name is an alias.  */
66191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66192 choke me
66193 #else
66194 char (*f) () = $ac_func;
66195 #endif
66196 #ifdef __cplusplus
66197 }
66198 #endif
66199
66200 int
66201 main ()
66202 {
66203 return f != $ac_func;
66204   ;
66205   return 0;
66206 }
66207 _ACEOF
66208 rm -f conftest.$ac_objext conftest$ac_exeext
66209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66210   (eval $ac_link) 2>conftest.er1
66211   ac_status=$?
66212   grep -v '^ *+' conftest.er1 >conftest.err
66213   rm -f conftest.er1
66214   cat conftest.err >&5
66215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66216   (exit $ac_status); } &&
66217          { ac_try='test -z "$ac_c_werror_flag"
66218                          || test ! -s conftest.err'
66219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66220   (eval $ac_try) 2>&5
66221   ac_status=$?
66222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66223   (exit $ac_status); }; } &&
66224          { ac_try='test -s conftest$ac_exeext'
66225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66226   (eval $ac_try) 2>&5
66227   ac_status=$?
66228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66229   (exit $ac_status); }; }; then
66230   eval "$as_ac_var=yes"
66231 else
66232   echo "$as_me: failed program was:" >&5
66233 sed 's/^/| /' conftest.$ac_ext >&5
66234
66235 eval "$as_ac_var=no"
66236 fi
66237 rm -f conftest.err conftest.$ac_objext \
66238       conftest$ac_exeext conftest.$ac_ext
66239 fi
66240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66242 if test `eval echo '${'$as_ac_var'}'` = yes; then
66243   cat >>confdefs.h <<_ACEOF
66244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66245 _ACEOF
66246
66247 fi
66248 done
66249
66250   else
66251
66252   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
66253 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
66254   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
66255     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
66256   echo $ECHO_N "(cached) $ECHO_C" >&6
66257 else
66258
66259
66260
66261       ac_ext=cc
66262 ac_cpp='$CXXCPP $CPPFLAGS'
66263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66266
66267       cat >conftest.$ac_ext <<_ACEOF
66268 /* confdefs.h.  */
66269 _ACEOF
66270 cat confdefs.h >>conftest.$ac_ext
66271 cat >>conftest.$ac_ext <<_ACEOF
66272 /* end confdefs.h.  */
66273 #include <math.h>
66274 int
66275 main ()
66276 {
66277  _frexpl(0, 0);
66278   ;
66279   return 0;
66280 }
66281 _ACEOF
66282 rm -f conftest.$ac_objext
66283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66284   (eval $ac_compile) 2>conftest.er1
66285   ac_status=$?
66286   grep -v '^ *+' conftest.er1 >conftest.err
66287   rm -f conftest.er1
66288   cat conftest.err >&5
66289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66290   (exit $ac_status); } &&
66291          { ac_try='test -z "$ac_cxx_werror_flag"
66292                          || test ! -s conftest.err'
66293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66294   (eval $ac_try) 2>&5
66295   ac_status=$?
66296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66297   (exit $ac_status); }; } &&
66298          { ac_try='test -s conftest.$ac_objext'
66299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66300   (eval $ac_try) 2>&5
66301   ac_status=$?
66302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66303   (exit $ac_status); }; }; then
66304   glibcxx_cv_func__frexpl_use=yes
66305 else
66306   echo "$as_me: failed program was:" >&5
66307 sed 's/^/| /' conftest.$ac_ext >&5
66308
66309 glibcxx_cv_func__frexpl_use=no
66310 fi
66311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66312       ac_ext=c
66313 ac_cpp='$CPP $CPPFLAGS'
66314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66317
66318
66319 fi
66320
66321   fi
66322   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
66323 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
66324
66325     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
66326
66327 for ac_func in _frexpl
66328 do
66329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66330 echo "$as_me:$LINENO: checking for $ac_func" >&5
66331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66332 if eval "test \"\${$as_ac_var+set}\" = set"; then
66333   echo $ECHO_N "(cached) $ECHO_C" >&6
66334 else
66335   if test x$gcc_no_link = xyes; then
66336   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66338    { (exit 1); exit 1; }; }
66339 fi
66340 cat >conftest.$ac_ext <<_ACEOF
66341 /* confdefs.h.  */
66342 _ACEOF
66343 cat confdefs.h >>conftest.$ac_ext
66344 cat >>conftest.$ac_ext <<_ACEOF
66345 /* end confdefs.h.  */
66346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66347    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66348 #define $ac_func innocuous_$ac_func
66349
66350 /* System header to define __stub macros and hopefully few prototypes,
66351     which can conflict with char $ac_func (); below.
66352     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66353     <limits.h> exists even on freestanding compilers.  */
66354
66355 #ifdef __STDC__
66356 # include <limits.h>
66357 #else
66358 # include <assert.h>
66359 #endif
66360
66361 #undef $ac_func
66362
66363 /* Override any gcc2 internal prototype to avoid an error.  */
66364 #ifdef __cplusplus
66365 extern "C"
66366 {
66367 #endif
66368 /* We use char because int might match the return type of a gcc2
66369    builtin and then its argument prototype would still apply.  */
66370 char $ac_func ();
66371 /* The GNU C library defines this for functions which it implements
66372     to always fail with ENOSYS.  Some functions are actually named
66373     something starting with __ and the normal name is an alias.  */
66374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66375 choke me
66376 #else
66377 char (*f) () = $ac_func;
66378 #endif
66379 #ifdef __cplusplus
66380 }
66381 #endif
66382
66383 int
66384 main ()
66385 {
66386 return f != $ac_func;
66387   ;
66388   return 0;
66389 }
66390 _ACEOF
66391 rm -f conftest.$ac_objext conftest$ac_exeext
66392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66393   (eval $ac_link) 2>conftest.er1
66394   ac_status=$?
66395   grep -v '^ *+' conftest.er1 >conftest.err
66396   rm -f conftest.er1
66397   cat conftest.err >&5
66398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66399   (exit $ac_status); } &&
66400          { ac_try='test -z "$ac_c_werror_flag"
66401                          || test ! -s conftest.err'
66402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66403   (eval $ac_try) 2>&5
66404   ac_status=$?
66405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66406   (exit $ac_status); }; } &&
66407          { ac_try='test -s conftest$ac_exeext'
66408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66409   (eval $ac_try) 2>&5
66410   ac_status=$?
66411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66412   (exit $ac_status); }; }; then
66413   eval "$as_ac_var=yes"
66414 else
66415   echo "$as_me: failed program was:" >&5
66416 sed 's/^/| /' conftest.$ac_ext >&5
66417
66418 eval "$as_ac_var=no"
66419 fi
66420 rm -f conftest.err conftest.$ac_objext \
66421       conftest$ac_exeext conftest.$ac_ext
66422 fi
66423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66425 if test `eval echo '${'$as_ac_var'}'` = yes; then
66426   cat >>confdefs.h <<_ACEOF
66427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66428 _ACEOF
66429
66430 fi
66431 done
66432
66433     fi
66434   fi
66435
66436
66437
66438   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
66439 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
66440   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
66441     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
66442   echo $ECHO_N "(cached) $ECHO_C" >&6
66443 else
66444
66445
66446
66447       ac_ext=cc
66448 ac_cpp='$CXXCPP $CPPFLAGS'
66449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66452
66453       cat >conftest.$ac_ext <<_ACEOF
66454 /* confdefs.h.  */
66455 _ACEOF
66456 cat confdefs.h >>conftest.$ac_ext
66457 cat >>conftest.$ac_ext <<_ACEOF
66458 /* end confdefs.h.  */
66459 #include <math.h>
66460 int
66461 main ()
66462 {
66463  hypotl(0, 0);
66464   ;
66465   return 0;
66466 }
66467 _ACEOF
66468 rm -f conftest.$ac_objext
66469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66470   (eval $ac_compile) 2>conftest.er1
66471   ac_status=$?
66472   grep -v '^ *+' conftest.er1 >conftest.err
66473   rm -f conftest.er1
66474   cat conftest.err >&5
66475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66476   (exit $ac_status); } &&
66477          { ac_try='test -z "$ac_cxx_werror_flag"
66478                          || test ! -s conftest.err'
66479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66480   (eval $ac_try) 2>&5
66481   ac_status=$?
66482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66483   (exit $ac_status); }; } &&
66484          { ac_try='test -s conftest.$ac_objext'
66485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66486   (eval $ac_try) 2>&5
66487   ac_status=$?
66488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66489   (exit $ac_status); }; }; then
66490   glibcxx_cv_func_hypotl_use=yes
66491 else
66492   echo "$as_me: failed program was:" >&5
66493 sed 's/^/| /' conftest.$ac_ext >&5
66494
66495 glibcxx_cv_func_hypotl_use=no
66496 fi
66497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66498       ac_ext=c
66499 ac_cpp='$CPP $CPPFLAGS'
66500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66503
66504
66505 fi
66506
66507   fi
66508   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
66509 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
66510
66511   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
66512
66513 for ac_func in hypotl
66514 do
66515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66516 echo "$as_me:$LINENO: checking for $ac_func" >&5
66517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66518 if eval "test \"\${$as_ac_var+set}\" = set"; then
66519   echo $ECHO_N "(cached) $ECHO_C" >&6
66520 else
66521   if test x$gcc_no_link = xyes; then
66522   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66524    { (exit 1); exit 1; }; }
66525 fi
66526 cat >conftest.$ac_ext <<_ACEOF
66527 /* confdefs.h.  */
66528 _ACEOF
66529 cat confdefs.h >>conftest.$ac_ext
66530 cat >>conftest.$ac_ext <<_ACEOF
66531 /* end confdefs.h.  */
66532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66533    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66534 #define $ac_func innocuous_$ac_func
66535
66536 /* System header to define __stub macros and hopefully few prototypes,
66537     which can conflict with char $ac_func (); below.
66538     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66539     <limits.h> exists even on freestanding compilers.  */
66540
66541 #ifdef __STDC__
66542 # include <limits.h>
66543 #else
66544 # include <assert.h>
66545 #endif
66546
66547 #undef $ac_func
66548
66549 /* Override any gcc2 internal prototype to avoid an error.  */
66550 #ifdef __cplusplus
66551 extern "C"
66552 {
66553 #endif
66554 /* We use char because int might match the return type of a gcc2
66555    builtin and then its argument prototype would still apply.  */
66556 char $ac_func ();
66557 /* The GNU C library defines this for functions which it implements
66558     to always fail with ENOSYS.  Some functions are actually named
66559     something starting with __ and the normal name is an alias.  */
66560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66561 choke me
66562 #else
66563 char (*f) () = $ac_func;
66564 #endif
66565 #ifdef __cplusplus
66566 }
66567 #endif
66568
66569 int
66570 main ()
66571 {
66572 return f != $ac_func;
66573   ;
66574   return 0;
66575 }
66576 _ACEOF
66577 rm -f conftest.$ac_objext conftest$ac_exeext
66578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66579   (eval $ac_link) 2>conftest.er1
66580   ac_status=$?
66581   grep -v '^ *+' conftest.er1 >conftest.err
66582   rm -f conftest.er1
66583   cat conftest.err >&5
66584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66585   (exit $ac_status); } &&
66586          { ac_try='test -z "$ac_c_werror_flag"
66587                          || test ! -s conftest.err'
66588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66589   (eval $ac_try) 2>&5
66590   ac_status=$?
66591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66592   (exit $ac_status); }; } &&
66593          { ac_try='test -s conftest$ac_exeext'
66594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66595   (eval $ac_try) 2>&5
66596   ac_status=$?
66597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66598   (exit $ac_status); }; }; then
66599   eval "$as_ac_var=yes"
66600 else
66601   echo "$as_me: failed program was:" >&5
66602 sed 's/^/| /' conftest.$ac_ext >&5
66603
66604 eval "$as_ac_var=no"
66605 fi
66606 rm -f conftest.err conftest.$ac_objext \
66607       conftest$ac_exeext conftest.$ac_ext
66608 fi
66609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66611 if test `eval echo '${'$as_ac_var'}'` = yes; then
66612   cat >>confdefs.h <<_ACEOF
66613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66614 _ACEOF
66615
66616 fi
66617 done
66618
66619   else
66620
66621   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
66622 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
66623   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
66624     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
66625   echo $ECHO_N "(cached) $ECHO_C" >&6
66626 else
66627
66628
66629
66630       ac_ext=cc
66631 ac_cpp='$CXXCPP $CPPFLAGS'
66632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66635
66636       cat >conftest.$ac_ext <<_ACEOF
66637 /* confdefs.h.  */
66638 _ACEOF
66639 cat confdefs.h >>conftest.$ac_ext
66640 cat >>conftest.$ac_ext <<_ACEOF
66641 /* end confdefs.h.  */
66642 #include <math.h>
66643 int
66644 main ()
66645 {
66646  _hypotl(0, 0);
66647   ;
66648   return 0;
66649 }
66650 _ACEOF
66651 rm -f conftest.$ac_objext
66652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66653   (eval $ac_compile) 2>conftest.er1
66654   ac_status=$?
66655   grep -v '^ *+' conftest.er1 >conftest.err
66656   rm -f conftest.er1
66657   cat conftest.err >&5
66658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66659   (exit $ac_status); } &&
66660          { ac_try='test -z "$ac_cxx_werror_flag"
66661                          || test ! -s conftest.err'
66662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66663   (eval $ac_try) 2>&5
66664   ac_status=$?
66665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66666   (exit $ac_status); }; } &&
66667          { ac_try='test -s conftest.$ac_objext'
66668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66669   (eval $ac_try) 2>&5
66670   ac_status=$?
66671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66672   (exit $ac_status); }; }; then
66673   glibcxx_cv_func__hypotl_use=yes
66674 else
66675   echo "$as_me: failed program was:" >&5
66676 sed 's/^/| /' conftest.$ac_ext >&5
66677
66678 glibcxx_cv_func__hypotl_use=no
66679 fi
66680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66681       ac_ext=c
66682 ac_cpp='$CPP $CPPFLAGS'
66683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66686
66687
66688 fi
66689
66690   fi
66691   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
66692 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
66693
66694     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
66695
66696 for ac_func in _hypotl
66697 do
66698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66699 echo "$as_me:$LINENO: checking for $ac_func" >&5
66700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66701 if eval "test \"\${$as_ac_var+set}\" = set"; then
66702   echo $ECHO_N "(cached) $ECHO_C" >&6
66703 else
66704   if test x$gcc_no_link = xyes; then
66705   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66707    { (exit 1); exit 1; }; }
66708 fi
66709 cat >conftest.$ac_ext <<_ACEOF
66710 /* confdefs.h.  */
66711 _ACEOF
66712 cat confdefs.h >>conftest.$ac_ext
66713 cat >>conftest.$ac_ext <<_ACEOF
66714 /* end confdefs.h.  */
66715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66716    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66717 #define $ac_func innocuous_$ac_func
66718
66719 /* System header to define __stub macros and hopefully few prototypes,
66720     which can conflict with char $ac_func (); below.
66721     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66722     <limits.h> exists even on freestanding compilers.  */
66723
66724 #ifdef __STDC__
66725 # include <limits.h>
66726 #else
66727 # include <assert.h>
66728 #endif
66729
66730 #undef $ac_func
66731
66732 /* Override any gcc2 internal prototype to avoid an error.  */
66733 #ifdef __cplusplus
66734 extern "C"
66735 {
66736 #endif
66737 /* We use char because int might match the return type of a gcc2
66738    builtin and then its argument prototype would still apply.  */
66739 char $ac_func ();
66740 /* The GNU C library defines this for functions which it implements
66741     to always fail with ENOSYS.  Some functions are actually named
66742     something starting with __ and the normal name is an alias.  */
66743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66744 choke me
66745 #else
66746 char (*f) () = $ac_func;
66747 #endif
66748 #ifdef __cplusplus
66749 }
66750 #endif
66751
66752 int
66753 main ()
66754 {
66755 return f != $ac_func;
66756   ;
66757   return 0;
66758 }
66759 _ACEOF
66760 rm -f conftest.$ac_objext conftest$ac_exeext
66761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66762   (eval $ac_link) 2>conftest.er1
66763   ac_status=$?
66764   grep -v '^ *+' conftest.er1 >conftest.err
66765   rm -f conftest.er1
66766   cat conftest.err >&5
66767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66768   (exit $ac_status); } &&
66769          { ac_try='test -z "$ac_c_werror_flag"
66770                          || test ! -s conftest.err'
66771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66772   (eval $ac_try) 2>&5
66773   ac_status=$?
66774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66775   (exit $ac_status); }; } &&
66776          { ac_try='test -s conftest$ac_exeext'
66777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66778   (eval $ac_try) 2>&5
66779   ac_status=$?
66780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66781   (exit $ac_status); }; }; then
66782   eval "$as_ac_var=yes"
66783 else
66784   echo "$as_me: failed program was:" >&5
66785 sed 's/^/| /' conftest.$ac_ext >&5
66786
66787 eval "$as_ac_var=no"
66788 fi
66789 rm -f conftest.err conftest.$ac_objext \
66790       conftest$ac_exeext conftest.$ac_ext
66791 fi
66792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66794 if test `eval echo '${'$as_ac_var'}'` = yes; then
66795   cat >>confdefs.h <<_ACEOF
66796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66797 _ACEOF
66798
66799 fi
66800 done
66801
66802     fi
66803   fi
66804
66805
66806
66807   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
66808 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
66809   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
66810     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
66811   echo $ECHO_N "(cached) $ECHO_C" >&6
66812 else
66813
66814
66815
66816       ac_ext=cc
66817 ac_cpp='$CXXCPP $CPPFLAGS'
66818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66821
66822       cat >conftest.$ac_ext <<_ACEOF
66823 /* confdefs.h.  */
66824 _ACEOF
66825 cat confdefs.h >>conftest.$ac_ext
66826 cat >>conftest.$ac_ext <<_ACEOF
66827 /* end confdefs.h.  */
66828 #include <math.h>
66829 int
66830 main ()
66831 {
66832  ldexpl(0, 0);
66833   ;
66834   return 0;
66835 }
66836 _ACEOF
66837 rm -f conftest.$ac_objext
66838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66839   (eval $ac_compile) 2>conftest.er1
66840   ac_status=$?
66841   grep -v '^ *+' conftest.er1 >conftest.err
66842   rm -f conftest.er1
66843   cat conftest.err >&5
66844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66845   (exit $ac_status); } &&
66846          { ac_try='test -z "$ac_cxx_werror_flag"
66847                          || test ! -s conftest.err'
66848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66849   (eval $ac_try) 2>&5
66850   ac_status=$?
66851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66852   (exit $ac_status); }; } &&
66853          { ac_try='test -s conftest.$ac_objext'
66854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66855   (eval $ac_try) 2>&5
66856   ac_status=$?
66857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66858   (exit $ac_status); }; }; then
66859   glibcxx_cv_func_ldexpl_use=yes
66860 else
66861   echo "$as_me: failed program was:" >&5
66862 sed 's/^/| /' conftest.$ac_ext >&5
66863
66864 glibcxx_cv_func_ldexpl_use=no
66865 fi
66866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66867       ac_ext=c
66868 ac_cpp='$CPP $CPPFLAGS'
66869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66872
66873
66874 fi
66875
66876   fi
66877   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
66878 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
66879
66880   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
66881
66882 for ac_func in ldexpl
66883 do
66884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66885 echo "$as_me:$LINENO: checking for $ac_func" >&5
66886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66887 if eval "test \"\${$as_ac_var+set}\" = set"; then
66888   echo $ECHO_N "(cached) $ECHO_C" >&6
66889 else
66890   if test x$gcc_no_link = xyes; then
66891   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66893    { (exit 1); exit 1; }; }
66894 fi
66895 cat >conftest.$ac_ext <<_ACEOF
66896 /* confdefs.h.  */
66897 _ACEOF
66898 cat confdefs.h >>conftest.$ac_ext
66899 cat >>conftest.$ac_ext <<_ACEOF
66900 /* end confdefs.h.  */
66901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66902    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66903 #define $ac_func innocuous_$ac_func
66904
66905 /* System header to define __stub macros and hopefully few prototypes,
66906     which can conflict with char $ac_func (); below.
66907     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66908     <limits.h> exists even on freestanding compilers.  */
66909
66910 #ifdef __STDC__
66911 # include <limits.h>
66912 #else
66913 # include <assert.h>
66914 #endif
66915
66916 #undef $ac_func
66917
66918 /* Override any gcc2 internal prototype to avoid an error.  */
66919 #ifdef __cplusplus
66920 extern "C"
66921 {
66922 #endif
66923 /* We use char because int might match the return type of a gcc2
66924    builtin and then its argument prototype would still apply.  */
66925 char $ac_func ();
66926 /* The GNU C library defines this for functions which it implements
66927     to always fail with ENOSYS.  Some functions are actually named
66928     something starting with __ and the normal name is an alias.  */
66929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66930 choke me
66931 #else
66932 char (*f) () = $ac_func;
66933 #endif
66934 #ifdef __cplusplus
66935 }
66936 #endif
66937
66938 int
66939 main ()
66940 {
66941 return f != $ac_func;
66942   ;
66943   return 0;
66944 }
66945 _ACEOF
66946 rm -f conftest.$ac_objext conftest$ac_exeext
66947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66948   (eval $ac_link) 2>conftest.er1
66949   ac_status=$?
66950   grep -v '^ *+' conftest.er1 >conftest.err
66951   rm -f conftest.er1
66952   cat conftest.err >&5
66953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66954   (exit $ac_status); } &&
66955          { ac_try='test -z "$ac_c_werror_flag"
66956                          || test ! -s conftest.err'
66957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66958   (eval $ac_try) 2>&5
66959   ac_status=$?
66960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66961   (exit $ac_status); }; } &&
66962          { ac_try='test -s conftest$ac_exeext'
66963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66964   (eval $ac_try) 2>&5
66965   ac_status=$?
66966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66967   (exit $ac_status); }; }; then
66968   eval "$as_ac_var=yes"
66969 else
66970   echo "$as_me: failed program was:" >&5
66971 sed 's/^/| /' conftest.$ac_ext >&5
66972
66973 eval "$as_ac_var=no"
66974 fi
66975 rm -f conftest.err conftest.$ac_objext \
66976       conftest$ac_exeext conftest.$ac_ext
66977 fi
66978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66980 if test `eval echo '${'$as_ac_var'}'` = yes; then
66981   cat >>confdefs.h <<_ACEOF
66982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66983 _ACEOF
66984
66985 fi
66986 done
66987
66988   else
66989
66990   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
66991 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
66992   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
66993     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
66994   echo $ECHO_N "(cached) $ECHO_C" >&6
66995 else
66996
66997
66998
66999       ac_ext=cc
67000 ac_cpp='$CXXCPP $CPPFLAGS'
67001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67004
67005       cat >conftest.$ac_ext <<_ACEOF
67006 /* confdefs.h.  */
67007 _ACEOF
67008 cat confdefs.h >>conftest.$ac_ext
67009 cat >>conftest.$ac_ext <<_ACEOF
67010 /* end confdefs.h.  */
67011 #include <math.h>
67012 int
67013 main ()
67014 {
67015  _ldexpl(0, 0);
67016   ;
67017   return 0;
67018 }
67019 _ACEOF
67020 rm -f conftest.$ac_objext
67021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67022   (eval $ac_compile) 2>conftest.er1
67023   ac_status=$?
67024   grep -v '^ *+' conftest.er1 >conftest.err
67025   rm -f conftest.er1
67026   cat conftest.err >&5
67027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67028   (exit $ac_status); } &&
67029          { ac_try='test -z "$ac_cxx_werror_flag"
67030                          || test ! -s conftest.err'
67031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67032   (eval $ac_try) 2>&5
67033   ac_status=$?
67034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67035   (exit $ac_status); }; } &&
67036          { ac_try='test -s conftest.$ac_objext'
67037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67038   (eval $ac_try) 2>&5
67039   ac_status=$?
67040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67041   (exit $ac_status); }; }; then
67042   glibcxx_cv_func__ldexpl_use=yes
67043 else
67044   echo "$as_me: failed program was:" >&5
67045 sed 's/^/| /' conftest.$ac_ext >&5
67046
67047 glibcxx_cv_func__ldexpl_use=no
67048 fi
67049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67050       ac_ext=c
67051 ac_cpp='$CPP $CPPFLAGS'
67052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67055
67056
67057 fi
67058
67059   fi
67060   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
67061 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
67062
67063     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
67064
67065 for ac_func in _ldexpl
67066 do
67067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67068 echo "$as_me:$LINENO: checking for $ac_func" >&5
67069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67070 if eval "test \"\${$as_ac_var+set}\" = set"; then
67071   echo $ECHO_N "(cached) $ECHO_C" >&6
67072 else
67073   if test x$gcc_no_link = xyes; then
67074   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67076    { (exit 1); exit 1; }; }
67077 fi
67078 cat >conftest.$ac_ext <<_ACEOF
67079 /* confdefs.h.  */
67080 _ACEOF
67081 cat confdefs.h >>conftest.$ac_ext
67082 cat >>conftest.$ac_ext <<_ACEOF
67083 /* end confdefs.h.  */
67084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67085    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67086 #define $ac_func innocuous_$ac_func
67087
67088 /* System header to define __stub macros and hopefully few prototypes,
67089     which can conflict with char $ac_func (); below.
67090     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67091     <limits.h> exists even on freestanding compilers.  */
67092
67093 #ifdef __STDC__
67094 # include <limits.h>
67095 #else
67096 # include <assert.h>
67097 #endif
67098
67099 #undef $ac_func
67100
67101 /* Override any gcc2 internal prototype to avoid an error.  */
67102 #ifdef __cplusplus
67103 extern "C"
67104 {
67105 #endif
67106 /* We use char because int might match the return type of a gcc2
67107    builtin and then its argument prototype would still apply.  */
67108 char $ac_func ();
67109 /* The GNU C library defines this for functions which it implements
67110     to always fail with ENOSYS.  Some functions are actually named
67111     something starting with __ and the normal name is an alias.  */
67112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67113 choke me
67114 #else
67115 char (*f) () = $ac_func;
67116 #endif
67117 #ifdef __cplusplus
67118 }
67119 #endif
67120
67121 int
67122 main ()
67123 {
67124 return f != $ac_func;
67125   ;
67126   return 0;
67127 }
67128 _ACEOF
67129 rm -f conftest.$ac_objext conftest$ac_exeext
67130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67131   (eval $ac_link) 2>conftest.er1
67132   ac_status=$?
67133   grep -v '^ *+' conftest.er1 >conftest.err
67134   rm -f conftest.er1
67135   cat conftest.err >&5
67136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67137   (exit $ac_status); } &&
67138          { ac_try='test -z "$ac_c_werror_flag"
67139                          || test ! -s conftest.err'
67140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67141   (eval $ac_try) 2>&5
67142   ac_status=$?
67143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67144   (exit $ac_status); }; } &&
67145          { ac_try='test -s conftest$ac_exeext'
67146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67147   (eval $ac_try) 2>&5
67148   ac_status=$?
67149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67150   (exit $ac_status); }; }; then
67151   eval "$as_ac_var=yes"
67152 else
67153   echo "$as_me: failed program was:" >&5
67154 sed 's/^/| /' conftest.$ac_ext >&5
67155
67156 eval "$as_ac_var=no"
67157 fi
67158 rm -f conftest.err conftest.$ac_objext \
67159       conftest$ac_exeext conftest.$ac_ext
67160 fi
67161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67163 if test `eval echo '${'$as_ac_var'}'` = yes; then
67164   cat >>confdefs.h <<_ACEOF
67165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67166 _ACEOF
67167
67168 fi
67169 done
67170
67171     fi
67172   fi
67173
67174
67175
67176   echo "$as_me:$LINENO: checking for logl declaration" >&5
67177 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
67178   if test x${glibcxx_cv_func_logl_use+set} != xset; then
67179     if test "${glibcxx_cv_func_logl_use+set}" = set; then
67180   echo $ECHO_N "(cached) $ECHO_C" >&6
67181 else
67182
67183
67184
67185       ac_ext=cc
67186 ac_cpp='$CXXCPP $CPPFLAGS'
67187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67190
67191       cat >conftest.$ac_ext <<_ACEOF
67192 /* confdefs.h.  */
67193 _ACEOF
67194 cat confdefs.h >>conftest.$ac_ext
67195 cat >>conftest.$ac_ext <<_ACEOF
67196 /* end confdefs.h.  */
67197 #include <math.h>
67198                       #ifdef HAVE_IEEEFP_H
67199                       #include <ieeefp.h>
67200                       #endif
67201
67202 int
67203 main ()
67204 {
67205  logl(0);
67206   ;
67207   return 0;
67208 }
67209 _ACEOF
67210 rm -f conftest.$ac_objext
67211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67212   (eval $ac_compile) 2>conftest.er1
67213   ac_status=$?
67214   grep -v '^ *+' conftest.er1 >conftest.err
67215   rm -f conftest.er1
67216   cat conftest.err >&5
67217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67218   (exit $ac_status); } &&
67219          { ac_try='test -z "$ac_cxx_werror_flag"
67220                          || test ! -s conftest.err'
67221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67222   (eval $ac_try) 2>&5
67223   ac_status=$?
67224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67225   (exit $ac_status); }; } &&
67226          { ac_try='test -s conftest.$ac_objext'
67227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67228   (eval $ac_try) 2>&5
67229   ac_status=$?
67230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67231   (exit $ac_status); }; }; then
67232   glibcxx_cv_func_logl_use=yes
67233 else
67234   echo "$as_me: failed program was:" >&5
67235 sed 's/^/| /' conftest.$ac_ext >&5
67236
67237 glibcxx_cv_func_logl_use=no
67238 fi
67239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67240       ac_ext=c
67241 ac_cpp='$CPP $CPPFLAGS'
67242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67245
67246
67247 fi
67248
67249   fi
67250   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
67251 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
67252
67253   if test x$glibcxx_cv_func_logl_use = x"yes"; then
67254
67255 for ac_func in logl
67256 do
67257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67258 echo "$as_me:$LINENO: checking for $ac_func" >&5
67259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67260 if eval "test \"\${$as_ac_var+set}\" = set"; then
67261   echo $ECHO_N "(cached) $ECHO_C" >&6
67262 else
67263   if test x$gcc_no_link = xyes; then
67264   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67266    { (exit 1); exit 1; }; }
67267 fi
67268 cat >conftest.$ac_ext <<_ACEOF
67269 /* confdefs.h.  */
67270 _ACEOF
67271 cat confdefs.h >>conftest.$ac_ext
67272 cat >>conftest.$ac_ext <<_ACEOF
67273 /* end confdefs.h.  */
67274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67275    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67276 #define $ac_func innocuous_$ac_func
67277
67278 /* System header to define __stub macros and hopefully few prototypes,
67279     which can conflict with char $ac_func (); below.
67280     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67281     <limits.h> exists even on freestanding compilers.  */
67282
67283 #ifdef __STDC__
67284 # include <limits.h>
67285 #else
67286 # include <assert.h>
67287 #endif
67288
67289 #undef $ac_func
67290
67291 /* Override any gcc2 internal prototype to avoid an error.  */
67292 #ifdef __cplusplus
67293 extern "C"
67294 {
67295 #endif
67296 /* We use char because int might match the return type of a gcc2
67297    builtin and then its argument prototype would still apply.  */
67298 char $ac_func ();
67299 /* The GNU C library defines this for functions which it implements
67300     to always fail with ENOSYS.  Some functions are actually named
67301     something starting with __ and the normal name is an alias.  */
67302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67303 choke me
67304 #else
67305 char (*f) () = $ac_func;
67306 #endif
67307 #ifdef __cplusplus
67308 }
67309 #endif
67310
67311 int
67312 main ()
67313 {
67314 return f != $ac_func;
67315   ;
67316   return 0;
67317 }
67318 _ACEOF
67319 rm -f conftest.$ac_objext conftest$ac_exeext
67320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67321   (eval $ac_link) 2>conftest.er1
67322   ac_status=$?
67323   grep -v '^ *+' conftest.er1 >conftest.err
67324   rm -f conftest.er1
67325   cat conftest.err >&5
67326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67327   (exit $ac_status); } &&
67328          { ac_try='test -z "$ac_c_werror_flag"
67329                          || test ! -s conftest.err'
67330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67331   (eval $ac_try) 2>&5
67332   ac_status=$?
67333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67334   (exit $ac_status); }; } &&
67335          { ac_try='test -s conftest$ac_exeext'
67336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67337   (eval $ac_try) 2>&5
67338   ac_status=$?
67339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67340   (exit $ac_status); }; }; then
67341   eval "$as_ac_var=yes"
67342 else
67343   echo "$as_me: failed program was:" >&5
67344 sed 's/^/| /' conftest.$ac_ext >&5
67345
67346 eval "$as_ac_var=no"
67347 fi
67348 rm -f conftest.err conftest.$ac_objext \
67349       conftest$ac_exeext conftest.$ac_ext
67350 fi
67351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67353 if test `eval echo '${'$as_ac_var'}'` = yes; then
67354   cat >>confdefs.h <<_ACEOF
67355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67356 _ACEOF
67357
67358 fi
67359 done
67360
67361   else
67362
67363   echo "$as_me:$LINENO: checking for _logl declaration" >&5
67364 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
67365   if test x${glibcxx_cv_func__logl_use+set} != xset; then
67366     if test "${glibcxx_cv_func__logl_use+set}" = set; then
67367   echo $ECHO_N "(cached) $ECHO_C" >&6
67368 else
67369
67370
67371
67372       ac_ext=cc
67373 ac_cpp='$CXXCPP $CPPFLAGS'
67374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67377
67378       cat >conftest.$ac_ext <<_ACEOF
67379 /* confdefs.h.  */
67380 _ACEOF
67381 cat confdefs.h >>conftest.$ac_ext
67382 cat >>conftest.$ac_ext <<_ACEOF
67383 /* end confdefs.h.  */
67384 #include <math.h>
67385                       #ifdef HAVE_IEEEFP_H
67386                       #include <ieeefp.h>
67387                       #endif
67388
67389 int
67390 main ()
67391 {
67392  _logl(0);
67393   ;
67394   return 0;
67395 }
67396 _ACEOF
67397 rm -f conftest.$ac_objext
67398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67399   (eval $ac_compile) 2>conftest.er1
67400   ac_status=$?
67401   grep -v '^ *+' conftest.er1 >conftest.err
67402   rm -f conftest.er1
67403   cat conftest.err >&5
67404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67405   (exit $ac_status); } &&
67406          { ac_try='test -z "$ac_cxx_werror_flag"
67407                          || test ! -s conftest.err'
67408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67409   (eval $ac_try) 2>&5
67410   ac_status=$?
67411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67412   (exit $ac_status); }; } &&
67413          { ac_try='test -s conftest.$ac_objext'
67414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67415   (eval $ac_try) 2>&5
67416   ac_status=$?
67417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67418   (exit $ac_status); }; }; then
67419   glibcxx_cv_func__logl_use=yes
67420 else
67421   echo "$as_me: failed program was:" >&5
67422 sed 's/^/| /' conftest.$ac_ext >&5
67423
67424 glibcxx_cv_func__logl_use=no
67425 fi
67426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67427       ac_ext=c
67428 ac_cpp='$CPP $CPPFLAGS'
67429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67432
67433
67434 fi
67435
67436   fi
67437   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
67438 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
67439
67440     if test x$glibcxx_cv_func__logl_use = x"yes"; then
67441
67442 for ac_func in _logl
67443 do
67444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67445 echo "$as_me:$LINENO: checking for $ac_func" >&5
67446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67447 if eval "test \"\${$as_ac_var+set}\" = set"; then
67448   echo $ECHO_N "(cached) $ECHO_C" >&6
67449 else
67450   if test x$gcc_no_link = xyes; then
67451   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67453    { (exit 1); exit 1; }; }
67454 fi
67455 cat >conftest.$ac_ext <<_ACEOF
67456 /* confdefs.h.  */
67457 _ACEOF
67458 cat confdefs.h >>conftest.$ac_ext
67459 cat >>conftest.$ac_ext <<_ACEOF
67460 /* end confdefs.h.  */
67461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67462    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67463 #define $ac_func innocuous_$ac_func
67464
67465 /* System header to define __stub macros and hopefully few prototypes,
67466     which can conflict with char $ac_func (); below.
67467     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67468     <limits.h> exists even on freestanding compilers.  */
67469
67470 #ifdef __STDC__
67471 # include <limits.h>
67472 #else
67473 # include <assert.h>
67474 #endif
67475
67476 #undef $ac_func
67477
67478 /* Override any gcc2 internal prototype to avoid an error.  */
67479 #ifdef __cplusplus
67480 extern "C"
67481 {
67482 #endif
67483 /* We use char because int might match the return type of a gcc2
67484    builtin and then its argument prototype would still apply.  */
67485 char $ac_func ();
67486 /* The GNU C library defines this for functions which it implements
67487     to always fail with ENOSYS.  Some functions are actually named
67488     something starting with __ and the normal name is an alias.  */
67489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67490 choke me
67491 #else
67492 char (*f) () = $ac_func;
67493 #endif
67494 #ifdef __cplusplus
67495 }
67496 #endif
67497
67498 int
67499 main ()
67500 {
67501 return f != $ac_func;
67502   ;
67503   return 0;
67504 }
67505 _ACEOF
67506 rm -f conftest.$ac_objext conftest$ac_exeext
67507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67508   (eval $ac_link) 2>conftest.er1
67509   ac_status=$?
67510   grep -v '^ *+' conftest.er1 >conftest.err
67511   rm -f conftest.er1
67512   cat conftest.err >&5
67513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67514   (exit $ac_status); } &&
67515          { ac_try='test -z "$ac_c_werror_flag"
67516                          || test ! -s conftest.err'
67517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67518   (eval $ac_try) 2>&5
67519   ac_status=$?
67520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67521   (exit $ac_status); }; } &&
67522          { ac_try='test -s conftest$ac_exeext'
67523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67524   (eval $ac_try) 2>&5
67525   ac_status=$?
67526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67527   (exit $ac_status); }; }; then
67528   eval "$as_ac_var=yes"
67529 else
67530   echo "$as_me: failed program was:" >&5
67531 sed 's/^/| /' conftest.$ac_ext >&5
67532
67533 eval "$as_ac_var=no"
67534 fi
67535 rm -f conftest.err conftest.$ac_objext \
67536       conftest$ac_exeext conftest.$ac_ext
67537 fi
67538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67540 if test `eval echo '${'$as_ac_var'}'` = yes; then
67541   cat >>confdefs.h <<_ACEOF
67542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67543 _ACEOF
67544
67545 fi
67546 done
67547
67548     fi
67549   fi
67550
67551
67552
67553   echo "$as_me:$LINENO: checking for log10l declaration" >&5
67554 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
67555   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
67556     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
67557   echo $ECHO_N "(cached) $ECHO_C" >&6
67558 else
67559
67560
67561
67562       ac_ext=cc
67563 ac_cpp='$CXXCPP $CPPFLAGS'
67564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67567
67568       cat >conftest.$ac_ext <<_ACEOF
67569 /* confdefs.h.  */
67570 _ACEOF
67571 cat confdefs.h >>conftest.$ac_ext
67572 cat >>conftest.$ac_ext <<_ACEOF
67573 /* end confdefs.h.  */
67574 #include <math.h>
67575                       #ifdef HAVE_IEEEFP_H
67576                       #include <ieeefp.h>
67577                       #endif
67578
67579 int
67580 main ()
67581 {
67582  log10l(0);
67583   ;
67584   return 0;
67585 }
67586 _ACEOF
67587 rm -f conftest.$ac_objext
67588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67589   (eval $ac_compile) 2>conftest.er1
67590   ac_status=$?
67591   grep -v '^ *+' conftest.er1 >conftest.err
67592   rm -f conftest.er1
67593   cat conftest.err >&5
67594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67595   (exit $ac_status); } &&
67596          { ac_try='test -z "$ac_cxx_werror_flag"
67597                          || test ! -s conftest.err'
67598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67599   (eval $ac_try) 2>&5
67600   ac_status=$?
67601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67602   (exit $ac_status); }; } &&
67603          { ac_try='test -s conftest.$ac_objext'
67604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67605   (eval $ac_try) 2>&5
67606   ac_status=$?
67607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67608   (exit $ac_status); }; }; then
67609   glibcxx_cv_func_log10l_use=yes
67610 else
67611   echo "$as_me: failed program was:" >&5
67612 sed 's/^/| /' conftest.$ac_ext >&5
67613
67614 glibcxx_cv_func_log10l_use=no
67615 fi
67616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67617       ac_ext=c
67618 ac_cpp='$CPP $CPPFLAGS'
67619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67622
67623
67624 fi
67625
67626   fi
67627   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
67628 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
67629
67630   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
67631
67632 for ac_func in log10l
67633 do
67634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67635 echo "$as_me:$LINENO: checking for $ac_func" >&5
67636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67637 if eval "test \"\${$as_ac_var+set}\" = set"; then
67638   echo $ECHO_N "(cached) $ECHO_C" >&6
67639 else
67640   if test x$gcc_no_link = xyes; then
67641   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67643    { (exit 1); exit 1; }; }
67644 fi
67645 cat >conftest.$ac_ext <<_ACEOF
67646 /* confdefs.h.  */
67647 _ACEOF
67648 cat confdefs.h >>conftest.$ac_ext
67649 cat >>conftest.$ac_ext <<_ACEOF
67650 /* end confdefs.h.  */
67651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67652    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67653 #define $ac_func innocuous_$ac_func
67654
67655 /* System header to define __stub macros and hopefully few prototypes,
67656     which can conflict with char $ac_func (); below.
67657     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67658     <limits.h> exists even on freestanding compilers.  */
67659
67660 #ifdef __STDC__
67661 # include <limits.h>
67662 #else
67663 # include <assert.h>
67664 #endif
67665
67666 #undef $ac_func
67667
67668 /* Override any gcc2 internal prototype to avoid an error.  */
67669 #ifdef __cplusplus
67670 extern "C"
67671 {
67672 #endif
67673 /* We use char because int might match the return type of a gcc2
67674    builtin and then its argument prototype would still apply.  */
67675 char $ac_func ();
67676 /* The GNU C library defines this for functions which it implements
67677     to always fail with ENOSYS.  Some functions are actually named
67678     something starting with __ and the normal name is an alias.  */
67679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67680 choke me
67681 #else
67682 char (*f) () = $ac_func;
67683 #endif
67684 #ifdef __cplusplus
67685 }
67686 #endif
67687
67688 int
67689 main ()
67690 {
67691 return f != $ac_func;
67692   ;
67693   return 0;
67694 }
67695 _ACEOF
67696 rm -f conftest.$ac_objext conftest$ac_exeext
67697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67698   (eval $ac_link) 2>conftest.er1
67699   ac_status=$?
67700   grep -v '^ *+' conftest.er1 >conftest.err
67701   rm -f conftest.er1
67702   cat conftest.err >&5
67703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67704   (exit $ac_status); } &&
67705          { ac_try='test -z "$ac_c_werror_flag"
67706                          || test ! -s conftest.err'
67707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67708   (eval $ac_try) 2>&5
67709   ac_status=$?
67710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67711   (exit $ac_status); }; } &&
67712          { ac_try='test -s conftest$ac_exeext'
67713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67714   (eval $ac_try) 2>&5
67715   ac_status=$?
67716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67717   (exit $ac_status); }; }; then
67718   eval "$as_ac_var=yes"
67719 else
67720   echo "$as_me: failed program was:" >&5
67721 sed 's/^/| /' conftest.$ac_ext >&5
67722
67723 eval "$as_ac_var=no"
67724 fi
67725 rm -f conftest.err conftest.$ac_objext \
67726       conftest$ac_exeext conftest.$ac_ext
67727 fi
67728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67730 if test `eval echo '${'$as_ac_var'}'` = yes; then
67731   cat >>confdefs.h <<_ACEOF
67732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67733 _ACEOF
67734
67735 fi
67736 done
67737
67738   else
67739
67740   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
67741 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
67742   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
67743     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
67744   echo $ECHO_N "(cached) $ECHO_C" >&6
67745 else
67746
67747
67748
67749       ac_ext=cc
67750 ac_cpp='$CXXCPP $CPPFLAGS'
67751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67754
67755       cat >conftest.$ac_ext <<_ACEOF
67756 /* confdefs.h.  */
67757 _ACEOF
67758 cat confdefs.h >>conftest.$ac_ext
67759 cat >>conftest.$ac_ext <<_ACEOF
67760 /* end confdefs.h.  */
67761 #include <math.h>
67762                       #ifdef HAVE_IEEEFP_H
67763                       #include <ieeefp.h>
67764                       #endif
67765
67766 int
67767 main ()
67768 {
67769  _log10l(0);
67770   ;
67771   return 0;
67772 }
67773 _ACEOF
67774 rm -f conftest.$ac_objext
67775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67776   (eval $ac_compile) 2>conftest.er1
67777   ac_status=$?
67778   grep -v '^ *+' conftest.er1 >conftest.err
67779   rm -f conftest.er1
67780   cat conftest.err >&5
67781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67782   (exit $ac_status); } &&
67783          { ac_try='test -z "$ac_cxx_werror_flag"
67784                          || test ! -s conftest.err'
67785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67786   (eval $ac_try) 2>&5
67787   ac_status=$?
67788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67789   (exit $ac_status); }; } &&
67790          { ac_try='test -s conftest.$ac_objext'
67791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67792   (eval $ac_try) 2>&5
67793   ac_status=$?
67794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67795   (exit $ac_status); }; }; then
67796   glibcxx_cv_func__log10l_use=yes
67797 else
67798   echo "$as_me: failed program was:" >&5
67799 sed 's/^/| /' conftest.$ac_ext >&5
67800
67801 glibcxx_cv_func__log10l_use=no
67802 fi
67803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67804       ac_ext=c
67805 ac_cpp='$CPP $CPPFLAGS'
67806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67809
67810
67811 fi
67812
67813   fi
67814   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
67815 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
67816
67817     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
67818
67819 for ac_func in _log10l
67820 do
67821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67822 echo "$as_me:$LINENO: checking for $ac_func" >&5
67823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67824 if eval "test \"\${$as_ac_var+set}\" = set"; then
67825   echo $ECHO_N "(cached) $ECHO_C" >&6
67826 else
67827   if test x$gcc_no_link = xyes; then
67828   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67830    { (exit 1); exit 1; }; }
67831 fi
67832 cat >conftest.$ac_ext <<_ACEOF
67833 /* confdefs.h.  */
67834 _ACEOF
67835 cat confdefs.h >>conftest.$ac_ext
67836 cat >>conftest.$ac_ext <<_ACEOF
67837 /* end confdefs.h.  */
67838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67839    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67840 #define $ac_func innocuous_$ac_func
67841
67842 /* System header to define __stub macros and hopefully few prototypes,
67843     which can conflict with char $ac_func (); below.
67844     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67845     <limits.h> exists even on freestanding compilers.  */
67846
67847 #ifdef __STDC__
67848 # include <limits.h>
67849 #else
67850 # include <assert.h>
67851 #endif
67852
67853 #undef $ac_func
67854
67855 /* Override any gcc2 internal prototype to avoid an error.  */
67856 #ifdef __cplusplus
67857 extern "C"
67858 {
67859 #endif
67860 /* We use char because int might match the return type of a gcc2
67861    builtin and then its argument prototype would still apply.  */
67862 char $ac_func ();
67863 /* The GNU C library defines this for functions which it implements
67864     to always fail with ENOSYS.  Some functions are actually named
67865     something starting with __ and the normal name is an alias.  */
67866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67867 choke me
67868 #else
67869 char (*f) () = $ac_func;
67870 #endif
67871 #ifdef __cplusplus
67872 }
67873 #endif
67874
67875 int
67876 main ()
67877 {
67878 return f != $ac_func;
67879   ;
67880   return 0;
67881 }
67882 _ACEOF
67883 rm -f conftest.$ac_objext conftest$ac_exeext
67884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67885   (eval $ac_link) 2>conftest.er1
67886   ac_status=$?
67887   grep -v '^ *+' conftest.er1 >conftest.err
67888   rm -f conftest.er1
67889   cat conftest.err >&5
67890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67891   (exit $ac_status); } &&
67892          { ac_try='test -z "$ac_c_werror_flag"
67893                          || test ! -s conftest.err'
67894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67895   (eval $ac_try) 2>&5
67896   ac_status=$?
67897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67898   (exit $ac_status); }; } &&
67899          { ac_try='test -s conftest$ac_exeext'
67900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67901   (eval $ac_try) 2>&5
67902   ac_status=$?
67903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67904   (exit $ac_status); }; }; then
67905   eval "$as_ac_var=yes"
67906 else
67907   echo "$as_me: failed program was:" >&5
67908 sed 's/^/| /' conftest.$ac_ext >&5
67909
67910 eval "$as_ac_var=no"
67911 fi
67912 rm -f conftest.err conftest.$ac_objext \
67913       conftest$ac_exeext conftest.$ac_ext
67914 fi
67915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67917 if test `eval echo '${'$as_ac_var'}'` = yes; then
67918   cat >>confdefs.h <<_ACEOF
67919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67920 _ACEOF
67921
67922 fi
67923 done
67924
67925     fi
67926   fi
67927
67928
67929
67930   echo "$as_me:$LINENO: checking for modfl declaration" >&5
67931 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
67932   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
67933     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
67934   echo $ECHO_N "(cached) $ECHO_C" >&6
67935 else
67936
67937
67938
67939       ac_ext=cc
67940 ac_cpp='$CXXCPP $CPPFLAGS'
67941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67944
67945       cat >conftest.$ac_ext <<_ACEOF
67946 /* confdefs.h.  */
67947 _ACEOF
67948 cat confdefs.h >>conftest.$ac_ext
67949 cat >>conftest.$ac_ext <<_ACEOF
67950 /* end confdefs.h.  */
67951 #include <math.h>
67952 int
67953 main ()
67954 {
67955  modfl(0, 0);
67956   ;
67957   return 0;
67958 }
67959 _ACEOF
67960 rm -f conftest.$ac_objext
67961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67962   (eval $ac_compile) 2>conftest.er1
67963   ac_status=$?
67964   grep -v '^ *+' conftest.er1 >conftest.err
67965   rm -f conftest.er1
67966   cat conftest.err >&5
67967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67968   (exit $ac_status); } &&
67969          { ac_try='test -z "$ac_cxx_werror_flag"
67970                          || test ! -s conftest.err'
67971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67972   (eval $ac_try) 2>&5
67973   ac_status=$?
67974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67975   (exit $ac_status); }; } &&
67976          { ac_try='test -s conftest.$ac_objext'
67977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67978   (eval $ac_try) 2>&5
67979   ac_status=$?
67980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67981   (exit $ac_status); }; }; then
67982   glibcxx_cv_func_modfl_use=yes
67983 else
67984   echo "$as_me: failed program was:" >&5
67985 sed 's/^/| /' conftest.$ac_ext >&5
67986
67987 glibcxx_cv_func_modfl_use=no
67988 fi
67989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67990       ac_ext=c
67991 ac_cpp='$CPP $CPPFLAGS'
67992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67995
67996
67997 fi
67998
67999   fi
68000   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
68001 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
68002
68003   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68004
68005 for ac_func in modfl
68006 do
68007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68008 echo "$as_me:$LINENO: checking for $ac_func" >&5
68009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68010 if eval "test \"\${$as_ac_var+set}\" = set"; then
68011   echo $ECHO_N "(cached) $ECHO_C" >&6
68012 else
68013   if test x$gcc_no_link = xyes; then
68014   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68016    { (exit 1); exit 1; }; }
68017 fi
68018 cat >conftest.$ac_ext <<_ACEOF
68019 /* confdefs.h.  */
68020 _ACEOF
68021 cat confdefs.h >>conftest.$ac_ext
68022 cat >>conftest.$ac_ext <<_ACEOF
68023 /* end confdefs.h.  */
68024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68025    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68026 #define $ac_func innocuous_$ac_func
68027
68028 /* System header to define __stub macros and hopefully few prototypes,
68029     which can conflict with char $ac_func (); below.
68030     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68031     <limits.h> exists even on freestanding compilers.  */
68032
68033 #ifdef __STDC__
68034 # include <limits.h>
68035 #else
68036 # include <assert.h>
68037 #endif
68038
68039 #undef $ac_func
68040
68041 /* Override any gcc2 internal prototype to avoid an error.  */
68042 #ifdef __cplusplus
68043 extern "C"
68044 {
68045 #endif
68046 /* We use char because int might match the return type of a gcc2
68047    builtin and then its argument prototype would still apply.  */
68048 char $ac_func ();
68049 /* The GNU C library defines this for functions which it implements
68050     to always fail with ENOSYS.  Some functions are actually named
68051     something starting with __ and the normal name is an alias.  */
68052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68053 choke me
68054 #else
68055 char (*f) () = $ac_func;
68056 #endif
68057 #ifdef __cplusplus
68058 }
68059 #endif
68060
68061 int
68062 main ()
68063 {
68064 return f != $ac_func;
68065   ;
68066   return 0;
68067 }
68068 _ACEOF
68069 rm -f conftest.$ac_objext conftest$ac_exeext
68070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68071   (eval $ac_link) 2>conftest.er1
68072   ac_status=$?
68073   grep -v '^ *+' conftest.er1 >conftest.err
68074   rm -f conftest.er1
68075   cat conftest.err >&5
68076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68077   (exit $ac_status); } &&
68078          { ac_try='test -z "$ac_c_werror_flag"
68079                          || test ! -s conftest.err'
68080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68081   (eval $ac_try) 2>&5
68082   ac_status=$?
68083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68084   (exit $ac_status); }; } &&
68085          { ac_try='test -s conftest$ac_exeext'
68086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68087   (eval $ac_try) 2>&5
68088   ac_status=$?
68089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68090   (exit $ac_status); }; }; then
68091   eval "$as_ac_var=yes"
68092 else
68093   echo "$as_me: failed program was:" >&5
68094 sed 's/^/| /' conftest.$ac_ext >&5
68095
68096 eval "$as_ac_var=no"
68097 fi
68098 rm -f conftest.err conftest.$ac_objext \
68099       conftest$ac_exeext conftest.$ac_ext
68100 fi
68101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68103 if test `eval echo '${'$as_ac_var'}'` = yes; then
68104   cat >>confdefs.h <<_ACEOF
68105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68106 _ACEOF
68107
68108 fi
68109 done
68110
68111   else
68112
68113   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
68114 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
68115   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68116     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
68117   echo $ECHO_N "(cached) $ECHO_C" >&6
68118 else
68119
68120
68121
68122       ac_ext=cc
68123 ac_cpp='$CXXCPP $CPPFLAGS'
68124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68127
68128       cat >conftest.$ac_ext <<_ACEOF
68129 /* confdefs.h.  */
68130 _ACEOF
68131 cat confdefs.h >>conftest.$ac_ext
68132 cat >>conftest.$ac_ext <<_ACEOF
68133 /* end confdefs.h.  */
68134 #include <math.h>
68135 int
68136 main ()
68137 {
68138  _modfl(0, 0);
68139   ;
68140   return 0;
68141 }
68142 _ACEOF
68143 rm -f conftest.$ac_objext
68144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68145   (eval $ac_compile) 2>conftest.er1
68146   ac_status=$?
68147   grep -v '^ *+' conftest.er1 >conftest.err
68148   rm -f conftest.er1
68149   cat conftest.err >&5
68150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68151   (exit $ac_status); } &&
68152          { ac_try='test -z "$ac_cxx_werror_flag"
68153                          || test ! -s conftest.err'
68154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68155   (eval $ac_try) 2>&5
68156   ac_status=$?
68157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68158   (exit $ac_status); }; } &&
68159          { ac_try='test -s conftest.$ac_objext'
68160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68161   (eval $ac_try) 2>&5
68162   ac_status=$?
68163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68164   (exit $ac_status); }; }; then
68165   glibcxx_cv_func__modfl_use=yes
68166 else
68167   echo "$as_me: failed program was:" >&5
68168 sed 's/^/| /' conftest.$ac_ext >&5
68169
68170 glibcxx_cv_func__modfl_use=no
68171 fi
68172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68173       ac_ext=c
68174 ac_cpp='$CPP $CPPFLAGS'
68175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68178
68179
68180 fi
68181
68182   fi
68183   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
68184 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
68185
68186     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68187
68188 for ac_func in _modfl
68189 do
68190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68191 echo "$as_me:$LINENO: checking for $ac_func" >&5
68192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68193 if eval "test \"\${$as_ac_var+set}\" = set"; then
68194   echo $ECHO_N "(cached) $ECHO_C" >&6
68195 else
68196   if test x$gcc_no_link = xyes; then
68197   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68199    { (exit 1); exit 1; }; }
68200 fi
68201 cat >conftest.$ac_ext <<_ACEOF
68202 /* confdefs.h.  */
68203 _ACEOF
68204 cat confdefs.h >>conftest.$ac_ext
68205 cat >>conftest.$ac_ext <<_ACEOF
68206 /* end confdefs.h.  */
68207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68208    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68209 #define $ac_func innocuous_$ac_func
68210
68211 /* System header to define __stub macros and hopefully few prototypes,
68212     which can conflict with char $ac_func (); below.
68213     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68214     <limits.h> exists even on freestanding compilers.  */
68215
68216 #ifdef __STDC__
68217 # include <limits.h>
68218 #else
68219 # include <assert.h>
68220 #endif
68221
68222 #undef $ac_func
68223
68224 /* Override any gcc2 internal prototype to avoid an error.  */
68225 #ifdef __cplusplus
68226 extern "C"
68227 {
68228 #endif
68229 /* We use char because int might match the return type of a gcc2
68230    builtin and then its argument prototype would still apply.  */
68231 char $ac_func ();
68232 /* The GNU C library defines this for functions which it implements
68233     to always fail with ENOSYS.  Some functions are actually named
68234     something starting with __ and the normal name is an alias.  */
68235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68236 choke me
68237 #else
68238 char (*f) () = $ac_func;
68239 #endif
68240 #ifdef __cplusplus
68241 }
68242 #endif
68243
68244 int
68245 main ()
68246 {
68247 return f != $ac_func;
68248   ;
68249   return 0;
68250 }
68251 _ACEOF
68252 rm -f conftest.$ac_objext conftest$ac_exeext
68253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68254   (eval $ac_link) 2>conftest.er1
68255   ac_status=$?
68256   grep -v '^ *+' conftest.er1 >conftest.err
68257   rm -f conftest.er1
68258   cat conftest.err >&5
68259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68260   (exit $ac_status); } &&
68261          { ac_try='test -z "$ac_c_werror_flag"
68262                          || test ! -s conftest.err'
68263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68264   (eval $ac_try) 2>&5
68265   ac_status=$?
68266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68267   (exit $ac_status); }; } &&
68268          { ac_try='test -s conftest$ac_exeext'
68269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68270   (eval $ac_try) 2>&5
68271   ac_status=$?
68272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68273   (exit $ac_status); }; }; then
68274   eval "$as_ac_var=yes"
68275 else
68276   echo "$as_me: failed program was:" >&5
68277 sed 's/^/| /' conftest.$ac_ext >&5
68278
68279 eval "$as_ac_var=no"
68280 fi
68281 rm -f conftest.err conftest.$ac_objext \
68282       conftest$ac_exeext conftest.$ac_ext
68283 fi
68284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68286 if test `eval echo '${'$as_ac_var'}'` = yes; then
68287   cat >>confdefs.h <<_ACEOF
68288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68289 _ACEOF
68290
68291 fi
68292 done
68293
68294     fi
68295   fi
68296
68297
68298
68299   echo "$as_me:$LINENO: checking for powl declaration" >&5
68300 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
68301   if test x${glibcxx_cv_func_powl_use+set} != xset; then
68302     if test "${glibcxx_cv_func_powl_use+set}" = set; then
68303   echo $ECHO_N "(cached) $ECHO_C" >&6
68304 else
68305
68306
68307
68308       ac_ext=cc
68309 ac_cpp='$CXXCPP $CPPFLAGS'
68310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68313
68314       cat >conftest.$ac_ext <<_ACEOF
68315 /* confdefs.h.  */
68316 _ACEOF
68317 cat confdefs.h >>conftest.$ac_ext
68318 cat >>conftest.$ac_ext <<_ACEOF
68319 /* end confdefs.h.  */
68320 #include <math.h>
68321 int
68322 main ()
68323 {
68324  powl(0, 0);
68325   ;
68326   return 0;
68327 }
68328 _ACEOF
68329 rm -f conftest.$ac_objext
68330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68331   (eval $ac_compile) 2>conftest.er1
68332   ac_status=$?
68333   grep -v '^ *+' conftest.er1 >conftest.err
68334   rm -f conftest.er1
68335   cat conftest.err >&5
68336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68337   (exit $ac_status); } &&
68338          { ac_try='test -z "$ac_cxx_werror_flag"
68339                          || test ! -s conftest.err'
68340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68341   (eval $ac_try) 2>&5
68342   ac_status=$?
68343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68344   (exit $ac_status); }; } &&
68345          { ac_try='test -s conftest.$ac_objext'
68346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68347   (eval $ac_try) 2>&5
68348   ac_status=$?
68349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68350   (exit $ac_status); }; }; then
68351   glibcxx_cv_func_powl_use=yes
68352 else
68353   echo "$as_me: failed program was:" >&5
68354 sed 's/^/| /' conftest.$ac_ext >&5
68355
68356 glibcxx_cv_func_powl_use=no
68357 fi
68358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68359       ac_ext=c
68360 ac_cpp='$CPP $CPPFLAGS'
68361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68364
68365
68366 fi
68367
68368   fi
68369   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
68370 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
68371
68372   if test x$glibcxx_cv_func_powl_use = x"yes"; then
68373
68374 for ac_func in powl
68375 do
68376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68377 echo "$as_me:$LINENO: checking for $ac_func" >&5
68378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68379 if eval "test \"\${$as_ac_var+set}\" = set"; then
68380   echo $ECHO_N "(cached) $ECHO_C" >&6
68381 else
68382   if test x$gcc_no_link = xyes; then
68383   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68385    { (exit 1); exit 1; }; }
68386 fi
68387 cat >conftest.$ac_ext <<_ACEOF
68388 /* confdefs.h.  */
68389 _ACEOF
68390 cat confdefs.h >>conftest.$ac_ext
68391 cat >>conftest.$ac_ext <<_ACEOF
68392 /* end confdefs.h.  */
68393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68394    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68395 #define $ac_func innocuous_$ac_func
68396
68397 /* System header to define __stub macros and hopefully few prototypes,
68398     which can conflict with char $ac_func (); below.
68399     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68400     <limits.h> exists even on freestanding compilers.  */
68401
68402 #ifdef __STDC__
68403 # include <limits.h>
68404 #else
68405 # include <assert.h>
68406 #endif
68407
68408 #undef $ac_func
68409
68410 /* Override any gcc2 internal prototype to avoid an error.  */
68411 #ifdef __cplusplus
68412 extern "C"
68413 {
68414 #endif
68415 /* We use char because int might match the return type of a gcc2
68416    builtin and then its argument prototype would still apply.  */
68417 char $ac_func ();
68418 /* The GNU C library defines this for functions which it implements
68419     to always fail with ENOSYS.  Some functions are actually named
68420     something starting with __ and the normal name is an alias.  */
68421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68422 choke me
68423 #else
68424 char (*f) () = $ac_func;
68425 #endif
68426 #ifdef __cplusplus
68427 }
68428 #endif
68429
68430 int
68431 main ()
68432 {
68433 return f != $ac_func;
68434   ;
68435   return 0;
68436 }
68437 _ACEOF
68438 rm -f conftest.$ac_objext conftest$ac_exeext
68439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68440   (eval $ac_link) 2>conftest.er1
68441   ac_status=$?
68442   grep -v '^ *+' conftest.er1 >conftest.err
68443   rm -f conftest.er1
68444   cat conftest.err >&5
68445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68446   (exit $ac_status); } &&
68447          { ac_try='test -z "$ac_c_werror_flag"
68448                          || test ! -s conftest.err'
68449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68450   (eval $ac_try) 2>&5
68451   ac_status=$?
68452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68453   (exit $ac_status); }; } &&
68454          { ac_try='test -s conftest$ac_exeext'
68455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68456   (eval $ac_try) 2>&5
68457   ac_status=$?
68458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68459   (exit $ac_status); }; }; then
68460   eval "$as_ac_var=yes"
68461 else
68462   echo "$as_me: failed program was:" >&5
68463 sed 's/^/| /' conftest.$ac_ext >&5
68464
68465 eval "$as_ac_var=no"
68466 fi
68467 rm -f conftest.err conftest.$ac_objext \
68468       conftest$ac_exeext conftest.$ac_ext
68469 fi
68470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68472 if test `eval echo '${'$as_ac_var'}'` = yes; then
68473   cat >>confdefs.h <<_ACEOF
68474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68475 _ACEOF
68476
68477 fi
68478 done
68479
68480   else
68481
68482   echo "$as_me:$LINENO: checking for _powl declaration" >&5
68483 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
68484   if test x${glibcxx_cv_func__powl_use+set} != xset; then
68485     if test "${glibcxx_cv_func__powl_use+set}" = set; then
68486   echo $ECHO_N "(cached) $ECHO_C" >&6
68487 else
68488
68489
68490
68491       ac_ext=cc
68492 ac_cpp='$CXXCPP $CPPFLAGS'
68493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68496
68497       cat >conftest.$ac_ext <<_ACEOF
68498 /* confdefs.h.  */
68499 _ACEOF
68500 cat confdefs.h >>conftest.$ac_ext
68501 cat >>conftest.$ac_ext <<_ACEOF
68502 /* end confdefs.h.  */
68503 #include <math.h>
68504 int
68505 main ()
68506 {
68507  _powl(0, 0);
68508   ;
68509   return 0;
68510 }
68511 _ACEOF
68512 rm -f conftest.$ac_objext
68513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68514   (eval $ac_compile) 2>conftest.er1
68515   ac_status=$?
68516   grep -v '^ *+' conftest.er1 >conftest.err
68517   rm -f conftest.er1
68518   cat conftest.err >&5
68519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68520   (exit $ac_status); } &&
68521          { ac_try='test -z "$ac_cxx_werror_flag"
68522                          || test ! -s conftest.err'
68523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68524   (eval $ac_try) 2>&5
68525   ac_status=$?
68526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68527   (exit $ac_status); }; } &&
68528          { ac_try='test -s conftest.$ac_objext'
68529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68530   (eval $ac_try) 2>&5
68531   ac_status=$?
68532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68533   (exit $ac_status); }; }; then
68534   glibcxx_cv_func__powl_use=yes
68535 else
68536   echo "$as_me: failed program was:" >&5
68537 sed 's/^/| /' conftest.$ac_ext >&5
68538
68539 glibcxx_cv_func__powl_use=no
68540 fi
68541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68542       ac_ext=c
68543 ac_cpp='$CPP $CPPFLAGS'
68544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68547
68548
68549 fi
68550
68551   fi
68552   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
68553 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
68554
68555     if test x$glibcxx_cv_func__powl_use = x"yes"; then
68556
68557 for ac_func in _powl
68558 do
68559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68560 echo "$as_me:$LINENO: checking for $ac_func" >&5
68561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68562 if eval "test \"\${$as_ac_var+set}\" = set"; then
68563   echo $ECHO_N "(cached) $ECHO_C" >&6
68564 else
68565   if test x$gcc_no_link = xyes; then
68566   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68568    { (exit 1); exit 1; }; }
68569 fi
68570 cat >conftest.$ac_ext <<_ACEOF
68571 /* confdefs.h.  */
68572 _ACEOF
68573 cat confdefs.h >>conftest.$ac_ext
68574 cat >>conftest.$ac_ext <<_ACEOF
68575 /* end confdefs.h.  */
68576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68577    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68578 #define $ac_func innocuous_$ac_func
68579
68580 /* System header to define __stub macros and hopefully few prototypes,
68581     which can conflict with char $ac_func (); below.
68582     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68583     <limits.h> exists even on freestanding compilers.  */
68584
68585 #ifdef __STDC__
68586 # include <limits.h>
68587 #else
68588 # include <assert.h>
68589 #endif
68590
68591 #undef $ac_func
68592
68593 /* Override any gcc2 internal prototype to avoid an error.  */
68594 #ifdef __cplusplus
68595 extern "C"
68596 {
68597 #endif
68598 /* We use char because int might match the return type of a gcc2
68599    builtin and then its argument prototype would still apply.  */
68600 char $ac_func ();
68601 /* The GNU C library defines this for functions which it implements
68602     to always fail with ENOSYS.  Some functions are actually named
68603     something starting with __ and the normal name is an alias.  */
68604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68605 choke me
68606 #else
68607 char (*f) () = $ac_func;
68608 #endif
68609 #ifdef __cplusplus
68610 }
68611 #endif
68612
68613 int
68614 main ()
68615 {
68616 return f != $ac_func;
68617   ;
68618   return 0;
68619 }
68620 _ACEOF
68621 rm -f conftest.$ac_objext conftest$ac_exeext
68622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68623   (eval $ac_link) 2>conftest.er1
68624   ac_status=$?
68625   grep -v '^ *+' conftest.er1 >conftest.err
68626   rm -f conftest.er1
68627   cat conftest.err >&5
68628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68629   (exit $ac_status); } &&
68630          { ac_try='test -z "$ac_c_werror_flag"
68631                          || test ! -s conftest.err'
68632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68633   (eval $ac_try) 2>&5
68634   ac_status=$?
68635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68636   (exit $ac_status); }; } &&
68637          { ac_try='test -s conftest$ac_exeext'
68638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68639   (eval $ac_try) 2>&5
68640   ac_status=$?
68641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68642   (exit $ac_status); }; }; then
68643   eval "$as_ac_var=yes"
68644 else
68645   echo "$as_me: failed program was:" >&5
68646 sed 's/^/| /' conftest.$ac_ext >&5
68647
68648 eval "$as_ac_var=no"
68649 fi
68650 rm -f conftest.err conftest.$ac_objext \
68651       conftest$ac_exeext conftest.$ac_ext
68652 fi
68653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68655 if test `eval echo '${'$as_ac_var'}'` = yes; then
68656   cat >>confdefs.h <<_ACEOF
68657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68658 _ACEOF
68659
68660 fi
68661 done
68662
68663     fi
68664   fi
68665
68666
68667
68668   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
68669 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
68670   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
68671     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
68672   echo $ECHO_N "(cached) $ECHO_C" >&6
68673 else
68674
68675
68676
68677       ac_ext=cc
68678 ac_cpp='$CXXCPP $CPPFLAGS'
68679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68682
68683       cat >conftest.$ac_ext <<_ACEOF
68684 /* confdefs.h.  */
68685 _ACEOF
68686 cat confdefs.h >>conftest.$ac_ext
68687 cat >>conftest.$ac_ext <<_ACEOF
68688 /* end confdefs.h.  */
68689 #include <math.h>
68690                       #ifdef HAVE_IEEEFP_H
68691                       #include <ieeefp.h>
68692                       #endif
68693
68694 int
68695 main ()
68696 {
68697  sqrtl(0);
68698   ;
68699   return 0;
68700 }
68701 _ACEOF
68702 rm -f conftest.$ac_objext
68703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68704   (eval $ac_compile) 2>conftest.er1
68705   ac_status=$?
68706   grep -v '^ *+' conftest.er1 >conftest.err
68707   rm -f conftest.er1
68708   cat conftest.err >&5
68709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68710   (exit $ac_status); } &&
68711          { ac_try='test -z "$ac_cxx_werror_flag"
68712                          || test ! -s conftest.err'
68713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68714   (eval $ac_try) 2>&5
68715   ac_status=$?
68716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68717   (exit $ac_status); }; } &&
68718          { ac_try='test -s conftest.$ac_objext'
68719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68720   (eval $ac_try) 2>&5
68721   ac_status=$?
68722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68723   (exit $ac_status); }; }; then
68724   glibcxx_cv_func_sqrtl_use=yes
68725 else
68726   echo "$as_me: failed program was:" >&5
68727 sed 's/^/| /' conftest.$ac_ext >&5
68728
68729 glibcxx_cv_func_sqrtl_use=no
68730 fi
68731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68732       ac_ext=c
68733 ac_cpp='$CPP $CPPFLAGS'
68734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68737
68738
68739 fi
68740
68741   fi
68742   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
68743 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
68744
68745   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
68746
68747 for ac_func in sqrtl
68748 do
68749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68750 echo "$as_me:$LINENO: checking for $ac_func" >&5
68751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68752 if eval "test \"\${$as_ac_var+set}\" = set"; then
68753   echo $ECHO_N "(cached) $ECHO_C" >&6
68754 else
68755   if test x$gcc_no_link = xyes; then
68756   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68758    { (exit 1); exit 1; }; }
68759 fi
68760 cat >conftest.$ac_ext <<_ACEOF
68761 /* confdefs.h.  */
68762 _ACEOF
68763 cat confdefs.h >>conftest.$ac_ext
68764 cat >>conftest.$ac_ext <<_ACEOF
68765 /* end confdefs.h.  */
68766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68767    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68768 #define $ac_func innocuous_$ac_func
68769
68770 /* System header to define __stub macros and hopefully few prototypes,
68771     which can conflict with char $ac_func (); below.
68772     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68773     <limits.h> exists even on freestanding compilers.  */
68774
68775 #ifdef __STDC__
68776 # include <limits.h>
68777 #else
68778 # include <assert.h>
68779 #endif
68780
68781 #undef $ac_func
68782
68783 /* Override any gcc2 internal prototype to avoid an error.  */
68784 #ifdef __cplusplus
68785 extern "C"
68786 {
68787 #endif
68788 /* We use char because int might match the return type of a gcc2
68789    builtin and then its argument prototype would still apply.  */
68790 char $ac_func ();
68791 /* The GNU C library defines this for functions which it implements
68792     to always fail with ENOSYS.  Some functions are actually named
68793     something starting with __ and the normal name is an alias.  */
68794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68795 choke me
68796 #else
68797 char (*f) () = $ac_func;
68798 #endif
68799 #ifdef __cplusplus
68800 }
68801 #endif
68802
68803 int
68804 main ()
68805 {
68806 return f != $ac_func;
68807   ;
68808   return 0;
68809 }
68810 _ACEOF
68811 rm -f conftest.$ac_objext conftest$ac_exeext
68812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68813   (eval $ac_link) 2>conftest.er1
68814   ac_status=$?
68815   grep -v '^ *+' conftest.er1 >conftest.err
68816   rm -f conftest.er1
68817   cat conftest.err >&5
68818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68819   (exit $ac_status); } &&
68820          { ac_try='test -z "$ac_c_werror_flag"
68821                          || test ! -s conftest.err'
68822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68823   (eval $ac_try) 2>&5
68824   ac_status=$?
68825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68826   (exit $ac_status); }; } &&
68827          { ac_try='test -s conftest$ac_exeext'
68828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68829   (eval $ac_try) 2>&5
68830   ac_status=$?
68831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68832   (exit $ac_status); }; }; then
68833   eval "$as_ac_var=yes"
68834 else
68835   echo "$as_me: failed program was:" >&5
68836 sed 's/^/| /' conftest.$ac_ext >&5
68837
68838 eval "$as_ac_var=no"
68839 fi
68840 rm -f conftest.err conftest.$ac_objext \
68841       conftest$ac_exeext conftest.$ac_ext
68842 fi
68843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68845 if test `eval echo '${'$as_ac_var'}'` = yes; then
68846   cat >>confdefs.h <<_ACEOF
68847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68848 _ACEOF
68849
68850 fi
68851 done
68852
68853   else
68854
68855   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
68856 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
68857   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
68858     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
68859   echo $ECHO_N "(cached) $ECHO_C" >&6
68860 else
68861
68862
68863
68864       ac_ext=cc
68865 ac_cpp='$CXXCPP $CPPFLAGS'
68866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68869
68870       cat >conftest.$ac_ext <<_ACEOF
68871 /* confdefs.h.  */
68872 _ACEOF
68873 cat confdefs.h >>conftest.$ac_ext
68874 cat >>conftest.$ac_ext <<_ACEOF
68875 /* end confdefs.h.  */
68876 #include <math.h>
68877                       #ifdef HAVE_IEEEFP_H
68878                       #include <ieeefp.h>
68879                       #endif
68880
68881 int
68882 main ()
68883 {
68884  _sqrtl(0);
68885   ;
68886   return 0;
68887 }
68888 _ACEOF
68889 rm -f conftest.$ac_objext
68890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68891   (eval $ac_compile) 2>conftest.er1
68892   ac_status=$?
68893   grep -v '^ *+' conftest.er1 >conftest.err
68894   rm -f conftest.er1
68895   cat conftest.err >&5
68896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68897   (exit $ac_status); } &&
68898          { ac_try='test -z "$ac_cxx_werror_flag"
68899                          || test ! -s conftest.err'
68900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68901   (eval $ac_try) 2>&5
68902   ac_status=$?
68903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68904   (exit $ac_status); }; } &&
68905          { ac_try='test -s conftest.$ac_objext'
68906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68907   (eval $ac_try) 2>&5
68908   ac_status=$?
68909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68910   (exit $ac_status); }; }; then
68911   glibcxx_cv_func__sqrtl_use=yes
68912 else
68913   echo "$as_me: failed program was:" >&5
68914 sed 's/^/| /' conftest.$ac_ext >&5
68915
68916 glibcxx_cv_func__sqrtl_use=no
68917 fi
68918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68919       ac_ext=c
68920 ac_cpp='$CPP $CPPFLAGS'
68921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68924
68925
68926 fi
68927
68928   fi
68929   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
68930 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
68931
68932     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
68933
68934 for ac_func in _sqrtl
68935 do
68936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68937 echo "$as_me:$LINENO: checking for $ac_func" >&5
68938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68939 if eval "test \"\${$as_ac_var+set}\" = set"; then
68940   echo $ECHO_N "(cached) $ECHO_C" >&6
68941 else
68942   if test x$gcc_no_link = xyes; then
68943   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68945    { (exit 1); exit 1; }; }
68946 fi
68947 cat >conftest.$ac_ext <<_ACEOF
68948 /* confdefs.h.  */
68949 _ACEOF
68950 cat confdefs.h >>conftest.$ac_ext
68951 cat >>conftest.$ac_ext <<_ACEOF
68952 /* end confdefs.h.  */
68953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68954    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68955 #define $ac_func innocuous_$ac_func
68956
68957 /* System header to define __stub macros and hopefully few prototypes,
68958     which can conflict with char $ac_func (); below.
68959     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68960     <limits.h> exists even on freestanding compilers.  */
68961
68962 #ifdef __STDC__
68963 # include <limits.h>
68964 #else
68965 # include <assert.h>
68966 #endif
68967
68968 #undef $ac_func
68969
68970 /* Override any gcc2 internal prototype to avoid an error.  */
68971 #ifdef __cplusplus
68972 extern "C"
68973 {
68974 #endif
68975 /* We use char because int might match the return type of a gcc2
68976    builtin and then its argument prototype would still apply.  */
68977 char $ac_func ();
68978 /* The GNU C library defines this for functions which it implements
68979     to always fail with ENOSYS.  Some functions are actually named
68980     something starting with __ and the normal name is an alias.  */
68981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68982 choke me
68983 #else
68984 char (*f) () = $ac_func;
68985 #endif
68986 #ifdef __cplusplus
68987 }
68988 #endif
68989
68990 int
68991 main ()
68992 {
68993 return f != $ac_func;
68994   ;
68995   return 0;
68996 }
68997 _ACEOF
68998 rm -f conftest.$ac_objext conftest$ac_exeext
68999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69000   (eval $ac_link) 2>conftest.er1
69001   ac_status=$?
69002   grep -v '^ *+' conftest.er1 >conftest.err
69003   rm -f conftest.er1
69004   cat conftest.err >&5
69005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69006   (exit $ac_status); } &&
69007          { ac_try='test -z "$ac_c_werror_flag"
69008                          || test ! -s conftest.err'
69009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69010   (eval $ac_try) 2>&5
69011   ac_status=$?
69012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69013   (exit $ac_status); }; } &&
69014          { ac_try='test -s conftest$ac_exeext'
69015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69016   (eval $ac_try) 2>&5
69017   ac_status=$?
69018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69019   (exit $ac_status); }; }; then
69020   eval "$as_ac_var=yes"
69021 else
69022   echo "$as_me: failed program was:" >&5
69023 sed 's/^/| /' conftest.$ac_ext >&5
69024
69025 eval "$as_ac_var=no"
69026 fi
69027 rm -f conftest.err conftest.$ac_objext \
69028       conftest$ac_exeext conftest.$ac_ext
69029 fi
69030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69032 if test `eval echo '${'$as_ac_var'}'` = yes; then
69033   cat >>confdefs.h <<_ACEOF
69034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69035 _ACEOF
69036
69037 fi
69038 done
69039
69040     fi
69041   fi
69042
69043
69044
69045   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
69046 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
69047   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69048     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
69049   echo $ECHO_N "(cached) $ECHO_C" >&6
69050 else
69051
69052
69053
69054       ac_ext=cc
69055 ac_cpp='$CXXCPP $CPPFLAGS'
69056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69059
69060       cat >conftest.$ac_ext <<_ACEOF
69061 /* confdefs.h.  */
69062 _ACEOF
69063 cat confdefs.h >>conftest.$ac_ext
69064 cat >>conftest.$ac_ext <<_ACEOF
69065 /* end confdefs.h.  */
69066 #include <math.h>
69067 int
69068 main ()
69069 {
69070  sincosl(0, 0, 0);
69071   ;
69072   return 0;
69073 }
69074 _ACEOF
69075 rm -f conftest.$ac_objext
69076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69077   (eval $ac_compile) 2>conftest.er1
69078   ac_status=$?
69079   grep -v '^ *+' conftest.er1 >conftest.err
69080   rm -f conftest.er1
69081   cat conftest.err >&5
69082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69083   (exit $ac_status); } &&
69084          { ac_try='test -z "$ac_cxx_werror_flag"
69085                          || test ! -s conftest.err'
69086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69087   (eval $ac_try) 2>&5
69088   ac_status=$?
69089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69090   (exit $ac_status); }; } &&
69091          { ac_try='test -s conftest.$ac_objext'
69092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69093   (eval $ac_try) 2>&5
69094   ac_status=$?
69095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69096   (exit $ac_status); }; }; then
69097   glibcxx_cv_func_sincosl_use=yes
69098 else
69099   echo "$as_me: failed program was:" >&5
69100 sed 's/^/| /' conftest.$ac_ext >&5
69101
69102 glibcxx_cv_func_sincosl_use=no
69103 fi
69104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69105       ac_ext=c
69106 ac_cpp='$CPP $CPPFLAGS'
69107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69110
69111
69112 fi
69113
69114   fi
69115   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
69116 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
69117
69118   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69119
69120 for ac_func in sincosl
69121 do
69122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69123 echo "$as_me:$LINENO: checking for $ac_func" >&5
69124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69125 if eval "test \"\${$as_ac_var+set}\" = set"; then
69126   echo $ECHO_N "(cached) $ECHO_C" >&6
69127 else
69128   if test x$gcc_no_link = xyes; then
69129   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69131    { (exit 1); exit 1; }; }
69132 fi
69133 cat >conftest.$ac_ext <<_ACEOF
69134 /* confdefs.h.  */
69135 _ACEOF
69136 cat confdefs.h >>conftest.$ac_ext
69137 cat >>conftest.$ac_ext <<_ACEOF
69138 /* end confdefs.h.  */
69139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69140    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69141 #define $ac_func innocuous_$ac_func
69142
69143 /* System header to define __stub macros and hopefully few prototypes,
69144     which can conflict with char $ac_func (); below.
69145     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69146     <limits.h> exists even on freestanding compilers.  */
69147
69148 #ifdef __STDC__
69149 # include <limits.h>
69150 #else
69151 # include <assert.h>
69152 #endif
69153
69154 #undef $ac_func
69155
69156 /* Override any gcc2 internal prototype to avoid an error.  */
69157 #ifdef __cplusplus
69158 extern "C"
69159 {
69160 #endif
69161 /* We use char because int might match the return type of a gcc2
69162    builtin and then its argument prototype would still apply.  */
69163 char $ac_func ();
69164 /* The GNU C library defines this for functions which it implements
69165     to always fail with ENOSYS.  Some functions are actually named
69166     something starting with __ and the normal name is an alias.  */
69167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69168 choke me
69169 #else
69170 char (*f) () = $ac_func;
69171 #endif
69172 #ifdef __cplusplus
69173 }
69174 #endif
69175
69176 int
69177 main ()
69178 {
69179 return f != $ac_func;
69180   ;
69181   return 0;
69182 }
69183 _ACEOF
69184 rm -f conftest.$ac_objext conftest$ac_exeext
69185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69186   (eval $ac_link) 2>conftest.er1
69187   ac_status=$?
69188   grep -v '^ *+' conftest.er1 >conftest.err
69189   rm -f conftest.er1
69190   cat conftest.err >&5
69191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69192   (exit $ac_status); } &&
69193          { ac_try='test -z "$ac_c_werror_flag"
69194                          || test ! -s conftest.err'
69195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69196   (eval $ac_try) 2>&5
69197   ac_status=$?
69198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69199   (exit $ac_status); }; } &&
69200          { ac_try='test -s conftest$ac_exeext'
69201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69202   (eval $ac_try) 2>&5
69203   ac_status=$?
69204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69205   (exit $ac_status); }; }; then
69206   eval "$as_ac_var=yes"
69207 else
69208   echo "$as_me: failed program was:" >&5
69209 sed 's/^/| /' conftest.$ac_ext >&5
69210
69211 eval "$as_ac_var=no"
69212 fi
69213 rm -f conftest.err conftest.$ac_objext \
69214       conftest$ac_exeext conftest.$ac_ext
69215 fi
69216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69218 if test `eval echo '${'$as_ac_var'}'` = yes; then
69219   cat >>confdefs.h <<_ACEOF
69220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69221 _ACEOF
69222
69223 fi
69224 done
69225
69226   else
69227
69228   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
69229 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
69230   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69231     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
69232   echo $ECHO_N "(cached) $ECHO_C" >&6
69233 else
69234
69235
69236
69237       ac_ext=cc
69238 ac_cpp='$CXXCPP $CPPFLAGS'
69239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69242
69243       cat >conftest.$ac_ext <<_ACEOF
69244 /* confdefs.h.  */
69245 _ACEOF
69246 cat confdefs.h >>conftest.$ac_ext
69247 cat >>conftest.$ac_ext <<_ACEOF
69248 /* end confdefs.h.  */
69249 #include <math.h>
69250 int
69251 main ()
69252 {
69253  _sincosl(0, 0, 0);
69254   ;
69255   return 0;
69256 }
69257 _ACEOF
69258 rm -f conftest.$ac_objext
69259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69260   (eval $ac_compile) 2>conftest.er1
69261   ac_status=$?
69262   grep -v '^ *+' conftest.er1 >conftest.err
69263   rm -f conftest.er1
69264   cat conftest.err >&5
69265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69266   (exit $ac_status); } &&
69267          { ac_try='test -z "$ac_cxx_werror_flag"
69268                          || test ! -s conftest.err'
69269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69270   (eval $ac_try) 2>&5
69271   ac_status=$?
69272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69273   (exit $ac_status); }; } &&
69274          { ac_try='test -s conftest.$ac_objext'
69275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69276   (eval $ac_try) 2>&5
69277   ac_status=$?
69278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69279   (exit $ac_status); }; }; then
69280   glibcxx_cv_func__sincosl_use=yes
69281 else
69282   echo "$as_me: failed program was:" >&5
69283 sed 's/^/| /' conftest.$ac_ext >&5
69284
69285 glibcxx_cv_func__sincosl_use=no
69286 fi
69287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69288       ac_ext=c
69289 ac_cpp='$CPP $CPPFLAGS'
69290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69293
69294
69295 fi
69296
69297   fi
69298   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
69299 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
69300
69301     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69302
69303 for ac_func in _sincosl
69304 do
69305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69306 echo "$as_me:$LINENO: checking for $ac_func" >&5
69307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69308 if eval "test \"\${$as_ac_var+set}\" = set"; then
69309   echo $ECHO_N "(cached) $ECHO_C" >&6
69310 else
69311   if test x$gcc_no_link = xyes; then
69312   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69314    { (exit 1); exit 1; }; }
69315 fi
69316 cat >conftest.$ac_ext <<_ACEOF
69317 /* confdefs.h.  */
69318 _ACEOF
69319 cat confdefs.h >>conftest.$ac_ext
69320 cat >>conftest.$ac_ext <<_ACEOF
69321 /* end confdefs.h.  */
69322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69323    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69324 #define $ac_func innocuous_$ac_func
69325
69326 /* System header to define __stub macros and hopefully few prototypes,
69327     which can conflict with char $ac_func (); below.
69328     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69329     <limits.h> exists even on freestanding compilers.  */
69330
69331 #ifdef __STDC__
69332 # include <limits.h>
69333 #else
69334 # include <assert.h>
69335 #endif
69336
69337 #undef $ac_func
69338
69339 /* Override any gcc2 internal prototype to avoid an error.  */
69340 #ifdef __cplusplus
69341 extern "C"
69342 {
69343 #endif
69344 /* We use char because int might match the return type of a gcc2
69345    builtin and then its argument prototype would still apply.  */
69346 char $ac_func ();
69347 /* The GNU C library defines this for functions which it implements
69348     to always fail with ENOSYS.  Some functions are actually named
69349     something starting with __ and the normal name is an alias.  */
69350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69351 choke me
69352 #else
69353 char (*f) () = $ac_func;
69354 #endif
69355 #ifdef __cplusplus
69356 }
69357 #endif
69358
69359 int
69360 main ()
69361 {
69362 return f != $ac_func;
69363   ;
69364   return 0;
69365 }
69366 _ACEOF
69367 rm -f conftest.$ac_objext conftest$ac_exeext
69368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69369   (eval $ac_link) 2>conftest.er1
69370   ac_status=$?
69371   grep -v '^ *+' conftest.er1 >conftest.err
69372   rm -f conftest.er1
69373   cat conftest.err >&5
69374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69375   (exit $ac_status); } &&
69376          { ac_try='test -z "$ac_c_werror_flag"
69377                          || test ! -s conftest.err'
69378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69379   (eval $ac_try) 2>&5
69380   ac_status=$?
69381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69382   (exit $ac_status); }; } &&
69383          { ac_try='test -s conftest$ac_exeext'
69384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69385   (eval $ac_try) 2>&5
69386   ac_status=$?
69387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69388   (exit $ac_status); }; }; then
69389   eval "$as_ac_var=yes"
69390 else
69391   echo "$as_me: failed program was:" >&5
69392 sed 's/^/| /' conftest.$ac_ext >&5
69393
69394 eval "$as_ac_var=no"
69395 fi
69396 rm -f conftest.err conftest.$ac_objext \
69397       conftest$ac_exeext conftest.$ac_ext
69398 fi
69399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69401 if test `eval echo '${'$as_ac_var'}'` = yes; then
69402   cat >>confdefs.h <<_ACEOF
69403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69404 _ACEOF
69405
69406 fi
69407 done
69408
69409     fi
69410   fi
69411
69412
69413
69414   echo "$as_me:$LINENO: checking for finitel declaration" >&5
69415 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
69416   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69417     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
69418   echo $ECHO_N "(cached) $ECHO_C" >&6
69419 else
69420
69421
69422
69423       ac_ext=cc
69424 ac_cpp='$CXXCPP $CPPFLAGS'
69425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69428
69429       cat >conftest.$ac_ext <<_ACEOF
69430 /* confdefs.h.  */
69431 _ACEOF
69432 cat confdefs.h >>conftest.$ac_ext
69433 cat >>conftest.$ac_ext <<_ACEOF
69434 /* end confdefs.h.  */
69435 #include <math.h>
69436                       #ifdef HAVE_IEEEFP_H
69437                       #include <ieeefp.h>
69438                       #endif
69439
69440 int
69441 main ()
69442 {
69443  finitel(0);
69444   ;
69445   return 0;
69446 }
69447 _ACEOF
69448 rm -f conftest.$ac_objext
69449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69450   (eval $ac_compile) 2>conftest.er1
69451   ac_status=$?
69452   grep -v '^ *+' conftest.er1 >conftest.err
69453   rm -f conftest.er1
69454   cat conftest.err >&5
69455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69456   (exit $ac_status); } &&
69457          { ac_try='test -z "$ac_cxx_werror_flag"
69458                          || test ! -s conftest.err'
69459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69460   (eval $ac_try) 2>&5
69461   ac_status=$?
69462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69463   (exit $ac_status); }; } &&
69464          { ac_try='test -s conftest.$ac_objext'
69465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69466   (eval $ac_try) 2>&5
69467   ac_status=$?
69468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69469   (exit $ac_status); }; }; then
69470   glibcxx_cv_func_finitel_use=yes
69471 else
69472   echo "$as_me: failed program was:" >&5
69473 sed 's/^/| /' conftest.$ac_ext >&5
69474
69475 glibcxx_cv_func_finitel_use=no
69476 fi
69477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69478       ac_ext=c
69479 ac_cpp='$CPP $CPPFLAGS'
69480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69483
69484
69485 fi
69486
69487   fi
69488   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
69489 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
69490
69491   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
69492
69493 for ac_func in finitel
69494 do
69495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69496 echo "$as_me:$LINENO: checking for $ac_func" >&5
69497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69498 if eval "test \"\${$as_ac_var+set}\" = set"; then
69499   echo $ECHO_N "(cached) $ECHO_C" >&6
69500 else
69501   if test x$gcc_no_link = xyes; then
69502   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69504    { (exit 1); exit 1; }; }
69505 fi
69506 cat >conftest.$ac_ext <<_ACEOF
69507 /* confdefs.h.  */
69508 _ACEOF
69509 cat confdefs.h >>conftest.$ac_ext
69510 cat >>conftest.$ac_ext <<_ACEOF
69511 /* end confdefs.h.  */
69512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69513    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69514 #define $ac_func innocuous_$ac_func
69515
69516 /* System header to define __stub macros and hopefully few prototypes,
69517     which can conflict with char $ac_func (); below.
69518     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69519     <limits.h> exists even on freestanding compilers.  */
69520
69521 #ifdef __STDC__
69522 # include <limits.h>
69523 #else
69524 # include <assert.h>
69525 #endif
69526
69527 #undef $ac_func
69528
69529 /* Override any gcc2 internal prototype to avoid an error.  */
69530 #ifdef __cplusplus
69531 extern "C"
69532 {
69533 #endif
69534 /* We use char because int might match the return type of a gcc2
69535    builtin and then its argument prototype would still apply.  */
69536 char $ac_func ();
69537 /* The GNU C library defines this for functions which it implements
69538     to always fail with ENOSYS.  Some functions are actually named
69539     something starting with __ and the normal name is an alias.  */
69540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69541 choke me
69542 #else
69543 char (*f) () = $ac_func;
69544 #endif
69545 #ifdef __cplusplus
69546 }
69547 #endif
69548
69549 int
69550 main ()
69551 {
69552 return f != $ac_func;
69553   ;
69554   return 0;
69555 }
69556 _ACEOF
69557 rm -f conftest.$ac_objext conftest$ac_exeext
69558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69559   (eval $ac_link) 2>conftest.er1
69560   ac_status=$?
69561   grep -v '^ *+' conftest.er1 >conftest.err
69562   rm -f conftest.er1
69563   cat conftest.err >&5
69564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69565   (exit $ac_status); } &&
69566          { ac_try='test -z "$ac_c_werror_flag"
69567                          || test ! -s conftest.err'
69568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69569   (eval $ac_try) 2>&5
69570   ac_status=$?
69571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69572   (exit $ac_status); }; } &&
69573          { ac_try='test -s conftest$ac_exeext'
69574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69575   (eval $ac_try) 2>&5
69576   ac_status=$?
69577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69578   (exit $ac_status); }; }; then
69579   eval "$as_ac_var=yes"
69580 else
69581   echo "$as_me: failed program was:" >&5
69582 sed 's/^/| /' conftest.$ac_ext >&5
69583
69584 eval "$as_ac_var=no"
69585 fi
69586 rm -f conftest.err conftest.$ac_objext \
69587       conftest$ac_exeext conftest.$ac_ext
69588 fi
69589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69591 if test `eval echo '${'$as_ac_var'}'` = yes; then
69592   cat >>confdefs.h <<_ACEOF
69593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69594 _ACEOF
69595
69596 fi
69597 done
69598
69599   else
69600
69601   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
69602 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
69603   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
69604     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
69605   echo $ECHO_N "(cached) $ECHO_C" >&6
69606 else
69607
69608
69609
69610       ac_ext=cc
69611 ac_cpp='$CXXCPP $CPPFLAGS'
69612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69615
69616       cat >conftest.$ac_ext <<_ACEOF
69617 /* confdefs.h.  */
69618 _ACEOF
69619 cat confdefs.h >>conftest.$ac_ext
69620 cat >>conftest.$ac_ext <<_ACEOF
69621 /* end confdefs.h.  */
69622 #include <math.h>
69623                       #ifdef HAVE_IEEEFP_H
69624                       #include <ieeefp.h>
69625                       #endif
69626
69627 int
69628 main ()
69629 {
69630  _finitel(0);
69631   ;
69632   return 0;
69633 }
69634 _ACEOF
69635 rm -f conftest.$ac_objext
69636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69637   (eval $ac_compile) 2>conftest.er1
69638   ac_status=$?
69639   grep -v '^ *+' conftest.er1 >conftest.err
69640   rm -f conftest.er1
69641   cat conftest.err >&5
69642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69643   (exit $ac_status); } &&
69644          { ac_try='test -z "$ac_cxx_werror_flag"
69645                          || test ! -s conftest.err'
69646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69647   (eval $ac_try) 2>&5
69648   ac_status=$?
69649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69650   (exit $ac_status); }; } &&
69651          { ac_try='test -s conftest.$ac_objext'
69652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69653   (eval $ac_try) 2>&5
69654   ac_status=$?
69655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69656   (exit $ac_status); }; }; then
69657   glibcxx_cv_func__finitel_use=yes
69658 else
69659   echo "$as_me: failed program was:" >&5
69660 sed 's/^/| /' conftest.$ac_ext >&5
69661
69662 glibcxx_cv_func__finitel_use=no
69663 fi
69664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69665       ac_ext=c
69666 ac_cpp='$CPP $CPPFLAGS'
69667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69670
69671
69672 fi
69673
69674   fi
69675   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
69676 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
69677
69678     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
69679
69680 for ac_func in _finitel
69681 do
69682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69683 echo "$as_me:$LINENO: checking for $ac_func" >&5
69684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69685 if eval "test \"\${$as_ac_var+set}\" = set"; then
69686   echo $ECHO_N "(cached) $ECHO_C" >&6
69687 else
69688   if test x$gcc_no_link = xyes; then
69689   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69691    { (exit 1); exit 1; }; }
69692 fi
69693 cat >conftest.$ac_ext <<_ACEOF
69694 /* confdefs.h.  */
69695 _ACEOF
69696 cat confdefs.h >>conftest.$ac_ext
69697 cat >>conftest.$ac_ext <<_ACEOF
69698 /* end confdefs.h.  */
69699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69700    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69701 #define $ac_func innocuous_$ac_func
69702
69703 /* System header to define __stub macros and hopefully few prototypes,
69704     which can conflict with char $ac_func (); below.
69705     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69706     <limits.h> exists even on freestanding compilers.  */
69707
69708 #ifdef __STDC__
69709 # include <limits.h>
69710 #else
69711 # include <assert.h>
69712 #endif
69713
69714 #undef $ac_func
69715
69716 /* Override any gcc2 internal prototype to avoid an error.  */
69717 #ifdef __cplusplus
69718 extern "C"
69719 {
69720 #endif
69721 /* We use char because int might match the return type of a gcc2
69722    builtin and then its argument prototype would still apply.  */
69723 char $ac_func ();
69724 /* The GNU C library defines this for functions which it implements
69725     to always fail with ENOSYS.  Some functions are actually named
69726     something starting with __ and the normal name is an alias.  */
69727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69728 choke me
69729 #else
69730 char (*f) () = $ac_func;
69731 #endif
69732 #ifdef __cplusplus
69733 }
69734 #endif
69735
69736 int
69737 main ()
69738 {
69739 return f != $ac_func;
69740   ;
69741   return 0;
69742 }
69743 _ACEOF
69744 rm -f conftest.$ac_objext conftest$ac_exeext
69745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69746   (eval $ac_link) 2>conftest.er1
69747   ac_status=$?
69748   grep -v '^ *+' conftest.er1 >conftest.err
69749   rm -f conftest.er1
69750   cat conftest.err >&5
69751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69752   (exit $ac_status); } &&
69753          { ac_try='test -z "$ac_c_werror_flag"
69754                          || test ! -s conftest.err'
69755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69756   (eval $ac_try) 2>&5
69757   ac_status=$?
69758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69759   (exit $ac_status); }; } &&
69760          { ac_try='test -s conftest$ac_exeext'
69761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69762   (eval $ac_try) 2>&5
69763   ac_status=$?
69764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69765   (exit $ac_status); }; }; then
69766   eval "$as_ac_var=yes"
69767 else
69768   echo "$as_me: failed program was:" >&5
69769 sed 's/^/| /' conftest.$ac_ext >&5
69770
69771 eval "$as_ac_var=no"
69772 fi
69773 rm -f conftest.err conftest.$ac_objext \
69774       conftest$ac_exeext conftest.$ac_ext
69775 fi
69776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69778 if test `eval echo '${'$as_ac_var'}'` = yes; then
69779   cat >>confdefs.h <<_ACEOF
69780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69781 _ACEOF
69782
69783 fi
69784 done
69785
69786     fi
69787   fi
69788
69789
69790
69791
69792   echo "$as_me:$LINENO: checking for _float trig functions" >&5
69793 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
69794   if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
69795   echo $ECHO_N "(cached) $ECHO_C" >&6
69796 else
69797
69798
69799
69800     ac_ext=cc
69801 ac_cpp='$CXXCPP $CPPFLAGS'
69802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69805
69806     cat >conftest.$ac_ext <<_ACEOF
69807 /* confdefs.h.  */
69808 _ACEOF
69809 cat confdefs.h >>conftest.$ac_ext
69810 cat >>conftest.$ac_ext <<_ACEOF
69811 /* end confdefs.h.  */
69812 #include <math.h>
69813 int
69814 main ()
69815 {
69816  `for x in _acosf _asinf _atanf \
69817                                           _cosf _sinf _tanf \
69818                                           _coshf _sinhf _tanhf; do echo "$x (0);"; done`
69819   ;
69820   return 0;
69821 }
69822 _ACEOF
69823 rm -f conftest.$ac_objext
69824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69825   (eval $ac_compile) 2>conftest.er1
69826   ac_status=$?
69827   grep -v '^ *+' conftest.er1 >conftest.err
69828   rm -f conftest.er1
69829   cat conftest.err >&5
69830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69831   (exit $ac_status); } &&
69832          { ac_try='test -z "$ac_cxx_werror_flag"
69833                          || test ! -s conftest.err'
69834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69835   (eval $ac_try) 2>&5
69836   ac_status=$?
69837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69838   (exit $ac_status); }; } &&
69839          { ac_try='test -s conftest.$ac_objext'
69840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69841   (eval $ac_try) 2>&5
69842   ac_status=$?
69843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69844   (exit $ac_status); }; }; then
69845   glibcxx_cv_func__float_trig_use=yes
69846 else
69847   echo "$as_me: failed program was:" >&5
69848 sed 's/^/| /' conftest.$ac_ext >&5
69849
69850 glibcxx_cv_func__float_trig_use=no
69851 fi
69852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69853     ac_ext=c
69854 ac_cpp='$CPP $CPPFLAGS'
69855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69858
69859 fi
69860
69861   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
69862 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
69863   if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
69864
69865
69866
69867
69868
69869
69870
69871
69872
69873 for ac_func in _acosf _asinf _atanf \
69874                                           _cosf _sinf _tanf \
69875                                           _coshf _sinhf _tanhf
69876 do
69877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69878 echo "$as_me:$LINENO: checking for $ac_func" >&5
69879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69880 if eval "test \"\${$as_ac_var+set}\" = set"; then
69881   echo $ECHO_N "(cached) $ECHO_C" >&6
69882 else
69883   if test x$gcc_no_link = xyes; then
69884   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69886    { (exit 1); exit 1; }; }
69887 fi
69888 cat >conftest.$ac_ext <<_ACEOF
69889 /* confdefs.h.  */
69890 _ACEOF
69891 cat confdefs.h >>conftest.$ac_ext
69892 cat >>conftest.$ac_ext <<_ACEOF
69893 /* end confdefs.h.  */
69894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69895    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69896 #define $ac_func innocuous_$ac_func
69897
69898 /* System header to define __stub macros and hopefully few prototypes,
69899     which can conflict with char $ac_func (); below.
69900     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69901     <limits.h> exists even on freestanding compilers.  */
69902
69903 #ifdef __STDC__
69904 # include <limits.h>
69905 #else
69906 # include <assert.h>
69907 #endif
69908
69909 #undef $ac_func
69910
69911 /* Override any gcc2 internal prototype to avoid an error.  */
69912 #ifdef __cplusplus
69913 extern "C"
69914 {
69915 #endif
69916 /* We use char because int might match the return type of a gcc2
69917    builtin and then its argument prototype would still apply.  */
69918 char $ac_func ();
69919 /* The GNU C library defines this for functions which it implements
69920     to always fail with ENOSYS.  Some functions are actually named
69921     something starting with __ and the normal name is an alias.  */
69922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69923 choke me
69924 #else
69925 char (*f) () = $ac_func;
69926 #endif
69927 #ifdef __cplusplus
69928 }
69929 #endif
69930
69931 int
69932 main ()
69933 {
69934 return f != $ac_func;
69935   ;
69936   return 0;
69937 }
69938 _ACEOF
69939 rm -f conftest.$ac_objext conftest$ac_exeext
69940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69941   (eval $ac_link) 2>conftest.er1
69942   ac_status=$?
69943   grep -v '^ *+' conftest.er1 >conftest.err
69944   rm -f conftest.er1
69945   cat conftest.err >&5
69946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69947   (exit $ac_status); } &&
69948          { ac_try='test -z "$ac_c_werror_flag"
69949                          || test ! -s conftest.err'
69950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69951   (eval $ac_try) 2>&5
69952   ac_status=$?
69953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69954   (exit $ac_status); }; } &&
69955          { ac_try='test -s conftest$ac_exeext'
69956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69957   (eval $ac_try) 2>&5
69958   ac_status=$?
69959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69960   (exit $ac_status); }; }; then
69961   eval "$as_ac_var=yes"
69962 else
69963   echo "$as_me: failed program was:" >&5
69964 sed 's/^/| /' conftest.$ac_ext >&5
69965
69966 eval "$as_ac_var=no"
69967 fi
69968 rm -f conftest.err conftest.$ac_objext \
69969       conftest$ac_exeext conftest.$ac_ext
69970 fi
69971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69973 if test `eval echo '${'$as_ac_var'}'` = yes; then
69974   cat >>confdefs.h <<_ACEOF
69975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69976 _ACEOF
69977
69978 fi
69979 done
69980
69981   fi
69982
69983
69984   echo "$as_me:$LINENO: checking for _float round functions" >&5
69985 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
69986   if test "${glibcxx_cv_func__float_round_use+set}" = set; then
69987   echo $ECHO_N "(cached) $ECHO_C" >&6
69988 else
69989
69990
69991
69992     ac_ext=cc
69993 ac_cpp='$CXXCPP $CPPFLAGS'
69994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69997
69998     cat >conftest.$ac_ext <<_ACEOF
69999 /* confdefs.h.  */
70000 _ACEOF
70001 cat confdefs.h >>conftest.$ac_ext
70002 cat >>conftest.$ac_ext <<_ACEOF
70003 /* end confdefs.h.  */
70004 #include <math.h>
70005 int
70006 main ()
70007 {
70008  `for x in _ceilf _floorf; do echo "$x (0);"; done`
70009   ;
70010   return 0;
70011 }
70012 _ACEOF
70013 rm -f conftest.$ac_objext
70014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70015   (eval $ac_compile) 2>conftest.er1
70016   ac_status=$?
70017   grep -v '^ *+' conftest.er1 >conftest.err
70018   rm -f conftest.er1
70019   cat conftest.err >&5
70020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70021   (exit $ac_status); } &&
70022          { ac_try='test -z "$ac_cxx_werror_flag"
70023                          || test ! -s conftest.err'
70024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70025   (eval $ac_try) 2>&5
70026   ac_status=$?
70027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70028   (exit $ac_status); }; } &&
70029          { ac_try='test -s conftest.$ac_objext'
70030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70031   (eval $ac_try) 2>&5
70032   ac_status=$?
70033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70034   (exit $ac_status); }; }; then
70035   glibcxx_cv_func__float_round_use=yes
70036 else
70037   echo "$as_me: failed program was:" >&5
70038 sed 's/^/| /' conftest.$ac_ext >&5
70039
70040 glibcxx_cv_func__float_round_use=no
70041 fi
70042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70043     ac_ext=c
70044 ac_cpp='$CPP $CPPFLAGS'
70045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70048
70049 fi
70050
70051   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
70052 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
70053   if test x$glibcxx_cv_func__float_round_use = x"yes"; then
70054
70055
70056 for ac_func in _ceilf _floorf
70057 do
70058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70059 echo "$as_me:$LINENO: checking for $ac_func" >&5
70060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70061 if eval "test \"\${$as_ac_var+set}\" = set"; then
70062   echo $ECHO_N "(cached) $ECHO_C" >&6
70063 else
70064   if test x$gcc_no_link = xyes; then
70065   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70067    { (exit 1); exit 1; }; }
70068 fi
70069 cat >conftest.$ac_ext <<_ACEOF
70070 /* confdefs.h.  */
70071 _ACEOF
70072 cat confdefs.h >>conftest.$ac_ext
70073 cat >>conftest.$ac_ext <<_ACEOF
70074 /* end confdefs.h.  */
70075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70076    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70077 #define $ac_func innocuous_$ac_func
70078
70079 /* System header to define __stub macros and hopefully few prototypes,
70080     which can conflict with char $ac_func (); below.
70081     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70082     <limits.h> exists even on freestanding compilers.  */
70083
70084 #ifdef __STDC__
70085 # include <limits.h>
70086 #else
70087 # include <assert.h>
70088 #endif
70089
70090 #undef $ac_func
70091
70092 /* Override any gcc2 internal prototype to avoid an error.  */
70093 #ifdef __cplusplus
70094 extern "C"
70095 {
70096 #endif
70097 /* We use char because int might match the return type of a gcc2
70098    builtin and then its argument prototype would still apply.  */
70099 char $ac_func ();
70100 /* The GNU C library defines this for functions which it implements
70101     to always fail with ENOSYS.  Some functions are actually named
70102     something starting with __ and the normal name is an alias.  */
70103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70104 choke me
70105 #else
70106 char (*f) () = $ac_func;
70107 #endif
70108 #ifdef __cplusplus
70109 }
70110 #endif
70111
70112 int
70113 main ()
70114 {
70115 return f != $ac_func;
70116   ;
70117   return 0;
70118 }
70119 _ACEOF
70120 rm -f conftest.$ac_objext conftest$ac_exeext
70121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70122   (eval $ac_link) 2>conftest.er1
70123   ac_status=$?
70124   grep -v '^ *+' conftest.er1 >conftest.err
70125   rm -f conftest.er1
70126   cat conftest.err >&5
70127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70128   (exit $ac_status); } &&
70129          { ac_try='test -z "$ac_c_werror_flag"
70130                          || test ! -s conftest.err'
70131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70132   (eval $ac_try) 2>&5
70133   ac_status=$?
70134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70135   (exit $ac_status); }; } &&
70136          { ac_try='test -s conftest$ac_exeext'
70137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70138   (eval $ac_try) 2>&5
70139   ac_status=$?
70140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70141   (exit $ac_status); }; }; then
70142   eval "$as_ac_var=yes"
70143 else
70144   echo "$as_me: failed program was:" >&5
70145 sed 's/^/| /' conftest.$ac_ext >&5
70146
70147 eval "$as_ac_var=no"
70148 fi
70149 rm -f conftest.err conftest.$ac_objext \
70150       conftest$ac_exeext conftest.$ac_ext
70151 fi
70152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70154 if test `eval echo '${'$as_ac_var'}'` = yes; then
70155   cat >>confdefs.h <<_ACEOF
70156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70157 _ACEOF
70158
70159 fi
70160 done
70161
70162   fi
70163
70164
70165
70166   echo "$as_me:$LINENO: checking for _long double trig functions" >&5
70167 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
70168   if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
70169   echo $ECHO_N "(cached) $ECHO_C" >&6
70170 else
70171
70172
70173
70174     ac_ext=cc
70175 ac_cpp='$CXXCPP $CPPFLAGS'
70176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70179
70180     cat >conftest.$ac_ext <<_ACEOF
70181 /* confdefs.h.  */
70182 _ACEOF
70183 cat confdefs.h >>conftest.$ac_ext
70184 cat >>conftest.$ac_ext <<_ACEOF
70185 /* end confdefs.h.  */
70186 #include <math.h>
70187 int
70188 main ()
70189 {
70190  `for x in _acosl _asinl _atanl \
70191                                           _cosl _sinl _tanl \
70192                                           _coshl _sinhl _tanhl; do echo "$x (0);"; done`
70193   ;
70194   return 0;
70195 }
70196 _ACEOF
70197 rm -f conftest.$ac_objext
70198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70199   (eval $ac_compile) 2>conftest.er1
70200   ac_status=$?
70201   grep -v '^ *+' conftest.er1 >conftest.err
70202   rm -f conftest.er1
70203   cat conftest.err >&5
70204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70205   (exit $ac_status); } &&
70206          { ac_try='test -z "$ac_cxx_werror_flag"
70207                          || test ! -s conftest.err'
70208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70209   (eval $ac_try) 2>&5
70210   ac_status=$?
70211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70212   (exit $ac_status); }; } &&
70213          { ac_try='test -s conftest.$ac_objext'
70214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70215   (eval $ac_try) 2>&5
70216   ac_status=$?
70217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70218   (exit $ac_status); }; }; then
70219   glibcxx_cv_func__long_double_trig_use=yes
70220 else
70221   echo "$as_me: failed program was:" >&5
70222 sed 's/^/| /' conftest.$ac_ext >&5
70223
70224 glibcxx_cv_func__long_double_trig_use=no
70225 fi
70226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70227     ac_ext=c
70228 ac_cpp='$CPP $CPPFLAGS'
70229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70232
70233 fi
70234
70235   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
70236 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
70237   if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70238
70239
70240
70241
70242
70243
70244
70245
70246
70247 for ac_func in _acosl _asinl _atanl \
70248                                           _cosl _sinl _tanl \
70249                                           _coshl _sinhl _tanhl
70250 do
70251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70252 echo "$as_me:$LINENO: checking for $ac_func" >&5
70253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70254 if eval "test \"\${$as_ac_var+set}\" = set"; then
70255   echo $ECHO_N "(cached) $ECHO_C" >&6
70256 else
70257   if test x$gcc_no_link = xyes; then
70258   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70260    { (exit 1); exit 1; }; }
70261 fi
70262 cat >conftest.$ac_ext <<_ACEOF
70263 /* confdefs.h.  */
70264 _ACEOF
70265 cat confdefs.h >>conftest.$ac_ext
70266 cat >>conftest.$ac_ext <<_ACEOF
70267 /* end confdefs.h.  */
70268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70269    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70270 #define $ac_func innocuous_$ac_func
70271
70272 /* System header to define __stub macros and hopefully few prototypes,
70273     which can conflict with char $ac_func (); below.
70274     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70275     <limits.h> exists even on freestanding compilers.  */
70276
70277 #ifdef __STDC__
70278 # include <limits.h>
70279 #else
70280 # include <assert.h>
70281 #endif
70282
70283 #undef $ac_func
70284
70285 /* Override any gcc2 internal prototype to avoid an error.  */
70286 #ifdef __cplusplus
70287 extern "C"
70288 {
70289 #endif
70290 /* We use char because int might match the return type of a gcc2
70291    builtin and then its argument prototype would still apply.  */
70292 char $ac_func ();
70293 /* The GNU C library defines this for functions which it implements
70294     to always fail with ENOSYS.  Some functions are actually named
70295     something starting with __ and the normal name is an alias.  */
70296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70297 choke me
70298 #else
70299 char (*f) () = $ac_func;
70300 #endif
70301 #ifdef __cplusplus
70302 }
70303 #endif
70304
70305 int
70306 main ()
70307 {
70308 return f != $ac_func;
70309   ;
70310   return 0;
70311 }
70312 _ACEOF
70313 rm -f conftest.$ac_objext conftest$ac_exeext
70314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70315   (eval $ac_link) 2>conftest.er1
70316   ac_status=$?
70317   grep -v '^ *+' conftest.er1 >conftest.err
70318   rm -f conftest.er1
70319   cat conftest.err >&5
70320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70321   (exit $ac_status); } &&
70322          { ac_try='test -z "$ac_c_werror_flag"
70323                          || test ! -s conftest.err'
70324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70325   (eval $ac_try) 2>&5
70326   ac_status=$?
70327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70328   (exit $ac_status); }; } &&
70329          { ac_try='test -s conftest$ac_exeext'
70330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70331   (eval $ac_try) 2>&5
70332   ac_status=$?
70333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70334   (exit $ac_status); }; }; then
70335   eval "$as_ac_var=yes"
70336 else
70337   echo "$as_me: failed program was:" >&5
70338 sed 's/^/| /' conftest.$ac_ext >&5
70339
70340 eval "$as_ac_var=no"
70341 fi
70342 rm -f conftest.err conftest.$ac_objext \
70343       conftest$ac_exeext conftest.$ac_ext
70344 fi
70345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70347 if test `eval echo '${'$as_ac_var'}'` = yes; then
70348   cat >>confdefs.h <<_ACEOF
70349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70350 _ACEOF
70351
70352 fi
70353 done
70354
70355   fi
70356
70357
70358   echo "$as_me:$LINENO: checking for _long double round functions" >&5
70359 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
70360   if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
70361   echo $ECHO_N "(cached) $ECHO_C" >&6
70362 else
70363
70364
70365
70366     ac_ext=cc
70367 ac_cpp='$CXXCPP $CPPFLAGS'
70368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70371
70372     cat >conftest.$ac_ext <<_ACEOF
70373 /* confdefs.h.  */
70374 _ACEOF
70375 cat confdefs.h >>conftest.$ac_ext
70376 cat >>conftest.$ac_ext <<_ACEOF
70377 /* end confdefs.h.  */
70378 #include <math.h>
70379 int
70380 main ()
70381 {
70382  `for x in _ceill _floorl; do echo "$x (0);"; done`
70383   ;
70384   return 0;
70385 }
70386 _ACEOF
70387 rm -f conftest.$ac_objext
70388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70389   (eval $ac_compile) 2>conftest.er1
70390   ac_status=$?
70391   grep -v '^ *+' conftest.er1 >conftest.err
70392   rm -f conftest.er1
70393   cat conftest.err >&5
70394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70395   (exit $ac_status); } &&
70396          { ac_try='test -z "$ac_cxx_werror_flag"
70397                          || test ! -s conftest.err'
70398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70399   (eval $ac_try) 2>&5
70400   ac_status=$?
70401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70402   (exit $ac_status); }; } &&
70403          { ac_try='test -s conftest.$ac_objext'
70404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70405   (eval $ac_try) 2>&5
70406   ac_status=$?
70407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70408   (exit $ac_status); }; }; then
70409   glibcxx_cv_func__long_double_round_use=yes
70410 else
70411   echo "$as_me: failed program was:" >&5
70412 sed 's/^/| /' conftest.$ac_ext >&5
70413
70414 glibcxx_cv_func__long_double_round_use=no
70415 fi
70416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70417     ac_ext=c
70418 ac_cpp='$CPP $CPPFLAGS'
70419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70422
70423 fi
70424
70425   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
70426 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
70427   if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70428
70429
70430 for ac_func in _ceill _floorl
70431 do
70432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70433 echo "$as_me:$LINENO: checking for $ac_func" >&5
70434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70435 if eval "test \"\${$as_ac_var+set}\" = set"; then
70436   echo $ECHO_N "(cached) $ECHO_C" >&6
70437 else
70438   if test x$gcc_no_link = xyes; then
70439   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70441    { (exit 1); exit 1; }; }
70442 fi
70443 cat >conftest.$ac_ext <<_ACEOF
70444 /* confdefs.h.  */
70445 _ACEOF
70446 cat confdefs.h >>conftest.$ac_ext
70447 cat >>conftest.$ac_ext <<_ACEOF
70448 /* end confdefs.h.  */
70449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70450    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70451 #define $ac_func innocuous_$ac_func
70452
70453 /* System header to define __stub macros and hopefully few prototypes,
70454     which can conflict with char $ac_func (); below.
70455     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70456     <limits.h> exists even on freestanding compilers.  */
70457
70458 #ifdef __STDC__
70459 # include <limits.h>
70460 #else
70461 # include <assert.h>
70462 #endif
70463
70464 #undef $ac_func
70465
70466 /* Override any gcc2 internal prototype to avoid an error.  */
70467 #ifdef __cplusplus
70468 extern "C"
70469 {
70470 #endif
70471 /* We use char because int might match the return type of a gcc2
70472    builtin and then its argument prototype would still apply.  */
70473 char $ac_func ();
70474 /* The GNU C library defines this for functions which it implements
70475     to always fail with ENOSYS.  Some functions are actually named
70476     something starting with __ and the normal name is an alias.  */
70477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70478 choke me
70479 #else
70480 char (*f) () = $ac_func;
70481 #endif
70482 #ifdef __cplusplus
70483 }
70484 #endif
70485
70486 int
70487 main ()
70488 {
70489 return f != $ac_func;
70490   ;
70491   return 0;
70492 }
70493 _ACEOF
70494 rm -f conftest.$ac_objext conftest$ac_exeext
70495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70496   (eval $ac_link) 2>conftest.er1
70497   ac_status=$?
70498   grep -v '^ *+' conftest.er1 >conftest.err
70499   rm -f conftest.er1
70500   cat conftest.err >&5
70501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70502   (exit $ac_status); } &&
70503          { ac_try='test -z "$ac_c_werror_flag"
70504                          || test ! -s conftest.err'
70505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70506   (eval $ac_try) 2>&5
70507   ac_status=$?
70508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70509   (exit $ac_status); }; } &&
70510          { ac_try='test -s conftest$ac_exeext'
70511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70512   (eval $ac_try) 2>&5
70513   ac_status=$?
70514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70515   (exit $ac_status); }; }; then
70516   eval "$as_ac_var=yes"
70517 else
70518   echo "$as_me: failed program was:" >&5
70519 sed 's/^/| /' conftest.$ac_ext >&5
70520
70521 eval "$as_ac_var=no"
70522 fi
70523 rm -f conftest.err conftest.$ac_objext \
70524       conftest$ac_exeext conftest.$ac_ext
70525 fi
70526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70528 if test `eval echo '${'$as_ac_var'}'` = yes; then
70529   cat >>confdefs.h <<_ACEOF
70530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70531 _ACEOF
70532
70533 fi
70534 done
70535
70536   fi
70537
70538
70539   LIBS="$ac_save_LIBS"
70540   CXXFLAGS="$ac_save_CXXFLAGS"
70541
70542
70543
70544   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
70545 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
70546   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
70547     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
70548   echo $ECHO_N "(cached) $ECHO_C" >&6
70549 else
70550
70551
70552
70553       ac_ext=cc
70554 ac_cpp='$CXXCPP $CPPFLAGS'
70555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70558
70559       cat >conftest.$ac_ext <<_ACEOF
70560 /* confdefs.h.  */
70561 _ACEOF
70562 cat confdefs.h >>conftest.$ac_ext
70563 cat >>conftest.$ac_ext <<_ACEOF
70564 /* end confdefs.h.  */
70565 #include <math.h>
70566 int
70567 main ()
70568 {
70569  __builtin_abs(0);
70570   ;
70571   return 0;
70572 }
70573 _ACEOF
70574 rm -f conftest.$ac_objext
70575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70576   (eval $ac_compile) 2>conftest.er1
70577   ac_status=$?
70578   grep -v '^ *+' conftest.er1 >conftest.err
70579   rm -f conftest.er1
70580   cat conftest.err >&5
70581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70582   (exit $ac_status); } &&
70583          { ac_try='test -z "$ac_cxx_werror_flag"
70584                          || test ! -s conftest.err'
70585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70586   (eval $ac_try) 2>&5
70587   ac_status=$?
70588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70589   (exit $ac_status); }; } &&
70590          { ac_try='test -s conftest.$ac_objext'
70591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70592   (eval $ac_try) 2>&5
70593   ac_status=$?
70594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70595   (exit $ac_status); }; }; then
70596   glibcxx_cv_func___builtin_abs_use=yes
70597 else
70598   echo "$as_me: failed program was:" >&5
70599 sed 's/^/| /' conftest.$ac_ext >&5
70600
70601 glibcxx_cv_func___builtin_abs_use=no
70602 fi
70603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70604       ac_ext=c
70605 ac_cpp='$CPP $CPPFLAGS'
70606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70609
70610
70611 fi
70612
70613   fi
70614   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
70615 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
70616   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
70617     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
70618 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
70619     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
70620       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
70621   echo $ECHO_N "(cached) $ECHO_C" >&6
70622 else
70623
70624         if test x$gcc_no_link = xyes; then
70625   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70627    { (exit 1); exit 1; }; }
70628 fi
70629 cat >conftest.$ac_ext <<_ACEOF
70630 /* confdefs.h.  */
70631 _ACEOF
70632 cat confdefs.h >>conftest.$ac_ext
70633 cat >>conftest.$ac_ext <<_ACEOF
70634 /* end confdefs.h.  */
70635 #include <math.h>
70636 int
70637 main ()
70638 {
70639  __builtin_abs(0);
70640   ;
70641   return 0;
70642 }
70643 _ACEOF
70644 rm -f conftest.$ac_objext conftest$ac_exeext
70645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70646   (eval $ac_link) 2>conftest.er1
70647   ac_status=$?
70648   grep -v '^ *+' conftest.er1 >conftest.err
70649   rm -f conftest.er1
70650   cat conftest.err >&5
70651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70652   (exit $ac_status); } &&
70653          { ac_try='test -z "$ac_c_werror_flag"
70654                          || test ! -s conftest.err'
70655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70656   (eval $ac_try) 2>&5
70657   ac_status=$?
70658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70659   (exit $ac_status); }; } &&
70660          { ac_try='test -s conftest$ac_exeext'
70661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70662   (eval $ac_try) 2>&5
70663   ac_status=$?
70664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70665   (exit $ac_status); }; }; then
70666   glibcxx_cv_func___builtin_abs_link=yes
70667 else
70668   echo "$as_me: failed program was:" >&5
70669 sed 's/^/| /' conftest.$ac_ext >&5
70670
70671 glibcxx_cv_func___builtin_abs_link=no
70672 fi
70673 rm -f conftest.err conftest.$ac_objext \
70674       conftest$ac_exeext conftest.$ac_ext
70675
70676 fi
70677
70678     fi
70679     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
70680 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
70681     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
70682       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70683
70684 cat >>confdefs.h <<_ACEOF
70685 #define ${ac_tr_func} 1
70686 _ACEOF
70687
70688     fi
70689   fi
70690
70691
70692   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
70693 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
70694   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
70695     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
70696   echo $ECHO_N "(cached) $ECHO_C" >&6
70697 else
70698
70699
70700
70701       ac_ext=cc
70702 ac_cpp='$CXXCPP $CPPFLAGS'
70703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70706
70707       cat >conftest.$ac_ext <<_ACEOF
70708 /* confdefs.h.  */
70709 _ACEOF
70710 cat confdefs.h >>conftest.$ac_ext
70711 cat >>conftest.$ac_ext <<_ACEOF
70712 /* end confdefs.h.  */
70713 #include <math.h>
70714 int
70715 main ()
70716 {
70717  __builtin_fabsf(0);
70718   ;
70719   return 0;
70720 }
70721 _ACEOF
70722 rm -f conftest.$ac_objext
70723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70724   (eval $ac_compile) 2>conftest.er1
70725   ac_status=$?
70726   grep -v '^ *+' conftest.er1 >conftest.err
70727   rm -f conftest.er1
70728   cat conftest.err >&5
70729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70730   (exit $ac_status); } &&
70731          { ac_try='test -z "$ac_cxx_werror_flag"
70732                          || test ! -s conftest.err'
70733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70734   (eval $ac_try) 2>&5
70735   ac_status=$?
70736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70737   (exit $ac_status); }; } &&
70738          { ac_try='test -s conftest.$ac_objext'
70739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70740   (eval $ac_try) 2>&5
70741   ac_status=$?
70742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70743   (exit $ac_status); }; }; then
70744   glibcxx_cv_func___builtin_fabsf_use=yes
70745 else
70746   echo "$as_me: failed program was:" >&5
70747 sed 's/^/| /' conftest.$ac_ext >&5
70748
70749 glibcxx_cv_func___builtin_fabsf_use=no
70750 fi
70751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70752       ac_ext=c
70753 ac_cpp='$CPP $CPPFLAGS'
70754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70757
70758
70759 fi
70760
70761   fi
70762   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
70763 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
70764   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
70765     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
70766 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
70767     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
70768       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
70769   echo $ECHO_N "(cached) $ECHO_C" >&6
70770 else
70771
70772         if test x$gcc_no_link = xyes; then
70773   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70775    { (exit 1); exit 1; }; }
70776 fi
70777 cat >conftest.$ac_ext <<_ACEOF
70778 /* confdefs.h.  */
70779 _ACEOF
70780 cat confdefs.h >>conftest.$ac_ext
70781 cat >>conftest.$ac_ext <<_ACEOF
70782 /* end confdefs.h.  */
70783 #include <math.h>
70784 int
70785 main ()
70786 {
70787  __builtin_fabsf(0);
70788   ;
70789   return 0;
70790 }
70791 _ACEOF
70792 rm -f conftest.$ac_objext conftest$ac_exeext
70793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70794   (eval $ac_link) 2>conftest.er1
70795   ac_status=$?
70796   grep -v '^ *+' conftest.er1 >conftest.err
70797   rm -f conftest.er1
70798   cat conftest.err >&5
70799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70800   (exit $ac_status); } &&
70801          { ac_try='test -z "$ac_c_werror_flag"
70802                          || test ! -s conftest.err'
70803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70804   (eval $ac_try) 2>&5
70805   ac_status=$?
70806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70807   (exit $ac_status); }; } &&
70808          { ac_try='test -s conftest$ac_exeext'
70809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70810   (eval $ac_try) 2>&5
70811   ac_status=$?
70812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70813   (exit $ac_status); }; }; then
70814   glibcxx_cv_func___builtin_fabsf_link=yes
70815 else
70816   echo "$as_me: failed program was:" >&5
70817 sed 's/^/| /' conftest.$ac_ext >&5
70818
70819 glibcxx_cv_func___builtin_fabsf_link=no
70820 fi
70821 rm -f conftest.err conftest.$ac_objext \
70822       conftest$ac_exeext conftest.$ac_ext
70823
70824 fi
70825
70826     fi
70827     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
70828 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
70829     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
70830       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70831
70832 cat >>confdefs.h <<_ACEOF
70833 #define ${ac_tr_func} 1
70834 _ACEOF
70835
70836     fi
70837   fi
70838
70839
70840   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
70841 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
70842   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
70843     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
70844   echo $ECHO_N "(cached) $ECHO_C" >&6
70845 else
70846
70847
70848
70849       ac_ext=cc
70850 ac_cpp='$CXXCPP $CPPFLAGS'
70851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70854
70855       cat >conftest.$ac_ext <<_ACEOF
70856 /* confdefs.h.  */
70857 _ACEOF
70858 cat confdefs.h >>conftest.$ac_ext
70859 cat >>conftest.$ac_ext <<_ACEOF
70860 /* end confdefs.h.  */
70861 #include <math.h>
70862 int
70863 main ()
70864 {
70865  __builtin_fabs(0);
70866   ;
70867   return 0;
70868 }
70869 _ACEOF
70870 rm -f conftest.$ac_objext
70871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70872   (eval $ac_compile) 2>conftest.er1
70873   ac_status=$?
70874   grep -v '^ *+' conftest.er1 >conftest.err
70875   rm -f conftest.er1
70876   cat conftest.err >&5
70877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70878   (exit $ac_status); } &&
70879          { ac_try='test -z "$ac_cxx_werror_flag"
70880                          || test ! -s conftest.err'
70881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70882   (eval $ac_try) 2>&5
70883   ac_status=$?
70884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70885   (exit $ac_status); }; } &&
70886          { ac_try='test -s conftest.$ac_objext'
70887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70888   (eval $ac_try) 2>&5
70889   ac_status=$?
70890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70891   (exit $ac_status); }; }; then
70892   glibcxx_cv_func___builtin_fabs_use=yes
70893 else
70894   echo "$as_me: failed program was:" >&5
70895 sed 's/^/| /' conftest.$ac_ext >&5
70896
70897 glibcxx_cv_func___builtin_fabs_use=no
70898 fi
70899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70900       ac_ext=c
70901 ac_cpp='$CPP $CPPFLAGS'
70902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70905
70906
70907 fi
70908
70909   fi
70910   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
70911 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
70912   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
70913     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
70914 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
70915     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
70916       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
70917   echo $ECHO_N "(cached) $ECHO_C" >&6
70918 else
70919
70920         if test x$gcc_no_link = xyes; then
70921   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70923    { (exit 1); exit 1; }; }
70924 fi
70925 cat >conftest.$ac_ext <<_ACEOF
70926 /* confdefs.h.  */
70927 _ACEOF
70928 cat confdefs.h >>conftest.$ac_ext
70929 cat >>conftest.$ac_ext <<_ACEOF
70930 /* end confdefs.h.  */
70931 #include <math.h>
70932 int
70933 main ()
70934 {
70935  __builtin_fabs(0);
70936   ;
70937   return 0;
70938 }
70939 _ACEOF
70940 rm -f conftest.$ac_objext conftest$ac_exeext
70941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70942   (eval $ac_link) 2>conftest.er1
70943   ac_status=$?
70944   grep -v '^ *+' conftest.er1 >conftest.err
70945   rm -f conftest.er1
70946   cat conftest.err >&5
70947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70948   (exit $ac_status); } &&
70949          { ac_try='test -z "$ac_c_werror_flag"
70950                          || test ! -s conftest.err'
70951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70952   (eval $ac_try) 2>&5
70953   ac_status=$?
70954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70955   (exit $ac_status); }; } &&
70956          { ac_try='test -s conftest$ac_exeext'
70957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70958   (eval $ac_try) 2>&5
70959   ac_status=$?
70960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70961   (exit $ac_status); }; }; then
70962   glibcxx_cv_func___builtin_fabs_link=yes
70963 else
70964   echo "$as_me: failed program was:" >&5
70965 sed 's/^/| /' conftest.$ac_ext >&5
70966
70967 glibcxx_cv_func___builtin_fabs_link=no
70968 fi
70969 rm -f conftest.err conftest.$ac_objext \
70970       conftest$ac_exeext conftest.$ac_ext
70971
70972 fi
70973
70974     fi
70975     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
70976 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
70977     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
70978       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70979
70980 cat >>confdefs.h <<_ACEOF
70981 #define ${ac_tr_func} 1
70982 _ACEOF
70983
70984     fi
70985   fi
70986
70987
70988   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
70989 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
70990   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
70991     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
70992   echo $ECHO_N "(cached) $ECHO_C" >&6
70993 else
70994
70995
70996
70997       ac_ext=cc
70998 ac_cpp='$CXXCPP $CPPFLAGS'
70999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71002
71003       cat >conftest.$ac_ext <<_ACEOF
71004 /* confdefs.h.  */
71005 _ACEOF
71006 cat confdefs.h >>conftest.$ac_ext
71007 cat >>conftest.$ac_ext <<_ACEOF
71008 /* end confdefs.h.  */
71009 #include <math.h>
71010 int
71011 main ()
71012 {
71013  __builtin_fabsl(0);
71014   ;
71015   return 0;
71016 }
71017 _ACEOF
71018 rm -f conftest.$ac_objext
71019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71020   (eval $ac_compile) 2>conftest.er1
71021   ac_status=$?
71022   grep -v '^ *+' conftest.er1 >conftest.err
71023   rm -f conftest.er1
71024   cat conftest.err >&5
71025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71026   (exit $ac_status); } &&
71027          { ac_try='test -z "$ac_cxx_werror_flag"
71028                          || test ! -s conftest.err'
71029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71030   (eval $ac_try) 2>&5
71031   ac_status=$?
71032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71033   (exit $ac_status); }; } &&
71034          { ac_try='test -s conftest.$ac_objext'
71035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71036   (eval $ac_try) 2>&5
71037   ac_status=$?
71038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71039   (exit $ac_status); }; }; then
71040   glibcxx_cv_func___builtin_fabsl_use=yes
71041 else
71042   echo "$as_me: failed program was:" >&5
71043 sed 's/^/| /' conftest.$ac_ext >&5
71044
71045 glibcxx_cv_func___builtin_fabsl_use=no
71046 fi
71047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71048       ac_ext=c
71049 ac_cpp='$CPP $CPPFLAGS'
71050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71053
71054
71055 fi
71056
71057   fi
71058   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
71059 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
71060   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
71061     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
71062 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
71063     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
71064       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
71065   echo $ECHO_N "(cached) $ECHO_C" >&6
71066 else
71067
71068         if test x$gcc_no_link = xyes; then
71069   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71071    { (exit 1); exit 1; }; }
71072 fi
71073 cat >conftest.$ac_ext <<_ACEOF
71074 /* confdefs.h.  */
71075 _ACEOF
71076 cat confdefs.h >>conftest.$ac_ext
71077 cat >>conftest.$ac_ext <<_ACEOF
71078 /* end confdefs.h.  */
71079 #include <math.h>
71080 int
71081 main ()
71082 {
71083  __builtin_fabsl(0);
71084   ;
71085   return 0;
71086 }
71087 _ACEOF
71088 rm -f conftest.$ac_objext conftest$ac_exeext
71089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71090   (eval $ac_link) 2>conftest.er1
71091   ac_status=$?
71092   grep -v '^ *+' conftest.er1 >conftest.err
71093   rm -f conftest.er1
71094   cat conftest.err >&5
71095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71096   (exit $ac_status); } &&
71097          { ac_try='test -z "$ac_c_werror_flag"
71098                          || test ! -s conftest.err'
71099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71100   (eval $ac_try) 2>&5
71101   ac_status=$?
71102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71103   (exit $ac_status); }; } &&
71104          { ac_try='test -s conftest$ac_exeext'
71105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71106   (eval $ac_try) 2>&5
71107   ac_status=$?
71108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71109   (exit $ac_status); }; }; then
71110   glibcxx_cv_func___builtin_fabsl_link=yes
71111 else
71112   echo "$as_me: failed program was:" >&5
71113 sed 's/^/| /' conftest.$ac_ext >&5
71114
71115 glibcxx_cv_func___builtin_fabsl_link=no
71116 fi
71117 rm -f conftest.err conftest.$ac_objext \
71118       conftest$ac_exeext conftest.$ac_ext
71119
71120 fi
71121
71122     fi
71123     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
71124 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
71125     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
71126       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71127
71128 cat >>confdefs.h <<_ACEOF
71129 #define ${ac_tr_func} 1
71130 _ACEOF
71131
71132     fi
71133   fi
71134
71135
71136   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
71137 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
71138   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
71139     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
71140   echo $ECHO_N "(cached) $ECHO_C" >&6
71141 else
71142
71143
71144
71145       ac_ext=cc
71146 ac_cpp='$CXXCPP $CPPFLAGS'
71147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71150
71151       cat >conftest.$ac_ext <<_ACEOF
71152 /* confdefs.h.  */
71153 _ACEOF
71154 cat confdefs.h >>conftest.$ac_ext
71155 cat >>conftest.$ac_ext <<_ACEOF
71156 /* end confdefs.h.  */
71157 #include <math.h>
71158 int
71159 main ()
71160 {
71161  __builtin_labs(0);
71162   ;
71163   return 0;
71164 }
71165 _ACEOF
71166 rm -f conftest.$ac_objext
71167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71168   (eval $ac_compile) 2>conftest.er1
71169   ac_status=$?
71170   grep -v '^ *+' conftest.er1 >conftest.err
71171   rm -f conftest.er1
71172   cat conftest.err >&5
71173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71174   (exit $ac_status); } &&
71175          { ac_try='test -z "$ac_cxx_werror_flag"
71176                          || test ! -s conftest.err'
71177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71178   (eval $ac_try) 2>&5
71179   ac_status=$?
71180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71181   (exit $ac_status); }; } &&
71182          { ac_try='test -s conftest.$ac_objext'
71183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71184   (eval $ac_try) 2>&5
71185   ac_status=$?
71186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71187   (exit $ac_status); }; }; then
71188   glibcxx_cv_func___builtin_labs_use=yes
71189 else
71190   echo "$as_me: failed program was:" >&5
71191 sed 's/^/| /' conftest.$ac_ext >&5
71192
71193 glibcxx_cv_func___builtin_labs_use=no
71194 fi
71195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71196       ac_ext=c
71197 ac_cpp='$CPP $CPPFLAGS'
71198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71201
71202
71203 fi
71204
71205   fi
71206   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
71207 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
71208   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
71209     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
71210 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
71211     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
71212       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
71213   echo $ECHO_N "(cached) $ECHO_C" >&6
71214 else
71215
71216         if test x$gcc_no_link = xyes; then
71217   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71219    { (exit 1); exit 1; }; }
71220 fi
71221 cat >conftest.$ac_ext <<_ACEOF
71222 /* confdefs.h.  */
71223 _ACEOF
71224 cat confdefs.h >>conftest.$ac_ext
71225 cat >>conftest.$ac_ext <<_ACEOF
71226 /* end confdefs.h.  */
71227 #include <math.h>
71228 int
71229 main ()
71230 {
71231  __builtin_labs(0);
71232   ;
71233   return 0;
71234 }
71235 _ACEOF
71236 rm -f conftest.$ac_objext conftest$ac_exeext
71237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71238   (eval $ac_link) 2>conftest.er1
71239   ac_status=$?
71240   grep -v '^ *+' conftest.er1 >conftest.err
71241   rm -f conftest.er1
71242   cat conftest.err >&5
71243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71244   (exit $ac_status); } &&
71245          { ac_try='test -z "$ac_c_werror_flag"
71246                          || test ! -s conftest.err'
71247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71248   (eval $ac_try) 2>&5
71249   ac_status=$?
71250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71251   (exit $ac_status); }; } &&
71252          { ac_try='test -s conftest$ac_exeext'
71253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71254   (eval $ac_try) 2>&5
71255   ac_status=$?
71256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71257   (exit $ac_status); }; }; then
71258   glibcxx_cv_func___builtin_labs_link=yes
71259 else
71260   echo "$as_me: failed program was:" >&5
71261 sed 's/^/| /' conftest.$ac_ext >&5
71262
71263 glibcxx_cv_func___builtin_labs_link=no
71264 fi
71265 rm -f conftest.err conftest.$ac_objext \
71266       conftest$ac_exeext conftest.$ac_ext
71267
71268 fi
71269
71270     fi
71271     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
71272 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
71273     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
71274       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71275
71276 cat >>confdefs.h <<_ACEOF
71277 #define ${ac_tr_func} 1
71278 _ACEOF
71279
71280     fi
71281   fi
71282
71283
71284
71285   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
71286 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
71287   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
71288     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
71289   echo $ECHO_N "(cached) $ECHO_C" >&6
71290 else
71291
71292
71293
71294       ac_ext=cc
71295 ac_cpp='$CXXCPP $CPPFLAGS'
71296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71299
71300       cat >conftest.$ac_ext <<_ACEOF
71301 /* confdefs.h.  */
71302 _ACEOF
71303 cat confdefs.h >>conftest.$ac_ext
71304 cat >>conftest.$ac_ext <<_ACEOF
71305 /* end confdefs.h.  */
71306 #include <math.h>
71307 int
71308 main ()
71309 {
71310  __builtin_sqrtf(0);
71311   ;
71312   return 0;
71313 }
71314 _ACEOF
71315 rm -f conftest.$ac_objext
71316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71317   (eval $ac_compile) 2>conftest.er1
71318   ac_status=$?
71319   grep -v '^ *+' conftest.er1 >conftest.err
71320   rm -f conftest.er1
71321   cat conftest.err >&5
71322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71323   (exit $ac_status); } &&
71324          { ac_try='test -z "$ac_cxx_werror_flag"
71325                          || test ! -s conftest.err'
71326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71327   (eval $ac_try) 2>&5
71328   ac_status=$?
71329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71330   (exit $ac_status); }; } &&
71331          { ac_try='test -s conftest.$ac_objext'
71332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71333   (eval $ac_try) 2>&5
71334   ac_status=$?
71335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71336   (exit $ac_status); }; }; then
71337   glibcxx_cv_func___builtin_sqrtf_use=yes
71338 else
71339   echo "$as_me: failed program was:" >&5
71340 sed 's/^/| /' conftest.$ac_ext >&5
71341
71342 glibcxx_cv_func___builtin_sqrtf_use=no
71343 fi
71344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71345       ac_ext=c
71346 ac_cpp='$CPP $CPPFLAGS'
71347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71350
71351
71352 fi
71353
71354   fi
71355   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
71356 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
71357   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
71358     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
71359 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
71360     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
71361       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
71362   echo $ECHO_N "(cached) $ECHO_C" >&6
71363 else
71364
71365         if test x$gcc_no_link = xyes; then
71366   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71368    { (exit 1); exit 1; }; }
71369 fi
71370 cat >conftest.$ac_ext <<_ACEOF
71371 /* confdefs.h.  */
71372 _ACEOF
71373 cat confdefs.h >>conftest.$ac_ext
71374 cat >>conftest.$ac_ext <<_ACEOF
71375 /* end confdefs.h.  */
71376 #include <math.h>
71377 int
71378 main ()
71379 {
71380  __builtin_sqrtf(0);
71381   ;
71382   return 0;
71383 }
71384 _ACEOF
71385 rm -f conftest.$ac_objext conftest$ac_exeext
71386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71387   (eval $ac_link) 2>conftest.er1
71388   ac_status=$?
71389   grep -v '^ *+' conftest.er1 >conftest.err
71390   rm -f conftest.er1
71391   cat conftest.err >&5
71392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71393   (exit $ac_status); } &&
71394          { ac_try='test -z "$ac_c_werror_flag"
71395                          || test ! -s conftest.err'
71396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71397   (eval $ac_try) 2>&5
71398   ac_status=$?
71399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71400   (exit $ac_status); }; } &&
71401          { ac_try='test -s conftest$ac_exeext'
71402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71403   (eval $ac_try) 2>&5
71404   ac_status=$?
71405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71406   (exit $ac_status); }; }; then
71407   glibcxx_cv_func___builtin_sqrtf_link=yes
71408 else
71409   echo "$as_me: failed program was:" >&5
71410 sed 's/^/| /' conftest.$ac_ext >&5
71411
71412 glibcxx_cv_func___builtin_sqrtf_link=no
71413 fi
71414 rm -f conftest.err conftest.$ac_objext \
71415       conftest$ac_exeext conftest.$ac_ext
71416
71417 fi
71418
71419     fi
71420     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
71421 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
71422     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
71423       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71424
71425 cat >>confdefs.h <<_ACEOF
71426 #define ${ac_tr_func} 1
71427 _ACEOF
71428
71429     fi
71430   fi
71431
71432
71433   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
71434 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
71435   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
71436     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
71437   echo $ECHO_N "(cached) $ECHO_C" >&6
71438 else
71439
71440
71441
71442       ac_ext=cc
71443 ac_cpp='$CXXCPP $CPPFLAGS'
71444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71447
71448       cat >conftest.$ac_ext <<_ACEOF
71449 /* confdefs.h.  */
71450 _ACEOF
71451 cat confdefs.h >>conftest.$ac_ext
71452 cat >>conftest.$ac_ext <<_ACEOF
71453 /* end confdefs.h.  */
71454 #include <math.h>
71455 int
71456 main ()
71457 {
71458  __builtin_sqrt(0);
71459   ;
71460   return 0;
71461 }
71462 _ACEOF
71463 rm -f conftest.$ac_objext
71464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71465   (eval $ac_compile) 2>conftest.er1
71466   ac_status=$?
71467   grep -v '^ *+' conftest.er1 >conftest.err
71468   rm -f conftest.er1
71469   cat conftest.err >&5
71470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71471   (exit $ac_status); } &&
71472          { ac_try='test -z "$ac_cxx_werror_flag"
71473                          || test ! -s conftest.err'
71474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71475   (eval $ac_try) 2>&5
71476   ac_status=$?
71477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71478   (exit $ac_status); }; } &&
71479          { ac_try='test -s conftest.$ac_objext'
71480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71481   (eval $ac_try) 2>&5
71482   ac_status=$?
71483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71484   (exit $ac_status); }; }; then
71485   glibcxx_cv_func___builtin_sqrt_use=yes
71486 else
71487   echo "$as_me: failed program was:" >&5
71488 sed 's/^/| /' conftest.$ac_ext >&5
71489
71490 glibcxx_cv_func___builtin_sqrt_use=no
71491 fi
71492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71493       ac_ext=c
71494 ac_cpp='$CPP $CPPFLAGS'
71495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71498
71499
71500 fi
71501
71502   fi
71503   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
71504 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
71505   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
71506     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
71507 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
71508     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
71509       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
71510   echo $ECHO_N "(cached) $ECHO_C" >&6
71511 else
71512
71513         if test x$gcc_no_link = xyes; then
71514   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71516    { (exit 1); exit 1; }; }
71517 fi
71518 cat >conftest.$ac_ext <<_ACEOF
71519 /* confdefs.h.  */
71520 _ACEOF
71521 cat confdefs.h >>conftest.$ac_ext
71522 cat >>conftest.$ac_ext <<_ACEOF
71523 /* end confdefs.h.  */
71524 #include <math.h>
71525 int
71526 main ()
71527 {
71528  __builtin_sqrt(0);
71529   ;
71530   return 0;
71531 }
71532 _ACEOF
71533 rm -f conftest.$ac_objext conftest$ac_exeext
71534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71535   (eval $ac_link) 2>conftest.er1
71536   ac_status=$?
71537   grep -v '^ *+' conftest.er1 >conftest.err
71538   rm -f conftest.er1
71539   cat conftest.err >&5
71540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71541   (exit $ac_status); } &&
71542          { ac_try='test -z "$ac_c_werror_flag"
71543                          || test ! -s conftest.err'
71544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71545   (eval $ac_try) 2>&5
71546   ac_status=$?
71547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71548   (exit $ac_status); }; } &&
71549          { ac_try='test -s conftest$ac_exeext'
71550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71551   (eval $ac_try) 2>&5
71552   ac_status=$?
71553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71554   (exit $ac_status); }; }; then
71555   glibcxx_cv_func___builtin_sqrt_link=yes
71556 else
71557   echo "$as_me: failed program was:" >&5
71558 sed 's/^/| /' conftest.$ac_ext >&5
71559
71560 glibcxx_cv_func___builtin_sqrt_link=no
71561 fi
71562 rm -f conftest.err conftest.$ac_objext \
71563       conftest$ac_exeext conftest.$ac_ext
71564
71565 fi
71566
71567     fi
71568     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
71569 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
71570     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
71571       ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71572
71573 cat >>confdefs.h <<_ACEOF
71574 #define ${ac_tr_func} 1
71575 _ACEOF
71576
71577     fi
71578   fi
71579
71580
71581   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
71582 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
71583   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
71584     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
71585   echo $ECHO_N "(cached) $ECHO_C" >&6
71586 else
71587
71588
71589
71590       ac_ext=cc
71591 ac_cpp='$CXXCPP $CPPFLAGS'
71592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71595
71596       cat >conftest.$ac_ext <<_ACEOF
71597 /* confdefs.h.  */
71598 _ACEOF
71599 cat confdefs.h >>conftest.$ac_ext
71600 cat >>conftest.$ac_ext <<_ACEOF
71601 /* end confdefs.h.  */
71602 #include <math.h>
71603 int
71604 main ()
71605 {
71606  __builtin_sqrtl(0);
71607   ;
71608   return 0;
71609 }
71610 _ACEOF
71611 rm -f conftest.$ac_objext
71612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71613   (eval $ac_compile) 2>conftest.er1
71614   ac_status=$?
71615   grep -v '^ *+' conftest.er1 >conftest.err
71616   rm -f conftest.er1
71617   cat conftest.err >&5
71618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71619   (exit $ac_status); } &&
71620          { ac_try='test -z "$ac_cxx_werror_flag"
71621                          || test ! -s conftest.err'
71622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71623   (eval $ac_try) 2>&5
71624   ac_status=$?
71625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71626   (exit $ac_status); }; } &&
71627          { ac_try='test -s conftest.$ac_objext'
71628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71629   (eval $ac_try) 2>&5
71630   ac_status=$?
71631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71632   (exit $ac_status); }; }; then
71633   glibcxx_cv_func___builtin_sqrtl_use=yes
71634 else
71635   echo "$as_me: failed program was:" >&5
71636 sed 's/^/| /' conftest.$ac_ext >&5
71637
71638 glibcxx_cv_func___builtin_sqrtl_use=no
71639 fi
71640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71641       ac_ext=c
71642 ac_cpp='$CPP $CPPFLAGS'
71643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71646
71647
71648 fi
71649
71650   fi
71651   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
71652 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
71653   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
71654     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
71655 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
71656     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
71657       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
71658   echo $ECHO_N "(cached) $ECHO_C" >&6
71659 else
71660
71661         if test x$gcc_no_link = xyes; then
71662   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71664    { (exit 1); exit 1; }; }
71665 fi
71666 cat >conftest.$ac_ext <<_ACEOF
71667 /* confdefs.h.  */
71668 _ACEOF
71669 cat confdefs.h >>conftest.$ac_ext
71670 cat >>conftest.$ac_ext <<_ACEOF
71671 /* end confdefs.h.  */
71672 #include <math.h>
71673 int
71674 main ()
71675 {
71676  __builtin_sqrtl(0);
71677   ;
71678   return 0;
71679 }
71680 _ACEOF
71681 rm -f conftest.$ac_objext conftest$ac_exeext
71682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71683   (eval $ac_link) 2>conftest.er1
71684   ac_status=$?
71685   grep -v '^ *+' conftest.er1 >conftest.err
71686   rm -f conftest.er1
71687   cat conftest.err >&5
71688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71689   (exit $ac_status); } &&
71690          { ac_try='test -z "$ac_c_werror_flag"
71691                          || test ! -s conftest.err'
71692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71693   (eval $ac_try) 2>&5
71694   ac_status=$?
71695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71696   (exit $ac_status); }; } &&
71697          { ac_try='test -s conftest$ac_exeext'
71698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71699   (eval $ac_try) 2>&5
71700   ac_status=$?
71701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71702   (exit $ac_status); }; }; then
71703   glibcxx_cv_func___builtin_sqrtl_link=yes
71704 else
71705   echo "$as_me: failed program was:" >&5
71706 sed 's/^/| /' conftest.$ac_ext >&5
71707
71708 glibcxx_cv_func___builtin_sqrtl_link=no
71709 fi
71710 rm -f conftest.err conftest.$ac_objext \
71711       conftest$ac_exeext conftest.$ac_ext
71712
71713 fi
71714
71715     fi
71716     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
71717 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
71718     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
71719       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71720
71721 cat >>confdefs.h <<_ACEOF
71722 #define ${ac_tr_func} 1
71723 _ACEOF
71724
71725     fi
71726   fi
71727
71728
71729
71730   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
71731 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
71732   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
71733     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
71734   echo $ECHO_N "(cached) $ECHO_C" >&6
71735 else
71736
71737
71738
71739       ac_ext=cc
71740 ac_cpp='$CXXCPP $CPPFLAGS'
71741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71744
71745       cat >conftest.$ac_ext <<_ACEOF
71746 /* confdefs.h.  */
71747 _ACEOF
71748 cat confdefs.h >>conftest.$ac_ext
71749 cat >>conftest.$ac_ext <<_ACEOF
71750 /* end confdefs.h.  */
71751 #include <math.h>
71752 int
71753 main ()
71754 {
71755  __builtin_sinf(0);
71756   ;
71757   return 0;
71758 }
71759 _ACEOF
71760 rm -f conftest.$ac_objext
71761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71762   (eval $ac_compile) 2>conftest.er1
71763   ac_status=$?
71764   grep -v '^ *+' conftest.er1 >conftest.err
71765   rm -f conftest.er1
71766   cat conftest.err >&5
71767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71768   (exit $ac_status); } &&
71769          { ac_try='test -z "$ac_cxx_werror_flag"
71770                          || test ! -s conftest.err'
71771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71772   (eval $ac_try) 2>&5
71773   ac_status=$?
71774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71775   (exit $ac_status); }; } &&
71776          { ac_try='test -s conftest.$ac_objext'
71777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71778   (eval $ac_try) 2>&5
71779   ac_status=$?
71780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71781   (exit $ac_status); }; }; then
71782   glibcxx_cv_func___builtin_sinf_use=yes
71783 else
71784   echo "$as_me: failed program was:" >&5
71785 sed 's/^/| /' conftest.$ac_ext >&5
71786
71787 glibcxx_cv_func___builtin_sinf_use=no
71788 fi
71789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71790       ac_ext=c
71791 ac_cpp='$CPP $CPPFLAGS'
71792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71795
71796
71797 fi
71798
71799   fi
71800   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
71801 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
71802   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
71803     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
71804 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
71805     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
71806       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
71807   echo $ECHO_N "(cached) $ECHO_C" >&6
71808 else
71809
71810         if test x$gcc_no_link = xyes; then
71811   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71813    { (exit 1); exit 1; }; }
71814 fi
71815 cat >conftest.$ac_ext <<_ACEOF
71816 /* confdefs.h.  */
71817 _ACEOF
71818 cat confdefs.h >>conftest.$ac_ext
71819 cat >>conftest.$ac_ext <<_ACEOF
71820 /* end confdefs.h.  */
71821 #include <math.h>
71822 int
71823 main ()
71824 {
71825  __builtin_sinf(0);
71826   ;
71827   return 0;
71828 }
71829 _ACEOF
71830 rm -f conftest.$ac_objext conftest$ac_exeext
71831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71832   (eval $ac_link) 2>conftest.er1
71833   ac_status=$?
71834   grep -v '^ *+' conftest.er1 >conftest.err
71835   rm -f conftest.er1
71836   cat conftest.err >&5
71837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71838   (exit $ac_status); } &&
71839          { ac_try='test -z "$ac_c_werror_flag"
71840                          || test ! -s conftest.err'
71841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71842   (eval $ac_try) 2>&5
71843   ac_status=$?
71844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71845   (exit $ac_status); }; } &&
71846          { ac_try='test -s conftest$ac_exeext'
71847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71848   (eval $ac_try) 2>&5
71849   ac_status=$?
71850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71851   (exit $ac_status); }; }; then
71852   glibcxx_cv_func___builtin_sinf_link=yes
71853 else
71854   echo "$as_me: failed program was:" >&5
71855 sed 's/^/| /' conftest.$ac_ext >&5
71856
71857 glibcxx_cv_func___builtin_sinf_link=no
71858 fi
71859 rm -f conftest.err conftest.$ac_objext \
71860       conftest$ac_exeext conftest.$ac_ext
71861
71862 fi
71863
71864     fi
71865     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
71866 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
71867     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
71868       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71869
71870 cat >>confdefs.h <<_ACEOF
71871 #define ${ac_tr_func} 1
71872 _ACEOF
71873
71874     fi
71875   fi
71876
71877
71878   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
71879 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
71880   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
71881     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
71882   echo $ECHO_N "(cached) $ECHO_C" >&6
71883 else
71884
71885
71886
71887       ac_ext=cc
71888 ac_cpp='$CXXCPP $CPPFLAGS'
71889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71892
71893       cat >conftest.$ac_ext <<_ACEOF
71894 /* confdefs.h.  */
71895 _ACEOF
71896 cat confdefs.h >>conftest.$ac_ext
71897 cat >>conftest.$ac_ext <<_ACEOF
71898 /* end confdefs.h.  */
71899 #include <math.h>
71900 int
71901 main ()
71902 {
71903  __builtin_sin(0);
71904   ;
71905   return 0;
71906 }
71907 _ACEOF
71908 rm -f conftest.$ac_objext
71909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71910   (eval $ac_compile) 2>conftest.er1
71911   ac_status=$?
71912   grep -v '^ *+' conftest.er1 >conftest.err
71913   rm -f conftest.er1
71914   cat conftest.err >&5
71915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71916   (exit $ac_status); } &&
71917          { ac_try='test -z "$ac_cxx_werror_flag"
71918                          || test ! -s conftest.err'
71919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71920   (eval $ac_try) 2>&5
71921   ac_status=$?
71922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71923   (exit $ac_status); }; } &&
71924          { ac_try='test -s conftest.$ac_objext'
71925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71926   (eval $ac_try) 2>&5
71927   ac_status=$?
71928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71929   (exit $ac_status); }; }; then
71930   glibcxx_cv_func___builtin_sin_use=yes
71931 else
71932   echo "$as_me: failed program was:" >&5
71933 sed 's/^/| /' conftest.$ac_ext >&5
71934
71935 glibcxx_cv_func___builtin_sin_use=no
71936 fi
71937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71938       ac_ext=c
71939 ac_cpp='$CPP $CPPFLAGS'
71940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71943
71944
71945 fi
71946
71947   fi
71948   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
71949 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
71950   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
71951     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
71952 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
71953     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
71954       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
71955   echo $ECHO_N "(cached) $ECHO_C" >&6
71956 else
71957
71958         if test x$gcc_no_link = xyes; then
71959   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71961    { (exit 1); exit 1; }; }
71962 fi
71963 cat >conftest.$ac_ext <<_ACEOF
71964 /* confdefs.h.  */
71965 _ACEOF
71966 cat confdefs.h >>conftest.$ac_ext
71967 cat >>conftest.$ac_ext <<_ACEOF
71968 /* end confdefs.h.  */
71969 #include <math.h>
71970 int
71971 main ()
71972 {
71973  __builtin_sin(0);
71974   ;
71975   return 0;
71976 }
71977 _ACEOF
71978 rm -f conftest.$ac_objext conftest$ac_exeext
71979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71980   (eval $ac_link) 2>conftest.er1
71981   ac_status=$?
71982   grep -v '^ *+' conftest.er1 >conftest.err
71983   rm -f conftest.er1
71984   cat conftest.err >&5
71985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71986   (exit $ac_status); } &&
71987          { ac_try='test -z "$ac_c_werror_flag"
71988                          || test ! -s conftest.err'
71989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71990   (eval $ac_try) 2>&5
71991   ac_status=$?
71992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71993   (exit $ac_status); }; } &&
71994          { ac_try='test -s conftest$ac_exeext'
71995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71996   (eval $ac_try) 2>&5
71997   ac_status=$?
71998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71999   (exit $ac_status); }; }; then
72000   glibcxx_cv_func___builtin_sin_link=yes
72001 else
72002   echo "$as_me: failed program was:" >&5
72003 sed 's/^/| /' conftest.$ac_ext >&5
72004
72005 glibcxx_cv_func___builtin_sin_link=no
72006 fi
72007 rm -f conftest.err conftest.$ac_objext \
72008       conftest$ac_exeext conftest.$ac_ext
72009
72010 fi
72011
72012     fi
72013     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
72014 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
72015     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
72016       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72017
72018 cat >>confdefs.h <<_ACEOF
72019 #define ${ac_tr_func} 1
72020 _ACEOF
72021
72022     fi
72023   fi
72024
72025
72026   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
72027 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
72028   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
72029     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
72030   echo $ECHO_N "(cached) $ECHO_C" >&6
72031 else
72032
72033
72034
72035       ac_ext=cc
72036 ac_cpp='$CXXCPP $CPPFLAGS'
72037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72040
72041       cat >conftest.$ac_ext <<_ACEOF
72042 /* confdefs.h.  */
72043 _ACEOF
72044 cat confdefs.h >>conftest.$ac_ext
72045 cat >>conftest.$ac_ext <<_ACEOF
72046 /* end confdefs.h.  */
72047 #include <math.h>
72048 int
72049 main ()
72050 {
72051  __builtin_sinl(0);
72052   ;
72053   return 0;
72054 }
72055 _ACEOF
72056 rm -f conftest.$ac_objext
72057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72058   (eval $ac_compile) 2>conftest.er1
72059   ac_status=$?
72060   grep -v '^ *+' conftest.er1 >conftest.err
72061   rm -f conftest.er1
72062   cat conftest.err >&5
72063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72064   (exit $ac_status); } &&
72065          { ac_try='test -z "$ac_cxx_werror_flag"
72066                          || test ! -s conftest.err'
72067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72068   (eval $ac_try) 2>&5
72069   ac_status=$?
72070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72071   (exit $ac_status); }; } &&
72072          { ac_try='test -s conftest.$ac_objext'
72073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72074   (eval $ac_try) 2>&5
72075   ac_status=$?
72076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72077   (exit $ac_status); }; }; then
72078   glibcxx_cv_func___builtin_sinl_use=yes
72079 else
72080   echo "$as_me: failed program was:" >&5
72081 sed 's/^/| /' conftest.$ac_ext >&5
72082
72083 glibcxx_cv_func___builtin_sinl_use=no
72084 fi
72085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72086       ac_ext=c
72087 ac_cpp='$CPP $CPPFLAGS'
72088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72091
72092
72093 fi
72094
72095   fi
72096   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
72097 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
72098   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
72099     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
72100 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
72101     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
72102       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
72103   echo $ECHO_N "(cached) $ECHO_C" >&6
72104 else
72105
72106         if test x$gcc_no_link = xyes; then
72107   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72109    { (exit 1); exit 1; }; }
72110 fi
72111 cat >conftest.$ac_ext <<_ACEOF
72112 /* confdefs.h.  */
72113 _ACEOF
72114 cat confdefs.h >>conftest.$ac_ext
72115 cat >>conftest.$ac_ext <<_ACEOF
72116 /* end confdefs.h.  */
72117 #include <math.h>
72118 int
72119 main ()
72120 {
72121  __builtin_sinl(0);
72122   ;
72123   return 0;
72124 }
72125 _ACEOF
72126 rm -f conftest.$ac_objext conftest$ac_exeext
72127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72128   (eval $ac_link) 2>conftest.er1
72129   ac_status=$?
72130   grep -v '^ *+' conftest.er1 >conftest.err
72131   rm -f conftest.er1
72132   cat conftest.err >&5
72133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72134   (exit $ac_status); } &&
72135          { ac_try='test -z "$ac_c_werror_flag"
72136                          || test ! -s conftest.err'
72137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72138   (eval $ac_try) 2>&5
72139   ac_status=$?
72140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72141   (exit $ac_status); }; } &&
72142          { ac_try='test -s conftest$ac_exeext'
72143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72144   (eval $ac_try) 2>&5
72145   ac_status=$?
72146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72147   (exit $ac_status); }; }; then
72148   glibcxx_cv_func___builtin_sinl_link=yes
72149 else
72150   echo "$as_me: failed program was:" >&5
72151 sed 's/^/| /' conftest.$ac_ext >&5
72152
72153 glibcxx_cv_func___builtin_sinl_link=no
72154 fi
72155 rm -f conftest.err conftest.$ac_objext \
72156       conftest$ac_exeext conftest.$ac_ext
72157
72158 fi
72159
72160     fi
72161     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
72162 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
72163     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
72164       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72165
72166 cat >>confdefs.h <<_ACEOF
72167 #define ${ac_tr_func} 1
72168 _ACEOF
72169
72170     fi
72171   fi
72172
72173
72174
72175   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
72176 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
72177   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
72178     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
72179   echo $ECHO_N "(cached) $ECHO_C" >&6
72180 else
72181
72182
72183
72184       ac_ext=cc
72185 ac_cpp='$CXXCPP $CPPFLAGS'
72186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72189
72190       cat >conftest.$ac_ext <<_ACEOF
72191 /* confdefs.h.  */
72192 _ACEOF
72193 cat confdefs.h >>conftest.$ac_ext
72194 cat >>conftest.$ac_ext <<_ACEOF
72195 /* end confdefs.h.  */
72196 #include <math.h>
72197 int
72198 main ()
72199 {
72200  __builtin_cosf(0);
72201   ;
72202   return 0;
72203 }
72204 _ACEOF
72205 rm -f conftest.$ac_objext
72206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72207   (eval $ac_compile) 2>conftest.er1
72208   ac_status=$?
72209   grep -v '^ *+' conftest.er1 >conftest.err
72210   rm -f conftest.er1
72211   cat conftest.err >&5
72212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72213   (exit $ac_status); } &&
72214          { ac_try='test -z "$ac_cxx_werror_flag"
72215                          || test ! -s conftest.err'
72216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72217   (eval $ac_try) 2>&5
72218   ac_status=$?
72219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72220   (exit $ac_status); }; } &&
72221          { ac_try='test -s conftest.$ac_objext'
72222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72223   (eval $ac_try) 2>&5
72224   ac_status=$?
72225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72226   (exit $ac_status); }; }; then
72227   glibcxx_cv_func___builtin_cosf_use=yes
72228 else
72229   echo "$as_me: failed program was:" >&5
72230 sed 's/^/| /' conftest.$ac_ext >&5
72231
72232 glibcxx_cv_func___builtin_cosf_use=no
72233 fi
72234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72235       ac_ext=c
72236 ac_cpp='$CPP $CPPFLAGS'
72237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72240
72241
72242 fi
72243
72244   fi
72245   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
72246 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
72247   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
72248     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
72249 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
72250     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
72251       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
72252   echo $ECHO_N "(cached) $ECHO_C" >&6
72253 else
72254
72255         if test x$gcc_no_link = xyes; then
72256   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72258    { (exit 1); exit 1; }; }
72259 fi
72260 cat >conftest.$ac_ext <<_ACEOF
72261 /* confdefs.h.  */
72262 _ACEOF
72263 cat confdefs.h >>conftest.$ac_ext
72264 cat >>conftest.$ac_ext <<_ACEOF
72265 /* end confdefs.h.  */
72266 #include <math.h>
72267 int
72268 main ()
72269 {
72270  __builtin_cosf(0);
72271   ;
72272   return 0;
72273 }
72274 _ACEOF
72275 rm -f conftest.$ac_objext conftest$ac_exeext
72276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72277   (eval $ac_link) 2>conftest.er1
72278   ac_status=$?
72279   grep -v '^ *+' conftest.er1 >conftest.err
72280   rm -f conftest.er1
72281   cat conftest.err >&5
72282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72283   (exit $ac_status); } &&
72284          { ac_try='test -z "$ac_c_werror_flag"
72285                          || test ! -s conftest.err'
72286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72287   (eval $ac_try) 2>&5
72288   ac_status=$?
72289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72290   (exit $ac_status); }; } &&
72291          { ac_try='test -s conftest$ac_exeext'
72292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72293   (eval $ac_try) 2>&5
72294   ac_status=$?
72295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72296   (exit $ac_status); }; }; then
72297   glibcxx_cv_func___builtin_cosf_link=yes
72298 else
72299   echo "$as_me: failed program was:" >&5
72300 sed 's/^/| /' conftest.$ac_ext >&5
72301
72302 glibcxx_cv_func___builtin_cosf_link=no
72303 fi
72304 rm -f conftest.err conftest.$ac_objext \
72305       conftest$ac_exeext conftest.$ac_ext
72306
72307 fi
72308
72309     fi
72310     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
72311 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
72312     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
72313       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72314
72315 cat >>confdefs.h <<_ACEOF
72316 #define ${ac_tr_func} 1
72317 _ACEOF
72318
72319     fi
72320   fi
72321
72322
72323   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
72324 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
72325   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
72326     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
72327   echo $ECHO_N "(cached) $ECHO_C" >&6
72328 else
72329
72330
72331
72332       ac_ext=cc
72333 ac_cpp='$CXXCPP $CPPFLAGS'
72334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72337
72338       cat >conftest.$ac_ext <<_ACEOF
72339 /* confdefs.h.  */
72340 _ACEOF
72341 cat confdefs.h >>conftest.$ac_ext
72342 cat >>conftest.$ac_ext <<_ACEOF
72343 /* end confdefs.h.  */
72344 #include <math.h>
72345 int
72346 main ()
72347 {
72348  __builtin_cos(0);
72349   ;
72350   return 0;
72351 }
72352 _ACEOF
72353 rm -f conftest.$ac_objext
72354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72355   (eval $ac_compile) 2>conftest.er1
72356   ac_status=$?
72357   grep -v '^ *+' conftest.er1 >conftest.err
72358   rm -f conftest.er1
72359   cat conftest.err >&5
72360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72361   (exit $ac_status); } &&
72362          { ac_try='test -z "$ac_cxx_werror_flag"
72363                          || test ! -s conftest.err'
72364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72365   (eval $ac_try) 2>&5
72366   ac_status=$?
72367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72368   (exit $ac_status); }; } &&
72369          { ac_try='test -s conftest.$ac_objext'
72370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72371   (eval $ac_try) 2>&5
72372   ac_status=$?
72373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72374   (exit $ac_status); }; }; then
72375   glibcxx_cv_func___builtin_cos_use=yes
72376 else
72377   echo "$as_me: failed program was:" >&5
72378 sed 's/^/| /' conftest.$ac_ext >&5
72379
72380 glibcxx_cv_func___builtin_cos_use=no
72381 fi
72382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72383       ac_ext=c
72384 ac_cpp='$CPP $CPPFLAGS'
72385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72388
72389
72390 fi
72391
72392   fi
72393   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
72394 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
72395   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
72396     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
72397 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
72398     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
72399       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
72400   echo $ECHO_N "(cached) $ECHO_C" >&6
72401 else
72402
72403         if test x$gcc_no_link = xyes; then
72404   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72406    { (exit 1); exit 1; }; }
72407 fi
72408 cat >conftest.$ac_ext <<_ACEOF
72409 /* confdefs.h.  */
72410 _ACEOF
72411 cat confdefs.h >>conftest.$ac_ext
72412 cat >>conftest.$ac_ext <<_ACEOF
72413 /* end confdefs.h.  */
72414 #include <math.h>
72415 int
72416 main ()
72417 {
72418  __builtin_cos(0);
72419   ;
72420   return 0;
72421 }
72422 _ACEOF
72423 rm -f conftest.$ac_objext conftest$ac_exeext
72424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72425   (eval $ac_link) 2>conftest.er1
72426   ac_status=$?
72427   grep -v '^ *+' conftest.er1 >conftest.err
72428   rm -f conftest.er1
72429   cat conftest.err >&5
72430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72431   (exit $ac_status); } &&
72432          { ac_try='test -z "$ac_c_werror_flag"
72433                          || test ! -s conftest.err'
72434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72435   (eval $ac_try) 2>&5
72436   ac_status=$?
72437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72438   (exit $ac_status); }; } &&
72439          { ac_try='test -s conftest$ac_exeext'
72440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72441   (eval $ac_try) 2>&5
72442   ac_status=$?
72443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72444   (exit $ac_status); }; }; then
72445   glibcxx_cv_func___builtin_cos_link=yes
72446 else
72447   echo "$as_me: failed program was:" >&5
72448 sed 's/^/| /' conftest.$ac_ext >&5
72449
72450 glibcxx_cv_func___builtin_cos_link=no
72451 fi
72452 rm -f conftest.err conftest.$ac_objext \
72453       conftest$ac_exeext conftest.$ac_ext
72454
72455 fi
72456
72457     fi
72458     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
72459 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
72460     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
72461       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72462
72463 cat >>confdefs.h <<_ACEOF
72464 #define ${ac_tr_func} 1
72465 _ACEOF
72466
72467     fi
72468   fi
72469
72470
72471   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
72472 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
72473   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
72474     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
72475   echo $ECHO_N "(cached) $ECHO_C" >&6
72476 else
72477
72478
72479
72480       ac_ext=cc
72481 ac_cpp='$CXXCPP $CPPFLAGS'
72482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72485
72486       cat >conftest.$ac_ext <<_ACEOF
72487 /* confdefs.h.  */
72488 _ACEOF
72489 cat confdefs.h >>conftest.$ac_ext
72490 cat >>conftest.$ac_ext <<_ACEOF
72491 /* end confdefs.h.  */
72492 #include <math.h>
72493 int
72494 main ()
72495 {
72496  __builtin_cosl(0);
72497   ;
72498   return 0;
72499 }
72500 _ACEOF
72501 rm -f conftest.$ac_objext
72502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72503   (eval $ac_compile) 2>conftest.er1
72504   ac_status=$?
72505   grep -v '^ *+' conftest.er1 >conftest.err
72506   rm -f conftest.er1
72507   cat conftest.err >&5
72508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72509   (exit $ac_status); } &&
72510          { ac_try='test -z "$ac_cxx_werror_flag"
72511                          || test ! -s conftest.err'
72512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72513   (eval $ac_try) 2>&5
72514   ac_status=$?
72515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72516   (exit $ac_status); }; } &&
72517          { ac_try='test -s conftest.$ac_objext'
72518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72519   (eval $ac_try) 2>&5
72520   ac_status=$?
72521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72522   (exit $ac_status); }; }; then
72523   glibcxx_cv_func___builtin_cosl_use=yes
72524 else
72525   echo "$as_me: failed program was:" >&5
72526 sed 's/^/| /' conftest.$ac_ext >&5
72527
72528 glibcxx_cv_func___builtin_cosl_use=no
72529 fi
72530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72531       ac_ext=c
72532 ac_cpp='$CPP $CPPFLAGS'
72533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72536
72537
72538 fi
72539
72540   fi
72541   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
72542 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
72543   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
72544     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
72545 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
72546     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
72547       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
72548   echo $ECHO_N "(cached) $ECHO_C" >&6
72549 else
72550
72551         if test x$gcc_no_link = xyes; then
72552   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72554    { (exit 1); exit 1; }; }
72555 fi
72556 cat >conftest.$ac_ext <<_ACEOF
72557 /* confdefs.h.  */
72558 _ACEOF
72559 cat confdefs.h >>conftest.$ac_ext
72560 cat >>conftest.$ac_ext <<_ACEOF
72561 /* end confdefs.h.  */
72562 #include <math.h>
72563 int
72564 main ()
72565 {
72566  __builtin_cosl(0);
72567   ;
72568   return 0;
72569 }
72570 _ACEOF
72571 rm -f conftest.$ac_objext conftest$ac_exeext
72572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72573   (eval $ac_link) 2>conftest.er1
72574   ac_status=$?
72575   grep -v '^ *+' conftest.er1 >conftest.err
72576   rm -f conftest.er1
72577   cat conftest.err >&5
72578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72579   (exit $ac_status); } &&
72580          { ac_try='test -z "$ac_c_werror_flag"
72581                          || test ! -s conftest.err'
72582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72583   (eval $ac_try) 2>&5
72584   ac_status=$?
72585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72586   (exit $ac_status); }; } &&
72587          { ac_try='test -s conftest$ac_exeext'
72588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72589   (eval $ac_try) 2>&5
72590   ac_status=$?
72591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72592   (exit $ac_status); }; }; then
72593   glibcxx_cv_func___builtin_cosl_link=yes
72594 else
72595   echo "$as_me: failed program was:" >&5
72596 sed 's/^/| /' conftest.$ac_ext >&5
72597
72598 glibcxx_cv_func___builtin_cosl_link=no
72599 fi
72600 rm -f conftest.err conftest.$ac_objext \
72601       conftest$ac_exeext conftest.$ac_ext
72602
72603 fi
72604
72605     fi
72606     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
72607 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
72608     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
72609       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72610
72611 cat >>confdefs.h <<_ACEOF
72612 #define ${ac_tr_func} 1
72613 _ACEOF
72614
72615     fi
72616   fi
72617
72618
72619
72620
72621 echo "$as_me:$LINENO: checking for main in -lm" >&5
72622 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
72623 if test "${ac_cv_lib_m_main+set}" = set; then
72624   echo $ECHO_N "(cached) $ECHO_C" >&6
72625 else
72626   ac_check_lib_save_LIBS=$LIBS
72627 LIBS="-lm  $LIBS"
72628 if test x$gcc_no_link = xyes; then
72629   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72631    { (exit 1); exit 1; }; }
72632 fi
72633 cat >conftest.$ac_ext <<_ACEOF
72634 /* confdefs.h.  */
72635 _ACEOF
72636 cat confdefs.h >>conftest.$ac_ext
72637 cat >>conftest.$ac_ext <<_ACEOF
72638 /* end confdefs.h.  */
72639
72640
72641 int
72642 main ()
72643 {
72644 main ();
72645   ;
72646   return 0;
72647 }
72648 _ACEOF
72649 rm -f conftest.$ac_objext conftest$ac_exeext
72650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72651   (eval $ac_link) 2>conftest.er1
72652   ac_status=$?
72653   grep -v '^ *+' conftest.er1 >conftest.err
72654   rm -f conftest.er1
72655   cat conftest.err >&5
72656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72657   (exit $ac_status); } &&
72658          { ac_try='test -z "$ac_c_werror_flag"
72659                          || test ! -s conftest.err'
72660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72661   (eval $ac_try) 2>&5
72662   ac_status=$?
72663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72664   (exit $ac_status); }; } &&
72665          { ac_try='test -s conftest$ac_exeext'
72666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72667   (eval $ac_try) 2>&5
72668   ac_status=$?
72669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72670   (exit $ac_status); }; }; then
72671   ac_cv_lib_m_main=yes
72672 else
72673   echo "$as_me: failed program was:" >&5
72674 sed 's/^/| /' conftest.$ac_ext >&5
72675
72676 ac_cv_lib_m_main=no
72677 fi
72678 rm -f conftest.err conftest.$ac_objext \
72679       conftest$ac_exeext conftest.$ac_ext
72680 LIBS=$ac_check_lib_save_LIBS
72681 fi
72682 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
72683 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
72684 if test $ac_cv_lib_m_main = yes; then
72685   cat >>confdefs.h <<_ACEOF
72686 #define HAVE_LIBM 1
72687 _ACEOF
72688
72689   LIBS="-lm $LIBS"
72690
72691 fi
72692
72693
72694 for ac_func in copysignf
72695 do
72696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72697 echo "$as_me:$LINENO: checking for $ac_func" >&5
72698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72699 if eval "test \"\${$as_ac_var+set}\" = set"; then
72700   echo $ECHO_N "(cached) $ECHO_C" >&6
72701 else
72702   if test x$gcc_no_link = xyes; then
72703   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72705    { (exit 1); exit 1; }; }
72706 fi
72707 cat >conftest.$ac_ext <<_ACEOF
72708 /* confdefs.h.  */
72709 _ACEOF
72710 cat confdefs.h >>conftest.$ac_ext
72711 cat >>conftest.$ac_ext <<_ACEOF
72712 /* end confdefs.h.  */
72713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72714    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72715 #define $ac_func innocuous_$ac_func
72716
72717 /* System header to define __stub macros and hopefully few prototypes,
72718     which can conflict with char $ac_func (); below.
72719     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72720     <limits.h> exists even on freestanding compilers.  */
72721
72722 #ifdef __STDC__
72723 # include <limits.h>
72724 #else
72725 # include <assert.h>
72726 #endif
72727
72728 #undef $ac_func
72729
72730 /* Override any gcc2 internal prototype to avoid an error.  */
72731 #ifdef __cplusplus
72732 extern "C"
72733 {
72734 #endif
72735 /* We use char because int might match the return type of a gcc2
72736    builtin and then its argument prototype would still apply.  */
72737 char $ac_func ();
72738 /* The GNU C library defines this for functions which it implements
72739     to always fail with ENOSYS.  Some functions are actually named
72740     something starting with __ and the normal name is an alias.  */
72741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72742 choke me
72743 #else
72744 char (*f) () = $ac_func;
72745 #endif
72746 #ifdef __cplusplus
72747 }
72748 #endif
72749
72750 int
72751 main ()
72752 {
72753 return f != $ac_func;
72754   ;
72755   return 0;
72756 }
72757 _ACEOF
72758 rm -f conftest.$ac_objext conftest$ac_exeext
72759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72760   (eval $ac_link) 2>conftest.er1
72761   ac_status=$?
72762   grep -v '^ *+' conftest.er1 >conftest.err
72763   rm -f conftest.er1
72764   cat conftest.err >&5
72765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72766   (exit $ac_status); } &&
72767          { ac_try='test -z "$ac_c_werror_flag"
72768                          || test ! -s conftest.err'
72769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72770   (eval $ac_try) 2>&5
72771   ac_status=$?
72772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72773   (exit $ac_status); }; } &&
72774          { ac_try='test -s conftest$ac_exeext'
72775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72776   (eval $ac_try) 2>&5
72777   ac_status=$?
72778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72779   (exit $ac_status); }; }; then
72780   eval "$as_ac_var=yes"
72781 else
72782   echo "$as_me: failed program was:" >&5
72783 sed 's/^/| /' conftest.$ac_ext >&5
72784
72785 eval "$as_ac_var=no"
72786 fi
72787 rm -f conftest.err conftest.$ac_objext \
72788       conftest$ac_exeext conftest.$ac_ext
72789 fi
72790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72792 if test `eval echo '${'$as_ac_var'}'` = yes; then
72793   cat >>confdefs.h <<_ACEOF
72794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72795 _ACEOF
72796
72797 else
72798   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
72799 fi
72800 done
72801
72802
72803
72804 for ac_func in __signbit
72805 do
72806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72807 echo "$as_me:$LINENO: checking for $ac_func" >&5
72808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72809 if eval "test \"\${$as_ac_var+set}\" = set"; then
72810   echo $ECHO_N "(cached) $ECHO_C" >&6
72811 else
72812   if test x$gcc_no_link = xyes; then
72813   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72815    { (exit 1); exit 1; }; }
72816 fi
72817 cat >conftest.$ac_ext <<_ACEOF
72818 /* confdefs.h.  */
72819 _ACEOF
72820 cat confdefs.h >>conftest.$ac_ext
72821 cat >>conftest.$ac_ext <<_ACEOF
72822 /* end confdefs.h.  */
72823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72824    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72825 #define $ac_func innocuous_$ac_func
72826
72827 /* System header to define __stub macros and hopefully few prototypes,
72828     which can conflict with char $ac_func (); below.
72829     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72830     <limits.h> exists even on freestanding compilers.  */
72831
72832 #ifdef __STDC__
72833 # include <limits.h>
72834 #else
72835 # include <assert.h>
72836 #endif
72837
72838 #undef $ac_func
72839
72840 /* Override any gcc2 internal prototype to avoid an error.  */
72841 #ifdef __cplusplus
72842 extern "C"
72843 {
72844 #endif
72845 /* We use char because int might match the return type of a gcc2
72846    builtin and then its argument prototype would still apply.  */
72847 char $ac_func ();
72848 /* The GNU C library defines this for functions which it implements
72849     to always fail with ENOSYS.  Some functions are actually named
72850     something starting with __ and the normal name is an alias.  */
72851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72852 choke me
72853 #else
72854 char (*f) () = $ac_func;
72855 #endif
72856 #ifdef __cplusplus
72857 }
72858 #endif
72859
72860 int
72861 main ()
72862 {
72863 return f != $ac_func;
72864   ;
72865   return 0;
72866 }
72867 _ACEOF
72868 rm -f conftest.$ac_objext conftest$ac_exeext
72869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72870   (eval $ac_link) 2>conftest.er1
72871   ac_status=$?
72872   grep -v '^ *+' conftest.er1 >conftest.err
72873   rm -f conftest.er1
72874   cat conftest.err >&5
72875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72876   (exit $ac_status); } &&
72877          { ac_try='test -z "$ac_c_werror_flag"
72878                          || test ! -s conftest.err'
72879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72880   (eval $ac_try) 2>&5
72881   ac_status=$?
72882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72883   (exit $ac_status); }; } &&
72884          { ac_try='test -s conftest$ac_exeext'
72885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72886   (eval $ac_try) 2>&5
72887   ac_status=$?
72888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72889   (exit $ac_status); }; }; then
72890   eval "$as_ac_var=yes"
72891 else
72892   echo "$as_me: failed program was:" >&5
72893 sed 's/^/| /' conftest.$ac_ext >&5
72894
72895 eval "$as_ac_var=no"
72896 fi
72897 rm -f conftest.err conftest.$ac_objext \
72898       conftest$ac_exeext conftest.$ac_ext
72899 fi
72900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72902 if test `eval echo '${'$as_ac_var'}'` = yes; then
72903   cat >>confdefs.h <<_ACEOF
72904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72905 _ACEOF
72906
72907 else
72908   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
72909 fi
72910 done
72911
72912
72913
72914 for ac_func in __signbitf
72915 do
72916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72917 echo "$as_me:$LINENO: checking for $ac_func" >&5
72918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72919 if eval "test \"\${$as_ac_var+set}\" = set"; then
72920   echo $ECHO_N "(cached) $ECHO_C" >&6
72921 else
72922   if test x$gcc_no_link = xyes; then
72923   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72925    { (exit 1); exit 1; }; }
72926 fi
72927 cat >conftest.$ac_ext <<_ACEOF
72928 /* confdefs.h.  */
72929 _ACEOF
72930 cat confdefs.h >>conftest.$ac_ext
72931 cat >>conftest.$ac_ext <<_ACEOF
72932 /* end confdefs.h.  */
72933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72934    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72935 #define $ac_func innocuous_$ac_func
72936
72937 /* System header to define __stub macros and hopefully few prototypes,
72938     which can conflict with char $ac_func (); below.
72939     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72940     <limits.h> exists even on freestanding compilers.  */
72941
72942 #ifdef __STDC__
72943 # include <limits.h>
72944 #else
72945 # include <assert.h>
72946 #endif
72947
72948 #undef $ac_func
72949
72950 /* Override any gcc2 internal prototype to avoid an error.  */
72951 #ifdef __cplusplus
72952 extern "C"
72953 {
72954 #endif
72955 /* We use char because int might match the return type of a gcc2
72956    builtin and then its argument prototype would still apply.  */
72957 char $ac_func ();
72958 /* The GNU C library defines this for functions which it implements
72959     to always fail with ENOSYS.  Some functions are actually named
72960     something starting with __ and the normal name is an alias.  */
72961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72962 choke me
72963 #else
72964 char (*f) () = $ac_func;
72965 #endif
72966 #ifdef __cplusplus
72967 }
72968 #endif
72969
72970 int
72971 main ()
72972 {
72973 return f != $ac_func;
72974   ;
72975   return 0;
72976 }
72977 _ACEOF
72978 rm -f conftest.$ac_objext conftest$ac_exeext
72979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72980   (eval $ac_link) 2>conftest.er1
72981   ac_status=$?
72982   grep -v '^ *+' conftest.er1 >conftest.err
72983   rm -f conftest.er1
72984   cat conftest.err >&5
72985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72986   (exit $ac_status); } &&
72987          { ac_try='test -z "$ac_c_werror_flag"
72988                          || test ! -s conftest.err'
72989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72990   (eval $ac_try) 2>&5
72991   ac_status=$?
72992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72993   (exit $ac_status); }; } &&
72994          { ac_try='test -s conftest$ac_exeext'
72995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72996   (eval $ac_try) 2>&5
72997   ac_status=$?
72998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72999   (exit $ac_status); }; }; then
73000   eval "$as_ac_var=yes"
73001 else
73002   echo "$as_me: failed program was:" >&5
73003 sed 's/^/| /' conftest.$ac_ext >&5
73004
73005 eval "$as_ac_var=no"
73006 fi
73007 rm -f conftest.err conftest.$ac_objext \
73008       conftest$ac_exeext conftest.$ac_ext
73009 fi
73010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73012 if test `eval echo '${'$as_ac_var'}'` = yes; then
73013   cat >>confdefs.h <<_ACEOF
73014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73015 _ACEOF
73016
73017 else
73018   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
73019 fi
73020 done
73021
73022
73023           if test x$ac_cv_func_copysignl = x"yes"; then
73024
73025 for ac_func in __signbitl
73026 do
73027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73028 echo "$as_me:$LINENO: checking for $ac_func" >&5
73029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73030 if eval "test \"\${$as_ac_var+set}\" = set"; then
73031   echo $ECHO_N "(cached) $ECHO_C" >&6
73032 else
73033   if test x$gcc_no_link = xyes; then
73034   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73036    { (exit 1); exit 1; }; }
73037 fi
73038 cat >conftest.$ac_ext <<_ACEOF
73039 /* confdefs.h.  */
73040 _ACEOF
73041 cat confdefs.h >>conftest.$ac_ext
73042 cat >>conftest.$ac_ext <<_ACEOF
73043 /* end confdefs.h.  */
73044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73045    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73046 #define $ac_func innocuous_$ac_func
73047
73048 /* System header to define __stub macros and hopefully few prototypes,
73049     which can conflict with char $ac_func (); below.
73050     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73051     <limits.h> exists even on freestanding compilers.  */
73052
73053 #ifdef __STDC__
73054 # include <limits.h>
73055 #else
73056 # include <assert.h>
73057 #endif
73058
73059 #undef $ac_func
73060
73061 /* Override any gcc2 internal prototype to avoid an error.  */
73062 #ifdef __cplusplus
73063 extern "C"
73064 {
73065 #endif
73066 /* We use char because int might match the return type of a gcc2
73067    builtin and then its argument prototype would still apply.  */
73068 char $ac_func ();
73069 /* The GNU C library defines this for functions which it implements
73070     to always fail with ENOSYS.  Some functions are actually named
73071     something starting with __ and the normal name is an alias.  */
73072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73073 choke me
73074 #else
73075 char (*f) () = $ac_func;
73076 #endif
73077 #ifdef __cplusplus
73078 }
73079 #endif
73080
73081 int
73082 main ()
73083 {
73084 return f != $ac_func;
73085   ;
73086   return 0;
73087 }
73088 _ACEOF
73089 rm -f conftest.$ac_objext conftest$ac_exeext
73090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73091   (eval $ac_link) 2>conftest.er1
73092   ac_status=$?
73093   grep -v '^ *+' conftest.er1 >conftest.err
73094   rm -f conftest.er1
73095   cat conftest.err >&5
73096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73097   (exit $ac_status); } &&
73098          { ac_try='test -z "$ac_c_werror_flag"
73099                          || test ! -s conftest.err'
73100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73101   (eval $ac_try) 2>&5
73102   ac_status=$?
73103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73104   (exit $ac_status); }; } &&
73105          { ac_try='test -s conftest$ac_exeext'
73106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73107   (eval $ac_try) 2>&5
73108   ac_status=$?
73109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73110   (exit $ac_status); }; }; then
73111   eval "$as_ac_var=yes"
73112 else
73113   echo "$as_me: failed program was:" >&5
73114 sed 's/^/| /' conftest.$ac_ext >&5
73115
73116 eval "$as_ac_var=no"
73117 fi
73118 rm -f conftest.err conftest.$ac_objext \
73119       conftest$ac_exeext conftest.$ac_ext
73120 fi
73121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73123 if test `eval echo '${'$as_ac_var'}'` = yes; then
73124   cat >>confdefs.h <<_ACEOF
73125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73126 _ACEOF
73127
73128 else
73129   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
73130 fi
73131 done
73132
73133   fi
73134
73135   # Used in libmath/Makefile.am.
73136   if test -n "$LIBMATHOBJS"; then
73137     need_libmath=yes
73138   fi
73139
73140
73141
73142   # Test wchar.h for mbstate_t, which is needed for char_traits and
73143   # others even if wchar_t support is not on.
73144   echo "$as_me:$LINENO: checking for mbstate_t" >&5
73145 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
73146   cat >conftest.$ac_ext <<_ACEOF
73147 /* confdefs.h.  */
73148 _ACEOF
73149 cat confdefs.h >>conftest.$ac_ext
73150 cat >>conftest.$ac_ext <<_ACEOF
73151 /* end confdefs.h.  */
73152 #include <wchar.h>
73153 int
73154 main ()
73155 {
73156 mbstate_t teststate;
73157   ;
73158   return 0;
73159 }
73160 _ACEOF
73161 rm -f conftest.$ac_objext
73162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73163   (eval $ac_compile) 2>conftest.er1
73164   ac_status=$?
73165   grep -v '^ *+' conftest.er1 >conftest.err
73166   rm -f conftest.er1
73167   cat conftest.err >&5
73168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73169   (exit $ac_status); } &&
73170          { ac_try='test -z "$ac_c_werror_flag"
73171                          || test ! -s conftest.err'
73172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73173   (eval $ac_try) 2>&5
73174   ac_status=$?
73175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73176   (exit $ac_status); }; } &&
73177          { ac_try='test -s conftest.$ac_objext'
73178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73179   (eval $ac_try) 2>&5
73180   ac_status=$?
73181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73182   (exit $ac_status); }; }; then
73183   have_mbstate_t=yes
73184 else
73185   echo "$as_me: failed program was:" >&5
73186 sed 's/^/| /' conftest.$ac_ext >&5
73187
73188 have_mbstate_t=no
73189 fi
73190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73191   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
73192 echo "${ECHO_T}$have_mbstate_t" >&6
73193   if test x"$have_mbstate_t" = xyes; then
73194     cat >>confdefs.h <<\_ACEOF
73195 #define HAVE_MBSTATE_T 1
73196 _ACEOF
73197
73198   fi
73199
73200   # Sanity check for existence of ISO C99 headers for extended encoding.
73201
73202 for ac_header in wchar.h
73203 do
73204 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73206   echo "$as_me:$LINENO: checking for $ac_header" >&5
73207 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73209   echo $ECHO_N "(cached) $ECHO_C" >&6
73210 fi
73211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73212 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73213 else
73214   # Is the header compilable?
73215 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73216 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73217 cat >conftest.$ac_ext <<_ACEOF
73218 /* confdefs.h.  */
73219 _ACEOF
73220 cat confdefs.h >>conftest.$ac_ext
73221 cat >>conftest.$ac_ext <<_ACEOF
73222 /* end confdefs.h.  */
73223 $ac_includes_default
73224 #include <$ac_header>
73225 _ACEOF
73226 rm -f conftest.$ac_objext
73227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73228   (eval $ac_compile) 2>conftest.er1
73229   ac_status=$?
73230   grep -v '^ *+' conftest.er1 >conftest.err
73231   rm -f conftest.er1
73232   cat conftest.err >&5
73233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73234   (exit $ac_status); } &&
73235          { ac_try='test -z "$ac_c_werror_flag"
73236                          || test ! -s conftest.err'
73237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73238   (eval $ac_try) 2>&5
73239   ac_status=$?
73240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73241   (exit $ac_status); }; } &&
73242          { ac_try='test -s conftest.$ac_objext'
73243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73244   (eval $ac_try) 2>&5
73245   ac_status=$?
73246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73247   (exit $ac_status); }; }; then
73248   ac_header_compiler=yes
73249 else
73250   echo "$as_me: failed program was:" >&5
73251 sed 's/^/| /' conftest.$ac_ext >&5
73252
73253 ac_header_compiler=no
73254 fi
73255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73256 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73257 echo "${ECHO_T}$ac_header_compiler" >&6
73258
73259 # Is the header present?
73260 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73261 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73262 cat >conftest.$ac_ext <<_ACEOF
73263 /* confdefs.h.  */
73264 _ACEOF
73265 cat confdefs.h >>conftest.$ac_ext
73266 cat >>conftest.$ac_ext <<_ACEOF
73267 /* end confdefs.h.  */
73268 #include <$ac_header>
73269 _ACEOF
73270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73271   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73272   ac_status=$?
73273   grep -v '^ *+' conftest.er1 >conftest.err
73274   rm -f conftest.er1
73275   cat conftest.err >&5
73276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73277   (exit $ac_status); } >/dev/null; then
73278   if test -s conftest.err; then
73279     ac_cpp_err=$ac_c_preproc_warn_flag
73280     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73281   else
73282     ac_cpp_err=
73283   fi
73284 else
73285   ac_cpp_err=yes
73286 fi
73287 if test -z "$ac_cpp_err"; then
73288   ac_header_preproc=yes
73289 else
73290   echo "$as_me: failed program was:" >&5
73291 sed 's/^/| /' conftest.$ac_ext >&5
73292
73293   ac_header_preproc=no
73294 fi
73295 rm -f conftest.err conftest.$ac_ext
73296 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73297 echo "${ECHO_T}$ac_header_preproc" >&6
73298
73299 # So?  What about this header?
73300 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73301   yes:no: )
73302     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73303 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73304     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
73305 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
73306     ac_header_preproc=yes
73307     ;;
73308   no:yes:* )
73309     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73310 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73311     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
73312 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
73313     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
73314 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
73315     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
73316 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
73317     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73318 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73319     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73320 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73321     (
73322       cat <<\_ASBOX
73323 ## ----------------------------------------- ##
73324 ## Report this to the package-unused lists.  ##
73325 ## ----------------------------------------- ##
73326 _ASBOX
73327     ) |
73328       sed "s/^/$as_me: WARNING:     /" >&2
73329     ;;
73330 esac
73331 echo "$as_me:$LINENO: checking for $ac_header" >&5
73332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73334   echo $ECHO_N "(cached) $ECHO_C" >&6
73335 else
73336   eval "$as_ac_Header=\$ac_header_preproc"
73337 fi
73338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73340
73341 fi
73342 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73343   cat >>confdefs.h <<_ACEOF
73344 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73345 _ACEOF
73346  ac_has_wchar_h=yes
73347 else
73348   ac_has_wchar_h=no
73349 fi
73350
73351 done
73352
73353
73354 for ac_header in wctype.h
73355 do
73356 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73357 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73358   echo "$as_me:$LINENO: checking for $ac_header" >&5
73359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73361   echo $ECHO_N "(cached) $ECHO_C" >&6
73362 fi
73363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73364 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73365 else
73366   # Is the header compilable?
73367 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73368 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73369 cat >conftest.$ac_ext <<_ACEOF
73370 /* confdefs.h.  */
73371 _ACEOF
73372 cat confdefs.h >>conftest.$ac_ext
73373 cat >>conftest.$ac_ext <<_ACEOF
73374 /* end confdefs.h.  */
73375 $ac_includes_default
73376 #include <$ac_header>
73377 _ACEOF
73378 rm -f conftest.$ac_objext
73379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73380   (eval $ac_compile) 2>conftest.er1
73381   ac_status=$?
73382   grep -v '^ *+' conftest.er1 >conftest.err
73383   rm -f conftest.er1
73384   cat conftest.err >&5
73385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73386   (exit $ac_status); } &&
73387          { ac_try='test -z "$ac_c_werror_flag"
73388                          || test ! -s conftest.err'
73389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73390   (eval $ac_try) 2>&5
73391   ac_status=$?
73392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73393   (exit $ac_status); }; } &&
73394          { ac_try='test -s conftest.$ac_objext'
73395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73396   (eval $ac_try) 2>&5
73397   ac_status=$?
73398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73399   (exit $ac_status); }; }; then
73400   ac_header_compiler=yes
73401 else
73402   echo "$as_me: failed program was:" >&5
73403 sed 's/^/| /' conftest.$ac_ext >&5
73404
73405 ac_header_compiler=no
73406 fi
73407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73408 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73409 echo "${ECHO_T}$ac_header_compiler" >&6
73410
73411 # Is the header present?
73412 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73413 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73414 cat >conftest.$ac_ext <<_ACEOF
73415 /* confdefs.h.  */
73416 _ACEOF
73417 cat confdefs.h >>conftest.$ac_ext
73418 cat >>conftest.$ac_ext <<_ACEOF
73419 /* end confdefs.h.  */
73420 #include <$ac_header>
73421 _ACEOF
73422 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73423   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73424   ac_status=$?
73425   grep -v '^ *+' conftest.er1 >conftest.err
73426   rm -f conftest.er1
73427   cat conftest.err >&5
73428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73429   (exit $ac_status); } >/dev/null; then
73430   if test -s conftest.err; then
73431     ac_cpp_err=$ac_c_preproc_warn_flag
73432     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73433   else
73434     ac_cpp_err=
73435   fi
73436 else
73437   ac_cpp_err=yes
73438 fi
73439 if test -z "$ac_cpp_err"; then
73440   ac_header_preproc=yes
73441 else
73442   echo "$as_me: failed program was:" >&5
73443 sed 's/^/| /' conftest.$ac_ext >&5
73444
73445   ac_header_preproc=no
73446 fi
73447 rm -f conftest.err conftest.$ac_ext
73448 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73449 echo "${ECHO_T}$ac_header_preproc" >&6
73450
73451 # So?  What about this header?
73452 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73453   yes:no: )
73454     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73455 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73456     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
73457 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
73458     ac_header_preproc=yes
73459     ;;
73460   no:yes:* )
73461     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73462 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73463     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
73464 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
73465     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
73466 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
73467     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
73468 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
73469     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73470 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73471     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73472 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73473     (
73474       cat <<\_ASBOX
73475 ## ----------------------------------------- ##
73476 ## Report this to the package-unused lists.  ##
73477 ## ----------------------------------------- ##
73478 _ASBOX
73479     ) |
73480       sed "s/^/$as_me: WARNING:     /" >&2
73481     ;;
73482 esac
73483 echo "$as_me:$LINENO: checking for $ac_header" >&5
73484 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73485 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73486   echo $ECHO_N "(cached) $ECHO_C" >&6
73487 else
73488   eval "$as_ac_Header=\$ac_header_preproc"
73489 fi
73490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73491 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73492
73493 fi
73494 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73495   cat >>confdefs.h <<_ACEOF
73496 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73497 _ACEOF
73498  ac_has_wctype_h=yes
73499 else
73500   ac_has_wctype_h=no
73501 fi
73502
73503 done
73504
73505
73506   # Only continue checking if the ISO C99 headers exist and support is on.
73507   if test x"$ac_has_wchar_h" = xyes &&
73508      test x"$ac_has_wctype_h" = xyes &&
73509      test x"$enable_c_mbchar" != xno; then
73510
73511     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
73512     # numeric_limits can instantiate type_traits<wchar_t>
73513     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
73514 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
73515     cat >conftest.$ac_ext <<_ACEOF
73516 /* confdefs.h.  */
73517 _ACEOF
73518 cat confdefs.h >>conftest.$ac_ext
73519 cat >>conftest.$ac_ext <<_ACEOF
73520 /* end confdefs.h.  */
73521 #include <wchar.h>
73522 int
73523 main ()
73524 {
73525 int i = WCHAR_MIN; int j = WCHAR_MAX;
73526   ;
73527   return 0;
73528 }
73529 _ACEOF
73530 rm -f conftest.$ac_objext
73531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73532   (eval $ac_compile) 2>conftest.er1
73533   ac_status=$?
73534   grep -v '^ *+' conftest.er1 >conftest.err
73535   rm -f conftest.er1
73536   cat conftest.err >&5
73537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73538   (exit $ac_status); } &&
73539          { ac_try='test -z "$ac_c_werror_flag"
73540                          || test ! -s conftest.err'
73541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73542   (eval $ac_try) 2>&5
73543   ac_status=$?
73544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73545   (exit $ac_status); }; } &&
73546          { ac_try='test -s conftest.$ac_objext'
73547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73548   (eval $ac_try) 2>&5
73549   ac_status=$?
73550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73551   (exit $ac_status); }; }; then
73552   has_wchar_minmax=yes
73553 else
73554   echo "$as_me: failed program was:" >&5
73555 sed 's/^/| /' conftest.$ac_ext >&5
73556
73557 has_wchar_minmax=no
73558 fi
73559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73560     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
73561 echo "${ECHO_T}$has_wchar_minmax" >&6
73562
73563     # Test wchar.h for WEOF, which is what we use to determine whether
73564     # to specialize for char_traits<wchar_t> or not.
73565     echo "$as_me:$LINENO: checking for WEOF" >&5
73566 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
73567     cat >conftest.$ac_ext <<_ACEOF
73568 /* confdefs.h.  */
73569 _ACEOF
73570 cat confdefs.h >>conftest.$ac_ext
73571 cat >>conftest.$ac_ext <<_ACEOF
73572 /* end confdefs.h.  */
73573
73574       #include <wchar.h>
73575       #include <stddef.h>
73576 int
73577 main ()
73578 {
73579 wint_t i = WEOF;
73580   ;
73581   return 0;
73582 }
73583 _ACEOF
73584 rm -f conftest.$ac_objext
73585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73586   (eval $ac_compile) 2>conftest.er1
73587   ac_status=$?
73588   grep -v '^ *+' conftest.er1 >conftest.err
73589   rm -f conftest.er1
73590   cat conftest.err >&5
73591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73592   (exit $ac_status); } &&
73593          { ac_try='test -z "$ac_c_werror_flag"
73594                          || test ! -s conftest.err'
73595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73596   (eval $ac_try) 2>&5
73597   ac_status=$?
73598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73599   (exit $ac_status); }; } &&
73600          { ac_try='test -s conftest.$ac_objext'
73601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73602   (eval $ac_try) 2>&5
73603   ac_status=$?
73604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73605   (exit $ac_status); }; }; then
73606   has_weof=yes
73607 else
73608   echo "$as_me: failed program was:" >&5
73609 sed 's/^/| /' conftest.$ac_ext >&5
73610
73611 has_weof=no
73612 fi
73613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73614     echo "$as_me:$LINENO: result: $has_weof" >&5
73615 echo "${ECHO_T}$has_weof" >&6
73616
73617     # Tests for wide character functions used in char_traits<wchar_t>.
73618     ac_wfuncs=yes
73619
73620
73621
73622
73623
73624
73625 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
73626 do
73627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73628 echo "$as_me:$LINENO: checking for $ac_func" >&5
73629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73630 if eval "test \"\${$as_ac_var+set}\" = set"; then
73631   echo $ECHO_N "(cached) $ECHO_C" >&6
73632 else
73633   if test x$gcc_no_link = xyes; then
73634   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73636    { (exit 1); exit 1; }; }
73637 fi
73638 cat >conftest.$ac_ext <<_ACEOF
73639 /* confdefs.h.  */
73640 _ACEOF
73641 cat confdefs.h >>conftest.$ac_ext
73642 cat >>conftest.$ac_ext <<_ACEOF
73643 /* end confdefs.h.  */
73644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73645    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73646 #define $ac_func innocuous_$ac_func
73647
73648 /* System header to define __stub macros and hopefully few prototypes,
73649     which can conflict with char $ac_func (); below.
73650     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73651     <limits.h> exists even on freestanding compilers.  */
73652
73653 #ifdef __STDC__
73654 # include <limits.h>
73655 #else
73656 # include <assert.h>
73657 #endif
73658
73659 #undef $ac_func
73660
73661 /* Override any gcc2 internal prototype to avoid an error.  */
73662 #ifdef __cplusplus
73663 extern "C"
73664 {
73665 #endif
73666 /* We use char because int might match the return type of a gcc2
73667    builtin and then its argument prototype would still apply.  */
73668 char $ac_func ();
73669 /* The GNU C library defines this for functions which it implements
73670     to always fail with ENOSYS.  Some functions are actually named
73671     something starting with __ and the normal name is an alias.  */
73672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73673 choke me
73674 #else
73675 char (*f) () = $ac_func;
73676 #endif
73677 #ifdef __cplusplus
73678 }
73679 #endif
73680
73681 int
73682 main ()
73683 {
73684 return f != $ac_func;
73685   ;
73686   return 0;
73687 }
73688 _ACEOF
73689 rm -f conftest.$ac_objext conftest$ac_exeext
73690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73691   (eval $ac_link) 2>conftest.er1
73692   ac_status=$?
73693   grep -v '^ *+' conftest.er1 >conftest.err
73694   rm -f conftest.er1
73695   cat conftest.err >&5
73696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73697   (exit $ac_status); } &&
73698          { ac_try='test -z "$ac_c_werror_flag"
73699                          || test ! -s conftest.err'
73700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73701   (eval $ac_try) 2>&5
73702   ac_status=$?
73703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73704   (exit $ac_status); }; } &&
73705          { ac_try='test -s conftest$ac_exeext'
73706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73707   (eval $ac_try) 2>&5
73708   ac_status=$?
73709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73710   (exit $ac_status); }; }; then
73711   eval "$as_ac_var=yes"
73712 else
73713   echo "$as_me: failed program was:" >&5
73714 sed 's/^/| /' conftest.$ac_ext >&5
73715
73716 eval "$as_ac_var=no"
73717 fi
73718 rm -f conftest.err conftest.$ac_objext \
73719       conftest$ac_exeext conftest.$ac_ext
73720 fi
73721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73723 if test `eval echo '${'$as_ac_var'}'` = yes; then
73724   cat >>confdefs.h <<_ACEOF
73725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73726 _ACEOF
73727
73728 else
73729   ac_wfuncs=no
73730 fi
73731 done
73732
73733
73734     # Checks for names injected into std:: by the c_std headers.
73735
73736
73737
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 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
73782     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
73783     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
73784     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
73785     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
73786     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
73787 do
73788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73789 echo "$as_me:$LINENO: checking for $ac_func" >&5
73790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73791 if eval "test \"\${$as_ac_var+set}\" = set"; then
73792   echo $ECHO_N "(cached) $ECHO_C" >&6
73793 else
73794   if test x$gcc_no_link = xyes; then
73795   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73797    { (exit 1); exit 1; }; }
73798 fi
73799 cat >conftest.$ac_ext <<_ACEOF
73800 /* confdefs.h.  */
73801 _ACEOF
73802 cat confdefs.h >>conftest.$ac_ext
73803 cat >>conftest.$ac_ext <<_ACEOF
73804 /* end confdefs.h.  */
73805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73806    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73807 #define $ac_func innocuous_$ac_func
73808
73809 /* System header to define __stub macros and hopefully few prototypes,
73810     which can conflict with char $ac_func (); below.
73811     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73812     <limits.h> exists even on freestanding compilers.  */
73813
73814 #ifdef __STDC__
73815 # include <limits.h>
73816 #else
73817 # include <assert.h>
73818 #endif
73819
73820 #undef $ac_func
73821
73822 /* Override any gcc2 internal prototype to avoid an error.  */
73823 #ifdef __cplusplus
73824 extern "C"
73825 {
73826 #endif
73827 /* We use char because int might match the return type of a gcc2
73828    builtin and then its argument prototype would still apply.  */
73829 char $ac_func ();
73830 /* The GNU C library defines this for functions which it implements
73831     to always fail with ENOSYS.  Some functions are actually named
73832     something starting with __ and the normal name is an alias.  */
73833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73834 choke me
73835 #else
73836 char (*f) () = $ac_func;
73837 #endif
73838 #ifdef __cplusplus
73839 }
73840 #endif
73841
73842 int
73843 main ()
73844 {
73845 return f != $ac_func;
73846   ;
73847   return 0;
73848 }
73849 _ACEOF
73850 rm -f conftest.$ac_objext conftest$ac_exeext
73851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73852   (eval $ac_link) 2>conftest.er1
73853   ac_status=$?
73854   grep -v '^ *+' conftest.er1 >conftest.err
73855   rm -f conftest.er1
73856   cat conftest.err >&5
73857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73858   (exit $ac_status); } &&
73859          { ac_try='test -z "$ac_c_werror_flag"
73860                          || test ! -s conftest.err'
73861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73862   (eval $ac_try) 2>&5
73863   ac_status=$?
73864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73865   (exit $ac_status); }; } &&
73866          { ac_try='test -s conftest$ac_exeext'
73867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73868   (eval $ac_try) 2>&5
73869   ac_status=$?
73870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73871   (exit $ac_status); }; }; then
73872   eval "$as_ac_var=yes"
73873 else
73874   echo "$as_me: failed program was:" >&5
73875 sed 's/^/| /' conftest.$ac_ext >&5
73876
73877 eval "$as_ac_var=no"
73878 fi
73879 rm -f conftest.err conftest.$ac_objext \
73880       conftest$ac_exeext conftest.$ac_ext
73881 fi
73882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73884 if test `eval echo '${'$as_ac_var'}'` = yes; then
73885   cat >>confdefs.h <<_ACEOF
73886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73887 _ACEOF
73888
73889 else
73890   ac_wfuncs=no
73891 fi
73892 done
73893
73894
73895     # Checks for wide character functions that are not required
73896     # for basic wchar_t support.  Don't disable support if they are missing.
73897     # Injection of these is wrapped with guard macros.
73898
73899
73900
73901
73902
73903 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
73904 do
73905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73906 echo "$as_me:$LINENO: checking for $ac_func" >&5
73907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73908 if eval "test \"\${$as_ac_var+set}\" = set"; then
73909   echo $ECHO_N "(cached) $ECHO_C" >&6
73910 else
73911   if test x$gcc_no_link = xyes; then
73912   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73914    { (exit 1); exit 1; }; }
73915 fi
73916 cat >conftest.$ac_ext <<_ACEOF
73917 /* confdefs.h.  */
73918 _ACEOF
73919 cat confdefs.h >>conftest.$ac_ext
73920 cat >>conftest.$ac_ext <<_ACEOF
73921 /* end confdefs.h.  */
73922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73923    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73924 #define $ac_func innocuous_$ac_func
73925
73926 /* System header to define __stub macros and hopefully few prototypes,
73927     which can conflict with char $ac_func (); below.
73928     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73929     <limits.h> exists even on freestanding compilers.  */
73930
73931 #ifdef __STDC__
73932 # include <limits.h>
73933 #else
73934 # include <assert.h>
73935 #endif
73936
73937 #undef $ac_func
73938
73939 /* Override any gcc2 internal prototype to avoid an error.  */
73940 #ifdef __cplusplus
73941 extern "C"
73942 {
73943 #endif
73944 /* We use char because int might match the return type of a gcc2
73945    builtin and then its argument prototype would still apply.  */
73946 char $ac_func ();
73947 /* The GNU C library defines this for functions which it implements
73948     to always fail with ENOSYS.  Some functions are actually named
73949     something starting with __ and the normal name is an alias.  */
73950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73951 choke me
73952 #else
73953 char (*f) () = $ac_func;
73954 #endif
73955 #ifdef __cplusplus
73956 }
73957 #endif
73958
73959 int
73960 main ()
73961 {
73962 return f != $ac_func;
73963   ;
73964   return 0;
73965 }
73966 _ACEOF
73967 rm -f conftest.$ac_objext conftest$ac_exeext
73968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73969   (eval $ac_link) 2>conftest.er1
73970   ac_status=$?
73971   grep -v '^ *+' conftest.er1 >conftest.err
73972   rm -f conftest.er1
73973   cat conftest.err >&5
73974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73975   (exit $ac_status); } &&
73976          { ac_try='test -z "$ac_c_werror_flag"
73977                          || test ! -s conftest.err'
73978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73979   (eval $ac_try) 2>&5
73980   ac_status=$?
73981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73982   (exit $ac_status); }; } &&
73983          { ac_try='test -s conftest$ac_exeext'
73984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73985   (eval $ac_try) 2>&5
73986   ac_status=$?
73987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73988   (exit $ac_status); }; }; then
73989   eval "$as_ac_var=yes"
73990 else
73991   echo "$as_me: failed program was:" >&5
73992 sed 's/^/| /' conftest.$ac_ext >&5
73993
73994 eval "$as_ac_var=no"
73995 fi
73996 rm -f conftest.err conftest.$ac_objext \
73997       conftest$ac_exeext conftest.$ac_ext
73998 fi
73999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74001 if test `eval echo '${'$as_ac_var'}'` = yes; then
74002   cat >>confdefs.h <<_ACEOF
74003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74004 _ACEOF
74005
74006 fi
74007 done
74008
74009
74010     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
74011 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
74012     if test x"$has_weof" = xyes &&
74013        test x"$has_wchar_minmax" = xyes &&
74014        test x"$ac_wfuncs" = xyes;
74015     then
74016       ac_isoC99_wchar_t=yes
74017     else
74018       ac_isoC99_wchar_t=no
74019     fi
74020     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
74021 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
74022
74023     # Use iconv for wchar_t to char conversions. As such, check for
74024     # X/Open Portability Guide, version 2 features (XPG2).
74025     if test "${ac_cv_header_iconv_h+set}" = set; then
74026   echo "$as_me:$LINENO: checking for iconv.h" >&5
74027 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74028 if test "${ac_cv_header_iconv_h+set}" = set; then
74029   echo $ECHO_N "(cached) $ECHO_C" >&6
74030 fi
74031 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74032 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74033 else
74034   # Is the header compilable?
74035 echo "$as_me:$LINENO: checking iconv.h usability" >&5
74036 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
74037 cat >conftest.$ac_ext <<_ACEOF
74038 /* confdefs.h.  */
74039 _ACEOF
74040 cat confdefs.h >>conftest.$ac_ext
74041 cat >>conftest.$ac_ext <<_ACEOF
74042 /* end confdefs.h.  */
74043 $ac_includes_default
74044 #include <iconv.h>
74045 _ACEOF
74046 rm -f conftest.$ac_objext
74047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74048   (eval $ac_compile) 2>conftest.er1
74049   ac_status=$?
74050   grep -v '^ *+' conftest.er1 >conftest.err
74051   rm -f conftest.er1
74052   cat conftest.err >&5
74053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74054   (exit $ac_status); } &&
74055          { ac_try='test -z "$ac_c_werror_flag"
74056                          || test ! -s conftest.err'
74057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74058   (eval $ac_try) 2>&5
74059   ac_status=$?
74060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74061   (exit $ac_status); }; } &&
74062          { ac_try='test -s conftest.$ac_objext'
74063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74064   (eval $ac_try) 2>&5
74065   ac_status=$?
74066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74067   (exit $ac_status); }; }; then
74068   ac_header_compiler=yes
74069 else
74070   echo "$as_me: failed program was:" >&5
74071 sed 's/^/| /' conftest.$ac_ext >&5
74072
74073 ac_header_compiler=no
74074 fi
74075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74076 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74077 echo "${ECHO_T}$ac_header_compiler" >&6
74078
74079 # Is the header present?
74080 echo "$as_me:$LINENO: checking iconv.h presence" >&5
74081 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
74082 cat >conftest.$ac_ext <<_ACEOF
74083 /* confdefs.h.  */
74084 _ACEOF
74085 cat confdefs.h >>conftest.$ac_ext
74086 cat >>conftest.$ac_ext <<_ACEOF
74087 /* end confdefs.h.  */
74088 #include <iconv.h>
74089 _ACEOF
74090 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74091   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74092   ac_status=$?
74093   grep -v '^ *+' conftest.er1 >conftest.err
74094   rm -f conftest.er1
74095   cat conftest.err >&5
74096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74097   (exit $ac_status); } >/dev/null; then
74098   if test -s conftest.err; then
74099     ac_cpp_err=$ac_c_preproc_warn_flag
74100     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74101   else
74102     ac_cpp_err=
74103   fi
74104 else
74105   ac_cpp_err=yes
74106 fi
74107 if test -z "$ac_cpp_err"; then
74108   ac_header_preproc=yes
74109 else
74110   echo "$as_me: failed program was:" >&5
74111 sed 's/^/| /' conftest.$ac_ext >&5
74112
74113   ac_header_preproc=no
74114 fi
74115 rm -f conftest.err conftest.$ac_ext
74116 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74117 echo "${ECHO_T}$ac_header_preproc" >&6
74118
74119 # So?  What about this header?
74120 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74121   yes:no: )
74122     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74123 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74124     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74125 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74126     ac_header_preproc=yes
74127     ;;
74128   no:yes:* )
74129     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74130 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74131     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
74132 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
74133     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74134 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74135     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
74136 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
74137     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74138 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74139     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74140 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74141     (
74142       cat <<\_ASBOX
74143 ## ----------------------------------------- ##
74144 ## Report this to the package-unused lists.  ##
74145 ## ----------------------------------------- ##
74146 _ASBOX
74147     ) |
74148       sed "s/^/$as_me: WARNING:     /" >&2
74149     ;;
74150 esac
74151 echo "$as_me:$LINENO: checking for iconv.h" >&5
74152 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74153 if test "${ac_cv_header_iconv_h+set}" = set; then
74154   echo $ECHO_N "(cached) $ECHO_C" >&6
74155 else
74156   ac_cv_header_iconv_h=$ac_header_preproc
74157 fi
74158 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74159 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74160
74161 fi
74162 if test $ac_cv_header_iconv_h = yes; then
74163   ac_has_iconv_h=yes
74164 else
74165   ac_has_iconv_h=no
74166 fi
74167
74168
74169     if test "${ac_cv_header_langinfo_h+set}" = set; then
74170   echo "$as_me:$LINENO: checking for langinfo.h" >&5
74171 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74172 if test "${ac_cv_header_langinfo_h+set}" = set; then
74173   echo $ECHO_N "(cached) $ECHO_C" >&6
74174 fi
74175 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74176 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74177 else
74178   # Is the header compilable?
74179 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74180 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74181 cat >conftest.$ac_ext <<_ACEOF
74182 /* confdefs.h.  */
74183 _ACEOF
74184 cat confdefs.h >>conftest.$ac_ext
74185 cat >>conftest.$ac_ext <<_ACEOF
74186 /* end confdefs.h.  */
74187 $ac_includes_default
74188 #include <langinfo.h>
74189 _ACEOF
74190 rm -f conftest.$ac_objext
74191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74192   (eval $ac_compile) 2>conftest.er1
74193   ac_status=$?
74194   grep -v '^ *+' conftest.er1 >conftest.err
74195   rm -f conftest.er1
74196   cat conftest.err >&5
74197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74198   (exit $ac_status); } &&
74199          { ac_try='test -z "$ac_c_werror_flag"
74200                          || test ! -s conftest.err'
74201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74202   (eval $ac_try) 2>&5
74203   ac_status=$?
74204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74205   (exit $ac_status); }; } &&
74206          { ac_try='test -s conftest.$ac_objext'
74207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74208   (eval $ac_try) 2>&5
74209   ac_status=$?
74210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74211   (exit $ac_status); }; }; then
74212   ac_header_compiler=yes
74213 else
74214   echo "$as_me: failed program was:" >&5
74215 sed 's/^/| /' conftest.$ac_ext >&5
74216
74217 ac_header_compiler=no
74218 fi
74219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74220 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74221 echo "${ECHO_T}$ac_header_compiler" >&6
74222
74223 # Is the header present?
74224 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
74225 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
74226 cat >conftest.$ac_ext <<_ACEOF
74227 /* confdefs.h.  */
74228 _ACEOF
74229 cat confdefs.h >>conftest.$ac_ext
74230 cat >>conftest.$ac_ext <<_ACEOF
74231 /* end confdefs.h.  */
74232 #include <langinfo.h>
74233 _ACEOF
74234 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74235   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74236   ac_status=$?
74237   grep -v '^ *+' conftest.er1 >conftest.err
74238   rm -f conftest.er1
74239   cat conftest.err >&5
74240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74241   (exit $ac_status); } >/dev/null; then
74242   if test -s conftest.err; then
74243     ac_cpp_err=$ac_c_preproc_warn_flag
74244     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74245   else
74246     ac_cpp_err=
74247   fi
74248 else
74249   ac_cpp_err=yes
74250 fi
74251 if test -z "$ac_cpp_err"; then
74252   ac_header_preproc=yes
74253 else
74254   echo "$as_me: failed program was:" >&5
74255 sed 's/^/| /' conftest.$ac_ext >&5
74256
74257   ac_header_preproc=no
74258 fi
74259 rm -f conftest.err conftest.$ac_ext
74260 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74261 echo "${ECHO_T}$ac_header_preproc" >&6
74262
74263 # So?  What about this header?
74264 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74265   yes:no: )
74266     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
74267 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74268     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
74269 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
74270     ac_header_preproc=yes
74271     ;;
74272   no:yes:* )
74273     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
74274 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
74275     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
74276 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
74277     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
74278 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
74279     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
74280 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
74281     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
74282 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
74283     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
74284 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
74285     (
74286       cat <<\_ASBOX
74287 ## ----------------------------------------- ##
74288 ## Report this to the package-unused lists.  ##
74289 ## ----------------------------------------- ##
74290 _ASBOX
74291     ) |
74292       sed "s/^/$as_me: WARNING:     /" >&2
74293     ;;
74294 esac
74295 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74296 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74297 if test "${ac_cv_header_langinfo_h+set}" = set; then
74298   echo $ECHO_N "(cached) $ECHO_C" >&6
74299 else
74300   ac_cv_header_langinfo_h=$ac_header_preproc
74301 fi
74302 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74303 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74304
74305 fi
74306 if test $ac_cv_header_langinfo_h = yes; then
74307   ac_has_langinfo_h=yes
74308 else
74309   ac_has_langinfo_h=no
74310 fi
74311
74312
74313
74314     # Check for existence of libiconv.a providing XPG2 wchar_t support.
74315     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
74316 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
74317 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
74318   echo $ECHO_N "(cached) $ECHO_C" >&6
74319 else
74320   ac_check_lib_save_LIBS=$LIBS
74321 LIBS="-liconv  $LIBS"
74322 if test x$gcc_no_link = xyes; then
74323   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74325    { (exit 1); exit 1; }; }
74326 fi
74327 cat >conftest.$ac_ext <<_ACEOF
74328 /* confdefs.h.  */
74329 _ACEOF
74330 cat confdefs.h >>conftest.$ac_ext
74331 cat >>conftest.$ac_ext <<_ACEOF
74332 /* end confdefs.h.  */
74333
74334 /* Override any gcc2 internal prototype to avoid an error.  */
74335 #ifdef __cplusplus
74336 extern "C"
74337 #endif
74338 /* We use char because int might match the return type of a gcc2
74339    builtin and then its argument prototype would still apply.  */
74340 char iconv ();
74341 int
74342 main ()
74343 {
74344 iconv ();
74345   ;
74346   return 0;
74347 }
74348 _ACEOF
74349 rm -f conftest.$ac_objext conftest$ac_exeext
74350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74351   (eval $ac_link) 2>conftest.er1
74352   ac_status=$?
74353   grep -v '^ *+' conftest.er1 >conftest.err
74354   rm -f conftest.er1
74355   cat conftest.err >&5
74356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74357   (exit $ac_status); } &&
74358          { ac_try='test -z "$ac_c_werror_flag"
74359                          || test ! -s conftest.err'
74360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74361   (eval $ac_try) 2>&5
74362   ac_status=$?
74363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74364   (exit $ac_status); }; } &&
74365          { ac_try='test -s conftest$ac_exeext'
74366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74367   (eval $ac_try) 2>&5
74368   ac_status=$?
74369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74370   (exit $ac_status); }; }; then
74371   ac_cv_lib_iconv_iconv=yes
74372 else
74373   echo "$as_me: failed program was:" >&5
74374 sed 's/^/| /' conftest.$ac_ext >&5
74375
74376 ac_cv_lib_iconv_iconv=no
74377 fi
74378 rm -f conftest.err conftest.$ac_objext \
74379       conftest$ac_exeext conftest.$ac_ext
74380 LIBS=$ac_check_lib_save_LIBS
74381 fi
74382 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
74383 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
74384 if test $ac_cv_lib_iconv_iconv = yes; then
74385   LIBICONV="-liconv"
74386 fi
74387
74388     ac_save_LIBS="$LIBS"
74389     LIBS="$LIBS $LIBICONV"
74390
74391
74392
74393
74394
74395
74396 for ac_func in iconv_open iconv_close iconv nl_langinfo
74397 do
74398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74399 echo "$as_me:$LINENO: checking for $ac_func" >&5
74400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74401 if eval "test \"\${$as_ac_var+set}\" = set"; then
74402   echo $ECHO_N "(cached) $ECHO_C" >&6
74403 else
74404   if test x$gcc_no_link = xyes; then
74405   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74407    { (exit 1); exit 1; }; }
74408 fi
74409 cat >conftest.$ac_ext <<_ACEOF
74410 /* confdefs.h.  */
74411 _ACEOF
74412 cat confdefs.h >>conftest.$ac_ext
74413 cat >>conftest.$ac_ext <<_ACEOF
74414 /* end confdefs.h.  */
74415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74416    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74417 #define $ac_func innocuous_$ac_func
74418
74419 /* System header to define __stub macros and hopefully few prototypes,
74420     which can conflict with char $ac_func (); below.
74421     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74422     <limits.h> exists even on freestanding compilers.  */
74423
74424 #ifdef __STDC__
74425 # include <limits.h>
74426 #else
74427 # include <assert.h>
74428 #endif
74429
74430 #undef $ac_func
74431
74432 /* Override any gcc2 internal prototype to avoid an error.  */
74433 #ifdef __cplusplus
74434 extern "C"
74435 {
74436 #endif
74437 /* We use char because int might match the return type of a gcc2
74438    builtin and then its argument prototype would still apply.  */
74439 char $ac_func ();
74440 /* The GNU C library defines this for functions which it implements
74441     to always fail with ENOSYS.  Some functions are actually named
74442     something starting with __ and the normal name is an alias.  */
74443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74444 choke me
74445 #else
74446 char (*f) () = $ac_func;
74447 #endif
74448 #ifdef __cplusplus
74449 }
74450 #endif
74451
74452 int
74453 main ()
74454 {
74455 return f != $ac_func;
74456   ;
74457   return 0;
74458 }
74459 _ACEOF
74460 rm -f conftest.$ac_objext conftest$ac_exeext
74461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74462   (eval $ac_link) 2>conftest.er1
74463   ac_status=$?
74464   grep -v '^ *+' conftest.er1 >conftest.err
74465   rm -f conftest.er1
74466   cat conftest.err >&5
74467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74468   (exit $ac_status); } &&
74469          { ac_try='test -z "$ac_c_werror_flag"
74470                          || test ! -s conftest.err'
74471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74472   (eval $ac_try) 2>&5
74473   ac_status=$?
74474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74475   (exit $ac_status); }; } &&
74476          { ac_try='test -s conftest$ac_exeext'
74477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74478   (eval $ac_try) 2>&5
74479   ac_status=$?
74480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74481   (exit $ac_status); }; }; then
74482   eval "$as_ac_var=yes"
74483 else
74484   echo "$as_me: failed program was:" >&5
74485 sed 's/^/| /' conftest.$ac_ext >&5
74486
74487 eval "$as_ac_var=no"
74488 fi
74489 rm -f conftest.err conftest.$ac_objext \
74490       conftest$ac_exeext conftest.$ac_ext
74491 fi
74492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74494 if test `eval echo '${'$as_ac_var'}'` = yes; then
74495   cat >>confdefs.h <<_ACEOF
74496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74497 _ACEOF
74498  ac_XPG2funcs=yes
74499 else
74500   ac_XPG2funcs=no
74501 fi
74502 done
74503
74504
74505     LIBS="$ac_save_LIBS"
74506
74507     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
74508 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
74509     if test x"$ac_has_iconv_h" = xyes &&
74510        test x"$ac_has_langinfo_h" = xyes &&
74511        test x"$ac_XPG2funcs" = xyes;
74512     then
74513       ac_XPG2_wchar_t=yes
74514     else
74515       ac_XPG2_wchar_t=no
74516     fi
74517     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
74518 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
74519
74520     # At the moment, only enable wchar_t specializations if all the
74521     # above support is present.
74522     if test x"$ac_isoC99_wchar_t" = xyes &&
74523        test x"$ac_XPG2_wchar_t" = xyes;
74524     then
74525       cat >>confdefs.h <<\_ACEOF
74526 #define _GLIBCXX_USE_WCHAR_T 1
74527 _ACEOF
74528
74529       enable_wchar_t=yes
74530     fi
74531   fi
74532   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
74533 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
74534   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
74535 echo "${ECHO_T}$enable_wchar_t" >&6
74536
74537
74538   ac_test_CXXFLAGS="${CXXFLAGS+set}"
74539   ac_save_CXXFLAGS="$CXXFLAGS"
74540   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
74541
74542
74543   echo "$as_me:$LINENO: checking for strtold declaration" >&5
74544 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
74545   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
74546     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
74547   echo $ECHO_N "(cached) $ECHO_C" >&6
74548 else
74549
74550
74551
74552       ac_ext=cc
74553 ac_cpp='$CXXCPP $CPPFLAGS'
74554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74557
74558       cat >conftest.$ac_ext <<_ACEOF
74559 /* confdefs.h.  */
74560 _ACEOF
74561 cat confdefs.h >>conftest.$ac_ext
74562 cat >>conftest.$ac_ext <<_ACEOF
74563 /* end confdefs.h.  */
74564 #include <stdlib.h>
74565 int
74566 main ()
74567 {
74568  strtold(0, 0);
74569   ;
74570   return 0;
74571 }
74572 _ACEOF
74573 rm -f conftest.$ac_objext
74574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74575   (eval $ac_compile) 2>conftest.er1
74576   ac_status=$?
74577   grep -v '^ *+' conftest.er1 >conftest.err
74578   rm -f conftest.er1
74579   cat conftest.err >&5
74580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74581   (exit $ac_status); } &&
74582          { ac_try='test -z "$ac_cxx_werror_flag"
74583                          || test ! -s conftest.err'
74584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74585   (eval $ac_try) 2>&5
74586   ac_status=$?
74587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74588   (exit $ac_status); }; } &&
74589          { ac_try='test -s conftest.$ac_objext'
74590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74591   (eval $ac_try) 2>&5
74592   ac_status=$?
74593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74594   (exit $ac_status); }; }; then
74595   glibcxx_cv_func_strtold_use=yes
74596 else
74597   echo "$as_me: failed program was:" >&5
74598 sed 's/^/| /' conftest.$ac_ext >&5
74599
74600 glibcxx_cv_func_strtold_use=no
74601 fi
74602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74603       ac_ext=c
74604 ac_cpp='$CPP $CPPFLAGS'
74605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74608
74609
74610 fi
74611
74612   fi
74613   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
74614 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
74615   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
74616
74617 for ac_func in strtold
74618 do
74619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74620 echo "$as_me:$LINENO: checking for $ac_func" >&5
74621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74622 if eval "test \"\${$as_ac_var+set}\" = set"; then
74623   echo $ECHO_N "(cached) $ECHO_C" >&6
74624 else
74625   if test x$gcc_no_link = xyes; then
74626   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74628    { (exit 1); exit 1; }; }
74629 fi
74630 cat >conftest.$ac_ext <<_ACEOF
74631 /* confdefs.h.  */
74632 _ACEOF
74633 cat confdefs.h >>conftest.$ac_ext
74634 cat >>conftest.$ac_ext <<_ACEOF
74635 /* end confdefs.h.  */
74636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74637    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74638 #define $ac_func innocuous_$ac_func
74639
74640 /* System header to define __stub macros and hopefully few prototypes,
74641     which can conflict with char $ac_func (); below.
74642     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74643     <limits.h> exists even on freestanding compilers.  */
74644
74645 #ifdef __STDC__
74646 # include <limits.h>
74647 #else
74648 # include <assert.h>
74649 #endif
74650
74651 #undef $ac_func
74652
74653 /* Override any gcc2 internal prototype to avoid an error.  */
74654 #ifdef __cplusplus
74655 extern "C"
74656 {
74657 #endif
74658 /* We use char because int might match the return type of a gcc2
74659    builtin and then its argument prototype would still apply.  */
74660 char $ac_func ();
74661 /* The GNU C library defines this for functions which it implements
74662     to always fail with ENOSYS.  Some functions are actually named
74663     something starting with __ and the normal name is an alias.  */
74664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74665 choke me
74666 #else
74667 char (*f) () = $ac_func;
74668 #endif
74669 #ifdef __cplusplus
74670 }
74671 #endif
74672
74673 int
74674 main ()
74675 {
74676 return f != $ac_func;
74677   ;
74678   return 0;
74679 }
74680 _ACEOF
74681 rm -f conftest.$ac_objext conftest$ac_exeext
74682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74683   (eval $ac_link) 2>conftest.er1
74684   ac_status=$?
74685   grep -v '^ *+' conftest.er1 >conftest.err
74686   rm -f conftest.er1
74687   cat conftest.err >&5
74688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74689   (exit $ac_status); } &&
74690          { ac_try='test -z "$ac_c_werror_flag"
74691                          || test ! -s conftest.err'
74692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74693   (eval $ac_try) 2>&5
74694   ac_status=$?
74695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74696   (exit $ac_status); }; } &&
74697          { ac_try='test -s conftest$ac_exeext'
74698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74699   (eval $ac_try) 2>&5
74700   ac_status=$?
74701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74702   (exit $ac_status); }; }; then
74703   eval "$as_ac_var=yes"
74704 else
74705   echo "$as_me: failed program was:" >&5
74706 sed 's/^/| /' conftest.$ac_ext >&5
74707
74708 eval "$as_ac_var=no"
74709 fi
74710 rm -f conftest.err conftest.$ac_objext \
74711       conftest$ac_exeext conftest.$ac_ext
74712 fi
74713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74715 if test `eval echo '${'$as_ac_var'}'` = yes; then
74716   cat >>confdefs.h <<_ACEOF
74717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74718 _ACEOF
74719
74720 fi
74721 done
74722
74723   fi
74724
74725
74726   echo "$as_me:$LINENO: checking for strtof declaration" >&5
74727 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
74728   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
74729     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
74730   echo $ECHO_N "(cached) $ECHO_C" >&6
74731 else
74732
74733
74734
74735       ac_ext=cc
74736 ac_cpp='$CXXCPP $CPPFLAGS'
74737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74740
74741       cat >conftest.$ac_ext <<_ACEOF
74742 /* confdefs.h.  */
74743 _ACEOF
74744 cat confdefs.h >>conftest.$ac_ext
74745 cat >>conftest.$ac_ext <<_ACEOF
74746 /* end confdefs.h.  */
74747 #include <stdlib.h>
74748 int
74749 main ()
74750 {
74751  strtof(0, 0);
74752   ;
74753   return 0;
74754 }
74755 _ACEOF
74756 rm -f conftest.$ac_objext
74757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74758   (eval $ac_compile) 2>conftest.er1
74759   ac_status=$?
74760   grep -v '^ *+' conftest.er1 >conftest.err
74761   rm -f conftest.er1
74762   cat conftest.err >&5
74763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74764   (exit $ac_status); } &&
74765          { ac_try='test -z "$ac_cxx_werror_flag"
74766                          || test ! -s conftest.err'
74767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74768   (eval $ac_try) 2>&5
74769   ac_status=$?
74770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74771   (exit $ac_status); }; } &&
74772          { ac_try='test -s conftest.$ac_objext'
74773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74774   (eval $ac_try) 2>&5
74775   ac_status=$?
74776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74777   (exit $ac_status); }; }; then
74778   glibcxx_cv_func_strtof_use=yes
74779 else
74780   echo "$as_me: failed program was:" >&5
74781 sed 's/^/| /' conftest.$ac_ext >&5
74782
74783 glibcxx_cv_func_strtof_use=no
74784 fi
74785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74786       ac_ext=c
74787 ac_cpp='$CPP $CPPFLAGS'
74788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74791
74792
74793 fi
74794
74795   fi
74796   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
74797 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
74798   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
74799
74800 for ac_func in strtof
74801 do
74802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74803 echo "$as_me:$LINENO: checking for $ac_func" >&5
74804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74805 if eval "test \"\${$as_ac_var+set}\" = set"; then
74806   echo $ECHO_N "(cached) $ECHO_C" >&6
74807 else
74808   if test x$gcc_no_link = xyes; then
74809   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74811    { (exit 1); exit 1; }; }
74812 fi
74813 cat >conftest.$ac_ext <<_ACEOF
74814 /* confdefs.h.  */
74815 _ACEOF
74816 cat confdefs.h >>conftest.$ac_ext
74817 cat >>conftest.$ac_ext <<_ACEOF
74818 /* end confdefs.h.  */
74819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74820    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74821 #define $ac_func innocuous_$ac_func
74822
74823 /* System header to define __stub macros and hopefully few prototypes,
74824     which can conflict with char $ac_func (); below.
74825     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74826     <limits.h> exists even on freestanding compilers.  */
74827
74828 #ifdef __STDC__
74829 # include <limits.h>
74830 #else
74831 # include <assert.h>
74832 #endif
74833
74834 #undef $ac_func
74835
74836 /* Override any gcc2 internal prototype to avoid an error.  */
74837 #ifdef __cplusplus
74838 extern "C"
74839 {
74840 #endif
74841 /* We use char because int might match the return type of a gcc2
74842    builtin and then its argument prototype would still apply.  */
74843 char $ac_func ();
74844 /* The GNU C library defines this for functions which it implements
74845     to always fail with ENOSYS.  Some functions are actually named
74846     something starting with __ and the normal name is an alias.  */
74847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74848 choke me
74849 #else
74850 char (*f) () = $ac_func;
74851 #endif
74852 #ifdef __cplusplus
74853 }
74854 #endif
74855
74856 int
74857 main ()
74858 {
74859 return f != $ac_func;
74860   ;
74861   return 0;
74862 }
74863 _ACEOF
74864 rm -f conftest.$ac_objext conftest$ac_exeext
74865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74866   (eval $ac_link) 2>conftest.er1
74867   ac_status=$?
74868   grep -v '^ *+' conftest.er1 >conftest.err
74869   rm -f conftest.er1
74870   cat conftest.err >&5
74871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74872   (exit $ac_status); } &&
74873          { ac_try='test -z "$ac_c_werror_flag"
74874                          || test ! -s conftest.err'
74875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74876   (eval $ac_try) 2>&5
74877   ac_status=$?
74878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74879   (exit $ac_status); }; } &&
74880          { ac_try='test -s conftest$ac_exeext'
74881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74882   (eval $ac_try) 2>&5
74883   ac_status=$?
74884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74885   (exit $ac_status); }; }; then
74886   eval "$as_ac_var=yes"
74887 else
74888   echo "$as_me: failed program was:" >&5
74889 sed 's/^/| /' conftest.$ac_ext >&5
74890
74891 eval "$as_ac_var=no"
74892 fi
74893 rm -f conftest.err conftest.$ac_objext \
74894       conftest$ac_exeext conftest.$ac_ext
74895 fi
74896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74898 if test `eval echo '${'$as_ac_var'}'` = yes; then
74899   cat >>confdefs.h <<_ACEOF
74900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74901 _ACEOF
74902
74903 fi
74904 done
74905
74906   fi
74907
74908
74909   CXXFLAGS="$ac_save_CXXFLAGS"
74910
74911
74912   if test "${glibcxx_cv_S_ISREG+set}" = set; then
74913   echo $ECHO_N "(cached) $ECHO_C" >&6
74914 else
74915
74916     if test x$gcc_no_link = xyes; then
74917   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74919    { (exit 1); exit 1; }; }
74920 fi
74921 cat >conftest.$ac_ext <<_ACEOF
74922 /* confdefs.h.  */
74923 _ACEOF
74924 cat confdefs.h >>conftest.$ac_ext
74925 cat >>conftest.$ac_ext <<_ACEOF
74926 /* end confdefs.h.  */
74927 #include <sys/stat.h>
74928 int
74929 main ()
74930 {
74931 struct stat buffer;
74932        fstat(0, &buffer);
74933        S_ISREG(buffer.st_mode);
74934   ;
74935   return 0;
74936 }
74937 _ACEOF
74938 rm -f conftest.$ac_objext conftest$ac_exeext
74939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74940   (eval $ac_link) 2>conftest.er1
74941   ac_status=$?
74942   grep -v '^ *+' conftest.er1 >conftest.err
74943   rm -f conftest.er1
74944   cat conftest.err >&5
74945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74946   (exit $ac_status); } &&
74947          { ac_try='test -z "$ac_c_werror_flag"
74948                          || test ! -s conftest.err'
74949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74950   (eval $ac_try) 2>&5
74951   ac_status=$?
74952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74953   (exit $ac_status); }; } &&
74954          { ac_try='test -s conftest$ac_exeext'
74955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74956   (eval $ac_try) 2>&5
74957   ac_status=$?
74958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74959   (exit $ac_status); }; }; then
74960   glibcxx_cv_S_ISREG=yes
74961 else
74962   echo "$as_me: failed program was:" >&5
74963 sed 's/^/| /' conftest.$ac_ext >&5
74964
74965 glibcxx_cv_S_ISREG=no
74966 fi
74967 rm -f conftest.err conftest.$ac_objext \
74968       conftest$ac_exeext conftest.$ac_ext
74969
74970 fi
74971
74972   if test "${glibcxx_cv_S_IFREG+set}" = set; then
74973   echo $ECHO_N "(cached) $ECHO_C" >&6
74974 else
74975
74976     if test x$gcc_no_link = xyes; then
74977   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74979    { (exit 1); exit 1; }; }
74980 fi
74981 cat >conftest.$ac_ext <<_ACEOF
74982 /* confdefs.h.  */
74983 _ACEOF
74984 cat confdefs.h >>conftest.$ac_ext
74985 cat >>conftest.$ac_ext <<_ACEOF
74986 /* end confdefs.h.  */
74987 #include <sys/stat.h>
74988 int
74989 main ()
74990 {
74991 struct stat buffer;
74992        fstat(0, &buffer);
74993        S_IFREG & buffer.st_mode;
74994   ;
74995   return 0;
74996 }
74997 _ACEOF
74998 rm -f conftest.$ac_objext conftest$ac_exeext
74999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75000   (eval $ac_link) 2>conftest.er1
75001   ac_status=$?
75002   grep -v '^ *+' conftest.er1 >conftest.err
75003   rm -f conftest.er1
75004   cat conftest.err >&5
75005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75006   (exit $ac_status); } &&
75007          { ac_try='test -z "$ac_c_werror_flag"
75008                          || test ! -s conftest.err'
75009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75010   (eval $ac_try) 2>&5
75011   ac_status=$?
75012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75013   (exit $ac_status); }; } &&
75014          { ac_try='test -s conftest$ac_exeext'
75015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75016   (eval $ac_try) 2>&5
75017   ac_status=$?
75018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75019   (exit $ac_status); }; }; then
75020   glibcxx_cv_S_IFREG=yes
75021 else
75022   echo "$as_me: failed program was:" >&5
75023 sed 's/^/| /' conftest.$ac_ext >&5
75024
75025 glibcxx_cv_S_IFREG=no
75026 fi
75027 rm -f conftest.err conftest.$ac_objext \
75028       conftest$ac_exeext conftest.$ac_ext
75029
75030 fi
75031
75032   if test $glibcxx_cv_S_ISREG = yes; then
75033     cat >>confdefs.h <<\_ACEOF
75034 #define HAVE_S_ISREG 1
75035 _ACEOF
75036
75037   elif test $glibcxx_cv_S_IFREG = yes; then
75038     cat >>confdefs.h <<\_ACEOF
75039 #define HAVE_S_IFREG 1
75040 _ACEOF
75041
75042   fi
75043
75044     cat >>confdefs.h <<\_ACEOF
75045 #define HAVE_WRITEV 1
75046 _ACEOF
75047
75048     ;;
75049
75050   *-freebsd*)
75051
75052
75053
75054
75055
75056
75057
75058
75059
75060
75061
75062
75063
75064
75065
75066
75067 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75068       machine/endian.h machine/param.h sys/machine.h sys/types.h \
75069       fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
75070       sys/time.h unistd.h
75071 do
75072 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75074   echo "$as_me:$LINENO: checking for $ac_header" >&5
75075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75077   echo $ECHO_N "(cached) $ECHO_C" >&6
75078 fi
75079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75081 else
75082   # Is the header compilable?
75083 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75084 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75085 cat >conftest.$ac_ext <<_ACEOF
75086 /* confdefs.h.  */
75087 _ACEOF
75088 cat confdefs.h >>conftest.$ac_ext
75089 cat >>conftest.$ac_ext <<_ACEOF
75090 /* end confdefs.h.  */
75091 $ac_includes_default
75092 #include <$ac_header>
75093 _ACEOF
75094 rm -f conftest.$ac_objext
75095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75096   (eval $ac_compile) 2>conftest.er1
75097   ac_status=$?
75098   grep -v '^ *+' conftest.er1 >conftest.err
75099   rm -f conftest.er1
75100   cat conftest.err >&5
75101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75102   (exit $ac_status); } &&
75103          { ac_try='test -z "$ac_c_werror_flag"
75104                          || test ! -s conftest.err'
75105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75106   (eval $ac_try) 2>&5
75107   ac_status=$?
75108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75109   (exit $ac_status); }; } &&
75110          { ac_try='test -s conftest.$ac_objext'
75111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75112   (eval $ac_try) 2>&5
75113   ac_status=$?
75114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75115   (exit $ac_status); }; }; then
75116   ac_header_compiler=yes
75117 else
75118   echo "$as_me: failed program was:" >&5
75119 sed 's/^/| /' conftest.$ac_ext >&5
75120
75121 ac_header_compiler=no
75122 fi
75123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75124 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75125 echo "${ECHO_T}$ac_header_compiler" >&6
75126
75127 # Is the header present?
75128 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75129 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75130 cat >conftest.$ac_ext <<_ACEOF
75131 /* confdefs.h.  */
75132 _ACEOF
75133 cat confdefs.h >>conftest.$ac_ext
75134 cat >>conftest.$ac_ext <<_ACEOF
75135 /* end confdefs.h.  */
75136 #include <$ac_header>
75137 _ACEOF
75138 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75139   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75140   ac_status=$?
75141   grep -v '^ *+' conftest.er1 >conftest.err
75142   rm -f conftest.er1
75143   cat conftest.err >&5
75144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75145   (exit $ac_status); } >/dev/null; then
75146   if test -s conftest.err; then
75147     ac_cpp_err=$ac_c_preproc_warn_flag
75148     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75149   else
75150     ac_cpp_err=
75151   fi
75152 else
75153   ac_cpp_err=yes
75154 fi
75155 if test -z "$ac_cpp_err"; then
75156   ac_header_preproc=yes
75157 else
75158   echo "$as_me: failed program was:" >&5
75159 sed 's/^/| /' conftest.$ac_ext >&5
75160
75161   ac_header_preproc=no
75162 fi
75163 rm -f conftest.err conftest.$ac_ext
75164 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75165 echo "${ECHO_T}$ac_header_preproc" >&6
75166
75167 # So?  What about this header?
75168 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75169   yes:no: )
75170     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75171 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75172     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75173 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75174     ac_header_preproc=yes
75175     ;;
75176   no:yes:* )
75177     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75178 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75179     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
75180 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
75181     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75182 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75183     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
75184 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
75185     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75186 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75187     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75188 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75189     (
75190       cat <<\_ASBOX
75191 ## ----------------------------------------- ##
75192 ## Report this to the package-unused lists.  ##
75193 ## ----------------------------------------- ##
75194 _ASBOX
75195     ) |
75196       sed "s/^/$as_me: WARNING:     /" >&2
75197     ;;
75198 esac
75199 echo "$as_me:$LINENO: checking for $ac_header" >&5
75200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75201 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75202   echo $ECHO_N "(cached) $ECHO_C" >&6
75203 else
75204   eval "$as_ac_Header=\$ac_header_preproc"
75205 fi
75206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75207 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75208
75209 fi
75210 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75211   cat >>confdefs.h <<_ACEOF
75212 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75213 _ACEOF
75214
75215 fi
75216
75217 done
75218
75219     SECTION_FLAGS='-ffunction-sections -fdata-sections'
75220
75221
75222   # If we're not using GNU ld, then there's no point in even trying these
75223   # tests.  Check for that first.  We should have already tested for gld
75224   # by now (in libtool), but require it now just to be safe...
75225   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75226   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75227
75228
75229
75230   # The name set by libtool depends on the version of libtool.  Shame on us
75231   # for depending on an impl detail, but c'est la vie.  Older versions used
75232   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75233   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75234   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
75235   # set (hence we're using an older libtool), then set it.
75236   if test x${with_gnu_ld+set} != xset; then
75237     if test x${ac_cv_prog_gnu_ld+set} != xset; then
75238       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
75239       with_gnu_ld=no
75240     else
75241       with_gnu_ld=$ac_cv_prog_gnu_ld
75242     fi
75243   fi
75244
75245   # Start by getting the version number.  I think the libtool test already
75246   # does some of this, but throws away the result.
75247
75248   ldver=`$LD --version 2>/dev/null | head -1 | \
75249          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75250
75251   glibcxx_gnu_ld_version=`echo $ldver | \
75252          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75253
75254   # Set --gc-sections.
75255   if test "$with_gnu_ld" = "notbroken"; then
75256     # GNU ld it is!  Joy and bunny rabbits!
75257
75258     # All these tests are for C++; save the language and the compiler flags.
75259     # Need to do this so that g++ won't try to link in libstdc++
75260     ac_test_CFLAGS="${CFLAGS+set}"
75261     ac_save_CFLAGS="$CFLAGS"
75262     CFLAGS='-x c++  -Wl,--gc-sections'
75263
75264     # Check for -Wl,--gc-sections
75265     # XXX This test is broken at the moment, as symbols required for linking
75266     # are now in libsupc++ (not built yet).  In addition, this test has
75267     # cored on solaris in the past.  In addition, --gc-sections doesn't
75268     # really work at the moment (keeps on discarding used sections, first
75269     # .eh_frame and now some of the glibc sections for iconv).
75270     # Bzzzzt.  Thanks for playing, maybe next time.
75271     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75272 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75273     if test "$cross_compiling" = yes; then
75274   ac_sectionLDflags=yes
75275 else
75276   cat >conftest.$ac_ext <<_ACEOF
75277 /* confdefs.h.  */
75278 _ACEOF
75279 cat confdefs.h >>conftest.$ac_ext
75280 cat >>conftest.$ac_ext <<_ACEOF
75281 /* end confdefs.h.  */
75282
75283      int main(void)
75284      {
75285        try { throw 1; }
75286        catch (...) { };
75287        return 0;
75288      }
75289
75290 _ACEOF
75291 rm -f conftest$ac_exeext
75292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75293   (eval $ac_link) 2>&5
75294   ac_status=$?
75295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75296   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
75297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75298   (eval $ac_try) 2>&5
75299   ac_status=$?
75300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75301   (exit $ac_status); }; }; then
75302   ac_sectionLDflags=yes
75303 else
75304   echo "$as_me: program exited with status $ac_status" >&5
75305 echo "$as_me: failed program was:" >&5
75306 sed 's/^/| /' conftest.$ac_ext >&5
75307
75308 ( exit $ac_status )
75309 ac_sectionLDflags=no
75310 fi
75311 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
75312 fi
75313     if test "$ac_test_CFLAGS" = set; then
75314       CFLAGS="$ac_save_CFLAGS"
75315     else
75316       # this is the suspicious part
75317       CFLAGS=''
75318     fi
75319     if test "$ac_sectionLDflags" = "yes"; then
75320       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75321     fi
75322     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
75323 echo "${ECHO_T}$ac_sectionLDflags" >&6
75324   fi
75325
75326   # Set linker optimization flags.
75327   if test x"$with_gnu_ld" = x"yes"; then
75328     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75329   fi
75330
75331
75332
75333
75334
75335
75336 echo "$as_me:$LINENO: checking for main in -lm" >&5
75337 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75338 if test "${ac_cv_lib_m_main+set}" = set; then
75339   echo $ECHO_N "(cached) $ECHO_C" >&6
75340 else
75341   ac_check_lib_save_LIBS=$LIBS
75342 LIBS="-lm  $LIBS"
75343 if test x$gcc_no_link = xyes; then
75344   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75346    { (exit 1); exit 1; }; }
75347 fi
75348 cat >conftest.$ac_ext <<_ACEOF
75349 /* confdefs.h.  */
75350 _ACEOF
75351 cat confdefs.h >>conftest.$ac_ext
75352 cat >>conftest.$ac_ext <<_ACEOF
75353 /* end confdefs.h.  */
75354
75355
75356 int
75357 main ()
75358 {
75359 main ();
75360   ;
75361   return 0;
75362 }
75363 _ACEOF
75364 rm -f conftest.$ac_objext conftest$ac_exeext
75365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75366   (eval $ac_link) 2>conftest.er1
75367   ac_status=$?
75368   grep -v '^ *+' conftest.er1 >conftest.err
75369   rm -f conftest.er1
75370   cat conftest.err >&5
75371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75372   (exit $ac_status); } &&
75373          { ac_try='test -z "$ac_c_werror_flag"
75374                          || test ! -s conftest.err'
75375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75376   (eval $ac_try) 2>&5
75377   ac_status=$?
75378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75379   (exit $ac_status); }; } &&
75380          { ac_try='test -s conftest$ac_exeext'
75381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75382   (eval $ac_try) 2>&5
75383   ac_status=$?
75384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75385   (exit $ac_status); }; }; then
75386   ac_cv_lib_m_main=yes
75387 else
75388   echo "$as_me: failed program was:" >&5
75389 sed 's/^/| /' conftest.$ac_ext >&5
75390
75391 ac_cv_lib_m_main=no
75392 fi
75393 rm -f conftest.err conftest.$ac_objext \
75394       conftest$ac_exeext conftest.$ac_ext
75395 LIBS=$ac_check_lib_save_LIBS
75396 fi
75397 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75398 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75399 if test $ac_cv_lib_m_main = yes; then
75400   cat >>confdefs.h <<_ACEOF
75401 #define HAVE_LIBM 1
75402 _ACEOF
75403
75404   LIBS="-lm $LIBS"
75405
75406 fi
75407
75408
75409 for ac_func in copysignf
75410 do
75411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75412 echo "$as_me:$LINENO: checking for $ac_func" >&5
75413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75414 if eval "test \"\${$as_ac_var+set}\" = set"; then
75415   echo $ECHO_N "(cached) $ECHO_C" >&6
75416 else
75417   if test x$gcc_no_link = xyes; then
75418   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75420    { (exit 1); exit 1; }; }
75421 fi
75422 cat >conftest.$ac_ext <<_ACEOF
75423 /* confdefs.h.  */
75424 _ACEOF
75425 cat confdefs.h >>conftest.$ac_ext
75426 cat >>conftest.$ac_ext <<_ACEOF
75427 /* end confdefs.h.  */
75428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75429    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75430 #define $ac_func innocuous_$ac_func
75431
75432 /* System header to define __stub macros and hopefully few prototypes,
75433     which can conflict with char $ac_func (); below.
75434     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75435     <limits.h> exists even on freestanding compilers.  */
75436
75437 #ifdef __STDC__
75438 # include <limits.h>
75439 #else
75440 # include <assert.h>
75441 #endif
75442
75443 #undef $ac_func
75444
75445 /* Override any gcc2 internal prototype to avoid an error.  */
75446 #ifdef __cplusplus
75447 extern "C"
75448 {
75449 #endif
75450 /* We use char because int might match the return type of a gcc2
75451    builtin and then its argument prototype would still apply.  */
75452 char $ac_func ();
75453 /* The GNU C library defines this for functions which it implements
75454     to always fail with ENOSYS.  Some functions are actually named
75455     something starting with __ and the normal name is an alias.  */
75456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75457 choke me
75458 #else
75459 char (*f) () = $ac_func;
75460 #endif
75461 #ifdef __cplusplus
75462 }
75463 #endif
75464
75465 int
75466 main ()
75467 {
75468 return f != $ac_func;
75469   ;
75470   return 0;
75471 }
75472 _ACEOF
75473 rm -f conftest.$ac_objext conftest$ac_exeext
75474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75475   (eval $ac_link) 2>conftest.er1
75476   ac_status=$?
75477   grep -v '^ *+' conftest.er1 >conftest.err
75478   rm -f conftest.er1
75479   cat conftest.err >&5
75480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75481   (exit $ac_status); } &&
75482          { ac_try='test -z "$ac_c_werror_flag"
75483                          || test ! -s conftest.err'
75484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75485   (eval $ac_try) 2>&5
75486   ac_status=$?
75487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75488   (exit $ac_status); }; } &&
75489          { ac_try='test -s conftest$ac_exeext'
75490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75491   (eval $ac_try) 2>&5
75492   ac_status=$?
75493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75494   (exit $ac_status); }; }; then
75495   eval "$as_ac_var=yes"
75496 else
75497   echo "$as_me: failed program was:" >&5
75498 sed 's/^/| /' conftest.$ac_ext >&5
75499
75500 eval "$as_ac_var=no"
75501 fi
75502 rm -f conftest.err conftest.$ac_objext \
75503       conftest$ac_exeext conftest.$ac_ext
75504 fi
75505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75507 if test `eval echo '${'$as_ac_var'}'` = yes; then
75508   cat >>confdefs.h <<_ACEOF
75509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75510 _ACEOF
75511
75512 else
75513   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75514 fi
75515 done
75516
75517
75518
75519 for ac_func in __signbit
75520 do
75521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75522 echo "$as_me:$LINENO: checking for $ac_func" >&5
75523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75524 if eval "test \"\${$as_ac_var+set}\" = set"; then
75525   echo $ECHO_N "(cached) $ECHO_C" >&6
75526 else
75527   if test x$gcc_no_link = xyes; then
75528   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75530    { (exit 1); exit 1; }; }
75531 fi
75532 cat >conftest.$ac_ext <<_ACEOF
75533 /* confdefs.h.  */
75534 _ACEOF
75535 cat confdefs.h >>conftest.$ac_ext
75536 cat >>conftest.$ac_ext <<_ACEOF
75537 /* end confdefs.h.  */
75538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75539    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75540 #define $ac_func innocuous_$ac_func
75541
75542 /* System header to define __stub macros and hopefully few prototypes,
75543     which can conflict with char $ac_func (); below.
75544     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75545     <limits.h> exists even on freestanding compilers.  */
75546
75547 #ifdef __STDC__
75548 # include <limits.h>
75549 #else
75550 # include <assert.h>
75551 #endif
75552
75553 #undef $ac_func
75554
75555 /* Override any gcc2 internal prototype to avoid an error.  */
75556 #ifdef __cplusplus
75557 extern "C"
75558 {
75559 #endif
75560 /* We use char because int might match the return type of a gcc2
75561    builtin and then its argument prototype would still apply.  */
75562 char $ac_func ();
75563 /* The GNU C library defines this for functions which it implements
75564     to always fail with ENOSYS.  Some functions are actually named
75565     something starting with __ and the normal name is an alias.  */
75566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75567 choke me
75568 #else
75569 char (*f) () = $ac_func;
75570 #endif
75571 #ifdef __cplusplus
75572 }
75573 #endif
75574
75575 int
75576 main ()
75577 {
75578 return f != $ac_func;
75579   ;
75580   return 0;
75581 }
75582 _ACEOF
75583 rm -f conftest.$ac_objext conftest$ac_exeext
75584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75585   (eval $ac_link) 2>conftest.er1
75586   ac_status=$?
75587   grep -v '^ *+' conftest.er1 >conftest.err
75588   rm -f conftest.er1
75589   cat conftest.err >&5
75590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75591   (exit $ac_status); } &&
75592          { ac_try='test -z "$ac_c_werror_flag"
75593                          || test ! -s conftest.err'
75594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75595   (eval $ac_try) 2>&5
75596   ac_status=$?
75597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75598   (exit $ac_status); }; } &&
75599          { ac_try='test -s conftest$ac_exeext'
75600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75601   (eval $ac_try) 2>&5
75602   ac_status=$?
75603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75604   (exit $ac_status); }; }; then
75605   eval "$as_ac_var=yes"
75606 else
75607   echo "$as_me: failed program was:" >&5
75608 sed 's/^/| /' conftest.$ac_ext >&5
75609
75610 eval "$as_ac_var=no"
75611 fi
75612 rm -f conftest.err conftest.$ac_objext \
75613       conftest$ac_exeext conftest.$ac_ext
75614 fi
75615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75617 if test `eval echo '${'$as_ac_var'}'` = yes; then
75618   cat >>confdefs.h <<_ACEOF
75619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75620 _ACEOF
75621
75622 else
75623   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
75624 fi
75625 done
75626
75627
75628
75629 for ac_func in __signbitf
75630 do
75631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75632 echo "$as_me:$LINENO: checking for $ac_func" >&5
75633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75634 if eval "test \"\${$as_ac_var+set}\" = set"; then
75635   echo $ECHO_N "(cached) $ECHO_C" >&6
75636 else
75637   if test x$gcc_no_link = xyes; then
75638   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75640    { (exit 1); exit 1; }; }
75641 fi
75642 cat >conftest.$ac_ext <<_ACEOF
75643 /* confdefs.h.  */
75644 _ACEOF
75645 cat confdefs.h >>conftest.$ac_ext
75646 cat >>conftest.$ac_ext <<_ACEOF
75647 /* end confdefs.h.  */
75648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75649    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75650 #define $ac_func innocuous_$ac_func
75651
75652 /* System header to define __stub macros and hopefully few prototypes,
75653     which can conflict with char $ac_func (); below.
75654     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75655     <limits.h> exists even on freestanding compilers.  */
75656
75657 #ifdef __STDC__
75658 # include <limits.h>
75659 #else
75660 # include <assert.h>
75661 #endif
75662
75663 #undef $ac_func
75664
75665 /* Override any gcc2 internal prototype to avoid an error.  */
75666 #ifdef __cplusplus
75667 extern "C"
75668 {
75669 #endif
75670 /* We use char because int might match the return type of a gcc2
75671    builtin and then its argument prototype would still apply.  */
75672 char $ac_func ();
75673 /* The GNU C library defines this for functions which it implements
75674     to always fail with ENOSYS.  Some functions are actually named
75675     something starting with __ and the normal name is an alias.  */
75676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75677 choke me
75678 #else
75679 char (*f) () = $ac_func;
75680 #endif
75681 #ifdef __cplusplus
75682 }
75683 #endif
75684
75685 int
75686 main ()
75687 {
75688 return f != $ac_func;
75689   ;
75690   return 0;
75691 }
75692 _ACEOF
75693 rm -f conftest.$ac_objext conftest$ac_exeext
75694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75695   (eval $ac_link) 2>conftest.er1
75696   ac_status=$?
75697   grep -v '^ *+' conftest.er1 >conftest.err
75698   rm -f conftest.er1
75699   cat conftest.err >&5
75700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75701   (exit $ac_status); } &&
75702          { ac_try='test -z "$ac_c_werror_flag"
75703                          || test ! -s conftest.err'
75704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75705   (eval $ac_try) 2>&5
75706   ac_status=$?
75707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75708   (exit $ac_status); }; } &&
75709          { ac_try='test -s conftest$ac_exeext'
75710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75711   (eval $ac_try) 2>&5
75712   ac_status=$?
75713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75714   (exit $ac_status); }; }; then
75715   eval "$as_ac_var=yes"
75716 else
75717   echo "$as_me: failed program was:" >&5
75718 sed 's/^/| /' conftest.$ac_ext >&5
75719
75720 eval "$as_ac_var=no"
75721 fi
75722 rm -f conftest.err conftest.$ac_objext \
75723       conftest$ac_exeext conftest.$ac_ext
75724 fi
75725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75727 if test `eval echo '${'$as_ac_var'}'` = yes; then
75728   cat >>confdefs.h <<_ACEOF
75729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75730 _ACEOF
75731
75732 else
75733   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
75734 fi
75735 done
75736
75737
75738           if test x$ac_cv_func_copysignl = x"yes"; then
75739
75740 for ac_func in __signbitl
75741 do
75742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75743 echo "$as_me:$LINENO: checking for $ac_func" >&5
75744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75745 if eval "test \"\${$as_ac_var+set}\" = set"; then
75746   echo $ECHO_N "(cached) $ECHO_C" >&6
75747 else
75748   if test x$gcc_no_link = xyes; then
75749   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75751    { (exit 1); exit 1; }; }
75752 fi
75753 cat >conftest.$ac_ext <<_ACEOF
75754 /* confdefs.h.  */
75755 _ACEOF
75756 cat confdefs.h >>conftest.$ac_ext
75757 cat >>conftest.$ac_ext <<_ACEOF
75758 /* end confdefs.h.  */
75759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75760    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75761 #define $ac_func innocuous_$ac_func
75762
75763 /* System header to define __stub macros and hopefully few prototypes,
75764     which can conflict with char $ac_func (); below.
75765     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75766     <limits.h> exists even on freestanding compilers.  */
75767
75768 #ifdef __STDC__
75769 # include <limits.h>
75770 #else
75771 # include <assert.h>
75772 #endif
75773
75774 #undef $ac_func
75775
75776 /* Override any gcc2 internal prototype to avoid an error.  */
75777 #ifdef __cplusplus
75778 extern "C"
75779 {
75780 #endif
75781 /* We use char because int might match the return type of a gcc2
75782    builtin and then its argument prototype would still apply.  */
75783 char $ac_func ();
75784 /* The GNU C library defines this for functions which it implements
75785     to always fail with ENOSYS.  Some functions are actually named
75786     something starting with __ and the normal name is an alias.  */
75787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75788 choke me
75789 #else
75790 char (*f) () = $ac_func;
75791 #endif
75792 #ifdef __cplusplus
75793 }
75794 #endif
75795
75796 int
75797 main ()
75798 {
75799 return f != $ac_func;
75800   ;
75801   return 0;
75802 }
75803 _ACEOF
75804 rm -f conftest.$ac_objext conftest$ac_exeext
75805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75806   (eval $ac_link) 2>conftest.er1
75807   ac_status=$?
75808   grep -v '^ *+' conftest.er1 >conftest.err
75809   rm -f conftest.er1
75810   cat conftest.err >&5
75811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75812   (exit $ac_status); } &&
75813          { ac_try='test -z "$ac_c_werror_flag"
75814                          || test ! -s conftest.err'
75815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75816   (eval $ac_try) 2>&5
75817   ac_status=$?
75818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75819   (exit $ac_status); }; } &&
75820          { ac_try='test -s conftest$ac_exeext'
75821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75822   (eval $ac_try) 2>&5
75823   ac_status=$?
75824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75825   (exit $ac_status); }; }; then
75826   eval "$as_ac_var=yes"
75827 else
75828   echo "$as_me: failed program was:" >&5
75829 sed 's/^/| /' conftest.$ac_ext >&5
75830
75831 eval "$as_ac_var=no"
75832 fi
75833 rm -f conftest.err conftest.$ac_objext \
75834       conftest$ac_exeext conftest.$ac_ext
75835 fi
75836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75838 if test `eval echo '${'$as_ac_var'}'` = yes; then
75839   cat >>confdefs.h <<_ACEOF
75840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75841 _ACEOF
75842
75843 else
75844   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
75845 fi
75846 done
75847
75848   fi
75849
75850   # Used in libmath/Makefile.am.
75851   if test -n "$LIBMATHOBJS"; then
75852     need_libmath=yes
75853   fi
75854
75855
75856
75857   # Test wchar.h for mbstate_t, which is needed for char_traits and
75858   # others even if wchar_t support is not on.
75859   echo "$as_me:$LINENO: checking for mbstate_t" >&5
75860 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
75861   cat >conftest.$ac_ext <<_ACEOF
75862 /* confdefs.h.  */
75863 _ACEOF
75864 cat confdefs.h >>conftest.$ac_ext
75865 cat >>conftest.$ac_ext <<_ACEOF
75866 /* end confdefs.h.  */
75867 #include <wchar.h>
75868 int
75869 main ()
75870 {
75871 mbstate_t teststate;
75872   ;
75873   return 0;
75874 }
75875 _ACEOF
75876 rm -f conftest.$ac_objext
75877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75878   (eval $ac_compile) 2>conftest.er1
75879   ac_status=$?
75880   grep -v '^ *+' conftest.er1 >conftest.err
75881   rm -f conftest.er1
75882   cat conftest.err >&5
75883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75884   (exit $ac_status); } &&
75885          { ac_try='test -z "$ac_c_werror_flag"
75886                          || test ! -s conftest.err'
75887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75888   (eval $ac_try) 2>&5
75889   ac_status=$?
75890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75891   (exit $ac_status); }; } &&
75892          { ac_try='test -s conftest.$ac_objext'
75893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75894   (eval $ac_try) 2>&5
75895   ac_status=$?
75896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75897   (exit $ac_status); }; }; then
75898   have_mbstate_t=yes
75899 else
75900   echo "$as_me: failed program was:" >&5
75901 sed 's/^/| /' conftest.$ac_ext >&5
75902
75903 have_mbstate_t=no
75904 fi
75905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75906   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
75907 echo "${ECHO_T}$have_mbstate_t" >&6
75908   if test x"$have_mbstate_t" = xyes; then
75909     cat >>confdefs.h <<\_ACEOF
75910 #define HAVE_MBSTATE_T 1
75911 _ACEOF
75912
75913   fi
75914
75915   # Sanity check for existence of ISO C99 headers for extended encoding.
75916
75917 for ac_header in wchar.h
75918 do
75919 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75921   echo "$as_me:$LINENO: checking for $ac_header" >&5
75922 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75924   echo $ECHO_N "(cached) $ECHO_C" >&6
75925 fi
75926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75927 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75928 else
75929   # Is the header compilable?
75930 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75931 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75932 cat >conftest.$ac_ext <<_ACEOF
75933 /* confdefs.h.  */
75934 _ACEOF
75935 cat confdefs.h >>conftest.$ac_ext
75936 cat >>conftest.$ac_ext <<_ACEOF
75937 /* end confdefs.h.  */
75938 $ac_includes_default
75939 #include <$ac_header>
75940 _ACEOF
75941 rm -f conftest.$ac_objext
75942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75943   (eval $ac_compile) 2>conftest.er1
75944   ac_status=$?
75945   grep -v '^ *+' conftest.er1 >conftest.err
75946   rm -f conftest.er1
75947   cat conftest.err >&5
75948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75949   (exit $ac_status); } &&
75950          { ac_try='test -z "$ac_c_werror_flag"
75951                          || test ! -s conftest.err'
75952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75953   (eval $ac_try) 2>&5
75954   ac_status=$?
75955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75956   (exit $ac_status); }; } &&
75957          { ac_try='test -s conftest.$ac_objext'
75958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75959   (eval $ac_try) 2>&5
75960   ac_status=$?
75961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75962   (exit $ac_status); }; }; then
75963   ac_header_compiler=yes
75964 else
75965   echo "$as_me: failed program was:" >&5
75966 sed 's/^/| /' conftest.$ac_ext >&5
75967
75968 ac_header_compiler=no
75969 fi
75970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75971 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75972 echo "${ECHO_T}$ac_header_compiler" >&6
75973
75974 # Is the header present?
75975 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75976 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75977 cat >conftest.$ac_ext <<_ACEOF
75978 /* confdefs.h.  */
75979 _ACEOF
75980 cat confdefs.h >>conftest.$ac_ext
75981 cat >>conftest.$ac_ext <<_ACEOF
75982 /* end confdefs.h.  */
75983 #include <$ac_header>
75984 _ACEOF
75985 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75986   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75987   ac_status=$?
75988   grep -v '^ *+' conftest.er1 >conftest.err
75989   rm -f conftest.er1
75990   cat conftest.err >&5
75991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75992   (exit $ac_status); } >/dev/null; then
75993   if test -s conftest.err; then
75994     ac_cpp_err=$ac_c_preproc_warn_flag
75995     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75996   else
75997     ac_cpp_err=
75998   fi
75999 else
76000   ac_cpp_err=yes
76001 fi
76002 if test -z "$ac_cpp_err"; then
76003   ac_header_preproc=yes
76004 else
76005   echo "$as_me: failed program was:" >&5
76006 sed 's/^/| /' conftest.$ac_ext >&5
76007
76008   ac_header_preproc=no
76009 fi
76010 rm -f conftest.err conftest.$ac_ext
76011 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76012 echo "${ECHO_T}$ac_header_preproc" >&6
76013
76014 # So?  What about this header?
76015 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76016   yes:no: )
76017     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76018 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76019     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76020 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76021     ac_header_preproc=yes
76022     ;;
76023   no:yes:* )
76024     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76025 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76026     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
76027 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
76028     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76029 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76030     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
76031 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
76032     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76033 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76034     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76035 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76036     (
76037       cat <<\_ASBOX
76038 ## ----------------------------------------- ##
76039 ## Report this to the package-unused lists.  ##
76040 ## ----------------------------------------- ##
76041 _ASBOX
76042     ) |
76043       sed "s/^/$as_me: WARNING:     /" >&2
76044     ;;
76045 esac
76046 echo "$as_me:$LINENO: checking for $ac_header" >&5
76047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76049   echo $ECHO_N "(cached) $ECHO_C" >&6
76050 else
76051   eval "$as_ac_Header=\$ac_header_preproc"
76052 fi
76053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76054 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76055
76056 fi
76057 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76058   cat >>confdefs.h <<_ACEOF
76059 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76060 _ACEOF
76061  ac_has_wchar_h=yes
76062 else
76063   ac_has_wchar_h=no
76064 fi
76065
76066 done
76067
76068
76069 for ac_header in wctype.h
76070 do
76071 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76073   echo "$as_me:$LINENO: checking for $ac_header" >&5
76074 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76076   echo $ECHO_N "(cached) $ECHO_C" >&6
76077 fi
76078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76079 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76080 else
76081   # Is the header compilable?
76082 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76083 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76084 cat >conftest.$ac_ext <<_ACEOF
76085 /* confdefs.h.  */
76086 _ACEOF
76087 cat confdefs.h >>conftest.$ac_ext
76088 cat >>conftest.$ac_ext <<_ACEOF
76089 /* end confdefs.h.  */
76090 $ac_includes_default
76091 #include <$ac_header>
76092 _ACEOF
76093 rm -f conftest.$ac_objext
76094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76095   (eval $ac_compile) 2>conftest.er1
76096   ac_status=$?
76097   grep -v '^ *+' conftest.er1 >conftest.err
76098   rm -f conftest.er1
76099   cat conftest.err >&5
76100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76101   (exit $ac_status); } &&
76102          { ac_try='test -z "$ac_c_werror_flag"
76103                          || test ! -s conftest.err'
76104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76105   (eval $ac_try) 2>&5
76106   ac_status=$?
76107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76108   (exit $ac_status); }; } &&
76109          { ac_try='test -s conftest.$ac_objext'
76110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76111   (eval $ac_try) 2>&5
76112   ac_status=$?
76113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76114   (exit $ac_status); }; }; then
76115   ac_header_compiler=yes
76116 else
76117   echo "$as_me: failed program was:" >&5
76118 sed 's/^/| /' conftest.$ac_ext >&5
76119
76120 ac_header_compiler=no
76121 fi
76122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76123 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76124 echo "${ECHO_T}$ac_header_compiler" >&6
76125
76126 # Is the header present?
76127 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76128 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76129 cat >conftest.$ac_ext <<_ACEOF
76130 /* confdefs.h.  */
76131 _ACEOF
76132 cat confdefs.h >>conftest.$ac_ext
76133 cat >>conftest.$ac_ext <<_ACEOF
76134 /* end confdefs.h.  */
76135 #include <$ac_header>
76136 _ACEOF
76137 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76138   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76139   ac_status=$?
76140   grep -v '^ *+' conftest.er1 >conftest.err
76141   rm -f conftest.er1
76142   cat conftest.err >&5
76143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76144   (exit $ac_status); } >/dev/null; then
76145   if test -s conftest.err; then
76146     ac_cpp_err=$ac_c_preproc_warn_flag
76147     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76148   else
76149     ac_cpp_err=
76150   fi
76151 else
76152   ac_cpp_err=yes
76153 fi
76154 if test -z "$ac_cpp_err"; then
76155   ac_header_preproc=yes
76156 else
76157   echo "$as_me: failed program was:" >&5
76158 sed 's/^/| /' conftest.$ac_ext >&5
76159
76160   ac_header_preproc=no
76161 fi
76162 rm -f conftest.err conftest.$ac_ext
76163 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76164 echo "${ECHO_T}$ac_header_preproc" >&6
76165
76166 # So?  What about this header?
76167 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76168   yes:no: )
76169     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76170 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76171     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76172 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76173     ac_header_preproc=yes
76174     ;;
76175   no:yes:* )
76176     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76177 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76178     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
76179 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
76180     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76181 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76182     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
76183 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
76184     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76185 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76186     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76187 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76188     (
76189       cat <<\_ASBOX
76190 ## ----------------------------------------- ##
76191 ## Report this to the package-unused lists.  ##
76192 ## ----------------------------------------- ##
76193 _ASBOX
76194     ) |
76195       sed "s/^/$as_me: WARNING:     /" >&2
76196     ;;
76197 esac
76198 echo "$as_me:$LINENO: checking for $ac_header" >&5
76199 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76201   echo $ECHO_N "(cached) $ECHO_C" >&6
76202 else
76203   eval "$as_ac_Header=\$ac_header_preproc"
76204 fi
76205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76206 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76207
76208 fi
76209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76210   cat >>confdefs.h <<_ACEOF
76211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76212 _ACEOF
76213  ac_has_wctype_h=yes
76214 else
76215   ac_has_wctype_h=no
76216 fi
76217
76218 done
76219
76220
76221   # Only continue checking if the ISO C99 headers exist and support is on.
76222   if test x"$ac_has_wchar_h" = xyes &&
76223      test x"$ac_has_wctype_h" = xyes &&
76224      test x"$enable_c_mbchar" != xno; then
76225
76226     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
76227     # numeric_limits can instantiate type_traits<wchar_t>
76228     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
76229 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
76230     cat >conftest.$ac_ext <<_ACEOF
76231 /* confdefs.h.  */
76232 _ACEOF
76233 cat confdefs.h >>conftest.$ac_ext
76234 cat >>conftest.$ac_ext <<_ACEOF
76235 /* end confdefs.h.  */
76236 #include <wchar.h>
76237 int
76238 main ()
76239 {
76240 int i = WCHAR_MIN; int j = WCHAR_MAX;
76241   ;
76242   return 0;
76243 }
76244 _ACEOF
76245 rm -f conftest.$ac_objext
76246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76247   (eval $ac_compile) 2>conftest.er1
76248   ac_status=$?
76249   grep -v '^ *+' conftest.er1 >conftest.err
76250   rm -f conftest.er1
76251   cat conftest.err >&5
76252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76253   (exit $ac_status); } &&
76254          { ac_try='test -z "$ac_c_werror_flag"
76255                          || test ! -s conftest.err'
76256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76257   (eval $ac_try) 2>&5
76258   ac_status=$?
76259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76260   (exit $ac_status); }; } &&
76261          { ac_try='test -s conftest.$ac_objext'
76262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76263   (eval $ac_try) 2>&5
76264   ac_status=$?
76265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76266   (exit $ac_status); }; }; then
76267   has_wchar_minmax=yes
76268 else
76269   echo "$as_me: failed program was:" >&5
76270 sed 's/^/| /' conftest.$ac_ext >&5
76271
76272 has_wchar_minmax=no
76273 fi
76274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76275     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
76276 echo "${ECHO_T}$has_wchar_minmax" >&6
76277
76278     # Test wchar.h for WEOF, which is what we use to determine whether
76279     # to specialize for char_traits<wchar_t> or not.
76280     echo "$as_me:$LINENO: checking for WEOF" >&5
76281 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
76282     cat >conftest.$ac_ext <<_ACEOF
76283 /* confdefs.h.  */
76284 _ACEOF
76285 cat confdefs.h >>conftest.$ac_ext
76286 cat >>conftest.$ac_ext <<_ACEOF
76287 /* end confdefs.h.  */
76288
76289       #include <wchar.h>
76290       #include <stddef.h>
76291 int
76292 main ()
76293 {
76294 wint_t i = WEOF;
76295   ;
76296   return 0;
76297 }
76298 _ACEOF
76299 rm -f conftest.$ac_objext
76300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76301   (eval $ac_compile) 2>conftest.er1
76302   ac_status=$?
76303   grep -v '^ *+' conftest.er1 >conftest.err
76304   rm -f conftest.er1
76305   cat conftest.err >&5
76306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76307   (exit $ac_status); } &&
76308          { ac_try='test -z "$ac_c_werror_flag"
76309                          || test ! -s conftest.err'
76310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76311   (eval $ac_try) 2>&5
76312   ac_status=$?
76313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76314   (exit $ac_status); }; } &&
76315          { ac_try='test -s conftest.$ac_objext'
76316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76317   (eval $ac_try) 2>&5
76318   ac_status=$?
76319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76320   (exit $ac_status); }; }; then
76321   has_weof=yes
76322 else
76323   echo "$as_me: failed program was:" >&5
76324 sed 's/^/| /' conftest.$ac_ext >&5
76325
76326 has_weof=no
76327 fi
76328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76329     echo "$as_me:$LINENO: result: $has_weof" >&5
76330 echo "${ECHO_T}$has_weof" >&6
76331
76332     # Tests for wide character functions used in char_traits<wchar_t>.
76333     ac_wfuncs=yes
76334
76335
76336
76337
76338
76339
76340 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
76341 do
76342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76343 echo "$as_me:$LINENO: checking for $ac_func" >&5
76344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76345 if eval "test \"\${$as_ac_var+set}\" = set"; then
76346   echo $ECHO_N "(cached) $ECHO_C" >&6
76347 else
76348   if test x$gcc_no_link = xyes; then
76349   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76351    { (exit 1); exit 1; }; }
76352 fi
76353 cat >conftest.$ac_ext <<_ACEOF
76354 /* confdefs.h.  */
76355 _ACEOF
76356 cat confdefs.h >>conftest.$ac_ext
76357 cat >>conftest.$ac_ext <<_ACEOF
76358 /* end confdefs.h.  */
76359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76360    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76361 #define $ac_func innocuous_$ac_func
76362
76363 /* System header to define __stub macros and hopefully few prototypes,
76364     which can conflict with char $ac_func (); below.
76365     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76366     <limits.h> exists even on freestanding compilers.  */
76367
76368 #ifdef __STDC__
76369 # include <limits.h>
76370 #else
76371 # include <assert.h>
76372 #endif
76373
76374 #undef $ac_func
76375
76376 /* Override any gcc2 internal prototype to avoid an error.  */
76377 #ifdef __cplusplus
76378 extern "C"
76379 {
76380 #endif
76381 /* We use char because int might match the return type of a gcc2
76382    builtin and then its argument prototype would still apply.  */
76383 char $ac_func ();
76384 /* The GNU C library defines this for functions which it implements
76385     to always fail with ENOSYS.  Some functions are actually named
76386     something starting with __ and the normal name is an alias.  */
76387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76388 choke me
76389 #else
76390 char (*f) () = $ac_func;
76391 #endif
76392 #ifdef __cplusplus
76393 }
76394 #endif
76395
76396 int
76397 main ()
76398 {
76399 return f != $ac_func;
76400   ;
76401   return 0;
76402 }
76403 _ACEOF
76404 rm -f conftest.$ac_objext conftest$ac_exeext
76405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76406   (eval $ac_link) 2>conftest.er1
76407   ac_status=$?
76408   grep -v '^ *+' conftest.er1 >conftest.err
76409   rm -f conftest.er1
76410   cat conftest.err >&5
76411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76412   (exit $ac_status); } &&
76413          { ac_try='test -z "$ac_c_werror_flag"
76414                          || test ! -s conftest.err'
76415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76416   (eval $ac_try) 2>&5
76417   ac_status=$?
76418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76419   (exit $ac_status); }; } &&
76420          { ac_try='test -s conftest$ac_exeext'
76421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76422   (eval $ac_try) 2>&5
76423   ac_status=$?
76424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76425   (exit $ac_status); }; }; then
76426   eval "$as_ac_var=yes"
76427 else
76428   echo "$as_me: failed program was:" >&5
76429 sed 's/^/| /' conftest.$ac_ext >&5
76430
76431 eval "$as_ac_var=no"
76432 fi
76433 rm -f conftest.err conftest.$ac_objext \
76434       conftest$ac_exeext conftest.$ac_ext
76435 fi
76436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76438 if test `eval echo '${'$as_ac_var'}'` = yes; then
76439   cat >>confdefs.h <<_ACEOF
76440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76441 _ACEOF
76442
76443 else
76444   ac_wfuncs=no
76445 fi
76446 done
76447
76448
76449     # Checks for names injected into std:: by the c_std headers.
76450
76451
76452
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 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
76497     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
76498     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
76499     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
76500     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
76501     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
76502 do
76503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76504 echo "$as_me:$LINENO: checking for $ac_func" >&5
76505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76506 if eval "test \"\${$as_ac_var+set}\" = set"; then
76507   echo $ECHO_N "(cached) $ECHO_C" >&6
76508 else
76509   if test x$gcc_no_link = xyes; then
76510   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76512    { (exit 1); exit 1; }; }
76513 fi
76514 cat >conftest.$ac_ext <<_ACEOF
76515 /* confdefs.h.  */
76516 _ACEOF
76517 cat confdefs.h >>conftest.$ac_ext
76518 cat >>conftest.$ac_ext <<_ACEOF
76519 /* end confdefs.h.  */
76520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76521    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76522 #define $ac_func innocuous_$ac_func
76523
76524 /* System header to define __stub macros and hopefully few prototypes,
76525     which can conflict with char $ac_func (); below.
76526     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76527     <limits.h> exists even on freestanding compilers.  */
76528
76529 #ifdef __STDC__
76530 # include <limits.h>
76531 #else
76532 # include <assert.h>
76533 #endif
76534
76535 #undef $ac_func
76536
76537 /* Override any gcc2 internal prototype to avoid an error.  */
76538 #ifdef __cplusplus
76539 extern "C"
76540 {
76541 #endif
76542 /* We use char because int might match the return type of a gcc2
76543    builtin and then its argument prototype would still apply.  */
76544 char $ac_func ();
76545 /* The GNU C library defines this for functions which it implements
76546     to always fail with ENOSYS.  Some functions are actually named
76547     something starting with __ and the normal name is an alias.  */
76548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76549 choke me
76550 #else
76551 char (*f) () = $ac_func;
76552 #endif
76553 #ifdef __cplusplus
76554 }
76555 #endif
76556
76557 int
76558 main ()
76559 {
76560 return f != $ac_func;
76561   ;
76562   return 0;
76563 }
76564 _ACEOF
76565 rm -f conftest.$ac_objext conftest$ac_exeext
76566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76567   (eval $ac_link) 2>conftest.er1
76568   ac_status=$?
76569   grep -v '^ *+' conftest.er1 >conftest.err
76570   rm -f conftest.er1
76571   cat conftest.err >&5
76572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76573   (exit $ac_status); } &&
76574          { ac_try='test -z "$ac_c_werror_flag"
76575                          || test ! -s conftest.err'
76576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76577   (eval $ac_try) 2>&5
76578   ac_status=$?
76579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76580   (exit $ac_status); }; } &&
76581          { ac_try='test -s conftest$ac_exeext'
76582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76583   (eval $ac_try) 2>&5
76584   ac_status=$?
76585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76586   (exit $ac_status); }; }; then
76587   eval "$as_ac_var=yes"
76588 else
76589   echo "$as_me: failed program was:" >&5
76590 sed 's/^/| /' conftest.$ac_ext >&5
76591
76592 eval "$as_ac_var=no"
76593 fi
76594 rm -f conftest.err conftest.$ac_objext \
76595       conftest$ac_exeext conftest.$ac_ext
76596 fi
76597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76599 if test `eval echo '${'$as_ac_var'}'` = yes; then
76600   cat >>confdefs.h <<_ACEOF
76601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76602 _ACEOF
76603
76604 else
76605   ac_wfuncs=no
76606 fi
76607 done
76608
76609
76610     # Checks for wide character functions that are not required
76611     # for basic wchar_t support.  Don't disable support if they are missing.
76612     # Injection of these is wrapped with guard macros.
76613
76614
76615
76616
76617
76618 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
76619 do
76620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76621 echo "$as_me:$LINENO: checking for $ac_func" >&5
76622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76623 if eval "test \"\${$as_ac_var+set}\" = set"; then
76624   echo $ECHO_N "(cached) $ECHO_C" >&6
76625 else
76626   if test x$gcc_no_link = xyes; then
76627   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76629    { (exit 1); exit 1; }; }
76630 fi
76631 cat >conftest.$ac_ext <<_ACEOF
76632 /* confdefs.h.  */
76633 _ACEOF
76634 cat confdefs.h >>conftest.$ac_ext
76635 cat >>conftest.$ac_ext <<_ACEOF
76636 /* end confdefs.h.  */
76637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76638    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76639 #define $ac_func innocuous_$ac_func
76640
76641 /* System header to define __stub macros and hopefully few prototypes,
76642     which can conflict with char $ac_func (); below.
76643     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76644     <limits.h> exists even on freestanding compilers.  */
76645
76646 #ifdef __STDC__
76647 # include <limits.h>
76648 #else
76649 # include <assert.h>
76650 #endif
76651
76652 #undef $ac_func
76653
76654 /* Override any gcc2 internal prototype to avoid an error.  */
76655 #ifdef __cplusplus
76656 extern "C"
76657 {
76658 #endif
76659 /* We use char because int might match the return type of a gcc2
76660    builtin and then its argument prototype would still apply.  */
76661 char $ac_func ();
76662 /* The GNU C library defines this for functions which it implements
76663     to always fail with ENOSYS.  Some functions are actually named
76664     something starting with __ and the normal name is an alias.  */
76665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76666 choke me
76667 #else
76668 char (*f) () = $ac_func;
76669 #endif
76670 #ifdef __cplusplus
76671 }
76672 #endif
76673
76674 int
76675 main ()
76676 {
76677 return f != $ac_func;
76678   ;
76679   return 0;
76680 }
76681 _ACEOF
76682 rm -f conftest.$ac_objext conftest$ac_exeext
76683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76684   (eval $ac_link) 2>conftest.er1
76685   ac_status=$?
76686   grep -v '^ *+' conftest.er1 >conftest.err
76687   rm -f conftest.er1
76688   cat conftest.err >&5
76689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76690   (exit $ac_status); } &&
76691          { ac_try='test -z "$ac_c_werror_flag"
76692                          || test ! -s conftest.err'
76693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76694   (eval $ac_try) 2>&5
76695   ac_status=$?
76696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76697   (exit $ac_status); }; } &&
76698          { ac_try='test -s conftest$ac_exeext'
76699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76700   (eval $ac_try) 2>&5
76701   ac_status=$?
76702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76703   (exit $ac_status); }; }; then
76704   eval "$as_ac_var=yes"
76705 else
76706   echo "$as_me: failed program was:" >&5
76707 sed 's/^/| /' conftest.$ac_ext >&5
76708
76709 eval "$as_ac_var=no"
76710 fi
76711 rm -f conftest.err conftest.$ac_objext \
76712       conftest$ac_exeext conftest.$ac_ext
76713 fi
76714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76716 if test `eval echo '${'$as_ac_var'}'` = yes; then
76717   cat >>confdefs.h <<_ACEOF
76718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76719 _ACEOF
76720
76721 fi
76722 done
76723
76724
76725     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
76726 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
76727     if test x"$has_weof" = xyes &&
76728        test x"$has_wchar_minmax" = xyes &&
76729        test x"$ac_wfuncs" = xyes;
76730     then
76731       ac_isoC99_wchar_t=yes
76732     else
76733       ac_isoC99_wchar_t=no
76734     fi
76735     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
76736 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
76737
76738     # Use iconv for wchar_t to char conversions. As such, check for
76739     # X/Open Portability Guide, version 2 features (XPG2).
76740     if test "${ac_cv_header_iconv_h+set}" = set; then
76741   echo "$as_me:$LINENO: checking for iconv.h" >&5
76742 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76743 if test "${ac_cv_header_iconv_h+set}" = set; then
76744   echo $ECHO_N "(cached) $ECHO_C" >&6
76745 fi
76746 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76747 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76748 else
76749   # Is the header compilable?
76750 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76751 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76752 cat >conftest.$ac_ext <<_ACEOF
76753 /* confdefs.h.  */
76754 _ACEOF
76755 cat confdefs.h >>conftest.$ac_ext
76756 cat >>conftest.$ac_ext <<_ACEOF
76757 /* end confdefs.h.  */
76758 $ac_includes_default
76759 #include <iconv.h>
76760 _ACEOF
76761 rm -f conftest.$ac_objext
76762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76763   (eval $ac_compile) 2>conftest.er1
76764   ac_status=$?
76765   grep -v '^ *+' conftest.er1 >conftest.err
76766   rm -f conftest.er1
76767   cat conftest.err >&5
76768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76769   (exit $ac_status); } &&
76770          { ac_try='test -z "$ac_c_werror_flag"
76771                          || test ! -s conftest.err'
76772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76773   (eval $ac_try) 2>&5
76774   ac_status=$?
76775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76776   (exit $ac_status); }; } &&
76777          { ac_try='test -s conftest.$ac_objext'
76778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76779   (eval $ac_try) 2>&5
76780   ac_status=$?
76781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76782   (exit $ac_status); }; }; then
76783   ac_header_compiler=yes
76784 else
76785   echo "$as_me: failed program was:" >&5
76786 sed 's/^/| /' conftest.$ac_ext >&5
76787
76788 ac_header_compiler=no
76789 fi
76790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76791 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76792 echo "${ECHO_T}$ac_header_compiler" >&6
76793
76794 # Is the header present?
76795 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76796 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76797 cat >conftest.$ac_ext <<_ACEOF
76798 /* confdefs.h.  */
76799 _ACEOF
76800 cat confdefs.h >>conftest.$ac_ext
76801 cat >>conftest.$ac_ext <<_ACEOF
76802 /* end confdefs.h.  */
76803 #include <iconv.h>
76804 _ACEOF
76805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76806   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76807   ac_status=$?
76808   grep -v '^ *+' conftest.er1 >conftest.err
76809   rm -f conftest.er1
76810   cat conftest.err >&5
76811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76812   (exit $ac_status); } >/dev/null; then
76813   if test -s conftest.err; then
76814     ac_cpp_err=$ac_c_preproc_warn_flag
76815     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76816   else
76817     ac_cpp_err=
76818   fi
76819 else
76820   ac_cpp_err=yes
76821 fi
76822 if test -z "$ac_cpp_err"; then
76823   ac_header_preproc=yes
76824 else
76825   echo "$as_me: failed program was:" >&5
76826 sed 's/^/| /' conftest.$ac_ext >&5
76827
76828   ac_header_preproc=no
76829 fi
76830 rm -f conftest.err conftest.$ac_ext
76831 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76832 echo "${ECHO_T}$ac_header_preproc" >&6
76833
76834 # So?  What about this header?
76835 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76836   yes:no: )
76837     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76838 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76839     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76840 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76841     ac_header_preproc=yes
76842     ;;
76843   no:yes:* )
76844     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76845 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76846     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
76847 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
76848     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76849 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76850     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
76851 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
76852     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76853 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76854     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76855 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76856     (
76857       cat <<\_ASBOX
76858 ## ----------------------------------------- ##
76859 ## Report this to the package-unused lists.  ##
76860 ## ----------------------------------------- ##
76861 _ASBOX
76862     ) |
76863       sed "s/^/$as_me: WARNING:     /" >&2
76864     ;;
76865 esac
76866 echo "$as_me:$LINENO: checking for iconv.h" >&5
76867 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76868 if test "${ac_cv_header_iconv_h+set}" = set; then
76869   echo $ECHO_N "(cached) $ECHO_C" >&6
76870 else
76871   ac_cv_header_iconv_h=$ac_header_preproc
76872 fi
76873 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76874 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76875
76876 fi
76877 if test $ac_cv_header_iconv_h = yes; then
76878   ac_has_iconv_h=yes
76879 else
76880   ac_has_iconv_h=no
76881 fi
76882
76883
76884     if test "${ac_cv_header_langinfo_h+set}" = set; then
76885   echo "$as_me:$LINENO: checking for langinfo.h" >&5
76886 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76887 if test "${ac_cv_header_langinfo_h+set}" = set; then
76888   echo $ECHO_N "(cached) $ECHO_C" >&6
76889 fi
76890 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76891 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76892 else
76893   # Is the header compilable?
76894 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76895 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76896 cat >conftest.$ac_ext <<_ACEOF
76897 /* confdefs.h.  */
76898 _ACEOF
76899 cat confdefs.h >>conftest.$ac_ext
76900 cat >>conftest.$ac_ext <<_ACEOF
76901 /* end confdefs.h.  */
76902 $ac_includes_default
76903 #include <langinfo.h>
76904 _ACEOF
76905 rm -f conftest.$ac_objext
76906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76907   (eval $ac_compile) 2>conftest.er1
76908   ac_status=$?
76909   grep -v '^ *+' conftest.er1 >conftest.err
76910   rm -f conftest.er1
76911   cat conftest.err >&5
76912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76913   (exit $ac_status); } &&
76914          { ac_try='test -z "$ac_c_werror_flag"
76915                          || test ! -s conftest.err'
76916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76917   (eval $ac_try) 2>&5
76918   ac_status=$?
76919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76920   (exit $ac_status); }; } &&
76921          { ac_try='test -s conftest.$ac_objext'
76922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76923   (eval $ac_try) 2>&5
76924   ac_status=$?
76925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76926   (exit $ac_status); }; }; then
76927   ac_header_compiler=yes
76928 else
76929   echo "$as_me: failed program was:" >&5
76930 sed 's/^/| /' conftest.$ac_ext >&5
76931
76932 ac_header_compiler=no
76933 fi
76934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76935 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76936 echo "${ECHO_T}$ac_header_compiler" >&6
76937
76938 # Is the header present?
76939 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76940 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76941 cat >conftest.$ac_ext <<_ACEOF
76942 /* confdefs.h.  */
76943 _ACEOF
76944 cat confdefs.h >>conftest.$ac_ext
76945 cat >>conftest.$ac_ext <<_ACEOF
76946 /* end confdefs.h.  */
76947 #include <langinfo.h>
76948 _ACEOF
76949 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76950   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76951   ac_status=$?
76952   grep -v '^ *+' conftest.er1 >conftest.err
76953   rm -f conftest.er1
76954   cat conftest.err >&5
76955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76956   (exit $ac_status); } >/dev/null; then
76957   if test -s conftest.err; then
76958     ac_cpp_err=$ac_c_preproc_warn_flag
76959     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76960   else
76961     ac_cpp_err=
76962   fi
76963 else
76964   ac_cpp_err=yes
76965 fi
76966 if test -z "$ac_cpp_err"; then
76967   ac_header_preproc=yes
76968 else
76969   echo "$as_me: failed program was:" >&5
76970 sed 's/^/| /' conftest.$ac_ext >&5
76971
76972   ac_header_preproc=no
76973 fi
76974 rm -f conftest.err conftest.$ac_ext
76975 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76976 echo "${ECHO_T}$ac_header_preproc" >&6
76977
76978 # So?  What about this header?
76979 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76980   yes:no: )
76981     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76982 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76983     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76984 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76985     ac_header_preproc=yes
76986     ;;
76987   no:yes:* )
76988     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76989 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76990     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
76991 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
76992     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76993 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76994     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
76995 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
76996     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76997 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76998     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76999 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
77000     (
77001       cat <<\_ASBOX
77002 ## ----------------------------------------- ##
77003 ## Report this to the package-unused lists.  ##
77004 ## ----------------------------------------- ##
77005 _ASBOX
77006     ) |
77007       sed "s/^/$as_me: WARNING:     /" >&2
77008     ;;
77009 esac
77010 echo "$as_me:$LINENO: checking for langinfo.h" >&5
77011 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
77012 if test "${ac_cv_header_langinfo_h+set}" = set; then
77013   echo $ECHO_N "(cached) $ECHO_C" >&6
77014 else
77015   ac_cv_header_langinfo_h=$ac_header_preproc
77016 fi
77017 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
77018 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77019
77020 fi
77021 if test $ac_cv_header_langinfo_h = yes; then
77022   ac_has_langinfo_h=yes
77023 else
77024   ac_has_langinfo_h=no
77025 fi
77026
77027
77028
77029     # Check for existence of libiconv.a providing XPG2 wchar_t support.
77030     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
77031 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
77032 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
77033   echo $ECHO_N "(cached) $ECHO_C" >&6
77034 else
77035   ac_check_lib_save_LIBS=$LIBS
77036 LIBS="-liconv  $LIBS"
77037 if test x$gcc_no_link = xyes; then
77038   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77040    { (exit 1); exit 1; }; }
77041 fi
77042 cat >conftest.$ac_ext <<_ACEOF
77043 /* confdefs.h.  */
77044 _ACEOF
77045 cat confdefs.h >>conftest.$ac_ext
77046 cat >>conftest.$ac_ext <<_ACEOF
77047 /* end confdefs.h.  */
77048
77049 /* Override any gcc2 internal prototype to avoid an error.  */
77050 #ifdef __cplusplus
77051 extern "C"
77052 #endif
77053 /* We use char because int might match the return type of a gcc2
77054    builtin and then its argument prototype would still apply.  */
77055 char iconv ();
77056 int
77057 main ()
77058 {
77059 iconv ();
77060   ;
77061   return 0;
77062 }
77063 _ACEOF
77064 rm -f conftest.$ac_objext conftest$ac_exeext
77065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77066   (eval $ac_link) 2>conftest.er1
77067   ac_status=$?
77068   grep -v '^ *+' conftest.er1 >conftest.err
77069   rm -f conftest.er1
77070   cat conftest.err >&5
77071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77072   (exit $ac_status); } &&
77073          { ac_try='test -z "$ac_c_werror_flag"
77074                          || test ! -s conftest.err'
77075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77076   (eval $ac_try) 2>&5
77077   ac_status=$?
77078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77079   (exit $ac_status); }; } &&
77080          { ac_try='test -s conftest$ac_exeext'
77081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77082   (eval $ac_try) 2>&5
77083   ac_status=$?
77084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77085   (exit $ac_status); }; }; then
77086   ac_cv_lib_iconv_iconv=yes
77087 else
77088   echo "$as_me: failed program was:" >&5
77089 sed 's/^/| /' conftest.$ac_ext >&5
77090
77091 ac_cv_lib_iconv_iconv=no
77092 fi
77093 rm -f conftest.err conftest.$ac_objext \
77094       conftest$ac_exeext conftest.$ac_ext
77095 LIBS=$ac_check_lib_save_LIBS
77096 fi
77097 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
77098 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
77099 if test $ac_cv_lib_iconv_iconv = yes; then
77100   LIBICONV="-liconv"
77101 fi
77102
77103     ac_save_LIBS="$LIBS"
77104     LIBS="$LIBS $LIBICONV"
77105
77106
77107
77108
77109
77110
77111 for ac_func in iconv_open iconv_close iconv nl_langinfo
77112 do
77113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77114 echo "$as_me:$LINENO: checking for $ac_func" >&5
77115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77116 if eval "test \"\${$as_ac_var+set}\" = set"; then
77117   echo $ECHO_N "(cached) $ECHO_C" >&6
77118 else
77119   if test x$gcc_no_link = xyes; then
77120   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77122    { (exit 1); exit 1; }; }
77123 fi
77124 cat >conftest.$ac_ext <<_ACEOF
77125 /* confdefs.h.  */
77126 _ACEOF
77127 cat confdefs.h >>conftest.$ac_ext
77128 cat >>conftest.$ac_ext <<_ACEOF
77129 /* end confdefs.h.  */
77130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77131    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77132 #define $ac_func innocuous_$ac_func
77133
77134 /* System header to define __stub macros and hopefully few prototypes,
77135     which can conflict with char $ac_func (); below.
77136     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77137     <limits.h> exists even on freestanding compilers.  */
77138
77139 #ifdef __STDC__
77140 # include <limits.h>
77141 #else
77142 # include <assert.h>
77143 #endif
77144
77145 #undef $ac_func
77146
77147 /* Override any gcc2 internal prototype to avoid an error.  */
77148 #ifdef __cplusplus
77149 extern "C"
77150 {
77151 #endif
77152 /* We use char because int might match the return type of a gcc2
77153    builtin and then its argument prototype would still apply.  */
77154 char $ac_func ();
77155 /* The GNU C library defines this for functions which it implements
77156     to always fail with ENOSYS.  Some functions are actually named
77157     something starting with __ and the normal name is an alias.  */
77158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77159 choke me
77160 #else
77161 char (*f) () = $ac_func;
77162 #endif
77163 #ifdef __cplusplus
77164 }
77165 #endif
77166
77167 int
77168 main ()
77169 {
77170 return f != $ac_func;
77171   ;
77172   return 0;
77173 }
77174 _ACEOF
77175 rm -f conftest.$ac_objext conftest$ac_exeext
77176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77177   (eval $ac_link) 2>conftest.er1
77178   ac_status=$?
77179   grep -v '^ *+' conftest.er1 >conftest.err
77180   rm -f conftest.er1
77181   cat conftest.err >&5
77182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77183   (exit $ac_status); } &&
77184          { ac_try='test -z "$ac_c_werror_flag"
77185                          || test ! -s conftest.err'
77186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77187   (eval $ac_try) 2>&5
77188   ac_status=$?
77189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77190   (exit $ac_status); }; } &&
77191          { ac_try='test -s conftest$ac_exeext'
77192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77193   (eval $ac_try) 2>&5
77194   ac_status=$?
77195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77196   (exit $ac_status); }; }; then
77197   eval "$as_ac_var=yes"
77198 else
77199   echo "$as_me: failed program was:" >&5
77200 sed 's/^/| /' conftest.$ac_ext >&5
77201
77202 eval "$as_ac_var=no"
77203 fi
77204 rm -f conftest.err conftest.$ac_objext \
77205       conftest$ac_exeext conftest.$ac_ext
77206 fi
77207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77209 if test `eval echo '${'$as_ac_var'}'` = yes; then
77210   cat >>confdefs.h <<_ACEOF
77211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77212 _ACEOF
77213  ac_XPG2funcs=yes
77214 else
77215   ac_XPG2funcs=no
77216 fi
77217 done
77218
77219
77220     LIBS="$ac_save_LIBS"
77221
77222     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
77223 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
77224     if test x"$ac_has_iconv_h" = xyes &&
77225        test x"$ac_has_langinfo_h" = xyes &&
77226        test x"$ac_XPG2funcs" = xyes;
77227     then
77228       ac_XPG2_wchar_t=yes
77229     else
77230       ac_XPG2_wchar_t=no
77231     fi
77232     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
77233 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
77234
77235     # At the moment, only enable wchar_t specializations if all the
77236     # above support is present.
77237     if test x"$ac_isoC99_wchar_t" = xyes &&
77238        test x"$ac_XPG2_wchar_t" = xyes;
77239     then
77240       cat >>confdefs.h <<\_ACEOF
77241 #define _GLIBCXX_USE_WCHAR_T 1
77242 _ACEOF
77243
77244       enable_wchar_t=yes
77245     fi
77246   fi
77247   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
77248 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
77249   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
77250 echo "${ECHO_T}$enable_wchar_t" >&6
77251
77252     cat >>confdefs.h <<\_ACEOF
77253 #define HAVE_LC_MESSAGES 1
77254 _ACEOF
77255
77256     cat >>confdefs.h <<\_ACEOF
77257 #define HAVE_GETPAGESIZE 1
77258 _ACEOF
77259
77260     cat >>confdefs.h <<\_ACEOF
77261 #define HAVE_SETENV 1
77262 _ACEOF
77263
77264     cat >>confdefs.h <<\_ACEOF
77265 #define HAVE_SIGSETJMP 1
77266 _ACEOF
77267
77268     cat >>confdefs.h <<\_ACEOF
77269 #define HAVE_COPYSIGN 1
77270 _ACEOF
77271
77272     cat >>confdefs.h <<\_ACEOF
77273 #define HAVE_COPYSIGNF 1
77274 _ACEOF
77275
77276     cat >>confdefs.h <<\_ACEOF
77277 #define HAVE_FINITEF 1
77278 _ACEOF
77279
77280     cat >>confdefs.h <<\_ACEOF
77281 #define HAVE_FINITE 1
77282 _ACEOF
77283
77284     cat >>confdefs.h <<\_ACEOF
77285 #define HAVE_FREXPF 1
77286 _ACEOF
77287
77288     cat >>confdefs.h <<\_ACEOF
77289 #define HAVE_HYPOT 1
77290 _ACEOF
77291
77292     cat >>confdefs.h <<\_ACEOF
77293 #define HAVE_HYPOTF 1
77294 _ACEOF
77295
77296     cat >>confdefs.h <<\_ACEOF
77297 #define HAVE_ISINF 1
77298 _ACEOF
77299
77300     cat >>confdefs.h <<\_ACEOF
77301 #define HAVE_ISNAN 1
77302 _ACEOF
77303
77304     cat >>confdefs.h <<\_ACEOF
77305 #define HAVE_ISNANF 1
77306 _ACEOF
77307
77308
77309     cat >>confdefs.h <<\_ACEOF
77310 #define HAVE_MMAP 1
77311 _ACEOF
77312
77313     cat >>confdefs.h <<\_ACEOF
77314 #define HAVE_ACOSF 1
77315 _ACEOF
77316
77317     cat >>confdefs.h <<\_ACEOF
77318 #define HAVE_ASINF 1
77319 _ACEOF
77320
77321     cat >>confdefs.h <<\_ACEOF
77322 #define HAVE_ATAN2F 1
77323 _ACEOF
77324
77325     cat >>confdefs.h <<\_ACEOF
77326 #define HAVE_ATANF 1
77327 _ACEOF
77328
77329     cat >>confdefs.h <<\_ACEOF
77330 #define HAVE_CEILF 1
77331 _ACEOF
77332
77333     cat >>confdefs.h <<\_ACEOF
77334 #define HAVE_COPYSIGN 1
77335 _ACEOF
77336
77337     cat >>confdefs.h <<\_ACEOF
77338 #define HAVE_COPYSIGNF 1
77339 _ACEOF
77340
77341     cat >>confdefs.h <<\_ACEOF
77342 #define HAVE_COSF 1
77343 _ACEOF
77344
77345     cat >>confdefs.h <<\_ACEOF
77346 #define HAVE_COSHF 1
77347 _ACEOF
77348
77349     cat >>confdefs.h <<\_ACEOF
77350 #define HAVE_EXPF 1
77351 _ACEOF
77352
77353     cat >>confdefs.h <<\_ACEOF
77354 #define HAVE_FABSF 1
77355 _ACEOF
77356
77357     cat >>confdefs.h <<\_ACEOF
77358 #define HAVE_FLOORF 1
77359 _ACEOF
77360
77361     cat >>confdefs.h <<\_ACEOF
77362 #define HAVE_FMODF 1
77363 _ACEOF
77364
77365     cat >>confdefs.h <<\_ACEOF
77366 #define HAVE_FREXPF 1
77367 _ACEOF
77368
77369     cat >>confdefs.h <<\_ACEOF
77370 #define HAVE_LDEXPF 1
77371 _ACEOF
77372
77373     cat >>confdefs.h <<\_ACEOF
77374 #define HAVE_LOG10F 1
77375 _ACEOF
77376
77377     cat >>confdefs.h <<\_ACEOF
77378 #define HAVE_LOGF 1
77379 _ACEOF
77380
77381     cat >>confdefs.h <<\_ACEOF
77382 #define HAVE_MODFF 1
77383 _ACEOF
77384
77385     cat >>confdefs.h <<\_ACEOF
77386 #define HAVE_POWF 1
77387 _ACEOF
77388
77389     cat >>confdefs.h <<\_ACEOF
77390 #define HAVE_SINF 1
77391 _ACEOF
77392
77393     cat >>confdefs.h <<\_ACEOF
77394 #define HAVE_SINHF 1
77395 _ACEOF
77396
77397     cat >>confdefs.h <<\_ACEOF
77398 #define HAVE_SQRTF 1
77399 _ACEOF
77400
77401     cat >>confdefs.h <<\_ACEOF
77402 #define HAVE_TANF 1
77403 _ACEOF
77404
77405     cat >>confdefs.h <<\_ACEOF
77406 #define HAVE_TANHF 1
77407 _ACEOF
77408
77409     if test x"long_double_math_on_this_cpu" = x"yes"; then
77410       cat >>confdefs.h <<\_ACEOF
77411 #define HAVE_FINITEL 1
77412 _ACEOF
77413
77414       cat >>confdefs.h <<\_ACEOF
77415 #define HAVE_ISINFL 1
77416 _ACEOF
77417
77418       cat >>confdefs.h <<\_ACEOF
77419 #define HAVE_ISNANL 1
77420 _ACEOF
77421
77422     fi
77423     ;;
77424   *-hpux*)
77425
77426
77427
77428
77429
77430
77431
77432
77433
77434
77435
77436
77437 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
77438       machine/endian.h machine/param.h sys/machine.h sys/types.h \
77439       fp.h locale.h float.h inttypes.h
77440 do
77441 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77442 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77443   echo "$as_me:$LINENO: checking for $ac_header" >&5
77444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77446   echo $ECHO_N "(cached) $ECHO_C" >&6
77447 fi
77448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77449 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77450 else
77451   # Is the header compilable?
77452 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77453 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77454 cat >conftest.$ac_ext <<_ACEOF
77455 /* confdefs.h.  */
77456 _ACEOF
77457 cat confdefs.h >>conftest.$ac_ext
77458 cat >>conftest.$ac_ext <<_ACEOF
77459 /* end confdefs.h.  */
77460 $ac_includes_default
77461 #include <$ac_header>
77462 _ACEOF
77463 rm -f conftest.$ac_objext
77464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77465   (eval $ac_compile) 2>conftest.er1
77466   ac_status=$?
77467   grep -v '^ *+' conftest.er1 >conftest.err
77468   rm -f conftest.er1
77469   cat conftest.err >&5
77470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77471   (exit $ac_status); } &&
77472          { ac_try='test -z "$ac_c_werror_flag"
77473                          || test ! -s conftest.err'
77474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77475   (eval $ac_try) 2>&5
77476   ac_status=$?
77477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77478   (exit $ac_status); }; } &&
77479          { ac_try='test -s conftest.$ac_objext'
77480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77481   (eval $ac_try) 2>&5
77482   ac_status=$?
77483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77484   (exit $ac_status); }; }; then
77485   ac_header_compiler=yes
77486 else
77487   echo "$as_me: failed program was:" >&5
77488 sed 's/^/| /' conftest.$ac_ext >&5
77489
77490 ac_header_compiler=no
77491 fi
77492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77493 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77494 echo "${ECHO_T}$ac_header_compiler" >&6
77495
77496 # Is the header present?
77497 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77498 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77499 cat >conftest.$ac_ext <<_ACEOF
77500 /* confdefs.h.  */
77501 _ACEOF
77502 cat confdefs.h >>conftest.$ac_ext
77503 cat >>conftest.$ac_ext <<_ACEOF
77504 /* end confdefs.h.  */
77505 #include <$ac_header>
77506 _ACEOF
77507 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77508   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77509   ac_status=$?
77510   grep -v '^ *+' conftest.er1 >conftest.err
77511   rm -f conftest.er1
77512   cat conftest.err >&5
77513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77514   (exit $ac_status); } >/dev/null; then
77515   if test -s conftest.err; then
77516     ac_cpp_err=$ac_c_preproc_warn_flag
77517     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77518   else
77519     ac_cpp_err=
77520   fi
77521 else
77522   ac_cpp_err=yes
77523 fi
77524 if test -z "$ac_cpp_err"; then
77525   ac_header_preproc=yes
77526 else
77527   echo "$as_me: failed program was:" >&5
77528 sed 's/^/| /' conftest.$ac_ext >&5
77529
77530   ac_header_preproc=no
77531 fi
77532 rm -f conftest.err conftest.$ac_ext
77533 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77534 echo "${ECHO_T}$ac_header_preproc" >&6
77535
77536 # So?  What about this header?
77537 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77538   yes:no: )
77539     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77540 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77541     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77542 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77543     ac_header_preproc=yes
77544     ;;
77545   no:yes:* )
77546     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77547 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77548     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
77549 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
77550     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77551 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77552     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
77553 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
77554     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77555 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77556     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77557 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77558     (
77559       cat <<\_ASBOX
77560 ## ----------------------------------------- ##
77561 ## Report this to the package-unused lists.  ##
77562 ## ----------------------------------------- ##
77563 _ASBOX
77564     ) |
77565       sed "s/^/$as_me: WARNING:     /" >&2
77566     ;;
77567 esac
77568 echo "$as_me:$LINENO: checking for $ac_header" >&5
77569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77570 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77571   echo $ECHO_N "(cached) $ECHO_C" >&6
77572 else
77573   eval "$as_ac_Header=\$ac_header_preproc"
77574 fi
77575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77576 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77577
77578 fi
77579 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77580   cat >>confdefs.h <<_ACEOF
77581 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77582 _ACEOF
77583
77584 fi
77585
77586 done
77587
77588     SECTION_FLAGS='-ffunction-sections -fdata-sections'
77589
77590
77591   # If we're not using GNU ld, then there's no point in even trying these
77592   # tests.  Check for that first.  We should have already tested for gld
77593   # by now (in libtool), but require it now just to be safe...
77594   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77595   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77596
77597
77598
77599   # The name set by libtool depends on the version of libtool.  Shame on us
77600   # for depending on an impl detail, but c'est la vie.  Older versions used
77601   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77602   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77603   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
77604   # set (hence we're using an older libtool), then set it.
77605   if test x${with_gnu_ld+set} != xset; then
77606     if test x${ac_cv_prog_gnu_ld+set} != xset; then
77607       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
77608       with_gnu_ld=no
77609     else
77610       with_gnu_ld=$ac_cv_prog_gnu_ld
77611     fi
77612   fi
77613
77614   # Start by getting the version number.  I think the libtool test already
77615   # does some of this, but throws away the result.
77616
77617   ldver=`$LD --version 2>/dev/null | head -1 | \
77618          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
77619
77620   glibcxx_gnu_ld_version=`echo $ldver | \
77621          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77622
77623   # Set --gc-sections.
77624   if test "$with_gnu_ld" = "notbroken"; then
77625     # GNU ld it is!  Joy and bunny rabbits!
77626
77627     # All these tests are for C++; save the language and the compiler flags.
77628     # Need to do this so that g++ won't try to link in libstdc++
77629     ac_test_CFLAGS="${CFLAGS+set}"
77630     ac_save_CFLAGS="$CFLAGS"
77631     CFLAGS='-x c++  -Wl,--gc-sections'
77632
77633     # Check for -Wl,--gc-sections
77634     # XXX This test is broken at the moment, as symbols required for linking
77635     # are now in libsupc++ (not built yet).  In addition, this test has
77636     # cored on solaris in the past.  In addition, --gc-sections doesn't
77637     # really work at the moment (keeps on discarding used sections, first
77638     # .eh_frame and now some of the glibc sections for iconv).
77639     # Bzzzzt.  Thanks for playing, maybe next time.
77640     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77641 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77642     if test "$cross_compiling" = yes; then
77643   ac_sectionLDflags=yes
77644 else
77645   cat >conftest.$ac_ext <<_ACEOF
77646 /* confdefs.h.  */
77647 _ACEOF
77648 cat confdefs.h >>conftest.$ac_ext
77649 cat >>conftest.$ac_ext <<_ACEOF
77650 /* end confdefs.h.  */
77651
77652      int main(void)
77653      {
77654        try { throw 1; }
77655        catch (...) { };
77656        return 0;
77657      }
77658
77659 _ACEOF
77660 rm -f conftest$ac_exeext
77661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77662   (eval $ac_link) 2>&5
77663   ac_status=$?
77664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77665   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
77666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77667   (eval $ac_try) 2>&5
77668   ac_status=$?
77669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77670   (exit $ac_status); }; }; then
77671   ac_sectionLDflags=yes
77672 else
77673   echo "$as_me: program exited with status $ac_status" >&5
77674 echo "$as_me: failed program was:" >&5
77675 sed 's/^/| /' conftest.$ac_ext >&5
77676
77677 ( exit $ac_status )
77678 ac_sectionLDflags=no
77679 fi
77680 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77681 fi
77682     if test "$ac_test_CFLAGS" = set; then
77683       CFLAGS="$ac_save_CFLAGS"
77684     else
77685       # this is the suspicious part
77686       CFLAGS=''
77687     fi
77688     if test "$ac_sectionLDflags" = "yes"; then
77689       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77690     fi
77691     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
77692 echo "${ECHO_T}$ac_sectionLDflags" >&6
77693   fi
77694
77695   # Set linker optimization flags.
77696   if test x"$with_gnu_ld" = x"yes"; then
77697     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77698   fi
77699
77700
77701
77702
77703
77704
77705 echo "$as_me:$LINENO: checking for main in -lm" >&5
77706 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77707 if test "${ac_cv_lib_m_main+set}" = set; then
77708   echo $ECHO_N "(cached) $ECHO_C" >&6
77709 else
77710   ac_check_lib_save_LIBS=$LIBS
77711 LIBS="-lm  $LIBS"
77712 if test x$gcc_no_link = xyes; then
77713   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77715    { (exit 1); exit 1; }; }
77716 fi
77717 cat >conftest.$ac_ext <<_ACEOF
77718 /* confdefs.h.  */
77719 _ACEOF
77720 cat confdefs.h >>conftest.$ac_ext
77721 cat >>conftest.$ac_ext <<_ACEOF
77722 /* end confdefs.h.  */
77723
77724
77725 int
77726 main ()
77727 {
77728 main ();
77729   ;
77730   return 0;
77731 }
77732 _ACEOF
77733 rm -f conftest.$ac_objext conftest$ac_exeext
77734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77735   (eval $ac_link) 2>conftest.er1
77736   ac_status=$?
77737   grep -v '^ *+' conftest.er1 >conftest.err
77738   rm -f conftest.er1
77739   cat conftest.err >&5
77740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77741   (exit $ac_status); } &&
77742          { ac_try='test -z "$ac_c_werror_flag"
77743                          || test ! -s conftest.err'
77744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77745   (eval $ac_try) 2>&5
77746   ac_status=$?
77747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77748   (exit $ac_status); }; } &&
77749          { ac_try='test -s conftest$ac_exeext'
77750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77751   (eval $ac_try) 2>&5
77752   ac_status=$?
77753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77754   (exit $ac_status); }; }; then
77755   ac_cv_lib_m_main=yes
77756 else
77757   echo "$as_me: failed program was:" >&5
77758 sed 's/^/| /' conftest.$ac_ext >&5
77759
77760 ac_cv_lib_m_main=no
77761 fi
77762 rm -f conftest.err conftest.$ac_objext \
77763       conftest$ac_exeext conftest.$ac_ext
77764 LIBS=$ac_check_lib_save_LIBS
77765 fi
77766 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77767 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77768 if test $ac_cv_lib_m_main = yes; then
77769   cat >>confdefs.h <<_ACEOF
77770 #define HAVE_LIBM 1
77771 _ACEOF
77772
77773   LIBS="-lm $LIBS"
77774
77775 fi
77776
77777
77778 for ac_func in copysignf
77779 do
77780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77781 echo "$as_me:$LINENO: checking for $ac_func" >&5
77782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77783 if eval "test \"\${$as_ac_var+set}\" = set"; then
77784   echo $ECHO_N "(cached) $ECHO_C" >&6
77785 else
77786   if test x$gcc_no_link = xyes; then
77787   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77789    { (exit 1); exit 1; }; }
77790 fi
77791 cat >conftest.$ac_ext <<_ACEOF
77792 /* confdefs.h.  */
77793 _ACEOF
77794 cat confdefs.h >>conftest.$ac_ext
77795 cat >>conftest.$ac_ext <<_ACEOF
77796 /* end confdefs.h.  */
77797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77798    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77799 #define $ac_func innocuous_$ac_func
77800
77801 /* System header to define __stub macros and hopefully few prototypes,
77802     which can conflict with char $ac_func (); below.
77803     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77804     <limits.h> exists even on freestanding compilers.  */
77805
77806 #ifdef __STDC__
77807 # include <limits.h>
77808 #else
77809 # include <assert.h>
77810 #endif
77811
77812 #undef $ac_func
77813
77814 /* Override any gcc2 internal prototype to avoid an error.  */
77815 #ifdef __cplusplus
77816 extern "C"
77817 {
77818 #endif
77819 /* We use char because int might match the return type of a gcc2
77820    builtin and then its argument prototype would still apply.  */
77821 char $ac_func ();
77822 /* The GNU C library defines this for functions which it implements
77823     to always fail with ENOSYS.  Some functions are actually named
77824     something starting with __ and the normal name is an alias.  */
77825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77826 choke me
77827 #else
77828 char (*f) () = $ac_func;
77829 #endif
77830 #ifdef __cplusplus
77831 }
77832 #endif
77833
77834 int
77835 main ()
77836 {
77837 return f != $ac_func;
77838   ;
77839   return 0;
77840 }
77841 _ACEOF
77842 rm -f conftest.$ac_objext conftest$ac_exeext
77843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77844   (eval $ac_link) 2>conftest.er1
77845   ac_status=$?
77846   grep -v '^ *+' conftest.er1 >conftest.err
77847   rm -f conftest.er1
77848   cat conftest.err >&5
77849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77850   (exit $ac_status); } &&
77851          { ac_try='test -z "$ac_c_werror_flag"
77852                          || test ! -s conftest.err'
77853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77854   (eval $ac_try) 2>&5
77855   ac_status=$?
77856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77857   (exit $ac_status); }; } &&
77858          { ac_try='test -s conftest$ac_exeext'
77859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77860   (eval $ac_try) 2>&5
77861   ac_status=$?
77862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77863   (exit $ac_status); }; }; then
77864   eval "$as_ac_var=yes"
77865 else
77866   echo "$as_me: failed program was:" >&5
77867 sed 's/^/| /' conftest.$ac_ext >&5
77868
77869 eval "$as_ac_var=no"
77870 fi
77871 rm -f conftest.err conftest.$ac_objext \
77872       conftest$ac_exeext conftest.$ac_ext
77873 fi
77874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77876 if test `eval echo '${'$as_ac_var'}'` = yes; then
77877   cat >>confdefs.h <<_ACEOF
77878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77879 _ACEOF
77880
77881 else
77882   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77883 fi
77884 done
77885
77886
77887
77888 for ac_func in __signbit
77889 do
77890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77891 echo "$as_me:$LINENO: checking for $ac_func" >&5
77892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77893 if eval "test \"\${$as_ac_var+set}\" = set"; then
77894   echo $ECHO_N "(cached) $ECHO_C" >&6
77895 else
77896   if test x$gcc_no_link = xyes; then
77897   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77899    { (exit 1); exit 1; }; }
77900 fi
77901 cat >conftest.$ac_ext <<_ACEOF
77902 /* confdefs.h.  */
77903 _ACEOF
77904 cat confdefs.h >>conftest.$ac_ext
77905 cat >>conftest.$ac_ext <<_ACEOF
77906 /* end confdefs.h.  */
77907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77908    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77909 #define $ac_func innocuous_$ac_func
77910
77911 /* System header to define __stub macros and hopefully few prototypes,
77912     which can conflict with char $ac_func (); below.
77913     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77914     <limits.h> exists even on freestanding compilers.  */
77915
77916 #ifdef __STDC__
77917 # include <limits.h>
77918 #else
77919 # include <assert.h>
77920 #endif
77921
77922 #undef $ac_func
77923
77924 /* Override any gcc2 internal prototype to avoid an error.  */
77925 #ifdef __cplusplus
77926 extern "C"
77927 {
77928 #endif
77929 /* We use char because int might match the return type of a gcc2
77930    builtin and then its argument prototype would still apply.  */
77931 char $ac_func ();
77932 /* The GNU C library defines this for functions which it implements
77933     to always fail with ENOSYS.  Some functions are actually named
77934     something starting with __ and the normal name is an alias.  */
77935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77936 choke me
77937 #else
77938 char (*f) () = $ac_func;
77939 #endif
77940 #ifdef __cplusplus
77941 }
77942 #endif
77943
77944 int
77945 main ()
77946 {
77947 return f != $ac_func;
77948   ;
77949   return 0;
77950 }
77951 _ACEOF
77952 rm -f conftest.$ac_objext conftest$ac_exeext
77953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77954   (eval $ac_link) 2>conftest.er1
77955   ac_status=$?
77956   grep -v '^ *+' conftest.er1 >conftest.err
77957   rm -f conftest.er1
77958   cat conftest.err >&5
77959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77960   (exit $ac_status); } &&
77961          { ac_try='test -z "$ac_c_werror_flag"
77962                          || test ! -s conftest.err'
77963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77964   (eval $ac_try) 2>&5
77965   ac_status=$?
77966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77967   (exit $ac_status); }; } &&
77968          { ac_try='test -s conftest$ac_exeext'
77969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77970   (eval $ac_try) 2>&5
77971   ac_status=$?
77972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77973   (exit $ac_status); }; }; then
77974   eval "$as_ac_var=yes"
77975 else
77976   echo "$as_me: failed program was:" >&5
77977 sed 's/^/| /' conftest.$ac_ext >&5
77978
77979 eval "$as_ac_var=no"
77980 fi
77981 rm -f conftest.err conftest.$ac_objext \
77982       conftest$ac_exeext conftest.$ac_ext
77983 fi
77984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77986 if test `eval echo '${'$as_ac_var'}'` = yes; then
77987   cat >>confdefs.h <<_ACEOF
77988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77989 _ACEOF
77990
77991 else
77992   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77993 fi
77994 done
77995
77996
77997
77998 for ac_func in __signbitf
77999 do
78000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78001 echo "$as_me:$LINENO: checking for $ac_func" >&5
78002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78003 if eval "test \"\${$as_ac_var+set}\" = set"; then
78004   echo $ECHO_N "(cached) $ECHO_C" >&6
78005 else
78006   if test x$gcc_no_link = xyes; then
78007   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78009    { (exit 1); exit 1; }; }
78010 fi
78011 cat >conftest.$ac_ext <<_ACEOF
78012 /* confdefs.h.  */
78013 _ACEOF
78014 cat confdefs.h >>conftest.$ac_ext
78015 cat >>conftest.$ac_ext <<_ACEOF
78016 /* end confdefs.h.  */
78017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78018    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78019 #define $ac_func innocuous_$ac_func
78020
78021 /* System header to define __stub macros and hopefully few prototypes,
78022     which can conflict with char $ac_func (); below.
78023     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78024     <limits.h> exists even on freestanding compilers.  */
78025
78026 #ifdef __STDC__
78027 # include <limits.h>
78028 #else
78029 # include <assert.h>
78030 #endif
78031
78032 #undef $ac_func
78033
78034 /* Override any gcc2 internal prototype to avoid an error.  */
78035 #ifdef __cplusplus
78036 extern "C"
78037 {
78038 #endif
78039 /* We use char because int might match the return type of a gcc2
78040    builtin and then its argument prototype would still apply.  */
78041 char $ac_func ();
78042 /* The GNU C library defines this for functions which it implements
78043     to always fail with ENOSYS.  Some functions are actually named
78044     something starting with __ and the normal name is an alias.  */
78045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78046 choke me
78047 #else
78048 char (*f) () = $ac_func;
78049 #endif
78050 #ifdef __cplusplus
78051 }
78052 #endif
78053
78054 int
78055 main ()
78056 {
78057 return f != $ac_func;
78058   ;
78059   return 0;
78060 }
78061 _ACEOF
78062 rm -f conftest.$ac_objext conftest$ac_exeext
78063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78064   (eval $ac_link) 2>conftest.er1
78065   ac_status=$?
78066   grep -v '^ *+' conftest.er1 >conftest.err
78067   rm -f conftest.er1
78068   cat conftest.err >&5
78069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78070   (exit $ac_status); } &&
78071          { ac_try='test -z "$ac_c_werror_flag"
78072                          || test ! -s conftest.err'
78073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78074   (eval $ac_try) 2>&5
78075   ac_status=$?
78076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78077   (exit $ac_status); }; } &&
78078          { ac_try='test -s conftest$ac_exeext'
78079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78080   (eval $ac_try) 2>&5
78081   ac_status=$?
78082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78083   (exit $ac_status); }; }; then
78084   eval "$as_ac_var=yes"
78085 else
78086   echo "$as_me: failed program was:" >&5
78087 sed 's/^/| /' conftest.$ac_ext >&5
78088
78089 eval "$as_ac_var=no"
78090 fi
78091 rm -f conftest.err conftest.$ac_objext \
78092       conftest$ac_exeext conftest.$ac_ext
78093 fi
78094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78096 if test `eval echo '${'$as_ac_var'}'` = yes; then
78097   cat >>confdefs.h <<_ACEOF
78098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78099 _ACEOF
78100
78101 else
78102   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
78103 fi
78104 done
78105
78106
78107           if test x$ac_cv_func_copysignl = x"yes"; then
78108
78109 for ac_func in __signbitl
78110 do
78111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78112 echo "$as_me:$LINENO: checking for $ac_func" >&5
78113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78114 if eval "test \"\${$as_ac_var+set}\" = set"; then
78115   echo $ECHO_N "(cached) $ECHO_C" >&6
78116 else
78117   if test x$gcc_no_link = xyes; then
78118   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78120    { (exit 1); exit 1; }; }
78121 fi
78122 cat >conftest.$ac_ext <<_ACEOF
78123 /* confdefs.h.  */
78124 _ACEOF
78125 cat confdefs.h >>conftest.$ac_ext
78126 cat >>conftest.$ac_ext <<_ACEOF
78127 /* end confdefs.h.  */
78128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78129    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78130 #define $ac_func innocuous_$ac_func
78131
78132 /* System header to define __stub macros and hopefully few prototypes,
78133     which can conflict with char $ac_func (); below.
78134     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78135     <limits.h> exists even on freestanding compilers.  */
78136
78137 #ifdef __STDC__
78138 # include <limits.h>
78139 #else
78140 # include <assert.h>
78141 #endif
78142
78143 #undef $ac_func
78144
78145 /* Override any gcc2 internal prototype to avoid an error.  */
78146 #ifdef __cplusplus
78147 extern "C"
78148 {
78149 #endif
78150 /* We use char because int might match the return type of a gcc2
78151    builtin and then its argument prototype would still apply.  */
78152 char $ac_func ();
78153 /* The GNU C library defines this for functions which it implements
78154     to always fail with ENOSYS.  Some functions are actually named
78155     something starting with __ and the normal name is an alias.  */
78156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78157 choke me
78158 #else
78159 char (*f) () = $ac_func;
78160 #endif
78161 #ifdef __cplusplus
78162 }
78163 #endif
78164
78165 int
78166 main ()
78167 {
78168 return f != $ac_func;
78169   ;
78170   return 0;
78171 }
78172 _ACEOF
78173 rm -f conftest.$ac_objext conftest$ac_exeext
78174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78175   (eval $ac_link) 2>conftest.er1
78176   ac_status=$?
78177   grep -v '^ *+' conftest.er1 >conftest.err
78178   rm -f conftest.er1
78179   cat conftest.err >&5
78180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78181   (exit $ac_status); } &&
78182          { ac_try='test -z "$ac_c_werror_flag"
78183                          || test ! -s conftest.err'
78184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78185   (eval $ac_try) 2>&5
78186   ac_status=$?
78187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78188   (exit $ac_status); }; } &&
78189          { ac_try='test -s conftest$ac_exeext'
78190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78191   (eval $ac_try) 2>&5
78192   ac_status=$?
78193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78194   (exit $ac_status); }; }; then
78195   eval "$as_ac_var=yes"
78196 else
78197   echo "$as_me: failed program was:" >&5
78198 sed 's/^/| /' conftest.$ac_ext >&5
78199
78200 eval "$as_ac_var=no"
78201 fi
78202 rm -f conftest.err conftest.$ac_objext \
78203       conftest$ac_exeext conftest.$ac_ext
78204 fi
78205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78207 if test `eval echo '${'$as_ac_var'}'` = yes; then
78208   cat >>confdefs.h <<_ACEOF
78209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78210 _ACEOF
78211
78212 else
78213   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
78214 fi
78215 done
78216
78217   fi
78218
78219   # Used in libmath/Makefile.am.
78220   if test -n "$LIBMATHOBJS"; then
78221     need_libmath=yes
78222   fi
78223
78224
78225
78226   # Test wchar.h for mbstate_t, which is needed for char_traits and
78227   # others even if wchar_t support is not on.
78228   echo "$as_me:$LINENO: checking for mbstate_t" >&5
78229 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
78230   cat >conftest.$ac_ext <<_ACEOF
78231 /* confdefs.h.  */
78232 _ACEOF
78233 cat confdefs.h >>conftest.$ac_ext
78234 cat >>conftest.$ac_ext <<_ACEOF
78235 /* end confdefs.h.  */
78236 #include <wchar.h>
78237 int
78238 main ()
78239 {
78240 mbstate_t teststate;
78241   ;
78242   return 0;
78243 }
78244 _ACEOF
78245 rm -f conftest.$ac_objext
78246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78247   (eval $ac_compile) 2>conftest.er1
78248   ac_status=$?
78249   grep -v '^ *+' conftest.er1 >conftest.err
78250   rm -f conftest.er1
78251   cat conftest.err >&5
78252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78253   (exit $ac_status); } &&
78254          { ac_try='test -z "$ac_c_werror_flag"
78255                          || test ! -s conftest.err'
78256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78257   (eval $ac_try) 2>&5
78258   ac_status=$?
78259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78260   (exit $ac_status); }; } &&
78261          { ac_try='test -s conftest.$ac_objext'
78262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78263   (eval $ac_try) 2>&5
78264   ac_status=$?
78265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78266   (exit $ac_status); }; }; then
78267   have_mbstate_t=yes
78268 else
78269   echo "$as_me: failed program was:" >&5
78270 sed 's/^/| /' conftest.$ac_ext >&5
78271
78272 have_mbstate_t=no
78273 fi
78274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78275   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
78276 echo "${ECHO_T}$have_mbstate_t" >&6
78277   if test x"$have_mbstate_t" = xyes; then
78278     cat >>confdefs.h <<\_ACEOF
78279 #define HAVE_MBSTATE_T 1
78280 _ACEOF
78281
78282   fi
78283
78284   # Sanity check for existence of ISO C99 headers for extended encoding.
78285
78286 for ac_header in wchar.h
78287 do
78288 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78290   echo "$as_me:$LINENO: checking for $ac_header" >&5
78291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78293   echo $ECHO_N "(cached) $ECHO_C" >&6
78294 fi
78295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78297 else
78298   # Is the header compilable?
78299 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78300 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78301 cat >conftest.$ac_ext <<_ACEOF
78302 /* confdefs.h.  */
78303 _ACEOF
78304 cat confdefs.h >>conftest.$ac_ext
78305 cat >>conftest.$ac_ext <<_ACEOF
78306 /* end confdefs.h.  */
78307 $ac_includes_default
78308 #include <$ac_header>
78309 _ACEOF
78310 rm -f conftest.$ac_objext
78311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78312   (eval $ac_compile) 2>conftest.er1
78313   ac_status=$?
78314   grep -v '^ *+' conftest.er1 >conftest.err
78315   rm -f conftest.er1
78316   cat conftest.err >&5
78317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78318   (exit $ac_status); } &&
78319          { ac_try='test -z "$ac_c_werror_flag"
78320                          || test ! -s conftest.err'
78321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78322   (eval $ac_try) 2>&5
78323   ac_status=$?
78324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78325   (exit $ac_status); }; } &&
78326          { ac_try='test -s conftest.$ac_objext'
78327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78328   (eval $ac_try) 2>&5
78329   ac_status=$?
78330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78331   (exit $ac_status); }; }; then
78332   ac_header_compiler=yes
78333 else
78334   echo "$as_me: failed program was:" >&5
78335 sed 's/^/| /' conftest.$ac_ext >&5
78336
78337 ac_header_compiler=no
78338 fi
78339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78340 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78341 echo "${ECHO_T}$ac_header_compiler" >&6
78342
78343 # Is the header present?
78344 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78345 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78346 cat >conftest.$ac_ext <<_ACEOF
78347 /* confdefs.h.  */
78348 _ACEOF
78349 cat confdefs.h >>conftest.$ac_ext
78350 cat >>conftest.$ac_ext <<_ACEOF
78351 /* end confdefs.h.  */
78352 #include <$ac_header>
78353 _ACEOF
78354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78355   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78356   ac_status=$?
78357   grep -v '^ *+' conftest.er1 >conftest.err
78358   rm -f conftest.er1
78359   cat conftest.err >&5
78360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78361   (exit $ac_status); } >/dev/null; then
78362   if test -s conftest.err; then
78363     ac_cpp_err=$ac_c_preproc_warn_flag
78364     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78365   else
78366     ac_cpp_err=
78367   fi
78368 else
78369   ac_cpp_err=yes
78370 fi
78371 if test -z "$ac_cpp_err"; then
78372   ac_header_preproc=yes
78373 else
78374   echo "$as_me: failed program was:" >&5
78375 sed 's/^/| /' conftest.$ac_ext >&5
78376
78377   ac_header_preproc=no
78378 fi
78379 rm -f conftest.err conftest.$ac_ext
78380 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78381 echo "${ECHO_T}$ac_header_preproc" >&6
78382
78383 # So?  What about this header?
78384 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78385   yes:no: )
78386     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78387 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78388     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78389 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78390     ac_header_preproc=yes
78391     ;;
78392   no:yes:* )
78393     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78394 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78395     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
78396 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
78397     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78398 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78399     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
78400 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
78401     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78402 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78403     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78404 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78405     (
78406       cat <<\_ASBOX
78407 ## ----------------------------------------- ##
78408 ## Report this to the package-unused lists.  ##
78409 ## ----------------------------------------- ##
78410 _ASBOX
78411     ) |
78412       sed "s/^/$as_me: WARNING:     /" >&2
78413     ;;
78414 esac
78415 echo "$as_me:$LINENO: checking for $ac_header" >&5
78416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78418   echo $ECHO_N "(cached) $ECHO_C" >&6
78419 else
78420   eval "$as_ac_Header=\$ac_header_preproc"
78421 fi
78422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78423 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78424
78425 fi
78426 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78427   cat >>confdefs.h <<_ACEOF
78428 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78429 _ACEOF
78430  ac_has_wchar_h=yes
78431 else
78432   ac_has_wchar_h=no
78433 fi
78434
78435 done
78436
78437
78438 for ac_header in wctype.h
78439 do
78440 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78441 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78442   echo "$as_me:$LINENO: checking for $ac_header" >&5
78443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78445   echo $ECHO_N "(cached) $ECHO_C" >&6
78446 fi
78447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78448 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78449 else
78450   # Is the header compilable?
78451 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78452 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78453 cat >conftest.$ac_ext <<_ACEOF
78454 /* confdefs.h.  */
78455 _ACEOF
78456 cat confdefs.h >>conftest.$ac_ext
78457 cat >>conftest.$ac_ext <<_ACEOF
78458 /* end confdefs.h.  */
78459 $ac_includes_default
78460 #include <$ac_header>
78461 _ACEOF
78462 rm -f conftest.$ac_objext
78463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78464   (eval $ac_compile) 2>conftest.er1
78465   ac_status=$?
78466   grep -v '^ *+' conftest.er1 >conftest.err
78467   rm -f conftest.er1
78468   cat conftest.err >&5
78469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78470   (exit $ac_status); } &&
78471          { ac_try='test -z "$ac_c_werror_flag"
78472                          || test ! -s conftest.err'
78473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78474   (eval $ac_try) 2>&5
78475   ac_status=$?
78476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78477   (exit $ac_status); }; } &&
78478          { ac_try='test -s conftest.$ac_objext'
78479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78480   (eval $ac_try) 2>&5
78481   ac_status=$?
78482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78483   (exit $ac_status); }; }; then
78484   ac_header_compiler=yes
78485 else
78486   echo "$as_me: failed program was:" >&5
78487 sed 's/^/| /' conftest.$ac_ext >&5
78488
78489 ac_header_compiler=no
78490 fi
78491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78492 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78493 echo "${ECHO_T}$ac_header_compiler" >&6
78494
78495 # Is the header present?
78496 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78497 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78498 cat >conftest.$ac_ext <<_ACEOF
78499 /* confdefs.h.  */
78500 _ACEOF
78501 cat confdefs.h >>conftest.$ac_ext
78502 cat >>conftest.$ac_ext <<_ACEOF
78503 /* end confdefs.h.  */
78504 #include <$ac_header>
78505 _ACEOF
78506 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78507   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78508   ac_status=$?
78509   grep -v '^ *+' conftest.er1 >conftest.err
78510   rm -f conftest.er1
78511   cat conftest.err >&5
78512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78513   (exit $ac_status); } >/dev/null; then
78514   if test -s conftest.err; then
78515     ac_cpp_err=$ac_c_preproc_warn_flag
78516     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78517   else
78518     ac_cpp_err=
78519   fi
78520 else
78521   ac_cpp_err=yes
78522 fi
78523 if test -z "$ac_cpp_err"; then
78524   ac_header_preproc=yes
78525 else
78526   echo "$as_me: failed program was:" >&5
78527 sed 's/^/| /' conftest.$ac_ext >&5
78528
78529   ac_header_preproc=no
78530 fi
78531 rm -f conftest.err conftest.$ac_ext
78532 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78533 echo "${ECHO_T}$ac_header_preproc" >&6
78534
78535 # So?  What about this header?
78536 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78537   yes:no: )
78538     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78539 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78540     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78541 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78542     ac_header_preproc=yes
78543     ;;
78544   no:yes:* )
78545     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78546 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78547     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
78548 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
78549     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78550 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78551     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
78552 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
78553     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78554 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78555     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78556 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78557     (
78558       cat <<\_ASBOX
78559 ## ----------------------------------------- ##
78560 ## Report this to the package-unused lists.  ##
78561 ## ----------------------------------------- ##
78562 _ASBOX
78563     ) |
78564       sed "s/^/$as_me: WARNING:     /" >&2
78565     ;;
78566 esac
78567 echo "$as_me:$LINENO: checking for $ac_header" >&5
78568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78570   echo $ECHO_N "(cached) $ECHO_C" >&6
78571 else
78572   eval "$as_ac_Header=\$ac_header_preproc"
78573 fi
78574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78575 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78576
78577 fi
78578 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78579   cat >>confdefs.h <<_ACEOF
78580 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78581 _ACEOF
78582  ac_has_wctype_h=yes
78583 else
78584   ac_has_wctype_h=no
78585 fi
78586
78587 done
78588
78589
78590   # Only continue checking if the ISO C99 headers exist and support is on.
78591   if test x"$ac_has_wchar_h" = xyes &&
78592      test x"$ac_has_wctype_h" = xyes &&
78593      test x"$enable_c_mbchar" != xno; then
78594
78595     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
78596     # numeric_limits can instantiate type_traits<wchar_t>
78597     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
78598 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
78599     cat >conftest.$ac_ext <<_ACEOF
78600 /* confdefs.h.  */
78601 _ACEOF
78602 cat confdefs.h >>conftest.$ac_ext
78603 cat >>conftest.$ac_ext <<_ACEOF
78604 /* end confdefs.h.  */
78605 #include <wchar.h>
78606 int
78607 main ()
78608 {
78609 int i = WCHAR_MIN; int j = WCHAR_MAX;
78610   ;
78611   return 0;
78612 }
78613 _ACEOF
78614 rm -f conftest.$ac_objext
78615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78616   (eval $ac_compile) 2>conftest.er1
78617   ac_status=$?
78618   grep -v '^ *+' conftest.er1 >conftest.err
78619   rm -f conftest.er1
78620   cat conftest.err >&5
78621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78622   (exit $ac_status); } &&
78623          { ac_try='test -z "$ac_c_werror_flag"
78624                          || test ! -s conftest.err'
78625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78626   (eval $ac_try) 2>&5
78627   ac_status=$?
78628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78629   (exit $ac_status); }; } &&
78630          { ac_try='test -s conftest.$ac_objext'
78631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78632   (eval $ac_try) 2>&5
78633   ac_status=$?
78634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78635   (exit $ac_status); }; }; then
78636   has_wchar_minmax=yes
78637 else
78638   echo "$as_me: failed program was:" >&5
78639 sed 's/^/| /' conftest.$ac_ext >&5
78640
78641 has_wchar_minmax=no
78642 fi
78643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78644     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
78645 echo "${ECHO_T}$has_wchar_minmax" >&6
78646
78647     # Test wchar.h for WEOF, which is what we use to determine whether
78648     # to specialize for char_traits<wchar_t> or not.
78649     echo "$as_me:$LINENO: checking for WEOF" >&5
78650 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
78651     cat >conftest.$ac_ext <<_ACEOF
78652 /* confdefs.h.  */
78653 _ACEOF
78654 cat confdefs.h >>conftest.$ac_ext
78655 cat >>conftest.$ac_ext <<_ACEOF
78656 /* end confdefs.h.  */
78657
78658       #include <wchar.h>
78659       #include <stddef.h>
78660 int
78661 main ()
78662 {
78663 wint_t i = WEOF;
78664   ;
78665   return 0;
78666 }
78667 _ACEOF
78668 rm -f conftest.$ac_objext
78669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78670   (eval $ac_compile) 2>conftest.er1
78671   ac_status=$?
78672   grep -v '^ *+' conftest.er1 >conftest.err
78673   rm -f conftest.er1
78674   cat conftest.err >&5
78675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78676   (exit $ac_status); } &&
78677          { ac_try='test -z "$ac_c_werror_flag"
78678                          || test ! -s conftest.err'
78679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78680   (eval $ac_try) 2>&5
78681   ac_status=$?
78682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78683   (exit $ac_status); }; } &&
78684          { ac_try='test -s conftest.$ac_objext'
78685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78686   (eval $ac_try) 2>&5
78687   ac_status=$?
78688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78689   (exit $ac_status); }; }; then
78690   has_weof=yes
78691 else
78692   echo "$as_me: failed program was:" >&5
78693 sed 's/^/| /' conftest.$ac_ext >&5
78694
78695 has_weof=no
78696 fi
78697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78698     echo "$as_me:$LINENO: result: $has_weof" >&5
78699 echo "${ECHO_T}$has_weof" >&6
78700
78701     # Tests for wide character functions used in char_traits<wchar_t>.
78702     ac_wfuncs=yes
78703
78704
78705
78706
78707
78708
78709 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
78710 do
78711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78712 echo "$as_me:$LINENO: checking for $ac_func" >&5
78713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78714 if eval "test \"\${$as_ac_var+set}\" = set"; then
78715   echo $ECHO_N "(cached) $ECHO_C" >&6
78716 else
78717   if test x$gcc_no_link = xyes; then
78718   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78720    { (exit 1); exit 1; }; }
78721 fi
78722 cat >conftest.$ac_ext <<_ACEOF
78723 /* confdefs.h.  */
78724 _ACEOF
78725 cat confdefs.h >>conftest.$ac_ext
78726 cat >>conftest.$ac_ext <<_ACEOF
78727 /* end confdefs.h.  */
78728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78729    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78730 #define $ac_func innocuous_$ac_func
78731
78732 /* System header to define __stub macros and hopefully few prototypes,
78733     which can conflict with char $ac_func (); below.
78734     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78735     <limits.h> exists even on freestanding compilers.  */
78736
78737 #ifdef __STDC__
78738 # include <limits.h>
78739 #else
78740 # include <assert.h>
78741 #endif
78742
78743 #undef $ac_func
78744
78745 /* Override any gcc2 internal prototype to avoid an error.  */
78746 #ifdef __cplusplus
78747 extern "C"
78748 {
78749 #endif
78750 /* We use char because int might match the return type of a gcc2
78751    builtin and then its argument prototype would still apply.  */
78752 char $ac_func ();
78753 /* The GNU C library defines this for functions which it implements
78754     to always fail with ENOSYS.  Some functions are actually named
78755     something starting with __ and the normal name is an alias.  */
78756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78757 choke me
78758 #else
78759 char (*f) () = $ac_func;
78760 #endif
78761 #ifdef __cplusplus
78762 }
78763 #endif
78764
78765 int
78766 main ()
78767 {
78768 return f != $ac_func;
78769   ;
78770   return 0;
78771 }
78772 _ACEOF
78773 rm -f conftest.$ac_objext conftest$ac_exeext
78774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78775   (eval $ac_link) 2>conftest.er1
78776   ac_status=$?
78777   grep -v '^ *+' conftest.er1 >conftest.err
78778   rm -f conftest.er1
78779   cat conftest.err >&5
78780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78781   (exit $ac_status); } &&
78782          { ac_try='test -z "$ac_c_werror_flag"
78783                          || test ! -s conftest.err'
78784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78785   (eval $ac_try) 2>&5
78786   ac_status=$?
78787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78788   (exit $ac_status); }; } &&
78789          { ac_try='test -s conftest$ac_exeext'
78790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78791   (eval $ac_try) 2>&5
78792   ac_status=$?
78793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78794   (exit $ac_status); }; }; then
78795   eval "$as_ac_var=yes"
78796 else
78797   echo "$as_me: failed program was:" >&5
78798 sed 's/^/| /' conftest.$ac_ext >&5
78799
78800 eval "$as_ac_var=no"
78801 fi
78802 rm -f conftest.err conftest.$ac_objext \
78803       conftest$ac_exeext conftest.$ac_ext
78804 fi
78805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78807 if test `eval echo '${'$as_ac_var'}'` = yes; then
78808   cat >>confdefs.h <<_ACEOF
78809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78810 _ACEOF
78811
78812 else
78813   ac_wfuncs=no
78814 fi
78815 done
78816
78817
78818     # Checks for names injected into std:: by the c_std headers.
78819
78820
78821
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 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
78866     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
78867     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
78868     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
78869     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
78870     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
78871 do
78872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78873 echo "$as_me:$LINENO: checking for $ac_func" >&5
78874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78875 if eval "test \"\${$as_ac_var+set}\" = set"; then
78876   echo $ECHO_N "(cached) $ECHO_C" >&6
78877 else
78878   if test x$gcc_no_link = xyes; then
78879   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78881    { (exit 1); exit 1; }; }
78882 fi
78883 cat >conftest.$ac_ext <<_ACEOF
78884 /* confdefs.h.  */
78885 _ACEOF
78886 cat confdefs.h >>conftest.$ac_ext
78887 cat >>conftest.$ac_ext <<_ACEOF
78888 /* end confdefs.h.  */
78889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78890    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78891 #define $ac_func innocuous_$ac_func
78892
78893 /* System header to define __stub macros and hopefully few prototypes,
78894     which can conflict with char $ac_func (); below.
78895     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78896     <limits.h> exists even on freestanding compilers.  */
78897
78898 #ifdef __STDC__
78899 # include <limits.h>
78900 #else
78901 # include <assert.h>
78902 #endif
78903
78904 #undef $ac_func
78905
78906 /* Override any gcc2 internal prototype to avoid an error.  */
78907 #ifdef __cplusplus
78908 extern "C"
78909 {
78910 #endif
78911 /* We use char because int might match the return type of a gcc2
78912    builtin and then its argument prototype would still apply.  */
78913 char $ac_func ();
78914 /* The GNU C library defines this for functions which it implements
78915     to always fail with ENOSYS.  Some functions are actually named
78916     something starting with __ and the normal name is an alias.  */
78917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78918 choke me
78919 #else
78920 char (*f) () = $ac_func;
78921 #endif
78922 #ifdef __cplusplus
78923 }
78924 #endif
78925
78926 int
78927 main ()
78928 {
78929 return f != $ac_func;
78930   ;
78931   return 0;
78932 }
78933 _ACEOF
78934 rm -f conftest.$ac_objext conftest$ac_exeext
78935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78936   (eval $ac_link) 2>conftest.er1
78937   ac_status=$?
78938   grep -v '^ *+' conftest.er1 >conftest.err
78939   rm -f conftest.er1
78940   cat conftest.err >&5
78941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78942   (exit $ac_status); } &&
78943          { ac_try='test -z "$ac_c_werror_flag"
78944                          || test ! -s conftest.err'
78945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78946   (eval $ac_try) 2>&5
78947   ac_status=$?
78948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78949   (exit $ac_status); }; } &&
78950          { ac_try='test -s conftest$ac_exeext'
78951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78952   (eval $ac_try) 2>&5
78953   ac_status=$?
78954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78955   (exit $ac_status); }; }; then
78956   eval "$as_ac_var=yes"
78957 else
78958   echo "$as_me: failed program was:" >&5
78959 sed 's/^/| /' conftest.$ac_ext >&5
78960
78961 eval "$as_ac_var=no"
78962 fi
78963 rm -f conftest.err conftest.$ac_objext \
78964       conftest$ac_exeext conftest.$ac_ext
78965 fi
78966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78968 if test `eval echo '${'$as_ac_var'}'` = yes; then
78969   cat >>confdefs.h <<_ACEOF
78970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78971 _ACEOF
78972
78973 else
78974   ac_wfuncs=no
78975 fi
78976 done
78977
78978
78979     # Checks for wide character functions that are not required
78980     # for basic wchar_t support.  Don't disable support if they are missing.
78981     # Injection of these is wrapped with guard macros.
78982
78983
78984
78985
78986
78987 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
78988 do
78989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78990 echo "$as_me:$LINENO: checking for $ac_func" >&5
78991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78992 if eval "test \"\${$as_ac_var+set}\" = set"; then
78993   echo $ECHO_N "(cached) $ECHO_C" >&6
78994 else
78995   if test x$gcc_no_link = xyes; then
78996   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78998    { (exit 1); exit 1; }; }
78999 fi
79000 cat >conftest.$ac_ext <<_ACEOF
79001 /* confdefs.h.  */
79002 _ACEOF
79003 cat confdefs.h >>conftest.$ac_ext
79004 cat >>conftest.$ac_ext <<_ACEOF
79005 /* end confdefs.h.  */
79006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79007    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79008 #define $ac_func innocuous_$ac_func
79009
79010 /* System header to define __stub macros and hopefully few prototypes,
79011     which can conflict with char $ac_func (); below.
79012     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79013     <limits.h> exists even on freestanding compilers.  */
79014
79015 #ifdef __STDC__
79016 # include <limits.h>
79017 #else
79018 # include <assert.h>
79019 #endif
79020
79021 #undef $ac_func
79022
79023 /* Override any gcc2 internal prototype to avoid an error.  */
79024 #ifdef __cplusplus
79025 extern "C"
79026 {
79027 #endif
79028 /* We use char because int might match the return type of a gcc2
79029    builtin and then its argument prototype would still apply.  */
79030 char $ac_func ();
79031 /* The GNU C library defines this for functions which it implements
79032     to always fail with ENOSYS.  Some functions are actually named
79033     something starting with __ and the normal name is an alias.  */
79034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79035 choke me
79036 #else
79037 char (*f) () = $ac_func;
79038 #endif
79039 #ifdef __cplusplus
79040 }
79041 #endif
79042
79043 int
79044 main ()
79045 {
79046 return f != $ac_func;
79047   ;
79048   return 0;
79049 }
79050 _ACEOF
79051 rm -f conftest.$ac_objext conftest$ac_exeext
79052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79053   (eval $ac_link) 2>conftest.er1
79054   ac_status=$?
79055   grep -v '^ *+' conftest.er1 >conftest.err
79056   rm -f conftest.er1
79057   cat conftest.err >&5
79058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79059   (exit $ac_status); } &&
79060          { ac_try='test -z "$ac_c_werror_flag"
79061                          || test ! -s conftest.err'
79062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79063   (eval $ac_try) 2>&5
79064   ac_status=$?
79065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79066   (exit $ac_status); }; } &&
79067          { ac_try='test -s conftest$ac_exeext'
79068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79069   (eval $ac_try) 2>&5
79070   ac_status=$?
79071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79072   (exit $ac_status); }; }; then
79073   eval "$as_ac_var=yes"
79074 else
79075   echo "$as_me: failed program was:" >&5
79076 sed 's/^/| /' conftest.$ac_ext >&5
79077
79078 eval "$as_ac_var=no"
79079 fi
79080 rm -f conftest.err conftest.$ac_objext \
79081       conftest$ac_exeext conftest.$ac_ext
79082 fi
79083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79085 if test `eval echo '${'$as_ac_var'}'` = yes; then
79086   cat >>confdefs.h <<_ACEOF
79087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79088 _ACEOF
79089
79090 fi
79091 done
79092
79093
79094     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
79095 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
79096     if test x"$has_weof" = xyes &&
79097        test x"$has_wchar_minmax" = xyes &&
79098        test x"$ac_wfuncs" = xyes;
79099     then
79100       ac_isoC99_wchar_t=yes
79101     else
79102       ac_isoC99_wchar_t=no
79103     fi
79104     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
79105 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
79106
79107     # Use iconv for wchar_t to char conversions. As such, check for
79108     # X/Open Portability Guide, version 2 features (XPG2).
79109     if test "${ac_cv_header_iconv_h+set}" = set; then
79110   echo "$as_me:$LINENO: checking for iconv.h" >&5
79111 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79112 if test "${ac_cv_header_iconv_h+set}" = set; then
79113   echo $ECHO_N "(cached) $ECHO_C" >&6
79114 fi
79115 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79116 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79117 else
79118   # Is the header compilable?
79119 echo "$as_me:$LINENO: checking iconv.h usability" >&5
79120 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
79121 cat >conftest.$ac_ext <<_ACEOF
79122 /* confdefs.h.  */
79123 _ACEOF
79124 cat confdefs.h >>conftest.$ac_ext
79125 cat >>conftest.$ac_ext <<_ACEOF
79126 /* end confdefs.h.  */
79127 $ac_includes_default
79128 #include <iconv.h>
79129 _ACEOF
79130 rm -f conftest.$ac_objext
79131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79132   (eval $ac_compile) 2>conftest.er1
79133   ac_status=$?
79134   grep -v '^ *+' conftest.er1 >conftest.err
79135   rm -f conftest.er1
79136   cat conftest.err >&5
79137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79138   (exit $ac_status); } &&
79139          { ac_try='test -z "$ac_c_werror_flag"
79140                          || test ! -s conftest.err'
79141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79142   (eval $ac_try) 2>&5
79143   ac_status=$?
79144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79145   (exit $ac_status); }; } &&
79146          { ac_try='test -s conftest.$ac_objext'
79147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79148   (eval $ac_try) 2>&5
79149   ac_status=$?
79150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79151   (exit $ac_status); }; }; then
79152   ac_header_compiler=yes
79153 else
79154   echo "$as_me: failed program was:" >&5
79155 sed 's/^/| /' conftest.$ac_ext >&5
79156
79157 ac_header_compiler=no
79158 fi
79159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79160 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79161 echo "${ECHO_T}$ac_header_compiler" >&6
79162
79163 # Is the header present?
79164 echo "$as_me:$LINENO: checking iconv.h presence" >&5
79165 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
79166 cat >conftest.$ac_ext <<_ACEOF
79167 /* confdefs.h.  */
79168 _ACEOF
79169 cat confdefs.h >>conftest.$ac_ext
79170 cat >>conftest.$ac_ext <<_ACEOF
79171 /* end confdefs.h.  */
79172 #include <iconv.h>
79173 _ACEOF
79174 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79175   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79176   ac_status=$?
79177   grep -v '^ *+' conftest.er1 >conftest.err
79178   rm -f conftest.er1
79179   cat conftest.err >&5
79180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79181   (exit $ac_status); } >/dev/null; then
79182   if test -s conftest.err; then
79183     ac_cpp_err=$ac_c_preproc_warn_flag
79184     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79185   else
79186     ac_cpp_err=
79187   fi
79188 else
79189   ac_cpp_err=yes
79190 fi
79191 if test -z "$ac_cpp_err"; then
79192   ac_header_preproc=yes
79193 else
79194   echo "$as_me: failed program was:" >&5
79195 sed 's/^/| /' conftest.$ac_ext >&5
79196
79197   ac_header_preproc=no
79198 fi
79199 rm -f conftest.err conftest.$ac_ext
79200 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79201 echo "${ECHO_T}$ac_header_preproc" >&6
79202
79203 # So?  What about this header?
79204 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79205   yes:no: )
79206     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
79207 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79208     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
79209 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
79210     ac_header_preproc=yes
79211     ;;
79212   no:yes:* )
79213     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
79214 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
79215     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
79216 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
79217     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
79218 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
79219     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
79220 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
79221     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
79222 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
79223     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
79224 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
79225     (
79226       cat <<\_ASBOX
79227 ## ----------------------------------------- ##
79228 ## Report this to the package-unused lists.  ##
79229 ## ----------------------------------------- ##
79230 _ASBOX
79231     ) |
79232       sed "s/^/$as_me: WARNING:     /" >&2
79233     ;;
79234 esac
79235 echo "$as_me:$LINENO: checking for iconv.h" >&5
79236 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79237 if test "${ac_cv_header_iconv_h+set}" = set; then
79238   echo $ECHO_N "(cached) $ECHO_C" >&6
79239 else
79240   ac_cv_header_iconv_h=$ac_header_preproc
79241 fi
79242 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79243 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79244
79245 fi
79246 if test $ac_cv_header_iconv_h = yes; then
79247   ac_has_iconv_h=yes
79248 else
79249   ac_has_iconv_h=no
79250 fi
79251
79252
79253     if test "${ac_cv_header_langinfo_h+set}" = set; then
79254   echo "$as_me:$LINENO: checking for langinfo.h" >&5
79255 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79256 if test "${ac_cv_header_langinfo_h+set}" = set; then
79257   echo $ECHO_N "(cached) $ECHO_C" >&6
79258 fi
79259 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79260 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79261 else
79262   # Is the header compilable?
79263 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
79264 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
79265 cat >conftest.$ac_ext <<_ACEOF
79266 /* confdefs.h.  */
79267 _ACEOF
79268 cat confdefs.h >>conftest.$ac_ext
79269 cat >>conftest.$ac_ext <<_ACEOF
79270 /* end confdefs.h.  */
79271 $ac_includes_default
79272 #include <langinfo.h>
79273 _ACEOF
79274 rm -f conftest.$ac_objext
79275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79276   (eval $ac_compile) 2>conftest.er1
79277   ac_status=$?
79278   grep -v '^ *+' conftest.er1 >conftest.err
79279   rm -f conftest.er1
79280   cat conftest.err >&5
79281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79282   (exit $ac_status); } &&
79283          { ac_try='test -z "$ac_c_werror_flag"
79284                          || test ! -s conftest.err'
79285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79286   (eval $ac_try) 2>&5
79287   ac_status=$?
79288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79289   (exit $ac_status); }; } &&
79290          { ac_try='test -s conftest.$ac_objext'
79291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79292   (eval $ac_try) 2>&5
79293   ac_status=$?
79294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79295   (exit $ac_status); }; }; then
79296   ac_header_compiler=yes
79297 else
79298   echo "$as_me: failed program was:" >&5
79299 sed 's/^/| /' conftest.$ac_ext >&5
79300
79301 ac_header_compiler=no
79302 fi
79303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79304 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79305 echo "${ECHO_T}$ac_header_compiler" >&6
79306
79307 # Is the header present?
79308 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
79309 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
79310 cat >conftest.$ac_ext <<_ACEOF
79311 /* confdefs.h.  */
79312 _ACEOF
79313 cat confdefs.h >>conftest.$ac_ext
79314 cat >>conftest.$ac_ext <<_ACEOF
79315 /* end confdefs.h.  */
79316 #include <langinfo.h>
79317 _ACEOF
79318 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79319   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79320   ac_status=$?
79321   grep -v '^ *+' conftest.er1 >conftest.err
79322   rm -f conftest.er1
79323   cat conftest.err >&5
79324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79325   (exit $ac_status); } >/dev/null; then
79326   if test -s conftest.err; then
79327     ac_cpp_err=$ac_c_preproc_warn_flag
79328     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79329   else
79330     ac_cpp_err=
79331   fi
79332 else
79333   ac_cpp_err=yes
79334 fi
79335 if test -z "$ac_cpp_err"; then
79336   ac_header_preproc=yes
79337 else
79338   echo "$as_me: failed program was:" >&5
79339 sed 's/^/| /' conftest.$ac_ext >&5
79340
79341   ac_header_preproc=no
79342 fi
79343 rm -f conftest.err conftest.$ac_ext
79344 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79345 echo "${ECHO_T}$ac_header_preproc" >&6
79346
79347 # So?  What about this header?
79348 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79349   yes:no: )
79350     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
79351 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79352     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
79353 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
79354     ac_header_preproc=yes
79355     ;;
79356   no:yes:* )
79357     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
79358 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
79359     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
79360 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
79361     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
79362 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
79363     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
79364 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
79365     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
79366 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
79367     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
79368 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
79369     (
79370       cat <<\_ASBOX
79371 ## ----------------------------------------- ##
79372 ## Report this to the package-unused lists.  ##
79373 ## ----------------------------------------- ##
79374 _ASBOX
79375     ) |
79376       sed "s/^/$as_me: WARNING:     /" >&2
79377     ;;
79378 esac
79379 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79380 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79381 if test "${ac_cv_header_langinfo_h+set}" = set; then
79382   echo $ECHO_N "(cached) $ECHO_C" >&6
79383 else
79384   ac_cv_header_langinfo_h=$ac_header_preproc
79385 fi
79386 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79387 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79388
79389 fi
79390 if test $ac_cv_header_langinfo_h = yes; then
79391   ac_has_langinfo_h=yes
79392 else
79393   ac_has_langinfo_h=no
79394 fi
79395
79396
79397
79398     # Check for existence of libiconv.a providing XPG2 wchar_t support.
79399     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
79400 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
79401 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
79402   echo $ECHO_N "(cached) $ECHO_C" >&6
79403 else
79404   ac_check_lib_save_LIBS=$LIBS
79405 LIBS="-liconv  $LIBS"
79406 if test x$gcc_no_link = xyes; then
79407   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79409    { (exit 1); exit 1; }; }
79410 fi
79411 cat >conftest.$ac_ext <<_ACEOF
79412 /* confdefs.h.  */
79413 _ACEOF
79414 cat confdefs.h >>conftest.$ac_ext
79415 cat >>conftest.$ac_ext <<_ACEOF
79416 /* end confdefs.h.  */
79417
79418 /* Override any gcc2 internal prototype to avoid an error.  */
79419 #ifdef __cplusplus
79420 extern "C"
79421 #endif
79422 /* We use char because int might match the return type of a gcc2
79423    builtin and then its argument prototype would still apply.  */
79424 char iconv ();
79425 int
79426 main ()
79427 {
79428 iconv ();
79429   ;
79430   return 0;
79431 }
79432 _ACEOF
79433 rm -f conftest.$ac_objext conftest$ac_exeext
79434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79435   (eval $ac_link) 2>conftest.er1
79436   ac_status=$?
79437   grep -v '^ *+' conftest.er1 >conftest.err
79438   rm -f conftest.er1
79439   cat conftest.err >&5
79440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79441   (exit $ac_status); } &&
79442          { ac_try='test -z "$ac_c_werror_flag"
79443                          || test ! -s conftest.err'
79444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79445   (eval $ac_try) 2>&5
79446   ac_status=$?
79447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79448   (exit $ac_status); }; } &&
79449          { ac_try='test -s conftest$ac_exeext'
79450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79451   (eval $ac_try) 2>&5
79452   ac_status=$?
79453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79454   (exit $ac_status); }; }; then
79455   ac_cv_lib_iconv_iconv=yes
79456 else
79457   echo "$as_me: failed program was:" >&5
79458 sed 's/^/| /' conftest.$ac_ext >&5
79459
79460 ac_cv_lib_iconv_iconv=no
79461 fi
79462 rm -f conftest.err conftest.$ac_objext \
79463       conftest$ac_exeext conftest.$ac_ext
79464 LIBS=$ac_check_lib_save_LIBS
79465 fi
79466 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
79467 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
79468 if test $ac_cv_lib_iconv_iconv = yes; then
79469   LIBICONV="-liconv"
79470 fi
79471
79472     ac_save_LIBS="$LIBS"
79473     LIBS="$LIBS $LIBICONV"
79474
79475
79476
79477
79478
79479
79480 for ac_func in iconv_open iconv_close iconv nl_langinfo
79481 do
79482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79483 echo "$as_me:$LINENO: checking for $ac_func" >&5
79484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79485 if eval "test \"\${$as_ac_var+set}\" = set"; then
79486   echo $ECHO_N "(cached) $ECHO_C" >&6
79487 else
79488   if test x$gcc_no_link = xyes; then
79489   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79491    { (exit 1); exit 1; }; }
79492 fi
79493 cat >conftest.$ac_ext <<_ACEOF
79494 /* confdefs.h.  */
79495 _ACEOF
79496 cat confdefs.h >>conftest.$ac_ext
79497 cat >>conftest.$ac_ext <<_ACEOF
79498 /* end confdefs.h.  */
79499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79500    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79501 #define $ac_func innocuous_$ac_func
79502
79503 /* System header to define __stub macros and hopefully few prototypes,
79504     which can conflict with char $ac_func (); below.
79505     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79506     <limits.h> exists even on freestanding compilers.  */
79507
79508 #ifdef __STDC__
79509 # include <limits.h>
79510 #else
79511 # include <assert.h>
79512 #endif
79513
79514 #undef $ac_func
79515
79516 /* Override any gcc2 internal prototype to avoid an error.  */
79517 #ifdef __cplusplus
79518 extern "C"
79519 {
79520 #endif
79521 /* We use char because int might match the return type of a gcc2
79522    builtin and then its argument prototype would still apply.  */
79523 char $ac_func ();
79524 /* The GNU C library defines this for functions which it implements
79525     to always fail with ENOSYS.  Some functions are actually named
79526     something starting with __ and the normal name is an alias.  */
79527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79528 choke me
79529 #else
79530 char (*f) () = $ac_func;
79531 #endif
79532 #ifdef __cplusplus
79533 }
79534 #endif
79535
79536 int
79537 main ()
79538 {
79539 return f != $ac_func;
79540   ;
79541   return 0;
79542 }
79543 _ACEOF
79544 rm -f conftest.$ac_objext conftest$ac_exeext
79545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79546   (eval $ac_link) 2>conftest.er1
79547   ac_status=$?
79548   grep -v '^ *+' conftest.er1 >conftest.err
79549   rm -f conftest.er1
79550   cat conftest.err >&5
79551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79552   (exit $ac_status); } &&
79553          { ac_try='test -z "$ac_c_werror_flag"
79554                          || test ! -s conftest.err'
79555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79556   (eval $ac_try) 2>&5
79557   ac_status=$?
79558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79559   (exit $ac_status); }; } &&
79560          { ac_try='test -s conftest$ac_exeext'
79561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79562   (eval $ac_try) 2>&5
79563   ac_status=$?
79564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79565   (exit $ac_status); }; }; then
79566   eval "$as_ac_var=yes"
79567 else
79568   echo "$as_me: failed program was:" >&5
79569 sed 's/^/| /' conftest.$ac_ext >&5
79570
79571 eval "$as_ac_var=no"
79572 fi
79573 rm -f conftest.err conftest.$ac_objext \
79574       conftest$ac_exeext conftest.$ac_ext
79575 fi
79576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79578 if test `eval echo '${'$as_ac_var'}'` = yes; then
79579   cat >>confdefs.h <<_ACEOF
79580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79581 _ACEOF
79582  ac_XPG2funcs=yes
79583 else
79584   ac_XPG2funcs=no
79585 fi
79586 done
79587
79588
79589     LIBS="$ac_save_LIBS"
79590
79591     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
79592 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
79593     if test x"$ac_has_iconv_h" = xyes &&
79594        test x"$ac_has_langinfo_h" = xyes &&
79595        test x"$ac_XPG2funcs" = xyes;
79596     then
79597       ac_XPG2_wchar_t=yes
79598     else
79599       ac_XPG2_wchar_t=no
79600     fi
79601     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
79602 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
79603
79604     # At the moment, only enable wchar_t specializations if all the
79605     # above support is present.
79606     if test x"$ac_isoC99_wchar_t" = xyes &&
79607        test x"$ac_XPG2_wchar_t" = xyes;
79608     then
79609       cat >>confdefs.h <<\_ACEOF
79610 #define _GLIBCXX_USE_WCHAR_T 1
79611 _ACEOF
79612
79613       enable_wchar_t=yes
79614     fi
79615   fi
79616   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
79617 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
79618   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
79619 echo "${ECHO_T}$enable_wchar_t" >&6
79620
79621     cat >>confdefs.h <<\_ACEOF
79622 #define HAVE_COPYSIGN 1
79623 _ACEOF
79624
79625     cat >>confdefs.h <<\_ACEOF
79626 #define HAVE_COPYSIGNF 1
79627 _ACEOF
79628
79629     cat >>confdefs.h <<\_ACEOF
79630 #define HAVE_FREXPF 1
79631 _ACEOF
79632
79633     cat >>confdefs.h <<\_ACEOF
79634 #define HAVE_HYPOT 1
79635 _ACEOF
79636
79637     case "$target" in
79638       *-hpux10*)
79639         cat >>confdefs.h <<\_ACEOF
79640 #define HAVE_FINITE 1
79641 _ACEOF
79642
79643         cat >>confdefs.h <<\_ACEOF
79644 #define HAVE_FINITEF 1
79645 _ACEOF
79646
79647         cat >>confdefs.h <<\_ACEOF
79648 #define HAVE_ISINF 1
79649 _ACEOF
79650
79651         cat >>confdefs.h <<\_ACEOF
79652 #define HAVE_ISINFF 1
79653 _ACEOF
79654
79655         cat >>confdefs.h <<\_ACEOF
79656 #define HAVE_ISNAN 1
79657 _ACEOF
79658
79659         cat >>confdefs.h <<\_ACEOF
79660 #define HAVE_ISNANF 1
79661 _ACEOF
79662
79663         ;;
79664     esac
79665     ;;
79666   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
79667
79668
79669
79670
79671
79672
79673
79674
79675
79676
79677
79678
79679
79680
79681
79682 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
79683       machine/endian.h machine/param.h sys/machine.h sys/types.h \
79684       fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
79685 do
79686 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79687 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79688   echo "$as_me:$LINENO: checking for $ac_header" >&5
79689 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79690 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79691   echo $ECHO_N "(cached) $ECHO_C" >&6
79692 fi
79693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79694 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79695 else
79696   # Is the header compilable?
79697 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79698 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79699 cat >conftest.$ac_ext <<_ACEOF
79700 /* confdefs.h.  */
79701 _ACEOF
79702 cat confdefs.h >>conftest.$ac_ext
79703 cat >>conftest.$ac_ext <<_ACEOF
79704 /* end confdefs.h.  */
79705 $ac_includes_default
79706 #include <$ac_header>
79707 _ACEOF
79708 rm -f conftest.$ac_objext
79709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79710   (eval $ac_compile) 2>conftest.er1
79711   ac_status=$?
79712   grep -v '^ *+' conftest.er1 >conftest.err
79713   rm -f conftest.er1
79714   cat conftest.err >&5
79715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79716   (exit $ac_status); } &&
79717          { ac_try='test -z "$ac_c_werror_flag"
79718                          || test ! -s conftest.err'
79719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79720   (eval $ac_try) 2>&5
79721   ac_status=$?
79722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79723   (exit $ac_status); }; } &&
79724          { ac_try='test -s conftest.$ac_objext'
79725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79726   (eval $ac_try) 2>&5
79727   ac_status=$?
79728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79729   (exit $ac_status); }; }; then
79730   ac_header_compiler=yes
79731 else
79732   echo "$as_me: failed program was:" >&5
79733 sed 's/^/| /' conftest.$ac_ext >&5
79734
79735 ac_header_compiler=no
79736 fi
79737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79738 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79739 echo "${ECHO_T}$ac_header_compiler" >&6
79740
79741 # Is the header present?
79742 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79743 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79744 cat >conftest.$ac_ext <<_ACEOF
79745 /* confdefs.h.  */
79746 _ACEOF
79747 cat confdefs.h >>conftest.$ac_ext
79748 cat >>conftest.$ac_ext <<_ACEOF
79749 /* end confdefs.h.  */
79750 #include <$ac_header>
79751 _ACEOF
79752 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79753   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79754   ac_status=$?
79755   grep -v '^ *+' conftest.er1 >conftest.err
79756   rm -f conftest.er1
79757   cat conftest.err >&5
79758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79759   (exit $ac_status); } >/dev/null; then
79760   if test -s conftest.err; then
79761     ac_cpp_err=$ac_c_preproc_warn_flag
79762     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79763   else
79764     ac_cpp_err=
79765   fi
79766 else
79767   ac_cpp_err=yes
79768 fi
79769 if test -z "$ac_cpp_err"; then
79770   ac_header_preproc=yes
79771 else
79772   echo "$as_me: failed program was:" >&5
79773 sed 's/^/| /' conftest.$ac_ext >&5
79774
79775   ac_header_preproc=no
79776 fi
79777 rm -f conftest.err conftest.$ac_ext
79778 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79779 echo "${ECHO_T}$ac_header_preproc" >&6
79780
79781 # So?  What about this header?
79782 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79783   yes:no: )
79784     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79785 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79786     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79787 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79788     ac_header_preproc=yes
79789     ;;
79790   no:yes:* )
79791     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79792 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79793     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
79794 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
79795     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79796 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79797     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
79798 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
79799     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79800 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79801     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79802 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79803     (
79804       cat <<\_ASBOX
79805 ## ----------------------------------------- ##
79806 ## Report this to the package-unused lists.  ##
79807 ## ----------------------------------------- ##
79808 _ASBOX
79809     ) |
79810       sed "s/^/$as_me: WARNING:     /" >&2
79811     ;;
79812 esac
79813 echo "$as_me:$LINENO: checking for $ac_header" >&5
79814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79816   echo $ECHO_N "(cached) $ECHO_C" >&6
79817 else
79818   eval "$as_ac_Header=\$ac_header_preproc"
79819 fi
79820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79821 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79822
79823 fi
79824 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79825   cat >>confdefs.h <<_ACEOF
79826 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79827 _ACEOF
79828
79829 fi
79830
79831 done
79832
79833     SECTION_FLAGS='-ffunction-sections -fdata-sections'
79834
79835
79836   # If we're not using GNU ld, then there's no point in even trying these
79837   # tests.  Check for that first.  We should have already tested for gld
79838   # by now (in libtool), but require it now just to be safe...
79839   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79840   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79841
79842
79843
79844   # The name set by libtool depends on the version of libtool.  Shame on us
79845   # for depending on an impl detail, but c'est la vie.  Older versions used
79846   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79847   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79848   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
79849   # set (hence we're using an older libtool), then set it.
79850   if test x${with_gnu_ld+set} != xset; then
79851     if test x${ac_cv_prog_gnu_ld+set} != xset; then
79852       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
79853       with_gnu_ld=no
79854     else
79855       with_gnu_ld=$ac_cv_prog_gnu_ld
79856     fi
79857   fi
79858
79859   # Start by getting the version number.  I think the libtool test already
79860   # does some of this, but throws away the result.
79861
79862   ldver=`$LD --version 2>/dev/null | head -1 | \
79863          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
79864
79865   glibcxx_gnu_ld_version=`echo $ldver | \
79866          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79867
79868   # Set --gc-sections.
79869   if test "$with_gnu_ld" = "notbroken"; then
79870     # GNU ld it is!  Joy and bunny rabbits!
79871
79872     # All these tests are for C++; save the language and the compiler flags.
79873     # Need to do this so that g++ won't try to link in libstdc++
79874     ac_test_CFLAGS="${CFLAGS+set}"
79875     ac_save_CFLAGS="$CFLAGS"
79876     CFLAGS='-x c++  -Wl,--gc-sections'
79877
79878     # Check for -Wl,--gc-sections
79879     # XXX This test is broken at the moment, as symbols required for linking
79880     # are now in libsupc++ (not built yet).  In addition, this test has
79881     # cored on solaris in the past.  In addition, --gc-sections doesn't
79882     # really work at the moment (keeps on discarding used sections, first
79883     # .eh_frame and now some of the glibc sections for iconv).
79884     # Bzzzzt.  Thanks for playing, maybe next time.
79885     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79886 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79887     if test "$cross_compiling" = yes; then
79888   ac_sectionLDflags=yes
79889 else
79890   cat >conftest.$ac_ext <<_ACEOF
79891 /* confdefs.h.  */
79892 _ACEOF
79893 cat confdefs.h >>conftest.$ac_ext
79894 cat >>conftest.$ac_ext <<_ACEOF
79895 /* end confdefs.h.  */
79896
79897      int main(void)
79898      {
79899        try { throw 1; }
79900        catch (...) { };
79901        return 0;
79902      }
79903
79904 _ACEOF
79905 rm -f conftest$ac_exeext
79906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79907   (eval $ac_link) 2>&5
79908   ac_status=$?
79909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79910   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
79911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79912   (eval $ac_try) 2>&5
79913   ac_status=$?
79914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79915   (exit $ac_status); }; }; then
79916   ac_sectionLDflags=yes
79917 else
79918   echo "$as_me: program exited with status $ac_status" >&5
79919 echo "$as_me: failed program was:" >&5
79920 sed 's/^/| /' conftest.$ac_ext >&5
79921
79922 ( exit $ac_status )
79923 ac_sectionLDflags=no
79924 fi
79925 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
79926 fi
79927     if test "$ac_test_CFLAGS" = set; then
79928       CFLAGS="$ac_save_CFLAGS"
79929     else
79930       # this is the suspicious part
79931       CFLAGS=''
79932     fi
79933     if test "$ac_sectionLDflags" = "yes"; then
79934       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79935     fi
79936     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
79937 echo "${ECHO_T}$ac_sectionLDflags" >&6
79938   fi
79939
79940   # Set linker optimization flags.
79941   if test x"$with_gnu_ld" = x"yes"; then
79942     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79943   fi
79944
79945
79946
79947
79948
79949
79950 echo "$as_me:$LINENO: checking for main in -lm" >&5
79951 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79952 if test "${ac_cv_lib_m_main+set}" = set; then
79953   echo $ECHO_N "(cached) $ECHO_C" >&6
79954 else
79955   ac_check_lib_save_LIBS=$LIBS
79956 LIBS="-lm  $LIBS"
79957 if test x$gcc_no_link = xyes; then
79958   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79960    { (exit 1); exit 1; }; }
79961 fi
79962 cat >conftest.$ac_ext <<_ACEOF
79963 /* confdefs.h.  */
79964 _ACEOF
79965 cat confdefs.h >>conftest.$ac_ext
79966 cat >>conftest.$ac_ext <<_ACEOF
79967 /* end confdefs.h.  */
79968
79969
79970 int
79971 main ()
79972 {
79973 main ();
79974   ;
79975   return 0;
79976 }
79977 _ACEOF
79978 rm -f conftest.$ac_objext conftest$ac_exeext
79979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79980   (eval $ac_link) 2>conftest.er1
79981   ac_status=$?
79982   grep -v '^ *+' conftest.er1 >conftest.err
79983   rm -f conftest.er1
79984   cat conftest.err >&5
79985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79986   (exit $ac_status); } &&
79987          { ac_try='test -z "$ac_c_werror_flag"
79988                          || test ! -s conftest.err'
79989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79990   (eval $ac_try) 2>&5
79991   ac_status=$?
79992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79993   (exit $ac_status); }; } &&
79994          { ac_try='test -s conftest$ac_exeext'
79995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79996   (eval $ac_try) 2>&5
79997   ac_status=$?
79998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79999   (exit $ac_status); }; }; then
80000   ac_cv_lib_m_main=yes
80001 else
80002   echo "$as_me: failed program was:" >&5
80003 sed 's/^/| /' conftest.$ac_ext >&5
80004
80005 ac_cv_lib_m_main=no
80006 fi
80007 rm -f conftest.err conftest.$ac_objext \
80008       conftest$ac_exeext conftest.$ac_ext
80009 LIBS=$ac_check_lib_save_LIBS
80010 fi
80011 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
80012 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
80013 if test $ac_cv_lib_m_main = yes; then
80014   cat >>confdefs.h <<_ACEOF
80015 #define HAVE_LIBM 1
80016 _ACEOF
80017
80018   LIBS="-lm $LIBS"
80019
80020 fi
80021
80022
80023 for ac_func in copysignf
80024 do
80025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80026 echo "$as_me:$LINENO: checking for $ac_func" >&5
80027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80028 if eval "test \"\${$as_ac_var+set}\" = set"; then
80029   echo $ECHO_N "(cached) $ECHO_C" >&6
80030 else
80031   if test x$gcc_no_link = xyes; then
80032   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80034    { (exit 1); exit 1; }; }
80035 fi
80036 cat >conftest.$ac_ext <<_ACEOF
80037 /* confdefs.h.  */
80038 _ACEOF
80039 cat confdefs.h >>conftest.$ac_ext
80040 cat >>conftest.$ac_ext <<_ACEOF
80041 /* end confdefs.h.  */
80042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80043    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80044 #define $ac_func innocuous_$ac_func
80045
80046 /* System header to define __stub macros and hopefully few prototypes,
80047     which can conflict with char $ac_func (); below.
80048     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80049     <limits.h> exists even on freestanding compilers.  */
80050
80051 #ifdef __STDC__
80052 # include <limits.h>
80053 #else
80054 # include <assert.h>
80055 #endif
80056
80057 #undef $ac_func
80058
80059 /* Override any gcc2 internal prototype to avoid an error.  */
80060 #ifdef __cplusplus
80061 extern "C"
80062 {
80063 #endif
80064 /* We use char because int might match the return type of a gcc2
80065    builtin and then its argument prototype would still apply.  */
80066 char $ac_func ();
80067 /* The GNU C library defines this for functions which it implements
80068     to always fail with ENOSYS.  Some functions are actually named
80069     something starting with __ and the normal name is an alias.  */
80070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80071 choke me
80072 #else
80073 char (*f) () = $ac_func;
80074 #endif
80075 #ifdef __cplusplus
80076 }
80077 #endif
80078
80079 int
80080 main ()
80081 {
80082 return f != $ac_func;
80083   ;
80084   return 0;
80085 }
80086 _ACEOF
80087 rm -f conftest.$ac_objext conftest$ac_exeext
80088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80089   (eval $ac_link) 2>conftest.er1
80090   ac_status=$?
80091   grep -v '^ *+' conftest.er1 >conftest.err
80092   rm -f conftest.er1
80093   cat conftest.err >&5
80094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80095   (exit $ac_status); } &&
80096          { ac_try='test -z "$ac_c_werror_flag"
80097                          || test ! -s conftest.err'
80098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80099   (eval $ac_try) 2>&5
80100   ac_status=$?
80101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80102   (exit $ac_status); }; } &&
80103          { ac_try='test -s conftest$ac_exeext'
80104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80105   (eval $ac_try) 2>&5
80106   ac_status=$?
80107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80108   (exit $ac_status); }; }; then
80109   eval "$as_ac_var=yes"
80110 else
80111   echo "$as_me: failed program was:" >&5
80112 sed 's/^/| /' conftest.$ac_ext >&5
80113
80114 eval "$as_ac_var=no"
80115 fi
80116 rm -f conftest.err conftest.$ac_objext \
80117       conftest$ac_exeext conftest.$ac_ext
80118 fi
80119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80121 if test `eval echo '${'$as_ac_var'}'` = yes; then
80122   cat >>confdefs.h <<_ACEOF
80123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80124 _ACEOF
80125
80126 else
80127   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80128 fi
80129 done
80130
80131
80132
80133 for ac_func in __signbit
80134 do
80135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80136 echo "$as_me:$LINENO: checking for $ac_func" >&5
80137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80138 if eval "test \"\${$as_ac_var+set}\" = set"; then
80139   echo $ECHO_N "(cached) $ECHO_C" >&6
80140 else
80141   if test x$gcc_no_link = xyes; then
80142   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80144    { (exit 1); exit 1; }; }
80145 fi
80146 cat >conftest.$ac_ext <<_ACEOF
80147 /* confdefs.h.  */
80148 _ACEOF
80149 cat confdefs.h >>conftest.$ac_ext
80150 cat >>conftest.$ac_ext <<_ACEOF
80151 /* end confdefs.h.  */
80152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80153    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80154 #define $ac_func innocuous_$ac_func
80155
80156 /* System header to define __stub macros and hopefully few prototypes,
80157     which can conflict with char $ac_func (); below.
80158     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80159     <limits.h> exists even on freestanding compilers.  */
80160
80161 #ifdef __STDC__
80162 # include <limits.h>
80163 #else
80164 # include <assert.h>
80165 #endif
80166
80167 #undef $ac_func
80168
80169 /* Override any gcc2 internal prototype to avoid an error.  */
80170 #ifdef __cplusplus
80171 extern "C"
80172 {
80173 #endif
80174 /* We use char because int might match the return type of a gcc2
80175    builtin and then its argument prototype would still apply.  */
80176 char $ac_func ();
80177 /* The GNU C library defines this for functions which it implements
80178     to always fail with ENOSYS.  Some functions are actually named
80179     something starting with __ and the normal name is an alias.  */
80180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80181 choke me
80182 #else
80183 char (*f) () = $ac_func;
80184 #endif
80185 #ifdef __cplusplus
80186 }
80187 #endif
80188
80189 int
80190 main ()
80191 {
80192 return f != $ac_func;
80193   ;
80194   return 0;
80195 }
80196 _ACEOF
80197 rm -f conftest.$ac_objext conftest$ac_exeext
80198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80199   (eval $ac_link) 2>conftest.er1
80200   ac_status=$?
80201   grep -v '^ *+' conftest.er1 >conftest.err
80202   rm -f conftest.er1
80203   cat conftest.err >&5
80204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80205   (exit $ac_status); } &&
80206          { ac_try='test -z "$ac_c_werror_flag"
80207                          || test ! -s conftest.err'
80208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80209   (eval $ac_try) 2>&5
80210   ac_status=$?
80211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80212   (exit $ac_status); }; } &&
80213          { ac_try='test -s conftest$ac_exeext'
80214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80215   (eval $ac_try) 2>&5
80216   ac_status=$?
80217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80218   (exit $ac_status); }; }; then
80219   eval "$as_ac_var=yes"
80220 else
80221   echo "$as_me: failed program was:" >&5
80222 sed 's/^/| /' conftest.$ac_ext >&5
80223
80224 eval "$as_ac_var=no"
80225 fi
80226 rm -f conftest.err conftest.$ac_objext \
80227       conftest$ac_exeext conftest.$ac_ext
80228 fi
80229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80231 if test `eval echo '${'$as_ac_var'}'` = yes; then
80232   cat >>confdefs.h <<_ACEOF
80233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80234 _ACEOF
80235
80236 else
80237   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80238 fi
80239 done
80240
80241
80242
80243 for ac_func in __signbitf
80244 do
80245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80246 echo "$as_me:$LINENO: checking for $ac_func" >&5
80247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80248 if eval "test \"\${$as_ac_var+set}\" = set"; then
80249   echo $ECHO_N "(cached) $ECHO_C" >&6
80250 else
80251   if test x$gcc_no_link = xyes; then
80252   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80254    { (exit 1); exit 1; }; }
80255 fi
80256 cat >conftest.$ac_ext <<_ACEOF
80257 /* confdefs.h.  */
80258 _ACEOF
80259 cat confdefs.h >>conftest.$ac_ext
80260 cat >>conftest.$ac_ext <<_ACEOF
80261 /* end confdefs.h.  */
80262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80263    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80264 #define $ac_func innocuous_$ac_func
80265
80266 /* System header to define __stub macros and hopefully few prototypes,
80267     which can conflict with char $ac_func (); below.
80268     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80269     <limits.h> exists even on freestanding compilers.  */
80270
80271 #ifdef __STDC__
80272 # include <limits.h>
80273 #else
80274 # include <assert.h>
80275 #endif
80276
80277 #undef $ac_func
80278
80279 /* Override any gcc2 internal prototype to avoid an error.  */
80280 #ifdef __cplusplus
80281 extern "C"
80282 {
80283 #endif
80284 /* We use char because int might match the return type of a gcc2
80285    builtin and then its argument prototype would still apply.  */
80286 char $ac_func ();
80287 /* The GNU C library defines this for functions which it implements
80288     to always fail with ENOSYS.  Some functions are actually named
80289     something starting with __ and the normal name is an alias.  */
80290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80291 choke me
80292 #else
80293 char (*f) () = $ac_func;
80294 #endif
80295 #ifdef __cplusplus
80296 }
80297 #endif
80298
80299 int
80300 main ()
80301 {
80302 return f != $ac_func;
80303   ;
80304   return 0;
80305 }
80306 _ACEOF
80307 rm -f conftest.$ac_objext conftest$ac_exeext
80308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80309   (eval $ac_link) 2>conftest.er1
80310   ac_status=$?
80311   grep -v '^ *+' conftest.er1 >conftest.err
80312   rm -f conftest.er1
80313   cat conftest.err >&5
80314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80315   (exit $ac_status); } &&
80316          { ac_try='test -z "$ac_c_werror_flag"
80317                          || test ! -s conftest.err'
80318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80319   (eval $ac_try) 2>&5
80320   ac_status=$?
80321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80322   (exit $ac_status); }; } &&
80323          { ac_try='test -s conftest$ac_exeext'
80324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80325   (eval $ac_try) 2>&5
80326   ac_status=$?
80327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80328   (exit $ac_status); }; }; then
80329   eval "$as_ac_var=yes"
80330 else
80331   echo "$as_me: failed program was:" >&5
80332 sed 's/^/| /' conftest.$ac_ext >&5
80333
80334 eval "$as_ac_var=no"
80335 fi
80336 rm -f conftest.err conftest.$ac_objext \
80337       conftest$ac_exeext conftest.$ac_ext
80338 fi
80339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80341 if test `eval echo '${'$as_ac_var'}'` = yes; then
80342   cat >>confdefs.h <<_ACEOF
80343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80344 _ACEOF
80345
80346 else
80347   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80348 fi
80349 done
80350
80351
80352           if test x$ac_cv_func_copysignl = x"yes"; then
80353
80354 for ac_func in __signbitl
80355 do
80356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80357 echo "$as_me:$LINENO: checking for $ac_func" >&5
80358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80359 if eval "test \"\${$as_ac_var+set}\" = set"; then
80360   echo $ECHO_N "(cached) $ECHO_C" >&6
80361 else
80362   if test x$gcc_no_link = xyes; then
80363   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80365    { (exit 1); exit 1; }; }
80366 fi
80367 cat >conftest.$ac_ext <<_ACEOF
80368 /* confdefs.h.  */
80369 _ACEOF
80370 cat confdefs.h >>conftest.$ac_ext
80371 cat >>conftest.$ac_ext <<_ACEOF
80372 /* end confdefs.h.  */
80373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80374    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80375 #define $ac_func innocuous_$ac_func
80376
80377 /* System header to define __stub macros and hopefully few prototypes,
80378     which can conflict with char $ac_func (); below.
80379     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80380     <limits.h> exists even on freestanding compilers.  */
80381
80382 #ifdef __STDC__
80383 # include <limits.h>
80384 #else
80385 # include <assert.h>
80386 #endif
80387
80388 #undef $ac_func
80389
80390 /* Override any gcc2 internal prototype to avoid an error.  */
80391 #ifdef __cplusplus
80392 extern "C"
80393 {
80394 #endif
80395 /* We use char because int might match the return type of a gcc2
80396    builtin and then its argument prototype would still apply.  */
80397 char $ac_func ();
80398 /* The GNU C library defines this for functions which it implements
80399     to always fail with ENOSYS.  Some functions are actually named
80400     something starting with __ and the normal name is an alias.  */
80401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80402 choke me
80403 #else
80404 char (*f) () = $ac_func;
80405 #endif
80406 #ifdef __cplusplus
80407 }
80408 #endif
80409
80410 int
80411 main ()
80412 {
80413 return f != $ac_func;
80414   ;
80415   return 0;
80416 }
80417 _ACEOF
80418 rm -f conftest.$ac_objext conftest$ac_exeext
80419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80420   (eval $ac_link) 2>conftest.er1
80421   ac_status=$?
80422   grep -v '^ *+' conftest.er1 >conftest.err
80423   rm -f conftest.er1
80424   cat conftest.err >&5
80425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80426   (exit $ac_status); } &&
80427          { ac_try='test -z "$ac_c_werror_flag"
80428                          || test ! -s conftest.err'
80429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80430   (eval $ac_try) 2>&5
80431   ac_status=$?
80432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80433   (exit $ac_status); }; } &&
80434          { ac_try='test -s conftest$ac_exeext'
80435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80436   (eval $ac_try) 2>&5
80437   ac_status=$?
80438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80439   (exit $ac_status); }; }; then
80440   eval "$as_ac_var=yes"
80441 else
80442   echo "$as_me: failed program was:" >&5
80443 sed 's/^/| /' conftest.$ac_ext >&5
80444
80445 eval "$as_ac_var=no"
80446 fi
80447 rm -f conftest.err conftest.$ac_objext \
80448       conftest$ac_exeext conftest.$ac_ext
80449 fi
80450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80452 if test `eval echo '${'$as_ac_var'}'` = yes; then
80453   cat >>confdefs.h <<_ACEOF
80454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80455 _ACEOF
80456
80457 else
80458   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
80459 fi
80460 done
80461
80462   fi
80463
80464   # Used in libmath/Makefile.am.
80465   if test -n "$LIBMATHOBJS"; then
80466     need_libmath=yes
80467   fi
80468
80469
80470
80471   # Test wchar.h for mbstate_t, which is needed for char_traits and
80472   # others even if wchar_t support is not on.
80473   echo "$as_me:$LINENO: checking for mbstate_t" >&5
80474 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
80475   cat >conftest.$ac_ext <<_ACEOF
80476 /* confdefs.h.  */
80477 _ACEOF
80478 cat confdefs.h >>conftest.$ac_ext
80479 cat >>conftest.$ac_ext <<_ACEOF
80480 /* end confdefs.h.  */
80481 #include <wchar.h>
80482 int
80483 main ()
80484 {
80485 mbstate_t teststate;
80486   ;
80487   return 0;
80488 }
80489 _ACEOF
80490 rm -f conftest.$ac_objext
80491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80492   (eval $ac_compile) 2>conftest.er1
80493   ac_status=$?
80494   grep -v '^ *+' conftest.er1 >conftest.err
80495   rm -f conftest.er1
80496   cat conftest.err >&5
80497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80498   (exit $ac_status); } &&
80499          { ac_try='test -z "$ac_c_werror_flag"
80500                          || test ! -s conftest.err'
80501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80502   (eval $ac_try) 2>&5
80503   ac_status=$?
80504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80505   (exit $ac_status); }; } &&
80506          { ac_try='test -s conftest.$ac_objext'
80507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80508   (eval $ac_try) 2>&5
80509   ac_status=$?
80510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80511   (exit $ac_status); }; }; then
80512   have_mbstate_t=yes
80513 else
80514   echo "$as_me: failed program was:" >&5
80515 sed 's/^/| /' conftest.$ac_ext >&5
80516
80517 have_mbstate_t=no
80518 fi
80519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80520   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
80521 echo "${ECHO_T}$have_mbstate_t" >&6
80522   if test x"$have_mbstate_t" = xyes; then
80523     cat >>confdefs.h <<\_ACEOF
80524 #define HAVE_MBSTATE_T 1
80525 _ACEOF
80526
80527   fi
80528
80529   # Sanity check for existence of ISO C99 headers for extended encoding.
80530
80531 for ac_header in wchar.h
80532 do
80533 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80535   echo "$as_me:$LINENO: checking for $ac_header" >&5
80536 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80538   echo $ECHO_N "(cached) $ECHO_C" >&6
80539 fi
80540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80541 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80542 else
80543   # Is the header compilable?
80544 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80545 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80546 cat >conftest.$ac_ext <<_ACEOF
80547 /* confdefs.h.  */
80548 _ACEOF
80549 cat confdefs.h >>conftest.$ac_ext
80550 cat >>conftest.$ac_ext <<_ACEOF
80551 /* end confdefs.h.  */
80552 $ac_includes_default
80553 #include <$ac_header>
80554 _ACEOF
80555 rm -f conftest.$ac_objext
80556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80557   (eval $ac_compile) 2>conftest.er1
80558   ac_status=$?
80559   grep -v '^ *+' conftest.er1 >conftest.err
80560   rm -f conftest.er1
80561   cat conftest.err >&5
80562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80563   (exit $ac_status); } &&
80564          { ac_try='test -z "$ac_c_werror_flag"
80565                          || test ! -s conftest.err'
80566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80567   (eval $ac_try) 2>&5
80568   ac_status=$?
80569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80570   (exit $ac_status); }; } &&
80571          { ac_try='test -s conftest.$ac_objext'
80572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80573   (eval $ac_try) 2>&5
80574   ac_status=$?
80575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80576   (exit $ac_status); }; }; then
80577   ac_header_compiler=yes
80578 else
80579   echo "$as_me: failed program was:" >&5
80580 sed 's/^/| /' conftest.$ac_ext >&5
80581
80582 ac_header_compiler=no
80583 fi
80584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80585 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80586 echo "${ECHO_T}$ac_header_compiler" >&6
80587
80588 # Is the header present?
80589 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80590 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80591 cat >conftest.$ac_ext <<_ACEOF
80592 /* confdefs.h.  */
80593 _ACEOF
80594 cat confdefs.h >>conftest.$ac_ext
80595 cat >>conftest.$ac_ext <<_ACEOF
80596 /* end confdefs.h.  */
80597 #include <$ac_header>
80598 _ACEOF
80599 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80600   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80601   ac_status=$?
80602   grep -v '^ *+' conftest.er1 >conftest.err
80603   rm -f conftest.er1
80604   cat conftest.err >&5
80605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80606   (exit $ac_status); } >/dev/null; then
80607   if test -s conftest.err; then
80608     ac_cpp_err=$ac_c_preproc_warn_flag
80609     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80610   else
80611     ac_cpp_err=
80612   fi
80613 else
80614   ac_cpp_err=yes
80615 fi
80616 if test -z "$ac_cpp_err"; then
80617   ac_header_preproc=yes
80618 else
80619   echo "$as_me: failed program was:" >&5
80620 sed 's/^/| /' conftest.$ac_ext >&5
80621
80622   ac_header_preproc=no
80623 fi
80624 rm -f conftest.err conftest.$ac_ext
80625 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80626 echo "${ECHO_T}$ac_header_preproc" >&6
80627
80628 # So?  What about this header?
80629 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80630   yes:no: )
80631     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80632 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80633     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80634 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80635     ac_header_preproc=yes
80636     ;;
80637   no:yes:* )
80638     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80639 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80640     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
80641 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
80642     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80643 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80644     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
80645 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
80646     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80647 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80648     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80649 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80650     (
80651       cat <<\_ASBOX
80652 ## ----------------------------------------- ##
80653 ## Report this to the package-unused lists.  ##
80654 ## ----------------------------------------- ##
80655 _ASBOX
80656     ) |
80657       sed "s/^/$as_me: WARNING:     /" >&2
80658     ;;
80659 esac
80660 echo "$as_me:$LINENO: checking for $ac_header" >&5
80661 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80663   echo $ECHO_N "(cached) $ECHO_C" >&6
80664 else
80665   eval "$as_ac_Header=\$ac_header_preproc"
80666 fi
80667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80668 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80669
80670 fi
80671 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80672   cat >>confdefs.h <<_ACEOF
80673 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80674 _ACEOF
80675  ac_has_wchar_h=yes
80676 else
80677   ac_has_wchar_h=no
80678 fi
80679
80680 done
80681
80682
80683 for ac_header in wctype.h
80684 do
80685 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80687   echo "$as_me:$LINENO: checking for $ac_header" >&5
80688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80689 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80690   echo $ECHO_N "(cached) $ECHO_C" >&6
80691 fi
80692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80693 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80694 else
80695   # Is the header compilable?
80696 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80697 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80698 cat >conftest.$ac_ext <<_ACEOF
80699 /* confdefs.h.  */
80700 _ACEOF
80701 cat confdefs.h >>conftest.$ac_ext
80702 cat >>conftest.$ac_ext <<_ACEOF
80703 /* end confdefs.h.  */
80704 $ac_includes_default
80705 #include <$ac_header>
80706 _ACEOF
80707 rm -f conftest.$ac_objext
80708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80709   (eval $ac_compile) 2>conftest.er1
80710   ac_status=$?
80711   grep -v '^ *+' conftest.er1 >conftest.err
80712   rm -f conftest.er1
80713   cat conftest.err >&5
80714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80715   (exit $ac_status); } &&
80716          { ac_try='test -z "$ac_c_werror_flag"
80717                          || test ! -s conftest.err'
80718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80719   (eval $ac_try) 2>&5
80720   ac_status=$?
80721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80722   (exit $ac_status); }; } &&
80723          { ac_try='test -s conftest.$ac_objext'
80724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80725   (eval $ac_try) 2>&5
80726   ac_status=$?
80727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80728   (exit $ac_status); }; }; then
80729   ac_header_compiler=yes
80730 else
80731   echo "$as_me: failed program was:" >&5
80732 sed 's/^/| /' conftest.$ac_ext >&5
80733
80734 ac_header_compiler=no
80735 fi
80736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80737 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80738 echo "${ECHO_T}$ac_header_compiler" >&6
80739
80740 # Is the header present?
80741 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80742 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80743 cat >conftest.$ac_ext <<_ACEOF
80744 /* confdefs.h.  */
80745 _ACEOF
80746 cat confdefs.h >>conftest.$ac_ext
80747 cat >>conftest.$ac_ext <<_ACEOF
80748 /* end confdefs.h.  */
80749 #include <$ac_header>
80750 _ACEOF
80751 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80752   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80753   ac_status=$?
80754   grep -v '^ *+' conftest.er1 >conftest.err
80755   rm -f conftest.er1
80756   cat conftest.err >&5
80757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80758   (exit $ac_status); } >/dev/null; then
80759   if test -s conftest.err; then
80760     ac_cpp_err=$ac_c_preproc_warn_flag
80761     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80762   else
80763     ac_cpp_err=
80764   fi
80765 else
80766   ac_cpp_err=yes
80767 fi
80768 if test -z "$ac_cpp_err"; then
80769   ac_header_preproc=yes
80770 else
80771   echo "$as_me: failed program was:" >&5
80772 sed 's/^/| /' conftest.$ac_ext >&5
80773
80774   ac_header_preproc=no
80775 fi
80776 rm -f conftest.err conftest.$ac_ext
80777 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80778 echo "${ECHO_T}$ac_header_preproc" >&6
80779
80780 # So?  What about this header?
80781 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80782   yes:no: )
80783     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80784 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80785     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80786 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80787     ac_header_preproc=yes
80788     ;;
80789   no:yes:* )
80790     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80791 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80792     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
80793 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
80794     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80795 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80796     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
80797 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
80798     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80799 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80800     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80801 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80802     (
80803       cat <<\_ASBOX
80804 ## ----------------------------------------- ##
80805 ## Report this to the package-unused lists.  ##
80806 ## ----------------------------------------- ##
80807 _ASBOX
80808     ) |
80809       sed "s/^/$as_me: WARNING:     /" >&2
80810     ;;
80811 esac
80812 echo "$as_me:$LINENO: checking for $ac_header" >&5
80813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80815   echo $ECHO_N "(cached) $ECHO_C" >&6
80816 else
80817   eval "$as_ac_Header=\$ac_header_preproc"
80818 fi
80819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80820 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80821
80822 fi
80823 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80824   cat >>confdefs.h <<_ACEOF
80825 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80826 _ACEOF
80827  ac_has_wctype_h=yes
80828 else
80829   ac_has_wctype_h=no
80830 fi
80831
80832 done
80833
80834
80835   # Only continue checking if the ISO C99 headers exist and support is on.
80836   if test x"$ac_has_wchar_h" = xyes &&
80837      test x"$ac_has_wctype_h" = xyes &&
80838      test x"$enable_c_mbchar" != xno; then
80839
80840     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
80841     # numeric_limits can instantiate type_traits<wchar_t>
80842     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
80843 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
80844     cat >conftest.$ac_ext <<_ACEOF
80845 /* confdefs.h.  */
80846 _ACEOF
80847 cat confdefs.h >>conftest.$ac_ext
80848 cat >>conftest.$ac_ext <<_ACEOF
80849 /* end confdefs.h.  */
80850 #include <wchar.h>
80851 int
80852 main ()
80853 {
80854 int i = WCHAR_MIN; int j = WCHAR_MAX;
80855   ;
80856   return 0;
80857 }
80858 _ACEOF
80859 rm -f conftest.$ac_objext
80860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80861   (eval $ac_compile) 2>conftest.er1
80862   ac_status=$?
80863   grep -v '^ *+' conftest.er1 >conftest.err
80864   rm -f conftest.er1
80865   cat conftest.err >&5
80866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80867   (exit $ac_status); } &&
80868          { ac_try='test -z "$ac_c_werror_flag"
80869                          || test ! -s conftest.err'
80870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80871   (eval $ac_try) 2>&5
80872   ac_status=$?
80873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80874   (exit $ac_status); }; } &&
80875          { ac_try='test -s conftest.$ac_objext'
80876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80877   (eval $ac_try) 2>&5
80878   ac_status=$?
80879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80880   (exit $ac_status); }; }; then
80881   has_wchar_minmax=yes
80882 else
80883   echo "$as_me: failed program was:" >&5
80884 sed 's/^/| /' conftest.$ac_ext >&5
80885
80886 has_wchar_minmax=no
80887 fi
80888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80889     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
80890 echo "${ECHO_T}$has_wchar_minmax" >&6
80891
80892     # Test wchar.h for WEOF, which is what we use to determine whether
80893     # to specialize for char_traits<wchar_t> or not.
80894     echo "$as_me:$LINENO: checking for WEOF" >&5
80895 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
80896     cat >conftest.$ac_ext <<_ACEOF
80897 /* confdefs.h.  */
80898 _ACEOF
80899 cat confdefs.h >>conftest.$ac_ext
80900 cat >>conftest.$ac_ext <<_ACEOF
80901 /* end confdefs.h.  */
80902
80903       #include <wchar.h>
80904       #include <stddef.h>
80905 int
80906 main ()
80907 {
80908 wint_t i = WEOF;
80909   ;
80910   return 0;
80911 }
80912 _ACEOF
80913 rm -f conftest.$ac_objext
80914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80915   (eval $ac_compile) 2>conftest.er1
80916   ac_status=$?
80917   grep -v '^ *+' conftest.er1 >conftest.err
80918   rm -f conftest.er1
80919   cat conftest.err >&5
80920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80921   (exit $ac_status); } &&
80922          { ac_try='test -z "$ac_c_werror_flag"
80923                          || test ! -s conftest.err'
80924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80925   (eval $ac_try) 2>&5
80926   ac_status=$?
80927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80928   (exit $ac_status); }; } &&
80929          { ac_try='test -s conftest.$ac_objext'
80930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80931   (eval $ac_try) 2>&5
80932   ac_status=$?
80933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80934   (exit $ac_status); }; }; then
80935   has_weof=yes
80936 else
80937   echo "$as_me: failed program was:" >&5
80938 sed 's/^/| /' conftest.$ac_ext >&5
80939
80940 has_weof=no
80941 fi
80942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80943     echo "$as_me:$LINENO: result: $has_weof" >&5
80944 echo "${ECHO_T}$has_weof" >&6
80945
80946     # Tests for wide character functions used in char_traits<wchar_t>.
80947     ac_wfuncs=yes
80948
80949
80950
80951
80952
80953
80954 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
80955 do
80956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80957 echo "$as_me:$LINENO: checking for $ac_func" >&5
80958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80959 if eval "test \"\${$as_ac_var+set}\" = set"; then
80960   echo $ECHO_N "(cached) $ECHO_C" >&6
80961 else
80962   if test x$gcc_no_link = xyes; then
80963   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80965    { (exit 1); exit 1; }; }
80966 fi
80967 cat >conftest.$ac_ext <<_ACEOF
80968 /* confdefs.h.  */
80969 _ACEOF
80970 cat confdefs.h >>conftest.$ac_ext
80971 cat >>conftest.$ac_ext <<_ACEOF
80972 /* end confdefs.h.  */
80973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80974    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80975 #define $ac_func innocuous_$ac_func
80976
80977 /* System header to define __stub macros and hopefully few prototypes,
80978     which can conflict with char $ac_func (); below.
80979     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80980     <limits.h> exists even on freestanding compilers.  */
80981
80982 #ifdef __STDC__
80983 # include <limits.h>
80984 #else
80985 # include <assert.h>
80986 #endif
80987
80988 #undef $ac_func
80989
80990 /* Override any gcc2 internal prototype to avoid an error.  */
80991 #ifdef __cplusplus
80992 extern "C"
80993 {
80994 #endif
80995 /* We use char because int might match the return type of a gcc2
80996    builtin and then its argument prototype would still apply.  */
80997 char $ac_func ();
80998 /* The GNU C library defines this for functions which it implements
80999     to always fail with ENOSYS.  Some functions are actually named
81000     something starting with __ and the normal name is an alias.  */
81001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81002 choke me
81003 #else
81004 char (*f) () = $ac_func;
81005 #endif
81006 #ifdef __cplusplus
81007 }
81008 #endif
81009
81010 int
81011 main ()
81012 {
81013 return f != $ac_func;
81014   ;
81015   return 0;
81016 }
81017 _ACEOF
81018 rm -f conftest.$ac_objext conftest$ac_exeext
81019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81020   (eval $ac_link) 2>conftest.er1
81021   ac_status=$?
81022   grep -v '^ *+' conftest.er1 >conftest.err
81023   rm -f conftest.er1
81024   cat conftest.err >&5
81025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81026   (exit $ac_status); } &&
81027          { ac_try='test -z "$ac_c_werror_flag"
81028                          || test ! -s conftest.err'
81029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81030   (eval $ac_try) 2>&5
81031   ac_status=$?
81032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81033   (exit $ac_status); }; } &&
81034          { ac_try='test -s conftest$ac_exeext'
81035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81036   (eval $ac_try) 2>&5
81037   ac_status=$?
81038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81039   (exit $ac_status); }; }; then
81040   eval "$as_ac_var=yes"
81041 else
81042   echo "$as_me: failed program was:" >&5
81043 sed 's/^/| /' conftest.$ac_ext >&5
81044
81045 eval "$as_ac_var=no"
81046 fi
81047 rm -f conftest.err conftest.$ac_objext \
81048       conftest$ac_exeext conftest.$ac_ext
81049 fi
81050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81052 if test `eval echo '${'$as_ac_var'}'` = yes; then
81053   cat >>confdefs.h <<_ACEOF
81054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81055 _ACEOF
81056
81057 else
81058   ac_wfuncs=no
81059 fi
81060 done
81061
81062
81063     # Checks for names injected into std:: by the c_std headers.
81064
81065
81066
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 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
81111     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
81112     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
81113     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
81114     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
81115     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
81116 do
81117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81118 echo "$as_me:$LINENO: checking for $ac_func" >&5
81119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81120 if eval "test \"\${$as_ac_var+set}\" = set"; then
81121   echo $ECHO_N "(cached) $ECHO_C" >&6
81122 else
81123   if test x$gcc_no_link = xyes; then
81124   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81126    { (exit 1); exit 1; }; }
81127 fi
81128 cat >conftest.$ac_ext <<_ACEOF
81129 /* confdefs.h.  */
81130 _ACEOF
81131 cat confdefs.h >>conftest.$ac_ext
81132 cat >>conftest.$ac_ext <<_ACEOF
81133 /* end confdefs.h.  */
81134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81135    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81136 #define $ac_func innocuous_$ac_func
81137
81138 /* System header to define __stub macros and hopefully few prototypes,
81139     which can conflict with char $ac_func (); below.
81140     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81141     <limits.h> exists even on freestanding compilers.  */
81142
81143 #ifdef __STDC__
81144 # include <limits.h>
81145 #else
81146 # include <assert.h>
81147 #endif
81148
81149 #undef $ac_func
81150
81151 /* Override any gcc2 internal prototype to avoid an error.  */
81152 #ifdef __cplusplus
81153 extern "C"
81154 {
81155 #endif
81156 /* We use char because int might match the return type of a gcc2
81157    builtin and then its argument prototype would still apply.  */
81158 char $ac_func ();
81159 /* The GNU C library defines this for functions which it implements
81160     to always fail with ENOSYS.  Some functions are actually named
81161     something starting with __ and the normal name is an alias.  */
81162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81163 choke me
81164 #else
81165 char (*f) () = $ac_func;
81166 #endif
81167 #ifdef __cplusplus
81168 }
81169 #endif
81170
81171 int
81172 main ()
81173 {
81174 return f != $ac_func;
81175   ;
81176   return 0;
81177 }
81178 _ACEOF
81179 rm -f conftest.$ac_objext conftest$ac_exeext
81180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81181   (eval $ac_link) 2>conftest.er1
81182   ac_status=$?
81183   grep -v '^ *+' conftest.er1 >conftest.err
81184   rm -f conftest.er1
81185   cat conftest.err >&5
81186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81187   (exit $ac_status); } &&
81188          { ac_try='test -z "$ac_c_werror_flag"
81189                          || test ! -s conftest.err'
81190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81191   (eval $ac_try) 2>&5
81192   ac_status=$?
81193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81194   (exit $ac_status); }; } &&
81195          { ac_try='test -s conftest$ac_exeext'
81196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81197   (eval $ac_try) 2>&5
81198   ac_status=$?
81199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81200   (exit $ac_status); }; }; then
81201   eval "$as_ac_var=yes"
81202 else
81203   echo "$as_me: failed program was:" >&5
81204 sed 's/^/| /' conftest.$ac_ext >&5
81205
81206 eval "$as_ac_var=no"
81207 fi
81208 rm -f conftest.err conftest.$ac_objext \
81209       conftest$ac_exeext conftest.$ac_ext
81210 fi
81211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81213 if test `eval echo '${'$as_ac_var'}'` = yes; then
81214   cat >>confdefs.h <<_ACEOF
81215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81216 _ACEOF
81217
81218 else
81219   ac_wfuncs=no
81220 fi
81221 done
81222
81223
81224     # Checks for wide character functions that are not required
81225     # for basic wchar_t support.  Don't disable support if they are missing.
81226     # Injection of these is wrapped with guard macros.
81227
81228
81229
81230
81231
81232 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
81233 do
81234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81235 echo "$as_me:$LINENO: checking for $ac_func" >&5
81236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81237 if eval "test \"\${$as_ac_var+set}\" = set"; then
81238   echo $ECHO_N "(cached) $ECHO_C" >&6
81239 else
81240   if test x$gcc_no_link = xyes; then
81241   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81243    { (exit 1); exit 1; }; }
81244 fi
81245 cat >conftest.$ac_ext <<_ACEOF
81246 /* confdefs.h.  */
81247 _ACEOF
81248 cat confdefs.h >>conftest.$ac_ext
81249 cat >>conftest.$ac_ext <<_ACEOF
81250 /* end confdefs.h.  */
81251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81252    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81253 #define $ac_func innocuous_$ac_func
81254
81255 /* System header to define __stub macros and hopefully few prototypes,
81256     which can conflict with char $ac_func (); below.
81257     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81258     <limits.h> exists even on freestanding compilers.  */
81259
81260 #ifdef __STDC__
81261 # include <limits.h>
81262 #else
81263 # include <assert.h>
81264 #endif
81265
81266 #undef $ac_func
81267
81268 /* Override any gcc2 internal prototype to avoid an error.  */
81269 #ifdef __cplusplus
81270 extern "C"
81271 {
81272 #endif
81273 /* We use char because int might match the return type of a gcc2
81274    builtin and then its argument prototype would still apply.  */
81275 char $ac_func ();
81276 /* The GNU C library defines this for functions which it implements
81277     to always fail with ENOSYS.  Some functions are actually named
81278     something starting with __ and the normal name is an alias.  */
81279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81280 choke me
81281 #else
81282 char (*f) () = $ac_func;
81283 #endif
81284 #ifdef __cplusplus
81285 }
81286 #endif
81287
81288 int
81289 main ()
81290 {
81291 return f != $ac_func;
81292   ;
81293   return 0;
81294 }
81295 _ACEOF
81296 rm -f conftest.$ac_objext conftest$ac_exeext
81297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81298   (eval $ac_link) 2>conftest.er1
81299   ac_status=$?
81300   grep -v '^ *+' conftest.er1 >conftest.err
81301   rm -f conftest.er1
81302   cat conftest.err >&5
81303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81304   (exit $ac_status); } &&
81305          { ac_try='test -z "$ac_c_werror_flag"
81306                          || test ! -s conftest.err'
81307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81308   (eval $ac_try) 2>&5
81309   ac_status=$?
81310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81311   (exit $ac_status); }; } &&
81312          { ac_try='test -s conftest$ac_exeext'
81313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81314   (eval $ac_try) 2>&5
81315   ac_status=$?
81316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81317   (exit $ac_status); }; }; then
81318   eval "$as_ac_var=yes"
81319 else
81320   echo "$as_me: failed program was:" >&5
81321 sed 's/^/| /' conftest.$ac_ext >&5
81322
81323 eval "$as_ac_var=no"
81324 fi
81325 rm -f conftest.err conftest.$ac_objext \
81326       conftest$ac_exeext conftest.$ac_ext
81327 fi
81328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81330 if test `eval echo '${'$as_ac_var'}'` = yes; then
81331   cat >>confdefs.h <<_ACEOF
81332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81333 _ACEOF
81334
81335 fi
81336 done
81337
81338
81339     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
81340 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
81341     if test x"$has_weof" = xyes &&
81342        test x"$has_wchar_minmax" = xyes &&
81343        test x"$ac_wfuncs" = xyes;
81344     then
81345       ac_isoC99_wchar_t=yes
81346     else
81347       ac_isoC99_wchar_t=no
81348     fi
81349     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
81350 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
81351
81352     # Use iconv for wchar_t to char conversions. As such, check for
81353     # X/Open Portability Guide, version 2 features (XPG2).
81354     if test "${ac_cv_header_iconv_h+set}" = set; then
81355   echo "$as_me:$LINENO: checking for iconv.h" >&5
81356 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81357 if test "${ac_cv_header_iconv_h+set}" = set; then
81358   echo $ECHO_N "(cached) $ECHO_C" >&6
81359 fi
81360 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81361 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81362 else
81363   # Is the header compilable?
81364 echo "$as_me:$LINENO: checking iconv.h usability" >&5
81365 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
81366 cat >conftest.$ac_ext <<_ACEOF
81367 /* confdefs.h.  */
81368 _ACEOF
81369 cat confdefs.h >>conftest.$ac_ext
81370 cat >>conftest.$ac_ext <<_ACEOF
81371 /* end confdefs.h.  */
81372 $ac_includes_default
81373 #include <iconv.h>
81374 _ACEOF
81375 rm -f conftest.$ac_objext
81376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81377   (eval $ac_compile) 2>conftest.er1
81378   ac_status=$?
81379   grep -v '^ *+' conftest.er1 >conftest.err
81380   rm -f conftest.er1
81381   cat conftest.err >&5
81382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81383   (exit $ac_status); } &&
81384          { ac_try='test -z "$ac_c_werror_flag"
81385                          || test ! -s conftest.err'
81386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81387   (eval $ac_try) 2>&5
81388   ac_status=$?
81389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81390   (exit $ac_status); }; } &&
81391          { ac_try='test -s conftest.$ac_objext'
81392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81393   (eval $ac_try) 2>&5
81394   ac_status=$?
81395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81396   (exit $ac_status); }; }; then
81397   ac_header_compiler=yes
81398 else
81399   echo "$as_me: failed program was:" >&5
81400 sed 's/^/| /' conftest.$ac_ext >&5
81401
81402 ac_header_compiler=no
81403 fi
81404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81405 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81406 echo "${ECHO_T}$ac_header_compiler" >&6
81407
81408 # Is the header present?
81409 echo "$as_me:$LINENO: checking iconv.h presence" >&5
81410 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
81411 cat >conftest.$ac_ext <<_ACEOF
81412 /* confdefs.h.  */
81413 _ACEOF
81414 cat confdefs.h >>conftest.$ac_ext
81415 cat >>conftest.$ac_ext <<_ACEOF
81416 /* end confdefs.h.  */
81417 #include <iconv.h>
81418 _ACEOF
81419 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81420   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81421   ac_status=$?
81422   grep -v '^ *+' conftest.er1 >conftest.err
81423   rm -f conftest.er1
81424   cat conftest.err >&5
81425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81426   (exit $ac_status); } >/dev/null; then
81427   if test -s conftest.err; then
81428     ac_cpp_err=$ac_c_preproc_warn_flag
81429     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81430   else
81431     ac_cpp_err=
81432   fi
81433 else
81434   ac_cpp_err=yes
81435 fi
81436 if test -z "$ac_cpp_err"; then
81437   ac_header_preproc=yes
81438 else
81439   echo "$as_me: failed program was:" >&5
81440 sed 's/^/| /' conftest.$ac_ext >&5
81441
81442   ac_header_preproc=no
81443 fi
81444 rm -f conftest.err conftest.$ac_ext
81445 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81446 echo "${ECHO_T}$ac_header_preproc" >&6
81447
81448 # So?  What about this header?
81449 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81450   yes:no: )
81451     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
81452 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81453     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
81454 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
81455     ac_header_preproc=yes
81456     ;;
81457   no:yes:* )
81458     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
81459 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
81460     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
81461 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
81462     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
81463 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
81464     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
81465 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
81466     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
81467 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
81468     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
81469 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
81470     (
81471       cat <<\_ASBOX
81472 ## ----------------------------------------- ##
81473 ## Report this to the package-unused lists.  ##
81474 ## ----------------------------------------- ##
81475 _ASBOX
81476     ) |
81477       sed "s/^/$as_me: WARNING:     /" >&2
81478     ;;
81479 esac
81480 echo "$as_me:$LINENO: checking for iconv.h" >&5
81481 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81482 if test "${ac_cv_header_iconv_h+set}" = set; then
81483   echo $ECHO_N "(cached) $ECHO_C" >&6
81484 else
81485   ac_cv_header_iconv_h=$ac_header_preproc
81486 fi
81487 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81488 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81489
81490 fi
81491 if test $ac_cv_header_iconv_h = yes; then
81492   ac_has_iconv_h=yes
81493 else
81494   ac_has_iconv_h=no
81495 fi
81496
81497
81498     if test "${ac_cv_header_langinfo_h+set}" = set; then
81499   echo "$as_me:$LINENO: checking for langinfo.h" >&5
81500 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81501 if test "${ac_cv_header_langinfo_h+set}" = set; then
81502   echo $ECHO_N "(cached) $ECHO_C" >&6
81503 fi
81504 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81505 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81506 else
81507   # Is the header compilable?
81508 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
81509 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
81510 cat >conftest.$ac_ext <<_ACEOF
81511 /* confdefs.h.  */
81512 _ACEOF
81513 cat confdefs.h >>conftest.$ac_ext
81514 cat >>conftest.$ac_ext <<_ACEOF
81515 /* end confdefs.h.  */
81516 $ac_includes_default
81517 #include <langinfo.h>
81518 _ACEOF
81519 rm -f conftest.$ac_objext
81520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81521   (eval $ac_compile) 2>conftest.er1
81522   ac_status=$?
81523   grep -v '^ *+' conftest.er1 >conftest.err
81524   rm -f conftest.er1
81525   cat conftest.err >&5
81526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81527   (exit $ac_status); } &&
81528          { ac_try='test -z "$ac_c_werror_flag"
81529                          || test ! -s conftest.err'
81530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81531   (eval $ac_try) 2>&5
81532   ac_status=$?
81533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81534   (exit $ac_status); }; } &&
81535          { ac_try='test -s conftest.$ac_objext'
81536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81537   (eval $ac_try) 2>&5
81538   ac_status=$?
81539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81540   (exit $ac_status); }; }; then
81541   ac_header_compiler=yes
81542 else
81543   echo "$as_me: failed program was:" >&5
81544 sed 's/^/| /' conftest.$ac_ext >&5
81545
81546 ac_header_compiler=no
81547 fi
81548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81549 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81550 echo "${ECHO_T}$ac_header_compiler" >&6
81551
81552 # Is the header present?
81553 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
81554 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
81555 cat >conftest.$ac_ext <<_ACEOF
81556 /* confdefs.h.  */
81557 _ACEOF
81558 cat confdefs.h >>conftest.$ac_ext
81559 cat >>conftest.$ac_ext <<_ACEOF
81560 /* end confdefs.h.  */
81561 #include <langinfo.h>
81562 _ACEOF
81563 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81564   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81565   ac_status=$?
81566   grep -v '^ *+' conftest.er1 >conftest.err
81567   rm -f conftest.er1
81568   cat conftest.err >&5
81569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81570   (exit $ac_status); } >/dev/null; then
81571   if test -s conftest.err; then
81572     ac_cpp_err=$ac_c_preproc_warn_flag
81573     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81574   else
81575     ac_cpp_err=
81576   fi
81577 else
81578   ac_cpp_err=yes
81579 fi
81580 if test -z "$ac_cpp_err"; then
81581   ac_header_preproc=yes
81582 else
81583   echo "$as_me: failed program was:" >&5
81584 sed 's/^/| /' conftest.$ac_ext >&5
81585
81586   ac_header_preproc=no
81587 fi
81588 rm -f conftest.err conftest.$ac_ext
81589 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81590 echo "${ECHO_T}$ac_header_preproc" >&6
81591
81592 # So?  What about this header?
81593 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81594   yes:no: )
81595     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
81596 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81597     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
81598 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
81599     ac_header_preproc=yes
81600     ;;
81601   no:yes:* )
81602     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
81603 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
81604     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
81605 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
81606     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
81607 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
81608     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
81609 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
81610     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81611 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81612     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
81613 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
81614     (
81615       cat <<\_ASBOX
81616 ## ----------------------------------------- ##
81617 ## Report this to the package-unused lists.  ##
81618 ## ----------------------------------------- ##
81619 _ASBOX
81620     ) |
81621       sed "s/^/$as_me: WARNING:     /" >&2
81622     ;;
81623 esac
81624 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81625 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81626 if test "${ac_cv_header_langinfo_h+set}" = set; then
81627   echo $ECHO_N "(cached) $ECHO_C" >&6
81628 else
81629   ac_cv_header_langinfo_h=$ac_header_preproc
81630 fi
81631 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81632 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81633
81634 fi
81635 if test $ac_cv_header_langinfo_h = yes; then
81636   ac_has_langinfo_h=yes
81637 else
81638   ac_has_langinfo_h=no
81639 fi
81640
81641
81642
81643     # Check for existence of libiconv.a providing XPG2 wchar_t support.
81644     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81645 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81646 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81647   echo $ECHO_N "(cached) $ECHO_C" >&6
81648 else
81649   ac_check_lib_save_LIBS=$LIBS
81650 LIBS="-liconv  $LIBS"
81651 if test x$gcc_no_link = xyes; then
81652   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81654    { (exit 1); exit 1; }; }
81655 fi
81656 cat >conftest.$ac_ext <<_ACEOF
81657 /* confdefs.h.  */
81658 _ACEOF
81659 cat confdefs.h >>conftest.$ac_ext
81660 cat >>conftest.$ac_ext <<_ACEOF
81661 /* end confdefs.h.  */
81662
81663 /* Override any gcc2 internal prototype to avoid an error.  */
81664 #ifdef __cplusplus
81665 extern "C"
81666 #endif
81667 /* We use char because int might match the return type of a gcc2
81668    builtin and then its argument prototype would still apply.  */
81669 char iconv ();
81670 int
81671 main ()
81672 {
81673 iconv ();
81674   ;
81675   return 0;
81676 }
81677 _ACEOF
81678 rm -f conftest.$ac_objext conftest$ac_exeext
81679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81680   (eval $ac_link) 2>conftest.er1
81681   ac_status=$?
81682   grep -v '^ *+' conftest.er1 >conftest.err
81683   rm -f conftest.er1
81684   cat conftest.err >&5
81685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81686   (exit $ac_status); } &&
81687          { ac_try='test -z "$ac_c_werror_flag"
81688                          || test ! -s conftest.err'
81689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81690   (eval $ac_try) 2>&5
81691   ac_status=$?
81692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81693   (exit $ac_status); }; } &&
81694          { ac_try='test -s conftest$ac_exeext'
81695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81696   (eval $ac_try) 2>&5
81697   ac_status=$?
81698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81699   (exit $ac_status); }; }; then
81700   ac_cv_lib_iconv_iconv=yes
81701 else
81702   echo "$as_me: failed program was:" >&5
81703 sed 's/^/| /' conftest.$ac_ext >&5
81704
81705 ac_cv_lib_iconv_iconv=no
81706 fi
81707 rm -f conftest.err conftest.$ac_objext \
81708       conftest$ac_exeext conftest.$ac_ext
81709 LIBS=$ac_check_lib_save_LIBS
81710 fi
81711 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81712 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81713 if test $ac_cv_lib_iconv_iconv = yes; then
81714   LIBICONV="-liconv"
81715 fi
81716
81717     ac_save_LIBS="$LIBS"
81718     LIBS="$LIBS $LIBICONV"
81719
81720
81721
81722
81723
81724
81725 for ac_func in iconv_open iconv_close iconv nl_langinfo
81726 do
81727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81728 echo "$as_me:$LINENO: checking for $ac_func" >&5
81729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81730 if eval "test \"\${$as_ac_var+set}\" = set"; then
81731   echo $ECHO_N "(cached) $ECHO_C" >&6
81732 else
81733   if test x$gcc_no_link = xyes; then
81734   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81736    { (exit 1); exit 1; }; }
81737 fi
81738 cat >conftest.$ac_ext <<_ACEOF
81739 /* confdefs.h.  */
81740 _ACEOF
81741 cat confdefs.h >>conftest.$ac_ext
81742 cat >>conftest.$ac_ext <<_ACEOF
81743 /* end confdefs.h.  */
81744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81745    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81746 #define $ac_func innocuous_$ac_func
81747
81748 /* System header to define __stub macros and hopefully few prototypes,
81749     which can conflict with char $ac_func (); below.
81750     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81751     <limits.h> exists even on freestanding compilers.  */
81752
81753 #ifdef __STDC__
81754 # include <limits.h>
81755 #else
81756 # include <assert.h>
81757 #endif
81758
81759 #undef $ac_func
81760
81761 /* Override any gcc2 internal prototype to avoid an error.  */
81762 #ifdef __cplusplus
81763 extern "C"
81764 {
81765 #endif
81766 /* We use char because int might match the return type of a gcc2
81767    builtin and then its argument prototype would still apply.  */
81768 char $ac_func ();
81769 /* The GNU C library defines this for functions which it implements
81770     to always fail with ENOSYS.  Some functions are actually named
81771     something starting with __ and the normal name is an alias.  */
81772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81773 choke me
81774 #else
81775 char (*f) () = $ac_func;
81776 #endif
81777 #ifdef __cplusplus
81778 }
81779 #endif
81780
81781 int
81782 main ()
81783 {
81784 return f != $ac_func;
81785   ;
81786   return 0;
81787 }
81788 _ACEOF
81789 rm -f conftest.$ac_objext conftest$ac_exeext
81790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81791   (eval $ac_link) 2>conftest.er1
81792   ac_status=$?
81793   grep -v '^ *+' conftest.er1 >conftest.err
81794   rm -f conftest.er1
81795   cat conftest.err >&5
81796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81797   (exit $ac_status); } &&
81798          { ac_try='test -z "$ac_c_werror_flag"
81799                          || test ! -s conftest.err'
81800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81801   (eval $ac_try) 2>&5
81802   ac_status=$?
81803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81804   (exit $ac_status); }; } &&
81805          { ac_try='test -s conftest$ac_exeext'
81806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81807   (eval $ac_try) 2>&5
81808   ac_status=$?
81809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81810   (exit $ac_status); }; }; then
81811   eval "$as_ac_var=yes"
81812 else
81813   echo "$as_me: failed program was:" >&5
81814 sed 's/^/| /' conftest.$ac_ext >&5
81815
81816 eval "$as_ac_var=no"
81817 fi
81818 rm -f conftest.err conftest.$ac_objext \
81819       conftest$ac_exeext conftest.$ac_ext
81820 fi
81821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81823 if test `eval echo '${'$as_ac_var'}'` = yes; then
81824   cat >>confdefs.h <<_ACEOF
81825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81826 _ACEOF
81827  ac_XPG2funcs=yes
81828 else
81829   ac_XPG2funcs=no
81830 fi
81831 done
81832
81833
81834     LIBS="$ac_save_LIBS"
81835
81836     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
81837 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
81838     if test x"$ac_has_iconv_h" = xyes &&
81839        test x"$ac_has_langinfo_h" = xyes &&
81840        test x"$ac_XPG2funcs" = xyes;
81841     then
81842       ac_XPG2_wchar_t=yes
81843     else
81844       ac_XPG2_wchar_t=no
81845     fi
81846     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
81847 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
81848
81849     # At the moment, only enable wchar_t specializations if all the
81850     # above support is present.
81851     if test x"$ac_isoC99_wchar_t" = xyes &&
81852        test x"$ac_XPG2_wchar_t" = xyes;
81853     then
81854       cat >>confdefs.h <<\_ACEOF
81855 #define _GLIBCXX_USE_WCHAR_T 1
81856 _ACEOF
81857
81858       enable_wchar_t=yes
81859     fi
81860   fi
81861   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
81862 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
81863   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
81864 echo "${ECHO_T}$enable_wchar_t" >&6
81865
81866
81867     # For LFS.
81868     cat >>confdefs.h <<\_ACEOF
81869 #define HAVE_INT64_T 1
81870 _ACEOF
81871
81872     case "$target" in
81873       *-uclinux*)
81874         # Don't enable LFS with uClibc
81875         ;;
81876       *)
81877         cat >>confdefs.h <<\_ACEOF
81878 #define _GLIBCXX_USE_LFS 1
81879 _ACEOF
81880
81881     esac
81882
81883     # For showmanyc_helper().
81884
81885
81886 for ac_header in sys/ioctl.h sys/filio.h
81887 do
81888 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81890   echo "$as_me:$LINENO: checking for $ac_header" >&5
81891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81893   echo $ECHO_N "(cached) $ECHO_C" >&6
81894 fi
81895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81897 else
81898   # Is the header compilable?
81899 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81900 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81901 cat >conftest.$ac_ext <<_ACEOF
81902 /* confdefs.h.  */
81903 _ACEOF
81904 cat confdefs.h >>conftest.$ac_ext
81905 cat >>conftest.$ac_ext <<_ACEOF
81906 /* end confdefs.h.  */
81907 $ac_includes_default
81908 #include <$ac_header>
81909 _ACEOF
81910 rm -f conftest.$ac_objext
81911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81912   (eval $ac_compile) 2>conftest.er1
81913   ac_status=$?
81914   grep -v '^ *+' conftest.er1 >conftest.err
81915   rm -f conftest.er1
81916   cat conftest.err >&5
81917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81918   (exit $ac_status); } &&
81919          { ac_try='test -z "$ac_c_werror_flag"
81920                          || test ! -s conftest.err'
81921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81922   (eval $ac_try) 2>&5
81923   ac_status=$?
81924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81925   (exit $ac_status); }; } &&
81926          { ac_try='test -s conftest.$ac_objext'
81927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81928   (eval $ac_try) 2>&5
81929   ac_status=$?
81930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81931   (exit $ac_status); }; }; then
81932   ac_header_compiler=yes
81933 else
81934   echo "$as_me: failed program was:" >&5
81935 sed 's/^/| /' conftest.$ac_ext >&5
81936
81937 ac_header_compiler=no
81938 fi
81939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81940 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81941 echo "${ECHO_T}$ac_header_compiler" >&6
81942
81943 # Is the header present?
81944 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81945 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81946 cat >conftest.$ac_ext <<_ACEOF
81947 /* confdefs.h.  */
81948 _ACEOF
81949 cat confdefs.h >>conftest.$ac_ext
81950 cat >>conftest.$ac_ext <<_ACEOF
81951 /* end confdefs.h.  */
81952 #include <$ac_header>
81953 _ACEOF
81954 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81955   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81956   ac_status=$?
81957   grep -v '^ *+' conftest.er1 >conftest.err
81958   rm -f conftest.er1
81959   cat conftest.err >&5
81960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81961   (exit $ac_status); } >/dev/null; then
81962   if test -s conftest.err; then
81963     ac_cpp_err=$ac_c_preproc_warn_flag
81964     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81965   else
81966     ac_cpp_err=
81967   fi
81968 else
81969   ac_cpp_err=yes
81970 fi
81971 if test -z "$ac_cpp_err"; then
81972   ac_header_preproc=yes
81973 else
81974   echo "$as_me: failed program was:" >&5
81975 sed 's/^/| /' conftest.$ac_ext >&5
81976
81977   ac_header_preproc=no
81978 fi
81979 rm -f conftest.err conftest.$ac_ext
81980 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81981 echo "${ECHO_T}$ac_header_preproc" >&6
81982
81983 # So?  What about this header?
81984 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81985   yes:no: )
81986     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81987 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81988     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81989 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81990     ac_header_preproc=yes
81991     ;;
81992   no:yes:* )
81993     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81994 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81995     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
81996 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
81997     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81998 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81999     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
82000 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
82001     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82002 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82003     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82004 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82005     (
82006       cat <<\_ASBOX
82007 ## ----------------------------------------- ##
82008 ## Report this to the package-unused lists.  ##
82009 ## ----------------------------------------- ##
82010 _ASBOX
82011     ) |
82012       sed "s/^/$as_me: WARNING:     /" >&2
82013     ;;
82014 esac
82015 echo "$as_me:$LINENO: checking for $ac_header" >&5
82016 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82017 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82018   echo $ECHO_N "(cached) $ECHO_C" >&6
82019 else
82020   eval "$as_ac_Header=\$ac_header_preproc"
82021 fi
82022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82023 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82024
82025 fi
82026 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82027   cat >>confdefs.h <<_ACEOF
82028 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82029 _ACEOF
82030
82031 fi
82032
82033 done
82034
82035
82036   if test "${glibcxx_cv_POLL+set}" = set; then
82037   echo $ECHO_N "(cached) $ECHO_C" >&6
82038 else
82039
82040     if test x$gcc_no_link = xyes; then
82041   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82043    { (exit 1); exit 1; }; }
82044 fi
82045 cat >conftest.$ac_ext <<_ACEOF
82046 /* confdefs.h.  */
82047 _ACEOF
82048 cat confdefs.h >>conftest.$ac_ext
82049 cat >>conftest.$ac_ext <<_ACEOF
82050 /* end confdefs.h.  */
82051 #include <poll.h>
82052 int
82053 main ()
82054 {
82055 struct pollfd pfd[1];
82056        pfd[0].events = POLLIN;
82057        poll(pfd, 1, 0);
82058   ;
82059   return 0;
82060 }
82061 _ACEOF
82062 rm -f conftest.$ac_objext conftest$ac_exeext
82063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82064   (eval $ac_link) 2>conftest.er1
82065   ac_status=$?
82066   grep -v '^ *+' conftest.er1 >conftest.err
82067   rm -f conftest.er1
82068   cat conftest.err >&5
82069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82070   (exit $ac_status); } &&
82071          { ac_try='test -z "$ac_c_werror_flag"
82072                          || test ! -s conftest.err'
82073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82074   (eval $ac_try) 2>&5
82075   ac_status=$?
82076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82077   (exit $ac_status); }; } &&
82078          { ac_try='test -s conftest$ac_exeext'
82079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82080   (eval $ac_try) 2>&5
82081   ac_status=$?
82082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82083   (exit $ac_status); }; }; then
82084   glibcxx_cv_POLL=yes
82085 else
82086   echo "$as_me: failed program was:" >&5
82087 sed 's/^/| /' conftest.$ac_ext >&5
82088
82089 glibcxx_cv_POLL=no
82090 fi
82091 rm -f conftest.err conftest.$ac_objext \
82092       conftest$ac_exeext conftest.$ac_ext
82093
82094 fi
82095
82096   if test $glibcxx_cv_POLL = yes; then
82097     cat >>confdefs.h <<\_ACEOF
82098 #define HAVE_POLL 1
82099 _ACEOF
82100
82101   fi
82102
82103
82104   if test "${glibcxx_cv_S_ISREG+set}" = set; then
82105   echo $ECHO_N "(cached) $ECHO_C" >&6
82106 else
82107
82108     if test x$gcc_no_link = xyes; then
82109   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82111    { (exit 1); exit 1; }; }
82112 fi
82113 cat >conftest.$ac_ext <<_ACEOF
82114 /* confdefs.h.  */
82115 _ACEOF
82116 cat confdefs.h >>conftest.$ac_ext
82117 cat >>conftest.$ac_ext <<_ACEOF
82118 /* end confdefs.h.  */
82119 #include <sys/stat.h>
82120 int
82121 main ()
82122 {
82123 struct stat buffer;
82124        fstat(0, &buffer);
82125        S_ISREG(buffer.st_mode);
82126   ;
82127   return 0;
82128 }
82129 _ACEOF
82130 rm -f conftest.$ac_objext conftest$ac_exeext
82131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82132   (eval $ac_link) 2>conftest.er1
82133   ac_status=$?
82134   grep -v '^ *+' conftest.er1 >conftest.err
82135   rm -f conftest.er1
82136   cat conftest.err >&5
82137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82138   (exit $ac_status); } &&
82139          { ac_try='test -z "$ac_c_werror_flag"
82140                          || test ! -s conftest.err'
82141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82142   (eval $ac_try) 2>&5
82143   ac_status=$?
82144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82145   (exit $ac_status); }; } &&
82146          { ac_try='test -s conftest$ac_exeext'
82147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82148   (eval $ac_try) 2>&5
82149   ac_status=$?
82150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82151   (exit $ac_status); }; }; then
82152   glibcxx_cv_S_ISREG=yes
82153 else
82154   echo "$as_me: failed program was:" >&5
82155 sed 's/^/| /' conftest.$ac_ext >&5
82156
82157 glibcxx_cv_S_ISREG=no
82158 fi
82159 rm -f conftest.err conftest.$ac_objext \
82160       conftest$ac_exeext conftest.$ac_ext
82161
82162 fi
82163
82164   if test "${glibcxx_cv_S_IFREG+set}" = set; then
82165   echo $ECHO_N "(cached) $ECHO_C" >&6
82166 else
82167
82168     if test x$gcc_no_link = xyes; then
82169   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82171    { (exit 1); exit 1; }; }
82172 fi
82173 cat >conftest.$ac_ext <<_ACEOF
82174 /* confdefs.h.  */
82175 _ACEOF
82176 cat confdefs.h >>conftest.$ac_ext
82177 cat >>conftest.$ac_ext <<_ACEOF
82178 /* end confdefs.h.  */
82179 #include <sys/stat.h>
82180 int
82181 main ()
82182 {
82183 struct stat buffer;
82184        fstat(0, &buffer);
82185        S_IFREG & buffer.st_mode;
82186   ;
82187   return 0;
82188 }
82189 _ACEOF
82190 rm -f conftest.$ac_objext conftest$ac_exeext
82191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82192   (eval $ac_link) 2>conftest.er1
82193   ac_status=$?
82194   grep -v '^ *+' conftest.er1 >conftest.err
82195   rm -f conftest.er1
82196   cat conftest.err >&5
82197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82198   (exit $ac_status); } &&
82199          { ac_try='test -z "$ac_c_werror_flag"
82200                          || test ! -s conftest.err'
82201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82202   (eval $ac_try) 2>&5
82203   ac_status=$?
82204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82205   (exit $ac_status); }; } &&
82206          { ac_try='test -s conftest$ac_exeext'
82207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82208   (eval $ac_try) 2>&5
82209   ac_status=$?
82210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82211   (exit $ac_status); }; }; then
82212   glibcxx_cv_S_IFREG=yes
82213 else
82214   echo "$as_me: failed program was:" >&5
82215 sed 's/^/| /' conftest.$ac_ext >&5
82216
82217 glibcxx_cv_S_IFREG=no
82218 fi
82219 rm -f conftest.err conftest.$ac_objext \
82220       conftest$ac_exeext conftest.$ac_ext
82221
82222 fi
82223
82224   if test $glibcxx_cv_S_ISREG = yes; then
82225     cat >>confdefs.h <<\_ACEOF
82226 #define HAVE_S_ISREG 1
82227 _ACEOF
82228
82229   elif test $glibcxx_cv_S_IFREG = yes; then
82230     cat >>confdefs.h <<\_ACEOF
82231 #define HAVE_S_IFREG 1
82232 _ACEOF
82233
82234   fi
82235
82236
82237     # For xsputn_2().
82238
82239 for ac_header in sys/uio.h
82240 do
82241 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82243   echo "$as_me:$LINENO: checking for $ac_header" >&5
82244 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82245 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82246   echo $ECHO_N "(cached) $ECHO_C" >&6
82247 fi
82248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82249 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82250 else
82251   # Is the header compilable?
82252 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82253 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82254 cat >conftest.$ac_ext <<_ACEOF
82255 /* confdefs.h.  */
82256 _ACEOF
82257 cat confdefs.h >>conftest.$ac_ext
82258 cat >>conftest.$ac_ext <<_ACEOF
82259 /* end confdefs.h.  */
82260 $ac_includes_default
82261 #include <$ac_header>
82262 _ACEOF
82263 rm -f conftest.$ac_objext
82264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82265   (eval $ac_compile) 2>conftest.er1
82266   ac_status=$?
82267   grep -v '^ *+' conftest.er1 >conftest.err
82268   rm -f conftest.er1
82269   cat conftest.err >&5
82270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82271   (exit $ac_status); } &&
82272          { ac_try='test -z "$ac_c_werror_flag"
82273                          || test ! -s conftest.err'
82274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82275   (eval $ac_try) 2>&5
82276   ac_status=$?
82277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82278   (exit $ac_status); }; } &&
82279          { ac_try='test -s conftest.$ac_objext'
82280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82281   (eval $ac_try) 2>&5
82282   ac_status=$?
82283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82284   (exit $ac_status); }; }; then
82285   ac_header_compiler=yes
82286 else
82287   echo "$as_me: failed program was:" >&5
82288 sed 's/^/| /' conftest.$ac_ext >&5
82289
82290 ac_header_compiler=no
82291 fi
82292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82293 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82294 echo "${ECHO_T}$ac_header_compiler" >&6
82295
82296 # Is the header present?
82297 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82298 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82299 cat >conftest.$ac_ext <<_ACEOF
82300 /* confdefs.h.  */
82301 _ACEOF
82302 cat confdefs.h >>conftest.$ac_ext
82303 cat >>conftest.$ac_ext <<_ACEOF
82304 /* end confdefs.h.  */
82305 #include <$ac_header>
82306 _ACEOF
82307 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82308   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82309   ac_status=$?
82310   grep -v '^ *+' conftest.er1 >conftest.err
82311   rm -f conftest.er1
82312   cat conftest.err >&5
82313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82314   (exit $ac_status); } >/dev/null; then
82315   if test -s conftest.err; then
82316     ac_cpp_err=$ac_c_preproc_warn_flag
82317     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82318   else
82319     ac_cpp_err=
82320   fi
82321 else
82322   ac_cpp_err=yes
82323 fi
82324 if test -z "$ac_cpp_err"; then
82325   ac_header_preproc=yes
82326 else
82327   echo "$as_me: failed program was:" >&5
82328 sed 's/^/| /' conftest.$ac_ext >&5
82329
82330   ac_header_preproc=no
82331 fi
82332 rm -f conftest.err conftest.$ac_ext
82333 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82334 echo "${ECHO_T}$ac_header_preproc" >&6
82335
82336 # So?  What about this header?
82337 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82338   yes:no: )
82339     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82340 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82341     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82342 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82343     ac_header_preproc=yes
82344     ;;
82345   no:yes:* )
82346     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82347 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82348     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
82349 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
82350     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82351 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82352     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
82353 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
82354     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82355 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82356     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82357 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82358     (
82359       cat <<\_ASBOX
82360 ## ----------------------------------------- ##
82361 ## Report this to the package-unused lists.  ##
82362 ## ----------------------------------------- ##
82363 _ASBOX
82364     ) |
82365       sed "s/^/$as_me: WARNING:     /" >&2
82366     ;;
82367 esac
82368 echo "$as_me:$LINENO: checking for $ac_header" >&5
82369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82371   echo $ECHO_N "(cached) $ECHO_C" >&6
82372 else
82373   eval "$as_ac_Header=\$ac_header_preproc"
82374 fi
82375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82376 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82377
82378 fi
82379 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82380   cat >>confdefs.h <<_ACEOF
82381 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82382 _ACEOF
82383
82384 fi
82385
82386 done
82387
82388
82389   if test "${glibcxx_cv_WRITEV+set}" = set; then
82390   echo $ECHO_N "(cached) $ECHO_C" >&6
82391 else
82392
82393     if test x$gcc_no_link = xyes; then
82394   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82396    { (exit 1); exit 1; }; }
82397 fi
82398 cat >conftest.$ac_ext <<_ACEOF
82399 /* confdefs.h.  */
82400 _ACEOF
82401 cat confdefs.h >>conftest.$ac_ext
82402 cat >>conftest.$ac_ext <<_ACEOF
82403 /* end confdefs.h.  */
82404 #include <sys/uio.h>
82405 int
82406 main ()
82407 {
82408 struct iovec iov[2];
82409        writev(0, iov, 0);
82410   ;
82411   return 0;
82412 }
82413 _ACEOF
82414 rm -f conftest.$ac_objext conftest$ac_exeext
82415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82416   (eval $ac_link) 2>conftest.er1
82417   ac_status=$?
82418   grep -v '^ *+' conftest.er1 >conftest.err
82419   rm -f conftest.er1
82420   cat conftest.err >&5
82421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82422   (exit $ac_status); } &&
82423          { ac_try='test -z "$ac_c_werror_flag"
82424                          || test ! -s conftest.err'
82425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82426   (eval $ac_try) 2>&5
82427   ac_status=$?
82428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82429   (exit $ac_status); }; } &&
82430          { ac_try='test -s conftest$ac_exeext'
82431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82432   (eval $ac_try) 2>&5
82433   ac_status=$?
82434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82435   (exit $ac_status); }; }; then
82436   glibcxx_cv_WRITEV=yes
82437 else
82438   echo "$as_me: failed program was:" >&5
82439 sed 's/^/| /' conftest.$ac_ext >&5
82440
82441 glibcxx_cv_WRITEV=no
82442 fi
82443 rm -f conftest.err conftest.$ac_objext \
82444       conftest$ac_exeext conftest.$ac_ext
82445
82446 fi
82447
82448   if test $glibcxx_cv_WRITEV = yes; then
82449     cat >>confdefs.h <<\_ACEOF
82450 #define HAVE_WRITEV 1
82451 _ACEOF
82452
82453   fi
82454
82455
82456     cat >>confdefs.h <<\_ACEOF
82457 #define HAVE_ACOSF 1
82458 _ACEOF
82459
82460     cat >>confdefs.h <<\_ACEOF
82461 #define HAVE_ASINF 1
82462 _ACEOF
82463
82464     cat >>confdefs.h <<\_ACEOF
82465 #define HAVE_ATANF 1
82466 _ACEOF
82467
82468     cat >>confdefs.h <<\_ACEOF
82469 #define HAVE_ATAN2F 1
82470 _ACEOF
82471
82472     cat >>confdefs.h <<\_ACEOF
82473 #define HAVE_CEILF 1
82474 _ACEOF
82475
82476     cat >>confdefs.h <<\_ACEOF
82477 #define HAVE_COPYSIGN 1
82478 _ACEOF
82479
82480     cat >>confdefs.h <<\_ACEOF
82481 #define HAVE_COPYSIGNF 1
82482 _ACEOF
82483
82484     cat >>confdefs.h <<\_ACEOF
82485 #define HAVE_COSF 1
82486 _ACEOF
82487
82488     cat >>confdefs.h <<\_ACEOF
82489 #define HAVE_COSHF 1
82490 _ACEOF
82491
82492     cat >>confdefs.h <<\_ACEOF
82493 #define HAVE_EXPF 1
82494 _ACEOF
82495
82496     cat >>confdefs.h <<\_ACEOF
82497 #define HAVE_FABSF 1
82498 _ACEOF
82499
82500     cat >>confdefs.h <<\_ACEOF
82501 #define HAVE_FINITE 1
82502 _ACEOF
82503
82504     cat >>confdefs.h <<\_ACEOF
82505 #define HAVE_FINITEF 1
82506 _ACEOF
82507
82508     cat >>confdefs.h <<\_ACEOF
82509 #define HAVE_FLOORF 1
82510 _ACEOF
82511
82512     cat >>confdefs.h <<\_ACEOF
82513 #define HAVE_FMODF 1
82514 _ACEOF
82515
82516     cat >>confdefs.h <<\_ACEOF
82517 #define HAVE_FREXPF 1
82518 _ACEOF
82519
82520     cat >>confdefs.h <<\_ACEOF
82521 #define HAVE_HYPOT 1
82522 _ACEOF
82523
82524     cat >>confdefs.h <<\_ACEOF
82525 #define HAVE_HYPOTF 1
82526 _ACEOF
82527
82528     cat >>confdefs.h <<\_ACEOF
82529 #define HAVE_ISINF 1
82530 _ACEOF
82531
82532     cat >>confdefs.h <<\_ACEOF
82533 #define HAVE_ISINFF 1
82534 _ACEOF
82535
82536     cat >>confdefs.h <<\_ACEOF
82537 #define HAVE_ISNAN 1
82538 _ACEOF
82539
82540     cat >>confdefs.h <<\_ACEOF
82541 #define HAVE_ISNANF 1
82542 _ACEOF
82543
82544     cat >>confdefs.h <<\_ACEOF
82545 #define HAVE_LOGF 1
82546 _ACEOF
82547
82548     cat >>confdefs.h <<\_ACEOF
82549 #define HAVE_LOG10F 1
82550 _ACEOF
82551
82552     cat >>confdefs.h <<\_ACEOF
82553 #define HAVE_MODFF 1
82554 _ACEOF
82555
82556     cat >>confdefs.h <<\_ACEOF
82557 #define HAVE_SINF 1
82558 _ACEOF
82559
82560     cat >>confdefs.h <<\_ACEOF
82561 #define HAVE_SINHF 1
82562 _ACEOF
82563
82564     cat >>confdefs.h <<\_ACEOF
82565 #define HAVE_SINCOS 1
82566 _ACEOF
82567
82568     cat >>confdefs.h <<\_ACEOF
82569 #define HAVE_SINCOSF 1
82570 _ACEOF
82571
82572     cat >>confdefs.h <<\_ACEOF
82573 #define HAVE_SQRTF 1
82574 _ACEOF
82575
82576     cat >>confdefs.h <<\_ACEOF
82577 #define HAVE_TANF 1
82578 _ACEOF
82579
82580     cat >>confdefs.h <<\_ACEOF
82581 #define HAVE_TANHF 1
82582 _ACEOF
82583
82584     if test x"long_double_math_on_this_cpu" = x"yes"; then
82585       cat >>confdefs.h <<\_ACEOF
82586 #define HAVE_ACOSL 1
82587 _ACEOF
82588
82589       cat >>confdefs.h <<\_ACEOF
82590 #define HAVE_ASINL 1
82591 _ACEOF
82592
82593       cat >>confdefs.h <<\_ACEOF
82594 #define HAVE_ATANL 1
82595 _ACEOF
82596
82597       cat >>confdefs.h <<\_ACEOF
82598 #define HAVE_ATAN2L 1
82599 _ACEOF
82600
82601       cat >>confdefs.h <<\_ACEOF
82602 #define HAVE_CEILL 1
82603 _ACEOF
82604
82605       cat >>confdefs.h <<\_ACEOF
82606 #define HAVE_COPYSIGNL 1
82607 _ACEOF
82608
82609       cat >>confdefs.h <<\_ACEOF
82610 #define HAVE_COSL 1
82611 _ACEOF
82612
82613       cat >>confdefs.h <<\_ACEOF
82614 #define HAVE_COSHL 1
82615 _ACEOF
82616
82617       cat >>confdefs.h <<\_ACEOF
82618 #define HAVE_EXPL 1
82619 _ACEOF
82620
82621       cat >>confdefs.h <<\_ACEOF
82622 #define HAVE_FABSL 1
82623 _ACEOF
82624
82625       cat >>confdefs.h <<\_ACEOF
82626 #define HAVE_FINITEL 1
82627 _ACEOF
82628
82629       cat >>confdefs.h <<\_ACEOF
82630 #define HAVE_FLOORL 1
82631 _ACEOF
82632
82633       cat >>confdefs.h <<\_ACEOF
82634 #define HAVE_FMODL 1
82635 _ACEOF
82636
82637       cat >>confdefs.h <<\_ACEOF
82638 #define HAVE_FREXPL 1
82639 _ACEOF
82640
82641       cat >>confdefs.h <<\_ACEOF
82642 #define HAVE_HYPOTL 1
82643 _ACEOF
82644
82645       cat >>confdefs.h <<\_ACEOF
82646 #define HAVE_ISINFL 1
82647 _ACEOF
82648
82649       cat >>confdefs.h <<\_ACEOF
82650 #define HAVE_ISNANL 1
82651 _ACEOF
82652
82653       cat >>confdefs.h <<\_ACEOF
82654 #define HAVE_LOGL 1
82655 _ACEOF
82656
82657       cat >>confdefs.h <<\_ACEOF
82658 #define HAVE_LOG10L 1
82659 _ACEOF
82660
82661       cat >>confdefs.h <<\_ACEOF
82662 #define HAVE_MODFL 1
82663 _ACEOF
82664
82665       cat >>confdefs.h <<\_ACEOF
82666 #define HAVE_POWL 1
82667 _ACEOF
82668
82669       cat >>confdefs.h <<\_ACEOF
82670 #define HAVE_SINL 1
82671 _ACEOF
82672
82673       cat >>confdefs.h <<\_ACEOF
82674 #define HAVE_SINHL 1
82675 _ACEOF
82676
82677       cat >>confdefs.h <<\_ACEOF
82678 #define HAVE_SINCOSL 1
82679 _ACEOF
82680
82681       cat >>confdefs.h <<\_ACEOF
82682 #define HAVE_SQRTL 1
82683 _ACEOF
82684
82685       cat >>confdefs.h <<\_ACEOF
82686 #define HAVE_TANL 1
82687 _ACEOF
82688
82689       cat >>confdefs.h <<\_ACEOF
82690 #define HAVE_TANHL 1
82691 _ACEOF
82692
82693     fi
82694     ;;
82695   *-mingw32*)
82696
82697
82698
82699 for ac_header in sys/types.h locale.h float.h
82700 do
82701 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82702 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82703   echo "$as_me:$LINENO: checking for $ac_header" >&5
82704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82706   echo $ECHO_N "(cached) $ECHO_C" >&6
82707 fi
82708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82710 else
82711   # Is the header compilable?
82712 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82713 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82714 cat >conftest.$ac_ext <<_ACEOF
82715 /* confdefs.h.  */
82716 _ACEOF
82717 cat confdefs.h >>conftest.$ac_ext
82718 cat >>conftest.$ac_ext <<_ACEOF
82719 /* end confdefs.h.  */
82720 $ac_includes_default
82721 #include <$ac_header>
82722 _ACEOF
82723 rm -f conftest.$ac_objext
82724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82725   (eval $ac_compile) 2>conftest.er1
82726   ac_status=$?
82727   grep -v '^ *+' conftest.er1 >conftest.err
82728   rm -f conftest.er1
82729   cat conftest.err >&5
82730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82731   (exit $ac_status); } &&
82732          { ac_try='test -z "$ac_c_werror_flag"
82733                          || test ! -s conftest.err'
82734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82735   (eval $ac_try) 2>&5
82736   ac_status=$?
82737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82738   (exit $ac_status); }; } &&
82739          { ac_try='test -s conftest.$ac_objext'
82740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82741   (eval $ac_try) 2>&5
82742   ac_status=$?
82743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82744   (exit $ac_status); }; }; then
82745   ac_header_compiler=yes
82746 else
82747   echo "$as_me: failed program was:" >&5
82748 sed 's/^/| /' conftest.$ac_ext >&5
82749
82750 ac_header_compiler=no
82751 fi
82752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82753 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82754 echo "${ECHO_T}$ac_header_compiler" >&6
82755
82756 # Is the header present?
82757 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82758 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82759 cat >conftest.$ac_ext <<_ACEOF
82760 /* confdefs.h.  */
82761 _ACEOF
82762 cat confdefs.h >>conftest.$ac_ext
82763 cat >>conftest.$ac_ext <<_ACEOF
82764 /* end confdefs.h.  */
82765 #include <$ac_header>
82766 _ACEOF
82767 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82768   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82769   ac_status=$?
82770   grep -v '^ *+' conftest.er1 >conftest.err
82771   rm -f conftest.er1
82772   cat conftest.err >&5
82773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82774   (exit $ac_status); } >/dev/null; then
82775   if test -s conftest.err; then
82776     ac_cpp_err=$ac_c_preproc_warn_flag
82777     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82778   else
82779     ac_cpp_err=
82780   fi
82781 else
82782   ac_cpp_err=yes
82783 fi
82784 if test -z "$ac_cpp_err"; then
82785   ac_header_preproc=yes
82786 else
82787   echo "$as_me: failed program was:" >&5
82788 sed 's/^/| /' conftest.$ac_ext >&5
82789
82790   ac_header_preproc=no
82791 fi
82792 rm -f conftest.err conftest.$ac_ext
82793 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82794 echo "${ECHO_T}$ac_header_preproc" >&6
82795
82796 # So?  What about this header?
82797 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82798   yes:no: )
82799     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82800 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82801     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82802 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82803     ac_header_preproc=yes
82804     ;;
82805   no:yes:* )
82806     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82807 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82808     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
82809 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
82810     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82811 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82812     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
82813 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
82814     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82815 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82816     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82817 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82818     (
82819       cat <<\_ASBOX
82820 ## ----------------------------------------- ##
82821 ## Report this to the package-unused lists.  ##
82822 ## ----------------------------------------- ##
82823 _ASBOX
82824     ) |
82825       sed "s/^/$as_me: WARNING:     /" >&2
82826     ;;
82827 esac
82828 echo "$as_me:$LINENO: checking for $ac_header" >&5
82829 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82830 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82831   echo $ECHO_N "(cached) $ECHO_C" >&6
82832 else
82833   eval "$as_ac_Header=\$ac_header_preproc"
82834 fi
82835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82836 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82837
82838 fi
82839 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82840   cat >>confdefs.h <<_ACEOF
82841 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82842 _ACEOF
82843
82844 fi
82845
82846 done
82847
82848
82849   # If we're not using GNU ld, then there's no point in even trying these
82850   # tests.  Check for that first.  We should have already tested for gld
82851   # by now (in libtool), but require it now just to be safe...
82852   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
82853   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
82854
82855
82856
82857   # The name set by libtool depends on the version of libtool.  Shame on us
82858   # for depending on an impl detail, but c'est la vie.  Older versions used
82859   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
82860   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
82861   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
82862   # set (hence we're using an older libtool), then set it.
82863   if test x${with_gnu_ld+set} != xset; then
82864     if test x${ac_cv_prog_gnu_ld+set} != xset; then
82865       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
82866       with_gnu_ld=no
82867     else
82868       with_gnu_ld=$ac_cv_prog_gnu_ld
82869     fi
82870   fi
82871
82872   # Start by getting the version number.  I think the libtool test already
82873   # does some of this, but throws away the result.
82874
82875   ldver=`$LD --version 2>/dev/null | head -1 | \
82876          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
82877
82878   glibcxx_gnu_ld_version=`echo $ldver | \
82879          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
82880
82881   # Set --gc-sections.
82882   if test "$with_gnu_ld" = "notbroken"; then
82883     # GNU ld it is!  Joy and bunny rabbits!
82884
82885     # All these tests are for C++; save the language and the compiler flags.
82886     # Need to do this so that g++ won't try to link in libstdc++
82887     ac_test_CFLAGS="${CFLAGS+set}"
82888     ac_save_CFLAGS="$CFLAGS"
82889     CFLAGS='-x c++  -Wl,--gc-sections'
82890
82891     # Check for -Wl,--gc-sections
82892     # XXX This test is broken at the moment, as symbols required for linking
82893     # are now in libsupc++ (not built yet).  In addition, this test has
82894     # cored on solaris in the past.  In addition, --gc-sections doesn't
82895     # really work at the moment (keeps on discarding used sections, first
82896     # .eh_frame and now some of the glibc sections for iconv).
82897     # Bzzzzt.  Thanks for playing, maybe next time.
82898     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
82899 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
82900     if test "$cross_compiling" = yes; then
82901   ac_sectionLDflags=yes
82902 else
82903   cat >conftest.$ac_ext <<_ACEOF
82904 /* confdefs.h.  */
82905 _ACEOF
82906 cat confdefs.h >>conftest.$ac_ext
82907 cat >>conftest.$ac_ext <<_ACEOF
82908 /* end confdefs.h.  */
82909
82910      int main(void)
82911      {
82912        try { throw 1; }
82913        catch (...) { };
82914        return 0;
82915      }
82916
82917 _ACEOF
82918 rm -f conftest$ac_exeext
82919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82920   (eval $ac_link) 2>&5
82921   ac_status=$?
82922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82923   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
82924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82925   (eval $ac_try) 2>&5
82926   ac_status=$?
82927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82928   (exit $ac_status); }; }; then
82929   ac_sectionLDflags=yes
82930 else
82931   echo "$as_me: program exited with status $ac_status" >&5
82932 echo "$as_me: failed program was:" >&5
82933 sed 's/^/| /' conftest.$ac_ext >&5
82934
82935 ( exit $ac_status )
82936 ac_sectionLDflags=no
82937 fi
82938 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
82939 fi
82940     if test "$ac_test_CFLAGS" = set; then
82941       CFLAGS="$ac_save_CFLAGS"
82942     else
82943       # this is the suspicious part
82944       CFLAGS=''
82945     fi
82946     if test "$ac_sectionLDflags" = "yes"; then
82947       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
82948     fi
82949     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
82950 echo "${ECHO_T}$ac_sectionLDflags" >&6
82951   fi
82952
82953   # Set linker optimization flags.
82954   if test x"$with_gnu_ld" = x"yes"; then
82955     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
82956   fi
82957
82958
82959
82960
82961
82962
82963 echo "$as_me:$LINENO: checking for main in -lm" >&5
82964 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
82965 if test "${ac_cv_lib_m_main+set}" = set; then
82966   echo $ECHO_N "(cached) $ECHO_C" >&6
82967 else
82968   ac_check_lib_save_LIBS=$LIBS
82969 LIBS="-lm  $LIBS"
82970 if test x$gcc_no_link = xyes; then
82971   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82973    { (exit 1); exit 1; }; }
82974 fi
82975 cat >conftest.$ac_ext <<_ACEOF
82976 /* confdefs.h.  */
82977 _ACEOF
82978 cat confdefs.h >>conftest.$ac_ext
82979 cat >>conftest.$ac_ext <<_ACEOF
82980 /* end confdefs.h.  */
82981
82982
82983 int
82984 main ()
82985 {
82986 main ();
82987   ;
82988   return 0;
82989 }
82990 _ACEOF
82991 rm -f conftest.$ac_objext conftest$ac_exeext
82992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82993   (eval $ac_link) 2>conftest.er1
82994   ac_status=$?
82995   grep -v '^ *+' conftest.er1 >conftest.err
82996   rm -f conftest.er1
82997   cat conftest.err >&5
82998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82999   (exit $ac_status); } &&
83000          { ac_try='test -z "$ac_c_werror_flag"
83001                          || test ! -s conftest.err'
83002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83003   (eval $ac_try) 2>&5
83004   ac_status=$?
83005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83006   (exit $ac_status); }; } &&
83007          { ac_try='test -s conftest$ac_exeext'
83008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83009   (eval $ac_try) 2>&5
83010   ac_status=$?
83011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83012   (exit $ac_status); }; }; then
83013   ac_cv_lib_m_main=yes
83014 else
83015   echo "$as_me: failed program was:" >&5
83016 sed 's/^/| /' conftest.$ac_ext >&5
83017
83018 ac_cv_lib_m_main=no
83019 fi
83020 rm -f conftest.err conftest.$ac_objext \
83021       conftest$ac_exeext conftest.$ac_ext
83022 LIBS=$ac_check_lib_save_LIBS
83023 fi
83024 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83025 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83026 if test $ac_cv_lib_m_main = yes; then
83027   cat >>confdefs.h <<_ACEOF
83028 #define HAVE_LIBM 1
83029 _ACEOF
83030
83031   LIBS="-lm $LIBS"
83032
83033 fi
83034
83035
83036 for ac_func in copysignf
83037 do
83038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83039 echo "$as_me:$LINENO: checking for $ac_func" >&5
83040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83041 if eval "test \"\${$as_ac_var+set}\" = set"; then
83042   echo $ECHO_N "(cached) $ECHO_C" >&6
83043 else
83044   if test x$gcc_no_link = xyes; then
83045   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83047    { (exit 1); exit 1; }; }
83048 fi
83049 cat >conftest.$ac_ext <<_ACEOF
83050 /* confdefs.h.  */
83051 _ACEOF
83052 cat confdefs.h >>conftest.$ac_ext
83053 cat >>conftest.$ac_ext <<_ACEOF
83054 /* end confdefs.h.  */
83055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83056    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83057 #define $ac_func innocuous_$ac_func
83058
83059 /* System header to define __stub macros and hopefully few prototypes,
83060     which can conflict with char $ac_func (); below.
83061     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83062     <limits.h> exists even on freestanding compilers.  */
83063
83064 #ifdef __STDC__
83065 # include <limits.h>
83066 #else
83067 # include <assert.h>
83068 #endif
83069
83070 #undef $ac_func
83071
83072 /* Override any gcc2 internal prototype to avoid an error.  */
83073 #ifdef __cplusplus
83074 extern "C"
83075 {
83076 #endif
83077 /* We use char because int might match the return type of a gcc2
83078    builtin and then its argument prototype would still apply.  */
83079 char $ac_func ();
83080 /* The GNU C library defines this for functions which it implements
83081     to always fail with ENOSYS.  Some functions are actually named
83082     something starting with __ and the normal name is an alias.  */
83083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83084 choke me
83085 #else
83086 char (*f) () = $ac_func;
83087 #endif
83088 #ifdef __cplusplus
83089 }
83090 #endif
83091
83092 int
83093 main ()
83094 {
83095 return f != $ac_func;
83096   ;
83097   return 0;
83098 }
83099 _ACEOF
83100 rm -f conftest.$ac_objext conftest$ac_exeext
83101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83102   (eval $ac_link) 2>conftest.er1
83103   ac_status=$?
83104   grep -v '^ *+' conftest.er1 >conftest.err
83105   rm -f conftest.er1
83106   cat conftest.err >&5
83107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83108   (exit $ac_status); } &&
83109          { ac_try='test -z "$ac_c_werror_flag"
83110                          || test ! -s conftest.err'
83111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83112   (eval $ac_try) 2>&5
83113   ac_status=$?
83114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83115   (exit $ac_status); }; } &&
83116          { ac_try='test -s conftest$ac_exeext'
83117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83118   (eval $ac_try) 2>&5
83119   ac_status=$?
83120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83121   (exit $ac_status); }; }; then
83122   eval "$as_ac_var=yes"
83123 else
83124   echo "$as_me: failed program was:" >&5
83125 sed 's/^/| /' conftest.$ac_ext >&5
83126
83127 eval "$as_ac_var=no"
83128 fi
83129 rm -f conftest.err conftest.$ac_objext \
83130       conftest$ac_exeext conftest.$ac_ext
83131 fi
83132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83134 if test `eval echo '${'$as_ac_var'}'` = yes; then
83135   cat >>confdefs.h <<_ACEOF
83136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83137 _ACEOF
83138
83139 else
83140   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83141 fi
83142 done
83143
83144
83145
83146 for ac_func in __signbit
83147 do
83148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83149 echo "$as_me:$LINENO: checking for $ac_func" >&5
83150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83151 if eval "test \"\${$as_ac_var+set}\" = set"; then
83152   echo $ECHO_N "(cached) $ECHO_C" >&6
83153 else
83154   if test x$gcc_no_link = xyes; then
83155   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83157    { (exit 1); exit 1; }; }
83158 fi
83159 cat >conftest.$ac_ext <<_ACEOF
83160 /* confdefs.h.  */
83161 _ACEOF
83162 cat confdefs.h >>conftest.$ac_ext
83163 cat >>conftest.$ac_ext <<_ACEOF
83164 /* end confdefs.h.  */
83165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83166    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83167 #define $ac_func innocuous_$ac_func
83168
83169 /* System header to define __stub macros and hopefully few prototypes,
83170     which can conflict with char $ac_func (); below.
83171     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83172     <limits.h> exists even on freestanding compilers.  */
83173
83174 #ifdef __STDC__
83175 # include <limits.h>
83176 #else
83177 # include <assert.h>
83178 #endif
83179
83180 #undef $ac_func
83181
83182 /* Override any gcc2 internal prototype to avoid an error.  */
83183 #ifdef __cplusplus
83184 extern "C"
83185 {
83186 #endif
83187 /* We use char because int might match the return type of a gcc2
83188    builtin and then its argument prototype would still apply.  */
83189 char $ac_func ();
83190 /* The GNU C library defines this for functions which it implements
83191     to always fail with ENOSYS.  Some functions are actually named
83192     something starting with __ and the normal name is an alias.  */
83193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83194 choke me
83195 #else
83196 char (*f) () = $ac_func;
83197 #endif
83198 #ifdef __cplusplus
83199 }
83200 #endif
83201
83202 int
83203 main ()
83204 {
83205 return f != $ac_func;
83206   ;
83207   return 0;
83208 }
83209 _ACEOF
83210 rm -f conftest.$ac_objext conftest$ac_exeext
83211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83212   (eval $ac_link) 2>conftest.er1
83213   ac_status=$?
83214   grep -v '^ *+' conftest.er1 >conftest.err
83215   rm -f conftest.er1
83216   cat conftest.err >&5
83217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83218   (exit $ac_status); } &&
83219          { ac_try='test -z "$ac_c_werror_flag"
83220                          || test ! -s conftest.err'
83221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83222   (eval $ac_try) 2>&5
83223   ac_status=$?
83224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83225   (exit $ac_status); }; } &&
83226          { ac_try='test -s conftest$ac_exeext'
83227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83228   (eval $ac_try) 2>&5
83229   ac_status=$?
83230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83231   (exit $ac_status); }; }; then
83232   eval "$as_ac_var=yes"
83233 else
83234   echo "$as_me: failed program was:" >&5
83235 sed 's/^/| /' conftest.$ac_ext >&5
83236
83237 eval "$as_ac_var=no"
83238 fi
83239 rm -f conftest.err conftest.$ac_objext \
83240       conftest$ac_exeext conftest.$ac_ext
83241 fi
83242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83244 if test `eval echo '${'$as_ac_var'}'` = yes; then
83245   cat >>confdefs.h <<_ACEOF
83246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83247 _ACEOF
83248
83249 else
83250   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83251 fi
83252 done
83253
83254
83255
83256 for ac_func in __signbitf
83257 do
83258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83259 echo "$as_me:$LINENO: checking for $ac_func" >&5
83260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83261 if eval "test \"\${$as_ac_var+set}\" = set"; then
83262   echo $ECHO_N "(cached) $ECHO_C" >&6
83263 else
83264   if test x$gcc_no_link = xyes; then
83265   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83267    { (exit 1); exit 1; }; }
83268 fi
83269 cat >conftest.$ac_ext <<_ACEOF
83270 /* confdefs.h.  */
83271 _ACEOF
83272 cat confdefs.h >>conftest.$ac_ext
83273 cat >>conftest.$ac_ext <<_ACEOF
83274 /* end confdefs.h.  */
83275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83276    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83277 #define $ac_func innocuous_$ac_func
83278
83279 /* System header to define __stub macros and hopefully few prototypes,
83280     which can conflict with char $ac_func (); below.
83281     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83282     <limits.h> exists even on freestanding compilers.  */
83283
83284 #ifdef __STDC__
83285 # include <limits.h>
83286 #else
83287 # include <assert.h>
83288 #endif
83289
83290 #undef $ac_func
83291
83292 /* Override any gcc2 internal prototype to avoid an error.  */
83293 #ifdef __cplusplus
83294 extern "C"
83295 {
83296 #endif
83297 /* We use char because int might match the return type of a gcc2
83298    builtin and then its argument prototype would still apply.  */
83299 char $ac_func ();
83300 /* The GNU C library defines this for functions which it implements
83301     to always fail with ENOSYS.  Some functions are actually named
83302     something starting with __ and the normal name is an alias.  */
83303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83304 choke me
83305 #else
83306 char (*f) () = $ac_func;
83307 #endif
83308 #ifdef __cplusplus
83309 }
83310 #endif
83311
83312 int
83313 main ()
83314 {
83315 return f != $ac_func;
83316   ;
83317   return 0;
83318 }
83319 _ACEOF
83320 rm -f conftest.$ac_objext conftest$ac_exeext
83321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83322   (eval $ac_link) 2>conftest.er1
83323   ac_status=$?
83324   grep -v '^ *+' conftest.er1 >conftest.err
83325   rm -f conftest.er1
83326   cat conftest.err >&5
83327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83328   (exit $ac_status); } &&
83329          { ac_try='test -z "$ac_c_werror_flag"
83330                          || test ! -s conftest.err'
83331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83332   (eval $ac_try) 2>&5
83333   ac_status=$?
83334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83335   (exit $ac_status); }; } &&
83336          { ac_try='test -s conftest$ac_exeext'
83337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83338   (eval $ac_try) 2>&5
83339   ac_status=$?
83340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83341   (exit $ac_status); }; }; then
83342   eval "$as_ac_var=yes"
83343 else
83344   echo "$as_me: failed program was:" >&5
83345 sed 's/^/| /' conftest.$ac_ext >&5
83346
83347 eval "$as_ac_var=no"
83348 fi
83349 rm -f conftest.err conftest.$ac_objext \
83350       conftest$ac_exeext conftest.$ac_ext
83351 fi
83352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83354 if test `eval echo '${'$as_ac_var'}'` = yes; then
83355   cat >>confdefs.h <<_ACEOF
83356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83357 _ACEOF
83358
83359 else
83360   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
83361 fi
83362 done
83363
83364
83365           if test x$ac_cv_func_copysignl = x"yes"; then
83366
83367 for ac_func in __signbitl
83368 do
83369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83370 echo "$as_me:$LINENO: checking for $ac_func" >&5
83371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83372 if eval "test \"\${$as_ac_var+set}\" = set"; then
83373   echo $ECHO_N "(cached) $ECHO_C" >&6
83374 else
83375   if test x$gcc_no_link = xyes; then
83376   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83378    { (exit 1); exit 1; }; }
83379 fi
83380 cat >conftest.$ac_ext <<_ACEOF
83381 /* confdefs.h.  */
83382 _ACEOF
83383 cat confdefs.h >>conftest.$ac_ext
83384 cat >>conftest.$ac_ext <<_ACEOF
83385 /* end confdefs.h.  */
83386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83387    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83388 #define $ac_func innocuous_$ac_func
83389
83390 /* System header to define __stub macros and hopefully few prototypes,
83391     which can conflict with char $ac_func (); below.
83392     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83393     <limits.h> exists even on freestanding compilers.  */
83394
83395 #ifdef __STDC__
83396 # include <limits.h>
83397 #else
83398 # include <assert.h>
83399 #endif
83400
83401 #undef $ac_func
83402
83403 /* Override any gcc2 internal prototype to avoid an error.  */
83404 #ifdef __cplusplus
83405 extern "C"
83406 {
83407 #endif
83408 /* We use char because int might match the return type of a gcc2
83409    builtin and then its argument prototype would still apply.  */
83410 char $ac_func ();
83411 /* The GNU C library defines this for functions which it implements
83412     to always fail with ENOSYS.  Some functions are actually named
83413     something starting with __ and the normal name is an alias.  */
83414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83415 choke me
83416 #else
83417 char (*f) () = $ac_func;
83418 #endif
83419 #ifdef __cplusplus
83420 }
83421 #endif
83422
83423 int
83424 main ()
83425 {
83426 return f != $ac_func;
83427   ;
83428   return 0;
83429 }
83430 _ACEOF
83431 rm -f conftest.$ac_objext conftest$ac_exeext
83432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83433   (eval $ac_link) 2>conftest.er1
83434   ac_status=$?
83435   grep -v '^ *+' conftest.er1 >conftest.err
83436   rm -f conftest.er1
83437   cat conftest.err >&5
83438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83439   (exit $ac_status); } &&
83440          { ac_try='test -z "$ac_c_werror_flag"
83441                          || test ! -s conftest.err'
83442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83443   (eval $ac_try) 2>&5
83444   ac_status=$?
83445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83446   (exit $ac_status); }; } &&
83447          { ac_try='test -s conftest$ac_exeext'
83448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83449   (eval $ac_try) 2>&5
83450   ac_status=$?
83451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83452   (exit $ac_status); }; }; then
83453   eval "$as_ac_var=yes"
83454 else
83455   echo "$as_me: failed program was:" >&5
83456 sed 's/^/| /' conftest.$ac_ext >&5
83457
83458 eval "$as_ac_var=no"
83459 fi
83460 rm -f conftest.err conftest.$ac_objext \
83461       conftest$ac_exeext conftest.$ac_ext
83462 fi
83463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83465 if test `eval echo '${'$as_ac_var'}'` = yes; then
83466   cat >>confdefs.h <<_ACEOF
83467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83468 _ACEOF
83469
83470 else
83471   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
83472 fi
83473 done
83474
83475   fi
83476
83477   # Used in libmath/Makefile.am.
83478   if test -n "$LIBMATHOBJS"; then
83479     need_libmath=yes
83480   fi
83481
83482
83483
83484   # Test wchar.h for mbstate_t, which is needed for char_traits and
83485   # others even if wchar_t support is not on.
83486   echo "$as_me:$LINENO: checking for mbstate_t" >&5
83487 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
83488   cat >conftest.$ac_ext <<_ACEOF
83489 /* confdefs.h.  */
83490 _ACEOF
83491 cat confdefs.h >>conftest.$ac_ext
83492 cat >>conftest.$ac_ext <<_ACEOF
83493 /* end confdefs.h.  */
83494 #include <wchar.h>
83495 int
83496 main ()
83497 {
83498 mbstate_t teststate;
83499   ;
83500   return 0;
83501 }
83502 _ACEOF
83503 rm -f conftest.$ac_objext
83504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83505   (eval $ac_compile) 2>conftest.er1
83506   ac_status=$?
83507   grep -v '^ *+' conftest.er1 >conftest.err
83508   rm -f conftest.er1
83509   cat conftest.err >&5
83510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83511   (exit $ac_status); } &&
83512          { ac_try='test -z "$ac_c_werror_flag"
83513                          || test ! -s conftest.err'
83514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83515   (eval $ac_try) 2>&5
83516   ac_status=$?
83517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83518   (exit $ac_status); }; } &&
83519          { ac_try='test -s conftest.$ac_objext'
83520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83521   (eval $ac_try) 2>&5
83522   ac_status=$?
83523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83524   (exit $ac_status); }; }; then
83525   have_mbstate_t=yes
83526 else
83527   echo "$as_me: failed program was:" >&5
83528 sed 's/^/| /' conftest.$ac_ext >&5
83529
83530 have_mbstate_t=no
83531 fi
83532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83533   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
83534 echo "${ECHO_T}$have_mbstate_t" >&6
83535   if test x"$have_mbstate_t" = xyes; then
83536     cat >>confdefs.h <<\_ACEOF
83537 #define HAVE_MBSTATE_T 1
83538 _ACEOF
83539
83540   fi
83541
83542   # Sanity check for existence of ISO C99 headers for extended encoding.
83543
83544 for ac_header in wchar.h
83545 do
83546 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83548   echo "$as_me:$LINENO: checking for $ac_header" >&5
83549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83550 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83551   echo $ECHO_N "(cached) $ECHO_C" >&6
83552 fi
83553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83554 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83555 else
83556   # Is the header compilable?
83557 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83558 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83559 cat >conftest.$ac_ext <<_ACEOF
83560 /* confdefs.h.  */
83561 _ACEOF
83562 cat confdefs.h >>conftest.$ac_ext
83563 cat >>conftest.$ac_ext <<_ACEOF
83564 /* end confdefs.h.  */
83565 $ac_includes_default
83566 #include <$ac_header>
83567 _ACEOF
83568 rm -f conftest.$ac_objext
83569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83570   (eval $ac_compile) 2>conftest.er1
83571   ac_status=$?
83572   grep -v '^ *+' conftest.er1 >conftest.err
83573   rm -f conftest.er1
83574   cat conftest.err >&5
83575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83576   (exit $ac_status); } &&
83577          { ac_try='test -z "$ac_c_werror_flag"
83578                          || test ! -s conftest.err'
83579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83580   (eval $ac_try) 2>&5
83581   ac_status=$?
83582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83583   (exit $ac_status); }; } &&
83584          { ac_try='test -s conftest.$ac_objext'
83585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83586   (eval $ac_try) 2>&5
83587   ac_status=$?
83588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83589   (exit $ac_status); }; }; then
83590   ac_header_compiler=yes
83591 else
83592   echo "$as_me: failed program was:" >&5
83593 sed 's/^/| /' conftest.$ac_ext >&5
83594
83595 ac_header_compiler=no
83596 fi
83597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83598 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83599 echo "${ECHO_T}$ac_header_compiler" >&6
83600
83601 # Is the header present?
83602 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83603 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83604 cat >conftest.$ac_ext <<_ACEOF
83605 /* confdefs.h.  */
83606 _ACEOF
83607 cat confdefs.h >>conftest.$ac_ext
83608 cat >>conftest.$ac_ext <<_ACEOF
83609 /* end confdefs.h.  */
83610 #include <$ac_header>
83611 _ACEOF
83612 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83613   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83614   ac_status=$?
83615   grep -v '^ *+' conftest.er1 >conftest.err
83616   rm -f conftest.er1
83617   cat conftest.err >&5
83618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83619   (exit $ac_status); } >/dev/null; then
83620   if test -s conftest.err; then
83621     ac_cpp_err=$ac_c_preproc_warn_flag
83622     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83623   else
83624     ac_cpp_err=
83625   fi
83626 else
83627   ac_cpp_err=yes
83628 fi
83629 if test -z "$ac_cpp_err"; then
83630   ac_header_preproc=yes
83631 else
83632   echo "$as_me: failed program was:" >&5
83633 sed 's/^/| /' conftest.$ac_ext >&5
83634
83635   ac_header_preproc=no
83636 fi
83637 rm -f conftest.err conftest.$ac_ext
83638 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83639 echo "${ECHO_T}$ac_header_preproc" >&6
83640
83641 # So?  What about this header?
83642 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83643   yes:no: )
83644     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83645 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83646     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83647 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83648     ac_header_preproc=yes
83649     ;;
83650   no:yes:* )
83651     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83652 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83653     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
83654 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
83655     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83656 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83657     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
83658 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
83659     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83660 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83661     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83662 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83663     (
83664       cat <<\_ASBOX
83665 ## ----------------------------------------- ##
83666 ## Report this to the package-unused lists.  ##
83667 ## ----------------------------------------- ##
83668 _ASBOX
83669     ) |
83670       sed "s/^/$as_me: WARNING:     /" >&2
83671     ;;
83672 esac
83673 echo "$as_me:$LINENO: checking for $ac_header" >&5
83674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83675 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83676   echo $ECHO_N "(cached) $ECHO_C" >&6
83677 else
83678   eval "$as_ac_Header=\$ac_header_preproc"
83679 fi
83680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83681 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83682
83683 fi
83684 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83685   cat >>confdefs.h <<_ACEOF
83686 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83687 _ACEOF
83688  ac_has_wchar_h=yes
83689 else
83690   ac_has_wchar_h=no
83691 fi
83692
83693 done
83694
83695
83696 for ac_header in wctype.h
83697 do
83698 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83700   echo "$as_me:$LINENO: checking for $ac_header" >&5
83701 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83702 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83703   echo $ECHO_N "(cached) $ECHO_C" >&6
83704 fi
83705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83706 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83707 else
83708   # Is the header compilable?
83709 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83710 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83711 cat >conftest.$ac_ext <<_ACEOF
83712 /* confdefs.h.  */
83713 _ACEOF
83714 cat confdefs.h >>conftest.$ac_ext
83715 cat >>conftest.$ac_ext <<_ACEOF
83716 /* end confdefs.h.  */
83717 $ac_includes_default
83718 #include <$ac_header>
83719 _ACEOF
83720 rm -f conftest.$ac_objext
83721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83722   (eval $ac_compile) 2>conftest.er1
83723   ac_status=$?
83724   grep -v '^ *+' conftest.er1 >conftest.err
83725   rm -f conftest.er1
83726   cat conftest.err >&5
83727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83728   (exit $ac_status); } &&
83729          { ac_try='test -z "$ac_c_werror_flag"
83730                          || test ! -s conftest.err'
83731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83732   (eval $ac_try) 2>&5
83733   ac_status=$?
83734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83735   (exit $ac_status); }; } &&
83736          { ac_try='test -s conftest.$ac_objext'
83737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83738   (eval $ac_try) 2>&5
83739   ac_status=$?
83740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83741   (exit $ac_status); }; }; then
83742   ac_header_compiler=yes
83743 else
83744   echo "$as_me: failed program was:" >&5
83745 sed 's/^/| /' conftest.$ac_ext >&5
83746
83747 ac_header_compiler=no
83748 fi
83749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83750 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83751 echo "${ECHO_T}$ac_header_compiler" >&6
83752
83753 # Is the header present?
83754 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83755 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83756 cat >conftest.$ac_ext <<_ACEOF
83757 /* confdefs.h.  */
83758 _ACEOF
83759 cat confdefs.h >>conftest.$ac_ext
83760 cat >>conftest.$ac_ext <<_ACEOF
83761 /* end confdefs.h.  */
83762 #include <$ac_header>
83763 _ACEOF
83764 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83765   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83766   ac_status=$?
83767   grep -v '^ *+' conftest.er1 >conftest.err
83768   rm -f conftest.er1
83769   cat conftest.err >&5
83770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83771   (exit $ac_status); } >/dev/null; then
83772   if test -s conftest.err; then
83773     ac_cpp_err=$ac_c_preproc_warn_flag
83774     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83775   else
83776     ac_cpp_err=
83777   fi
83778 else
83779   ac_cpp_err=yes
83780 fi
83781 if test -z "$ac_cpp_err"; then
83782   ac_header_preproc=yes
83783 else
83784   echo "$as_me: failed program was:" >&5
83785 sed 's/^/| /' conftest.$ac_ext >&5
83786
83787   ac_header_preproc=no
83788 fi
83789 rm -f conftest.err conftest.$ac_ext
83790 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83791 echo "${ECHO_T}$ac_header_preproc" >&6
83792
83793 # So?  What about this header?
83794 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83795   yes:no: )
83796     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83797 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83798     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83799 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83800     ac_header_preproc=yes
83801     ;;
83802   no:yes:* )
83803     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83804 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83805     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
83806 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
83807     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83808 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83809     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
83810 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
83811     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83812 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83813     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83814 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83815     (
83816       cat <<\_ASBOX
83817 ## ----------------------------------------- ##
83818 ## Report this to the package-unused lists.  ##
83819 ## ----------------------------------------- ##
83820 _ASBOX
83821     ) |
83822       sed "s/^/$as_me: WARNING:     /" >&2
83823     ;;
83824 esac
83825 echo "$as_me:$LINENO: checking for $ac_header" >&5
83826 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83827 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83828   echo $ECHO_N "(cached) $ECHO_C" >&6
83829 else
83830   eval "$as_ac_Header=\$ac_header_preproc"
83831 fi
83832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83833 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83834
83835 fi
83836 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83837   cat >>confdefs.h <<_ACEOF
83838 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83839 _ACEOF
83840  ac_has_wctype_h=yes
83841 else
83842   ac_has_wctype_h=no
83843 fi
83844
83845 done
83846
83847
83848   # Only continue checking if the ISO C99 headers exist and support is on.
83849   if test x"$ac_has_wchar_h" = xyes &&
83850      test x"$ac_has_wctype_h" = xyes &&
83851      test x"$enable_c_mbchar" != xno; then
83852
83853     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
83854     # numeric_limits can instantiate type_traits<wchar_t>
83855     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
83856 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
83857     cat >conftest.$ac_ext <<_ACEOF
83858 /* confdefs.h.  */
83859 _ACEOF
83860 cat confdefs.h >>conftest.$ac_ext
83861 cat >>conftest.$ac_ext <<_ACEOF
83862 /* end confdefs.h.  */
83863 #include <wchar.h>
83864 int
83865 main ()
83866 {
83867 int i = WCHAR_MIN; int j = WCHAR_MAX;
83868   ;
83869   return 0;
83870 }
83871 _ACEOF
83872 rm -f conftest.$ac_objext
83873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83874   (eval $ac_compile) 2>conftest.er1
83875   ac_status=$?
83876   grep -v '^ *+' conftest.er1 >conftest.err
83877   rm -f conftest.er1
83878   cat conftest.err >&5
83879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83880   (exit $ac_status); } &&
83881          { ac_try='test -z "$ac_c_werror_flag"
83882                          || test ! -s conftest.err'
83883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83884   (eval $ac_try) 2>&5
83885   ac_status=$?
83886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83887   (exit $ac_status); }; } &&
83888          { ac_try='test -s conftest.$ac_objext'
83889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83890   (eval $ac_try) 2>&5
83891   ac_status=$?
83892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83893   (exit $ac_status); }; }; then
83894   has_wchar_minmax=yes
83895 else
83896   echo "$as_me: failed program was:" >&5
83897 sed 's/^/| /' conftest.$ac_ext >&5
83898
83899 has_wchar_minmax=no
83900 fi
83901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83902     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
83903 echo "${ECHO_T}$has_wchar_minmax" >&6
83904
83905     # Test wchar.h for WEOF, which is what we use to determine whether
83906     # to specialize for char_traits<wchar_t> or not.
83907     echo "$as_me:$LINENO: checking for WEOF" >&5
83908 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
83909     cat >conftest.$ac_ext <<_ACEOF
83910 /* confdefs.h.  */
83911 _ACEOF
83912 cat confdefs.h >>conftest.$ac_ext
83913 cat >>conftest.$ac_ext <<_ACEOF
83914 /* end confdefs.h.  */
83915
83916       #include <wchar.h>
83917       #include <stddef.h>
83918 int
83919 main ()
83920 {
83921 wint_t i = WEOF;
83922   ;
83923   return 0;
83924 }
83925 _ACEOF
83926 rm -f conftest.$ac_objext
83927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83928   (eval $ac_compile) 2>conftest.er1
83929   ac_status=$?
83930   grep -v '^ *+' conftest.er1 >conftest.err
83931   rm -f conftest.er1
83932   cat conftest.err >&5
83933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83934   (exit $ac_status); } &&
83935          { ac_try='test -z "$ac_c_werror_flag"
83936                          || test ! -s conftest.err'
83937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83938   (eval $ac_try) 2>&5
83939   ac_status=$?
83940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83941   (exit $ac_status); }; } &&
83942          { ac_try='test -s conftest.$ac_objext'
83943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83944   (eval $ac_try) 2>&5
83945   ac_status=$?
83946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83947   (exit $ac_status); }; }; then
83948   has_weof=yes
83949 else
83950   echo "$as_me: failed program was:" >&5
83951 sed 's/^/| /' conftest.$ac_ext >&5
83952
83953 has_weof=no
83954 fi
83955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83956     echo "$as_me:$LINENO: result: $has_weof" >&5
83957 echo "${ECHO_T}$has_weof" >&6
83958
83959     # Tests for wide character functions used in char_traits<wchar_t>.
83960     ac_wfuncs=yes
83961
83962
83963
83964
83965
83966
83967 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
83968 do
83969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83970 echo "$as_me:$LINENO: checking for $ac_func" >&5
83971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83972 if eval "test \"\${$as_ac_var+set}\" = set"; then
83973   echo $ECHO_N "(cached) $ECHO_C" >&6
83974 else
83975   if test x$gcc_no_link = xyes; then
83976   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83978    { (exit 1); exit 1; }; }
83979 fi
83980 cat >conftest.$ac_ext <<_ACEOF
83981 /* confdefs.h.  */
83982 _ACEOF
83983 cat confdefs.h >>conftest.$ac_ext
83984 cat >>conftest.$ac_ext <<_ACEOF
83985 /* end confdefs.h.  */
83986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83987    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83988 #define $ac_func innocuous_$ac_func
83989
83990 /* System header to define __stub macros and hopefully few prototypes,
83991     which can conflict with char $ac_func (); below.
83992     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83993     <limits.h> exists even on freestanding compilers.  */
83994
83995 #ifdef __STDC__
83996 # include <limits.h>
83997 #else
83998 # include <assert.h>
83999 #endif
84000
84001 #undef $ac_func
84002
84003 /* Override any gcc2 internal prototype to avoid an error.  */
84004 #ifdef __cplusplus
84005 extern "C"
84006 {
84007 #endif
84008 /* We use char because int might match the return type of a gcc2
84009    builtin and then its argument prototype would still apply.  */
84010 char $ac_func ();
84011 /* The GNU C library defines this for functions which it implements
84012     to always fail with ENOSYS.  Some functions are actually named
84013     something starting with __ and the normal name is an alias.  */
84014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84015 choke me
84016 #else
84017 char (*f) () = $ac_func;
84018 #endif
84019 #ifdef __cplusplus
84020 }
84021 #endif
84022
84023 int
84024 main ()
84025 {
84026 return f != $ac_func;
84027   ;
84028   return 0;
84029 }
84030 _ACEOF
84031 rm -f conftest.$ac_objext conftest$ac_exeext
84032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84033   (eval $ac_link) 2>conftest.er1
84034   ac_status=$?
84035   grep -v '^ *+' conftest.er1 >conftest.err
84036   rm -f conftest.er1
84037   cat conftest.err >&5
84038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84039   (exit $ac_status); } &&
84040          { ac_try='test -z "$ac_c_werror_flag"
84041                          || test ! -s conftest.err'
84042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84043   (eval $ac_try) 2>&5
84044   ac_status=$?
84045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84046   (exit $ac_status); }; } &&
84047          { ac_try='test -s conftest$ac_exeext'
84048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84049   (eval $ac_try) 2>&5
84050   ac_status=$?
84051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84052   (exit $ac_status); }; }; then
84053   eval "$as_ac_var=yes"
84054 else
84055   echo "$as_me: failed program was:" >&5
84056 sed 's/^/| /' conftest.$ac_ext >&5
84057
84058 eval "$as_ac_var=no"
84059 fi
84060 rm -f conftest.err conftest.$ac_objext \
84061       conftest$ac_exeext conftest.$ac_ext
84062 fi
84063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84065 if test `eval echo '${'$as_ac_var'}'` = yes; then
84066   cat >>confdefs.h <<_ACEOF
84067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84068 _ACEOF
84069
84070 else
84071   ac_wfuncs=no
84072 fi
84073 done
84074
84075
84076     # Checks for names injected into std:: by the c_std headers.
84077
84078
84079
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 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
84124     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
84125     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
84126     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
84127     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
84128     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
84129 do
84130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84131 echo "$as_me:$LINENO: checking for $ac_func" >&5
84132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84133 if eval "test \"\${$as_ac_var+set}\" = set"; then
84134   echo $ECHO_N "(cached) $ECHO_C" >&6
84135 else
84136   if test x$gcc_no_link = xyes; then
84137   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84139    { (exit 1); exit 1; }; }
84140 fi
84141 cat >conftest.$ac_ext <<_ACEOF
84142 /* confdefs.h.  */
84143 _ACEOF
84144 cat confdefs.h >>conftest.$ac_ext
84145 cat >>conftest.$ac_ext <<_ACEOF
84146 /* end confdefs.h.  */
84147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84148    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84149 #define $ac_func innocuous_$ac_func
84150
84151 /* System header to define __stub macros and hopefully few prototypes,
84152     which can conflict with char $ac_func (); below.
84153     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84154     <limits.h> exists even on freestanding compilers.  */
84155
84156 #ifdef __STDC__
84157 # include <limits.h>
84158 #else
84159 # include <assert.h>
84160 #endif
84161
84162 #undef $ac_func
84163
84164 /* Override any gcc2 internal prototype to avoid an error.  */
84165 #ifdef __cplusplus
84166 extern "C"
84167 {
84168 #endif
84169 /* We use char because int might match the return type of a gcc2
84170    builtin and then its argument prototype would still apply.  */
84171 char $ac_func ();
84172 /* The GNU C library defines this for functions which it implements
84173     to always fail with ENOSYS.  Some functions are actually named
84174     something starting with __ and the normal name is an alias.  */
84175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84176 choke me
84177 #else
84178 char (*f) () = $ac_func;
84179 #endif
84180 #ifdef __cplusplus
84181 }
84182 #endif
84183
84184 int
84185 main ()
84186 {
84187 return f != $ac_func;
84188   ;
84189   return 0;
84190 }
84191 _ACEOF
84192 rm -f conftest.$ac_objext conftest$ac_exeext
84193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84194   (eval $ac_link) 2>conftest.er1
84195   ac_status=$?
84196   grep -v '^ *+' conftest.er1 >conftest.err
84197   rm -f conftest.er1
84198   cat conftest.err >&5
84199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84200   (exit $ac_status); } &&
84201          { ac_try='test -z "$ac_c_werror_flag"
84202                          || test ! -s conftest.err'
84203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84204   (eval $ac_try) 2>&5
84205   ac_status=$?
84206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84207   (exit $ac_status); }; } &&
84208          { ac_try='test -s conftest$ac_exeext'
84209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84210   (eval $ac_try) 2>&5
84211   ac_status=$?
84212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84213   (exit $ac_status); }; }; then
84214   eval "$as_ac_var=yes"
84215 else
84216   echo "$as_me: failed program was:" >&5
84217 sed 's/^/| /' conftest.$ac_ext >&5
84218
84219 eval "$as_ac_var=no"
84220 fi
84221 rm -f conftest.err conftest.$ac_objext \
84222       conftest$ac_exeext conftest.$ac_ext
84223 fi
84224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84226 if test `eval echo '${'$as_ac_var'}'` = yes; then
84227   cat >>confdefs.h <<_ACEOF
84228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84229 _ACEOF
84230
84231 else
84232   ac_wfuncs=no
84233 fi
84234 done
84235
84236
84237     # Checks for wide character functions that are not required
84238     # for basic wchar_t support.  Don't disable support if they are missing.
84239     # Injection of these is wrapped with guard macros.
84240
84241
84242
84243
84244
84245 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
84246 do
84247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84248 echo "$as_me:$LINENO: checking for $ac_func" >&5
84249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84250 if eval "test \"\${$as_ac_var+set}\" = set"; then
84251   echo $ECHO_N "(cached) $ECHO_C" >&6
84252 else
84253   if test x$gcc_no_link = xyes; then
84254   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84256    { (exit 1); exit 1; }; }
84257 fi
84258 cat >conftest.$ac_ext <<_ACEOF
84259 /* confdefs.h.  */
84260 _ACEOF
84261 cat confdefs.h >>conftest.$ac_ext
84262 cat >>conftest.$ac_ext <<_ACEOF
84263 /* end confdefs.h.  */
84264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84265    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84266 #define $ac_func innocuous_$ac_func
84267
84268 /* System header to define __stub macros and hopefully few prototypes,
84269     which can conflict with char $ac_func (); below.
84270     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84271     <limits.h> exists even on freestanding compilers.  */
84272
84273 #ifdef __STDC__
84274 # include <limits.h>
84275 #else
84276 # include <assert.h>
84277 #endif
84278
84279 #undef $ac_func
84280
84281 /* Override any gcc2 internal prototype to avoid an error.  */
84282 #ifdef __cplusplus
84283 extern "C"
84284 {
84285 #endif
84286 /* We use char because int might match the return type of a gcc2
84287    builtin and then its argument prototype would still apply.  */
84288 char $ac_func ();
84289 /* The GNU C library defines this for functions which it implements
84290     to always fail with ENOSYS.  Some functions are actually named
84291     something starting with __ and the normal name is an alias.  */
84292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84293 choke me
84294 #else
84295 char (*f) () = $ac_func;
84296 #endif
84297 #ifdef __cplusplus
84298 }
84299 #endif
84300
84301 int
84302 main ()
84303 {
84304 return f != $ac_func;
84305   ;
84306   return 0;
84307 }
84308 _ACEOF
84309 rm -f conftest.$ac_objext conftest$ac_exeext
84310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84311   (eval $ac_link) 2>conftest.er1
84312   ac_status=$?
84313   grep -v '^ *+' conftest.er1 >conftest.err
84314   rm -f conftest.er1
84315   cat conftest.err >&5
84316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84317   (exit $ac_status); } &&
84318          { ac_try='test -z "$ac_c_werror_flag"
84319                          || test ! -s conftest.err'
84320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84321   (eval $ac_try) 2>&5
84322   ac_status=$?
84323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84324   (exit $ac_status); }; } &&
84325          { ac_try='test -s conftest$ac_exeext'
84326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84327   (eval $ac_try) 2>&5
84328   ac_status=$?
84329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84330   (exit $ac_status); }; }; then
84331   eval "$as_ac_var=yes"
84332 else
84333   echo "$as_me: failed program was:" >&5
84334 sed 's/^/| /' conftest.$ac_ext >&5
84335
84336 eval "$as_ac_var=no"
84337 fi
84338 rm -f conftest.err conftest.$ac_objext \
84339       conftest$ac_exeext conftest.$ac_ext
84340 fi
84341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84343 if test `eval echo '${'$as_ac_var'}'` = yes; then
84344   cat >>confdefs.h <<_ACEOF
84345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84346 _ACEOF
84347
84348 fi
84349 done
84350
84351
84352     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
84353 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
84354     if test x"$has_weof" = xyes &&
84355        test x"$has_wchar_minmax" = xyes &&
84356        test x"$ac_wfuncs" = xyes;
84357     then
84358       ac_isoC99_wchar_t=yes
84359     else
84360       ac_isoC99_wchar_t=no
84361     fi
84362     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
84363 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
84364
84365     # Use iconv for wchar_t to char conversions. As such, check for
84366     # X/Open Portability Guide, version 2 features (XPG2).
84367     if test "${ac_cv_header_iconv_h+set}" = set; then
84368   echo "$as_me:$LINENO: checking for iconv.h" >&5
84369 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84370 if test "${ac_cv_header_iconv_h+set}" = set; then
84371   echo $ECHO_N "(cached) $ECHO_C" >&6
84372 fi
84373 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84374 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84375 else
84376   # Is the header compilable?
84377 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84378 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84379 cat >conftest.$ac_ext <<_ACEOF
84380 /* confdefs.h.  */
84381 _ACEOF
84382 cat confdefs.h >>conftest.$ac_ext
84383 cat >>conftest.$ac_ext <<_ACEOF
84384 /* end confdefs.h.  */
84385 $ac_includes_default
84386 #include <iconv.h>
84387 _ACEOF
84388 rm -f conftest.$ac_objext
84389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84390   (eval $ac_compile) 2>conftest.er1
84391   ac_status=$?
84392   grep -v '^ *+' conftest.er1 >conftest.err
84393   rm -f conftest.er1
84394   cat conftest.err >&5
84395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84396   (exit $ac_status); } &&
84397          { ac_try='test -z "$ac_c_werror_flag"
84398                          || test ! -s conftest.err'
84399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84400   (eval $ac_try) 2>&5
84401   ac_status=$?
84402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84403   (exit $ac_status); }; } &&
84404          { ac_try='test -s conftest.$ac_objext'
84405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84406   (eval $ac_try) 2>&5
84407   ac_status=$?
84408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84409   (exit $ac_status); }; }; then
84410   ac_header_compiler=yes
84411 else
84412   echo "$as_me: failed program was:" >&5
84413 sed 's/^/| /' conftest.$ac_ext >&5
84414
84415 ac_header_compiler=no
84416 fi
84417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84418 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84419 echo "${ECHO_T}$ac_header_compiler" >&6
84420
84421 # Is the header present?
84422 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84423 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84424 cat >conftest.$ac_ext <<_ACEOF
84425 /* confdefs.h.  */
84426 _ACEOF
84427 cat confdefs.h >>conftest.$ac_ext
84428 cat >>conftest.$ac_ext <<_ACEOF
84429 /* end confdefs.h.  */
84430 #include <iconv.h>
84431 _ACEOF
84432 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84433   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84434   ac_status=$?
84435   grep -v '^ *+' conftest.er1 >conftest.err
84436   rm -f conftest.er1
84437   cat conftest.err >&5
84438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84439   (exit $ac_status); } >/dev/null; then
84440   if test -s conftest.err; then
84441     ac_cpp_err=$ac_c_preproc_warn_flag
84442     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84443   else
84444     ac_cpp_err=
84445   fi
84446 else
84447   ac_cpp_err=yes
84448 fi
84449 if test -z "$ac_cpp_err"; then
84450   ac_header_preproc=yes
84451 else
84452   echo "$as_me: failed program was:" >&5
84453 sed 's/^/| /' conftest.$ac_ext >&5
84454
84455   ac_header_preproc=no
84456 fi
84457 rm -f conftest.err conftest.$ac_ext
84458 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84459 echo "${ECHO_T}$ac_header_preproc" >&6
84460
84461 # So?  What about this header?
84462 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84463   yes:no: )
84464     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84465 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84466     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84467 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84468     ac_header_preproc=yes
84469     ;;
84470   no:yes:* )
84471     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84472 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84473     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
84474 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
84475     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84476 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84477     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
84478 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
84479     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84480 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84481     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84482 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84483     (
84484       cat <<\_ASBOX
84485 ## ----------------------------------------- ##
84486 ## Report this to the package-unused lists.  ##
84487 ## ----------------------------------------- ##
84488 _ASBOX
84489     ) |
84490       sed "s/^/$as_me: WARNING:     /" >&2
84491     ;;
84492 esac
84493 echo "$as_me:$LINENO: checking for iconv.h" >&5
84494 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84495 if test "${ac_cv_header_iconv_h+set}" = set; then
84496   echo $ECHO_N "(cached) $ECHO_C" >&6
84497 else
84498   ac_cv_header_iconv_h=$ac_header_preproc
84499 fi
84500 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84501 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84502
84503 fi
84504 if test $ac_cv_header_iconv_h = yes; then
84505   ac_has_iconv_h=yes
84506 else
84507   ac_has_iconv_h=no
84508 fi
84509
84510
84511     if test "${ac_cv_header_langinfo_h+set}" = set; then
84512   echo "$as_me:$LINENO: checking for langinfo.h" >&5
84513 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84514 if test "${ac_cv_header_langinfo_h+set}" = set; then
84515   echo $ECHO_N "(cached) $ECHO_C" >&6
84516 fi
84517 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84518 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84519 else
84520   # Is the header compilable?
84521 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84522 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84523 cat >conftest.$ac_ext <<_ACEOF
84524 /* confdefs.h.  */
84525 _ACEOF
84526 cat confdefs.h >>conftest.$ac_ext
84527 cat >>conftest.$ac_ext <<_ACEOF
84528 /* end confdefs.h.  */
84529 $ac_includes_default
84530 #include <langinfo.h>
84531 _ACEOF
84532 rm -f conftest.$ac_objext
84533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84534   (eval $ac_compile) 2>conftest.er1
84535   ac_status=$?
84536   grep -v '^ *+' conftest.er1 >conftest.err
84537   rm -f conftest.er1
84538   cat conftest.err >&5
84539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84540   (exit $ac_status); } &&
84541          { ac_try='test -z "$ac_c_werror_flag"
84542                          || test ! -s conftest.err'
84543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84544   (eval $ac_try) 2>&5
84545   ac_status=$?
84546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84547   (exit $ac_status); }; } &&
84548          { ac_try='test -s conftest.$ac_objext'
84549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84550   (eval $ac_try) 2>&5
84551   ac_status=$?
84552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84553   (exit $ac_status); }; }; then
84554   ac_header_compiler=yes
84555 else
84556   echo "$as_me: failed program was:" >&5
84557 sed 's/^/| /' conftest.$ac_ext >&5
84558
84559 ac_header_compiler=no
84560 fi
84561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84562 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84563 echo "${ECHO_T}$ac_header_compiler" >&6
84564
84565 # Is the header present?
84566 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84567 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84568 cat >conftest.$ac_ext <<_ACEOF
84569 /* confdefs.h.  */
84570 _ACEOF
84571 cat confdefs.h >>conftest.$ac_ext
84572 cat >>conftest.$ac_ext <<_ACEOF
84573 /* end confdefs.h.  */
84574 #include <langinfo.h>
84575 _ACEOF
84576 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84577   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84578   ac_status=$?
84579   grep -v '^ *+' conftest.er1 >conftest.err
84580   rm -f conftest.er1
84581   cat conftest.err >&5
84582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84583   (exit $ac_status); } >/dev/null; then
84584   if test -s conftest.err; then
84585     ac_cpp_err=$ac_c_preproc_warn_flag
84586     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84587   else
84588     ac_cpp_err=
84589   fi
84590 else
84591   ac_cpp_err=yes
84592 fi
84593 if test -z "$ac_cpp_err"; then
84594   ac_header_preproc=yes
84595 else
84596   echo "$as_me: failed program was:" >&5
84597 sed 's/^/| /' conftest.$ac_ext >&5
84598
84599   ac_header_preproc=no
84600 fi
84601 rm -f conftest.err conftest.$ac_ext
84602 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84603 echo "${ECHO_T}$ac_header_preproc" >&6
84604
84605 # So?  What about this header?
84606 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84607   yes:no: )
84608     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84609 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84610     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84611 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84612     ac_header_preproc=yes
84613     ;;
84614   no:yes:* )
84615     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84616 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84617     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
84618 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
84619     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84620 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84621     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
84622 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
84623     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84624 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84625     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
84626 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
84627     (
84628       cat <<\_ASBOX
84629 ## ----------------------------------------- ##
84630 ## Report this to the package-unused lists.  ##
84631 ## ----------------------------------------- ##
84632 _ASBOX
84633     ) |
84634       sed "s/^/$as_me: WARNING:     /" >&2
84635     ;;
84636 esac
84637 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84638 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84639 if test "${ac_cv_header_langinfo_h+set}" = set; then
84640   echo $ECHO_N "(cached) $ECHO_C" >&6
84641 else
84642   ac_cv_header_langinfo_h=$ac_header_preproc
84643 fi
84644 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84645 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84646
84647 fi
84648 if test $ac_cv_header_langinfo_h = yes; then
84649   ac_has_langinfo_h=yes
84650 else
84651   ac_has_langinfo_h=no
84652 fi
84653
84654
84655
84656     # Check for existence of libiconv.a providing XPG2 wchar_t support.
84657     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
84658 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
84659 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
84660   echo $ECHO_N "(cached) $ECHO_C" >&6
84661 else
84662   ac_check_lib_save_LIBS=$LIBS
84663 LIBS="-liconv  $LIBS"
84664 if test x$gcc_no_link = xyes; then
84665   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84667    { (exit 1); exit 1; }; }
84668 fi
84669 cat >conftest.$ac_ext <<_ACEOF
84670 /* confdefs.h.  */
84671 _ACEOF
84672 cat confdefs.h >>conftest.$ac_ext
84673 cat >>conftest.$ac_ext <<_ACEOF
84674 /* end confdefs.h.  */
84675
84676 /* Override any gcc2 internal prototype to avoid an error.  */
84677 #ifdef __cplusplus
84678 extern "C"
84679 #endif
84680 /* We use char because int might match the return type of a gcc2
84681    builtin and then its argument prototype would still apply.  */
84682 char iconv ();
84683 int
84684 main ()
84685 {
84686 iconv ();
84687   ;
84688   return 0;
84689 }
84690 _ACEOF
84691 rm -f conftest.$ac_objext conftest$ac_exeext
84692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84693   (eval $ac_link) 2>conftest.er1
84694   ac_status=$?
84695   grep -v '^ *+' conftest.er1 >conftest.err
84696   rm -f conftest.er1
84697   cat conftest.err >&5
84698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84699   (exit $ac_status); } &&
84700          { ac_try='test -z "$ac_c_werror_flag"
84701                          || test ! -s conftest.err'
84702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84703   (eval $ac_try) 2>&5
84704   ac_status=$?
84705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84706   (exit $ac_status); }; } &&
84707          { ac_try='test -s conftest$ac_exeext'
84708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84709   (eval $ac_try) 2>&5
84710   ac_status=$?
84711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84712   (exit $ac_status); }; }; then
84713   ac_cv_lib_iconv_iconv=yes
84714 else
84715   echo "$as_me: failed program was:" >&5
84716 sed 's/^/| /' conftest.$ac_ext >&5
84717
84718 ac_cv_lib_iconv_iconv=no
84719 fi
84720 rm -f conftest.err conftest.$ac_objext \
84721       conftest$ac_exeext conftest.$ac_ext
84722 LIBS=$ac_check_lib_save_LIBS
84723 fi
84724 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
84725 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
84726 if test $ac_cv_lib_iconv_iconv = yes; then
84727   LIBICONV="-liconv"
84728 fi
84729
84730     ac_save_LIBS="$LIBS"
84731     LIBS="$LIBS $LIBICONV"
84732
84733
84734
84735
84736
84737
84738 for ac_func in iconv_open iconv_close iconv nl_langinfo
84739 do
84740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84741 echo "$as_me:$LINENO: checking for $ac_func" >&5
84742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84743 if eval "test \"\${$as_ac_var+set}\" = set"; then
84744   echo $ECHO_N "(cached) $ECHO_C" >&6
84745 else
84746   if test x$gcc_no_link = xyes; then
84747   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84749    { (exit 1); exit 1; }; }
84750 fi
84751 cat >conftest.$ac_ext <<_ACEOF
84752 /* confdefs.h.  */
84753 _ACEOF
84754 cat confdefs.h >>conftest.$ac_ext
84755 cat >>conftest.$ac_ext <<_ACEOF
84756 /* end confdefs.h.  */
84757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84758    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84759 #define $ac_func innocuous_$ac_func
84760
84761 /* System header to define __stub macros and hopefully few prototypes,
84762     which can conflict with char $ac_func (); below.
84763     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84764     <limits.h> exists even on freestanding compilers.  */
84765
84766 #ifdef __STDC__
84767 # include <limits.h>
84768 #else
84769 # include <assert.h>
84770 #endif
84771
84772 #undef $ac_func
84773
84774 /* Override any gcc2 internal prototype to avoid an error.  */
84775 #ifdef __cplusplus
84776 extern "C"
84777 {
84778 #endif
84779 /* We use char because int might match the return type of a gcc2
84780    builtin and then its argument prototype would still apply.  */
84781 char $ac_func ();
84782 /* The GNU C library defines this for functions which it implements
84783     to always fail with ENOSYS.  Some functions are actually named
84784     something starting with __ and the normal name is an alias.  */
84785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84786 choke me
84787 #else
84788 char (*f) () = $ac_func;
84789 #endif
84790 #ifdef __cplusplus
84791 }
84792 #endif
84793
84794 int
84795 main ()
84796 {
84797 return f != $ac_func;
84798   ;
84799   return 0;
84800 }
84801 _ACEOF
84802 rm -f conftest.$ac_objext conftest$ac_exeext
84803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84804   (eval $ac_link) 2>conftest.er1
84805   ac_status=$?
84806   grep -v '^ *+' conftest.er1 >conftest.err
84807   rm -f conftest.er1
84808   cat conftest.err >&5
84809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84810   (exit $ac_status); } &&
84811          { ac_try='test -z "$ac_c_werror_flag"
84812                          || test ! -s conftest.err'
84813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84814   (eval $ac_try) 2>&5
84815   ac_status=$?
84816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84817   (exit $ac_status); }; } &&
84818          { ac_try='test -s conftest$ac_exeext'
84819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84820   (eval $ac_try) 2>&5
84821   ac_status=$?
84822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84823   (exit $ac_status); }; }; then
84824   eval "$as_ac_var=yes"
84825 else
84826   echo "$as_me: failed program was:" >&5
84827 sed 's/^/| /' conftest.$ac_ext >&5
84828
84829 eval "$as_ac_var=no"
84830 fi
84831 rm -f conftest.err conftest.$ac_objext \
84832       conftest$ac_exeext conftest.$ac_ext
84833 fi
84834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84836 if test `eval echo '${'$as_ac_var'}'` = yes; then
84837   cat >>confdefs.h <<_ACEOF
84838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84839 _ACEOF
84840  ac_XPG2funcs=yes
84841 else
84842   ac_XPG2funcs=no
84843 fi
84844 done
84845
84846
84847     LIBS="$ac_save_LIBS"
84848
84849     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
84850 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
84851     if test x"$ac_has_iconv_h" = xyes &&
84852        test x"$ac_has_langinfo_h" = xyes &&
84853        test x"$ac_XPG2funcs" = xyes;
84854     then
84855       ac_XPG2_wchar_t=yes
84856     else
84857       ac_XPG2_wchar_t=no
84858     fi
84859     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
84860 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
84861
84862     # At the moment, only enable wchar_t specializations if all the
84863     # above support is present.
84864     if test x"$ac_isoC99_wchar_t" = xyes &&
84865        test x"$ac_XPG2_wchar_t" = xyes;
84866     then
84867       cat >>confdefs.h <<\_ACEOF
84868 #define _GLIBCXX_USE_WCHAR_T 1
84869 _ACEOF
84870
84871       enable_wchar_t=yes
84872     fi
84873   fi
84874   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
84875 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
84876   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
84877 echo "${ECHO_T}$enable_wchar_t" >&6
84878
84879     ;;
84880   *-netbsd*)
84881
84882
84883
84884
84885
84886
84887
84888
84889
84890
84891
84892
84893 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
84894       machine/endian.h machine/param.h sys/machine.h sys/types.h \
84895       fp.h locale.h float.h inttypes.h
84896 do
84897 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84898 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84899   echo "$as_me:$LINENO: checking for $ac_header" >&5
84900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84902   echo $ECHO_N "(cached) $ECHO_C" >&6
84903 fi
84904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84905 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84906 else
84907   # Is the header compilable?
84908 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84909 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84910 cat >conftest.$ac_ext <<_ACEOF
84911 /* confdefs.h.  */
84912 _ACEOF
84913 cat confdefs.h >>conftest.$ac_ext
84914 cat >>conftest.$ac_ext <<_ACEOF
84915 /* end confdefs.h.  */
84916 $ac_includes_default
84917 #include <$ac_header>
84918 _ACEOF
84919 rm -f conftest.$ac_objext
84920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84921   (eval $ac_compile) 2>conftest.er1
84922   ac_status=$?
84923   grep -v '^ *+' conftest.er1 >conftest.err
84924   rm -f conftest.er1
84925   cat conftest.err >&5
84926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84927   (exit $ac_status); } &&
84928          { ac_try='test -z "$ac_c_werror_flag"
84929                          || test ! -s conftest.err'
84930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84931   (eval $ac_try) 2>&5
84932   ac_status=$?
84933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84934   (exit $ac_status); }; } &&
84935          { ac_try='test -s conftest.$ac_objext'
84936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84937   (eval $ac_try) 2>&5
84938   ac_status=$?
84939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84940   (exit $ac_status); }; }; then
84941   ac_header_compiler=yes
84942 else
84943   echo "$as_me: failed program was:" >&5
84944 sed 's/^/| /' conftest.$ac_ext >&5
84945
84946 ac_header_compiler=no
84947 fi
84948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84949 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84950 echo "${ECHO_T}$ac_header_compiler" >&6
84951
84952 # Is the header present?
84953 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84954 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84955 cat >conftest.$ac_ext <<_ACEOF
84956 /* confdefs.h.  */
84957 _ACEOF
84958 cat confdefs.h >>conftest.$ac_ext
84959 cat >>conftest.$ac_ext <<_ACEOF
84960 /* end confdefs.h.  */
84961 #include <$ac_header>
84962 _ACEOF
84963 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84964   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84965   ac_status=$?
84966   grep -v '^ *+' conftest.er1 >conftest.err
84967   rm -f conftest.er1
84968   cat conftest.err >&5
84969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84970   (exit $ac_status); } >/dev/null; then
84971   if test -s conftest.err; then
84972     ac_cpp_err=$ac_c_preproc_warn_flag
84973     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84974   else
84975     ac_cpp_err=
84976   fi
84977 else
84978   ac_cpp_err=yes
84979 fi
84980 if test -z "$ac_cpp_err"; then
84981   ac_header_preproc=yes
84982 else
84983   echo "$as_me: failed program was:" >&5
84984 sed 's/^/| /' conftest.$ac_ext >&5
84985
84986   ac_header_preproc=no
84987 fi
84988 rm -f conftest.err conftest.$ac_ext
84989 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84990 echo "${ECHO_T}$ac_header_preproc" >&6
84991
84992 # So?  What about this header?
84993 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84994   yes:no: )
84995     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84996 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84997     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84998 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84999     ac_header_preproc=yes
85000     ;;
85001   no:yes:* )
85002     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85003 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85004     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
85005 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
85006     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85007 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85008     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
85009 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
85010     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85011 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85012     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85013 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85014     (
85015       cat <<\_ASBOX
85016 ## ----------------------------------------- ##
85017 ## Report this to the package-unused lists.  ##
85018 ## ----------------------------------------- ##
85019 _ASBOX
85020     ) |
85021       sed "s/^/$as_me: WARNING:     /" >&2
85022     ;;
85023 esac
85024 echo "$as_me:$LINENO: checking for $ac_header" >&5
85025 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85026 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85027   echo $ECHO_N "(cached) $ECHO_C" >&6
85028 else
85029   eval "$as_ac_Header=\$ac_header_preproc"
85030 fi
85031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85032 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85033
85034 fi
85035 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85036   cat >>confdefs.h <<_ACEOF
85037 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85038 _ACEOF
85039
85040 fi
85041
85042 done
85043
85044     SECTION_FLAGS='-ffunction-sections -fdata-sections'
85045
85046
85047   # If we're not using GNU ld, then there's no point in even trying these
85048   # tests.  Check for that first.  We should have already tested for gld
85049   # by now (in libtool), but require it now just to be safe...
85050   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85051   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85052
85053
85054
85055   # The name set by libtool depends on the version of libtool.  Shame on us
85056   # for depending on an impl detail, but c'est la vie.  Older versions used
85057   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85058   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85059   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
85060   # set (hence we're using an older libtool), then set it.
85061   if test x${with_gnu_ld+set} != xset; then
85062     if test x${ac_cv_prog_gnu_ld+set} != xset; then
85063       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
85064       with_gnu_ld=no
85065     else
85066       with_gnu_ld=$ac_cv_prog_gnu_ld
85067     fi
85068   fi
85069
85070   # Start by getting the version number.  I think the libtool test already
85071   # does some of this, but throws away the result.
85072
85073   ldver=`$LD --version 2>/dev/null | head -1 | \
85074          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
85075
85076   glibcxx_gnu_ld_version=`echo $ldver | \
85077          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85078
85079   # Set --gc-sections.
85080   if test "$with_gnu_ld" = "notbroken"; then
85081     # GNU ld it is!  Joy and bunny rabbits!
85082
85083     # All these tests are for C++; save the language and the compiler flags.
85084     # Need to do this so that g++ won't try to link in libstdc++
85085     ac_test_CFLAGS="${CFLAGS+set}"
85086     ac_save_CFLAGS="$CFLAGS"
85087     CFLAGS='-x c++  -Wl,--gc-sections'
85088
85089     # Check for -Wl,--gc-sections
85090     # XXX This test is broken at the moment, as symbols required for linking
85091     # are now in libsupc++ (not built yet).  In addition, this test has
85092     # cored on solaris in the past.  In addition, --gc-sections doesn't
85093     # really work at the moment (keeps on discarding used sections, first
85094     # .eh_frame and now some of the glibc sections for iconv).
85095     # Bzzzzt.  Thanks for playing, maybe next time.
85096     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85097 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85098     if test "$cross_compiling" = yes; then
85099   ac_sectionLDflags=yes
85100 else
85101   cat >conftest.$ac_ext <<_ACEOF
85102 /* confdefs.h.  */
85103 _ACEOF
85104 cat confdefs.h >>conftest.$ac_ext
85105 cat >>conftest.$ac_ext <<_ACEOF
85106 /* end confdefs.h.  */
85107
85108      int main(void)
85109      {
85110        try { throw 1; }
85111        catch (...) { };
85112        return 0;
85113      }
85114
85115 _ACEOF
85116 rm -f conftest$ac_exeext
85117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85118   (eval $ac_link) 2>&5
85119   ac_status=$?
85120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85121   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
85122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85123   (eval $ac_try) 2>&5
85124   ac_status=$?
85125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85126   (exit $ac_status); }; }; then
85127   ac_sectionLDflags=yes
85128 else
85129   echo "$as_me: program exited with status $ac_status" >&5
85130 echo "$as_me: failed program was:" >&5
85131 sed 's/^/| /' conftest.$ac_ext >&5
85132
85133 ( exit $ac_status )
85134 ac_sectionLDflags=no
85135 fi
85136 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
85137 fi
85138     if test "$ac_test_CFLAGS" = set; then
85139       CFLAGS="$ac_save_CFLAGS"
85140     else
85141       # this is the suspicious part
85142       CFLAGS=''
85143     fi
85144     if test "$ac_sectionLDflags" = "yes"; then
85145       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85146     fi
85147     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
85148 echo "${ECHO_T}$ac_sectionLDflags" >&6
85149   fi
85150
85151   # Set linker optimization flags.
85152   if test x"$with_gnu_ld" = x"yes"; then
85153     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85154   fi
85155
85156
85157
85158
85159
85160
85161 echo "$as_me:$LINENO: checking for main in -lm" >&5
85162 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85163 if test "${ac_cv_lib_m_main+set}" = set; then
85164   echo $ECHO_N "(cached) $ECHO_C" >&6
85165 else
85166   ac_check_lib_save_LIBS=$LIBS
85167 LIBS="-lm  $LIBS"
85168 if test x$gcc_no_link = xyes; then
85169   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85171    { (exit 1); exit 1; }; }
85172 fi
85173 cat >conftest.$ac_ext <<_ACEOF
85174 /* confdefs.h.  */
85175 _ACEOF
85176 cat confdefs.h >>conftest.$ac_ext
85177 cat >>conftest.$ac_ext <<_ACEOF
85178 /* end confdefs.h.  */
85179
85180
85181 int
85182 main ()
85183 {
85184 main ();
85185   ;
85186   return 0;
85187 }
85188 _ACEOF
85189 rm -f conftest.$ac_objext conftest$ac_exeext
85190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85191   (eval $ac_link) 2>conftest.er1
85192   ac_status=$?
85193   grep -v '^ *+' conftest.er1 >conftest.err
85194   rm -f conftest.er1
85195   cat conftest.err >&5
85196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85197   (exit $ac_status); } &&
85198          { ac_try='test -z "$ac_c_werror_flag"
85199                          || test ! -s conftest.err'
85200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85201   (eval $ac_try) 2>&5
85202   ac_status=$?
85203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85204   (exit $ac_status); }; } &&
85205          { ac_try='test -s conftest$ac_exeext'
85206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85207   (eval $ac_try) 2>&5
85208   ac_status=$?
85209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85210   (exit $ac_status); }; }; then
85211   ac_cv_lib_m_main=yes
85212 else
85213   echo "$as_me: failed program was:" >&5
85214 sed 's/^/| /' conftest.$ac_ext >&5
85215
85216 ac_cv_lib_m_main=no
85217 fi
85218 rm -f conftest.err conftest.$ac_objext \
85219       conftest$ac_exeext conftest.$ac_ext
85220 LIBS=$ac_check_lib_save_LIBS
85221 fi
85222 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85223 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85224 if test $ac_cv_lib_m_main = yes; then
85225   cat >>confdefs.h <<_ACEOF
85226 #define HAVE_LIBM 1
85227 _ACEOF
85228
85229   LIBS="-lm $LIBS"
85230
85231 fi
85232
85233
85234 for ac_func in copysignf
85235 do
85236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85237 echo "$as_me:$LINENO: checking for $ac_func" >&5
85238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85239 if eval "test \"\${$as_ac_var+set}\" = set"; then
85240   echo $ECHO_N "(cached) $ECHO_C" >&6
85241 else
85242   if test x$gcc_no_link = xyes; then
85243   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85245    { (exit 1); exit 1; }; }
85246 fi
85247 cat >conftest.$ac_ext <<_ACEOF
85248 /* confdefs.h.  */
85249 _ACEOF
85250 cat confdefs.h >>conftest.$ac_ext
85251 cat >>conftest.$ac_ext <<_ACEOF
85252 /* end confdefs.h.  */
85253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85254    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85255 #define $ac_func innocuous_$ac_func
85256
85257 /* System header to define __stub macros and hopefully few prototypes,
85258     which can conflict with char $ac_func (); below.
85259     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85260     <limits.h> exists even on freestanding compilers.  */
85261
85262 #ifdef __STDC__
85263 # include <limits.h>
85264 #else
85265 # include <assert.h>
85266 #endif
85267
85268 #undef $ac_func
85269
85270 /* Override any gcc2 internal prototype to avoid an error.  */
85271 #ifdef __cplusplus
85272 extern "C"
85273 {
85274 #endif
85275 /* We use char because int might match the return type of a gcc2
85276    builtin and then its argument prototype would still apply.  */
85277 char $ac_func ();
85278 /* The GNU C library defines this for functions which it implements
85279     to always fail with ENOSYS.  Some functions are actually named
85280     something starting with __ and the normal name is an alias.  */
85281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85282 choke me
85283 #else
85284 char (*f) () = $ac_func;
85285 #endif
85286 #ifdef __cplusplus
85287 }
85288 #endif
85289
85290 int
85291 main ()
85292 {
85293 return f != $ac_func;
85294   ;
85295   return 0;
85296 }
85297 _ACEOF
85298 rm -f conftest.$ac_objext conftest$ac_exeext
85299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85300   (eval $ac_link) 2>conftest.er1
85301   ac_status=$?
85302   grep -v '^ *+' conftest.er1 >conftest.err
85303   rm -f conftest.er1
85304   cat conftest.err >&5
85305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85306   (exit $ac_status); } &&
85307          { ac_try='test -z "$ac_c_werror_flag"
85308                          || test ! -s conftest.err'
85309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85310   (eval $ac_try) 2>&5
85311   ac_status=$?
85312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85313   (exit $ac_status); }; } &&
85314          { ac_try='test -s conftest$ac_exeext'
85315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85316   (eval $ac_try) 2>&5
85317   ac_status=$?
85318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85319   (exit $ac_status); }; }; then
85320   eval "$as_ac_var=yes"
85321 else
85322   echo "$as_me: failed program was:" >&5
85323 sed 's/^/| /' conftest.$ac_ext >&5
85324
85325 eval "$as_ac_var=no"
85326 fi
85327 rm -f conftest.err conftest.$ac_objext \
85328       conftest$ac_exeext conftest.$ac_ext
85329 fi
85330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85332 if test `eval echo '${'$as_ac_var'}'` = yes; then
85333   cat >>confdefs.h <<_ACEOF
85334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85335 _ACEOF
85336
85337 else
85338   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85339 fi
85340 done
85341
85342
85343
85344 for ac_func in __signbit
85345 do
85346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85347 echo "$as_me:$LINENO: checking for $ac_func" >&5
85348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85349 if eval "test \"\${$as_ac_var+set}\" = set"; then
85350   echo $ECHO_N "(cached) $ECHO_C" >&6
85351 else
85352   if test x$gcc_no_link = xyes; then
85353   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85355    { (exit 1); exit 1; }; }
85356 fi
85357 cat >conftest.$ac_ext <<_ACEOF
85358 /* confdefs.h.  */
85359 _ACEOF
85360 cat confdefs.h >>conftest.$ac_ext
85361 cat >>conftest.$ac_ext <<_ACEOF
85362 /* end confdefs.h.  */
85363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85364    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85365 #define $ac_func innocuous_$ac_func
85366
85367 /* System header to define __stub macros and hopefully few prototypes,
85368     which can conflict with char $ac_func (); below.
85369     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85370     <limits.h> exists even on freestanding compilers.  */
85371
85372 #ifdef __STDC__
85373 # include <limits.h>
85374 #else
85375 # include <assert.h>
85376 #endif
85377
85378 #undef $ac_func
85379
85380 /* Override any gcc2 internal prototype to avoid an error.  */
85381 #ifdef __cplusplus
85382 extern "C"
85383 {
85384 #endif
85385 /* We use char because int might match the return type of a gcc2
85386    builtin and then its argument prototype would still apply.  */
85387 char $ac_func ();
85388 /* The GNU C library defines this for functions which it implements
85389     to always fail with ENOSYS.  Some functions are actually named
85390     something starting with __ and the normal name is an alias.  */
85391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85392 choke me
85393 #else
85394 char (*f) () = $ac_func;
85395 #endif
85396 #ifdef __cplusplus
85397 }
85398 #endif
85399
85400 int
85401 main ()
85402 {
85403 return f != $ac_func;
85404   ;
85405   return 0;
85406 }
85407 _ACEOF
85408 rm -f conftest.$ac_objext conftest$ac_exeext
85409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85410   (eval $ac_link) 2>conftest.er1
85411   ac_status=$?
85412   grep -v '^ *+' conftest.er1 >conftest.err
85413   rm -f conftest.er1
85414   cat conftest.err >&5
85415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85416   (exit $ac_status); } &&
85417          { ac_try='test -z "$ac_c_werror_flag"
85418                          || test ! -s conftest.err'
85419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85420   (eval $ac_try) 2>&5
85421   ac_status=$?
85422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85423   (exit $ac_status); }; } &&
85424          { ac_try='test -s conftest$ac_exeext'
85425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85426   (eval $ac_try) 2>&5
85427   ac_status=$?
85428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85429   (exit $ac_status); }; }; then
85430   eval "$as_ac_var=yes"
85431 else
85432   echo "$as_me: failed program was:" >&5
85433 sed 's/^/| /' conftest.$ac_ext >&5
85434
85435 eval "$as_ac_var=no"
85436 fi
85437 rm -f conftest.err conftest.$ac_objext \
85438       conftest$ac_exeext conftest.$ac_ext
85439 fi
85440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85442 if test `eval echo '${'$as_ac_var'}'` = yes; then
85443   cat >>confdefs.h <<_ACEOF
85444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85445 _ACEOF
85446
85447 else
85448   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85449 fi
85450 done
85451
85452
85453
85454 for ac_func in __signbitf
85455 do
85456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85457 echo "$as_me:$LINENO: checking for $ac_func" >&5
85458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85459 if eval "test \"\${$as_ac_var+set}\" = set"; then
85460   echo $ECHO_N "(cached) $ECHO_C" >&6
85461 else
85462   if test x$gcc_no_link = xyes; then
85463   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85465    { (exit 1); exit 1; }; }
85466 fi
85467 cat >conftest.$ac_ext <<_ACEOF
85468 /* confdefs.h.  */
85469 _ACEOF
85470 cat confdefs.h >>conftest.$ac_ext
85471 cat >>conftest.$ac_ext <<_ACEOF
85472 /* end confdefs.h.  */
85473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85474    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85475 #define $ac_func innocuous_$ac_func
85476
85477 /* System header to define __stub macros and hopefully few prototypes,
85478     which can conflict with char $ac_func (); below.
85479     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85480     <limits.h> exists even on freestanding compilers.  */
85481
85482 #ifdef __STDC__
85483 # include <limits.h>
85484 #else
85485 # include <assert.h>
85486 #endif
85487
85488 #undef $ac_func
85489
85490 /* Override any gcc2 internal prototype to avoid an error.  */
85491 #ifdef __cplusplus
85492 extern "C"
85493 {
85494 #endif
85495 /* We use char because int might match the return type of a gcc2
85496    builtin and then its argument prototype would still apply.  */
85497 char $ac_func ();
85498 /* The GNU C library defines this for functions which it implements
85499     to always fail with ENOSYS.  Some functions are actually named
85500     something starting with __ and the normal name is an alias.  */
85501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85502 choke me
85503 #else
85504 char (*f) () = $ac_func;
85505 #endif
85506 #ifdef __cplusplus
85507 }
85508 #endif
85509
85510 int
85511 main ()
85512 {
85513 return f != $ac_func;
85514   ;
85515   return 0;
85516 }
85517 _ACEOF
85518 rm -f conftest.$ac_objext conftest$ac_exeext
85519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85520   (eval $ac_link) 2>conftest.er1
85521   ac_status=$?
85522   grep -v '^ *+' conftest.er1 >conftest.err
85523   rm -f conftest.er1
85524   cat conftest.err >&5
85525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85526   (exit $ac_status); } &&
85527          { ac_try='test -z "$ac_c_werror_flag"
85528                          || test ! -s conftest.err'
85529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85530   (eval $ac_try) 2>&5
85531   ac_status=$?
85532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85533   (exit $ac_status); }; } &&
85534          { ac_try='test -s conftest$ac_exeext'
85535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85536   (eval $ac_try) 2>&5
85537   ac_status=$?
85538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85539   (exit $ac_status); }; }; then
85540   eval "$as_ac_var=yes"
85541 else
85542   echo "$as_me: failed program was:" >&5
85543 sed 's/^/| /' conftest.$ac_ext >&5
85544
85545 eval "$as_ac_var=no"
85546 fi
85547 rm -f conftest.err conftest.$ac_objext \
85548       conftest$ac_exeext conftest.$ac_ext
85549 fi
85550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85552 if test `eval echo '${'$as_ac_var'}'` = yes; then
85553   cat >>confdefs.h <<_ACEOF
85554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85555 _ACEOF
85556
85557 else
85558   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
85559 fi
85560 done
85561
85562
85563           if test x$ac_cv_func_copysignl = x"yes"; then
85564
85565 for ac_func in __signbitl
85566 do
85567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85568 echo "$as_me:$LINENO: checking for $ac_func" >&5
85569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85570 if eval "test \"\${$as_ac_var+set}\" = set"; then
85571   echo $ECHO_N "(cached) $ECHO_C" >&6
85572 else
85573   if test x$gcc_no_link = xyes; then
85574   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85576    { (exit 1); exit 1; }; }
85577 fi
85578 cat >conftest.$ac_ext <<_ACEOF
85579 /* confdefs.h.  */
85580 _ACEOF
85581 cat confdefs.h >>conftest.$ac_ext
85582 cat >>conftest.$ac_ext <<_ACEOF
85583 /* end confdefs.h.  */
85584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85585    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85586 #define $ac_func innocuous_$ac_func
85587
85588 /* System header to define __stub macros and hopefully few prototypes,
85589     which can conflict with char $ac_func (); below.
85590     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85591     <limits.h> exists even on freestanding compilers.  */
85592
85593 #ifdef __STDC__
85594 # include <limits.h>
85595 #else
85596 # include <assert.h>
85597 #endif
85598
85599 #undef $ac_func
85600
85601 /* Override any gcc2 internal prototype to avoid an error.  */
85602 #ifdef __cplusplus
85603 extern "C"
85604 {
85605 #endif
85606 /* We use char because int might match the return type of a gcc2
85607    builtin and then its argument prototype would still apply.  */
85608 char $ac_func ();
85609 /* The GNU C library defines this for functions which it implements
85610     to always fail with ENOSYS.  Some functions are actually named
85611     something starting with __ and the normal name is an alias.  */
85612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85613 choke me
85614 #else
85615 char (*f) () = $ac_func;
85616 #endif
85617 #ifdef __cplusplus
85618 }
85619 #endif
85620
85621 int
85622 main ()
85623 {
85624 return f != $ac_func;
85625   ;
85626   return 0;
85627 }
85628 _ACEOF
85629 rm -f conftest.$ac_objext conftest$ac_exeext
85630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85631   (eval $ac_link) 2>conftest.er1
85632   ac_status=$?
85633   grep -v '^ *+' conftest.er1 >conftest.err
85634   rm -f conftest.er1
85635   cat conftest.err >&5
85636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85637   (exit $ac_status); } &&
85638          { ac_try='test -z "$ac_c_werror_flag"
85639                          || test ! -s conftest.err'
85640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85641   (eval $ac_try) 2>&5
85642   ac_status=$?
85643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85644   (exit $ac_status); }; } &&
85645          { ac_try='test -s conftest$ac_exeext'
85646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85647   (eval $ac_try) 2>&5
85648   ac_status=$?
85649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85650   (exit $ac_status); }; }; then
85651   eval "$as_ac_var=yes"
85652 else
85653   echo "$as_me: failed program was:" >&5
85654 sed 's/^/| /' conftest.$ac_ext >&5
85655
85656 eval "$as_ac_var=no"
85657 fi
85658 rm -f conftest.err conftest.$ac_objext \
85659       conftest$ac_exeext conftest.$ac_ext
85660 fi
85661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85663 if test `eval echo '${'$as_ac_var'}'` = yes; then
85664   cat >>confdefs.h <<_ACEOF
85665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85666 _ACEOF
85667
85668 else
85669   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
85670 fi
85671 done
85672
85673   fi
85674
85675   # Used in libmath/Makefile.am.
85676   if test -n "$LIBMATHOBJS"; then
85677     need_libmath=yes
85678   fi
85679
85680
85681
85682   # Test wchar.h for mbstate_t, which is needed for char_traits and
85683   # others even if wchar_t support is not on.
85684   echo "$as_me:$LINENO: checking for mbstate_t" >&5
85685 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
85686   cat >conftest.$ac_ext <<_ACEOF
85687 /* confdefs.h.  */
85688 _ACEOF
85689 cat confdefs.h >>conftest.$ac_ext
85690 cat >>conftest.$ac_ext <<_ACEOF
85691 /* end confdefs.h.  */
85692 #include <wchar.h>
85693 int
85694 main ()
85695 {
85696 mbstate_t teststate;
85697   ;
85698   return 0;
85699 }
85700 _ACEOF
85701 rm -f conftest.$ac_objext
85702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85703   (eval $ac_compile) 2>conftest.er1
85704   ac_status=$?
85705   grep -v '^ *+' conftest.er1 >conftest.err
85706   rm -f conftest.er1
85707   cat conftest.err >&5
85708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85709   (exit $ac_status); } &&
85710          { ac_try='test -z "$ac_c_werror_flag"
85711                          || test ! -s conftest.err'
85712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85713   (eval $ac_try) 2>&5
85714   ac_status=$?
85715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85716   (exit $ac_status); }; } &&
85717          { ac_try='test -s conftest.$ac_objext'
85718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85719   (eval $ac_try) 2>&5
85720   ac_status=$?
85721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85722   (exit $ac_status); }; }; then
85723   have_mbstate_t=yes
85724 else
85725   echo "$as_me: failed program was:" >&5
85726 sed 's/^/| /' conftest.$ac_ext >&5
85727
85728 have_mbstate_t=no
85729 fi
85730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85731   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
85732 echo "${ECHO_T}$have_mbstate_t" >&6
85733   if test x"$have_mbstate_t" = xyes; then
85734     cat >>confdefs.h <<\_ACEOF
85735 #define HAVE_MBSTATE_T 1
85736 _ACEOF
85737
85738   fi
85739
85740   # Sanity check for existence of ISO C99 headers for extended encoding.
85741
85742 for ac_header in wchar.h
85743 do
85744 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85745 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85746   echo "$as_me:$LINENO: checking for $ac_header" >&5
85747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85749   echo $ECHO_N "(cached) $ECHO_C" >&6
85750 fi
85751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85752 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85753 else
85754   # Is the header compilable?
85755 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85756 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85757 cat >conftest.$ac_ext <<_ACEOF
85758 /* confdefs.h.  */
85759 _ACEOF
85760 cat confdefs.h >>conftest.$ac_ext
85761 cat >>conftest.$ac_ext <<_ACEOF
85762 /* end confdefs.h.  */
85763 $ac_includes_default
85764 #include <$ac_header>
85765 _ACEOF
85766 rm -f conftest.$ac_objext
85767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85768   (eval $ac_compile) 2>conftest.er1
85769   ac_status=$?
85770   grep -v '^ *+' conftest.er1 >conftest.err
85771   rm -f conftest.er1
85772   cat conftest.err >&5
85773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85774   (exit $ac_status); } &&
85775          { ac_try='test -z "$ac_c_werror_flag"
85776                          || test ! -s conftest.err'
85777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85778   (eval $ac_try) 2>&5
85779   ac_status=$?
85780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85781   (exit $ac_status); }; } &&
85782          { ac_try='test -s conftest.$ac_objext'
85783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85784   (eval $ac_try) 2>&5
85785   ac_status=$?
85786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85787   (exit $ac_status); }; }; then
85788   ac_header_compiler=yes
85789 else
85790   echo "$as_me: failed program was:" >&5
85791 sed 's/^/| /' conftest.$ac_ext >&5
85792
85793 ac_header_compiler=no
85794 fi
85795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85796 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85797 echo "${ECHO_T}$ac_header_compiler" >&6
85798
85799 # Is the header present?
85800 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85801 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85802 cat >conftest.$ac_ext <<_ACEOF
85803 /* confdefs.h.  */
85804 _ACEOF
85805 cat confdefs.h >>conftest.$ac_ext
85806 cat >>conftest.$ac_ext <<_ACEOF
85807 /* end confdefs.h.  */
85808 #include <$ac_header>
85809 _ACEOF
85810 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85811   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85812   ac_status=$?
85813   grep -v '^ *+' conftest.er1 >conftest.err
85814   rm -f conftest.er1
85815   cat conftest.err >&5
85816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85817   (exit $ac_status); } >/dev/null; then
85818   if test -s conftest.err; then
85819     ac_cpp_err=$ac_c_preproc_warn_flag
85820     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85821   else
85822     ac_cpp_err=
85823   fi
85824 else
85825   ac_cpp_err=yes
85826 fi
85827 if test -z "$ac_cpp_err"; then
85828   ac_header_preproc=yes
85829 else
85830   echo "$as_me: failed program was:" >&5
85831 sed 's/^/| /' conftest.$ac_ext >&5
85832
85833   ac_header_preproc=no
85834 fi
85835 rm -f conftest.err conftest.$ac_ext
85836 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85837 echo "${ECHO_T}$ac_header_preproc" >&6
85838
85839 # So?  What about this header?
85840 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85841   yes:no: )
85842     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85843 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85844     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85845 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85846     ac_header_preproc=yes
85847     ;;
85848   no:yes:* )
85849     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85850 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85851     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
85852 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
85853     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85854 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85855     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
85856 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
85857     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85858 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85859     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85860 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85861     (
85862       cat <<\_ASBOX
85863 ## ----------------------------------------- ##
85864 ## Report this to the package-unused lists.  ##
85865 ## ----------------------------------------- ##
85866 _ASBOX
85867     ) |
85868       sed "s/^/$as_me: WARNING:     /" >&2
85869     ;;
85870 esac
85871 echo "$as_me:$LINENO: checking for $ac_header" >&5
85872 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85873 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85874   echo $ECHO_N "(cached) $ECHO_C" >&6
85875 else
85876   eval "$as_ac_Header=\$ac_header_preproc"
85877 fi
85878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85879 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85880
85881 fi
85882 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85883   cat >>confdefs.h <<_ACEOF
85884 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85885 _ACEOF
85886  ac_has_wchar_h=yes
85887 else
85888   ac_has_wchar_h=no
85889 fi
85890
85891 done
85892
85893
85894 for ac_header in wctype.h
85895 do
85896 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85897 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85898   echo "$as_me:$LINENO: checking for $ac_header" >&5
85899 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85901   echo $ECHO_N "(cached) $ECHO_C" >&6
85902 fi
85903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85904 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85905 else
85906   # Is the header compilable?
85907 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85908 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85909 cat >conftest.$ac_ext <<_ACEOF
85910 /* confdefs.h.  */
85911 _ACEOF
85912 cat confdefs.h >>conftest.$ac_ext
85913 cat >>conftest.$ac_ext <<_ACEOF
85914 /* end confdefs.h.  */
85915 $ac_includes_default
85916 #include <$ac_header>
85917 _ACEOF
85918 rm -f conftest.$ac_objext
85919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85920   (eval $ac_compile) 2>conftest.er1
85921   ac_status=$?
85922   grep -v '^ *+' conftest.er1 >conftest.err
85923   rm -f conftest.er1
85924   cat conftest.err >&5
85925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85926   (exit $ac_status); } &&
85927          { ac_try='test -z "$ac_c_werror_flag"
85928                          || test ! -s conftest.err'
85929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85930   (eval $ac_try) 2>&5
85931   ac_status=$?
85932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85933   (exit $ac_status); }; } &&
85934          { ac_try='test -s conftest.$ac_objext'
85935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85936   (eval $ac_try) 2>&5
85937   ac_status=$?
85938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85939   (exit $ac_status); }; }; then
85940   ac_header_compiler=yes
85941 else
85942   echo "$as_me: failed program was:" >&5
85943 sed 's/^/| /' conftest.$ac_ext >&5
85944
85945 ac_header_compiler=no
85946 fi
85947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85948 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85949 echo "${ECHO_T}$ac_header_compiler" >&6
85950
85951 # Is the header present?
85952 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85953 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85954 cat >conftest.$ac_ext <<_ACEOF
85955 /* confdefs.h.  */
85956 _ACEOF
85957 cat confdefs.h >>conftest.$ac_ext
85958 cat >>conftest.$ac_ext <<_ACEOF
85959 /* end confdefs.h.  */
85960 #include <$ac_header>
85961 _ACEOF
85962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85963   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85964   ac_status=$?
85965   grep -v '^ *+' conftest.er1 >conftest.err
85966   rm -f conftest.er1
85967   cat conftest.err >&5
85968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85969   (exit $ac_status); } >/dev/null; then
85970   if test -s conftest.err; then
85971     ac_cpp_err=$ac_c_preproc_warn_flag
85972     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85973   else
85974     ac_cpp_err=
85975   fi
85976 else
85977   ac_cpp_err=yes
85978 fi
85979 if test -z "$ac_cpp_err"; then
85980   ac_header_preproc=yes
85981 else
85982   echo "$as_me: failed program was:" >&5
85983 sed 's/^/| /' conftest.$ac_ext >&5
85984
85985   ac_header_preproc=no
85986 fi
85987 rm -f conftest.err conftest.$ac_ext
85988 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85989 echo "${ECHO_T}$ac_header_preproc" >&6
85990
85991 # So?  What about this header?
85992 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85993   yes:no: )
85994     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85995 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85996     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85997 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85998     ac_header_preproc=yes
85999     ;;
86000   no:yes:* )
86001     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86002 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86003     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
86004 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
86005     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86006 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86007     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
86008 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
86009     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86010 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86011     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86012 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86013     (
86014       cat <<\_ASBOX
86015 ## ----------------------------------------- ##
86016 ## Report this to the package-unused lists.  ##
86017 ## ----------------------------------------- ##
86018 _ASBOX
86019     ) |
86020       sed "s/^/$as_me: WARNING:     /" >&2
86021     ;;
86022 esac
86023 echo "$as_me:$LINENO: checking for $ac_header" >&5
86024 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86025 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86026   echo $ECHO_N "(cached) $ECHO_C" >&6
86027 else
86028   eval "$as_ac_Header=\$ac_header_preproc"
86029 fi
86030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86031 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86032
86033 fi
86034 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86035   cat >>confdefs.h <<_ACEOF
86036 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86037 _ACEOF
86038  ac_has_wctype_h=yes
86039 else
86040   ac_has_wctype_h=no
86041 fi
86042
86043 done
86044
86045
86046   # Only continue checking if the ISO C99 headers exist and support is on.
86047   if test x"$ac_has_wchar_h" = xyes &&
86048      test x"$ac_has_wctype_h" = xyes &&
86049      test x"$enable_c_mbchar" != xno; then
86050
86051     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
86052     # numeric_limits can instantiate type_traits<wchar_t>
86053     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
86054 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
86055     cat >conftest.$ac_ext <<_ACEOF
86056 /* confdefs.h.  */
86057 _ACEOF
86058 cat confdefs.h >>conftest.$ac_ext
86059 cat >>conftest.$ac_ext <<_ACEOF
86060 /* end confdefs.h.  */
86061 #include <wchar.h>
86062 int
86063 main ()
86064 {
86065 int i = WCHAR_MIN; int j = WCHAR_MAX;
86066   ;
86067   return 0;
86068 }
86069 _ACEOF
86070 rm -f conftest.$ac_objext
86071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86072   (eval $ac_compile) 2>conftest.er1
86073   ac_status=$?
86074   grep -v '^ *+' conftest.er1 >conftest.err
86075   rm -f conftest.er1
86076   cat conftest.err >&5
86077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86078   (exit $ac_status); } &&
86079          { ac_try='test -z "$ac_c_werror_flag"
86080                          || test ! -s conftest.err'
86081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86082   (eval $ac_try) 2>&5
86083   ac_status=$?
86084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86085   (exit $ac_status); }; } &&
86086          { ac_try='test -s conftest.$ac_objext'
86087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86088   (eval $ac_try) 2>&5
86089   ac_status=$?
86090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86091   (exit $ac_status); }; }; then
86092   has_wchar_minmax=yes
86093 else
86094   echo "$as_me: failed program was:" >&5
86095 sed 's/^/| /' conftest.$ac_ext >&5
86096
86097 has_wchar_minmax=no
86098 fi
86099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86100     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
86101 echo "${ECHO_T}$has_wchar_minmax" >&6
86102
86103     # Test wchar.h for WEOF, which is what we use to determine whether
86104     # to specialize for char_traits<wchar_t> or not.
86105     echo "$as_me:$LINENO: checking for WEOF" >&5
86106 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
86107     cat >conftest.$ac_ext <<_ACEOF
86108 /* confdefs.h.  */
86109 _ACEOF
86110 cat confdefs.h >>conftest.$ac_ext
86111 cat >>conftest.$ac_ext <<_ACEOF
86112 /* end confdefs.h.  */
86113
86114       #include <wchar.h>
86115       #include <stddef.h>
86116 int
86117 main ()
86118 {
86119 wint_t i = WEOF;
86120   ;
86121   return 0;
86122 }
86123 _ACEOF
86124 rm -f conftest.$ac_objext
86125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86126   (eval $ac_compile) 2>conftest.er1
86127   ac_status=$?
86128   grep -v '^ *+' conftest.er1 >conftest.err
86129   rm -f conftest.er1
86130   cat conftest.err >&5
86131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86132   (exit $ac_status); } &&
86133          { ac_try='test -z "$ac_c_werror_flag"
86134                          || test ! -s conftest.err'
86135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86136   (eval $ac_try) 2>&5
86137   ac_status=$?
86138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86139   (exit $ac_status); }; } &&
86140          { ac_try='test -s conftest.$ac_objext'
86141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86142   (eval $ac_try) 2>&5
86143   ac_status=$?
86144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86145   (exit $ac_status); }; }; then
86146   has_weof=yes
86147 else
86148   echo "$as_me: failed program was:" >&5
86149 sed 's/^/| /' conftest.$ac_ext >&5
86150
86151 has_weof=no
86152 fi
86153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86154     echo "$as_me:$LINENO: result: $has_weof" >&5
86155 echo "${ECHO_T}$has_weof" >&6
86156
86157     # Tests for wide character functions used in char_traits<wchar_t>.
86158     ac_wfuncs=yes
86159
86160
86161
86162
86163
86164
86165 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
86166 do
86167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86168 echo "$as_me:$LINENO: checking for $ac_func" >&5
86169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86170 if eval "test \"\${$as_ac_var+set}\" = set"; then
86171   echo $ECHO_N "(cached) $ECHO_C" >&6
86172 else
86173   if test x$gcc_no_link = xyes; then
86174   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86176    { (exit 1); exit 1; }; }
86177 fi
86178 cat >conftest.$ac_ext <<_ACEOF
86179 /* confdefs.h.  */
86180 _ACEOF
86181 cat confdefs.h >>conftest.$ac_ext
86182 cat >>conftest.$ac_ext <<_ACEOF
86183 /* end confdefs.h.  */
86184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86185    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86186 #define $ac_func innocuous_$ac_func
86187
86188 /* System header to define __stub macros and hopefully few prototypes,
86189     which can conflict with char $ac_func (); below.
86190     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86191     <limits.h> exists even on freestanding compilers.  */
86192
86193 #ifdef __STDC__
86194 # include <limits.h>
86195 #else
86196 # include <assert.h>
86197 #endif
86198
86199 #undef $ac_func
86200
86201 /* Override any gcc2 internal prototype to avoid an error.  */
86202 #ifdef __cplusplus
86203 extern "C"
86204 {
86205 #endif
86206 /* We use char because int might match the return type of a gcc2
86207    builtin and then its argument prototype would still apply.  */
86208 char $ac_func ();
86209 /* The GNU C library defines this for functions which it implements
86210     to always fail with ENOSYS.  Some functions are actually named
86211     something starting with __ and the normal name is an alias.  */
86212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86213 choke me
86214 #else
86215 char (*f) () = $ac_func;
86216 #endif
86217 #ifdef __cplusplus
86218 }
86219 #endif
86220
86221 int
86222 main ()
86223 {
86224 return f != $ac_func;
86225   ;
86226   return 0;
86227 }
86228 _ACEOF
86229 rm -f conftest.$ac_objext conftest$ac_exeext
86230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86231   (eval $ac_link) 2>conftest.er1
86232   ac_status=$?
86233   grep -v '^ *+' conftest.er1 >conftest.err
86234   rm -f conftest.er1
86235   cat conftest.err >&5
86236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86237   (exit $ac_status); } &&
86238          { ac_try='test -z "$ac_c_werror_flag"
86239                          || test ! -s conftest.err'
86240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86241   (eval $ac_try) 2>&5
86242   ac_status=$?
86243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86244   (exit $ac_status); }; } &&
86245          { ac_try='test -s conftest$ac_exeext'
86246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86247   (eval $ac_try) 2>&5
86248   ac_status=$?
86249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86250   (exit $ac_status); }; }; then
86251   eval "$as_ac_var=yes"
86252 else
86253   echo "$as_me: failed program was:" >&5
86254 sed 's/^/| /' conftest.$ac_ext >&5
86255
86256 eval "$as_ac_var=no"
86257 fi
86258 rm -f conftest.err conftest.$ac_objext \
86259       conftest$ac_exeext conftest.$ac_ext
86260 fi
86261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86262 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86263 if test `eval echo '${'$as_ac_var'}'` = yes; then
86264   cat >>confdefs.h <<_ACEOF
86265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86266 _ACEOF
86267
86268 else
86269   ac_wfuncs=no
86270 fi
86271 done
86272
86273
86274     # Checks for names injected into std:: by the c_std headers.
86275
86276
86277
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 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
86322     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
86323     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
86324     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
86325     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
86326     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
86327 do
86328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86329 echo "$as_me:$LINENO: checking for $ac_func" >&5
86330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86331 if eval "test \"\${$as_ac_var+set}\" = set"; then
86332   echo $ECHO_N "(cached) $ECHO_C" >&6
86333 else
86334   if test x$gcc_no_link = xyes; then
86335   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86337    { (exit 1); exit 1; }; }
86338 fi
86339 cat >conftest.$ac_ext <<_ACEOF
86340 /* confdefs.h.  */
86341 _ACEOF
86342 cat confdefs.h >>conftest.$ac_ext
86343 cat >>conftest.$ac_ext <<_ACEOF
86344 /* end confdefs.h.  */
86345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86346    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86347 #define $ac_func innocuous_$ac_func
86348
86349 /* System header to define __stub macros and hopefully few prototypes,
86350     which can conflict with char $ac_func (); below.
86351     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86352     <limits.h> exists even on freestanding compilers.  */
86353
86354 #ifdef __STDC__
86355 # include <limits.h>
86356 #else
86357 # include <assert.h>
86358 #endif
86359
86360 #undef $ac_func
86361
86362 /* Override any gcc2 internal prototype to avoid an error.  */
86363 #ifdef __cplusplus
86364 extern "C"
86365 {
86366 #endif
86367 /* We use char because int might match the return type of a gcc2
86368    builtin and then its argument prototype would still apply.  */
86369 char $ac_func ();
86370 /* The GNU C library defines this for functions which it implements
86371     to always fail with ENOSYS.  Some functions are actually named
86372     something starting with __ and the normal name is an alias.  */
86373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86374 choke me
86375 #else
86376 char (*f) () = $ac_func;
86377 #endif
86378 #ifdef __cplusplus
86379 }
86380 #endif
86381
86382 int
86383 main ()
86384 {
86385 return f != $ac_func;
86386   ;
86387   return 0;
86388 }
86389 _ACEOF
86390 rm -f conftest.$ac_objext conftest$ac_exeext
86391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86392   (eval $ac_link) 2>conftest.er1
86393   ac_status=$?
86394   grep -v '^ *+' conftest.er1 >conftest.err
86395   rm -f conftest.er1
86396   cat conftest.err >&5
86397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86398   (exit $ac_status); } &&
86399          { ac_try='test -z "$ac_c_werror_flag"
86400                          || test ! -s conftest.err'
86401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86402   (eval $ac_try) 2>&5
86403   ac_status=$?
86404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86405   (exit $ac_status); }; } &&
86406          { ac_try='test -s conftest$ac_exeext'
86407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86408   (eval $ac_try) 2>&5
86409   ac_status=$?
86410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86411   (exit $ac_status); }; }; then
86412   eval "$as_ac_var=yes"
86413 else
86414   echo "$as_me: failed program was:" >&5
86415 sed 's/^/| /' conftest.$ac_ext >&5
86416
86417 eval "$as_ac_var=no"
86418 fi
86419 rm -f conftest.err conftest.$ac_objext \
86420       conftest$ac_exeext conftest.$ac_ext
86421 fi
86422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86424 if test `eval echo '${'$as_ac_var'}'` = yes; then
86425   cat >>confdefs.h <<_ACEOF
86426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86427 _ACEOF
86428
86429 else
86430   ac_wfuncs=no
86431 fi
86432 done
86433
86434
86435     # Checks for wide character functions that are not required
86436     # for basic wchar_t support.  Don't disable support if they are missing.
86437     # Injection of these is wrapped with guard macros.
86438
86439
86440
86441
86442
86443 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
86444 do
86445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86446 echo "$as_me:$LINENO: checking for $ac_func" >&5
86447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86448 if eval "test \"\${$as_ac_var+set}\" = set"; then
86449   echo $ECHO_N "(cached) $ECHO_C" >&6
86450 else
86451   if test x$gcc_no_link = xyes; then
86452   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86454    { (exit 1); exit 1; }; }
86455 fi
86456 cat >conftest.$ac_ext <<_ACEOF
86457 /* confdefs.h.  */
86458 _ACEOF
86459 cat confdefs.h >>conftest.$ac_ext
86460 cat >>conftest.$ac_ext <<_ACEOF
86461 /* end confdefs.h.  */
86462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86463    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86464 #define $ac_func innocuous_$ac_func
86465
86466 /* System header to define __stub macros and hopefully few prototypes,
86467     which can conflict with char $ac_func (); below.
86468     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86469     <limits.h> exists even on freestanding compilers.  */
86470
86471 #ifdef __STDC__
86472 # include <limits.h>
86473 #else
86474 # include <assert.h>
86475 #endif
86476
86477 #undef $ac_func
86478
86479 /* Override any gcc2 internal prototype to avoid an error.  */
86480 #ifdef __cplusplus
86481 extern "C"
86482 {
86483 #endif
86484 /* We use char because int might match the return type of a gcc2
86485    builtin and then its argument prototype would still apply.  */
86486 char $ac_func ();
86487 /* The GNU C library defines this for functions which it implements
86488     to always fail with ENOSYS.  Some functions are actually named
86489     something starting with __ and the normal name is an alias.  */
86490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86491 choke me
86492 #else
86493 char (*f) () = $ac_func;
86494 #endif
86495 #ifdef __cplusplus
86496 }
86497 #endif
86498
86499 int
86500 main ()
86501 {
86502 return f != $ac_func;
86503   ;
86504   return 0;
86505 }
86506 _ACEOF
86507 rm -f conftest.$ac_objext conftest$ac_exeext
86508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86509   (eval $ac_link) 2>conftest.er1
86510   ac_status=$?
86511   grep -v '^ *+' conftest.er1 >conftest.err
86512   rm -f conftest.er1
86513   cat conftest.err >&5
86514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86515   (exit $ac_status); } &&
86516          { ac_try='test -z "$ac_c_werror_flag"
86517                          || test ! -s conftest.err'
86518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86519   (eval $ac_try) 2>&5
86520   ac_status=$?
86521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86522   (exit $ac_status); }; } &&
86523          { ac_try='test -s conftest$ac_exeext'
86524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86525   (eval $ac_try) 2>&5
86526   ac_status=$?
86527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86528   (exit $ac_status); }; }; then
86529   eval "$as_ac_var=yes"
86530 else
86531   echo "$as_me: failed program was:" >&5
86532 sed 's/^/| /' conftest.$ac_ext >&5
86533
86534 eval "$as_ac_var=no"
86535 fi
86536 rm -f conftest.err conftest.$ac_objext \
86537       conftest$ac_exeext conftest.$ac_ext
86538 fi
86539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86541 if test `eval echo '${'$as_ac_var'}'` = yes; then
86542   cat >>confdefs.h <<_ACEOF
86543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86544 _ACEOF
86545
86546 fi
86547 done
86548
86549
86550     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
86551 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
86552     if test x"$has_weof" = xyes &&
86553        test x"$has_wchar_minmax" = xyes &&
86554        test x"$ac_wfuncs" = xyes;
86555     then
86556       ac_isoC99_wchar_t=yes
86557     else
86558       ac_isoC99_wchar_t=no
86559     fi
86560     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
86561 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
86562
86563     # Use iconv for wchar_t to char conversions. As such, check for
86564     # X/Open Portability Guide, version 2 features (XPG2).
86565     if test "${ac_cv_header_iconv_h+set}" = set; then
86566   echo "$as_me:$LINENO: checking for iconv.h" >&5
86567 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86568 if test "${ac_cv_header_iconv_h+set}" = set; then
86569   echo $ECHO_N "(cached) $ECHO_C" >&6
86570 fi
86571 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86572 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86573 else
86574   # Is the header compilable?
86575 echo "$as_me:$LINENO: checking iconv.h usability" >&5
86576 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
86577 cat >conftest.$ac_ext <<_ACEOF
86578 /* confdefs.h.  */
86579 _ACEOF
86580 cat confdefs.h >>conftest.$ac_ext
86581 cat >>conftest.$ac_ext <<_ACEOF
86582 /* end confdefs.h.  */
86583 $ac_includes_default
86584 #include <iconv.h>
86585 _ACEOF
86586 rm -f conftest.$ac_objext
86587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86588   (eval $ac_compile) 2>conftest.er1
86589   ac_status=$?
86590   grep -v '^ *+' conftest.er1 >conftest.err
86591   rm -f conftest.er1
86592   cat conftest.err >&5
86593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86594   (exit $ac_status); } &&
86595          { ac_try='test -z "$ac_c_werror_flag"
86596                          || test ! -s conftest.err'
86597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86598   (eval $ac_try) 2>&5
86599   ac_status=$?
86600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86601   (exit $ac_status); }; } &&
86602          { ac_try='test -s conftest.$ac_objext'
86603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86604   (eval $ac_try) 2>&5
86605   ac_status=$?
86606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86607   (exit $ac_status); }; }; then
86608   ac_header_compiler=yes
86609 else
86610   echo "$as_me: failed program was:" >&5
86611 sed 's/^/| /' conftest.$ac_ext >&5
86612
86613 ac_header_compiler=no
86614 fi
86615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86616 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86617 echo "${ECHO_T}$ac_header_compiler" >&6
86618
86619 # Is the header present?
86620 echo "$as_me:$LINENO: checking iconv.h presence" >&5
86621 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
86622 cat >conftest.$ac_ext <<_ACEOF
86623 /* confdefs.h.  */
86624 _ACEOF
86625 cat confdefs.h >>conftest.$ac_ext
86626 cat >>conftest.$ac_ext <<_ACEOF
86627 /* end confdefs.h.  */
86628 #include <iconv.h>
86629 _ACEOF
86630 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86631   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86632   ac_status=$?
86633   grep -v '^ *+' conftest.er1 >conftest.err
86634   rm -f conftest.er1
86635   cat conftest.err >&5
86636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86637   (exit $ac_status); } >/dev/null; then
86638   if test -s conftest.err; then
86639     ac_cpp_err=$ac_c_preproc_warn_flag
86640     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86641   else
86642     ac_cpp_err=
86643   fi
86644 else
86645   ac_cpp_err=yes
86646 fi
86647 if test -z "$ac_cpp_err"; then
86648   ac_header_preproc=yes
86649 else
86650   echo "$as_me: failed program was:" >&5
86651 sed 's/^/| /' conftest.$ac_ext >&5
86652
86653   ac_header_preproc=no
86654 fi
86655 rm -f conftest.err conftest.$ac_ext
86656 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86657 echo "${ECHO_T}$ac_header_preproc" >&6
86658
86659 # So?  What about this header?
86660 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86661   yes:no: )
86662     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
86663 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86664     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
86665 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
86666     ac_header_preproc=yes
86667     ;;
86668   no:yes:* )
86669     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
86670 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
86671     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
86672 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
86673     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
86674 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
86675     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
86676 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
86677     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
86678 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
86679     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
86680 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
86681     (
86682       cat <<\_ASBOX
86683 ## ----------------------------------------- ##
86684 ## Report this to the package-unused lists.  ##
86685 ## ----------------------------------------- ##
86686 _ASBOX
86687     ) |
86688       sed "s/^/$as_me: WARNING:     /" >&2
86689     ;;
86690 esac
86691 echo "$as_me:$LINENO: checking for iconv.h" >&5
86692 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86693 if test "${ac_cv_header_iconv_h+set}" = set; then
86694   echo $ECHO_N "(cached) $ECHO_C" >&6
86695 else
86696   ac_cv_header_iconv_h=$ac_header_preproc
86697 fi
86698 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86699 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86700
86701 fi
86702 if test $ac_cv_header_iconv_h = yes; then
86703   ac_has_iconv_h=yes
86704 else
86705   ac_has_iconv_h=no
86706 fi
86707
86708
86709     if test "${ac_cv_header_langinfo_h+set}" = set; then
86710   echo "$as_me:$LINENO: checking for langinfo.h" >&5
86711 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86712 if test "${ac_cv_header_langinfo_h+set}" = set; then
86713   echo $ECHO_N "(cached) $ECHO_C" >&6
86714 fi
86715 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86716 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86717 else
86718   # Is the header compilable?
86719 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
86720 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
86721 cat >conftest.$ac_ext <<_ACEOF
86722 /* confdefs.h.  */
86723 _ACEOF
86724 cat confdefs.h >>conftest.$ac_ext
86725 cat >>conftest.$ac_ext <<_ACEOF
86726 /* end confdefs.h.  */
86727 $ac_includes_default
86728 #include <langinfo.h>
86729 _ACEOF
86730 rm -f conftest.$ac_objext
86731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86732   (eval $ac_compile) 2>conftest.er1
86733   ac_status=$?
86734   grep -v '^ *+' conftest.er1 >conftest.err
86735   rm -f conftest.er1
86736   cat conftest.err >&5
86737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86738   (exit $ac_status); } &&
86739          { ac_try='test -z "$ac_c_werror_flag"
86740                          || test ! -s conftest.err'
86741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86742   (eval $ac_try) 2>&5
86743   ac_status=$?
86744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86745   (exit $ac_status); }; } &&
86746          { ac_try='test -s conftest.$ac_objext'
86747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86748   (eval $ac_try) 2>&5
86749   ac_status=$?
86750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86751   (exit $ac_status); }; }; then
86752   ac_header_compiler=yes
86753 else
86754   echo "$as_me: failed program was:" >&5
86755 sed 's/^/| /' conftest.$ac_ext >&5
86756
86757 ac_header_compiler=no
86758 fi
86759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86760 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86761 echo "${ECHO_T}$ac_header_compiler" >&6
86762
86763 # Is the header present?
86764 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
86765 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
86766 cat >conftest.$ac_ext <<_ACEOF
86767 /* confdefs.h.  */
86768 _ACEOF
86769 cat confdefs.h >>conftest.$ac_ext
86770 cat >>conftest.$ac_ext <<_ACEOF
86771 /* end confdefs.h.  */
86772 #include <langinfo.h>
86773 _ACEOF
86774 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86775   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86776   ac_status=$?
86777   grep -v '^ *+' conftest.er1 >conftest.err
86778   rm -f conftest.er1
86779   cat conftest.err >&5
86780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86781   (exit $ac_status); } >/dev/null; then
86782   if test -s conftest.err; then
86783     ac_cpp_err=$ac_c_preproc_warn_flag
86784     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86785   else
86786     ac_cpp_err=
86787   fi
86788 else
86789   ac_cpp_err=yes
86790 fi
86791 if test -z "$ac_cpp_err"; then
86792   ac_header_preproc=yes
86793 else
86794   echo "$as_me: failed program was:" >&5
86795 sed 's/^/| /' conftest.$ac_ext >&5
86796
86797   ac_header_preproc=no
86798 fi
86799 rm -f conftest.err conftest.$ac_ext
86800 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86801 echo "${ECHO_T}$ac_header_preproc" >&6
86802
86803 # So?  What about this header?
86804 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86805   yes:no: )
86806     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
86807 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86808     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
86809 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
86810     ac_header_preproc=yes
86811     ;;
86812   no:yes:* )
86813     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
86814 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
86815     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
86816 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
86817     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
86818 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
86819     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
86820 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
86821     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
86822 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
86823     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
86824 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
86825     (
86826       cat <<\_ASBOX
86827 ## ----------------------------------------- ##
86828 ## Report this to the package-unused lists.  ##
86829 ## ----------------------------------------- ##
86830 _ASBOX
86831     ) |
86832       sed "s/^/$as_me: WARNING:     /" >&2
86833     ;;
86834 esac
86835 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86836 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86837 if test "${ac_cv_header_langinfo_h+set}" = set; then
86838   echo $ECHO_N "(cached) $ECHO_C" >&6
86839 else
86840   ac_cv_header_langinfo_h=$ac_header_preproc
86841 fi
86842 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86843 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86844
86845 fi
86846 if test $ac_cv_header_langinfo_h = yes; then
86847   ac_has_langinfo_h=yes
86848 else
86849   ac_has_langinfo_h=no
86850 fi
86851
86852
86853
86854     # Check for existence of libiconv.a providing XPG2 wchar_t support.
86855     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
86856 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
86857 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
86858   echo $ECHO_N "(cached) $ECHO_C" >&6
86859 else
86860   ac_check_lib_save_LIBS=$LIBS
86861 LIBS="-liconv  $LIBS"
86862 if test x$gcc_no_link = xyes; then
86863   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86865    { (exit 1); exit 1; }; }
86866 fi
86867 cat >conftest.$ac_ext <<_ACEOF
86868 /* confdefs.h.  */
86869 _ACEOF
86870 cat confdefs.h >>conftest.$ac_ext
86871 cat >>conftest.$ac_ext <<_ACEOF
86872 /* end confdefs.h.  */
86873
86874 /* Override any gcc2 internal prototype to avoid an error.  */
86875 #ifdef __cplusplus
86876 extern "C"
86877 #endif
86878 /* We use char because int might match the return type of a gcc2
86879    builtin and then its argument prototype would still apply.  */
86880 char iconv ();
86881 int
86882 main ()
86883 {
86884 iconv ();
86885   ;
86886   return 0;
86887 }
86888 _ACEOF
86889 rm -f conftest.$ac_objext conftest$ac_exeext
86890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86891   (eval $ac_link) 2>conftest.er1
86892   ac_status=$?
86893   grep -v '^ *+' conftest.er1 >conftest.err
86894   rm -f conftest.er1
86895   cat conftest.err >&5
86896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86897   (exit $ac_status); } &&
86898          { ac_try='test -z "$ac_c_werror_flag"
86899                          || test ! -s conftest.err'
86900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86901   (eval $ac_try) 2>&5
86902   ac_status=$?
86903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86904   (exit $ac_status); }; } &&
86905          { ac_try='test -s conftest$ac_exeext'
86906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86907   (eval $ac_try) 2>&5
86908   ac_status=$?
86909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86910   (exit $ac_status); }; }; then
86911   ac_cv_lib_iconv_iconv=yes
86912 else
86913   echo "$as_me: failed program was:" >&5
86914 sed 's/^/| /' conftest.$ac_ext >&5
86915
86916 ac_cv_lib_iconv_iconv=no
86917 fi
86918 rm -f conftest.err conftest.$ac_objext \
86919       conftest$ac_exeext conftest.$ac_ext
86920 LIBS=$ac_check_lib_save_LIBS
86921 fi
86922 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
86923 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
86924 if test $ac_cv_lib_iconv_iconv = yes; then
86925   LIBICONV="-liconv"
86926 fi
86927
86928     ac_save_LIBS="$LIBS"
86929     LIBS="$LIBS $LIBICONV"
86930
86931
86932
86933
86934
86935
86936 for ac_func in iconv_open iconv_close iconv nl_langinfo
86937 do
86938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86939 echo "$as_me:$LINENO: checking for $ac_func" >&5
86940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86941 if eval "test \"\${$as_ac_var+set}\" = set"; then
86942   echo $ECHO_N "(cached) $ECHO_C" >&6
86943 else
86944   if test x$gcc_no_link = xyes; then
86945   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86947    { (exit 1); exit 1; }; }
86948 fi
86949 cat >conftest.$ac_ext <<_ACEOF
86950 /* confdefs.h.  */
86951 _ACEOF
86952 cat confdefs.h >>conftest.$ac_ext
86953 cat >>conftest.$ac_ext <<_ACEOF
86954 /* end confdefs.h.  */
86955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86956    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86957 #define $ac_func innocuous_$ac_func
86958
86959 /* System header to define __stub macros and hopefully few prototypes,
86960     which can conflict with char $ac_func (); below.
86961     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86962     <limits.h> exists even on freestanding compilers.  */
86963
86964 #ifdef __STDC__
86965 # include <limits.h>
86966 #else
86967 # include <assert.h>
86968 #endif
86969
86970 #undef $ac_func
86971
86972 /* Override any gcc2 internal prototype to avoid an error.  */
86973 #ifdef __cplusplus
86974 extern "C"
86975 {
86976 #endif
86977 /* We use char because int might match the return type of a gcc2
86978    builtin and then its argument prototype would still apply.  */
86979 char $ac_func ();
86980 /* The GNU C library defines this for functions which it implements
86981     to always fail with ENOSYS.  Some functions are actually named
86982     something starting with __ and the normal name is an alias.  */
86983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86984 choke me
86985 #else
86986 char (*f) () = $ac_func;
86987 #endif
86988 #ifdef __cplusplus
86989 }
86990 #endif
86991
86992 int
86993 main ()
86994 {
86995 return f != $ac_func;
86996   ;
86997   return 0;
86998 }
86999 _ACEOF
87000 rm -f conftest.$ac_objext conftest$ac_exeext
87001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87002   (eval $ac_link) 2>conftest.er1
87003   ac_status=$?
87004   grep -v '^ *+' conftest.er1 >conftest.err
87005   rm -f conftest.er1
87006   cat conftest.err >&5
87007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87008   (exit $ac_status); } &&
87009          { ac_try='test -z "$ac_c_werror_flag"
87010                          || test ! -s conftest.err'
87011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87012   (eval $ac_try) 2>&5
87013   ac_status=$?
87014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87015   (exit $ac_status); }; } &&
87016          { ac_try='test -s conftest$ac_exeext'
87017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87018   (eval $ac_try) 2>&5
87019   ac_status=$?
87020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87021   (exit $ac_status); }; }; then
87022   eval "$as_ac_var=yes"
87023 else
87024   echo "$as_me: failed program was:" >&5
87025 sed 's/^/| /' conftest.$ac_ext >&5
87026
87027 eval "$as_ac_var=no"
87028 fi
87029 rm -f conftest.err conftest.$ac_objext \
87030       conftest$ac_exeext conftest.$ac_ext
87031 fi
87032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87034 if test `eval echo '${'$as_ac_var'}'` = yes; then
87035   cat >>confdefs.h <<_ACEOF
87036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87037 _ACEOF
87038  ac_XPG2funcs=yes
87039 else
87040   ac_XPG2funcs=no
87041 fi
87042 done
87043
87044
87045     LIBS="$ac_save_LIBS"
87046
87047     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
87048 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
87049     if test x"$ac_has_iconv_h" = xyes &&
87050        test x"$ac_has_langinfo_h" = xyes &&
87051        test x"$ac_XPG2funcs" = xyes;
87052     then
87053       ac_XPG2_wchar_t=yes
87054     else
87055       ac_XPG2_wchar_t=no
87056     fi
87057     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
87058 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
87059
87060     # At the moment, only enable wchar_t specializations if all the
87061     # above support is present.
87062     if test x"$ac_isoC99_wchar_t" = xyes &&
87063        test x"$ac_XPG2_wchar_t" = xyes;
87064     then
87065       cat >>confdefs.h <<\_ACEOF
87066 #define _GLIBCXX_USE_WCHAR_T 1
87067 _ACEOF
87068
87069       enable_wchar_t=yes
87070     fi
87071   fi
87072   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
87073 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
87074   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
87075 echo "${ECHO_T}$enable_wchar_t" >&6
87076
87077     cat >>confdefs.h <<\_ACEOF
87078 #define HAVE_COPYSIGN 1
87079 _ACEOF
87080
87081     cat >>confdefs.h <<\_ACEOF
87082 #define HAVE_COPYSIGNF 1
87083 _ACEOF
87084
87085     cat >>confdefs.h <<\_ACEOF
87086 #define HAVE_FINITEF 1
87087 _ACEOF
87088
87089     cat >>confdefs.h <<\_ACEOF
87090 #define HAVE_FINITE 1
87091 _ACEOF
87092
87093     cat >>confdefs.h <<\_ACEOF
87094 #define HAVE_FREXPF 1
87095 _ACEOF
87096
87097     cat >>confdefs.h <<\_ACEOF
87098 #define HAVE_HYPOTF 1
87099 _ACEOF
87100
87101     cat >>confdefs.h <<\_ACEOF
87102 #define HAVE_ISINF 1
87103 _ACEOF
87104
87105     cat >>confdefs.h <<\_ACEOF
87106 #define HAVE_ISINFF 1
87107 _ACEOF
87108
87109     cat >>confdefs.h <<\_ACEOF
87110 #define HAVE_ISNAN 1
87111 _ACEOF
87112
87113     cat >>confdefs.h <<\_ACEOF
87114 #define HAVE_ISNANF 1
87115 _ACEOF
87116
87117     if test x"long_double_math_on_this_cpu" = x"yes"; then
87118       cat >>confdefs.h <<\_ACEOF
87119 #define HAVE_FINITEL 1
87120 _ACEOF
87121
87122       cat >>confdefs.h <<\_ACEOF
87123 #define HAVE_ISINFL 1
87124 _ACEOF
87125
87126       cat >>confdefs.h <<\_ACEOF
87127 #define HAVE_ISNANL 1
87128 _ACEOF
87129
87130     fi
87131     ;;
87132   *-netware)
87133
87134
87135
87136
87137
87138
87139
87140
87141 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
87142       sys/types.h locale.h float.h inttypes.h
87143 do
87144 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87145 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87146   echo "$as_me:$LINENO: checking for $ac_header" >&5
87147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87148 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87149   echo $ECHO_N "(cached) $ECHO_C" >&6
87150 fi
87151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87152 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87153 else
87154   # Is the header compilable?
87155 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87156 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87157 cat >conftest.$ac_ext <<_ACEOF
87158 /* confdefs.h.  */
87159 _ACEOF
87160 cat confdefs.h >>conftest.$ac_ext
87161 cat >>conftest.$ac_ext <<_ACEOF
87162 /* end confdefs.h.  */
87163 $ac_includes_default
87164 #include <$ac_header>
87165 _ACEOF
87166 rm -f conftest.$ac_objext
87167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87168   (eval $ac_compile) 2>conftest.er1
87169   ac_status=$?
87170   grep -v '^ *+' conftest.er1 >conftest.err
87171   rm -f conftest.er1
87172   cat conftest.err >&5
87173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87174   (exit $ac_status); } &&
87175          { ac_try='test -z "$ac_c_werror_flag"
87176                          || test ! -s conftest.err'
87177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87178   (eval $ac_try) 2>&5
87179   ac_status=$?
87180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87181   (exit $ac_status); }; } &&
87182          { ac_try='test -s conftest.$ac_objext'
87183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87184   (eval $ac_try) 2>&5
87185   ac_status=$?
87186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87187   (exit $ac_status); }; }; then
87188   ac_header_compiler=yes
87189 else
87190   echo "$as_me: failed program was:" >&5
87191 sed 's/^/| /' conftest.$ac_ext >&5
87192
87193 ac_header_compiler=no
87194 fi
87195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87196 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87197 echo "${ECHO_T}$ac_header_compiler" >&6
87198
87199 # Is the header present?
87200 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87201 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87202 cat >conftest.$ac_ext <<_ACEOF
87203 /* confdefs.h.  */
87204 _ACEOF
87205 cat confdefs.h >>conftest.$ac_ext
87206 cat >>conftest.$ac_ext <<_ACEOF
87207 /* end confdefs.h.  */
87208 #include <$ac_header>
87209 _ACEOF
87210 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87211   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87212   ac_status=$?
87213   grep -v '^ *+' conftest.er1 >conftest.err
87214   rm -f conftest.er1
87215   cat conftest.err >&5
87216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87217   (exit $ac_status); } >/dev/null; then
87218   if test -s conftest.err; then
87219     ac_cpp_err=$ac_c_preproc_warn_flag
87220     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87221   else
87222     ac_cpp_err=
87223   fi
87224 else
87225   ac_cpp_err=yes
87226 fi
87227 if test -z "$ac_cpp_err"; then
87228   ac_header_preproc=yes
87229 else
87230   echo "$as_me: failed program was:" >&5
87231 sed 's/^/| /' conftest.$ac_ext >&5
87232
87233   ac_header_preproc=no
87234 fi
87235 rm -f conftest.err conftest.$ac_ext
87236 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87237 echo "${ECHO_T}$ac_header_preproc" >&6
87238
87239 # So?  What about this header?
87240 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87241   yes:no: )
87242     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87243 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87244     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87245 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87246     ac_header_preproc=yes
87247     ;;
87248   no:yes:* )
87249     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87250 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87251     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
87252 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
87253     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87254 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87255     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
87256 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
87257     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87258 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87259     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87260 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87261     (
87262       cat <<\_ASBOX
87263 ## ----------------------------------------- ##
87264 ## Report this to the package-unused lists.  ##
87265 ## ----------------------------------------- ##
87266 _ASBOX
87267     ) |
87268       sed "s/^/$as_me: WARNING:     /" >&2
87269     ;;
87270 esac
87271 echo "$as_me:$LINENO: checking for $ac_header" >&5
87272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87274   echo $ECHO_N "(cached) $ECHO_C" >&6
87275 else
87276   eval "$as_ac_Header=\$ac_header_preproc"
87277 fi
87278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87279 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87280
87281 fi
87282 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87283   cat >>confdefs.h <<_ACEOF
87284 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87285 _ACEOF
87286
87287 fi
87288
87289 done
87290
87291     SECTION_FLAGS='-ffunction-sections -fdata-sections'
87292
87293
87294   # If we're not using GNU ld, then there's no point in even trying these
87295   # tests.  Check for that first.  We should have already tested for gld
87296   # by now (in libtool), but require it now just to be safe...
87297   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87298   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87299
87300
87301
87302   # The name set by libtool depends on the version of libtool.  Shame on us
87303   # for depending on an impl detail, but c'est la vie.  Older versions used
87304   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87305   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87306   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
87307   # set (hence we're using an older libtool), then set it.
87308   if test x${with_gnu_ld+set} != xset; then
87309     if test x${ac_cv_prog_gnu_ld+set} != xset; then
87310       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
87311       with_gnu_ld=no
87312     else
87313       with_gnu_ld=$ac_cv_prog_gnu_ld
87314     fi
87315   fi
87316
87317   # Start by getting the version number.  I think the libtool test already
87318   # does some of this, but throws away the result.
87319
87320   ldver=`$LD --version 2>/dev/null | head -1 | \
87321          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
87322
87323   glibcxx_gnu_ld_version=`echo $ldver | \
87324          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87325
87326   # Set --gc-sections.
87327   if test "$with_gnu_ld" = "notbroken"; then
87328     # GNU ld it is!  Joy and bunny rabbits!
87329
87330     # All these tests are for C++; save the language and the compiler flags.
87331     # Need to do this so that g++ won't try to link in libstdc++
87332     ac_test_CFLAGS="${CFLAGS+set}"
87333     ac_save_CFLAGS="$CFLAGS"
87334     CFLAGS='-x c++  -Wl,--gc-sections'
87335
87336     # Check for -Wl,--gc-sections
87337     # XXX This test is broken at the moment, as symbols required for linking
87338     # are now in libsupc++ (not built yet).  In addition, this test has
87339     # cored on solaris in the past.  In addition, --gc-sections doesn't
87340     # really work at the moment (keeps on discarding used sections, first
87341     # .eh_frame and now some of the glibc sections for iconv).
87342     # Bzzzzt.  Thanks for playing, maybe next time.
87343     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87344 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87345     if test "$cross_compiling" = yes; then
87346   ac_sectionLDflags=yes
87347 else
87348   cat >conftest.$ac_ext <<_ACEOF
87349 /* confdefs.h.  */
87350 _ACEOF
87351 cat confdefs.h >>conftest.$ac_ext
87352 cat >>conftest.$ac_ext <<_ACEOF
87353 /* end confdefs.h.  */
87354
87355      int main(void)
87356      {
87357        try { throw 1; }
87358        catch (...) { };
87359        return 0;
87360      }
87361
87362 _ACEOF
87363 rm -f conftest$ac_exeext
87364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87365   (eval $ac_link) 2>&5
87366   ac_status=$?
87367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87368   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
87369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87370   (eval $ac_try) 2>&5
87371   ac_status=$?
87372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87373   (exit $ac_status); }; }; then
87374   ac_sectionLDflags=yes
87375 else
87376   echo "$as_me: program exited with status $ac_status" >&5
87377 echo "$as_me: failed program was:" >&5
87378 sed 's/^/| /' conftest.$ac_ext >&5
87379
87380 ( exit $ac_status )
87381 ac_sectionLDflags=no
87382 fi
87383 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
87384 fi
87385     if test "$ac_test_CFLAGS" = set; then
87386       CFLAGS="$ac_save_CFLAGS"
87387     else
87388       # this is the suspicious part
87389       CFLAGS=''
87390     fi
87391     if test "$ac_sectionLDflags" = "yes"; then
87392       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87393     fi
87394     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
87395 echo "${ECHO_T}$ac_sectionLDflags" >&6
87396   fi
87397
87398   # Set linker optimization flags.
87399   if test x"$with_gnu_ld" = x"yes"; then
87400     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87401   fi
87402
87403
87404
87405
87406
87407
87408 echo "$as_me:$LINENO: checking for main in -lm" >&5
87409 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
87410 if test "${ac_cv_lib_m_main+set}" = set; then
87411   echo $ECHO_N "(cached) $ECHO_C" >&6
87412 else
87413   ac_check_lib_save_LIBS=$LIBS
87414 LIBS="-lm  $LIBS"
87415 if test x$gcc_no_link = xyes; then
87416   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87418    { (exit 1); exit 1; }; }
87419 fi
87420 cat >conftest.$ac_ext <<_ACEOF
87421 /* confdefs.h.  */
87422 _ACEOF
87423 cat confdefs.h >>conftest.$ac_ext
87424 cat >>conftest.$ac_ext <<_ACEOF
87425 /* end confdefs.h.  */
87426
87427
87428 int
87429 main ()
87430 {
87431 main ();
87432   ;
87433   return 0;
87434 }
87435 _ACEOF
87436 rm -f conftest.$ac_objext conftest$ac_exeext
87437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87438   (eval $ac_link) 2>conftest.er1
87439   ac_status=$?
87440   grep -v '^ *+' conftest.er1 >conftest.err
87441   rm -f conftest.er1
87442   cat conftest.err >&5
87443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87444   (exit $ac_status); } &&
87445          { ac_try='test -z "$ac_c_werror_flag"
87446                          || test ! -s conftest.err'
87447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87448   (eval $ac_try) 2>&5
87449   ac_status=$?
87450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87451   (exit $ac_status); }; } &&
87452          { ac_try='test -s conftest$ac_exeext'
87453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87454   (eval $ac_try) 2>&5
87455   ac_status=$?
87456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87457   (exit $ac_status); }; }; then
87458   ac_cv_lib_m_main=yes
87459 else
87460   echo "$as_me: failed program was:" >&5
87461 sed 's/^/| /' conftest.$ac_ext >&5
87462
87463 ac_cv_lib_m_main=no
87464 fi
87465 rm -f conftest.err conftest.$ac_objext \
87466       conftest$ac_exeext conftest.$ac_ext
87467 LIBS=$ac_check_lib_save_LIBS
87468 fi
87469 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
87470 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
87471 if test $ac_cv_lib_m_main = yes; then
87472   cat >>confdefs.h <<_ACEOF
87473 #define HAVE_LIBM 1
87474 _ACEOF
87475
87476   LIBS="-lm $LIBS"
87477
87478 fi
87479
87480
87481 for ac_func in copysignf
87482 do
87483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87484 echo "$as_me:$LINENO: checking for $ac_func" >&5
87485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87486 if eval "test \"\${$as_ac_var+set}\" = set"; then
87487   echo $ECHO_N "(cached) $ECHO_C" >&6
87488 else
87489   if test x$gcc_no_link = xyes; then
87490   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87492    { (exit 1); exit 1; }; }
87493 fi
87494 cat >conftest.$ac_ext <<_ACEOF
87495 /* confdefs.h.  */
87496 _ACEOF
87497 cat confdefs.h >>conftest.$ac_ext
87498 cat >>conftest.$ac_ext <<_ACEOF
87499 /* end confdefs.h.  */
87500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87501    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87502 #define $ac_func innocuous_$ac_func
87503
87504 /* System header to define __stub macros and hopefully few prototypes,
87505     which can conflict with char $ac_func (); below.
87506     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87507     <limits.h> exists even on freestanding compilers.  */
87508
87509 #ifdef __STDC__
87510 # include <limits.h>
87511 #else
87512 # include <assert.h>
87513 #endif
87514
87515 #undef $ac_func
87516
87517 /* Override any gcc2 internal prototype to avoid an error.  */
87518 #ifdef __cplusplus
87519 extern "C"
87520 {
87521 #endif
87522 /* We use char because int might match the return type of a gcc2
87523    builtin and then its argument prototype would still apply.  */
87524 char $ac_func ();
87525 /* The GNU C library defines this for functions which it implements
87526     to always fail with ENOSYS.  Some functions are actually named
87527     something starting with __ and the normal name is an alias.  */
87528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87529 choke me
87530 #else
87531 char (*f) () = $ac_func;
87532 #endif
87533 #ifdef __cplusplus
87534 }
87535 #endif
87536
87537 int
87538 main ()
87539 {
87540 return f != $ac_func;
87541   ;
87542   return 0;
87543 }
87544 _ACEOF
87545 rm -f conftest.$ac_objext conftest$ac_exeext
87546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87547   (eval $ac_link) 2>conftest.er1
87548   ac_status=$?
87549   grep -v '^ *+' conftest.er1 >conftest.err
87550   rm -f conftest.er1
87551   cat conftest.err >&5
87552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87553   (exit $ac_status); } &&
87554          { ac_try='test -z "$ac_c_werror_flag"
87555                          || test ! -s conftest.err'
87556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87557   (eval $ac_try) 2>&5
87558   ac_status=$?
87559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87560   (exit $ac_status); }; } &&
87561          { ac_try='test -s conftest$ac_exeext'
87562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87563   (eval $ac_try) 2>&5
87564   ac_status=$?
87565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87566   (exit $ac_status); }; }; then
87567   eval "$as_ac_var=yes"
87568 else
87569   echo "$as_me: failed program was:" >&5
87570 sed 's/^/| /' conftest.$ac_ext >&5
87571
87572 eval "$as_ac_var=no"
87573 fi
87574 rm -f conftest.err conftest.$ac_objext \
87575       conftest$ac_exeext conftest.$ac_ext
87576 fi
87577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87579 if test `eval echo '${'$as_ac_var'}'` = yes; then
87580   cat >>confdefs.h <<_ACEOF
87581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87582 _ACEOF
87583
87584 else
87585   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87586 fi
87587 done
87588
87589
87590
87591 for ac_func in __signbit
87592 do
87593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87594 echo "$as_me:$LINENO: checking for $ac_func" >&5
87595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87596 if eval "test \"\${$as_ac_var+set}\" = set"; then
87597   echo $ECHO_N "(cached) $ECHO_C" >&6
87598 else
87599   if test x$gcc_no_link = xyes; then
87600   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87602    { (exit 1); exit 1; }; }
87603 fi
87604 cat >conftest.$ac_ext <<_ACEOF
87605 /* confdefs.h.  */
87606 _ACEOF
87607 cat confdefs.h >>conftest.$ac_ext
87608 cat >>conftest.$ac_ext <<_ACEOF
87609 /* end confdefs.h.  */
87610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87611    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87612 #define $ac_func innocuous_$ac_func
87613
87614 /* System header to define __stub macros and hopefully few prototypes,
87615     which can conflict with char $ac_func (); below.
87616     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87617     <limits.h> exists even on freestanding compilers.  */
87618
87619 #ifdef __STDC__
87620 # include <limits.h>
87621 #else
87622 # include <assert.h>
87623 #endif
87624
87625 #undef $ac_func
87626
87627 /* Override any gcc2 internal prototype to avoid an error.  */
87628 #ifdef __cplusplus
87629 extern "C"
87630 {
87631 #endif
87632 /* We use char because int might match the return type of a gcc2
87633    builtin and then its argument prototype would still apply.  */
87634 char $ac_func ();
87635 /* The GNU C library defines this for functions which it implements
87636     to always fail with ENOSYS.  Some functions are actually named
87637     something starting with __ and the normal name is an alias.  */
87638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87639 choke me
87640 #else
87641 char (*f) () = $ac_func;
87642 #endif
87643 #ifdef __cplusplus
87644 }
87645 #endif
87646
87647 int
87648 main ()
87649 {
87650 return f != $ac_func;
87651   ;
87652   return 0;
87653 }
87654 _ACEOF
87655 rm -f conftest.$ac_objext conftest$ac_exeext
87656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87657   (eval $ac_link) 2>conftest.er1
87658   ac_status=$?
87659   grep -v '^ *+' conftest.er1 >conftest.err
87660   rm -f conftest.er1
87661   cat conftest.err >&5
87662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87663   (exit $ac_status); } &&
87664          { ac_try='test -z "$ac_c_werror_flag"
87665                          || test ! -s conftest.err'
87666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87667   (eval $ac_try) 2>&5
87668   ac_status=$?
87669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87670   (exit $ac_status); }; } &&
87671          { ac_try='test -s conftest$ac_exeext'
87672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87673   (eval $ac_try) 2>&5
87674   ac_status=$?
87675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87676   (exit $ac_status); }; }; then
87677   eval "$as_ac_var=yes"
87678 else
87679   echo "$as_me: failed program was:" >&5
87680 sed 's/^/| /' conftest.$ac_ext >&5
87681
87682 eval "$as_ac_var=no"
87683 fi
87684 rm -f conftest.err conftest.$ac_objext \
87685       conftest$ac_exeext conftest.$ac_ext
87686 fi
87687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87689 if test `eval echo '${'$as_ac_var'}'` = yes; then
87690   cat >>confdefs.h <<_ACEOF
87691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87692 _ACEOF
87693
87694 else
87695   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87696 fi
87697 done
87698
87699
87700
87701 for ac_func in __signbitf
87702 do
87703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87704 echo "$as_me:$LINENO: checking for $ac_func" >&5
87705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87706 if eval "test \"\${$as_ac_var+set}\" = set"; then
87707   echo $ECHO_N "(cached) $ECHO_C" >&6
87708 else
87709   if test x$gcc_no_link = xyes; then
87710   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87712    { (exit 1); exit 1; }; }
87713 fi
87714 cat >conftest.$ac_ext <<_ACEOF
87715 /* confdefs.h.  */
87716 _ACEOF
87717 cat confdefs.h >>conftest.$ac_ext
87718 cat >>conftest.$ac_ext <<_ACEOF
87719 /* end confdefs.h.  */
87720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87721    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87722 #define $ac_func innocuous_$ac_func
87723
87724 /* System header to define __stub macros and hopefully few prototypes,
87725     which can conflict with char $ac_func (); below.
87726     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87727     <limits.h> exists even on freestanding compilers.  */
87728
87729 #ifdef __STDC__
87730 # include <limits.h>
87731 #else
87732 # include <assert.h>
87733 #endif
87734
87735 #undef $ac_func
87736
87737 /* Override any gcc2 internal prototype to avoid an error.  */
87738 #ifdef __cplusplus
87739 extern "C"
87740 {
87741 #endif
87742 /* We use char because int might match the return type of a gcc2
87743    builtin and then its argument prototype would still apply.  */
87744 char $ac_func ();
87745 /* The GNU C library defines this for functions which it implements
87746     to always fail with ENOSYS.  Some functions are actually named
87747     something starting with __ and the normal name is an alias.  */
87748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87749 choke me
87750 #else
87751 char (*f) () = $ac_func;
87752 #endif
87753 #ifdef __cplusplus
87754 }
87755 #endif
87756
87757 int
87758 main ()
87759 {
87760 return f != $ac_func;
87761   ;
87762   return 0;
87763 }
87764 _ACEOF
87765 rm -f conftest.$ac_objext conftest$ac_exeext
87766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87767   (eval $ac_link) 2>conftest.er1
87768   ac_status=$?
87769   grep -v '^ *+' conftest.er1 >conftest.err
87770   rm -f conftest.er1
87771   cat conftest.err >&5
87772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87773   (exit $ac_status); } &&
87774          { ac_try='test -z "$ac_c_werror_flag"
87775                          || test ! -s conftest.err'
87776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87777   (eval $ac_try) 2>&5
87778   ac_status=$?
87779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87780   (exit $ac_status); }; } &&
87781          { ac_try='test -s conftest$ac_exeext'
87782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87783   (eval $ac_try) 2>&5
87784   ac_status=$?
87785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87786   (exit $ac_status); }; }; then
87787   eval "$as_ac_var=yes"
87788 else
87789   echo "$as_me: failed program was:" >&5
87790 sed 's/^/| /' conftest.$ac_ext >&5
87791
87792 eval "$as_ac_var=no"
87793 fi
87794 rm -f conftest.err conftest.$ac_objext \
87795       conftest$ac_exeext conftest.$ac_ext
87796 fi
87797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87799 if test `eval echo '${'$as_ac_var'}'` = yes; then
87800   cat >>confdefs.h <<_ACEOF
87801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87802 _ACEOF
87803
87804 else
87805   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87806 fi
87807 done
87808
87809
87810           if test x$ac_cv_func_copysignl = x"yes"; then
87811
87812 for ac_func in __signbitl
87813 do
87814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87815 echo "$as_me:$LINENO: checking for $ac_func" >&5
87816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87817 if eval "test \"\${$as_ac_var+set}\" = set"; then
87818   echo $ECHO_N "(cached) $ECHO_C" >&6
87819 else
87820   if test x$gcc_no_link = xyes; then
87821   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87823    { (exit 1); exit 1; }; }
87824 fi
87825 cat >conftest.$ac_ext <<_ACEOF
87826 /* confdefs.h.  */
87827 _ACEOF
87828 cat confdefs.h >>conftest.$ac_ext
87829 cat >>conftest.$ac_ext <<_ACEOF
87830 /* end confdefs.h.  */
87831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87832    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87833 #define $ac_func innocuous_$ac_func
87834
87835 /* System header to define __stub macros and hopefully few prototypes,
87836     which can conflict with char $ac_func (); below.
87837     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87838     <limits.h> exists even on freestanding compilers.  */
87839
87840 #ifdef __STDC__
87841 # include <limits.h>
87842 #else
87843 # include <assert.h>
87844 #endif
87845
87846 #undef $ac_func
87847
87848 /* Override any gcc2 internal prototype to avoid an error.  */
87849 #ifdef __cplusplus
87850 extern "C"
87851 {
87852 #endif
87853 /* We use char because int might match the return type of a gcc2
87854    builtin and then its argument prototype would still apply.  */
87855 char $ac_func ();
87856 /* The GNU C library defines this for functions which it implements
87857     to always fail with ENOSYS.  Some functions are actually named
87858     something starting with __ and the normal name is an alias.  */
87859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87860 choke me
87861 #else
87862 char (*f) () = $ac_func;
87863 #endif
87864 #ifdef __cplusplus
87865 }
87866 #endif
87867
87868 int
87869 main ()
87870 {
87871 return f != $ac_func;
87872   ;
87873   return 0;
87874 }
87875 _ACEOF
87876 rm -f conftest.$ac_objext conftest$ac_exeext
87877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87878   (eval $ac_link) 2>conftest.er1
87879   ac_status=$?
87880   grep -v '^ *+' conftest.er1 >conftest.err
87881   rm -f conftest.er1
87882   cat conftest.err >&5
87883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87884   (exit $ac_status); } &&
87885          { ac_try='test -z "$ac_c_werror_flag"
87886                          || test ! -s conftest.err'
87887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87888   (eval $ac_try) 2>&5
87889   ac_status=$?
87890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87891   (exit $ac_status); }; } &&
87892          { ac_try='test -s conftest$ac_exeext'
87893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87894   (eval $ac_try) 2>&5
87895   ac_status=$?
87896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87897   (exit $ac_status); }; }; then
87898   eval "$as_ac_var=yes"
87899 else
87900   echo "$as_me: failed program was:" >&5
87901 sed 's/^/| /' conftest.$ac_ext >&5
87902
87903 eval "$as_ac_var=no"
87904 fi
87905 rm -f conftest.err conftest.$ac_objext \
87906       conftest$ac_exeext conftest.$ac_ext
87907 fi
87908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87910 if test `eval echo '${'$as_ac_var'}'` = yes; then
87911   cat >>confdefs.h <<_ACEOF
87912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87913 _ACEOF
87914
87915 else
87916   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87917 fi
87918 done
87919
87920   fi
87921
87922   # Used in libmath/Makefile.am.
87923   if test -n "$LIBMATHOBJS"; then
87924     need_libmath=yes
87925   fi
87926
87927
87928
87929   # Test wchar.h for mbstate_t, which is needed for char_traits and
87930   # others even if wchar_t support is not on.
87931   echo "$as_me:$LINENO: checking for mbstate_t" >&5
87932 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
87933   cat >conftest.$ac_ext <<_ACEOF
87934 /* confdefs.h.  */
87935 _ACEOF
87936 cat confdefs.h >>conftest.$ac_ext
87937 cat >>conftest.$ac_ext <<_ACEOF
87938 /* end confdefs.h.  */
87939 #include <wchar.h>
87940 int
87941 main ()
87942 {
87943 mbstate_t teststate;
87944   ;
87945   return 0;
87946 }
87947 _ACEOF
87948 rm -f conftest.$ac_objext
87949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87950   (eval $ac_compile) 2>conftest.er1
87951   ac_status=$?
87952   grep -v '^ *+' conftest.er1 >conftest.err
87953   rm -f conftest.er1
87954   cat conftest.err >&5
87955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87956   (exit $ac_status); } &&
87957          { ac_try='test -z "$ac_c_werror_flag"
87958                          || test ! -s conftest.err'
87959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87960   (eval $ac_try) 2>&5
87961   ac_status=$?
87962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87963   (exit $ac_status); }; } &&
87964          { ac_try='test -s conftest.$ac_objext'
87965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87966   (eval $ac_try) 2>&5
87967   ac_status=$?
87968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87969   (exit $ac_status); }; }; then
87970   have_mbstate_t=yes
87971 else
87972   echo "$as_me: failed program was:" >&5
87973 sed 's/^/| /' conftest.$ac_ext >&5
87974
87975 have_mbstate_t=no
87976 fi
87977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87978   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
87979 echo "${ECHO_T}$have_mbstate_t" >&6
87980   if test x"$have_mbstate_t" = xyes; then
87981     cat >>confdefs.h <<\_ACEOF
87982 #define HAVE_MBSTATE_T 1
87983 _ACEOF
87984
87985   fi
87986
87987   # Sanity check for existence of ISO C99 headers for extended encoding.
87988
87989 for ac_header in wchar.h
87990 do
87991 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87992 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87993   echo "$as_me:$LINENO: checking for $ac_header" >&5
87994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87996   echo $ECHO_N "(cached) $ECHO_C" >&6
87997 fi
87998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87999 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88000 else
88001   # Is the header compilable?
88002 echo "$as_me:$LINENO: checking $ac_header usability" >&5
88003 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
88004 cat >conftest.$ac_ext <<_ACEOF
88005 /* confdefs.h.  */
88006 _ACEOF
88007 cat confdefs.h >>conftest.$ac_ext
88008 cat >>conftest.$ac_ext <<_ACEOF
88009 /* end confdefs.h.  */
88010 $ac_includes_default
88011 #include <$ac_header>
88012 _ACEOF
88013 rm -f conftest.$ac_objext
88014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88015   (eval $ac_compile) 2>conftest.er1
88016   ac_status=$?
88017   grep -v '^ *+' conftest.er1 >conftest.err
88018   rm -f conftest.er1
88019   cat conftest.err >&5
88020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88021   (exit $ac_status); } &&
88022          { ac_try='test -z "$ac_c_werror_flag"
88023                          || test ! -s conftest.err'
88024   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88025   (eval $ac_try) 2>&5
88026   ac_status=$?
88027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88028   (exit $ac_status); }; } &&
88029          { ac_try='test -s conftest.$ac_objext'
88030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88031   (eval $ac_try) 2>&5
88032   ac_status=$?
88033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88034   (exit $ac_status); }; }; then
88035   ac_header_compiler=yes
88036 else
88037   echo "$as_me: failed program was:" >&5
88038 sed 's/^/| /' conftest.$ac_ext >&5
88039
88040 ac_header_compiler=no
88041 fi
88042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88043 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88044 echo "${ECHO_T}$ac_header_compiler" >&6
88045
88046 # Is the header present?
88047 echo "$as_me:$LINENO: checking $ac_header presence" >&5
88048 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
88049 cat >conftest.$ac_ext <<_ACEOF
88050 /* confdefs.h.  */
88051 _ACEOF
88052 cat confdefs.h >>conftest.$ac_ext
88053 cat >>conftest.$ac_ext <<_ACEOF
88054 /* end confdefs.h.  */
88055 #include <$ac_header>
88056 _ACEOF
88057 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88058   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88059   ac_status=$?
88060   grep -v '^ *+' conftest.er1 >conftest.err
88061   rm -f conftest.er1
88062   cat conftest.err >&5
88063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88064   (exit $ac_status); } >/dev/null; then
88065   if test -s conftest.err; then
88066     ac_cpp_err=$ac_c_preproc_warn_flag
88067     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88068   else
88069     ac_cpp_err=
88070   fi
88071 else
88072   ac_cpp_err=yes
88073 fi
88074 if test -z "$ac_cpp_err"; then
88075   ac_header_preproc=yes
88076 else
88077   echo "$as_me: failed program was:" >&5
88078 sed 's/^/| /' conftest.$ac_ext >&5
88079
88080   ac_header_preproc=no
88081 fi
88082 rm -f conftest.err conftest.$ac_ext
88083 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88084 echo "${ECHO_T}$ac_header_preproc" >&6
88085
88086 # So?  What about this header?
88087 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88088   yes:no: )
88089     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88090 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88091     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88092 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88093     ac_header_preproc=yes
88094     ;;
88095   no:yes:* )
88096     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88097 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88098     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
88099 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
88100     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88101 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88102     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
88103 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
88104     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88105 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88106     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88107 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88108     (
88109       cat <<\_ASBOX
88110 ## ----------------------------------------- ##
88111 ## Report this to the package-unused lists.  ##
88112 ## ----------------------------------------- ##
88113 _ASBOX
88114     ) |
88115       sed "s/^/$as_me: WARNING:     /" >&2
88116     ;;
88117 esac
88118 echo "$as_me:$LINENO: checking for $ac_header" >&5
88119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88121   echo $ECHO_N "(cached) $ECHO_C" >&6
88122 else
88123   eval "$as_ac_Header=\$ac_header_preproc"
88124 fi
88125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88126 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88127
88128 fi
88129 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88130   cat >>confdefs.h <<_ACEOF
88131 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88132 _ACEOF
88133  ac_has_wchar_h=yes
88134 else
88135   ac_has_wchar_h=no
88136 fi
88137
88138 done
88139
88140
88141 for ac_header in wctype.h
88142 do
88143 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
88144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88145   echo "$as_me:$LINENO: checking for $ac_header" >&5
88146 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88147 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88148   echo $ECHO_N "(cached) $ECHO_C" >&6
88149 fi
88150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88151 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88152 else
88153   # Is the header compilable?
88154 echo "$as_me:$LINENO: checking $ac_header usability" >&5
88155 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
88156 cat >conftest.$ac_ext <<_ACEOF
88157 /* confdefs.h.  */
88158 _ACEOF
88159 cat confdefs.h >>conftest.$ac_ext
88160 cat >>conftest.$ac_ext <<_ACEOF
88161 /* end confdefs.h.  */
88162 $ac_includes_default
88163 #include <$ac_header>
88164 _ACEOF
88165 rm -f conftest.$ac_objext
88166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88167   (eval $ac_compile) 2>conftest.er1
88168   ac_status=$?
88169   grep -v '^ *+' conftest.er1 >conftest.err
88170   rm -f conftest.er1
88171   cat conftest.err >&5
88172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88173   (exit $ac_status); } &&
88174          { ac_try='test -z "$ac_c_werror_flag"
88175                          || test ! -s conftest.err'
88176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88177   (eval $ac_try) 2>&5
88178   ac_status=$?
88179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88180   (exit $ac_status); }; } &&
88181          { ac_try='test -s conftest.$ac_objext'
88182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88183   (eval $ac_try) 2>&5
88184   ac_status=$?
88185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88186   (exit $ac_status); }; }; then
88187   ac_header_compiler=yes
88188 else
88189   echo "$as_me: failed program was:" >&5
88190 sed 's/^/| /' conftest.$ac_ext >&5
88191
88192 ac_header_compiler=no
88193 fi
88194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88195 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88196 echo "${ECHO_T}$ac_header_compiler" >&6
88197
88198 # Is the header present?
88199 echo "$as_me:$LINENO: checking $ac_header presence" >&5
88200 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
88201 cat >conftest.$ac_ext <<_ACEOF
88202 /* confdefs.h.  */
88203 _ACEOF
88204 cat confdefs.h >>conftest.$ac_ext
88205 cat >>conftest.$ac_ext <<_ACEOF
88206 /* end confdefs.h.  */
88207 #include <$ac_header>
88208 _ACEOF
88209 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88210   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88211   ac_status=$?
88212   grep -v '^ *+' conftest.er1 >conftest.err
88213   rm -f conftest.er1
88214   cat conftest.err >&5
88215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88216   (exit $ac_status); } >/dev/null; then
88217   if test -s conftest.err; then
88218     ac_cpp_err=$ac_c_preproc_warn_flag
88219     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88220   else
88221     ac_cpp_err=
88222   fi
88223 else
88224   ac_cpp_err=yes
88225 fi
88226 if test -z "$ac_cpp_err"; then
88227   ac_header_preproc=yes
88228 else
88229   echo "$as_me: failed program was:" >&5
88230 sed 's/^/| /' conftest.$ac_ext >&5
88231
88232   ac_header_preproc=no
88233 fi
88234 rm -f conftest.err conftest.$ac_ext
88235 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88236 echo "${ECHO_T}$ac_header_preproc" >&6
88237
88238 # So?  What about this header?
88239 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88240   yes:no: )
88241     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88242 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88243     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88244 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88245     ac_header_preproc=yes
88246     ;;
88247   no:yes:* )
88248     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88249 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88250     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
88251 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
88252     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88253 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88254     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
88255 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
88256     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88257 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88258     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88259 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88260     (
88261       cat <<\_ASBOX
88262 ## ----------------------------------------- ##
88263 ## Report this to the package-unused lists.  ##
88264 ## ----------------------------------------- ##
88265 _ASBOX
88266     ) |
88267       sed "s/^/$as_me: WARNING:     /" >&2
88268     ;;
88269 esac
88270 echo "$as_me:$LINENO: checking for $ac_header" >&5
88271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88272 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88273   echo $ECHO_N "(cached) $ECHO_C" >&6
88274 else
88275   eval "$as_ac_Header=\$ac_header_preproc"
88276 fi
88277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88278 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88279
88280 fi
88281 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88282   cat >>confdefs.h <<_ACEOF
88283 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88284 _ACEOF
88285  ac_has_wctype_h=yes
88286 else
88287   ac_has_wctype_h=no
88288 fi
88289
88290 done
88291
88292
88293   # Only continue checking if the ISO C99 headers exist and support is on.
88294   if test x"$ac_has_wchar_h" = xyes &&
88295      test x"$ac_has_wctype_h" = xyes &&
88296      test x"$enable_c_mbchar" != xno; then
88297
88298     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
88299     # numeric_limits can instantiate type_traits<wchar_t>
88300     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
88301 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
88302     cat >conftest.$ac_ext <<_ACEOF
88303 /* confdefs.h.  */
88304 _ACEOF
88305 cat confdefs.h >>conftest.$ac_ext
88306 cat >>conftest.$ac_ext <<_ACEOF
88307 /* end confdefs.h.  */
88308 #include <wchar.h>
88309 int
88310 main ()
88311 {
88312 int i = WCHAR_MIN; int j = WCHAR_MAX;
88313   ;
88314   return 0;
88315 }
88316 _ACEOF
88317 rm -f conftest.$ac_objext
88318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88319   (eval $ac_compile) 2>conftest.er1
88320   ac_status=$?
88321   grep -v '^ *+' conftest.er1 >conftest.err
88322   rm -f conftest.er1
88323   cat conftest.err >&5
88324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88325   (exit $ac_status); } &&
88326          { ac_try='test -z "$ac_c_werror_flag"
88327                          || test ! -s conftest.err'
88328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88329   (eval $ac_try) 2>&5
88330   ac_status=$?
88331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88332   (exit $ac_status); }; } &&
88333          { ac_try='test -s conftest.$ac_objext'
88334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88335   (eval $ac_try) 2>&5
88336   ac_status=$?
88337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88338   (exit $ac_status); }; }; then
88339   has_wchar_minmax=yes
88340 else
88341   echo "$as_me: failed program was:" >&5
88342 sed 's/^/| /' conftest.$ac_ext >&5
88343
88344 has_wchar_minmax=no
88345 fi
88346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88347     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
88348 echo "${ECHO_T}$has_wchar_minmax" >&6
88349
88350     # Test wchar.h for WEOF, which is what we use to determine whether
88351     # to specialize for char_traits<wchar_t> or not.
88352     echo "$as_me:$LINENO: checking for WEOF" >&5
88353 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
88354     cat >conftest.$ac_ext <<_ACEOF
88355 /* confdefs.h.  */
88356 _ACEOF
88357 cat confdefs.h >>conftest.$ac_ext
88358 cat >>conftest.$ac_ext <<_ACEOF
88359 /* end confdefs.h.  */
88360
88361       #include <wchar.h>
88362       #include <stddef.h>
88363 int
88364 main ()
88365 {
88366 wint_t i = WEOF;
88367   ;
88368   return 0;
88369 }
88370 _ACEOF
88371 rm -f conftest.$ac_objext
88372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88373   (eval $ac_compile) 2>conftest.er1
88374   ac_status=$?
88375   grep -v '^ *+' conftest.er1 >conftest.err
88376   rm -f conftest.er1
88377   cat conftest.err >&5
88378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88379   (exit $ac_status); } &&
88380          { ac_try='test -z "$ac_c_werror_flag"
88381                          || test ! -s conftest.err'
88382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88383   (eval $ac_try) 2>&5
88384   ac_status=$?
88385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88386   (exit $ac_status); }; } &&
88387          { ac_try='test -s conftest.$ac_objext'
88388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88389   (eval $ac_try) 2>&5
88390   ac_status=$?
88391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88392   (exit $ac_status); }; }; then
88393   has_weof=yes
88394 else
88395   echo "$as_me: failed program was:" >&5
88396 sed 's/^/| /' conftest.$ac_ext >&5
88397
88398 has_weof=no
88399 fi
88400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88401     echo "$as_me:$LINENO: result: $has_weof" >&5
88402 echo "${ECHO_T}$has_weof" >&6
88403
88404     # Tests for wide character functions used in char_traits<wchar_t>.
88405     ac_wfuncs=yes
88406
88407
88408
88409
88410
88411
88412 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
88413 do
88414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88415 echo "$as_me:$LINENO: checking for $ac_func" >&5
88416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88417 if eval "test \"\${$as_ac_var+set}\" = set"; then
88418   echo $ECHO_N "(cached) $ECHO_C" >&6
88419 else
88420   if test x$gcc_no_link = xyes; then
88421   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88423    { (exit 1); exit 1; }; }
88424 fi
88425 cat >conftest.$ac_ext <<_ACEOF
88426 /* confdefs.h.  */
88427 _ACEOF
88428 cat confdefs.h >>conftest.$ac_ext
88429 cat >>conftest.$ac_ext <<_ACEOF
88430 /* end confdefs.h.  */
88431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88432    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88433 #define $ac_func innocuous_$ac_func
88434
88435 /* System header to define __stub macros and hopefully few prototypes,
88436     which can conflict with char $ac_func (); below.
88437     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88438     <limits.h> exists even on freestanding compilers.  */
88439
88440 #ifdef __STDC__
88441 # include <limits.h>
88442 #else
88443 # include <assert.h>
88444 #endif
88445
88446 #undef $ac_func
88447
88448 /* Override any gcc2 internal prototype to avoid an error.  */
88449 #ifdef __cplusplus
88450 extern "C"
88451 {
88452 #endif
88453 /* We use char because int might match the return type of a gcc2
88454    builtin and then its argument prototype would still apply.  */
88455 char $ac_func ();
88456 /* The GNU C library defines this for functions which it implements
88457     to always fail with ENOSYS.  Some functions are actually named
88458     something starting with __ and the normal name is an alias.  */
88459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88460 choke me
88461 #else
88462 char (*f) () = $ac_func;
88463 #endif
88464 #ifdef __cplusplus
88465 }
88466 #endif
88467
88468 int
88469 main ()
88470 {
88471 return f != $ac_func;
88472   ;
88473   return 0;
88474 }
88475 _ACEOF
88476 rm -f conftest.$ac_objext conftest$ac_exeext
88477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88478   (eval $ac_link) 2>conftest.er1
88479   ac_status=$?
88480   grep -v '^ *+' conftest.er1 >conftest.err
88481   rm -f conftest.er1
88482   cat conftest.err >&5
88483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88484   (exit $ac_status); } &&
88485          { ac_try='test -z "$ac_c_werror_flag"
88486                          || test ! -s conftest.err'
88487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88488   (eval $ac_try) 2>&5
88489   ac_status=$?
88490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88491   (exit $ac_status); }; } &&
88492          { ac_try='test -s conftest$ac_exeext'
88493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88494   (eval $ac_try) 2>&5
88495   ac_status=$?
88496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88497   (exit $ac_status); }; }; then
88498   eval "$as_ac_var=yes"
88499 else
88500   echo "$as_me: failed program was:" >&5
88501 sed 's/^/| /' conftest.$ac_ext >&5
88502
88503 eval "$as_ac_var=no"
88504 fi
88505 rm -f conftest.err conftest.$ac_objext \
88506       conftest$ac_exeext conftest.$ac_ext
88507 fi
88508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88510 if test `eval echo '${'$as_ac_var'}'` = yes; then
88511   cat >>confdefs.h <<_ACEOF
88512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88513 _ACEOF
88514
88515 else
88516   ac_wfuncs=no
88517 fi
88518 done
88519
88520
88521     # Checks for names injected into std:: by the c_std headers.
88522
88523
88524
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 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
88569     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
88570     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
88571     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
88572     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
88573     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
88574 do
88575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88576 echo "$as_me:$LINENO: checking for $ac_func" >&5
88577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88578 if eval "test \"\${$as_ac_var+set}\" = set"; then
88579   echo $ECHO_N "(cached) $ECHO_C" >&6
88580 else
88581   if test x$gcc_no_link = xyes; then
88582   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88584    { (exit 1); exit 1; }; }
88585 fi
88586 cat >conftest.$ac_ext <<_ACEOF
88587 /* confdefs.h.  */
88588 _ACEOF
88589 cat confdefs.h >>conftest.$ac_ext
88590 cat >>conftest.$ac_ext <<_ACEOF
88591 /* end confdefs.h.  */
88592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88593    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88594 #define $ac_func innocuous_$ac_func
88595
88596 /* System header to define __stub macros and hopefully few prototypes,
88597     which can conflict with char $ac_func (); below.
88598     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88599     <limits.h> exists even on freestanding compilers.  */
88600
88601 #ifdef __STDC__
88602 # include <limits.h>
88603 #else
88604 # include <assert.h>
88605 #endif
88606
88607 #undef $ac_func
88608
88609 /* Override any gcc2 internal prototype to avoid an error.  */
88610 #ifdef __cplusplus
88611 extern "C"
88612 {
88613 #endif
88614 /* We use char because int might match the return type of a gcc2
88615    builtin and then its argument prototype would still apply.  */
88616 char $ac_func ();
88617 /* The GNU C library defines this for functions which it implements
88618     to always fail with ENOSYS.  Some functions are actually named
88619     something starting with __ and the normal name is an alias.  */
88620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88621 choke me
88622 #else
88623 char (*f) () = $ac_func;
88624 #endif
88625 #ifdef __cplusplus
88626 }
88627 #endif
88628
88629 int
88630 main ()
88631 {
88632 return f != $ac_func;
88633   ;
88634   return 0;
88635 }
88636 _ACEOF
88637 rm -f conftest.$ac_objext conftest$ac_exeext
88638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88639   (eval $ac_link) 2>conftest.er1
88640   ac_status=$?
88641   grep -v '^ *+' conftest.er1 >conftest.err
88642   rm -f conftest.er1
88643   cat conftest.err >&5
88644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88645   (exit $ac_status); } &&
88646          { ac_try='test -z "$ac_c_werror_flag"
88647                          || test ! -s conftest.err'
88648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88649   (eval $ac_try) 2>&5
88650   ac_status=$?
88651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88652   (exit $ac_status); }; } &&
88653          { ac_try='test -s conftest$ac_exeext'
88654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88655   (eval $ac_try) 2>&5
88656   ac_status=$?
88657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88658   (exit $ac_status); }; }; then
88659   eval "$as_ac_var=yes"
88660 else
88661   echo "$as_me: failed program was:" >&5
88662 sed 's/^/| /' conftest.$ac_ext >&5
88663
88664 eval "$as_ac_var=no"
88665 fi
88666 rm -f conftest.err conftest.$ac_objext \
88667       conftest$ac_exeext conftest.$ac_ext
88668 fi
88669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88671 if test `eval echo '${'$as_ac_var'}'` = yes; then
88672   cat >>confdefs.h <<_ACEOF
88673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88674 _ACEOF
88675
88676 else
88677   ac_wfuncs=no
88678 fi
88679 done
88680
88681
88682     # Checks for wide character functions that are not required
88683     # for basic wchar_t support.  Don't disable support if they are missing.
88684     # Injection of these is wrapped with guard macros.
88685
88686
88687
88688
88689
88690 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
88691 do
88692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88693 echo "$as_me:$LINENO: checking for $ac_func" >&5
88694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88695 if eval "test \"\${$as_ac_var+set}\" = set"; then
88696   echo $ECHO_N "(cached) $ECHO_C" >&6
88697 else
88698   if test x$gcc_no_link = xyes; then
88699   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88701    { (exit 1); exit 1; }; }
88702 fi
88703 cat >conftest.$ac_ext <<_ACEOF
88704 /* confdefs.h.  */
88705 _ACEOF
88706 cat confdefs.h >>conftest.$ac_ext
88707 cat >>conftest.$ac_ext <<_ACEOF
88708 /* end confdefs.h.  */
88709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88710    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88711 #define $ac_func innocuous_$ac_func
88712
88713 /* System header to define __stub macros and hopefully few prototypes,
88714     which can conflict with char $ac_func (); below.
88715     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88716     <limits.h> exists even on freestanding compilers.  */
88717
88718 #ifdef __STDC__
88719 # include <limits.h>
88720 #else
88721 # include <assert.h>
88722 #endif
88723
88724 #undef $ac_func
88725
88726 /* Override any gcc2 internal prototype to avoid an error.  */
88727 #ifdef __cplusplus
88728 extern "C"
88729 {
88730 #endif
88731 /* We use char because int might match the return type of a gcc2
88732    builtin and then its argument prototype would still apply.  */
88733 char $ac_func ();
88734 /* The GNU C library defines this for functions which it implements
88735     to always fail with ENOSYS.  Some functions are actually named
88736     something starting with __ and the normal name is an alias.  */
88737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88738 choke me
88739 #else
88740 char (*f) () = $ac_func;
88741 #endif
88742 #ifdef __cplusplus
88743 }
88744 #endif
88745
88746 int
88747 main ()
88748 {
88749 return f != $ac_func;
88750   ;
88751   return 0;
88752 }
88753 _ACEOF
88754 rm -f conftest.$ac_objext conftest$ac_exeext
88755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88756   (eval $ac_link) 2>conftest.er1
88757   ac_status=$?
88758   grep -v '^ *+' conftest.er1 >conftest.err
88759   rm -f conftest.er1
88760   cat conftest.err >&5
88761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88762   (exit $ac_status); } &&
88763          { ac_try='test -z "$ac_c_werror_flag"
88764                          || test ! -s conftest.err'
88765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88766   (eval $ac_try) 2>&5
88767   ac_status=$?
88768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88769   (exit $ac_status); }; } &&
88770          { ac_try='test -s conftest$ac_exeext'
88771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88772   (eval $ac_try) 2>&5
88773   ac_status=$?
88774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88775   (exit $ac_status); }; }; then
88776   eval "$as_ac_var=yes"
88777 else
88778   echo "$as_me: failed program was:" >&5
88779 sed 's/^/| /' conftest.$ac_ext >&5
88780
88781 eval "$as_ac_var=no"
88782 fi
88783 rm -f conftest.err conftest.$ac_objext \
88784       conftest$ac_exeext conftest.$ac_ext
88785 fi
88786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88788 if test `eval echo '${'$as_ac_var'}'` = yes; then
88789   cat >>confdefs.h <<_ACEOF
88790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88791 _ACEOF
88792
88793 fi
88794 done
88795
88796
88797     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
88798 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
88799     if test x"$has_weof" = xyes &&
88800        test x"$has_wchar_minmax" = xyes &&
88801        test x"$ac_wfuncs" = xyes;
88802     then
88803       ac_isoC99_wchar_t=yes
88804     else
88805       ac_isoC99_wchar_t=no
88806     fi
88807     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
88808 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
88809
88810     # Use iconv for wchar_t to char conversions. As such, check for
88811     # X/Open Portability Guide, version 2 features (XPG2).
88812     if test "${ac_cv_header_iconv_h+set}" = set; then
88813   echo "$as_me:$LINENO: checking for iconv.h" >&5
88814 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
88815 if test "${ac_cv_header_iconv_h+set}" = set; then
88816   echo $ECHO_N "(cached) $ECHO_C" >&6
88817 fi
88818 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
88819 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
88820 else
88821   # Is the header compilable?
88822 echo "$as_me:$LINENO: checking iconv.h usability" >&5
88823 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
88824 cat >conftest.$ac_ext <<_ACEOF
88825 /* confdefs.h.  */
88826 _ACEOF
88827 cat confdefs.h >>conftest.$ac_ext
88828 cat >>conftest.$ac_ext <<_ACEOF
88829 /* end confdefs.h.  */
88830 $ac_includes_default
88831 #include <iconv.h>
88832 _ACEOF
88833 rm -f conftest.$ac_objext
88834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88835   (eval $ac_compile) 2>conftest.er1
88836   ac_status=$?
88837   grep -v '^ *+' conftest.er1 >conftest.err
88838   rm -f conftest.er1
88839   cat conftest.err >&5
88840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88841   (exit $ac_status); } &&
88842          { ac_try='test -z "$ac_c_werror_flag"
88843                          || test ! -s conftest.err'
88844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88845   (eval $ac_try) 2>&5
88846   ac_status=$?
88847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88848   (exit $ac_status); }; } &&
88849          { ac_try='test -s conftest.$ac_objext'
88850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88851   (eval $ac_try) 2>&5
88852   ac_status=$?
88853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88854   (exit $ac_status); }; }; then
88855   ac_header_compiler=yes
88856 else
88857   echo "$as_me: failed program was:" >&5
88858 sed 's/^/| /' conftest.$ac_ext >&5
88859
88860 ac_header_compiler=no
88861 fi
88862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88863 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88864 echo "${ECHO_T}$ac_header_compiler" >&6
88865
88866 # Is the header present?
88867 echo "$as_me:$LINENO: checking iconv.h presence" >&5
88868 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
88869 cat >conftest.$ac_ext <<_ACEOF
88870 /* confdefs.h.  */
88871 _ACEOF
88872 cat confdefs.h >>conftest.$ac_ext
88873 cat >>conftest.$ac_ext <<_ACEOF
88874 /* end confdefs.h.  */
88875 #include <iconv.h>
88876 _ACEOF
88877 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88878   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88879   ac_status=$?
88880   grep -v '^ *+' conftest.er1 >conftest.err
88881   rm -f conftest.er1
88882   cat conftest.err >&5
88883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88884   (exit $ac_status); } >/dev/null; then
88885   if test -s conftest.err; then
88886     ac_cpp_err=$ac_c_preproc_warn_flag
88887     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88888   else
88889     ac_cpp_err=
88890   fi
88891 else
88892   ac_cpp_err=yes
88893 fi
88894 if test -z "$ac_cpp_err"; then
88895   ac_header_preproc=yes
88896 else
88897   echo "$as_me: failed program was:" >&5
88898 sed 's/^/| /' conftest.$ac_ext >&5
88899
88900   ac_header_preproc=no
88901 fi
88902 rm -f conftest.err conftest.$ac_ext
88903 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88904 echo "${ECHO_T}$ac_header_preproc" >&6
88905
88906 # So?  What about this header?
88907 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88908   yes:no: )
88909     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
88910 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
88911     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
88912 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
88913     ac_header_preproc=yes
88914     ;;
88915   no:yes:* )
88916     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
88917 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
88918     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
88919 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
88920     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
88921 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
88922     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
88923 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
88924     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
88925 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
88926     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
88927 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
88928     (
88929       cat <<\_ASBOX
88930 ## ----------------------------------------- ##
88931 ## Report this to the package-unused lists.  ##
88932 ## ----------------------------------------- ##
88933 _ASBOX
88934     ) |
88935       sed "s/^/$as_me: WARNING:     /" >&2
88936     ;;
88937 esac
88938 echo "$as_me:$LINENO: checking for iconv.h" >&5
88939 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
88940 if test "${ac_cv_header_iconv_h+set}" = set; then
88941   echo $ECHO_N "(cached) $ECHO_C" >&6
88942 else
88943   ac_cv_header_iconv_h=$ac_header_preproc
88944 fi
88945 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
88946 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
88947
88948 fi
88949 if test $ac_cv_header_iconv_h = yes; then
88950   ac_has_iconv_h=yes
88951 else
88952   ac_has_iconv_h=no
88953 fi
88954
88955
88956     if test "${ac_cv_header_langinfo_h+set}" = set; then
88957   echo "$as_me:$LINENO: checking for langinfo.h" >&5
88958 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
88959 if test "${ac_cv_header_langinfo_h+set}" = set; then
88960   echo $ECHO_N "(cached) $ECHO_C" >&6
88961 fi
88962 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
88963 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
88964 else
88965   # Is the header compilable?
88966 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
88967 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
88968 cat >conftest.$ac_ext <<_ACEOF
88969 /* confdefs.h.  */
88970 _ACEOF
88971 cat confdefs.h >>conftest.$ac_ext
88972 cat >>conftest.$ac_ext <<_ACEOF
88973 /* end confdefs.h.  */
88974 $ac_includes_default
88975 #include <langinfo.h>
88976 _ACEOF
88977 rm -f conftest.$ac_objext
88978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88979   (eval $ac_compile) 2>conftest.er1
88980   ac_status=$?
88981   grep -v '^ *+' conftest.er1 >conftest.err
88982   rm -f conftest.er1
88983   cat conftest.err >&5
88984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88985   (exit $ac_status); } &&
88986          { ac_try='test -z "$ac_c_werror_flag"
88987                          || test ! -s conftest.err'
88988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88989   (eval $ac_try) 2>&5
88990   ac_status=$?
88991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88992   (exit $ac_status); }; } &&
88993          { ac_try='test -s conftest.$ac_objext'
88994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88995   (eval $ac_try) 2>&5
88996   ac_status=$?
88997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88998   (exit $ac_status); }; }; then
88999   ac_header_compiler=yes
89000 else
89001   echo "$as_me: failed program was:" >&5
89002 sed 's/^/| /' conftest.$ac_ext >&5
89003
89004 ac_header_compiler=no
89005 fi
89006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89007 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89008 echo "${ECHO_T}$ac_header_compiler" >&6
89009
89010 # Is the header present?
89011 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
89012 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
89013 cat >conftest.$ac_ext <<_ACEOF
89014 /* confdefs.h.  */
89015 _ACEOF
89016 cat confdefs.h >>conftest.$ac_ext
89017 cat >>conftest.$ac_ext <<_ACEOF
89018 /* end confdefs.h.  */
89019 #include <langinfo.h>
89020 _ACEOF
89021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89022   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89023   ac_status=$?
89024   grep -v '^ *+' conftest.er1 >conftest.err
89025   rm -f conftest.er1
89026   cat conftest.err >&5
89027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89028   (exit $ac_status); } >/dev/null; then
89029   if test -s conftest.err; then
89030     ac_cpp_err=$ac_c_preproc_warn_flag
89031     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89032   else
89033     ac_cpp_err=
89034   fi
89035 else
89036   ac_cpp_err=yes
89037 fi
89038 if test -z "$ac_cpp_err"; then
89039   ac_header_preproc=yes
89040 else
89041   echo "$as_me: failed program was:" >&5
89042 sed 's/^/| /' conftest.$ac_ext >&5
89043
89044   ac_header_preproc=no
89045 fi
89046 rm -f conftest.err conftest.$ac_ext
89047 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89048 echo "${ECHO_T}$ac_header_preproc" >&6
89049
89050 # So?  What about this header?
89051 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89052   yes:no: )
89053     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
89054 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
89055     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
89056 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
89057     ac_header_preproc=yes
89058     ;;
89059   no:yes:* )
89060     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
89061 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
89062     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
89063 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
89064     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
89065 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
89066     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
89067 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
89068     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
89069 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
89070     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
89071 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
89072     (
89073       cat <<\_ASBOX
89074 ## ----------------------------------------- ##
89075 ## Report this to the package-unused lists.  ##
89076 ## ----------------------------------------- ##
89077 _ASBOX
89078     ) |
89079       sed "s/^/$as_me: WARNING:     /" >&2
89080     ;;
89081 esac
89082 echo "$as_me:$LINENO: checking for langinfo.h" >&5
89083 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
89084 if test "${ac_cv_header_langinfo_h+set}" = set; then
89085   echo $ECHO_N "(cached) $ECHO_C" >&6
89086 else
89087   ac_cv_header_langinfo_h=$ac_header_preproc
89088 fi
89089 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
89090 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
89091
89092 fi
89093 if test $ac_cv_header_langinfo_h = yes; then
89094   ac_has_langinfo_h=yes
89095 else
89096   ac_has_langinfo_h=no
89097 fi
89098
89099
89100
89101     # Check for existence of libiconv.a providing XPG2 wchar_t support.
89102     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
89103 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
89104 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
89105   echo $ECHO_N "(cached) $ECHO_C" >&6
89106 else
89107   ac_check_lib_save_LIBS=$LIBS
89108 LIBS="-liconv  $LIBS"
89109 if test x$gcc_no_link = xyes; then
89110   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89112    { (exit 1); exit 1; }; }
89113 fi
89114 cat >conftest.$ac_ext <<_ACEOF
89115 /* confdefs.h.  */
89116 _ACEOF
89117 cat confdefs.h >>conftest.$ac_ext
89118 cat >>conftest.$ac_ext <<_ACEOF
89119 /* end confdefs.h.  */
89120
89121 /* Override any gcc2 internal prototype to avoid an error.  */
89122 #ifdef __cplusplus
89123 extern "C"
89124 #endif
89125 /* We use char because int might match the return type of a gcc2
89126    builtin and then its argument prototype would still apply.  */
89127 char iconv ();
89128 int
89129 main ()
89130 {
89131 iconv ();
89132   ;
89133   return 0;
89134 }
89135 _ACEOF
89136 rm -f conftest.$ac_objext conftest$ac_exeext
89137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89138   (eval $ac_link) 2>conftest.er1
89139   ac_status=$?
89140   grep -v '^ *+' conftest.er1 >conftest.err
89141   rm -f conftest.er1
89142   cat conftest.err >&5
89143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89144   (exit $ac_status); } &&
89145          { ac_try='test -z "$ac_c_werror_flag"
89146                          || test ! -s conftest.err'
89147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89148   (eval $ac_try) 2>&5
89149   ac_status=$?
89150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89151   (exit $ac_status); }; } &&
89152          { ac_try='test -s conftest$ac_exeext'
89153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89154   (eval $ac_try) 2>&5
89155   ac_status=$?
89156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89157   (exit $ac_status); }; }; then
89158   ac_cv_lib_iconv_iconv=yes
89159 else
89160   echo "$as_me: failed program was:" >&5
89161 sed 's/^/| /' conftest.$ac_ext >&5
89162
89163 ac_cv_lib_iconv_iconv=no
89164 fi
89165 rm -f conftest.err conftest.$ac_objext \
89166       conftest$ac_exeext conftest.$ac_ext
89167 LIBS=$ac_check_lib_save_LIBS
89168 fi
89169 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
89170 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
89171 if test $ac_cv_lib_iconv_iconv = yes; then
89172   LIBICONV="-liconv"
89173 fi
89174
89175     ac_save_LIBS="$LIBS"
89176     LIBS="$LIBS $LIBICONV"
89177
89178
89179
89180
89181
89182
89183 for ac_func in iconv_open iconv_close iconv nl_langinfo
89184 do
89185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89186 echo "$as_me:$LINENO: checking for $ac_func" >&5
89187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89188 if eval "test \"\${$as_ac_var+set}\" = set"; then
89189   echo $ECHO_N "(cached) $ECHO_C" >&6
89190 else
89191   if test x$gcc_no_link = xyes; then
89192   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89194    { (exit 1); exit 1; }; }
89195 fi
89196 cat >conftest.$ac_ext <<_ACEOF
89197 /* confdefs.h.  */
89198 _ACEOF
89199 cat confdefs.h >>conftest.$ac_ext
89200 cat >>conftest.$ac_ext <<_ACEOF
89201 /* end confdefs.h.  */
89202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89203    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89204 #define $ac_func innocuous_$ac_func
89205
89206 /* System header to define __stub macros and hopefully few prototypes,
89207     which can conflict with char $ac_func (); below.
89208     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89209     <limits.h> exists even on freestanding compilers.  */
89210
89211 #ifdef __STDC__
89212 # include <limits.h>
89213 #else
89214 # include <assert.h>
89215 #endif
89216
89217 #undef $ac_func
89218
89219 /* Override any gcc2 internal prototype to avoid an error.  */
89220 #ifdef __cplusplus
89221 extern "C"
89222 {
89223 #endif
89224 /* We use char because int might match the return type of a gcc2
89225    builtin and then its argument prototype would still apply.  */
89226 char $ac_func ();
89227 /* The GNU C library defines this for functions which it implements
89228     to always fail with ENOSYS.  Some functions are actually named
89229     something starting with __ and the normal name is an alias.  */
89230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89231 choke me
89232 #else
89233 char (*f) () = $ac_func;
89234 #endif
89235 #ifdef __cplusplus
89236 }
89237 #endif
89238
89239 int
89240 main ()
89241 {
89242 return f != $ac_func;
89243   ;
89244   return 0;
89245 }
89246 _ACEOF
89247 rm -f conftest.$ac_objext conftest$ac_exeext
89248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89249   (eval $ac_link) 2>conftest.er1
89250   ac_status=$?
89251   grep -v '^ *+' conftest.er1 >conftest.err
89252   rm -f conftest.er1
89253   cat conftest.err >&5
89254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89255   (exit $ac_status); } &&
89256          { ac_try='test -z "$ac_c_werror_flag"
89257                          || test ! -s conftest.err'
89258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89259   (eval $ac_try) 2>&5
89260   ac_status=$?
89261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89262   (exit $ac_status); }; } &&
89263          { ac_try='test -s conftest$ac_exeext'
89264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89265   (eval $ac_try) 2>&5
89266   ac_status=$?
89267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89268   (exit $ac_status); }; }; then
89269   eval "$as_ac_var=yes"
89270 else
89271   echo "$as_me: failed program was:" >&5
89272 sed 's/^/| /' conftest.$ac_ext >&5
89273
89274 eval "$as_ac_var=no"
89275 fi
89276 rm -f conftest.err conftest.$ac_objext \
89277       conftest$ac_exeext conftest.$ac_ext
89278 fi
89279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89281 if test `eval echo '${'$as_ac_var'}'` = yes; then
89282   cat >>confdefs.h <<_ACEOF
89283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89284 _ACEOF
89285  ac_XPG2funcs=yes
89286 else
89287   ac_XPG2funcs=no
89288 fi
89289 done
89290
89291
89292     LIBS="$ac_save_LIBS"
89293
89294     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
89295 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
89296     if test x"$ac_has_iconv_h" = xyes &&
89297        test x"$ac_has_langinfo_h" = xyes &&
89298        test x"$ac_XPG2funcs" = xyes;
89299     then
89300       ac_XPG2_wchar_t=yes
89301     else
89302       ac_XPG2_wchar_t=no
89303     fi
89304     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
89305 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
89306
89307     # At the moment, only enable wchar_t specializations if all the
89308     # above support is present.
89309     if test x"$ac_isoC99_wchar_t" = xyes &&
89310        test x"$ac_XPG2_wchar_t" = xyes;
89311     then
89312       cat >>confdefs.h <<\_ACEOF
89313 #define _GLIBCXX_USE_WCHAR_T 1
89314 _ACEOF
89315
89316       enable_wchar_t=yes
89317     fi
89318   fi
89319   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
89320 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
89321   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
89322 echo "${ECHO_T}$enable_wchar_t" >&6
89323
89324
89325     # For showmanyc_helper().
89326
89327
89328 for ac_header in sys/ioctl.h sys/filio.h
89329 do
89330 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89332   echo "$as_me:$LINENO: checking for $ac_header" >&5
89333 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89335   echo $ECHO_N "(cached) $ECHO_C" >&6
89336 fi
89337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89338 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89339 else
89340   # Is the header compilable?
89341 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89342 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89343 cat >conftest.$ac_ext <<_ACEOF
89344 /* confdefs.h.  */
89345 _ACEOF
89346 cat confdefs.h >>conftest.$ac_ext
89347 cat >>conftest.$ac_ext <<_ACEOF
89348 /* end confdefs.h.  */
89349 $ac_includes_default
89350 #include <$ac_header>
89351 _ACEOF
89352 rm -f conftest.$ac_objext
89353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89354   (eval $ac_compile) 2>conftest.er1
89355   ac_status=$?
89356   grep -v '^ *+' conftest.er1 >conftest.err
89357   rm -f conftest.er1
89358   cat conftest.err >&5
89359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89360   (exit $ac_status); } &&
89361          { ac_try='test -z "$ac_c_werror_flag"
89362                          || test ! -s conftest.err'
89363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89364   (eval $ac_try) 2>&5
89365   ac_status=$?
89366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89367   (exit $ac_status); }; } &&
89368          { ac_try='test -s conftest.$ac_objext'
89369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89370   (eval $ac_try) 2>&5
89371   ac_status=$?
89372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89373   (exit $ac_status); }; }; then
89374   ac_header_compiler=yes
89375 else
89376   echo "$as_me: failed program was:" >&5
89377 sed 's/^/| /' conftest.$ac_ext >&5
89378
89379 ac_header_compiler=no
89380 fi
89381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89382 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89383 echo "${ECHO_T}$ac_header_compiler" >&6
89384
89385 # Is the header present?
89386 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89387 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89388 cat >conftest.$ac_ext <<_ACEOF
89389 /* confdefs.h.  */
89390 _ACEOF
89391 cat confdefs.h >>conftest.$ac_ext
89392 cat >>conftest.$ac_ext <<_ACEOF
89393 /* end confdefs.h.  */
89394 #include <$ac_header>
89395 _ACEOF
89396 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89397   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89398   ac_status=$?
89399   grep -v '^ *+' conftest.er1 >conftest.err
89400   rm -f conftest.er1
89401   cat conftest.err >&5
89402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89403   (exit $ac_status); } >/dev/null; then
89404   if test -s conftest.err; then
89405     ac_cpp_err=$ac_c_preproc_warn_flag
89406     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89407   else
89408     ac_cpp_err=
89409   fi
89410 else
89411   ac_cpp_err=yes
89412 fi
89413 if test -z "$ac_cpp_err"; then
89414   ac_header_preproc=yes
89415 else
89416   echo "$as_me: failed program was:" >&5
89417 sed 's/^/| /' conftest.$ac_ext >&5
89418
89419   ac_header_preproc=no
89420 fi
89421 rm -f conftest.err conftest.$ac_ext
89422 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89423 echo "${ECHO_T}$ac_header_preproc" >&6
89424
89425 # So?  What about this header?
89426 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89427   yes:no: )
89428     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89429 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89430     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89431 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89432     ac_header_preproc=yes
89433     ;;
89434   no:yes:* )
89435     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89436 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89437     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
89438 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
89439     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89440 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89441     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
89442 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
89443     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89444 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89445     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89446 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89447     (
89448       cat <<\_ASBOX
89449 ## ----------------------------------------- ##
89450 ## Report this to the package-unused lists.  ##
89451 ## ----------------------------------------- ##
89452 _ASBOX
89453     ) |
89454       sed "s/^/$as_me: WARNING:     /" >&2
89455     ;;
89456 esac
89457 echo "$as_me:$LINENO: checking for $ac_header" >&5
89458 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89460   echo $ECHO_N "(cached) $ECHO_C" >&6
89461 else
89462   eval "$as_ac_Header=\$ac_header_preproc"
89463 fi
89464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89465 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89466
89467 fi
89468 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89469   cat >>confdefs.h <<_ACEOF
89470 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89471 _ACEOF
89472
89473 fi
89474
89475 done
89476
89477
89478   if test "${glibcxx_cv_POLL+set}" = set; then
89479   echo $ECHO_N "(cached) $ECHO_C" >&6
89480 else
89481
89482     if test x$gcc_no_link = xyes; then
89483   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89485    { (exit 1); exit 1; }; }
89486 fi
89487 cat >conftest.$ac_ext <<_ACEOF
89488 /* confdefs.h.  */
89489 _ACEOF
89490 cat confdefs.h >>conftest.$ac_ext
89491 cat >>conftest.$ac_ext <<_ACEOF
89492 /* end confdefs.h.  */
89493 #include <poll.h>
89494 int
89495 main ()
89496 {
89497 struct pollfd pfd[1];
89498        pfd[0].events = POLLIN;
89499        poll(pfd, 1, 0);
89500   ;
89501   return 0;
89502 }
89503 _ACEOF
89504 rm -f conftest.$ac_objext conftest$ac_exeext
89505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89506   (eval $ac_link) 2>conftest.er1
89507   ac_status=$?
89508   grep -v '^ *+' conftest.er1 >conftest.err
89509   rm -f conftest.er1
89510   cat conftest.err >&5
89511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89512   (exit $ac_status); } &&
89513          { ac_try='test -z "$ac_c_werror_flag"
89514                          || test ! -s conftest.err'
89515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89516   (eval $ac_try) 2>&5
89517   ac_status=$?
89518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89519   (exit $ac_status); }; } &&
89520          { ac_try='test -s conftest$ac_exeext'
89521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89522   (eval $ac_try) 2>&5
89523   ac_status=$?
89524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89525   (exit $ac_status); }; }; then
89526   glibcxx_cv_POLL=yes
89527 else
89528   echo "$as_me: failed program was:" >&5
89529 sed 's/^/| /' conftest.$ac_ext >&5
89530
89531 glibcxx_cv_POLL=no
89532 fi
89533 rm -f conftest.err conftest.$ac_objext \
89534       conftest$ac_exeext conftest.$ac_ext
89535
89536 fi
89537
89538   if test $glibcxx_cv_POLL = yes; then
89539     cat >>confdefs.h <<\_ACEOF
89540 #define HAVE_POLL 1
89541 _ACEOF
89542
89543   fi
89544
89545
89546   if test "${glibcxx_cv_S_ISREG+set}" = set; then
89547   echo $ECHO_N "(cached) $ECHO_C" >&6
89548 else
89549
89550     if test x$gcc_no_link = xyes; then
89551   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89553    { (exit 1); exit 1; }; }
89554 fi
89555 cat >conftest.$ac_ext <<_ACEOF
89556 /* confdefs.h.  */
89557 _ACEOF
89558 cat confdefs.h >>conftest.$ac_ext
89559 cat >>conftest.$ac_ext <<_ACEOF
89560 /* end confdefs.h.  */
89561 #include <sys/stat.h>
89562 int
89563 main ()
89564 {
89565 struct stat buffer;
89566        fstat(0, &buffer);
89567        S_ISREG(buffer.st_mode);
89568   ;
89569   return 0;
89570 }
89571 _ACEOF
89572 rm -f conftest.$ac_objext conftest$ac_exeext
89573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89574   (eval $ac_link) 2>conftest.er1
89575   ac_status=$?
89576   grep -v '^ *+' conftest.er1 >conftest.err
89577   rm -f conftest.er1
89578   cat conftest.err >&5
89579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89580   (exit $ac_status); } &&
89581          { ac_try='test -z "$ac_c_werror_flag"
89582                          || test ! -s conftest.err'
89583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89584   (eval $ac_try) 2>&5
89585   ac_status=$?
89586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89587   (exit $ac_status); }; } &&
89588          { ac_try='test -s conftest$ac_exeext'
89589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89590   (eval $ac_try) 2>&5
89591   ac_status=$?
89592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89593   (exit $ac_status); }; }; then
89594   glibcxx_cv_S_ISREG=yes
89595 else
89596   echo "$as_me: failed program was:" >&5
89597 sed 's/^/| /' conftest.$ac_ext >&5
89598
89599 glibcxx_cv_S_ISREG=no
89600 fi
89601 rm -f conftest.err conftest.$ac_objext \
89602       conftest$ac_exeext conftest.$ac_ext
89603
89604 fi
89605
89606   if test "${glibcxx_cv_S_IFREG+set}" = set; then
89607   echo $ECHO_N "(cached) $ECHO_C" >&6
89608 else
89609
89610     if test x$gcc_no_link = xyes; then
89611   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89613    { (exit 1); exit 1; }; }
89614 fi
89615 cat >conftest.$ac_ext <<_ACEOF
89616 /* confdefs.h.  */
89617 _ACEOF
89618 cat confdefs.h >>conftest.$ac_ext
89619 cat >>conftest.$ac_ext <<_ACEOF
89620 /* end confdefs.h.  */
89621 #include <sys/stat.h>
89622 int
89623 main ()
89624 {
89625 struct stat buffer;
89626        fstat(0, &buffer);
89627        S_IFREG & buffer.st_mode;
89628   ;
89629   return 0;
89630 }
89631 _ACEOF
89632 rm -f conftest.$ac_objext conftest$ac_exeext
89633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89634   (eval $ac_link) 2>conftest.er1
89635   ac_status=$?
89636   grep -v '^ *+' conftest.er1 >conftest.err
89637   rm -f conftest.er1
89638   cat conftest.err >&5
89639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89640   (exit $ac_status); } &&
89641          { ac_try='test -z "$ac_c_werror_flag"
89642                          || test ! -s conftest.err'
89643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89644   (eval $ac_try) 2>&5
89645   ac_status=$?
89646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89647   (exit $ac_status); }; } &&
89648          { ac_try='test -s conftest$ac_exeext'
89649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89650   (eval $ac_try) 2>&5
89651   ac_status=$?
89652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89653   (exit $ac_status); }; }; then
89654   glibcxx_cv_S_IFREG=yes
89655 else
89656   echo "$as_me: failed program was:" >&5
89657 sed 's/^/| /' conftest.$ac_ext >&5
89658
89659 glibcxx_cv_S_IFREG=no
89660 fi
89661 rm -f conftest.err conftest.$ac_objext \
89662       conftest$ac_exeext conftest.$ac_ext
89663
89664 fi
89665
89666   if test $glibcxx_cv_S_ISREG = yes; then
89667     cat >>confdefs.h <<\_ACEOF
89668 #define HAVE_S_ISREG 1
89669 _ACEOF
89670
89671   elif test $glibcxx_cv_S_IFREG = yes; then
89672     cat >>confdefs.h <<\_ACEOF
89673 #define HAVE_S_IFREG 1
89674 _ACEOF
89675
89676   fi
89677
89678
89679     # For xsputn_2().
89680
89681 for ac_header in sys/uio.h
89682 do
89683 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89685   echo "$as_me:$LINENO: checking for $ac_header" >&5
89686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89687 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89688   echo $ECHO_N "(cached) $ECHO_C" >&6
89689 fi
89690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89691 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89692 else
89693   # Is the header compilable?
89694 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89695 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89696 cat >conftest.$ac_ext <<_ACEOF
89697 /* confdefs.h.  */
89698 _ACEOF
89699 cat confdefs.h >>conftest.$ac_ext
89700 cat >>conftest.$ac_ext <<_ACEOF
89701 /* end confdefs.h.  */
89702 $ac_includes_default
89703 #include <$ac_header>
89704 _ACEOF
89705 rm -f conftest.$ac_objext
89706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89707   (eval $ac_compile) 2>conftest.er1
89708   ac_status=$?
89709   grep -v '^ *+' conftest.er1 >conftest.err
89710   rm -f conftest.er1
89711   cat conftest.err >&5
89712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89713   (exit $ac_status); } &&
89714          { ac_try='test -z "$ac_c_werror_flag"
89715                          || test ! -s conftest.err'
89716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89717   (eval $ac_try) 2>&5
89718   ac_status=$?
89719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89720   (exit $ac_status); }; } &&
89721          { ac_try='test -s conftest.$ac_objext'
89722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89723   (eval $ac_try) 2>&5
89724   ac_status=$?
89725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89726   (exit $ac_status); }; }; then
89727   ac_header_compiler=yes
89728 else
89729   echo "$as_me: failed program was:" >&5
89730 sed 's/^/| /' conftest.$ac_ext >&5
89731
89732 ac_header_compiler=no
89733 fi
89734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89735 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89736 echo "${ECHO_T}$ac_header_compiler" >&6
89737
89738 # Is the header present?
89739 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89740 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89741 cat >conftest.$ac_ext <<_ACEOF
89742 /* confdefs.h.  */
89743 _ACEOF
89744 cat confdefs.h >>conftest.$ac_ext
89745 cat >>conftest.$ac_ext <<_ACEOF
89746 /* end confdefs.h.  */
89747 #include <$ac_header>
89748 _ACEOF
89749 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89750   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89751   ac_status=$?
89752   grep -v '^ *+' conftest.er1 >conftest.err
89753   rm -f conftest.er1
89754   cat conftest.err >&5
89755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89756   (exit $ac_status); } >/dev/null; then
89757   if test -s conftest.err; then
89758     ac_cpp_err=$ac_c_preproc_warn_flag
89759     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89760   else
89761     ac_cpp_err=
89762   fi
89763 else
89764   ac_cpp_err=yes
89765 fi
89766 if test -z "$ac_cpp_err"; then
89767   ac_header_preproc=yes
89768 else
89769   echo "$as_me: failed program was:" >&5
89770 sed 's/^/| /' conftest.$ac_ext >&5
89771
89772   ac_header_preproc=no
89773 fi
89774 rm -f conftest.err conftest.$ac_ext
89775 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89776 echo "${ECHO_T}$ac_header_preproc" >&6
89777
89778 # So?  What about this header?
89779 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89780   yes:no: )
89781     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89782 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89783     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89784 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89785     ac_header_preproc=yes
89786     ;;
89787   no:yes:* )
89788     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89789 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89790     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
89791 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
89792     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89793 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89794     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
89795 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
89796     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89797 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89798     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89799 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89800     (
89801       cat <<\_ASBOX
89802 ## ----------------------------------------- ##
89803 ## Report this to the package-unused lists.  ##
89804 ## ----------------------------------------- ##
89805 _ASBOX
89806     ) |
89807       sed "s/^/$as_me: WARNING:     /" >&2
89808     ;;
89809 esac
89810 echo "$as_me:$LINENO: checking for $ac_header" >&5
89811 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89812 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89813   echo $ECHO_N "(cached) $ECHO_C" >&6
89814 else
89815   eval "$as_ac_Header=\$ac_header_preproc"
89816 fi
89817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89818 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89819
89820 fi
89821 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89822   cat >>confdefs.h <<_ACEOF
89823 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89824 _ACEOF
89825
89826 fi
89827
89828 done
89829
89830
89831   if test "${glibcxx_cv_WRITEV+set}" = set; then
89832   echo $ECHO_N "(cached) $ECHO_C" >&6
89833 else
89834
89835     if test x$gcc_no_link = xyes; then
89836   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89838    { (exit 1); exit 1; }; }
89839 fi
89840 cat >conftest.$ac_ext <<_ACEOF
89841 /* confdefs.h.  */
89842 _ACEOF
89843 cat confdefs.h >>conftest.$ac_ext
89844 cat >>conftest.$ac_ext <<_ACEOF
89845 /* end confdefs.h.  */
89846 #include <sys/uio.h>
89847 int
89848 main ()
89849 {
89850 struct iovec iov[2];
89851        writev(0, iov, 0);
89852   ;
89853   return 0;
89854 }
89855 _ACEOF
89856 rm -f conftest.$ac_objext conftest$ac_exeext
89857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89858   (eval $ac_link) 2>conftest.er1
89859   ac_status=$?
89860   grep -v '^ *+' conftest.er1 >conftest.err
89861   rm -f conftest.er1
89862   cat conftest.err >&5
89863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89864   (exit $ac_status); } &&
89865          { ac_try='test -z "$ac_c_werror_flag"
89866                          || test ! -s conftest.err'
89867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89868   (eval $ac_try) 2>&5
89869   ac_status=$?
89870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89871   (exit $ac_status); }; } &&
89872          { ac_try='test -s conftest$ac_exeext'
89873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89874   (eval $ac_try) 2>&5
89875   ac_status=$?
89876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89877   (exit $ac_status); }; }; then
89878   glibcxx_cv_WRITEV=yes
89879 else
89880   echo "$as_me: failed program was:" >&5
89881 sed 's/^/| /' conftest.$ac_ext >&5
89882
89883 glibcxx_cv_WRITEV=no
89884 fi
89885 rm -f conftest.err conftest.$ac_objext \
89886       conftest$ac_exeext conftest.$ac_ext
89887
89888 fi
89889
89890   if test $glibcxx_cv_WRITEV = yes; then
89891     cat >>confdefs.h <<\_ACEOF
89892 #define HAVE_WRITEV 1
89893 _ACEOF
89894
89895   fi
89896
89897     ;;
89898   *-qnx6.1* | *-qnx6.2*)
89899     SECTION_FLAGS='-ffunction-sections -fdata-sections'
89900
89901
89902   # If we're not using GNU ld, then there's no point in even trying these
89903   # tests.  Check for that first.  We should have already tested for gld
89904   # by now (in libtool), but require it now just to be safe...
89905   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
89906   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
89907
89908
89909
89910   # The name set by libtool depends on the version of libtool.  Shame on us
89911   # for depending on an impl detail, but c'est la vie.  Older versions used
89912   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
89913   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
89914   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
89915   # set (hence we're using an older libtool), then set it.
89916   if test x${with_gnu_ld+set} != xset; then
89917     if test x${ac_cv_prog_gnu_ld+set} != xset; then
89918       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
89919       with_gnu_ld=no
89920     else
89921       with_gnu_ld=$ac_cv_prog_gnu_ld
89922     fi
89923   fi
89924
89925   # Start by getting the version number.  I think the libtool test already
89926   # does some of this, but throws away the result.
89927
89928   ldver=`$LD --version 2>/dev/null | head -1 | \
89929          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
89930
89931   glibcxx_gnu_ld_version=`echo $ldver | \
89932          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
89933
89934   # Set --gc-sections.
89935   if test "$with_gnu_ld" = "notbroken"; then
89936     # GNU ld it is!  Joy and bunny rabbits!
89937
89938     # All these tests are for C++; save the language and the compiler flags.
89939     # Need to do this so that g++ won't try to link in libstdc++
89940     ac_test_CFLAGS="${CFLAGS+set}"
89941     ac_save_CFLAGS="$CFLAGS"
89942     CFLAGS='-x c++  -Wl,--gc-sections'
89943
89944     # Check for -Wl,--gc-sections
89945     # XXX This test is broken at the moment, as symbols required for linking
89946     # are now in libsupc++ (not built yet).  In addition, this test has
89947     # cored on solaris in the past.  In addition, --gc-sections doesn't
89948     # really work at the moment (keeps on discarding used sections, first
89949     # .eh_frame and now some of the glibc sections for iconv).
89950     # Bzzzzt.  Thanks for playing, maybe next time.
89951     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
89952 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
89953     if test "$cross_compiling" = yes; then
89954   ac_sectionLDflags=yes
89955 else
89956   cat >conftest.$ac_ext <<_ACEOF
89957 /* confdefs.h.  */
89958 _ACEOF
89959 cat confdefs.h >>conftest.$ac_ext
89960 cat >>conftest.$ac_ext <<_ACEOF
89961 /* end confdefs.h.  */
89962
89963      int main(void)
89964      {
89965        try { throw 1; }
89966        catch (...) { };
89967        return 0;
89968      }
89969
89970 _ACEOF
89971 rm -f conftest$ac_exeext
89972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89973   (eval $ac_link) 2>&5
89974   ac_status=$?
89975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89976   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
89977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89978   (eval $ac_try) 2>&5
89979   ac_status=$?
89980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89981   (exit $ac_status); }; }; then
89982   ac_sectionLDflags=yes
89983 else
89984   echo "$as_me: program exited with status $ac_status" >&5
89985 echo "$as_me: failed program was:" >&5
89986 sed 's/^/| /' conftest.$ac_ext >&5
89987
89988 ( exit $ac_status )
89989 ac_sectionLDflags=no
89990 fi
89991 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
89992 fi
89993     if test "$ac_test_CFLAGS" = set; then
89994       CFLAGS="$ac_save_CFLAGS"
89995     else
89996       # this is the suspicious part
89997       CFLAGS=''
89998     fi
89999     if test "$ac_sectionLDflags" = "yes"; then
90000       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
90001     fi
90002     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
90003 echo "${ECHO_T}$ac_sectionLDflags" >&6
90004   fi
90005
90006   # Set linker optimization flags.
90007   if test x"$with_gnu_ld" = x"yes"; then
90008     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
90009   fi
90010
90011
90012
90013
90014
90015
90016 echo "$as_me:$LINENO: checking for main in -lm" >&5
90017 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
90018 if test "${ac_cv_lib_m_main+set}" = set; then
90019   echo $ECHO_N "(cached) $ECHO_C" >&6
90020 else
90021   ac_check_lib_save_LIBS=$LIBS
90022 LIBS="-lm  $LIBS"
90023 if test x$gcc_no_link = xyes; then
90024   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90026    { (exit 1); exit 1; }; }
90027 fi
90028 cat >conftest.$ac_ext <<_ACEOF
90029 /* confdefs.h.  */
90030 _ACEOF
90031 cat confdefs.h >>conftest.$ac_ext
90032 cat >>conftest.$ac_ext <<_ACEOF
90033 /* end confdefs.h.  */
90034
90035
90036 int
90037 main ()
90038 {
90039 main ();
90040   ;
90041   return 0;
90042 }
90043 _ACEOF
90044 rm -f conftest.$ac_objext conftest$ac_exeext
90045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90046   (eval $ac_link) 2>conftest.er1
90047   ac_status=$?
90048   grep -v '^ *+' conftest.er1 >conftest.err
90049   rm -f conftest.er1
90050   cat conftest.err >&5
90051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90052   (exit $ac_status); } &&
90053          { ac_try='test -z "$ac_c_werror_flag"
90054                          || test ! -s conftest.err'
90055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90056   (eval $ac_try) 2>&5
90057   ac_status=$?
90058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90059   (exit $ac_status); }; } &&
90060          { ac_try='test -s conftest$ac_exeext'
90061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90062   (eval $ac_try) 2>&5
90063   ac_status=$?
90064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90065   (exit $ac_status); }; }; then
90066   ac_cv_lib_m_main=yes
90067 else
90068   echo "$as_me: failed program was:" >&5
90069 sed 's/^/| /' conftest.$ac_ext >&5
90070
90071 ac_cv_lib_m_main=no
90072 fi
90073 rm -f conftest.err conftest.$ac_objext \
90074       conftest$ac_exeext conftest.$ac_ext
90075 LIBS=$ac_check_lib_save_LIBS
90076 fi
90077 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
90078 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
90079 if test $ac_cv_lib_m_main = yes; then
90080   cat >>confdefs.h <<_ACEOF
90081 #define HAVE_LIBM 1
90082 _ACEOF
90083
90084   LIBS="-lm $LIBS"
90085
90086 fi
90087
90088
90089 for ac_func in copysignf
90090 do
90091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90092 echo "$as_me:$LINENO: checking for $ac_func" >&5
90093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90094 if eval "test \"\${$as_ac_var+set}\" = set"; then
90095   echo $ECHO_N "(cached) $ECHO_C" >&6
90096 else
90097   if test x$gcc_no_link = xyes; then
90098   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90100    { (exit 1); exit 1; }; }
90101 fi
90102 cat >conftest.$ac_ext <<_ACEOF
90103 /* confdefs.h.  */
90104 _ACEOF
90105 cat confdefs.h >>conftest.$ac_ext
90106 cat >>conftest.$ac_ext <<_ACEOF
90107 /* end confdefs.h.  */
90108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90109    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90110 #define $ac_func innocuous_$ac_func
90111
90112 /* System header to define __stub macros and hopefully few prototypes,
90113     which can conflict with char $ac_func (); below.
90114     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90115     <limits.h> exists even on freestanding compilers.  */
90116
90117 #ifdef __STDC__
90118 # include <limits.h>
90119 #else
90120 # include <assert.h>
90121 #endif
90122
90123 #undef $ac_func
90124
90125 /* Override any gcc2 internal prototype to avoid an error.  */
90126 #ifdef __cplusplus
90127 extern "C"
90128 {
90129 #endif
90130 /* We use char because int might match the return type of a gcc2
90131    builtin and then its argument prototype would still apply.  */
90132 char $ac_func ();
90133 /* The GNU C library defines this for functions which it implements
90134     to always fail with ENOSYS.  Some functions are actually named
90135     something starting with __ and the normal name is an alias.  */
90136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90137 choke me
90138 #else
90139 char (*f) () = $ac_func;
90140 #endif
90141 #ifdef __cplusplus
90142 }
90143 #endif
90144
90145 int
90146 main ()
90147 {
90148 return f != $ac_func;
90149   ;
90150   return 0;
90151 }
90152 _ACEOF
90153 rm -f conftest.$ac_objext conftest$ac_exeext
90154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90155   (eval $ac_link) 2>conftest.er1
90156   ac_status=$?
90157   grep -v '^ *+' conftest.er1 >conftest.err
90158   rm -f conftest.er1
90159   cat conftest.err >&5
90160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90161   (exit $ac_status); } &&
90162          { ac_try='test -z "$ac_c_werror_flag"
90163                          || test ! -s conftest.err'
90164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90165   (eval $ac_try) 2>&5
90166   ac_status=$?
90167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90168   (exit $ac_status); }; } &&
90169          { ac_try='test -s conftest$ac_exeext'
90170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90171   (eval $ac_try) 2>&5
90172   ac_status=$?
90173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90174   (exit $ac_status); }; }; then
90175   eval "$as_ac_var=yes"
90176 else
90177   echo "$as_me: failed program was:" >&5
90178 sed 's/^/| /' conftest.$ac_ext >&5
90179
90180 eval "$as_ac_var=no"
90181 fi
90182 rm -f conftest.err conftest.$ac_objext \
90183       conftest$ac_exeext conftest.$ac_ext
90184 fi
90185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90187 if test `eval echo '${'$as_ac_var'}'` = yes; then
90188   cat >>confdefs.h <<_ACEOF
90189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90190 _ACEOF
90191
90192 else
90193   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
90194 fi
90195 done
90196
90197
90198
90199 for ac_func in __signbit
90200 do
90201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90202 echo "$as_me:$LINENO: checking for $ac_func" >&5
90203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90204 if eval "test \"\${$as_ac_var+set}\" = set"; then
90205   echo $ECHO_N "(cached) $ECHO_C" >&6
90206 else
90207   if test x$gcc_no_link = xyes; then
90208   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90210    { (exit 1); exit 1; }; }
90211 fi
90212 cat >conftest.$ac_ext <<_ACEOF
90213 /* confdefs.h.  */
90214 _ACEOF
90215 cat confdefs.h >>conftest.$ac_ext
90216 cat >>conftest.$ac_ext <<_ACEOF
90217 /* end confdefs.h.  */
90218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90219    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90220 #define $ac_func innocuous_$ac_func
90221
90222 /* System header to define __stub macros and hopefully few prototypes,
90223     which can conflict with char $ac_func (); below.
90224     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90225     <limits.h> exists even on freestanding compilers.  */
90226
90227 #ifdef __STDC__
90228 # include <limits.h>
90229 #else
90230 # include <assert.h>
90231 #endif
90232
90233 #undef $ac_func
90234
90235 /* Override any gcc2 internal prototype to avoid an error.  */
90236 #ifdef __cplusplus
90237 extern "C"
90238 {
90239 #endif
90240 /* We use char because int might match the return type of a gcc2
90241    builtin and then its argument prototype would still apply.  */
90242 char $ac_func ();
90243 /* The GNU C library defines this for functions which it implements
90244     to always fail with ENOSYS.  Some functions are actually named
90245     something starting with __ and the normal name is an alias.  */
90246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90247 choke me
90248 #else
90249 char (*f) () = $ac_func;
90250 #endif
90251 #ifdef __cplusplus
90252 }
90253 #endif
90254
90255 int
90256 main ()
90257 {
90258 return f != $ac_func;
90259   ;
90260   return 0;
90261 }
90262 _ACEOF
90263 rm -f conftest.$ac_objext conftest$ac_exeext
90264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90265   (eval $ac_link) 2>conftest.er1
90266   ac_status=$?
90267   grep -v '^ *+' conftest.er1 >conftest.err
90268   rm -f conftest.er1
90269   cat conftest.err >&5
90270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90271   (exit $ac_status); } &&
90272          { ac_try='test -z "$ac_c_werror_flag"
90273                          || test ! -s conftest.err'
90274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90275   (eval $ac_try) 2>&5
90276   ac_status=$?
90277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90278   (exit $ac_status); }; } &&
90279          { ac_try='test -s conftest$ac_exeext'
90280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90281   (eval $ac_try) 2>&5
90282   ac_status=$?
90283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90284   (exit $ac_status); }; }; then
90285   eval "$as_ac_var=yes"
90286 else
90287   echo "$as_me: failed program was:" >&5
90288 sed 's/^/| /' conftest.$ac_ext >&5
90289
90290 eval "$as_ac_var=no"
90291 fi
90292 rm -f conftest.err conftest.$ac_objext \
90293       conftest$ac_exeext conftest.$ac_ext
90294 fi
90295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90297 if test `eval echo '${'$as_ac_var'}'` = yes; then
90298   cat >>confdefs.h <<_ACEOF
90299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90300 _ACEOF
90301
90302 else
90303   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
90304 fi
90305 done
90306
90307
90308
90309 for ac_func in __signbitf
90310 do
90311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90312 echo "$as_me:$LINENO: checking for $ac_func" >&5
90313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90314 if eval "test \"\${$as_ac_var+set}\" = set"; then
90315   echo $ECHO_N "(cached) $ECHO_C" >&6
90316 else
90317   if test x$gcc_no_link = xyes; then
90318   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90320    { (exit 1); exit 1; }; }
90321 fi
90322 cat >conftest.$ac_ext <<_ACEOF
90323 /* confdefs.h.  */
90324 _ACEOF
90325 cat confdefs.h >>conftest.$ac_ext
90326 cat >>conftest.$ac_ext <<_ACEOF
90327 /* end confdefs.h.  */
90328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90329    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90330 #define $ac_func innocuous_$ac_func
90331
90332 /* System header to define __stub macros and hopefully few prototypes,
90333     which can conflict with char $ac_func (); below.
90334     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90335     <limits.h> exists even on freestanding compilers.  */
90336
90337 #ifdef __STDC__
90338 # include <limits.h>
90339 #else
90340 # include <assert.h>
90341 #endif
90342
90343 #undef $ac_func
90344
90345 /* Override any gcc2 internal prototype to avoid an error.  */
90346 #ifdef __cplusplus
90347 extern "C"
90348 {
90349 #endif
90350 /* We use char because int might match the return type of a gcc2
90351    builtin and then its argument prototype would still apply.  */
90352 char $ac_func ();
90353 /* The GNU C library defines this for functions which it implements
90354     to always fail with ENOSYS.  Some functions are actually named
90355     something starting with __ and the normal name is an alias.  */
90356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90357 choke me
90358 #else
90359 char (*f) () = $ac_func;
90360 #endif
90361 #ifdef __cplusplus
90362 }
90363 #endif
90364
90365 int
90366 main ()
90367 {
90368 return f != $ac_func;
90369   ;
90370   return 0;
90371 }
90372 _ACEOF
90373 rm -f conftest.$ac_objext conftest$ac_exeext
90374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90375   (eval $ac_link) 2>conftest.er1
90376   ac_status=$?
90377   grep -v '^ *+' conftest.er1 >conftest.err
90378   rm -f conftest.er1
90379   cat conftest.err >&5
90380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90381   (exit $ac_status); } &&
90382          { ac_try='test -z "$ac_c_werror_flag"
90383                          || test ! -s conftest.err'
90384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90385   (eval $ac_try) 2>&5
90386   ac_status=$?
90387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90388   (exit $ac_status); }; } &&
90389          { ac_try='test -s conftest$ac_exeext'
90390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90391   (eval $ac_try) 2>&5
90392   ac_status=$?
90393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90394   (exit $ac_status); }; }; then
90395   eval "$as_ac_var=yes"
90396 else
90397   echo "$as_me: failed program was:" >&5
90398 sed 's/^/| /' conftest.$ac_ext >&5
90399
90400 eval "$as_ac_var=no"
90401 fi
90402 rm -f conftest.err conftest.$ac_objext \
90403       conftest$ac_exeext conftest.$ac_ext
90404 fi
90405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90407 if test `eval echo '${'$as_ac_var'}'` = yes; then
90408   cat >>confdefs.h <<_ACEOF
90409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90410 _ACEOF
90411
90412 else
90413   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
90414 fi
90415 done
90416
90417
90418           if test x$ac_cv_func_copysignl = x"yes"; then
90419
90420 for ac_func in __signbitl
90421 do
90422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90423 echo "$as_me:$LINENO: checking for $ac_func" >&5
90424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90425 if eval "test \"\${$as_ac_var+set}\" = set"; then
90426   echo $ECHO_N "(cached) $ECHO_C" >&6
90427 else
90428   if test x$gcc_no_link = xyes; then
90429   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90431    { (exit 1); exit 1; }; }
90432 fi
90433 cat >conftest.$ac_ext <<_ACEOF
90434 /* confdefs.h.  */
90435 _ACEOF
90436 cat confdefs.h >>conftest.$ac_ext
90437 cat >>conftest.$ac_ext <<_ACEOF
90438 /* end confdefs.h.  */
90439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90440    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90441 #define $ac_func innocuous_$ac_func
90442
90443 /* System header to define __stub macros and hopefully few prototypes,
90444     which can conflict with char $ac_func (); below.
90445     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90446     <limits.h> exists even on freestanding compilers.  */
90447
90448 #ifdef __STDC__
90449 # include <limits.h>
90450 #else
90451 # include <assert.h>
90452 #endif
90453
90454 #undef $ac_func
90455
90456 /* Override any gcc2 internal prototype to avoid an error.  */
90457 #ifdef __cplusplus
90458 extern "C"
90459 {
90460 #endif
90461 /* We use char because int might match the return type of a gcc2
90462    builtin and then its argument prototype would still apply.  */
90463 char $ac_func ();
90464 /* The GNU C library defines this for functions which it implements
90465     to always fail with ENOSYS.  Some functions are actually named
90466     something starting with __ and the normal name is an alias.  */
90467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90468 choke me
90469 #else
90470 char (*f) () = $ac_func;
90471 #endif
90472 #ifdef __cplusplus
90473 }
90474 #endif
90475
90476 int
90477 main ()
90478 {
90479 return f != $ac_func;
90480   ;
90481   return 0;
90482 }
90483 _ACEOF
90484 rm -f conftest.$ac_objext conftest$ac_exeext
90485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90486   (eval $ac_link) 2>conftest.er1
90487   ac_status=$?
90488   grep -v '^ *+' conftest.er1 >conftest.err
90489   rm -f conftest.er1
90490   cat conftest.err >&5
90491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90492   (exit $ac_status); } &&
90493          { ac_try='test -z "$ac_c_werror_flag"
90494                          || test ! -s conftest.err'
90495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90496   (eval $ac_try) 2>&5
90497   ac_status=$?
90498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90499   (exit $ac_status); }; } &&
90500          { ac_try='test -s conftest$ac_exeext'
90501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90502   (eval $ac_try) 2>&5
90503   ac_status=$?
90504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90505   (exit $ac_status); }; }; then
90506   eval "$as_ac_var=yes"
90507 else
90508   echo "$as_me: failed program was:" >&5
90509 sed 's/^/| /' conftest.$ac_ext >&5
90510
90511 eval "$as_ac_var=no"
90512 fi
90513 rm -f conftest.err conftest.$ac_objext \
90514       conftest$ac_exeext conftest.$ac_ext
90515 fi
90516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90518 if test `eval echo '${'$as_ac_var'}'` = yes; then
90519   cat >>confdefs.h <<_ACEOF
90520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90521 _ACEOF
90522
90523 else
90524   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
90525 fi
90526 done
90527
90528   fi
90529
90530   # Used in libmath/Makefile.am.
90531   if test -n "$LIBMATHOBJS"; then
90532     need_libmath=yes
90533   fi
90534
90535
90536
90537   # Test wchar.h for mbstate_t, which is needed for char_traits and
90538   # others even if wchar_t support is not on.
90539   echo "$as_me:$LINENO: checking for mbstate_t" >&5
90540 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
90541   cat >conftest.$ac_ext <<_ACEOF
90542 /* confdefs.h.  */
90543 _ACEOF
90544 cat confdefs.h >>conftest.$ac_ext
90545 cat >>conftest.$ac_ext <<_ACEOF
90546 /* end confdefs.h.  */
90547 #include <wchar.h>
90548 int
90549 main ()
90550 {
90551 mbstate_t teststate;
90552   ;
90553   return 0;
90554 }
90555 _ACEOF
90556 rm -f conftest.$ac_objext
90557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90558   (eval $ac_compile) 2>conftest.er1
90559   ac_status=$?
90560   grep -v '^ *+' conftest.er1 >conftest.err
90561   rm -f conftest.er1
90562   cat conftest.err >&5
90563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90564   (exit $ac_status); } &&
90565          { ac_try='test -z "$ac_c_werror_flag"
90566                          || test ! -s conftest.err'
90567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90568   (eval $ac_try) 2>&5
90569   ac_status=$?
90570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90571   (exit $ac_status); }; } &&
90572          { ac_try='test -s conftest.$ac_objext'
90573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90574   (eval $ac_try) 2>&5
90575   ac_status=$?
90576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90577   (exit $ac_status); }; }; then
90578   have_mbstate_t=yes
90579 else
90580   echo "$as_me: failed program was:" >&5
90581 sed 's/^/| /' conftest.$ac_ext >&5
90582
90583 have_mbstate_t=no
90584 fi
90585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90586   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
90587 echo "${ECHO_T}$have_mbstate_t" >&6
90588   if test x"$have_mbstate_t" = xyes; then
90589     cat >>confdefs.h <<\_ACEOF
90590 #define HAVE_MBSTATE_T 1
90591 _ACEOF
90592
90593   fi
90594
90595   # Sanity check for existence of ISO C99 headers for extended encoding.
90596
90597 for ac_header in wchar.h
90598 do
90599 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
90600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90601   echo "$as_me:$LINENO: checking for $ac_header" >&5
90602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90604   echo $ECHO_N "(cached) $ECHO_C" >&6
90605 fi
90606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90607 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90608 else
90609   # Is the header compilable?
90610 echo "$as_me:$LINENO: checking $ac_header usability" >&5
90611 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
90612 cat >conftest.$ac_ext <<_ACEOF
90613 /* confdefs.h.  */
90614 _ACEOF
90615 cat confdefs.h >>conftest.$ac_ext
90616 cat >>conftest.$ac_ext <<_ACEOF
90617 /* end confdefs.h.  */
90618 $ac_includes_default
90619 #include <$ac_header>
90620 _ACEOF
90621 rm -f conftest.$ac_objext
90622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90623   (eval $ac_compile) 2>conftest.er1
90624   ac_status=$?
90625   grep -v '^ *+' conftest.er1 >conftest.err
90626   rm -f conftest.er1
90627   cat conftest.err >&5
90628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90629   (exit $ac_status); } &&
90630          { ac_try='test -z "$ac_c_werror_flag"
90631                          || test ! -s conftest.err'
90632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90633   (eval $ac_try) 2>&5
90634   ac_status=$?
90635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90636   (exit $ac_status); }; } &&
90637          { ac_try='test -s conftest.$ac_objext'
90638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90639   (eval $ac_try) 2>&5
90640   ac_status=$?
90641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90642   (exit $ac_status); }; }; then
90643   ac_header_compiler=yes
90644 else
90645   echo "$as_me: failed program was:" >&5
90646 sed 's/^/| /' conftest.$ac_ext >&5
90647
90648 ac_header_compiler=no
90649 fi
90650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90651 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90652 echo "${ECHO_T}$ac_header_compiler" >&6
90653
90654 # Is the header present?
90655 echo "$as_me:$LINENO: checking $ac_header presence" >&5
90656 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
90657 cat >conftest.$ac_ext <<_ACEOF
90658 /* confdefs.h.  */
90659 _ACEOF
90660 cat confdefs.h >>conftest.$ac_ext
90661 cat >>conftest.$ac_ext <<_ACEOF
90662 /* end confdefs.h.  */
90663 #include <$ac_header>
90664 _ACEOF
90665 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90666   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90667   ac_status=$?
90668   grep -v '^ *+' conftest.er1 >conftest.err
90669   rm -f conftest.er1
90670   cat conftest.err >&5
90671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90672   (exit $ac_status); } >/dev/null; then
90673   if test -s conftest.err; then
90674     ac_cpp_err=$ac_c_preproc_warn_flag
90675     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90676   else
90677     ac_cpp_err=
90678   fi
90679 else
90680   ac_cpp_err=yes
90681 fi
90682 if test -z "$ac_cpp_err"; then
90683   ac_header_preproc=yes
90684 else
90685   echo "$as_me: failed program was:" >&5
90686 sed 's/^/| /' conftest.$ac_ext >&5
90687
90688   ac_header_preproc=no
90689 fi
90690 rm -f conftest.err conftest.$ac_ext
90691 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90692 echo "${ECHO_T}$ac_header_preproc" >&6
90693
90694 # So?  What about this header?
90695 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90696   yes:no: )
90697     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
90698 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
90699     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
90700 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
90701     ac_header_preproc=yes
90702     ;;
90703   no:yes:* )
90704     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
90705 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
90706     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
90707 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
90708     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
90709 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
90710     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
90711 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
90712     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
90713 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
90714     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
90715 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
90716     (
90717       cat <<\_ASBOX
90718 ## ----------------------------------------- ##
90719 ## Report this to the package-unused lists.  ##
90720 ## ----------------------------------------- ##
90721 _ASBOX
90722     ) |
90723       sed "s/^/$as_me: WARNING:     /" >&2
90724     ;;
90725 esac
90726 echo "$as_me:$LINENO: checking for $ac_header" >&5
90727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90729   echo $ECHO_N "(cached) $ECHO_C" >&6
90730 else
90731   eval "$as_ac_Header=\$ac_header_preproc"
90732 fi
90733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90735
90736 fi
90737 if test `eval echo '${'$as_ac_Header'}'` = yes; then
90738   cat >>confdefs.h <<_ACEOF
90739 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
90740 _ACEOF
90741  ac_has_wchar_h=yes
90742 else
90743   ac_has_wchar_h=no
90744 fi
90745
90746 done
90747
90748
90749 for ac_header in wctype.h
90750 do
90751 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
90752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90753   echo "$as_me:$LINENO: checking for $ac_header" >&5
90754 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90755 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90756   echo $ECHO_N "(cached) $ECHO_C" >&6
90757 fi
90758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90759 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90760 else
90761   # Is the header compilable?
90762 echo "$as_me:$LINENO: checking $ac_header usability" >&5
90763 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
90764 cat >conftest.$ac_ext <<_ACEOF
90765 /* confdefs.h.  */
90766 _ACEOF
90767 cat confdefs.h >>conftest.$ac_ext
90768 cat >>conftest.$ac_ext <<_ACEOF
90769 /* end confdefs.h.  */
90770 $ac_includes_default
90771 #include <$ac_header>
90772 _ACEOF
90773 rm -f conftest.$ac_objext
90774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90775   (eval $ac_compile) 2>conftest.er1
90776   ac_status=$?
90777   grep -v '^ *+' conftest.er1 >conftest.err
90778   rm -f conftest.er1
90779   cat conftest.err >&5
90780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90781   (exit $ac_status); } &&
90782          { ac_try='test -z "$ac_c_werror_flag"
90783                          || test ! -s conftest.err'
90784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90785   (eval $ac_try) 2>&5
90786   ac_status=$?
90787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90788   (exit $ac_status); }; } &&
90789          { ac_try='test -s conftest.$ac_objext'
90790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90791   (eval $ac_try) 2>&5
90792   ac_status=$?
90793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90794   (exit $ac_status); }; }; then
90795   ac_header_compiler=yes
90796 else
90797   echo "$as_me: failed program was:" >&5
90798 sed 's/^/| /' conftest.$ac_ext >&5
90799
90800 ac_header_compiler=no
90801 fi
90802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90803 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90804 echo "${ECHO_T}$ac_header_compiler" >&6
90805
90806 # Is the header present?
90807 echo "$as_me:$LINENO: checking $ac_header presence" >&5
90808 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
90809 cat >conftest.$ac_ext <<_ACEOF
90810 /* confdefs.h.  */
90811 _ACEOF
90812 cat confdefs.h >>conftest.$ac_ext
90813 cat >>conftest.$ac_ext <<_ACEOF
90814 /* end confdefs.h.  */
90815 #include <$ac_header>
90816 _ACEOF
90817 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90818   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90819   ac_status=$?
90820   grep -v '^ *+' conftest.er1 >conftest.err
90821   rm -f conftest.er1
90822   cat conftest.err >&5
90823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90824   (exit $ac_status); } >/dev/null; then
90825   if test -s conftest.err; then
90826     ac_cpp_err=$ac_c_preproc_warn_flag
90827     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90828   else
90829     ac_cpp_err=
90830   fi
90831 else
90832   ac_cpp_err=yes
90833 fi
90834 if test -z "$ac_cpp_err"; then
90835   ac_header_preproc=yes
90836 else
90837   echo "$as_me: failed program was:" >&5
90838 sed 's/^/| /' conftest.$ac_ext >&5
90839
90840   ac_header_preproc=no
90841 fi
90842 rm -f conftest.err conftest.$ac_ext
90843 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90844 echo "${ECHO_T}$ac_header_preproc" >&6
90845
90846 # So?  What about this header?
90847 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90848   yes:no: )
90849     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
90850 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
90851     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
90852 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
90853     ac_header_preproc=yes
90854     ;;
90855   no:yes:* )
90856     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
90857 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
90858     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
90859 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
90860     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
90861 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
90862     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
90863 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
90864     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
90865 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
90866     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
90867 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
90868     (
90869       cat <<\_ASBOX
90870 ## ----------------------------------------- ##
90871 ## Report this to the package-unused lists.  ##
90872 ## ----------------------------------------- ##
90873 _ASBOX
90874     ) |
90875       sed "s/^/$as_me: WARNING:     /" >&2
90876     ;;
90877 esac
90878 echo "$as_me:$LINENO: checking for $ac_header" >&5
90879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90881   echo $ECHO_N "(cached) $ECHO_C" >&6
90882 else
90883   eval "$as_ac_Header=\$ac_header_preproc"
90884 fi
90885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90886 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90887
90888 fi
90889 if test `eval echo '${'$as_ac_Header'}'` = yes; then
90890   cat >>confdefs.h <<_ACEOF
90891 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
90892 _ACEOF
90893  ac_has_wctype_h=yes
90894 else
90895   ac_has_wctype_h=no
90896 fi
90897
90898 done
90899
90900
90901   # Only continue checking if the ISO C99 headers exist and support is on.
90902   if test x"$ac_has_wchar_h" = xyes &&
90903      test x"$ac_has_wctype_h" = xyes &&
90904      test x"$enable_c_mbchar" != xno; then
90905
90906     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
90907     # numeric_limits can instantiate type_traits<wchar_t>
90908     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
90909 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
90910     cat >conftest.$ac_ext <<_ACEOF
90911 /* confdefs.h.  */
90912 _ACEOF
90913 cat confdefs.h >>conftest.$ac_ext
90914 cat >>conftest.$ac_ext <<_ACEOF
90915 /* end confdefs.h.  */
90916 #include <wchar.h>
90917 int
90918 main ()
90919 {
90920 int i = WCHAR_MIN; int j = WCHAR_MAX;
90921   ;
90922   return 0;
90923 }
90924 _ACEOF
90925 rm -f conftest.$ac_objext
90926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90927   (eval $ac_compile) 2>conftest.er1
90928   ac_status=$?
90929   grep -v '^ *+' conftest.er1 >conftest.err
90930   rm -f conftest.er1
90931   cat conftest.err >&5
90932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90933   (exit $ac_status); } &&
90934          { ac_try='test -z "$ac_c_werror_flag"
90935                          || test ! -s conftest.err'
90936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90937   (eval $ac_try) 2>&5
90938   ac_status=$?
90939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90940   (exit $ac_status); }; } &&
90941          { ac_try='test -s conftest.$ac_objext'
90942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90943   (eval $ac_try) 2>&5
90944   ac_status=$?
90945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90946   (exit $ac_status); }; }; then
90947   has_wchar_minmax=yes
90948 else
90949   echo "$as_me: failed program was:" >&5
90950 sed 's/^/| /' conftest.$ac_ext >&5
90951
90952 has_wchar_minmax=no
90953 fi
90954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90955     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
90956 echo "${ECHO_T}$has_wchar_minmax" >&6
90957
90958     # Test wchar.h for WEOF, which is what we use to determine whether
90959     # to specialize for char_traits<wchar_t> or not.
90960     echo "$as_me:$LINENO: checking for WEOF" >&5
90961 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
90962     cat >conftest.$ac_ext <<_ACEOF
90963 /* confdefs.h.  */
90964 _ACEOF
90965 cat confdefs.h >>conftest.$ac_ext
90966 cat >>conftest.$ac_ext <<_ACEOF
90967 /* end confdefs.h.  */
90968
90969       #include <wchar.h>
90970       #include <stddef.h>
90971 int
90972 main ()
90973 {
90974 wint_t i = WEOF;
90975   ;
90976   return 0;
90977 }
90978 _ACEOF
90979 rm -f conftest.$ac_objext
90980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90981   (eval $ac_compile) 2>conftest.er1
90982   ac_status=$?
90983   grep -v '^ *+' conftest.er1 >conftest.err
90984   rm -f conftest.er1
90985   cat conftest.err >&5
90986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90987   (exit $ac_status); } &&
90988          { ac_try='test -z "$ac_c_werror_flag"
90989                          || test ! -s conftest.err'
90990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90991   (eval $ac_try) 2>&5
90992   ac_status=$?
90993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90994   (exit $ac_status); }; } &&
90995          { ac_try='test -s conftest.$ac_objext'
90996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90997   (eval $ac_try) 2>&5
90998   ac_status=$?
90999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91000   (exit $ac_status); }; }; then
91001   has_weof=yes
91002 else
91003   echo "$as_me: failed program was:" >&5
91004 sed 's/^/| /' conftest.$ac_ext >&5
91005
91006 has_weof=no
91007 fi
91008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91009     echo "$as_me:$LINENO: result: $has_weof" >&5
91010 echo "${ECHO_T}$has_weof" >&6
91011
91012     # Tests for wide character functions used in char_traits<wchar_t>.
91013     ac_wfuncs=yes
91014
91015
91016
91017
91018
91019
91020 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
91021 do
91022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91023 echo "$as_me:$LINENO: checking for $ac_func" >&5
91024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91025 if eval "test \"\${$as_ac_var+set}\" = set"; then
91026   echo $ECHO_N "(cached) $ECHO_C" >&6
91027 else
91028   if test x$gcc_no_link = xyes; then
91029   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91031    { (exit 1); exit 1; }; }
91032 fi
91033 cat >conftest.$ac_ext <<_ACEOF
91034 /* confdefs.h.  */
91035 _ACEOF
91036 cat confdefs.h >>conftest.$ac_ext
91037 cat >>conftest.$ac_ext <<_ACEOF
91038 /* end confdefs.h.  */
91039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91040    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91041 #define $ac_func innocuous_$ac_func
91042
91043 /* System header to define __stub macros and hopefully few prototypes,
91044     which can conflict with char $ac_func (); below.
91045     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91046     <limits.h> exists even on freestanding compilers.  */
91047
91048 #ifdef __STDC__
91049 # include <limits.h>
91050 #else
91051 # include <assert.h>
91052 #endif
91053
91054 #undef $ac_func
91055
91056 /* Override any gcc2 internal prototype to avoid an error.  */
91057 #ifdef __cplusplus
91058 extern "C"
91059 {
91060 #endif
91061 /* We use char because int might match the return type of a gcc2
91062    builtin and then its argument prototype would still apply.  */
91063 char $ac_func ();
91064 /* The GNU C library defines this for functions which it implements
91065     to always fail with ENOSYS.  Some functions are actually named
91066     something starting with __ and the normal name is an alias.  */
91067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91068 choke me
91069 #else
91070 char (*f) () = $ac_func;
91071 #endif
91072 #ifdef __cplusplus
91073 }
91074 #endif
91075
91076 int
91077 main ()
91078 {
91079 return f != $ac_func;
91080   ;
91081   return 0;
91082 }
91083 _ACEOF
91084 rm -f conftest.$ac_objext conftest$ac_exeext
91085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91086   (eval $ac_link) 2>conftest.er1
91087   ac_status=$?
91088   grep -v '^ *+' conftest.er1 >conftest.err
91089   rm -f conftest.er1
91090   cat conftest.err >&5
91091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91092   (exit $ac_status); } &&
91093          { ac_try='test -z "$ac_c_werror_flag"
91094                          || test ! -s conftest.err'
91095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91096   (eval $ac_try) 2>&5
91097   ac_status=$?
91098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91099   (exit $ac_status); }; } &&
91100          { ac_try='test -s conftest$ac_exeext'
91101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91102   (eval $ac_try) 2>&5
91103   ac_status=$?
91104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91105   (exit $ac_status); }; }; then
91106   eval "$as_ac_var=yes"
91107 else
91108   echo "$as_me: failed program was:" >&5
91109 sed 's/^/| /' conftest.$ac_ext >&5
91110
91111 eval "$as_ac_var=no"
91112 fi
91113 rm -f conftest.err conftest.$ac_objext \
91114       conftest$ac_exeext conftest.$ac_ext
91115 fi
91116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91118 if test `eval echo '${'$as_ac_var'}'` = yes; then
91119   cat >>confdefs.h <<_ACEOF
91120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91121 _ACEOF
91122
91123 else
91124   ac_wfuncs=no
91125 fi
91126 done
91127
91128
91129     # Checks for names injected into std:: by the c_std headers.
91130
91131
91132
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 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
91177     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
91178     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
91179     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
91180     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
91181     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
91182 do
91183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91184 echo "$as_me:$LINENO: checking for $ac_func" >&5
91185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91186 if eval "test \"\${$as_ac_var+set}\" = set"; then
91187   echo $ECHO_N "(cached) $ECHO_C" >&6
91188 else
91189   if test x$gcc_no_link = xyes; then
91190   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91192    { (exit 1); exit 1; }; }
91193 fi
91194 cat >conftest.$ac_ext <<_ACEOF
91195 /* confdefs.h.  */
91196 _ACEOF
91197 cat confdefs.h >>conftest.$ac_ext
91198 cat >>conftest.$ac_ext <<_ACEOF
91199 /* end confdefs.h.  */
91200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91201    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91202 #define $ac_func innocuous_$ac_func
91203
91204 /* System header to define __stub macros and hopefully few prototypes,
91205     which can conflict with char $ac_func (); below.
91206     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91207     <limits.h> exists even on freestanding compilers.  */
91208
91209 #ifdef __STDC__
91210 # include <limits.h>
91211 #else
91212 # include <assert.h>
91213 #endif
91214
91215 #undef $ac_func
91216
91217 /* Override any gcc2 internal prototype to avoid an error.  */
91218 #ifdef __cplusplus
91219 extern "C"
91220 {
91221 #endif
91222 /* We use char because int might match the return type of a gcc2
91223    builtin and then its argument prototype would still apply.  */
91224 char $ac_func ();
91225 /* The GNU C library defines this for functions which it implements
91226     to always fail with ENOSYS.  Some functions are actually named
91227     something starting with __ and the normal name is an alias.  */
91228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91229 choke me
91230 #else
91231 char (*f) () = $ac_func;
91232 #endif
91233 #ifdef __cplusplus
91234 }
91235 #endif
91236
91237 int
91238 main ()
91239 {
91240 return f != $ac_func;
91241   ;
91242   return 0;
91243 }
91244 _ACEOF
91245 rm -f conftest.$ac_objext conftest$ac_exeext
91246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91247   (eval $ac_link) 2>conftest.er1
91248   ac_status=$?
91249   grep -v '^ *+' conftest.er1 >conftest.err
91250   rm -f conftest.er1
91251   cat conftest.err >&5
91252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91253   (exit $ac_status); } &&
91254          { ac_try='test -z "$ac_c_werror_flag"
91255                          || test ! -s conftest.err'
91256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91257   (eval $ac_try) 2>&5
91258   ac_status=$?
91259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91260   (exit $ac_status); }; } &&
91261          { ac_try='test -s conftest$ac_exeext'
91262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91263   (eval $ac_try) 2>&5
91264   ac_status=$?
91265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91266   (exit $ac_status); }; }; then
91267   eval "$as_ac_var=yes"
91268 else
91269   echo "$as_me: failed program was:" >&5
91270 sed 's/^/| /' conftest.$ac_ext >&5
91271
91272 eval "$as_ac_var=no"
91273 fi
91274 rm -f conftest.err conftest.$ac_objext \
91275       conftest$ac_exeext conftest.$ac_ext
91276 fi
91277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91279 if test `eval echo '${'$as_ac_var'}'` = yes; then
91280   cat >>confdefs.h <<_ACEOF
91281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91282 _ACEOF
91283
91284 else
91285   ac_wfuncs=no
91286 fi
91287 done
91288
91289
91290     # Checks for wide character functions that are not required
91291     # for basic wchar_t support.  Don't disable support if they are missing.
91292     # Injection of these is wrapped with guard macros.
91293
91294
91295
91296
91297
91298 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
91299 do
91300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91301 echo "$as_me:$LINENO: checking for $ac_func" >&5
91302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91303 if eval "test \"\${$as_ac_var+set}\" = set"; then
91304   echo $ECHO_N "(cached) $ECHO_C" >&6
91305 else
91306   if test x$gcc_no_link = xyes; then
91307   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91309    { (exit 1); exit 1; }; }
91310 fi
91311 cat >conftest.$ac_ext <<_ACEOF
91312 /* confdefs.h.  */
91313 _ACEOF
91314 cat confdefs.h >>conftest.$ac_ext
91315 cat >>conftest.$ac_ext <<_ACEOF
91316 /* end confdefs.h.  */
91317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91318    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91319 #define $ac_func innocuous_$ac_func
91320
91321 /* System header to define __stub macros and hopefully few prototypes,
91322     which can conflict with char $ac_func (); below.
91323     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91324     <limits.h> exists even on freestanding compilers.  */
91325
91326 #ifdef __STDC__
91327 # include <limits.h>
91328 #else
91329 # include <assert.h>
91330 #endif
91331
91332 #undef $ac_func
91333
91334 /* Override any gcc2 internal prototype to avoid an error.  */
91335 #ifdef __cplusplus
91336 extern "C"
91337 {
91338 #endif
91339 /* We use char because int might match the return type of a gcc2
91340    builtin and then its argument prototype would still apply.  */
91341 char $ac_func ();
91342 /* The GNU C library defines this for functions which it implements
91343     to always fail with ENOSYS.  Some functions are actually named
91344     something starting with __ and the normal name is an alias.  */
91345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91346 choke me
91347 #else
91348 char (*f) () = $ac_func;
91349 #endif
91350 #ifdef __cplusplus
91351 }
91352 #endif
91353
91354 int
91355 main ()
91356 {
91357 return f != $ac_func;
91358   ;
91359   return 0;
91360 }
91361 _ACEOF
91362 rm -f conftest.$ac_objext conftest$ac_exeext
91363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91364   (eval $ac_link) 2>conftest.er1
91365   ac_status=$?
91366   grep -v '^ *+' conftest.er1 >conftest.err
91367   rm -f conftest.er1
91368   cat conftest.err >&5
91369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91370   (exit $ac_status); } &&
91371          { ac_try='test -z "$ac_c_werror_flag"
91372                          || test ! -s conftest.err'
91373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91374   (eval $ac_try) 2>&5
91375   ac_status=$?
91376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91377   (exit $ac_status); }; } &&
91378          { ac_try='test -s conftest$ac_exeext'
91379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91380   (eval $ac_try) 2>&5
91381   ac_status=$?
91382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91383   (exit $ac_status); }; }; then
91384   eval "$as_ac_var=yes"
91385 else
91386   echo "$as_me: failed program was:" >&5
91387 sed 's/^/| /' conftest.$ac_ext >&5
91388
91389 eval "$as_ac_var=no"
91390 fi
91391 rm -f conftest.err conftest.$ac_objext \
91392       conftest$ac_exeext conftest.$ac_ext
91393 fi
91394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91396 if test `eval echo '${'$as_ac_var'}'` = yes; then
91397   cat >>confdefs.h <<_ACEOF
91398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91399 _ACEOF
91400
91401 fi
91402 done
91403
91404
91405     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
91406 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
91407     if test x"$has_weof" = xyes &&
91408        test x"$has_wchar_minmax" = xyes &&
91409        test x"$ac_wfuncs" = xyes;
91410     then
91411       ac_isoC99_wchar_t=yes
91412     else
91413       ac_isoC99_wchar_t=no
91414     fi
91415     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
91416 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
91417
91418     # Use iconv for wchar_t to char conversions. As such, check for
91419     # X/Open Portability Guide, version 2 features (XPG2).
91420     if test "${ac_cv_header_iconv_h+set}" = set; then
91421   echo "$as_me:$LINENO: checking for iconv.h" >&5
91422 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
91423 if test "${ac_cv_header_iconv_h+set}" = set; then
91424   echo $ECHO_N "(cached) $ECHO_C" >&6
91425 fi
91426 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
91427 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
91428 else
91429   # Is the header compilable?
91430 echo "$as_me:$LINENO: checking iconv.h usability" >&5
91431 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
91432 cat >conftest.$ac_ext <<_ACEOF
91433 /* confdefs.h.  */
91434 _ACEOF
91435 cat confdefs.h >>conftest.$ac_ext
91436 cat >>conftest.$ac_ext <<_ACEOF
91437 /* end confdefs.h.  */
91438 $ac_includes_default
91439 #include <iconv.h>
91440 _ACEOF
91441 rm -f conftest.$ac_objext
91442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91443   (eval $ac_compile) 2>conftest.er1
91444   ac_status=$?
91445   grep -v '^ *+' conftest.er1 >conftest.err
91446   rm -f conftest.er1
91447   cat conftest.err >&5
91448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91449   (exit $ac_status); } &&
91450          { ac_try='test -z "$ac_c_werror_flag"
91451                          || test ! -s conftest.err'
91452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91453   (eval $ac_try) 2>&5
91454   ac_status=$?
91455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91456   (exit $ac_status); }; } &&
91457          { ac_try='test -s conftest.$ac_objext'
91458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91459   (eval $ac_try) 2>&5
91460   ac_status=$?
91461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91462   (exit $ac_status); }; }; then
91463   ac_header_compiler=yes
91464 else
91465   echo "$as_me: failed program was:" >&5
91466 sed 's/^/| /' conftest.$ac_ext >&5
91467
91468 ac_header_compiler=no
91469 fi
91470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91471 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91472 echo "${ECHO_T}$ac_header_compiler" >&6
91473
91474 # Is the header present?
91475 echo "$as_me:$LINENO: checking iconv.h presence" >&5
91476 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
91477 cat >conftest.$ac_ext <<_ACEOF
91478 /* confdefs.h.  */
91479 _ACEOF
91480 cat confdefs.h >>conftest.$ac_ext
91481 cat >>conftest.$ac_ext <<_ACEOF
91482 /* end confdefs.h.  */
91483 #include <iconv.h>
91484 _ACEOF
91485 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91486   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91487   ac_status=$?
91488   grep -v '^ *+' conftest.er1 >conftest.err
91489   rm -f conftest.er1
91490   cat conftest.err >&5
91491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91492   (exit $ac_status); } >/dev/null; then
91493   if test -s conftest.err; then
91494     ac_cpp_err=$ac_c_preproc_warn_flag
91495     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91496   else
91497     ac_cpp_err=
91498   fi
91499 else
91500   ac_cpp_err=yes
91501 fi
91502 if test -z "$ac_cpp_err"; then
91503   ac_header_preproc=yes
91504 else
91505   echo "$as_me: failed program was:" >&5
91506 sed 's/^/| /' conftest.$ac_ext >&5
91507
91508   ac_header_preproc=no
91509 fi
91510 rm -f conftest.err conftest.$ac_ext
91511 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91512 echo "${ECHO_T}$ac_header_preproc" >&6
91513
91514 # So?  What about this header?
91515 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91516   yes:no: )
91517     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
91518 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
91519     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
91520 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
91521     ac_header_preproc=yes
91522     ;;
91523   no:yes:* )
91524     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
91525 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
91526     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
91527 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
91528     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
91529 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
91530     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
91531 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
91532     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
91533 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
91534     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
91535 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
91536     (
91537       cat <<\_ASBOX
91538 ## ----------------------------------------- ##
91539 ## Report this to the package-unused lists.  ##
91540 ## ----------------------------------------- ##
91541 _ASBOX
91542     ) |
91543       sed "s/^/$as_me: WARNING:     /" >&2
91544     ;;
91545 esac
91546 echo "$as_me:$LINENO: checking for iconv.h" >&5
91547 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
91548 if test "${ac_cv_header_iconv_h+set}" = set; then
91549   echo $ECHO_N "(cached) $ECHO_C" >&6
91550 else
91551   ac_cv_header_iconv_h=$ac_header_preproc
91552 fi
91553 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
91554 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
91555
91556 fi
91557 if test $ac_cv_header_iconv_h = yes; then
91558   ac_has_iconv_h=yes
91559 else
91560   ac_has_iconv_h=no
91561 fi
91562
91563
91564     if test "${ac_cv_header_langinfo_h+set}" = set; then
91565   echo "$as_me:$LINENO: checking for langinfo.h" >&5
91566 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
91567 if test "${ac_cv_header_langinfo_h+set}" = set; then
91568   echo $ECHO_N "(cached) $ECHO_C" >&6
91569 fi
91570 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
91571 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
91572 else
91573   # Is the header compilable?
91574 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
91575 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
91576 cat >conftest.$ac_ext <<_ACEOF
91577 /* confdefs.h.  */
91578 _ACEOF
91579 cat confdefs.h >>conftest.$ac_ext
91580 cat >>conftest.$ac_ext <<_ACEOF
91581 /* end confdefs.h.  */
91582 $ac_includes_default
91583 #include <langinfo.h>
91584 _ACEOF
91585 rm -f conftest.$ac_objext
91586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91587   (eval $ac_compile) 2>conftest.er1
91588   ac_status=$?
91589   grep -v '^ *+' conftest.er1 >conftest.err
91590   rm -f conftest.er1
91591   cat conftest.err >&5
91592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91593   (exit $ac_status); } &&
91594          { ac_try='test -z "$ac_c_werror_flag"
91595                          || test ! -s conftest.err'
91596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91597   (eval $ac_try) 2>&5
91598   ac_status=$?
91599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91600   (exit $ac_status); }; } &&
91601          { ac_try='test -s conftest.$ac_objext'
91602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91603   (eval $ac_try) 2>&5
91604   ac_status=$?
91605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91606   (exit $ac_status); }; }; then
91607   ac_header_compiler=yes
91608 else
91609   echo "$as_me: failed program was:" >&5
91610 sed 's/^/| /' conftest.$ac_ext >&5
91611
91612 ac_header_compiler=no
91613 fi
91614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91615 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91616 echo "${ECHO_T}$ac_header_compiler" >&6
91617
91618 # Is the header present?
91619 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
91620 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
91621 cat >conftest.$ac_ext <<_ACEOF
91622 /* confdefs.h.  */
91623 _ACEOF
91624 cat confdefs.h >>conftest.$ac_ext
91625 cat >>conftest.$ac_ext <<_ACEOF
91626 /* end confdefs.h.  */
91627 #include <langinfo.h>
91628 _ACEOF
91629 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91630   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91631   ac_status=$?
91632   grep -v '^ *+' conftest.er1 >conftest.err
91633   rm -f conftest.er1
91634   cat conftest.err >&5
91635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91636   (exit $ac_status); } >/dev/null; then
91637   if test -s conftest.err; then
91638     ac_cpp_err=$ac_c_preproc_warn_flag
91639     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91640   else
91641     ac_cpp_err=
91642   fi
91643 else
91644   ac_cpp_err=yes
91645 fi
91646 if test -z "$ac_cpp_err"; then
91647   ac_header_preproc=yes
91648 else
91649   echo "$as_me: failed program was:" >&5
91650 sed 's/^/| /' conftest.$ac_ext >&5
91651
91652   ac_header_preproc=no
91653 fi
91654 rm -f conftest.err conftest.$ac_ext
91655 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91656 echo "${ECHO_T}$ac_header_preproc" >&6
91657
91658 # So?  What about this header?
91659 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91660   yes:no: )
91661     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
91662 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
91663     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
91664 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
91665     ac_header_preproc=yes
91666     ;;
91667   no:yes:* )
91668     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
91669 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
91670     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
91671 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
91672     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
91673 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
91674     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
91675 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
91676     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
91677 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
91678     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
91679 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
91680     (
91681       cat <<\_ASBOX
91682 ## ----------------------------------------- ##
91683 ## Report this to the package-unused lists.  ##
91684 ## ----------------------------------------- ##
91685 _ASBOX
91686     ) |
91687       sed "s/^/$as_me: WARNING:     /" >&2
91688     ;;
91689 esac
91690 echo "$as_me:$LINENO: checking for langinfo.h" >&5
91691 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
91692 if test "${ac_cv_header_langinfo_h+set}" = set; then
91693   echo $ECHO_N "(cached) $ECHO_C" >&6
91694 else
91695   ac_cv_header_langinfo_h=$ac_header_preproc
91696 fi
91697 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
91698 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
91699
91700 fi
91701 if test $ac_cv_header_langinfo_h = yes; then
91702   ac_has_langinfo_h=yes
91703 else
91704   ac_has_langinfo_h=no
91705 fi
91706
91707
91708
91709     # Check for existence of libiconv.a providing XPG2 wchar_t support.
91710     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
91711 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
91712 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
91713   echo $ECHO_N "(cached) $ECHO_C" >&6
91714 else
91715   ac_check_lib_save_LIBS=$LIBS
91716 LIBS="-liconv  $LIBS"
91717 if test x$gcc_no_link = xyes; then
91718   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91720    { (exit 1); exit 1; }; }
91721 fi
91722 cat >conftest.$ac_ext <<_ACEOF
91723 /* confdefs.h.  */
91724 _ACEOF
91725 cat confdefs.h >>conftest.$ac_ext
91726 cat >>conftest.$ac_ext <<_ACEOF
91727 /* end confdefs.h.  */
91728
91729 /* Override any gcc2 internal prototype to avoid an error.  */
91730 #ifdef __cplusplus
91731 extern "C"
91732 #endif
91733 /* We use char because int might match the return type of a gcc2
91734    builtin and then its argument prototype would still apply.  */
91735 char iconv ();
91736 int
91737 main ()
91738 {
91739 iconv ();
91740   ;
91741   return 0;
91742 }
91743 _ACEOF
91744 rm -f conftest.$ac_objext conftest$ac_exeext
91745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91746   (eval $ac_link) 2>conftest.er1
91747   ac_status=$?
91748   grep -v '^ *+' conftest.er1 >conftest.err
91749   rm -f conftest.er1
91750   cat conftest.err >&5
91751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91752   (exit $ac_status); } &&
91753          { ac_try='test -z "$ac_c_werror_flag"
91754                          || test ! -s conftest.err'
91755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91756   (eval $ac_try) 2>&5
91757   ac_status=$?
91758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91759   (exit $ac_status); }; } &&
91760          { ac_try='test -s conftest$ac_exeext'
91761   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91762   (eval $ac_try) 2>&5
91763   ac_status=$?
91764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91765   (exit $ac_status); }; }; then
91766   ac_cv_lib_iconv_iconv=yes
91767 else
91768   echo "$as_me: failed program was:" >&5
91769 sed 's/^/| /' conftest.$ac_ext >&5
91770
91771 ac_cv_lib_iconv_iconv=no
91772 fi
91773 rm -f conftest.err conftest.$ac_objext \
91774       conftest$ac_exeext conftest.$ac_ext
91775 LIBS=$ac_check_lib_save_LIBS
91776 fi
91777 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
91778 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
91779 if test $ac_cv_lib_iconv_iconv = yes; then
91780   LIBICONV="-liconv"
91781 fi
91782
91783     ac_save_LIBS="$LIBS"
91784     LIBS="$LIBS $LIBICONV"
91785
91786
91787
91788
91789
91790
91791 for ac_func in iconv_open iconv_close iconv nl_langinfo
91792 do
91793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91794 echo "$as_me:$LINENO: checking for $ac_func" >&5
91795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91796 if eval "test \"\${$as_ac_var+set}\" = set"; then
91797   echo $ECHO_N "(cached) $ECHO_C" >&6
91798 else
91799   if test x$gcc_no_link = xyes; then
91800   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91802    { (exit 1); exit 1; }; }
91803 fi
91804 cat >conftest.$ac_ext <<_ACEOF
91805 /* confdefs.h.  */
91806 _ACEOF
91807 cat confdefs.h >>conftest.$ac_ext
91808 cat >>conftest.$ac_ext <<_ACEOF
91809 /* end confdefs.h.  */
91810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91811    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91812 #define $ac_func innocuous_$ac_func
91813
91814 /* System header to define __stub macros and hopefully few prototypes,
91815     which can conflict with char $ac_func (); below.
91816     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91817     <limits.h> exists even on freestanding compilers.  */
91818
91819 #ifdef __STDC__
91820 # include <limits.h>
91821 #else
91822 # include <assert.h>
91823 #endif
91824
91825 #undef $ac_func
91826
91827 /* Override any gcc2 internal prototype to avoid an error.  */
91828 #ifdef __cplusplus
91829 extern "C"
91830 {
91831 #endif
91832 /* We use char because int might match the return type of a gcc2
91833    builtin and then its argument prototype would still apply.  */
91834 char $ac_func ();
91835 /* The GNU C library defines this for functions which it implements
91836     to always fail with ENOSYS.  Some functions are actually named
91837     something starting with __ and the normal name is an alias.  */
91838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91839 choke me
91840 #else
91841 char (*f) () = $ac_func;
91842 #endif
91843 #ifdef __cplusplus
91844 }
91845 #endif
91846
91847 int
91848 main ()
91849 {
91850 return f != $ac_func;
91851   ;
91852   return 0;
91853 }
91854 _ACEOF
91855 rm -f conftest.$ac_objext conftest$ac_exeext
91856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91857   (eval $ac_link) 2>conftest.er1
91858   ac_status=$?
91859   grep -v '^ *+' conftest.er1 >conftest.err
91860   rm -f conftest.er1
91861   cat conftest.err >&5
91862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91863   (exit $ac_status); } &&
91864          { ac_try='test -z "$ac_c_werror_flag"
91865                          || test ! -s conftest.err'
91866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91867   (eval $ac_try) 2>&5
91868   ac_status=$?
91869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91870   (exit $ac_status); }; } &&
91871          { ac_try='test -s conftest$ac_exeext'
91872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91873   (eval $ac_try) 2>&5
91874   ac_status=$?
91875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91876   (exit $ac_status); }; }; then
91877   eval "$as_ac_var=yes"
91878 else
91879   echo "$as_me: failed program was:" >&5
91880 sed 's/^/| /' conftest.$ac_ext >&5
91881
91882 eval "$as_ac_var=no"
91883 fi
91884 rm -f conftest.err conftest.$ac_objext \
91885       conftest$ac_exeext conftest.$ac_ext
91886 fi
91887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91889 if test `eval echo '${'$as_ac_var'}'` = yes; then
91890   cat >>confdefs.h <<_ACEOF
91891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91892 _ACEOF
91893  ac_XPG2funcs=yes
91894 else
91895   ac_XPG2funcs=no
91896 fi
91897 done
91898
91899
91900     LIBS="$ac_save_LIBS"
91901
91902     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
91903 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
91904     if test x"$ac_has_iconv_h" = xyes &&
91905        test x"$ac_has_langinfo_h" = xyes &&
91906        test x"$ac_XPG2funcs" = xyes;
91907     then
91908       ac_XPG2_wchar_t=yes
91909     else
91910       ac_XPG2_wchar_t=no
91911     fi
91912     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
91913 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
91914
91915     # At the moment, only enable wchar_t specializations if all the
91916     # above support is present.
91917     if test x"$ac_isoC99_wchar_t" = xyes &&
91918        test x"$ac_XPG2_wchar_t" = xyes;
91919     then
91920       cat >>confdefs.h <<\_ACEOF
91921 #define _GLIBCXX_USE_WCHAR_T 1
91922 _ACEOF
91923
91924       enable_wchar_t=yes
91925     fi
91926   fi
91927   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
91928 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
91929   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
91930 echo "${ECHO_T}$enable_wchar_t" >&6
91931
91932     cat >>confdefs.h <<\_ACEOF
91933 #define HAVE_COSF 1
91934 _ACEOF
91935
91936     cat >>confdefs.h <<\_ACEOF
91937 #define HAVE_COSL 1
91938 _ACEOF
91939
91940     cat >>confdefs.h <<\_ACEOF
91941 #define HAVE_COSHF 1
91942 _ACEOF
91943
91944     cat >>confdefs.h <<\_ACEOF
91945 #define HAVE_COSHL 1
91946 _ACEOF
91947
91948     cat >>confdefs.h <<\_ACEOF
91949 #define HAVE_LOGF 1
91950 _ACEOF
91951
91952     cat >>confdefs.h <<\_ACEOF
91953 #define HAVE_LOGL 1
91954 _ACEOF
91955
91956     cat >>confdefs.h <<\_ACEOF
91957 #define HAVE_LOG10F 1
91958 _ACEOF
91959
91960     cat >>confdefs.h <<\_ACEOF
91961 #define HAVE_LOG10L 1
91962 _ACEOF
91963
91964     cat >>confdefs.h <<\_ACEOF
91965 #define HAVE_SINF 1
91966 _ACEOF
91967
91968     cat >>confdefs.h <<\_ACEOF
91969 #define HAVE_SINL 1
91970 _ACEOF
91971
91972     cat >>confdefs.h <<\_ACEOF
91973 #define HAVE_SINHF 1
91974 _ACEOF
91975
91976     cat >>confdefs.h <<\_ACEOF
91977 #define HAVE_SINHL 1
91978 _ACEOF
91979
91980     ;;
91981   *-solaris*)
91982     case "$target" in
91983     #  *-solaris2.5)
91984     #    os_include_dir="os/solaris/solaris2.5"
91985     #    ;;
91986     #  *-solaris2.6)
91987     #    os_include_dir="os/solaris/solaris2.6"
91988     #    ;;
91989       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
91990          cat >>confdefs.h <<\_ACEOF
91991 #define HAVE_GETPAGESIZE 1
91992 _ACEOF
91993
91994          cat >>confdefs.h <<\_ACEOF
91995 #define HAVE_SIGSETJMP 1
91996 _ACEOF
91997
91998          cat >>confdefs.h <<\_ACEOF
91999 #define HAVE_MBSTATE_T 1
92000 _ACEOF
92001
92002          cat >>confdefs.h <<\_ACEOF
92003 #define HAVE_POLL 1
92004 _ACEOF
92005
92006          cat >>confdefs.h <<\_ACEOF
92007 #define HAVE_S_ISREG 1
92008 _ACEOF
92009
92010          cat >>confdefs.h <<\_ACEOF
92011 #define HAVE_LC_MESSAGES 1
92012 _ACEOF
92013
92014          cat >>confdefs.h <<\_ACEOF
92015 #define HAVE_BTOWC 1
92016 _ACEOF
92017
92018          cat >>confdefs.h <<\_ACEOF
92019 #define HAVE_FGETWC 1
92020 _ACEOF
92021
92022          cat >>confdefs.h <<\_ACEOF
92023 #define HAVE_FGETWS 1
92024 _ACEOF
92025
92026          cat >>confdefs.h <<\_ACEOF
92027 #define HAVE_FINITE 1
92028 _ACEOF
92029
92030          cat >>confdefs.h <<\_ACEOF
92031 #define HAVE_FPCLASS 1
92032 _ACEOF
92033
92034          cat >>confdefs.h <<\_ACEOF
92035 #define HAVE_FPUTWC 1
92036 _ACEOF
92037
92038          cat >>confdefs.h <<\_ACEOF
92039 #define HAVE_FPUTWS 1
92040 _ACEOF
92041
92042          cat >>confdefs.h <<\_ACEOF
92043 #define HAVE_FWIDE 1
92044 _ACEOF
92045
92046          cat >>confdefs.h <<\_ACEOF
92047 #define HAVE_FWPRINTF 1
92048 _ACEOF
92049
92050          cat >>confdefs.h <<\_ACEOF
92051 #define HAVE_FWSCANF 1
92052 _ACEOF
92053
92054          cat >>confdefs.h <<\_ACEOF
92055 #define HAVE_GETPAGESIZE 1
92056 _ACEOF
92057
92058          cat >>confdefs.h <<\_ACEOF
92059 #define HAVE_GETWC 1
92060 _ACEOF
92061
92062          cat >>confdefs.h <<\_ACEOF
92063 #define HAVE_GETWCHAR 1
92064 _ACEOF
92065
92066          cat >>confdefs.h <<\_ACEOF
92067 #define HAVE_MBRLEN 1
92068 _ACEOF
92069
92070          cat >>confdefs.h <<\_ACEOF
92071 #define HAVE_MBRTOWC 1
92072 _ACEOF
92073
92074          cat >>confdefs.h <<\_ACEOF
92075 #define HAVE_MBSINIT 1
92076 _ACEOF
92077
92078          cat >>confdefs.h <<\_ACEOF
92079 #define HAVE_MBSRTOWCS 1
92080 _ACEOF
92081
92082          cat >>confdefs.h <<\_ACEOF
92083 #define HAVE_NL_LANGINFO 1
92084 _ACEOF
92085
92086          cat >>confdefs.h <<\_ACEOF
92087 #define HAVE_PUTWC 1
92088 _ACEOF
92089
92090          cat >>confdefs.h <<\_ACEOF
92091 #define HAVE_PUTWCHAR 1
92092 _ACEOF
92093
92094          cat >>confdefs.h <<\_ACEOF
92095 #define HAVE_SWPRINTF 1
92096 _ACEOF
92097
92098          cat >>confdefs.h <<\_ACEOF
92099 #define HAVE_SWSCANF 1
92100 _ACEOF
92101
92102          cat >>confdefs.h <<\_ACEOF
92103 #define HAVE_UNGETWC 1
92104 _ACEOF
92105
92106          cat >>confdefs.h <<\_ACEOF
92107 #define HAVE_VFWPRINTF 1
92108 _ACEOF
92109
92110          cat >>confdefs.h <<\_ACEOF
92111 #define HAVE_VSWPRINTF 1
92112 _ACEOF
92113
92114          cat >>confdefs.h <<\_ACEOF
92115 #define HAVE_VWPRINTF 1
92116 _ACEOF
92117
92118          cat >>confdefs.h <<\_ACEOF
92119 #define HAVE_WCRTOMB 1
92120 _ACEOF
92121
92122          cat >>confdefs.h <<\_ACEOF
92123 #define HAVE_WCSCAT 1
92124 _ACEOF
92125
92126          cat >>confdefs.h <<\_ACEOF
92127 #define HAVE_WCSCHR 1
92128 _ACEOF
92129
92130          cat >>confdefs.h <<\_ACEOF
92131 #define HAVE_WCSCMP 1
92132 _ACEOF
92133
92134          cat >>confdefs.h <<\_ACEOF
92135 #define HAVE_WCSCOLL 1
92136 _ACEOF
92137
92138          cat >>confdefs.h <<\_ACEOF
92139 #define HAVE_WCSCPY 1
92140 _ACEOF
92141
92142          cat >>confdefs.h <<\_ACEOF
92143 #define HAVE_WCSCSPN 1
92144 _ACEOF
92145
92146          cat >>confdefs.h <<\_ACEOF
92147 #define HAVE_WCSFTIME 1
92148 _ACEOF
92149
92150          cat >>confdefs.h <<\_ACEOF
92151 #define HAVE_WCSLEN 1
92152 _ACEOF
92153
92154          cat >>confdefs.h <<\_ACEOF
92155 #define HAVE_WCSNCAT 1
92156 _ACEOF
92157
92158          cat >>confdefs.h <<\_ACEOF
92159 #define HAVE_WCSNCMP 1
92160 _ACEOF
92161
92162          cat >>confdefs.h <<\_ACEOF
92163 #define HAVE_WCSNCPY 1
92164 _ACEOF
92165
92166          cat >>confdefs.h <<\_ACEOF
92167 #define HAVE_WCSPBRK 1
92168 _ACEOF
92169
92170          cat >>confdefs.h <<\_ACEOF
92171 #define HAVE_WCSRCHR 1
92172 _ACEOF
92173
92174          cat >>confdefs.h <<\_ACEOF
92175 #define HAVE_WCSRTOMBS 1
92176 _ACEOF
92177
92178          cat >>confdefs.h <<\_ACEOF
92179 #define HAVE_WCSSPN 1
92180 _ACEOF
92181
92182          cat >>confdefs.h <<\_ACEOF
92183 #define HAVE_WCSSTR 1
92184 _ACEOF
92185
92186          cat >>confdefs.h <<\_ACEOF
92187 #define HAVE_WCSTOD 1
92188 _ACEOF
92189
92190          cat >>confdefs.h <<\_ACEOF
92191 #define HAVE_WCSTOK 1
92192 _ACEOF
92193
92194          cat >>confdefs.h <<\_ACEOF
92195 #define HAVE_WCSTOL 1
92196 _ACEOF
92197
92198          cat >>confdefs.h <<\_ACEOF
92199 #define HAVE_WCSTOUL 1
92200 _ACEOF
92201
92202          cat >>confdefs.h <<\_ACEOF
92203 #define HAVE_WCSXFRM 1
92204 _ACEOF
92205
92206          cat >>confdefs.h <<\_ACEOF
92207 #define HAVE_WCTOB 1
92208 _ACEOF
92209
92210          cat >>confdefs.h <<\_ACEOF
92211 #define HAVE_WMEMCHR 1
92212 _ACEOF
92213
92214          cat >>confdefs.h <<\_ACEOF
92215 #define HAVE_WMEMCMP 1
92216 _ACEOF
92217
92218          cat >>confdefs.h <<\_ACEOF
92219 #define HAVE_WMEMCPY 1
92220 _ACEOF
92221
92222          cat >>confdefs.h <<\_ACEOF
92223 #define HAVE_WMEMMOVE 1
92224 _ACEOF
92225
92226          cat >>confdefs.h <<\_ACEOF
92227 #define HAVE_WMEMSET 1
92228 _ACEOF
92229
92230          cat >>confdefs.h <<\_ACEOF
92231 #define HAVE_WPRINTF 1
92232 _ACEOF
92233
92234          cat >>confdefs.h <<\_ACEOF
92235 #define HAVE_WSCANF 1
92236 _ACEOF
92237
92238          cat >>confdefs.h <<\_ACEOF
92239 #define HAVE_ICONV 1
92240 _ACEOF
92241
92242          cat >>confdefs.h <<\_ACEOF
92243 #define HAVE_ICONV_CLOSE 1
92244 _ACEOF
92245
92246          cat >>confdefs.h <<\_ACEOF
92247 #define HAVE_ICONV_OPEN 1
92248 _ACEOF
92249
92250          # Look for the pieces required for wchar_t support in order to
92251          # get all the right HAVE_* macros defined.
92252
92253   # Test wchar.h for mbstate_t, which is needed for char_traits and
92254   # others even if wchar_t support is not on.
92255   echo "$as_me:$LINENO: checking for mbstate_t" >&5
92256 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
92257   cat >conftest.$ac_ext <<_ACEOF
92258 /* confdefs.h.  */
92259 _ACEOF
92260 cat confdefs.h >>conftest.$ac_ext
92261 cat >>conftest.$ac_ext <<_ACEOF
92262 /* end confdefs.h.  */
92263 #include <wchar.h>
92264 int
92265 main ()
92266 {
92267 mbstate_t teststate;
92268   ;
92269   return 0;
92270 }
92271 _ACEOF
92272 rm -f conftest.$ac_objext
92273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92274   (eval $ac_compile) 2>conftest.er1
92275   ac_status=$?
92276   grep -v '^ *+' conftest.er1 >conftest.err
92277   rm -f conftest.er1
92278   cat conftest.err >&5
92279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92280   (exit $ac_status); } &&
92281          { ac_try='test -z "$ac_c_werror_flag"
92282                          || test ! -s conftest.err'
92283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92284   (eval $ac_try) 2>&5
92285   ac_status=$?
92286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92287   (exit $ac_status); }; } &&
92288          { ac_try='test -s conftest.$ac_objext'
92289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92290   (eval $ac_try) 2>&5
92291   ac_status=$?
92292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92293   (exit $ac_status); }; }; then
92294   have_mbstate_t=yes
92295 else
92296   echo "$as_me: failed program was:" >&5
92297 sed 's/^/| /' conftest.$ac_ext >&5
92298
92299 have_mbstate_t=no
92300 fi
92301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92302   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
92303 echo "${ECHO_T}$have_mbstate_t" >&6
92304   if test x"$have_mbstate_t" = xyes; then
92305     cat >>confdefs.h <<\_ACEOF
92306 #define HAVE_MBSTATE_T 1
92307 _ACEOF
92308
92309   fi
92310
92311   # Sanity check for existence of ISO C99 headers for extended encoding.
92312
92313 for ac_header in wchar.h
92314 do
92315 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
92316 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92317   echo "$as_me:$LINENO: checking for $ac_header" >&5
92318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92320   echo $ECHO_N "(cached) $ECHO_C" >&6
92321 fi
92322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92323 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92324 else
92325   # Is the header compilable?
92326 echo "$as_me:$LINENO: checking $ac_header usability" >&5
92327 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
92328 cat >conftest.$ac_ext <<_ACEOF
92329 /* confdefs.h.  */
92330 _ACEOF
92331 cat confdefs.h >>conftest.$ac_ext
92332 cat >>conftest.$ac_ext <<_ACEOF
92333 /* end confdefs.h.  */
92334 $ac_includes_default
92335 #include <$ac_header>
92336 _ACEOF
92337 rm -f conftest.$ac_objext
92338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92339   (eval $ac_compile) 2>conftest.er1
92340   ac_status=$?
92341   grep -v '^ *+' conftest.er1 >conftest.err
92342   rm -f conftest.er1
92343   cat conftest.err >&5
92344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92345   (exit $ac_status); } &&
92346          { ac_try='test -z "$ac_c_werror_flag"
92347                          || test ! -s conftest.err'
92348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92349   (eval $ac_try) 2>&5
92350   ac_status=$?
92351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92352   (exit $ac_status); }; } &&
92353          { ac_try='test -s conftest.$ac_objext'
92354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92355   (eval $ac_try) 2>&5
92356   ac_status=$?
92357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92358   (exit $ac_status); }; }; then
92359   ac_header_compiler=yes
92360 else
92361   echo "$as_me: failed program was:" >&5
92362 sed 's/^/| /' conftest.$ac_ext >&5
92363
92364 ac_header_compiler=no
92365 fi
92366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92367 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92368 echo "${ECHO_T}$ac_header_compiler" >&6
92369
92370 # Is the header present?
92371 echo "$as_me:$LINENO: checking $ac_header presence" >&5
92372 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
92373 cat >conftest.$ac_ext <<_ACEOF
92374 /* confdefs.h.  */
92375 _ACEOF
92376 cat confdefs.h >>conftest.$ac_ext
92377 cat >>conftest.$ac_ext <<_ACEOF
92378 /* end confdefs.h.  */
92379 #include <$ac_header>
92380 _ACEOF
92381 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92382   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92383   ac_status=$?
92384   grep -v '^ *+' conftest.er1 >conftest.err
92385   rm -f conftest.er1
92386   cat conftest.err >&5
92387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92388   (exit $ac_status); } >/dev/null; then
92389   if test -s conftest.err; then
92390     ac_cpp_err=$ac_c_preproc_warn_flag
92391     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92392   else
92393     ac_cpp_err=
92394   fi
92395 else
92396   ac_cpp_err=yes
92397 fi
92398 if test -z "$ac_cpp_err"; then
92399   ac_header_preproc=yes
92400 else
92401   echo "$as_me: failed program was:" >&5
92402 sed 's/^/| /' conftest.$ac_ext >&5
92403
92404   ac_header_preproc=no
92405 fi
92406 rm -f conftest.err conftest.$ac_ext
92407 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92408 echo "${ECHO_T}$ac_header_preproc" >&6
92409
92410 # So?  What about this header?
92411 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92412   yes:no: )
92413     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
92414 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
92415     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
92416 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
92417     ac_header_preproc=yes
92418     ;;
92419   no:yes:* )
92420     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
92421 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
92422     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
92423 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
92424     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
92425 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
92426     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
92427 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
92428     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
92429 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
92430     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
92431 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
92432     (
92433       cat <<\_ASBOX
92434 ## ----------------------------------------- ##
92435 ## Report this to the package-unused lists.  ##
92436 ## ----------------------------------------- ##
92437 _ASBOX
92438     ) |
92439       sed "s/^/$as_me: WARNING:     /" >&2
92440     ;;
92441 esac
92442 echo "$as_me:$LINENO: checking for $ac_header" >&5
92443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92445   echo $ECHO_N "(cached) $ECHO_C" >&6
92446 else
92447   eval "$as_ac_Header=\$ac_header_preproc"
92448 fi
92449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92450 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92451
92452 fi
92453 if test `eval echo '${'$as_ac_Header'}'` = yes; then
92454   cat >>confdefs.h <<_ACEOF
92455 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
92456 _ACEOF
92457  ac_has_wchar_h=yes
92458 else
92459   ac_has_wchar_h=no
92460 fi
92461
92462 done
92463
92464
92465 for ac_header in wctype.h
92466 do
92467 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
92468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92469   echo "$as_me:$LINENO: checking for $ac_header" >&5
92470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92472   echo $ECHO_N "(cached) $ECHO_C" >&6
92473 fi
92474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92475 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92476 else
92477   # Is the header compilable?
92478 echo "$as_me:$LINENO: checking $ac_header usability" >&5
92479 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
92480 cat >conftest.$ac_ext <<_ACEOF
92481 /* confdefs.h.  */
92482 _ACEOF
92483 cat confdefs.h >>conftest.$ac_ext
92484 cat >>conftest.$ac_ext <<_ACEOF
92485 /* end confdefs.h.  */
92486 $ac_includes_default
92487 #include <$ac_header>
92488 _ACEOF
92489 rm -f conftest.$ac_objext
92490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92491   (eval $ac_compile) 2>conftest.er1
92492   ac_status=$?
92493   grep -v '^ *+' conftest.er1 >conftest.err
92494   rm -f conftest.er1
92495   cat conftest.err >&5
92496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92497   (exit $ac_status); } &&
92498          { ac_try='test -z "$ac_c_werror_flag"
92499                          || test ! -s conftest.err'
92500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92501   (eval $ac_try) 2>&5
92502   ac_status=$?
92503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92504   (exit $ac_status); }; } &&
92505          { ac_try='test -s conftest.$ac_objext'
92506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92507   (eval $ac_try) 2>&5
92508   ac_status=$?
92509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92510   (exit $ac_status); }; }; then
92511   ac_header_compiler=yes
92512 else
92513   echo "$as_me: failed program was:" >&5
92514 sed 's/^/| /' conftest.$ac_ext >&5
92515
92516 ac_header_compiler=no
92517 fi
92518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92519 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92520 echo "${ECHO_T}$ac_header_compiler" >&6
92521
92522 # Is the header present?
92523 echo "$as_me:$LINENO: checking $ac_header presence" >&5
92524 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
92525 cat >conftest.$ac_ext <<_ACEOF
92526 /* confdefs.h.  */
92527 _ACEOF
92528 cat confdefs.h >>conftest.$ac_ext
92529 cat >>conftest.$ac_ext <<_ACEOF
92530 /* end confdefs.h.  */
92531 #include <$ac_header>
92532 _ACEOF
92533 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92534   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92535   ac_status=$?
92536   grep -v '^ *+' conftest.er1 >conftest.err
92537   rm -f conftest.er1
92538   cat conftest.err >&5
92539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92540   (exit $ac_status); } >/dev/null; then
92541   if test -s conftest.err; then
92542     ac_cpp_err=$ac_c_preproc_warn_flag
92543     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92544   else
92545     ac_cpp_err=
92546   fi
92547 else
92548   ac_cpp_err=yes
92549 fi
92550 if test -z "$ac_cpp_err"; then
92551   ac_header_preproc=yes
92552 else
92553   echo "$as_me: failed program was:" >&5
92554 sed 's/^/| /' conftest.$ac_ext >&5
92555
92556   ac_header_preproc=no
92557 fi
92558 rm -f conftest.err conftest.$ac_ext
92559 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92560 echo "${ECHO_T}$ac_header_preproc" >&6
92561
92562 # So?  What about this header?
92563 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92564   yes:no: )
92565     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
92566 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
92567     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
92568 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
92569     ac_header_preproc=yes
92570     ;;
92571   no:yes:* )
92572     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
92573 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
92574     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
92575 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
92576     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
92577 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
92578     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
92579 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
92580     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
92581 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
92582     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
92583 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
92584     (
92585       cat <<\_ASBOX
92586 ## ----------------------------------------- ##
92587 ## Report this to the package-unused lists.  ##
92588 ## ----------------------------------------- ##
92589 _ASBOX
92590     ) |
92591       sed "s/^/$as_me: WARNING:     /" >&2
92592     ;;
92593 esac
92594 echo "$as_me:$LINENO: checking for $ac_header" >&5
92595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92597   echo $ECHO_N "(cached) $ECHO_C" >&6
92598 else
92599   eval "$as_ac_Header=\$ac_header_preproc"
92600 fi
92601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92602 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92603
92604 fi
92605 if test `eval echo '${'$as_ac_Header'}'` = yes; then
92606   cat >>confdefs.h <<_ACEOF
92607 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
92608 _ACEOF
92609  ac_has_wctype_h=yes
92610 else
92611   ac_has_wctype_h=no
92612 fi
92613
92614 done
92615
92616
92617   # Only continue checking if the ISO C99 headers exist and support is on.
92618   if test x"$ac_has_wchar_h" = xyes &&
92619      test x"$ac_has_wctype_h" = xyes &&
92620      test x"$enable_c_mbchar" != xno; then
92621
92622     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
92623     # numeric_limits can instantiate type_traits<wchar_t>
92624     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
92625 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
92626     cat >conftest.$ac_ext <<_ACEOF
92627 /* confdefs.h.  */
92628 _ACEOF
92629 cat confdefs.h >>conftest.$ac_ext
92630 cat >>conftest.$ac_ext <<_ACEOF
92631 /* end confdefs.h.  */
92632 #include <wchar.h>
92633 int
92634 main ()
92635 {
92636 int i = WCHAR_MIN; int j = WCHAR_MAX;
92637   ;
92638   return 0;
92639 }
92640 _ACEOF
92641 rm -f conftest.$ac_objext
92642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92643   (eval $ac_compile) 2>conftest.er1
92644   ac_status=$?
92645   grep -v '^ *+' conftest.er1 >conftest.err
92646   rm -f conftest.er1
92647   cat conftest.err >&5
92648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92649   (exit $ac_status); } &&
92650          { ac_try='test -z "$ac_c_werror_flag"
92651                          || test ! -s conftest.err'
92652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92653   (eval $ac_try) 2>&5
92654   ac_status=$?
92655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92656   (exit $ac_status); }; } &&
92657          { ac_try='test -s conftest.$ac_objext'
92658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92659   (eval $ac_try) 2>&5
92660   ac_status=$?
92661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92662   (exit $ac_status); }; }; then
92663   has_wchar_minmax=yes
92664 else
92665   echo "$as_me: failed program was:" >&5
92666 sed 's/^/| /' conftest.$ac_ext >&5
92667
92668 has_wchar_minmax=no
92669 fi
92670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92671     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
92672 echo "${ECHO_T}$has_wchar_minmax" >&6
92673
92674     # Test wchar.h for WEOF, which is what we use to determine whether
92675     # to specialize for char_traits<wchar_t> or not.
92676     echo "$as_me:$LINENO: checking for WEOF" >&5
92677 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
92678     cat >conftest.$ac_ext <<_ACEOF
92679 /* confdefs.h.  */
92680 _ACEOF
92681 cat confdefs.h >>conftest.$ac_ext
92682 cat >>conftest.$ac_ext <<_ACEOF
92683 /* end confdefs.h.  */
92684
92685       #include <wchar.h>
92686       #include <stddef.h>
92687 int
92688 main ()
92689 {
92690 wint_t i = WEOF;
92691   ;
92692   return 0;
92693 }
92694 _ACEOF
92695 rm -f conftest.$ac_objext
92696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92697   (eval $ac_compile) 2>conftest.er1
92698   ac_status=$?
92699   grep -v '^ *+' conftest.er1 >conftest.err
92700   rm -f conftest.er1
92701   cat conftest.err >&5
92702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92703   (exit $ac_status); } &&
92704          { ac_try='test -z "$ac_c_werror_flag"
92705                          || test ! -s conftest.err'
92706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92707   (eval $ac_try) 2>&5
92708   ac_status=$?
92709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92710   (exit $ac_status); }; } &&
92711          { ac_try='test -s conftest.$ac_objext'
92712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92713   (eval $ac_try) 2>&5
92714   ac_status=$?
92715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92716   (exit $ac_status); }; }; then
92717   has_weof=yes
92718 else
92719   echo "$as_me: failed program was:" >&5
92720 sed 's/^/| /' conftest.$ac_ext >&5
92721
92722 has_weof=no
92723 fi
92724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92725     echo "$as_me:$LINENO: result: $has_weof" >&5
92726 echo "${ECHO_T}$has_weof" >&6
92727
92728     # Tests for wide character functions used in char_traits<wchar_t>.
92729     ac_wfuncs=yes
92730
92731
92732
92733
92734
92735
92736 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
92737 do
92738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92739 echo "$as_me:$LINENO: checking for $ac_func" >&5
92740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92741 if eval "test \"\${$as_ac_var+set}\" = set"; then
92742   echo $ECHO_N "(cached) $ECHO_C" >&6
92743 else
92744   if test x$gcc_no_link = xyes; then
92745   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92747    { (exit 1); exit 1; }; }
92748 fi
92749 cat >conftest.$ac_ext <<_ACEOF
92750 /* confdefs.h.  */
92751 _ACEOF
92752 cat confdefs.h >>conftest.$ac_ext
92753 cat >>conftest.$ac_ext <<_ACEOF
92754 /* end confdefs.h.  */
92755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92756    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92757 #define $ac_func innocuous_$ac_func
92758
92759 /* System header to define __stub macros and hopefully few prototypes,
92760     which can conflict with char $ac_func (); below.
92761     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92762     <limits.h> exists even on freestanding compilers.  */
92763
92764 #ifdef __STDC__
92765 # include <limits.h>
92766 #else
92767 # include <assert.h>
92768 #endif
92769
92770 #undef $ac_func
92771
92772 /* Override any gcc2 internal prototype to avoid an error.  */
92773 #ifdef __cplusplus
92774 extern "C"
92775 {
92776 #endif
92777 /* We use char because int might match the return type of a gcc2
92778    builtin and then its argument prototype would still apply.  */
92779 char $ac_func ();
92780 /* The GNU C library defines this for functions which it implements
92781     to always fail with ENOSYS.  Some functions are actually named
92782     something starting with __ and the normal name is an alias.  */
92783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92784 choke me
92785 #else
92786 char (*f) () = $ac_func;
92787 #endif
92788 #ifdef __cplusplus
92789 }
92790 #endif
92791
92792 int
92793 main ()
92794 {
92795 return f != $ac_func;
92796   ;
92797   return 0;
92798 }
92799 _ACEOF
92800 rm -f conftest.$ac_objext conftest$ac_exeext
92801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92802   (eval $ac_link) 2>conftest.er1
92803   ac_status=$?
92804   grep -v '^ *+' conftest.er1 >conftest.err
92805   rm -f conftest.er1
92806   cat conftest.err >&5
92807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92808   (exit $ac_status); } &&
92809          { ac_try='test -z "$ac_c_werror_flag"
92810                          || test ! -s conftest.err'
92811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92812   (eval $ac_try) 2>&5
92813   ac_status=$?
92814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92815   (exit $ac_status); }; } &&
92816          { ac_try='test -s conftest$ac_exeext'
92817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92818   (eval $ac_try) 2>&5
92819   ac_status=$?
92820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92821   (exit $ac_status); }; }; then
92822   eval "$as_ac_var=yes"
92823 else
92824   echo "$as_me: failed program was:" >&5
92825 sed 's/^/| /' conftest.$ac_ext >&5
92826
92827 eval "$as_ac_var=no"
92828 fi
92829 rm -f conftest.err conftest.$ac_objext \
92830       conftest$ac_exeext conftest.$ac_ext
92831 fi
92832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92834 if test `eval echo '${'$as_ac_var'}'` = yes; then
92835   cat >>confdefs.h <<_ACEOF
92836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92837 _ACEOF
92838
92839 else
92840   ac_wfuncs=no
92841 fi
92842 done
92843
92844
92845     # Checks for names injected into std:: by the c_std headers.
92846
92847
92848
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 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
92893     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
92894     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
92895     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
92896     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
92897     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
92898 do
92899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92900 echo "$as_me:$LINENO: checking for $ac_func" >&5
92901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92902 if eval "test \"\${$as_ac_var+set}\" = set"; then
92903   echo $ECHO_N "(cached) $ECHO_C" >&6
92904 else
92905   if test x$gcc_no_link = xyes; then
92906   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92907 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92908    { (exit 1); exit 1; }; }
92909 fi
92910 cat >conftest.$ac_ext <<_ACEOF
92911 /* confdefs.h.  */
92912 _ACEOF
92913 cat confdefs.h >>conftest.$ac_ext
92914 cat >>conftest.$ac_ext <<_ACEOF
92915 /* end confdefs.h.  */
92916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92917    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92918 #define $ac_func innocuous_$ac_func
92919
92920 /* System header to define __stub macros and hopefully few prototypes,
92921     which can conflict with char $ac_func (); below.
92922     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92923     <limits.h> exists even on freestanding compilers.  */
92924
92925 #ifdef __STDC__
92926 # include <limits.h>
92927 #else
92928 # include <assert.h>
92929 #endif
92930
92931 #undef $ac_func
92932
92933 /* Override any gcc2 internal prototype to avoid an error.  */
92934 #ifdef __cplusplus
92935 extern "C"
92936 {
92937 #endif
92938 /* We use char because int might match the return type of a gcc2
92939    builtin and then its argument prototype would still apply.  */
92940 char $ac_func ();
92941 /* The GNU C library defines this for functions which it implements
92942     to always fail with ENOSYS.  Some functions are actually named
92943     something starting with __ and the normal name is an alias.  */
92944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92945 choke me
92946 #else
92947 char (*f) () = $ac_func;
92948 #endif
92949 #ifdef __cplusplus
92950 }
92951 #endif
92952
92953 int
92954 main ()
92955 {
92956 return f != $ac_func;
92957   ;
92958   return 0;
92959 }
92960 _ACEOF
92961 rm -f conftest.$ac_objext conftest$ac_exeext
92962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92963   (eval $ac_link) 2>conftest.er1
92964   ac_status=$?
92965   grep -v '^ *+' conftest.er1 >conftest.err
92966   rm -f conftest.er1
92967   cat conftest.err >&5
92968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92969   (exit $ac_status); } &&
92970          { ac_try='test -z "$ac_c_werror_flag"
92971                          || test ! -s conftest.err'
92972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92973   (eval $ac_try) 2>&5
92974   ac_status=$?
92975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92976   (exit $ac_status); }; } &&
92977          { ac_try='test -s conftest$ac_exeext'
92978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92979   (eval $ac_try) 2>&5
92980   ac_status=$?
92981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92982   (exit $ac_status); }; }; then
92983   eval "$as_ac_var=yes"
92984 else
92985   echo "$as_me: failed program was:" >&5
92986 sed 's/^/| /' conftest.$ac_ext >&5
92987
92988 eval "$as_ac_var=no"
92989 fi
92990 rm -f conftest.err conftest.$ac_objext \
92991       conftest$ac_exeext conftest.$ac_ext
92992 fi
92993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92995 if test `eval echo '${'$as_ac_var'}'` = yes; then
92996   cat >>confdefs.h <<_ACEOF
92997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92998 _ACEOF
92999
93000 else
93001   ac_wfuncs=no
93002 fi
93003 done
93004
93005
93006     # Checks for wide character functions that are not required
93007     # for basic wchar_t support.  Don't disable support if they are missing.
93008     # Injection of these is wrapped with guard macros.
93009
93010
93011
93012
93013
93014 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
93015 do
93016 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93017 echo "$as_me:$LINENO: checking for $ac_func" >&5
93018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93019 if eval "test \"\${$as_ac_var+set}\" = set"; then
93020   echo $ECHO_N "(cached) $ECHO_C" >&6
93021 else
93022   if test x$gcc_no_link = xyes; then
93023   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93025    { (exit 1); exit 1; }; }
93026 fi
93027 cat >conftest.$ac_ext <<_ACEOF
93028 /* confdefs.h.  */
93029 _ACEOF
93030 cat confdefs.h >>conftest.$ac_ext
93031 cat >>conftest.$ac_ext <<_ACEOF
93032 /* end confdefs.h.  */
93033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93034    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93035 #define $ac_func innocuous_$ac_func
93036
93037 /* System header to define __stub macros and hopefully few prototypes,
93038     which can conflict with char $ac_func (); below.
93039     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93040     <limits.h> exists even on freestanding compilers.  */
93041
93042 #ifdef __STDC__
93043 # include <limits.h>
93044 #else
93045 # include <assert.h>
93046 #endif
93047
93048 #undef $ac_func
93049
93050 /* Override any gcc2 internal prototype to avoid an error.  */
93051 #ifdef __cplusplus
93052 extern "C"
93053 {
93054 #endif
93055 /* We use char because int might match the return type of a gcc2
93056    builtin and then its argument prototype would still apply.  */
93057 char $ac_func ();
93058 /* The GNU C library defines this for functions which it implements
93059     to always fail with ENOSYS.  Some functions are actually named
93060     something starting with __ and the normal name is an alias.  */
93061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93062 choke me
93063 #else
93064 char (*f) () = $ac_func;
93065 #endif
93066 #ifdef __cplusplus
93067 }
93068 #endif
93069
93070 int
93071 main ()
93072 {
93073 return f != $ac_func;
93074   ;
93075   return 0;
93076 }
93077 _ACEOF
93078 rm -f conftest.$ac_objext conftest$ac_exeext
93079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93080   (eval $ac_link) 2>conftest.er1
93081   ac_status=$?
93082   grep -v '^ *+' conftest.er1 >conftest.err
93083   rm -f conftest.er1
93084   cat conftest.err >&5
93085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93086   (exit $ac_status); } &&
93087          { ac_try='test -z "$ac_c_werror_flag"
93088                          || test ! -s conftest.err'
93089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93090   (eval $ac_try) 2>&5
93091   ac_status=$?
93092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93093   (exit $ac_status); }; } &&
93094          { ac_try='test -s conftest$ac_exeext'
93095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93096   (eval $ac_try) 2>&5
93097   ac_status=$?
93098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93099   (exit $ac_status); }; }; then
93100   eval "$as_ac_var=yes"
93101 else
93102   echo "$as_me: failed program was:" >&5
93103 sed 's/^/| /' conftest.$ac_ext >&5
93104
93105 eval "$as_ac_var=no"
93106 fi
93107 rm -f conftest.err conftest.$ac_objext \
93108       conftest$ac_exeext conftest.$ac_ext
93109 fi
93110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93112 if test `eval echo '${'$as_ac_var'}'` = yes; then
93113   cat >>confdefs.h <<_ACEOF
93114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93115 _ACEOF
93116
93117 fi
93118 done
93119
93120
93121     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
93122 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
93123     if test x"$has_weof" = xyes &&
93124        test x"$has_wchar_minmax" = xyes &&
93125        test x"$ac_wfuncs" = xyes;
93126     then
93127       ac_isoC99_wchar_t=yes
93128     else
93129       ac_isoC99_wchar_t=no
93130     fi
93131     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
93132 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
93133
93134     # Use iconv for wchar_t to char conversions. As such, check for
93135     # X/Open Portability Guide, version 2 features (XPG2).
93136     if test "${ac_cv_header_iconv_h+set}" = set; then
93137   echo "$as_me:$LINENO: checking for iconv.h" >&5
93138 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
93139 if test "${ac_cv_header_iconv_h+set}" = set; then
93140   echo $ECHO_N "(cached) $ECHO_C" >&6
93141 fi
93142 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
93143 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
93144 else
93145   # Is the header compilable?
93146 echo "$as_me:$LINENO: checking iconv.h usability" >&5
93147 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
93148 cat >conftest.$ac_ext <<_ACEOF
93149 /* confdefs.h.  */
93150 _ACEOF
93151 cat confdefs.h >>conftest.$ac_ext
93152 cat >>conftest.$ac_ext <<_ACEOF
93153 /* end confdefs.h.  */
93154 $ac_includes_default
93155 #include <iconv.h>
93156 _ACEOF
93157 rm -f conftest.$ac_objext
93158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93159   (eval $ac_compile) 2>conftest.er1
93160   ac_status=$?
93161   grep -v '^ *+' conftest.er1 >conftest.err
93162   rm -f conftest.er1
93163   cat conftest.err >&5
93164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93165   (exit $ac_status); } &&
93166          { ac_try='test -z "$ac_c_werror_flag"
93167                          || test ! -s conftest.err'
93168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93169   (eval $ac_try) 2>&5
93170   ac_status=$?
93171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93172   (exit $ac_status); }; } &&
93173          { ac_try='test -s conftest.$ac_objext'
93174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93175   (eval $ac_try) 2>&5
93176   ac_status=$?
93177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93178   (exit $ac_status); }; }; then
93179   ac_header_compiler=yes
93180 else
93181   echo "$as_me: failed program was:" >&5
93182 sed 's/^/| /' conftest.$ac_ext >&5
93183
93184 ac_header_compiler=no
93185 fi
93186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93187 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93188 echo "${ECHO_T}$ac_header_compiler" >&6
93189
93190 # Is the header present?
93191 echo "$as_me:$LINENO: checking iconv.h presence" >&5
93192 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
93193 cat >conftest.$ac_ext <<_ACEOF
93194 /* confdefs.h.  */
93195 _ACEOF
93196 cat confdefs.h >>conftest.$ac_ext
93197 cat >>conftest.$ac_ext <<_ACEOF
93198 /* end confdefs.h.  */
93199 #include <iconv.h>
93200 _ACEOF
93201 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93202   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93203   ac_status=$?
93204   grep -v '^ *+' conftest.er1 >conftest.err
93205   rm -f conftest.er1
93206   cat conftest.err >&5
93207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93208   (exit $ac_status); } >/dev/null; then
93209   if test -s conftest.err; then
93210     ac_cpp_err=$ac_c_preproc_warn_flag
93211     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93212   else
93213     ac_cpp_err=
93214   fi
93215 else
93216   ac_cpp_err=yes
93217 fi
93218 if test -z "$ac_cpp_err"; then
93219   ac_header_preproc=yes
93220 else
93221   echo "$as_me: failed program was:" >&5
93222 sed 's/^/| /' conftest.$ac_ext >&5
93223
93224   ac_header_preproc=no
93225 fi
93226 rm -f conftest.err conftest.$ac_ext
93227 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93228 echo "${ECHO_T}$ac_header_preproc" >&6
93229
93230 # So?  What about this header?
93231 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93232   yes:no: )
93233     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
93234 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
93235     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
93236 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
93237     ac_header_preproc=yes
93238     ;;
93239   no:yes:* )
93240     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
93241 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
93242     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
93243 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
93244     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
93245 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
93246     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
93247 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
93248     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
93249 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
93250     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
93251 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
93252     (
93253       cat <<\_ASBOX
93254 ## ----------------------------------------- ##
93255 ## Report this to the package-unused lists.  ##
93256 ## ----------------------------------------- ##
93257 _ASBOX
93258     ) |
93259       sed "s/^/$as_me: WARNING:     /" >&2
93260     ;;
93261 esac
93262 echo "$as_me:$LINENO: checking for iconv.h" >&5
93263 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
93264 if test "${ac_cv_header_iconv_h+set}" = set; then
93265   echo $ECHO_N "(cached) $ECHO_C" >&6
93266 else
93267   ac_cv_header_iconv_h=$ac_header_preproc
93268 fi
93269 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
93270 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
93271
93272 fi
93273 if test $ac_cv_header_iconv_h = yes; then
93274   ac_has_iconv_h=yes
93275 else
93276   ac_has_iconv_h=no
93277 fi
93278
93279
93280     if test "${ac_cv_header_langinfo_h+set}" = set; then
93281   echo "$as_me:$LINENO: checking for langinfo.h" >&5
93282 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
93283 if test "${ac_cv_header_langinfo_h+set}" = set; then
93284   echo $ECHO_N "(cached) $ECHO_C" >&6
93285 fi
93286 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
93287 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
93288 else
93289   # Is the header compilable?
93290 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
93291 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
93292 cat >conftest.$ac_ext <<_ACEOF
93293 /* confdefs.h.  */
93294 _ACEOF
93295 cat confdefs.h >>conftest.$ac_ext
93296 cat >>conftest.$ac_ext <<_ACEOF
93297 /* end confdefs.h.  */
93298 $ac_includes_default
93299 #include <langinfo.h>
93300 _ACEOF
93301 rm -f conftest.$ac_objext
93302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93303   (eval $ac_compile) 2>conftest.er1
93304   ac_status=$?
93305   grep -v '^ *+' conftest.er1 >conftest.err
93306   rm -f conftest.er1
93307   cat conftest.err >&5
93308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93309   (exit $ac_status); } &&
93310          { ac_try='test -z "$ac_c_werror_flag"
93311                          || test ! -s conftest.err'
93312   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93313   (eval $ac_try) 2>&5
93314   ac_status=$?
93315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93316   (exit $ac_status); }; } &&
93317          { ac_try='test -s conftest.$ac_objext'
93318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93319   (eval $ac_try) 2>&5
93320   ac_status=$?
93321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93322   (exit $ac_status); }; }; then
93323   ac_header_compiler=yes
93324 else
93325   echo "$as_me: failed program was:" >&5
93326 sed 's/^/| /' conftest.$ac_ext >&5
93327
93328 ac_header_compiler=no
93329 fi
93330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93331 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93332 echo "${ECHO_T}$ac_header_compiler" >&6
93333
93334 # Is the header present?
93335 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
93336 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
93337 cat >conftest.$ac_ext <<_ACEOF
93338 /* confdefs.h.  */
93339 _ACEOF
93340 cat confdefs.h >>conftest.$ac_ext
93341 cat >>conftest.$ac_ext <<_ACEOF
93342 /* end confdefs.h.  */
93343 #include <langinfo.h>
93344 _ACEOF
93345 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93346   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93347   ac_status=$?
93348   grep -v '^ *+' conftest.er1 >conftest.err
93349   rm -f conftest.er1
93350   cat conftest.err >&5
93351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93352   (exit $ac_status); } >/dev/null; then
93353   if test -s conftest.err; then
93354     ac_cpp_err=$ac_c_preproc_warn_flag
93355     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93356   else
93357     ac_cpp_err=
93358   fi
93359 else
93360   ac_cpp_err=yes
93361 fi
93362 if test -z "$ac_cpp_err"; then
93363   ac_header_preproc=yes
93364 else
93365   echo "$as_me: failed program was:" >&5
93366 sed 's/^/| /' conftest.$ac_ext >&5
93367
93368   ac_header_preproc=no
93369 fi
93370 rm -f conftest.err conftest.$ac_ext
93371 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93372 echo "${ECHO_T}$ac_header_preproc" >&6
93373
93374 # So?  What about this header?
93375 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93376   yes:no: )
93377     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
93378 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
93379     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
93380 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
93381     ac_header_preproc=yes
93382     ;;
93383   no:yes:* )
93384     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
93385 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
93386     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
93387 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
93388     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
93389 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
93390     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
93391 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
93392     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
93393 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
93394     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
93395 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
93396     (
93397       cat <<\_ASBOX
93398 ## ----------------------------------------- ##
93399 ## Report this to the package-unused lists.  ##
93400 ## ----------------------------------------- ##
93401 _ASBOX
93402     ) |
93403       sed "s/^/$as_me: WARNING:     /" >&2
93404     ;;
93405 esac
93406 echo "$as_me:$LINENO: checking for langinfo.h" >&5
93407 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
93408 if test "${ac_cv_header_langinfo_h+set}" = set; then
93409   echo $ECHO_N "(cached) $ECHO_C" >&6
93410 else
93411   ac_cv_header_langinfo_h=$ac_header_preproc
93412 fi
93413 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
93414 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
93415
93416 fi
93417 if test $ac_cv_header_langinfo_h = yes; then
93418   ac_has_langinfo_h=yes
93419 else
93420   ac_has_langinfo_h=no
93421 fi
93422
93423
93424
93425     # Check for existence of libiconv.a providing XPG2 wchar_t support.
93426     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
93427 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
93428 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
93429   echo $ECHO_N "(cached) $ECHO_C" >&6
93430 else
93431   ac_check_lib_save_LIBS=$LIBS
93432 LIBS="-liconv  $LIBS"
93433 if test x$gcc_no_link = xyes; then
93434   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93436    { (exit 1); exit 1; }; }
93437 fi
93438 cat >conftest.$ac_ext <<_ACEOF
93439 /* confdefs.h.  */
93440 _ACEOF
93441 cat confdefs.h >>conftest.$ac_ext
93442 cat >>conftest.$ac_ext <<_ACEOF
93443 /* end confdefs.h.  */
93444
93445 /* Override any gcc2 internal prototype to avoid an error.  */
93446 #ifdef __cplusplus
93447 extern "C"
93448 #endif
93449 /* We use char because int might match the return type of a gcc2
93450    builtin and then its argument prototype would still apply.  */
93451 char iconv ();
93452 int
93453 main ()
93454 {
93455 iconv ();
93456   ;
93457   return 0;
93458 }
93459 _ACEOF
93460 rm -f conftest.$ac_objext conftest$ac_exeext
93461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93462   (eval $ac_link) 2>conftest.er1
93463   ac_status=$?
93464   grep -v '^ *+' conftest.er1 >conftest.err
93465   rm -f conftest.er1
93466   cat conftest.err >&5
93467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93468   (exit $ac_status); } &&
93469          { ac_try='test -z "$ac_c_werror_flag"
93470                          || test ! -s conftest.err'
93471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93472   (eval $ac_try) 2>&5
93473   ac_status=$?
93474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93475   (exit $ac_status); }; } &&
93476          { ac_try='test -s conftest$ac_exeext'
93477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93478   (eval $ac_try) 2>&5
93479   ac_status=$?
93480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93481   (exit $ac_status); }; }; then
93482   ac_cv_lib_iconv_iconv=yes
93483 else
93484   echo "$as_me: failed program was:" >&5
93485 sed 's/^/| /' conftest.$ac_ext >&5
93486
93487 ac_cv_lib_iconv_iconv=no
93488 fi
93489 rm -f conftest.err conftest.$ac_objext \
93490       conftest$ac_exeext conftest.$ac_ext
93491 LIBS=$ac_check_lib_save_LIBS
93492 fi
93493 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
93494 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
93495 if test $ac_cv_lib_iconv_iconv = yes; then
93496   LIBICONV="-liconv"
93497 fi
93498
93499     ac_save_LIBS="$LIBS"
93500     LIBS="$LIBS $LIBICONV"
93501
93502
93503
93504
93505
93506
93507 for ac_func in iconv_open iconv_close iconv nl_langinfo
93508 do
93509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93510 echo "$as_me:$LINENO: checking for $ac_func" >&5
93511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93512 if eval "test \"\${$as_ac_var+set}\" = set"; then
93513   echo $ECHO_N "(cached) $ECHO_C" >&6
93514 else
93515   if test x$gcc_no_link = xyes; then
93516   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93518    { (exit 1); exit 1; }; }
93519 fi
93520 cat >conftest.$ac_ext <<_ACEOF
93521 /* confdefs.h.  */
93522 _ACEOF
93523 cat confdefs.h >>conftest.$ac_ext
93524 cat >>conftest.$ac_ext <<_ACEOF
93525 /* end confdefs.h.  */
93526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93527    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93528 #define $ac_func innocuous_$ac_func
93529
93530 /* System header to define __stub macros and hopefully few prototypes,
93531     which can conflict with char $ac_func (); below.
93532     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93533     <limits.h> exists even on freestanding compilers.  */
93534
93535 #ifdef __STDC__
93536 # include <limits.h>
93537 #else
93538 # include <assert.h>
93539 #endif
93540
93541 #undef $ac_func
93542
93543 /* Override any gcc2 internal prototype to avoid an error.  */
93544 #ifdef __cplusplus
93545 extern "C"
93546 {
93547 #endif
93548 /* We use char because int might match the return type of a gcc2
93549    builtin and then its argument prototype would still apply.  */
93550 char $ac_func ();
93551 /* The GNU C library defines this for functions which it implements
93552     to always fail with ENOSYS.  Some functions are actually named
93553     something starting with __ and the normal name is an alias.  */
93554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93555 choke me
93556 #else
93557 char (*f) () = $ac_func;
93558 #endif
93559 #ifdef __cplusplus
93560 }
93561 #endif
93562
93563 int
93564 main ()
93565 {
93566 return f != $ac_func;
93567   ;
93568   return 0;
93569 }
93570 _ACEOF
93571 rm -f conftest.$ac_objext conftest$ac_exeext
93572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93573   (eval $ac_link) 2>conftest.er1
93574   ac_status=$?
93575   grep -v '^ *+' conftest.er1 >conftest.err
93576   rm -f conftest.er1
93577   cat conftest.err >&5
93578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93579   (exit $ac_status); } &&
93580          { ac_try='test -z "$ac_c_werror_flag"
93581                          || test ! -s conftest.err'
93582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93583   (eval $ac_try) 2>&5
93584   ac_status=$?
93585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93586   (exit $ac_status); }; } &&
93587          { ac_try='test -s conftest$ac_exeext'
93588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93589   (eval $ac_try) 2>&5
93590   ac_status=$?
93591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93592   (exit $ac_status); }; }; then
93593   eval "$as_ac_var=yes"
93594 else
93595   echo "$as_me: failed program was:" >&5
93596 sed 's/^/| /' conftest.$ac_ext >&5
93597
93598 eval "$as_ac_var=no"
93599 fi
93600 rm -f conftest.err conftest.$ac_objext \
93601       conftest$ac_exeext conftest.$ac_ext
93602 fi
93603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93605 if test `eval echo '${'$as_ac_var'}'` = yes; then
93606   cat >>confdefs.h <<_ACEOF
93607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93608 _ACEOF
93609  ac_XPG2funcs=yes
93610 else
93611   ac_XPG2funcs=no
93612 fi
93613 done
93614
93615
93616     LIBS="$ac_save_LIBS"
93617
93618     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
93619 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
93620     if test x"$ac_has_iconv_h" = xyes &&
93621        test x"$ac_has_langinfo_h" = xyes &&
93622        test x"$ac_XPG2funcs" = xyes;
93623     then
93624       ac_XPG2_wchar_t=yes
93625     else
93626       ac_XPG2_wchar_t=no
93627     fi
93628     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
93629 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
93630
93631     # At the moment, only enable wchar_t specializations if all the
93632     # above support is present.
93633     if test x"$ac_isoC99_wchar_t" = xyes &&
93634        test x"$ac_XPG2_wchar_t" = xyes;
93635     then
93636       cat >>confdefs.h <<\_ACEOF
93637 #define _GLIBCXX_USE_WCHAR_T 1
93638 _ACEOF
93639
93640       enable_wchar_t=yes
93641     fi
93642   fi
93643   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
93644 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
93645   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
93646 echo "${ECHO_T}$enable_wchar_t" >&6
93647
93648          # All of the dependencies for wide character support are here, so
93649          # turn it on.  This requires some syncronization with the
93650          # GLIBCXX_CHECK_WCHAR_T_SUPPORT in acinclude.m4
93651          cat >>confdefs.h <<\_ACEOF
93652 #define _GLIBCXX_USE_WCHAR_T 1
93653 _ACEOF
93654
93655          # Are these tested for even when cross?
93656          cat >>confdefs.h <<\_ACEOF
93657 #define HAVE_FLOAT_H 1
93658 _ACEOF
93659
93660          cat >>confdefs.h <<\_ACEOF
93661 #define HAVE_IEEEFP_H 1
93662 _ACEOF
93663
93664          cat >>confdefs.h <<\_ACEOF
93665 #define HAVE_INTTYPES_H 1
93666 _ACEOF
93667
93668          cat >>confdefs.h <<\_ACEOF
93669 #define HAVE_LOCALE_H 1
93670 _ACEOF
93671
93672          cat >>confdefs.h <<\_ACEOF
93673 #define HAVE_NAN_H 1
93674 _ACEOF
93675
93676          cat >>confdefs.h <<\_ACEOF
93677 #define HAVE_SYS_FILIO_H 1
93678 _ACEOF
93679
93680          cat >>confdefs.h <<\_ACEOF
93681 #define HAVE_SYS_IOCTL_H 1
93682 _ACEOF
93683
93684          cat >>confdefs.h <<\_ACEOF
93685 #define HAVE_SYS_ISA_DEFS_H 1
93686 _ACEOF
93687
93688          cat >>confdefs.h <<\_ACEOF
93689 #define HAVE_SYS_RESOURCE_H 1
93690 _ACEOF
93691
93692          cat >>confdefs.h <<\_ACEOF
93693 #define HAVE_SYS_TIME_H 1
93694 _ACEOF
93695
93696          cat >>confdefs.h <<\_ACEOF
93697 #define HAVE_SYS_TYPES_H 1
93698 _ACEOF
93699
93700          cat >>confdefs.h <<\_ACEOF
93701 #define HAVE_UNISTD_H 1
93702 _ACEOF
93703
93704          cat >>confdefs.h <<\_ACEOF
93705 #define HAVE_WCHAR_H 1
93706 _ACEOF
93707
93708          cat >>confdefs.h <<\_ACEOF
93709 #define HAVE_WCTYPE_H 1
93710 _ACEOF
93711
93712          cat >>confdefs.h <<\_ACEOF
93713 #define HAVE_LIBM 1
93714 _ACEOF
93715
93716         ;;
93717     esac
93718     case "$target" in
93719       sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
93720         # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
93721         cat >>confdefs.h <<\_ACEOF
93722 #define HAVE___BUILTIN_ABS 1
93723 _ACEOF
93724
93725         cat >>confdefs.h <<\_ACEOF
93726 #define HAVE___BUILTIN_LABS 1
93727 _ACEOF
93728
93729         cat >>confdefs.h <<\_ACEOF
93730 #define HAVE___BUILTIN_FABS 1
93731 _ACEOF
93732
93733         cat >>confdefs.h <<\_ACEOF
93734 #define HAVE___BUILTIN_FABSF 1
93735 _ACEOF
93736
93737         cat >>confdefs.h <<\_ACEOF
93738 #define HAVE___BUILTIN_FABSL 1
93739 _ACEOF
93740
93741         cat >>confdefs.h <<\_ACEOF
93742 #define HAVE___BUILTIN_COS 1
93743 _ACEOF
93744
93745         cat >>confdefs.h <<\_ACEOF
93746 #define HAVE___BUILTIN_COSF 1
93747 _ACEOF
93748
93749         cat >>confdefs.h <<\_ACEOF
93750 #define HAVE___BUILTIN_SIN 1
93751 _ACEOF
93752
93753         cat >>confdefs.h <<\_ACEOF
93754 #define HAVE___BUILTIN_SINF 1
93755 _ACEOF
93756
93757        ;;
93758     esac
93759     cat >>confdefs.h <<\_ACEOF
93760 #define HAVE_STRTOF 1
93761 _ACEOF
93762
93763     cat >>confdefs.h <<\_ACEOF
93764 #define HAVE_STRTOLD 1
93765 _ACEOF
93766
93767     cat >>confdefs.h <<\_ACEOF
93768 #define HAVE_MMAP 1
93769 _ACEOF
93770
93771     cat >>confdefs.h <<\_ACEOF
93772 #define HAVE_COPYSIGN 1
93773 _ACEOF
93774
93775     cat >>confdefs.h <<\_ACEOF
93776 #define HAVE_ISNAN 1
93777 _ACEOF
93778
93779     cat >>confdefs.h <<\_ACEOF
93780 #define HAVE_ISNANF 1
93781 _ACEOF
93782
93783     cat >>confdefs.h <<\_ACEOF
93784 #define HAVE_MODFF 1
93785 _ACEOF
93786
93787     cat >>confdefs.h <<\_ACEOF
93788 #define HAVE_HYPOT 1
93789 _ACEOF
93790
93791     ;;
93792   *-tpf)
93793
93794
93795
93796
93797
93798
93799
93800
93801 for ac_header in nan.h endian.h machine/endian.h  \
93802       sys/param.h sys/types.h locale.h float.h inttypes.h
93803 do
93804 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
93805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93806   echo "$as_me:$LINENO: checking for $ac_header" >&5
93807 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
93808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93809   echo $ECHO_N "(cached) $ECHO_C" >&6
93810 fi
93811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
93812 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
93813 else
93814   # Is the header compilable?
93815 echo "$as_me:$LINENO: checking $ac_header usability" >&5
93816 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
93817 cat >conftest.$ac_ext <<_ACEOF
93818 /* confdefs.h.  */
93819 _ACEOF
93820 cat confdefs.h >>conftest.$ac_ext
93821 cat >>conftest.$ac_ext <<_ACEOF
93822 /* end confdefs.h.  */
93823 $ac_includes_default
93824 #include <$ac_header>
93825 _ACEOF
93826 rm -f conftest.$ac_objext
93827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93828   (eval $ac_compile) 2>conftest.er1
93829   ac_status=$?
93830   grep -v '^ *+' conftest.er1 >conftest.err
93831   rm -f conftest.er1
93832   cat conftest.err >&5
93833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93834   (exit $ac_status); } &&
93835          { ac_try='test -z "$ac_c_werror_flag"
93836                          || test ! -s conftest.err'
93837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93838   (eval $ac_try) 2>&5
93839   ac_status=$?
93840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93841   (exit $ac_status); }; } &&
93842          { ac_try='test -s conftest.$ac_objext'
93843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93844   (eval $ac_try) 2>&5
93845   ac_status=$?
93846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93847   (exit $ac_status); }; }; then
93848   ac_header_compiler=yes
93849 else
93850   echo "$as_me: failed program was:" >&5
93851 sed 's/^/| /' conftest.$ac_ext >&5
93852
93853 ac_header_compiler=no
93854 fi
93855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93856 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93857 echo "${ECHO_T}$ac_header_compiler" >&6
93858
93859 # Is the header present?
93860 echo "$as_me:$LINENO: checking $ac_header presence" >&5
93861 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
93862 cat >conftest.$ac_ext <<_ACEOF
93863 /* confdefs.h.  */
93864 _ACEOF
93865 cat confdefs.h >>conftest.$ac_ext
93866 cat >>conftest.$ac_ext <<_ACEOF
93867 /* end confdefs.h.  */
93868 #include <$ac_header>
93869 _ACEOF
93870 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93871   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93872   ac_status=$?
93873   grep -v '^ *+' conftest.er1 >conftest.err
93874   rm -f conftest.er1
93875   cat conftest.err >&5
93876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93877   (exit $ac_status); } >/dev/null; then
93878   if test -s conftest.err; then
93879     ac_cpp_err=$ac_c_preproc_warn_flag
93880     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93881   else
93882     ac_cpp_err=
93883   fi
93884 else
93885   ac_cpp_err=yes
93886 fi
93887 if test -z "$ac_cpp_err"; then
93888   ac_header_preproc=yes
93889 else
93890   echo "$as_me: failed program was:" >&5
93891 sed 's/^/| /' conftest.$ac_ext >&5
93892
93893   ac_header_preproc=no
93894 fi
93895 rm -f conftest.err conftest.$ac_ext
93896 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93897 echo "${ECHO_T}$ac_header_preproc" >&6
93898
93899 # So?  What about this header?
93900 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93901   yes:no: )
93902     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
93903 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
93904     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
93905 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
93906     ac_header_preproc=yes
93907     ;;
93908   no:yes:* )
93909     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
93910 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
93911     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
93912 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
93913     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
93914 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
93915     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
93916 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
93917     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
93918 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
93919     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
93920 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
93921     (
93922       cat <<\_ASBOX
93923 ## ----------------------------------------- ##
93924 ## Report this to the package-unused lists.  ##
93925 ## ----------------------------------------- ##
93926 _ASBOX
93927     ) |
93928       sed "s/^/$as_me: WARNING:     /" >&2
93929     ;;
93930 esac
93931 echo "$as_me:$LINENO: checking for $ac_header" >&5
93932 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
93933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93934   echo $ECHO_N "(cached) $ECHO_C" >&6
93935 else
93936   eval "$as_ac_Header=\$ac_header_preproc"
93937 fi
93938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
93939 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
93940
93941 fi
93942 if test `eval echo '${'$as_ac_Header'}'` = yes; then
93943   cat >>confdefs.h <<_ACEOF
93944 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
93945 _ACEOF
93946
93947 fi
93948
93949 done
93950
93951     SECTION_FLAGS='-ffunction-sections -fdata-sections'
93952
93953
93954   # If we're not using GNU ld, then there's no point in even trying these
93955   # tests.  Check for that first.  We should have already tested for gld
93956   # by now (in libtool), but require it now just to be safe...
93957   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
93958   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
93959
93960
93961
93962   # The name set by libtool depends on the version of libtool.  Shame on us
93963   # for depending on an impl detail, but c'est la vie.  Older versions used
93964   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
93965   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
93966   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
93967   # set (hence we're using an older libtool), then set it.
93968   if test x${with_gnu_ld+set} != xset; then
93969     if test x${ac_cv_prog_gnu_ld+set} != xset; then
93970       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
93971       with_gnu_ld=no
93972     else
93973       with_gnu_ld=$ac_cv_prog_gnu_ld
93974     fi
93975   fi
93976
93977   # Start by getting the version number.  I think the libtool test already
93978   # does some of this, but throws away the result.
93979
93980   ldver=`$LD --version 2>/dev/null | head -1 | \
93981          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
93982
93983   glibcxx_gnu_ld_version=`echo $ldver | \
93984          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
93985
93986   # Set --gc-sections.
93987   if test "$with_gnu_ld" = "notbroken"; then
93988     # GNU ld it is!  Joy and bunny rabbits!
93989
93990     # All these tests are for C++; save the language and the compiler flags.
93991     # Need to do this so that g++ won't try to link in libstdc++
93992     ac_test_CFLAGS="${CFLAGS+set}"
93993     ac_save_CFLAGS="$CFLAGS"
93994     CFLAGS='-x c++  -Wl,--gc-sections'
93995
93996     # Check for -Wl,--gc-sections
93997     # XXX This test is broken at the moment, as symbols required for linking
93998     # are now in libsupc++ (not built yet).  In addition, this test has
93999     # cored on solaris in the past.  In addition, --gc-sections doesn't
94000     # really work at the moment (keeps on discarding used sections, first
94001     # .eh_frame and now some of the glibc sections for iconv).
94002     # Bzzzzt.  Thanks for playing, maybe next time.
94003     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
94004 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
94005     if test "$cross_compiling" = yes; then
94006   ac_sectionLDflags=yes
94007 else
94008   cat >conftest.$ac_ext <<_ACEOF
94009 /* confdefs.h.  */
94010 _ACEOF
94011 cat confdefs.h >>conftest.$ac_ext
94012 cat >>conftest.$ac_ext <<_ACEOF
94013 /* end confdefs.h.  */
94014
94015      int main(void)
94016      {
94017        try { throw 1; }
94018        catch (...) { };
94019        return 0;
94020      }
94021
94022 _ACEOF
94023 rm -f conftest$ac_exeext
94024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94025   (eval $ac_link) 2>&5
94026   ac_status=$?
94027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94028   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
94029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94030   (eval $ac_try) 2>&5
94031   ac_status=$?
94032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94033   (exit $ac_status); }; }; then
94034   ac_sectionLDflags=yes
94035 else
94036   echo "$as_me: program exited with status $ac_status" >&5
94037 echo "$as_me: failed program was:" >&5
94038 sed 's/^/| /' conftest.$ac_ext >&5
94039
94040 ( exit $ac_status )
94041 ac_sectionLDflags=no
94042 fi
94043 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
94044 fi
94045     if test "$ac_test_CFLAGS" = set; then
94046       CFLAGS="$ac_save_CFLAGS"
94047     else
94048       # this is the suspicious part
94049       CFLAGS=''
94050     fi
94051     if test "$ac_sectionLDflags" = "yes"; then
94052       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
94053     fi
94054     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
94055 echo "${ECHO_T}$ac_sectionLDflags" >&6
94056   fi
94057
94058   # Set linker optimization flags.
94059   if test x"$with_gnu_ld" = x"yes"; then
94060     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
94061   fi
94062
94063
94064
94065
94066
94067
94068 echo "$as_me:$LINENO: checking for main in -lm" >&5
94069 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
94070 if test "${ac_cv_lib_m_main+set}" = set; then
94071   echo $ECHO_N "(cached) $ECHO_C" >&6
94072 else
94073   ac_check_lib_save_LIBS=$LIBS
94074 LIBS="-lm  $LIBS"
94075 if test x$gcc_no_link = xyes; then
94076   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94078    { (exit 1); exit 1; }; }
94079 fi
94080 cat >conftest.$ac_ext <<_ACEOF
94081 /* confdefs.h.  */
94082 _ACEOF
94083 cat confdefs.h >>conftest.$ac_ext
94084 cat >>conftest.$ac_ext <<_ACEOF
94085 /* end confdefs.h.  */
94086
94087
94088 int
94089 main ()
94090 {
94091 main ();
94092   ;
94093   return 0;
94094 }
94095 _ACEOF
94096 rm -f conftest.$ac_objext conftest$ac_exeext
94097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94098   (eval $ac_link) 2>conftest.er1
94099   ac_status=$?
94100   grep -v '^ *+' conftest.er1 >conftest.err
94101   rm -f conftest.er1
94102   cat conftest.err >&5
94103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94104   (exit $ac_status); } &&
94105          { ac_try='test -z "$ac_c_werror_flag"
94106                          || test ! -s conftest.err'
94107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94108   (eval $ac_try) 2>&5
94109   ac_status=$?
94110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94111   (exit $ac_status); }; } &&
94112          { ac_try='test -s conftest$ac_exeext'
94113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94114   (eval $ac_try) 2>&5
94115   ac_status=$?
94116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94117   (exit $ac_status); }; }; then
94118   ac_cv_lib_m_main=yes
94119 else
94120   echo "$as_me: failed program was:" >&5
94121 sed 's/^/| /' conftest.$ac_ext >&5
94122
94123 ac_cv_lib_m_main=no
94124 fi
94125 rm -f conftest.err conftest.$ac_objext \
94126       conftest$ac_exeext conftest.$ac_ext
94127 LIBS=$ac_check_lib_save_LIBS
94128 fi
94129 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
94130 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
94131 if test $ac_cv_lib_m_main = yes; then
94132   cat >>confdefs.h <<_ACEOF
94133 #define HAVE_LIBM 1
94134 _ACEOF
94135
94136   LIBS="-lm $LIBS"
94137
94138 fi
94139
94140
94141 for ac_func in copysignf
94142 do
94143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94144 echo "$as_me:$LINENO: checking for $ac_func" >&5
94145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94146 if eval "test \"\${$as_ac_var+set}\" = set"; then
94147   echo $ECHO_N "(cached) $ECHO_C" >&6
94148 else
94149   if test x$gcc_no_link = xyes; then
94150   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94152    { (exit 1); exit 1; }; }
94153 fi
94154 cat >conftest.$ac_ext <<_ACEOF
94155 /* confdefs.h.  */
94156 _ACEOF
94157 cat confdefs.h >>conftest.$ac_ext
94158 cat >>conftest.$ac_ext <<_ACEOF
94159 /* end confdefs.h.  */
94160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94161    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94162 #define $ac_func innocuous_$ac_func
94163
94164 /* System header to define __stub macros and hopefully few prototypes,
94165     which can conflict with char $ac_func (); below.
94166     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94167     <limits.h> exists even on freestanding compilers.  */
94168
94169 #ifdef __STDC__
94170 # include <limits.h>
94171 #else
94172 # include <assert.h>
94173 #endif
94174
94175 #undef $ac_func
94176
94177 /* Override any gcc2 internal prototype to avoid an error.  */
94178 #ifdef __cplusplus
94179 extern "C"
94180 {
94181 #endif
94182 /* We use char because int might match the return type of a gcc2
94183    builtin and then its argument prototype would still apply.  */
94184 char $ac_func ();
94185 /* The GNU C library defines this for functions which it implements
94186     to always fail with ENOSYS.  Some functions are actually named
94187     something starting with __ and the normal name is an alias.  */
94188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94189 choke me
94190 #else
94191 char (*f) () = $ac_func;
94192 #endif
94193 #ifdef __cplusplus
94194 }
94195 #endif
94196
94197 int
94198 main ()
94199 {
94200 return f != $ac_func;
94201   ;
94202   return 0;
94203 }
94204 _ACEOF
94205 rm -f conftest.$ac_objext conftest$ac_exeext
94206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94207   (eval $ac_link) 2>conftest.er1
94208   ac_status=$?
94209   grep -v '^ *+' conftest.er1 >conftest.err
94210   rm -f conftest.er1
94211   cat conftest.err >&5
94212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94213   (exit $ac_status); } &&
94214          { ac_try='test -z "$ac_c_werror_flag"
94215                          || test ! -s conftest.err'
94216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94217   (eval $ac_try) 2>&5
94218   ac_status=$?
94219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94220   (exit $ac_status); }; } &&
94221          { ac_try='test -s conftest$ac_exeext'
94222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94223   (eval $ac_try) 2>&5
94224   ac_status=$?
94225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94226   (exit $ac_status); }; }; then
94227   eval "$as_ac_var=yes"
94228 else
94229   echo "$as_me: failed program was:" >&5
94230 sed 's/^/| /' conftest.$ac_ext >&5
94231
94232 eval "$as_ac_var=no"
94233 fi
94234 rm -f conftest.err conftest.$ac_objext \
94235       conftest$ac_exeext conftest.$ac_ext
94236 fi
94237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94239 if test `eval echo '${'$as_ac_var'}'` = yes; then
94240   cat >>confdefs.h <<_ACEOF
94241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94242 _ACEOF
94243
94244 else
94245   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
94246 fi
94247 done
94248
94249
94250
94251 for ac_func in __signbit
94252 do
94253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94254 echo "$as_me:$LINENO: checking for $ac_func" >&5
94255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94256 if eval "test \"\${$as_ac_var+set}\" = set"; then
94257   echo $ECHO_N "(cached) $ECHO_C" >&6
94258 else
94259   if test x$gcc_no_link = xyes; then
94260   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94262    { (exit 1); exit 1; }; }
94263 fi
94264 cat >conftest.$ac_ext <<_ACEOF
94265 /* confdefs.h.  */
94266 _ACEOF
94267 cat confdefs.h >>conftest.$ac_ext
94268 cat >>conftest.$ac_ext <<_ACEOF
94269 /* end confdefs.h.  */
94270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94271    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94272 #define $ac_func innocuous_$ac_func
94273
94274 /* System header to define __stub macros and hopefully few prototypes,
94275     which can conflict with char $ac_func (); below.
94276     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94277     <limits.h> exists even on freestanding compilers.  */
94278
94279 #ifdef __STDC__
94280 # include <limits.h>
94281 #else
94282 # include <assert.h>
94283 #endif
94284
94285 #undef $ac_func
94286
94287 /* Override any gcc2 internal prototype to avoid an error.  */
94288 #ifdef __cplusplus
94289 extern "C"
94290 {
94291 #endif
94292 /* We use char because int might match the return type of a gcc2
94293    builtin and then its argument prototype would still apply.  */
94294 char $ac_func ();
94295 /* The GNU C library defines this for functions which it implements
94296     to always fail with ENOSYS.  Some functions are actually named
94297     something starting with __ and the normal name is an alias.  */
94298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94299 choke me
94300 #else
94301 char (*f) () = $ac_func;
94302 #endif
94303 #ifdef __cplusplus
94304 }
94305 #endif
94306
94307 int
94308 main ()
94309 {
94310 return f != $ac_func;
94311   ;
94312   return 0;
94313 }
94314 _ACEOF
94315 rm -f conftest.$ac_objext conftest$ac_exeext
94316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94317   (eval $ac_link) 2>conftest.er1
94318   ac_status=$?
94319   grep -v '^ *+' conftest.er1 >conftest.err
94320   rm -f conftest.er1
94321   cat conftest.err >&5
94322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94323   (exit $ac_status); } &&
94324          { ac_try='test -z "$ac_c_werror_flag"
94325                          || test ! -s conftest.err'
94326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94327   (eval $ac_try) 2>&5
94328   ac_status=$?
94329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94330   (exit $ac_status); }; } &&
94331          { ac_try='test -s conftest$ac_exeext'
94332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94333   (eval $ac_try) 2>&5
94334   ac_status=$?
94335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94336   (exit $ac_status); }; }; then
94337   eval "$as_ac_var=yes"
94338 else
94339   echo "$as_me: failed program was:" >&5
94340 sed 's/^/| /' conftest.$ac_ext >&5
94341
94342 eval "$as_ac_var=no"
94343 fi
94344 rm -f conftest.err conftest.$ac_objext \
94345       conftest$ac_exeext conftest.$ac_ext
94346 fi
94347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94349 if test `eval echo '${'$as_ac_var'}'` = yes; then
94350   cat >>confdefs.h <<_ACEOF
94351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94352 _ACEOF
94353
94354 else
94355   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
94356 fi
94357 done
94358
94359
94360
94361 for ac_func in __signbitf
94362 do
94363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94364 echo "$as_me:$LINENO: checking for $ac_func" >&5
94365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94366 if eval "test \"\${$as_ac_var+set}\" = set"; then
94367   echo $ECHO_N "(cached) $ECHO_C" >&6
94368 else
94369   if test x$gcc_no_link = xyes; then
94370   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94372    { (exit 1); exit 1; }; }
94373 fi
94374 cat >conftest.$ac_ext <<_ACEOF
94375 /* confdefs.h.  */
94376 _ACEOF
94377 cat confdefs.h >>conftest.$ac_ext
94378 cat >>conftest.$ac_ext <<_ACEOF
94379 /* end confdefs.h.  */
94380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94381    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94382 #define $ac_func innocuous_$ac_func
94383
94384 /* System header to define __stub macros and hopefully few prototypes,
94385     which can conflict with char $ac_func (); below.
94386     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94387     <limits.h> exists even on freestanding compilers.  */
94388
94389 #ifdef __STDC__
94390 # include <limits.h>
94391 #else
94392 # include <assert.h>
94393 #endif
94394
94395 #undef $ac_func
94396
94397 /* Override any gcc2 internal prototype to avoid an error.  */
94398 #ifdef __cplusplus
94399 extern "C"
94400 {
94401 #endif
94402 /* We use char because int might match the return type of a gcc2
94403    builtin and then its argument prototype would still apply.  */
94404 char $ac_func ();
94405 /* The GNU C library defines this for functions which it implements
94406     to always fail with ENOSYS.  Some functions are actually named
94407     something starting with __ and the normal name is an alias.  */
94408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94409 choke me
94410 #else
94411 char (*f) () = $ac_func;
94412 #endif
94413 #ifdef __cplusplus
94414 }
94415 #endif
94416
94417 int
94418 main ()
94419 {
94420 return f != $ac_func;
94421   ;
94422   return 0;
94423 }
94424 _ACEOF
94425 rm -f conftest.$ac_objext conftest$ac_exeext
94426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94427   (eval $ac_link) 2>conftest.er1
94428   ac_status=$?
94429   grep -v '^ *+' conftest.er1 >conftest.err
94430   rm -f conftest.er1
94431   cat conftest.err >&5
94432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94433   (exit $ac_status); } &&
94434          { ac_try='test -z "$ac_c_werror_flag"
94435                          || test ! -s conftest.err'
94436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94437   (eval $ac_try) 2>&5
94438   ac_status=$?
94439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94440   (exit $ac_status); }; } &&
94441          { ac_try='test -s conftest$ac_exeext'
94442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94443   (eval $ac_try) 2>&5
94444   ac_status=$?
94445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94446   (exit $ac_status); }; }; then
94447   eval "$as_ac_var=yes"
94448 else
94449   echo "$as_me: failed program was:" >&5
94450 sed 's/^/| /' conftest.$ac_ext >&5
94451
94452 eval "$as_ac_var=no"
94453 fi
94454 rm -f conftest.err conftest.$ac_objext \
94455       conftest$ac_exeext conftest.$ac_ext
94456 fi
94457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94459 if test `eval echo '${'$as_ac_var'}'` = yes; then
94460   cat >>confdefs.h <<_ACEOF
94461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94462 _ACEOF
94463
94464 else
94465   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
94466 fi
94467 done
94468
94469
94470           if test x$ac_cv_func_copysignl = x"yes"; then
94471
94472 for ac_func in __signbitl
94473 do
94474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94475 echo "$as_me:$LINENO: checking for $ac_func" >&5
94476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94477 if eval "test \"\${$as_ac_var+set}\" = set"; then
94478   echo $ECHO_N "(cached) $ECHO_C" >&6
94479 else
94480   if test x$gcc_no_link = xyes; then
94481   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94483    { (exit 1); exit 1; }; }
94484 fi
94485 cat >conftest.$ac_ext <<_ACEOF
94486 /* confdefs.h.  */
94487 _ACEOF
94488 cat confdefs.h >>conftest.$ac_ext
94489 cat >>conftest.$ac_ext <<_ACEOF
94490 /* end confdefs.h.  */
94491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94492    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94493 #define $ac_func innocuous_$ac_func
94494
94495 /* System header to define __stub macros and hopefully few prototypes,
94496     which can conflict with char $ac_func (); below.
94497     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94498     <limits.h> exists even on freestanding compilers.  */
94499
94500 #ifdef __STDC__
94501 # include <limits.h>
94502 #else
94503 # include <assert.h>
94504 #endif
94505
94506 #undef $ac_func
94507
94508 /* Override any gcc2 internal prototype to avoid an error.  */
94509 #ifdef __cplusplus
94510 extern "C"
94511 {
94512 #endif
94513 /* We use char because int might match the return type of a gcc2
94514    builtin and then its argument prototype would still apply.  */
94515 char $ac_func ();
94516 /* The GNU C library defines this for functions which it implements
94517     to always fail with ENOSYS.  Some functions are actually named
94518     something starting with __ and the normal name is an alias.  */
94519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94520 choke me
94521 #else
94522 char (*f) () = $ac_func;
94523 #endif
94524 #ifdef __cplusplus
94525 }
94526 #endif
94527
94528 int
94529 main ()
94530 {
94531 return f != $ac_func;
94532   ;
94533   return 0;
94534 }
94535 _ACEOF
94536 rm -f conftest.$ac_objext conftest$ac_exeext
94537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94538   (eval $ac_link) 2>conftest.er1
94539   ac_status=$?
94540   grep -v '^ *+' conftest.er1 >conftest.err
94541   rm -f conftest.er1
94542   cat conftest.err >&5
94543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94544   (exit $ac_status); } &&
94545          { ac_try='test -z "$ac_c_werror_flag"
94546                          || test ! -s conftest.err'
94547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94548   (eval $ac_try) 2>&5
94549   ac_status=$?
94550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94551   (exit $ac_status); }; } &&
94552          { ac_try='test -s conftest$ac_exeext'
94553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94554   (eval $ac_try) 2>&5
94555   ac_status=$?
94556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94557   (exit $ac_status); }; }; then
94558   eval "$as_ac_var=yes"
94559 else
94560   echo "$as_me: failed program was:" >&5
94561 sed 's/^/| /' conftest.$ac_ext >&5
94562
94563 eval "$as_ac_var=no"
94564 fi
94565 rm -f conftest.err conftest.$ac_objext \
94566       conftest$ac_exeext conftest.$ac_ext
94567 fi
94568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94570 if test `eval echo '${'$as_ac_var'}'` = yes; then
94571   cat >>confdefs.h <<_ACEOF
94572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94573 _ACEOF
94574
94575 else
94576   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
94577 fi
94578 done
94579
94580   fi
94581
94582   # Used in libmath/Makefile.am.
94583   if test -n "$LIBMATHOBJS"; then
94584     need_libmath=yes
94585   fi
94586
94587
94588
94589   # Test wchar.h for mbstate_t, which is needed for char_traits and
94590   # others even if wchar_t support is not on.
94591   echo "$as_me:$LINENO: checking for mbstate_t" >&5
94592 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
94593   cat >conftest.$ac_ext <<_ACEOF
94594 /* confdefs.h.  */
94595 _ACEOF
94596 cat confdefs.h >>conftest.$ac_ext
94597 cat >>conftest.$ac_ext <<_ACEOF
94598 /* end confdefs.h.  */
94599 #include <wchar.h>
94600 int
94601 main ()
94602 {
94603 mbstate_t teststate;
94604   ;
94605   return 0;
94606 }
94607 _ACEOF
94608 rm -f conftest.$ac_objext
94609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94610   (eval $ac_compile) 2>conftest.er1
94611   ac_status=$?
94612   grep -v '^ *+' conftest.er1 >conftest.err
94613   rm -f conftest.er1
94614   cat conftest.err >&5
94615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94616   (exit $ac_status); } &&
94617          { ac_try='test -z "$ac_c_werror_flag"
94618                          || test ! -s conftest.err'
94619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94620   (eval $ac_try) 2>&5
94621   ac_status=$?
94622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94623   (exit $ac_status); }; } &&
94624          { ac_try='test -s conftest.$ac_objext'
94625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94626   (eval $ac_try) 2>&5
94627   ac_status=$?
94628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94629   (exit $ac_status); }; }; then
94630   have_mbstate_t=yes
94631 else
94632   echo "$as_me: failed program was:" >&5
94633 sed 's/^/| /' conftest.$ac_ext >&5
94634
94635 have_mbstate_t=no
94636 fi
94637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94638   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
94639 echo "${ECHO_T}$have_mbstate_t" >&6
94640   if test x"$have_mbstate_t" = xyes; then
94641     cat >>confdefs.h <<\_ACEOF
94642 #define HAVE_MBSTATE_T 1
94643 _ACEOF
94644
94645   fi
94646
94647   # Sanity check for existence of ISO C99 headers for extended encoding.
94648
94649 for ac_header in wchar.h
94650 do
94651 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
94652 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94653   echo "$as_me:$LINENO: checking for $ac_header" >&5
94654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94656   echo $ECHO_N "(cached) $ECHO_C" >&6
94657 fi
94658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94659 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94660 else
94661   # Is the header compilable?
94662 echo "$as_me:$LINENO: checking $ac_header usability" >&5
94663 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
94664 cat >conftest.$ac_ext <<_ACEOF
94665 /* confdefs.h.  */
94666 _ACEOF
94667 cat confdefs.h >>conftest.$ac_ext
94668 cat >>conftest.$ac_ext <<_ACEOF
94669 /* end confdefs.h.  */
94670 $ac_includes_default
94671 #include <$ac_header>
94672 _ACEOF
94673 rm -f conftest.$ac_objext
94674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94675   (eval $ac_compile) 2>conftest.er1
94676   ac_status=$?
94677   grep -v '^ *+' conftest.er1 >conftest.err
94678   rm -f conftest.er1
94679   cat conftest.err >&5
94680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94681   (exit $ac_status); } &&
94682          { ac_try='test -z "$ac_c_werror_flag"
94683                          || test ! -s conftest.err'
94684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94685   (eval $ac_try) 2>&5
94686   ac_status=$?
94687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94688   (exit $ac_status); }; } &&
94689          { ac_try='test -s conftest.$ac_objext'
94690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94691   (eval $ac_try) 2>&5
94692   ac_status=$?
94693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94694   (exit $ac_status); }; }; then
94695   ac_header_compiler=yes
94696 else
94697   echo "$as_me: failed program was:" >&5
94698 sed 's/^/| /' conftest.$ac_ext >&5
94699
94700 ac_header_compiler=no
94701 fi
94702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94703 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
94704 echo "${ECHO_T}$ac_header_compiler" >&6
94705
94706 # Is the header present?
94707 echo "$as_me:$LINENO: checking $ac_header presence" >&5
94708 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
94709 cat >conftest.$ac_ext <<_ACEOF
94710 /* confdefs.h.  */
94711 _ACEOF
94712 cat confdefs.h >>conftest.$ac_ext
94713 cat >>conftest.$ac_ext <<_ACEOF
94714 /* end confdefs.h.  */
94715 #include <$ac_header>
94716 _ACEOF
94717 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
94718   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
94719   ac_status=$?
94720   grep -v '^ *+' conftest.er1 >conftest.err
94721   rm -f conftest.er1
94722   cat conftest.err >&5
94723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94724   (exit $ac_status); } >/dev/null; then
94725   if test -s conftest.err; then
94726     ac_cpp_err=$ac_c_preproc_warn_flag
94727     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
94728   else
94729     ac_cpp_err=
94730   fi
94731 else
94732   ac_cpp_err=yes
94733 fi
94734 if test -z "$ac_cpp_err"; then
94735   ac_header_preproc=yes
94736 else
94737   echo "$as_me: failed program was:" >&5
94738 sed 's/^/| /' conftest.$ac_ext >&5
94739
94740   ac_header_preproc=no
94741 fi
94742 rm -f conftest.err conftest.$ac_ext
94743 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
94744 echo "${ECHO_T}$ac_header_preproc" >&6
94745
94746 # So?  What about this header?
94747 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
94748   yes:no: )
94749     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
94750 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
94751     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
94752 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
94753     ac_header_preproc=yes
94754     ;;
94755   no:yes:* )
94756     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
94757 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
94758     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
94759 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
94760     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
94761 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
94762     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
94763 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
94764     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
94765 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
94766     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
94767 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
94768     (
94769       cat <<\_ASBOX
94770 ## ----------------------------------------- ##
94771 ## Report this to the package-unused lists.  ##
94772 ## ----------------------------------------- ##
94773 _ASBOX
94774     ) |
94775       sed "s/^/$as_me: WARNING:     /" >&2
94776     ;;
94777 esac
94778 echo "$as_me:$LINENO: checking for $ac_header" >&5
94779 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94781   echo $ECHO_N "(cached) $ECHO_C" >&6
94782 else
94783   eval "$as_ac_Header=\$ac_header_preproc"
94784 fi
94785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94786 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94787
94788 fi
94789 if test `eval echo '${'$as_ac_Header'}'` = yes; then
94790   cat >>confdefs.h <<_ACEOF
94791 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
94792 _ACEOF
94793  ac_has_wchar_h=yes
94794 else
94795   ac_has_wchar_h=no
94796 fi
94797
94798 done
94799
94800
94801 for ac_header in wctype.h
94802 do
94803 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
94804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94805   echo "$as_me:$LINENO: checking for $ac_header" >&5
94806 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94807 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94808   echo $ECHO_N "(cached) $ECHO_C" >&6
94809 fi
94810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94811 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94812 else
94813   # Is the header compilable?
94814 echo "$as_me:$LINENO: checking $ac_header usability" >&5
94815 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
94816 cat >conftest.$ac_ext <<_ACEOF
94817 /* confdefs.h.  */
94818 _ACEOF
94819 cat confdefs.h >>conftest.$ac_ext
94820 cat >>conftest.$ac_ext <<_ACEOF
94821 /* end confdefs.h.  */
94822 $ac_includes_default
94823 #include <$ac_header>
94824 _ACEOF
94825 rm -f conftest.$ac_objext
94826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94827   (eval $ac_compile) 2>conftest.er1
94828   ac_status=$?
94829   grep -v '^ *+' conftest.er1 >conftest.err
94830   rm -f conftest.er1
94831   cat conftest.err >&5
94832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94833   (exit $ac_status); } &&
94834          { ac_try='test -z "$ac_c_werror_flag"
94835                          || test ! -s conftest.err'
94836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94837   (eval $ac_try) 2>&5
94838   ac_status=$?
94839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94840   (exit $ac_status); }; } &&
94841          { ac_try='test -s conftest.$ac_objext'
94842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94843   (eval $ac_try) 2>&5
94844   ac_status=$?
94845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94846   (exit $ac_status); }; }; then
94847   ac_header_compiler=yes
94848 else
94849   echo "$as_me: failed program was:" >&5
94850 sed 's/^/| /' conftest.$ac_ext >&5
94851
94852 ac_header_compiler=no
94853 fi
94854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94855 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
94856 echo "${ECHO_T}$ac_header_compiler" >&6
94857
94858 # Is the header present?
94859 echo "$as_me:$LINENO: checking $ac_header presence" >&5
94860 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
94861 cat >conftest.$ac_ext <<_ACEOF
94862 /* confdefs.h.  */
94863 _ACEOF
94864 cat confdefs.h >>conftest.$ac_ext
94865 cat >>conftest.$ac_ext <<_ACEOF
94866 /* end confdefs.h.  */
94867 #include <$ac_header>
94868 _ACEOF
94869 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
94870   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
94871   ac_status=$?
94872   grep -v '^ *+' conftest.er1 >conftest.err
94873   rm -f conftest.er1
94874   cat conftest.err >&5
94875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94876   (exit $ac_status); } >/dev/null; then
94877   if test -s conftest.err; then
94878     ac_cpp_err=$ac_c_preproc_warn_flag
94879     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
94880   else
94881     ac_cpp_err=
94882   fi
94883 else
94884   ac_cpp_err=yes
94885 fi
94886 if test -z "$ac_cpp_err"; then
94887   ac_header_preproc=yes
94888 else
94889   echo "$as_me: failed program was:" >&5
94890 sed 's/^/| /' conftest.$ac_ext >&5
94891
94892   ac_header_preproc=no
94893 fi
94894 rm -f conftest.err conftest.$ac_ext
94895 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
94896 echo "${ECHO_T}$ac_header_preproc" >&6
94897
94898 # So?  What about this header?
94899 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
94900   yes:no: )
94901     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
94902 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
94903     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
94904 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
94905     ac_header_preproc=yes
94906     ;;
94907   no:yes:* )
94908     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
94909 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
94910     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
94911 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
94912     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
94913 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
94914     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
94915 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
94916     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
94917 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
94918     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
94919 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
94920     (
94921       cat <<\_ASBOX
94922 ## ----------------------------------------- ##
94923 ## Report this to the package-unused lists.  ##
94924 ## ----------------------------------------- ##
94925 _ASBOX
94926     ) |
94927       sed "s/^/$as_me: WARNING:     /" >&2
94928     ;;
94929 esac
94930 echo "$as_me:$LINENO: checking for $ac_header" >&5
94931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94933   echo $ECHO_N "(cached) $ECHO_C" >&6
94934 else
94935   eval "$as_ac_Header=\$ac_header_preproc"
94936 fi
94937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94938 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94939
94940 fi
94941 if test `eval echo '${'$as_ac_Header'}'` = yes; then
94942   cat >>confdefs.h <<_ACEOF
94943 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
94944 _ACEOF
94945  ac_has_wctype_h=yes
94946 else
94947   ac_has_wctype_h=no
94948 fi
94949
94950 done
94951
94952
94953   # Only continue checking if the ISO C99 headers exist and support is on.
94954   if test x"$ac_has_wchar_h" = xyes &&
94955      test x"$ac_has_wctype_h" = xyes &&
94956      test x"$enable_c_mbchar" != xno; then
94957
94958     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
94959     # numeric_limits can instantiate type_traits<wchar_t>
94960     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
94961 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
94962     cat >conftest.$ac_ext <<_ACEOF
94963 /* confdefs.h.  */
94964 _ACEOF
94965 cat confdefs.h >>conftest.$ac_ext
94966 cat >>conftest.$ac_ext <<_ACEOF
94967 /* end confdefs.h.  */
94968 #include <wchar.h>
94969 int
94970 main ()
94971 {
94972 int i = WCHAR_MIN; int j = WCHAR_MAX;
94973   ;
94974   return 0;
94975 }
94976 _ACEOF
94977 rm -f conftest.$ac_objext
94978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94979   (eval $ac_compile) 2>conftest.er1
94980   ac_status=$?
94981   grep -v '^ *+' conftest.er1 >conftest.err
94982   rm -f conftest.er1
94983   cat conftest.err >&5
94984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94985   (exit $ac_status); } &&
94986          { ac_try='test -z "$ac_c_werror_flag"
94987                          || test ! -s conftest.err'
94988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94989   (eval $ac_try) 2>&5
94990   ac_status=$?
94991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94992   (exit $ac_status); }; } &&
94993          { ac_try='test -s conftest.$ac_objext'
94994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94995   (eval $ac_try) 2>&5
94996   ac_status=$?
94997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94998   (exit $ac_status); }; }; then
94999   has_wchar_minmax=yes
95000 else
95001   echo "$as_me: failed program was:" >&5
95002 sed 's/^/| /' conftest.$ac_ext >&5
95003
95004 has_wchar_minmax=no
95005 fi
95006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95007     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
95008 echo "${ECHO_T}$has_wchar_minmax" >&6
95009
95010     # Test wchar.h for WEOF, which is what we use to determine whether
95011     # to specialize for char_traits<wchar_t> or not.
95012     echo "$as_me:$LINENO: checking for WEOF" >&5
95013 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
95014     cat >conftest.$ac_ext <<_ACEOF
95015 /* confdefs.h.  */
95016 _ACEOF
95017 cat confdefs.h >>conftest.$ac_ext
95018 cat >>conftest.$ac_ext <<_ACEOF
95019 /* end confdefs.h.  */
95020
95021       #include <wchar.h>
95022       #include <stddef.h>
95023 int
95024 main ()
95025 {
95026 wint_t i = WEOF;
95027   ;
95028   return 0;
95029 }
95030 _ACEOF
95031 rm -f conftest.$ac_objext
95032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95033   (eval $ac_compile) 2>conftest.er1
95034   ac_status=$?
95035   grep -v '^ *+' conftest.er1 >conftest.err
95036   rm -f conftest.er1
95037   cat conftest.err >&5
95038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95039   (exit $ac_status); } &&
95040          { ac_try='test -z "$ac_c_werror_flag"
95041                          || test ! -s conftest.err'
95042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95043   (eval $ac_try) 2>&5
95044   ac_status=$?
95045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95046   (exit $ac_status); }; } &&
95047          { ac_try='test -s conftest.$ac_objext'
95048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95049   (eval $ac_try) 2>&5
95050   ac_status=$?
95051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95052   (exit $ac_status); }; }; then
95053   has_weof=yes
95054 else
95055   echo "$as_me: failed program was:" >&5
95056 sed 's/^/| /' conftest.$ac_ext >&5
95057
95058 has_weof=no
95059 fi
95060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95061     echo "$as_me:$LINENO: result: $has_weof" >&5
95062 echo "${ECHO_T}$has_weof" >&6
95063
95064     # Tests for wide character functions used in char_traits<wchar_t>.
95065     ac_wfuncs=yes
95066
95067
95068
95069
95070
95071
95072 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
95073 do
95074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95075 echo "$as_me:$LINENO: checking for $ac_func" >&5
95076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95077 if eval "test \"\${$as_ac_var+set}\" = set"; then
95078   echo $ECHO_N "(cached) $ECHO_C" >&6
95079 else
95080   if test x$gcc_no_link = xyes; then
95081   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95083    { (exit 1); exit 1; }; }
95084 fi
95085 cat >conftest.$ac_ext <<_ACEOF
95086 /* confdefs.h.  */
95087 _ACEOF
95088 cat confdefs.h >>conftest.$ac_ext
95089 cat >>conftest.$ac_ext <<_ACEOF
95090 /* end confdefs.h.  */
95091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95092    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95093 #define $ac_func innocuous_$ac_func
95094
95095 /* System header to define __stub macros and hopefully few prototypes,
95096     which can conflict with char $ac_func (); below.
95097     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95098     <limits.h> exists even on freestanding compilers.  */
95099
95100 #ifdef __STDC__
95101 # include <limits.h>
95102 #else
95103 # include <assert.h>
95104 #endif
95105
95106 #undef $ac_func
95107
95108 /* Override any gcc2 internal prototype to avoid an error.  */
95109 #ifdef __cplusplus
95110 extern "C"
95111 {
95112 #endif
95113 /* We use char because int might match the return type of a gcc2
95114    builtin and then its argument prototype would still apply.  */
95115 char $ac_func ();
95116 /* The GNU C library defines this for functions which it implements
95117     to always fail with ENOSYS.  Some functions are actually named
95118     something starting with __ and the normal name is an alias.  */
95119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95120 choke me
95121 #else
95122 char (*f) () = $ac_func;
95123 #endif
95124 #ifdef __cplusplus
95125 }
95126 #endif
95127
95128 int
95129 main ()
95130 {
95131 return f != $ac_func;
95132   ;
95133   return 0;
95134 }
95135 _ACEOF
95136 rm -f conftest.$ac_objext conftest$ac_exeext
95137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95138   (eval $ac_link) 2>conftest.er1
95139   ac_status=$?
95140   grep -v '^ *+' conftest.er1 >conftest.err
95141   rm -f conftest.er1
95142   cat conftest.err >&5
95143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95144   (exit $ac_status); } &&
95145          { ac_try='test -z "$ac_c_werror_flag"
95146                          || test ! -s conftest.err'
95147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95148   (eval $ac_try) 2>&5
95149   ac_status=$?
95150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95151   (exit $ac_status); }; } &&
95152          { ac_try='test -s conftest$ac_exeext'
95153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95154   (eval $ac_try) 2>&5
95155   ac_status=$?
95156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95157   (exit $ac_status); }; }; then
95158   eval "$as_ac_var=yes"
95159 else
95160   echo "$as_me: failed program was:" >&5
95161 sed 's/^/| /' conftest.$ac_ext >&5
95162
95163 eval "$as_ac_var=no"
95164 fi
95165 rm -f conftest.err conftest.$ac_objext \
95166       conftest$ac_exeext conftest.$ac_ext
95167 fi
95168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95170 if test `eval echo '${'$as_ac_var'}'` = yes; then
95171   cat >>confdefs.h <<_ACEOF
95172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95173 _ACEOF
95174
95175 else
95176   ac_wfuncs=no
95177 fi
95178 done
95179
95180
95181     # Checks for names injected into std:: by the c_std headers.
95182
95183
95184
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 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
95229     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
95230     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
95231     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
95232     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
95233     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
95234 do
95235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95236 echo "$as_me:$LINENO: checking for $ac_func" >&5
95237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95238 if eval "test \"\${$as_ac_var+set}\" = set"; then
95239   echo $ECHO_N "(cached) $ECHO_C" >&6
95240 else
95241   if test x$gcc_no_link = xyes; then
95242   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95244    { (exit 1); exit 1; }; }
95245 fi
95246 cat >conftest.$ac_ext <<_ACEOF
95247 /* confdefs.h.  */
95248 _ACEOF
95249 cat confdefs.h >>conftest.$ac_ext
95250 cat >>conftest.$ac_ext <<_ACEOF
95251 /* end confdefs.h.  */
95252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95253    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95254 #define $ac_func innocuous_$ac_func
95255
95256 /* System header to define __stub macros and hopefully few prototypes,
95257     which can conflict with char $ac_func (); below.
95258     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95259     <limits.h> exists even on freestanding compilers.  */
95260
95261 #ifdef __STDC__
95262 # include <limits.h>
95263 #else
95264 # include <assert.h>
95265 #endif
95266
95267 #undef $ac_func
95268
95269 /* Override any gcc2 internal prototype to avoid an error.  */
95270 #ifdef __cplusplus
95271 extern "C"
95272 {
95273 #endif
95274 /* We use char because int might match the return type of a gcc2
95275    builtin and then its argument prototype would still apply.  */
95276 char $ac_func ();
95277 /* The GNU C library defines this for functions which it implements
95278     to always fail with ENOSYS.  Some functions are actually named
95279     something starting with __ and the normal name is an alias.  */
95280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95281 choke me
95282 #else
95283 char (*f) () = $ac_func;
95284 #endif
95285 #ifdef __cplusplus
95286 }
95287 #endif
95288
95289 int
95290 main ()
95291 {
95292 return f != $ac_func;
95293   ;
95294   return 0;
95295 }
95296 _ACEOF
95297 rm -f conftest.$ac_objext conftest$ac_exeext
95298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95299   (eval $ac_link) 2>conftest.er1
95300   ac_status=$?
95301   grep -v '^ *+' conftest.er1 >conftest.err
95302   rm -f conftest.er1
95303   cat conftest.err >&5
95304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95305   (exit $ac_status); } &&
95306          { ac_try='test -z "$ac_c_werror_flag"
95307                          || test ! -s conftest.err'
95308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95309   (eval $ac_try) 2>&5
95310   ac_status=$?
95311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95312   (exit $ac_status); }; } &&
95313          { ac_try='test -s conftest$ac_exeext'
95314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95315   (eval $ac_try) 2>&5
95316   ac_status=$?
95317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95318   (exit $ac_status); }; }; then
95319   eval "$as_ac_var=yes"
95320 else
95321   echo "$as_me: failed program was:" >&5
95322 sed 's/^/| /' conftest.$ac_ext >&5
95323
95324 eval "$as_ac_var=no"
95325 fi
95326 rm -f conftest.err conftest.$ac_objext \
95327       conftest$ac_exeext conftest.$ac_ext
95328 fi
95329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95331 if test `eval echo '${'$as_ac_var'}'` = yes; then
95332   cat >>confdefs.h <<_ACEOF
95333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95334 _ACEOF
95335
95336 else
95337   ac_wfuncs=no
95338 fi
95339 done
95340
95341
95342     # Checks for wide character functions that are not required
95343     # for basic wchar_t support.  Don't disable support if they are missing.
95344     # Injection of these is wrapped with guard macros.
95345
95346
95347
95348
95349
95350 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
95351 do
95352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95353 echo "$as_me:$LINENO: checking for $ac_func" >&5
95354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95355 if eval "test \"\${$as_ac_var+set}\" = set"; then
95356   echo $ECHO_N "(cached) $ECHO_C" >&6
95357 else
95358   if test x$gcc_no_link = xyes; then
95359   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95361    { (exit 1); exit 1; }; }
95362 fi
95363 cat >conftest.$ac_ext <<_ACEOF
95364 /* confdefs.h.  */
95365 _ACEOF
95366 cat confdefs.h >>conftest.$ac_ext
95367 cat >>conftest.$ac_ext <<_ACEOF
95368 /* end confdefs.h.  */
95369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95370    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95371 #define $ac_func innocuous_$ac_func
95372
95373 /* System header to define __stub macros and hopefully few prototypes,
95374     which can conflict with char $ac_func (); below.
95375     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95376     <limits.h> exists even on freestanding compilers.  */
95377
95378 #ifdef __STDC__
95379 # include <limits.h>
95380 #else
95381 # include <assert.h>
95382 #endif
95383
95384 #undef $ac_func
95385
95386 /* Override any gcc2 internal prototype to avoid an error.  */
95387 #ifdef __cplusplus
95388 extern "C"
95389 {
95390 #endif
95391 /* We use char because int might match the return type of a gcc2
95392    builtin and then its argument prototype would still apply.  */
95393 char $ac_func ();
95394 /* The GNU C library defines this for functions which it implements
95395     to always fail with ENOSYS.  Some functions are actually named
95396     something starting with __ and the normal name is an alias.  */
95397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95398 choke me
95399 #else
95400 char (*f) () = $ac_func;
95401 #endif
95402 #ifdef __cplusplus
95403 }
95404 #endif
95405
95406 int
95407 main ()
95408 {
95409 return f != $ac_func;
95410   ;
95411   return 0;
95412 }
95413 _ACEOF
95414 rm -f conftest.$ac_objext conftest$ac_exeext
95415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95416   (eval $ac_link) 2>conftest.er1
95417   ac_status=$?
95418   grep -v '^ *+' conftest.er1 >conftest.err
95419   rm -f conftest.er1
95420   cat conftest.err >&5
95421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95422   (exit $ac_status); } &&
95423          { ac_try='test -z "$ac_c_werror_flag"
95424                          || test ! -s conftest.err'
95425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95426   (eval $ac_try) 2>&5
95427   ac_status=$?
95428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95429   (exit $ac_status); }; } &&
95430          { ac_try='test -s conftest$ac_exeext'
95431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95432   (eval $ac_try) 2>&5
95433   ac_status=$?
95434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95435   (exit $ac_status); }; }; then
95436   eval "$as_ac_var=yes"
95437 else
95438   echo "$as_me: failed program was:" >&5
95439 sed 's/^/| /' conftest.$ac_ext >&5
95440
95441 eval "$as_ac_var=no"
95442 fi
95443 rm -f conftest.err conftest.$ac_objext \
95444       conftest$ac_exeext conftest.$ac_ext
95445 fi
95446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95448 if test `eval echo '${'$as_ac_var'}'` = yes; then
95449   cat >>confdefs.h <<_ACEOF
95450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95451 _ACEOF
95452
95453 fi
95454 done
95455
95456
95457     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
95458 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
95459     if test x"$has_weof" = xyes &&
95460        test x"$has_wchar_minmax" = xyes &&
95461        test x"$ac_wfuncs" = xyes;
95462     then
95463       ac_isoC99_wchar_t=yes
95464     else
95465       ac_isoC99_wchar_t=no
95466     fi
95467     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
95468 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
95469
95470     # Use iconv for wchar_t to char conversions. As such, check for
95471     # X/Open Portability Guide, version 2 features (XPG2).
95472     if test "${ac_cv_header_iconv_h+set}" = set; then
95473   echo "$as_me:$LINENO: checking for iconv.h" >&5
95474 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
95475 if test "${ac_cv_header_iconv_h+set}" = set; then
95476   echo $ECHO_N "(cached) $ECHO_C" >&6
95477 fi
95478 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
95479 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
95480 else
95481   # Is the header compilable?
95482 echo "$as_me:$LINENO: checking iconv.h usability" >&5
95483 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
95484 cat >conftest.$ac_ext <<_ACEOF
95485 /* confdefs.h.  */
95486 _ACEOF
95487 cat confdefs.h >>conftest.$ac_ext
95488 cat >>conftest.$ac_ext <<_ACEOF
95489 /* end confdefs.h.  */
95490 $ac_includes_default
95491 #include <iconv.h>
95492 _ACEOF
95493 rm -f conftest.$ac_objext
95494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95495   (eval $ac_compile) 2>conftest.er1
95496   ac_status=$?
95497   grep -v '^ *+' conftest.er1 >conftest.err
95498   rm -f conftest.er1
95499   cat conftest.err >&5
95500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95501   (exit $ac_status); } &&
95502          { ac_try='test -z "$ac_c_werror_flag"
95503                          || test ! -s conftest.err'
95504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95505   (eval $ac_try) 2>&5
95506   ac_status=$?
95507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95508   (exit $ac_status); }; } &&
95509          { ac_try='test -s conftest.$ac_objext'
95510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95511   (eval $ac_try) 2>&5
95512   ac_status=$?
95513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95514   (exit $ac_status); }; }; then
95515   ac_header_compiler=yes
95516 else
95517   echo "$as_me: failed program was:" >&5
95518 sed 's/^/| /' conftest.$ac_ext >&5
95519
95520 ac_header_compiler=no
95521 fi
95522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95523 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
95524 echo "${ECHO_T}$ac_header_compiler" >&6
95525
95526 # Is the header present?
95527 echo "$as_me:$LINENO: checking iconv.h presence" >&5
95528 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
95529 cat >conftest.$ac_ext <<_ACEOF
95530 /* confdefs.h.  */
95531 _ACEOF
95532 cat confdefs.h >>conftest.$ac_ext
95533 cat >>conftest.$ac_ext <<_ACEOF
95534 /* end confdefs.h.  */
95535 #include <iconv.h>
95536 _ACEOF
95537 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
95538   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
95539   ac_status=$?
95540   grep -v '^ *+' conftest.er1 >conftest.err
95541   rm -f conftest.er1
95542   cat conftest.err >&5
95543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95544   (exit $ac_status); } >/dev/null; then
95545   if test -s conftest.err; then
95546     ac_cpp_err=$ac_c_preproc_warn_flag
95547     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
95548   else
95549     ac_cpp_err=
95550   fi
95551 else
95552   ac_cpp_err=yes
95553 fi
95554 if test -z "$ac_cpp_err"; then
95555   ac_header_preproc=yes
95556 else
95557   echo "$as_me: failed program was:" >&5
95558 sed 's/^/| /' conftest.$ac_ext >&5
95559
95560   ac_header_preproc=no
95561 fi
95562 rm -f conftest.err conftest.$ac_ext
95563 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
95564 echo "${ECHO_T}$ac_header_preproc" >&6
95565
95566 # So?  What about this header?
95567 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
95568   yes:no: )
95569     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
95570 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
95571     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
95572 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
95573     ac_header_preproc=yes
95574     ;;
95575   no:yes:* )
95576     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
95577 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
95578     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
95579 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
95580     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
95581 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
95582     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
95583 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
95584     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
95585 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
95586     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
95587 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
95588     (
95589       cat <<\_ASBOX
95590 ## ----------------------------------------- ##
95591 ## Report this to the package-unused lists.  ##
95592 ## ----------------------------------------- ##
95593 _ASBOX
95594     ) |
95595       sed "s/^/$as_me: WARNING:     /" >&2
95596     ;;
95597 esac
95598 echo "$as_me:$LINENO: checking for iconv.h" >&5
95599 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
95600 if test "${ac_cv_header_iconv_h+set}" = set; then
95601   echo $ECHO_N "(cached) $ECHO_C" >&6
95602 else
95603   ac_cv_header_iconv_h=$ac_header_preproc
95604 fi
95605 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
95606 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
95607
95608 fi
95609 if test $ac_cv_header_iconv_h = yes; then
95610   ac_has_iconv_h=yes
95611 else
95612   ac_has_iconv_h=no
95613 fi
95614
95615
95616     if test "${ac_cv_header_langinfo_h+set}" = set; then
95617   echo "$as_me:$LINENO: checking for langinfo.h" >&5
95618 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
95619 if test "${ac_cv_header_langinfo_h+set}" = set; then
95620   echo $ECHO_N "(cached) $ECHO_C" >&6
95621 fi
95622 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
95623 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
95624 else
95625   # Is the header compilable?
95626 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
95627 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
95628 cat >conftest.$ac_ext <<_ACEOF
95629 /* confdefs.h.  */
95630 _ACEOF
95631 cat confdefs.h >>conftest.$ac_ext
95632 cat >>conftest.$ac_ext <<_ACEOF
95633 /* end confdefs.h.  */
95634 $ac_includes_default
95635 #include <langinfo.h>
95636 _ACEOF
95637 rm -f conftest.$ac_objext
95638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95639   (eval $ac_compile) 2>conftest.er1
95640   ac_status=$?
95641   grep -v '^ *+' conftest.er1 >conftest.err
95642   rm -f conftest.er1
95643   cat conftest.err >&5
95644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95645   (exit $ac_status); } &&
95646          { ac_try='test -z "$ac_c_werror_flag"
95647                          || test ! -s conftest.err'
95648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95649   (eval $ac_try) 2>&5
95650   ac_status=$?
95651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95652   (exit $ac_status); }; } &&
95653          { ac_try='test -s conftest.$ac_objext'
95654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95655   (eval $ac_try) 2>&5
95656   ac_status=$?
95657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95658   (exit $ac_status); }; }; then
95659   ac_header_compiler=yes
95660 else
95661   echo "$as_me: failed program was:" >&5
95662 sed 's/^/| /' conftest.$ac_ext >&5
95663
95664 ac_header_compiler=no
95665 fi
95666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95667 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
95668 echo "${ECHO_T}$ac_header_compiler" >&6
95669
95670 # Is the header present?
95671 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
95672 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
95673 cat >conftest.$ac_ext <<_ACEOF
95674 /* confdefs.h.  */
95675 _ACEOF
95676 cat confdefs.h >>conftest.$ac_ext
95677 cat >>conftest.$ac_ext <<_ACEOF
95678 /* end confdefs.h.  */
95679 #include <langinfo.h>
95680 _ACEOF
95681 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
95682   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
95683   ac_status=$?
95684   grep -v '^ *+' conftest.er1 >conftest.err
95685   rm -f conftest.er1
95686   cat conftest.err >&5
95687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95688   (exit $ac_status); } >/dev/null; then
95689   if test -s conftest.err; then
95690     ac_cpp_err=$ac_c_preproc_warn_flag
95691     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
95692   else
95693     ac_cpp_err=
95694   fi
95695 else
95696   ac_cpp_err=yes
95697 fi
95698 if test -z "$ac_cpp_err"; then
95699   ac_header_preproc=yes
95700 else
95701   echo "$as_me: failed program was:" >&5
95702 sed 's/^/| /' conftest.$ac_ext >&5
95703
95704   ac_header_preproc=no
95705 fi
95706 rm -f conftest.err conftest.$ac_ext
95707 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
95708 echo "${ECHO_T}$ac_header_preproc" >&6
95709
95710 # So?  What about this header?
95711 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
95712   yes:no: )
95713     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
95714 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
95715     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
95716 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
95717     ac_header_preproc=yes
95718     ;;
95719   no:yes:* )
95720     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
95721 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
95722     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
95723 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
95724     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
95725 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
95726     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
95727 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
95728     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
95729 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
95730     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
95731 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
95732     (
95733       cat <<\_ASBOX
95734 ## ----------------------------------------- ##
95735 ## Report this to the package-unused lists.  ##
95736 ## ----------------------------------------- ##
95737 _ASBOX
95738     ) |
95739       sed "s/^/$as_me: WARNING:     /" >&2
95740     ;;
95741 esac
95742 echo "$as_me:$LINENO: checking for langinfo.h" >&5
95743 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
95744 if test "${ac_cv_header_langinfo_h+set}" = set; then
95745   echo $ECHO_N "(cached) $ECHO_C" >&6
95746 else
95747   ac_cv_header_langinfo_h=$ac_header_preproc
95748 fi
95749 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
95750 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
95751
95752 fi
95753 if test $ac_cv_header_langinfo_h = yes; then
95754   ac_has_langinfo_h=yes
95755 else
95756   ac_has_langinfo_h=no
95757 fi
95758
95759
95760
95761     # Check for existence of libiconv.a providing XPG2 wchar_t support.
95762     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
95763 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
95764 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
95765   echo $ECHO_N "(cached) $ECHO_C" >&6
95766 else
95767   ac_check_lib_save_LIBS=$LIBS
95768 LIBS="-liconv  $LIBS"
95769 if test x$gcc_no_link = xyes; then
95770   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95772    { (exit 1); exit 1; }; }
95773 fi
95774 cat >conftest.$ac_ext <<_ACEOF
95775 /* confdefs.h.  */
95776 _ACEOF
95777 cat confdefs.h >>conftest.$ac_ext
95778 cat >>conftest.$ac_ext <<_ACEOF
95779 /* end confdefs.h.  */
95780
95781 /* Override any gcc2 internal prototype to avoid an error.  */
95782 #ifdef __cplusplus
95783 extern "C"
95784 #endif
95785 /* We use char because int might match the return type of a gcc2
95786    builtin and then its argument prototype would still apply.  */
95787 char iconv ();
95788 int
95789 main ()
95790 {
95791 iconv ();
95792   ;
95793   return 0;
95794 }
95795 _ACEOF
95796 rm -f conftest.$ac_objext conftest$ac_exeext
95797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95798   (eval $ac_link) 2>conftest.er1
95799   ac_status=$?
95800   grep -v '^ *+' conftest.er1 >conftest.err
95801   rm -f conftest.er1
95802   cat conftest.err >&5
95803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95804   (exit $ac_status); } &&
95805          { ac_try='test -z "$ac_c_werror_flag"
95806                          || test ! -s conftest.err'
95807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95808   (eval $ac_try) 2>&5
95809   ac_status=$?
95810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95811   (exit $ac_status); }; } &&
95812          { ac_try='test -s conftest$ac_exeext'
95813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95814   (eval $ac_try) 2>&5
95815   ac_status=$?
95816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95817   (exit $ac_status); }; }; then
95818   ac_cv_lib_iconv_iconv=yes
95819 else
95820   echo "$as_me: failed program was:" >&5
95821 sed 's/^/| /' conftest.$ac_ext >&5
95822
95823 ac_cv_lib_iconv_iconv=no
95824 fi
95825 rm -f conftest.err conftest.$ac_objext \
95826       conftest$ac_exeext conftest.$ac_ext
95827 LIBS=$ac_check_lib_save_LIBS
95828 fi
95829 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
95830 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
95831 if test $ac_cv_lib_iconv_iconv = yes; then
95832   LIBICONV="-liconv"
95833 fi
95834
95835     ac_save_LIBS="$LIBS"
95836     LIBS="$LIBS $LIBICONV"
95837
95838
95839
95840
95841
95842
95843 for ac_func in iconv_open iconv_close iconv nl_langinfo
95844 do
95845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95846 echo "$as_me:$LINENO: checking for $ac_func" >&5
95847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95848 if eval "test \"\${$as_ac_var+set}\" = set"; then
95849   echo $ECHO_N "(cached) $ECHO_C" >&6
95850 else
95851   if test x$gcc_no_link = xyes; then
95852   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95854    { (exit 1); exit 1; }; }
95855 fi
95856 cat >conftest.$ac_ext <<_ACEOF
95857 /* confdefs.h.  */
95858 _ACEOF
95859 cat confdefs.h >>conftest.$ac_ext
95860 cat >>conftest.$ac_ext <<_ACEOF
95861 /* end confdefs.h.  */
95862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95863    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95864 #define $ac_func innocuous_$ac_func
95865
95866 /* System header to define __stub macros and hopefully few prototypes,
95867     which can conflict with char $ac_func (); below.
95868     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95869     <limits.h> exists even on freestanding compilers.  */
95870
95871 #ifdef __STDC__
95872 # include <limits.h>
95873 #else
95874 # include <assert.h>
95875 #endif
95876
95877 #undef $ac_func
95878
95879 /* Override any gcc2 internal prototype to avoid an error.  */
95880 #ifdef __cplusplus
95881 extern "C"
95882 {
95883 #endif
95884 /* We use char because int might match the return type of a gcc2
95885    builtin and then its argument prototype would still apply.  */
95886 char $ac_func ();
95887 /* The GNU C library defines this for functions which it implements
95888     to always fail with ENOSYS.  Some functions are actually named
95889     something starting with __ and the normal name is an alias.  */
95890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95891 choke me
95892 #else
95893 char (*f) () = $ac_func;
95894 #endif
95895 #ifdef __cplusplus
95896 }
95897 #endif
95898
95899 int
95900 main ()
95901 {
95902 return f != $ac_func;
95903   ;
95904   return 0;
95905 }
95906 _ACEOF
95907 rm -f conftest.$ac_objext conftest$ac_exeext
95908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95909   (eval $ac_link) 2>conftest.er1
95910   ac_status=$?
95911   grep -v '^ *+' conftest.er1 >conftest.err
95912   rm -f conftest.er1
95913   cat conftest.err >&5
95914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95915   (exit $ac_status); } &&
95916          { ac_try='test -z "$ac_c_werror_flag"
95917                          || test ! -s conftest.err'
95918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95919   (eval $ac_try) 2>&5
95920   ac_status=$?
95921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95922   (exit $ac_status); }; } &&
95923          { ac_try='test -s conftest$ac_exeext'
95924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95925   (eval $ac_try) 2>&5
95926   ac_status=$?
95927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95928   (exit $ac_status); }; }; then
95929   eval "$as_ac_var=yes"
95930 else
95931   echo "$as_me: failed program was:" >&5
95932 sed 's/^/| /' conftest.$ac_ext >&5
95933
95934 eval "$as_ac_var=no"
95935 fi
95936 rm -f conftest.err conftest.$ac_objext \
95937       conftest$ac_exeext conftest.$ac_ext
95938 fi
95939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95941 if test `eval echo '${'$as_ac_var'}'` = yes; then
95942   cat >>confdefs.h <<_ACEOF
95943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95944 _ACEOF
95945  ac_XPG2funcs=yes
95946 else
95947   ac_XPG2funcs=no
95948 fi
95949 done
95950
95951
95952     LIBS="$ac_save_LIBS"
95953
95954     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
95955 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
95956     if test x"$ac_has_iconv_h" = xyes &&
95957        test x"$ac_has_langinfo_h" = xyes &&
95958        test x"$ac_XPG2funcs" = xyes;
95959     then
95960       ac_XPG2_wchar_t=yes
95961     else
95962       ac_XPG2_wchar_t=no
95963     fi
95964     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
95965 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
95966
95967     # At the moment, only enable wchar_t specializations if all the
95968     # above support is present.
95969     if test x"$ac_isoC99_wchar_t" = xyes &&
95970        test x"$ac_XPG2_wchar_t" = xyes;
95971     then
95972       cat >>confdefs.h <<\_ACEOF
95973 #define _GLIBCXX_USE_WCHAR_T 1
95974 _ACEOF
95975
95976       enable_wchar_t=yes
95977     fi
95978   fi
95979   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
95980 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
95981   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
95982 echo "${ECHO_T}$enable_wchar_t" >&6
95983
95984     cat >>confdefs.h <<\_ACEOF
95985 #define HAVE_COPYSIGN 1
95986 _ACEOF
95987
95988     cat >>confdefs.h <<\_ACEOF
95989 #define HAVE_COPYSIGNF 1
95990 _ACEOF
95991
95992     cat >>confdefs.h <<\_ACEOF
95993 #define HAVE_FINITE 1
95994 _ACEOF
95995
95996     cat >>confdefs.h <<\_ACEOF
95997 #define HAVE_FINITEF 1
95998 _ACEOF
95999
96000     cat >>confdefs.h <<\_ACEOF
96001 #define HAVE_FREXPF 1
96002 _ACEOF
96003
96004     cat >>confdefs.h <<\_ACEOF
96005 #define HAVE_HYPOTF 1
96006 _ACEOF
96007
96008     cat >>confdefs.h <<\_ACEOF
96009 #define HAVE_ISINF 1
96010 _ACEOF
96011
96012     cat >>confdefs.h <<\_ACEOF
96013 #define HAVE_ISINFF 1
96014 _ACEOF
96015
96016     cat >>confdefs.h <<\_ACEOF
96017 #define HAVE_ISNAN 1
96018 _ACEOF
96019
96020     cat >>confdefs.h <<\_ACEOF
96021 #define HAVE_ISNANF 1
96022 _ACEOF
96023
96024     cat >>confdefs.h <<\_ACEOF
96025 #define HAVE_SINCOS 1
96026 _ACEOF
96027
96028     cat >>confdefs.h <<\_ACEOF
96029 #define HAVE_SINCOSF 1
96030 _ACEOF
96031
96032     if test x"long_double_math_on_this_cpu" = x"yes"; then
96033       cat >>confdefs.h <<\_ACEOF
96034 #define HAVE_FINITEL 1
96035 _ACEOF
96036
96037       cat >>confdefs.h <<\_ACEOF
96038 #define HAVE_HYPOTL 1
96039 _ACEOF
96040
96041       cat >>confdefs.h <<\_ACEOF
96042 #define HAVE_ISINFL 1
96043 _ACEOF
96044
96045       cat >>confdefs.h <<\_ACEOF
96046 #define HAVE_ISNANL 1
96047 _ACEOF
96048
96049     fi
96050     ;;
96051   *-vxworks)
96052     cat >>confdefs.h <<\_ACEOF
96053 #define HAVE_MMAP 1
96054 _ACEOF
96055
96056     cat >>confdefs.h <<\_ACEOF
96057 #define HAVE_ACOSF 1
96058 _ACEOF
96059
96060     cat >>confdefs.h <<\_ACEOF
96061 #define HAVE_ASINF 1
96062 _ACEOF
96063
96064     cat >>confdefs.h <<\_ACEOF
96065 #define HAVE_ATAN2F 1
96066 _ACEOF
96067
96068     cat >>confdefs.h <<\_ACEOF
96069 #define HAVE_ATANF 1
96070 _ACEOF
96071
96072     cat >>confdefs.h <<\_ACEOF
96073 #define HAVE_CEILF 1
96074 _ACEOF
96075
96076     cat >>confdefs.h <<\_ACEOF
96077 #define HAVE_COSF 1
96078 _ACEOF
96079
96080     cat >>confdefs.h <<\_ACEOF
96081 #define HAVE_COSHF 1
96082 _ACEOF
96083
96084     cat >>confdefs.h <<\_ACEOF
96085 #define HAVE_EXPF 1
96086 _ACEOF
96087
96088     cat >>confdefs.h <<\_ACEOF
96089 #define HAVE_FABSF 1
96090 _ACEOF
96091
96092     cat >>confdefs.h <<\_ACEOF
96093 #define HAVE_FLOORF 1
96094 _ACEOF
96095
96096     cat >>confdefs.h <<\_ACEOF
96097 #define HAVE_FMODF 1
96098 _ACEOF
96099
96100     cat >>confdefs.h <<\_ACEOF
96101 #define HAVE_HYPOT 1
96102 _ACEOF
96103
96104     cat >>confdefs.h <<\_ACEOF
96105 #define HAVE_LOG10F 1
96106 _ACEOF
96107
96108     cat >>confdefs.h <<\_ACEOF
96109 #define HAVE_LOGF 1
96110 _ACEOF
96111
96112     cat >>confdefs.h <<\_ACEOF
96113 #define HAVE_POWF 1
96114 _ACEOF
96115
96116     cat >>confdefs.h <<\_ACEOF
96117 #define HAVE_SINF 1
96118 _ACEOF
96119
96120     cat >>confdefs.h <<\_ACEOF
96121 #define HAVE_SINHF 1
96122 _ACEOF
96123
96124     cat >>confdefs.h <<\_ACEOF
96125 #define HAVE_SQRTF 1
96126 _ACEOF
96127
96128     cat >>confdefs.h <<\_ACEOF
96129 #define HAVE_TANF 1
96130 _ACEOF
96131
96132     cat >>confdefs.h <<\_ACEOF
96133 #define HAVE_TANHF 1
96134 _ACEOF
96135
96136     ;;
96137   *-windiss*)
96138     cat >>confdefs.h <<\_ACEOF
96139 #define HAVE_ACOSF 1
96140 _ACEOF
96141
96142     cat >>confdefs.h <<\_ACEOF
96143 #define HAVE_ACOSL 1
96144 _ACEOF
96145
96146     cat >>confdefs.h <<\_ACEOF
96147 #define HAVE_ASINF 1
96148 _ACEOF
96149
96150     cat >>confdefs.h <<\_ACEOF
96151 #define HAVE_ASINL 1
96152 _ACEOF
96153
96154     cat >>confdefs.h <<\_ACEOF
96155 #define HAVE_ATAN2F 1
96156 _ACEOF
96157
96158     cat >>confdefs.h <<\_ACEOF
96159 #define HAVE_ATAN2L 1
96160 _ACEOF
96161
96162     cat >>confdefs.h <<\_ACEOF
96163 #define HAVE_ATANF 1
96164 _ACEOF
96165
96166     cat >>confdefs.h <<\_ACEOF
96167 #define HAVE_ATANL 1
96168 _ACEOF
96169
96170     cat >>confdefs.h <<\_ACEOF
96171 #define HAVE_CEILF 1
96172 _ACEOF
96173
96174     cat >>confdefs.h <<\_ACEOF
96175 #define HAVE_CEILL 1
96176 _ACEOF
96177
96178     cat >>confdefs.h <<\_ACEOF
96179 #define HAVE_COPYSIGN 1
96180 _ACEOF
96181
96182     cat >>confdefs.h <<\_ACEOF
96183 #define HAVE_COPYSIGNF 1
96184 _ACEOF
96185
96186     cat >>confdefs.h <<\_ACEOF
96187 #define HAVE_COSF 1
96188 _ACEOF
96189
96190     cat >>confdefs.h <<\_ACEOF
96191 #define HAVE_COSL 1
96192 _ACEOF
96193
96194     cat >>confdefs.h <<\_ACEOF
96195 #define HAVE_COSHF 1
96196 _ACEOF
96197
96198     cat >>confdefs.h <<\_ACEOF
96199 #define HAVE_COSHL 1
96200 _ACEOF
96201
96202     cat >>confdefs.h <<\_ACEOF
96203 #define HAVE_EXPF 1
96204 _ACEOF
96205
96206     cat >>confdefs.h <<\_ACEOF
96207 #define HAVE_EXPL 1
96208 _ACEOF
96209
96210     cat >>confdefs.h <<\_ACEOF
96211 #define HAVE_FABSF 1
96212 _ACEOF
96213
96214     cat >>confdefs.h <<\_ACEOF
96215 #define HAVE_FABSL 1
96216 _ACEOF
96217
96218     cat >>confdefs.h <<\_ACEOF
96219 #define HAVE_FLOORF 1
96220 _ACEOF
96221
96222     cat >>confdefs.h <<\_ACEOF
96223 #define HAVE_FLOORL 1
96224 _ACEOF
96225
96226     cat >>confdefs.h <<\_ACEOF
96227 #define HAVE_FMODF 1
96228 _ACEOF
96229
96230     cat >>confdefs.h <<\_ACEOF
96231 #define HAVE_FMODL 1
96232 _ACEOF
96233
96234     cat >>confdefs.h <<\_ACEOF
96235 #define HAVE_FREXPF 1
96236 _ACEOF
96237
96238     cat >>confdefs.h <<\_ACEOF
96239 #define HAVE_FREXPL 1
96240 _ACEOF
96241
96242     cat >>confdefs.h <<\_ACEOF
96243 #define HAVE_LDEXPF 1
96244 _ACEOF
96245
96246     cat >>confdefs.h <<\_ACEOF
96247 #define HAVE_LDEXPL 1
96248 _ACEOF
96249
96250     cat >>confdefs.h <<\_ACEOF
96251 #define HAVE_LOG10F 1
96252 _ACEOF
96253
96254     cat >>confdefs.h <<\_ACEOF
96255 #define HAVE_LOG10L 1
96256 _ACEOF
96257
96258     cat >>confdefs.h <<\_ACEOF
96259 #define HAVE_LOGF 1
96260 _ACEOF
96261
96262     cat >>confdefs.h <<\_ACEOF
96263 #define HAVE_MODFF 1
96264 _ACEOF
96265
96266     cat >>confdefs.h <<\_ACEOF
96267 #define HAVE_MODFL 1
96268 _ACEOF
96269
96270     cat >>confdefs.h <<\_ACEOF
96271 #define HAVE_POWF 1
96272 _ACEOF
96273
96274     cat >>confdefs.h <<\_ACEOF
96275 #define HAVE_POWL 1
96276 _ACEOF
96277
96278     cat >>confdefs.h <<\_ACEOF
96279 #define HAVE_SINF 1
96280 _ACEOF
96281
96282     cat >>confdefs.h <<\_ACEOF
96283 #define HAVE_SINL 1
96284 _ACEOF
96285
96286     cat >>confdefs.h <<\_ACEOF
96287 #define HAVE_SINHF 1
96288 _ACEOF
96289
96290     cat >>confdefs.h <<\_ACEOF
96291 #define HAVE_SINHL 1
96292 _ACEOF
96293
96294     cat >>confdefs.h <<\_ACEOF
96295 #define HAVE_SQRTF 1
96296 _ACEOF
96297
96298     cat >>confdefs.h <<\_ACEOF
96299 #define HAVE_SQRTL 1
96300 _ACEOF
96301
96302     cat >>confdefs.h <<\_ACEOF
96303 #define HAVE_TANF 1
96304 _ACEOF
96305
96306     cat >>confdefs.h <<\_ACEOF
96307 #define HAVE_TANL 1
96308 _ACEOF
96309
96310     cat >>confdefs.h <<\_ACEOF
96311 #define HAVE_TANHF 1
96312 _ACEOF
96313
96314     cat >>confdefs.h <<\_ACEOF
96315 #define HAVE_TANHL 1
96316 _ACEOF
96317
96318     ;;
96319   *)
96320     { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
96321 echo "$as_me: error: No support for this host/target combination." >&2;}
96322    { (exit 1); exit 1; }; }
96323    ;;
96324 esac
96325
96326
96327   fi
96328
96329   # At some point, we should differentiate between architectures
96330   # like x86, which have long double versions, and alpha/powerpc/etc.,
96331   # which don't. For the time being, punt.
96332   if test x"long_double_math_on_this_cpu" = x"yes"; then
96333     cat >>confdefs.h <<\_ACEOF
96334 #define HAVE_ACOSL 1
96335 _ACEOF
96336
96337     cat >>confdefs.h <<\_ACEOF
96338 #define HAVE_ASINL 1
96339 _ACEOF
96340
96341     cat >>confdefs.h <<\_ACEOF
96342 #define HAVE_ATAN2L 1
96343 _ACEOF
96344
96345     cat >>confdefs.h <<\_ACEOF
96346 #define HAVE_ATANL 1
96347 _ACEOF
96348
96349     cat >>confdefs.h <<\_ACEOF
96350 #define HAVE_CEILL 1
96351 _ACEOF
96352
96353     cat >>confdefs.h <<\_ACEOF
96354 #define HAVE_COPYSIGNL 1
96355 _ACEOF
96356
96357     cat >>confdefs.h <<\_ACEOF
96358 #define HAVE_COSL 1
96359 _ACEOF
96360
96361     cat >>confdefs.h <<\_ACEOF
96362 #define HAVE_COSHL 1
96363 _ACEOF
96364
96365     cat >>confdefs.h <<\_ACEOF
96366 #define HAVE_EXPL 1
96367 _ACEOF
96368
96369     cat >>confdefs.h <<\_ACEOF
96370 #define HAVE_FABSL 1
96371 _ACEOF
96372
96373     cat >>confdefs.h <<\_ACEOF
96374 #define HAVE_FLOORL 1
96375 _ACEOF
96376
96377     cat >>confdefs.h <<\_ACEOF
96378 #define HAVE_FMODL 1
96379 _ACEOF
96380
96381     cat >>confdefs.h <<\_ACEOF
96382 #define HAVE_FREXPL 1
96383 _ACEOF
96384
96385     cat >>confdefs.h <<\_ACEOF
96386 #define HAVE_LDEXPL 1
96387 _ACEOF
96388
96389     cat >>confdefs.h <<\_ACEOF
96390 #define HAVE_LOG10L 1
96391 _ACEOF
96392
96393     cat >>confdefs.h <<\_ACEOF
96394 #define HAVE_LOGL 1
96395 _ACEOF
96396
96397     cat >>confdefs.h <<\_ACEOF
96398 #define HAVE_MODFL 1
96399 _ACEOF
96400
96401     cat >>confdefs.h <<\_ACEOF
96402 #define HAVE_POWL 1
96403 _ACEOF
96404
96405     cat >>confdefs.h <<\_ACEOF
96406 #define HAVE_SINCOSL 1
96407 _ACEOF
96408
96409     cat >>confdefs.h <<\_ACEOF
96410 #define HAVE_SINL 1
96411 _ACEOF
96412
96413     cat >>confdefs.h <<\_ACEOF
96414 #define HAVE_SINHL 1
96415 _ACEOF
96416
96417     cat >>confdefs.h <<\_ACEOF
96418 #define HAVE_SQRTL 1
96419 _ACEOF
96420
96421     cat >>confdefs.h <<\_ACEOF
96422 #define HAVE_TANL 1
96423 _ACEOF
96424
96425     cat >>confdefs.h <<\_ACEOF
96426 #define HAVE_TANHL 1
96427 _ACEOF
96428
96429   fi
96430
96431 fi
96432
96433 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
96434
96435
96436  # Check whether --enable-symvers or --disable-symvers was given.
96437 if test "${enable_symvers+set}" = set; then
96438   enableval="$enable_symvers"
96439
96440       case "$enableval" in
96441        yes|no|gnu) ;;
96442        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
96443 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
96444    { (exit 1); exit 1; }; } ;;
96445                           esac
96446
96447 else
96448   enable_symvers=yes
96449 fi;
96450
96451
96452 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
96453 # don't know enough about $LD to do tricks...
96454
96455 # FIXME  The following test is too strict, in theory.
96456 if test $enable_shared = no ||
96457         test "x$LD" = x ||
96458         test x$glibcxx_gnu_ld_version = x; then
96459   enable_symvers=no
96460 fi
96461
96462 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
96463 if test $enable_symvers != no; then
96464   echo "$as_me:$LINENO: checking for shared libgcc" >&5
96465 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
96466   ac_save_CFLAGS="$CFLAGS"
96467   CFLAGS=' -lgcc_s'
96468   if test x$gcc_no_link = xyes; then
96469   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96471    { (exit 1); exit 1; }; }
96472 fi
96473 cat >conftest.$ac_ext <<_ACEOF
96474 /* confdefs.h.  */
96475 _ACEOF
96476 cat confdefs.h >>conftest.$ac_ext
96477 cat >>conftest.$ac_ext <<_ACEOF
96478 /* end confdefs.h.  */
96479
96480 int
96481 main ()
96482 {
96483 return 0;
96484   ;
96485   return 0;
96486 }
96487 _ACEOF
96488 rm -f conftest.$ac_objext conftest$ac_exeext
96489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96490   (eval $ac_link) 2>conftest.er1
96491   ac_status=$?
96492   grep -v '^ *+' conftest.er1 >conftest.err
96493   rm -f conftest.er1
96494   cat conftest.err >&5
96495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96496   (exit $ac_status); } &&
96497          { ac_try='test -z "$ac_c_werror_flag"
96498                          || test ! -s conftest.err'
96499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96500   (eval $ac_try) 2>&5
96501   ac_status=$?
96502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96503   (exit $ac_status); }; } &&
96504          { ac_try='test -s conftest$ac_exeext'
96505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96506   (eval $ac_try) 2>&5
96507   ac_status=$?
96508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96509   (exit $ac_status); }; }; then
96510   glibcxx_shared_libgcc=yes
96511 else
96512   echo "$as_me: failed program was:" >&5
96513 sed 's/^/| /' conftest.$ac_ext >&5
96514
96515 glibcxx_shared_libgcc=no
96516 fi
96517 rm -f conftest.err conftest.$ac_objext \
96518       conftest$ac_exeext conftest.$ac_ext
96519   CFLAGS="$ac_save_CFLAGS"
96520   if test $glibcxx_shared_libgcc = no; then
96521     cat > conftest.c <<EOF
96522 int main (void) { return 0; }
96523 EOF
96524     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
96525                              -shared -shared-libgcc -o conftest.so \
96526                              conftest.c -v 2>&1 >/dev/null \
96527                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
96528     rm -f conftest.c conftest.so
96529     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
96530       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
96531       if test x$gcc_no_link = xyes; then
96532   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96534    { (exit 1); exit 1; }; }
96535 fi
96536 cat >conftest.$ac_ext <<_ACEOF
96537 /* confdefs.h.  */
96538 _ACEOF
96539 cat confdefs.h >>conftest.$ac_ext
96540 cat >>conftest.$ac_ext <<_ACEOF
96541 /* end confdefs.h.  */
96542
96543 int
96544 main ()
96545 {
96546 return 0;
96547   ;
96548   return 0;
96549 }
96550 _ACEOF
96551 rm -f conftest.$ac_objext conftest$ac_exeext
96552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96553   (eval $ac_link) 2>conftest.er1
96554   ac_status=$?
96555   grep -v '^ *+' conftest.er1 >conftest.err
96556   rm -f conftest.er1
96557   cat conftest.err >&5
96558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96559   (exit $ac_status); } &&
96560          { ac_try='test -z "$ac_c_werror_flag"
96561                          || test ! -s conftest.err'
96562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96563   (eval $ac_try) 2>&5
96564   ac_status=$?
96565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96566   (exit $ac_status); }; } &&
96567          { ac_try='test -s conftest$ac_exeext'
96568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96569   (eval $ac_try) 2>&5
96570   ac_status=$?
96571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96572   (exit $ac_status); }; }; then
96573   glibcxx_shared_libgcc=yes
96574 else
96575   echo "$as_me: failed program was:" >&5
96576 sed 's/^/| /' conftest.$ac_ext >&5
96577
96578 fi
96579 rm -f conftest.err conftest.$ac_objext \
96580       conftest$ac_exeext conftest.$ac_ext
96581       CFLAGS="$ac_save_CFLAGS"
96582     fi
96583   fi
96584   echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
96585 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
96586 fi
96587
96588 # For GNU ld, we need at least this version.  The format is described in
96589 # GLIBCXX_CHECK_LINKER_FEATURES above.
96590 glibcxx_min_gnu_ld_version=21400
96591 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
96592
96593 # Check to see if unspecified "yes" value can win, given results above.
96594 # Change "yes" into either "no" or a style name.
96595 if test $enable_symvers = yes; then
96596   if test $with_gnu_ld = yes &&
96597      test $glibcxx_shared_libgcc = yes;
96598   then
96599     if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
96600       enable_symvers=gnu
96601     else
96602       # The right tools, the right setup, but too old.  Fallbacks?
96603       { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
96604 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
96605       { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
96606 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
96607       { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
96608 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
96609       { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
96610 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
96611       if test $glibcxx_gnu_ld_version -ge 21200 ; then
96612         # Globbing fix is present, proper block support is not.
96613                         { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
96614 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
96615         enable_symvers=no
96616       else
96617         # 2.11 or older.
96618         { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
96619 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
96620         enable_symvers=no
96621       fi
96622     fi
96623   else
96624     # just fail for now
96625     { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
96626 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
96627     { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
96628 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
96629     { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
96630 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
96631     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
96632 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
96633     enable_symvers=no
96634   fi
96635 fi
96636
96637 # Everything parsed; figure out what file to use.
96638 case $enable_symvers in
96639   no)
96640     SYMVER_MAP=config/linker-map.dummy
96641     ;;
96642   gnu)
96643     SYMVER_MAP=config/linker-map.gnu
96644     cat >>confdefs.h <<\_ACEOF
96645 #define _GLIBCXX_SYMVER 1
96646 _ACEOF
96647
96648     ;;
96649 esac
96650
96651
96652
96653
96654 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
96655 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
96656
96657
96658 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
96659
96660   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
96661     # Do checks for resource limit functions.
96662
96663   setrlimit_have_headers=yes
96664
96665
96666
96667 for ac_header in unistd.h sys/time.h sys/resource.h
96668 do
96669 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
96670 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96671   echo "$as_me:$LINENO: checking for $ac_header" >&5
96672 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
96673 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96674   echo $ECHO_N "(cached) $ECHO_C" >&6
96675 fi
96676 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
96677 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
96678 else
96679   # Is the header compilable?
96680 echo "$as_me:$LINENO: checking $ac_header usability" >&5
96681 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
96682 cat >conftest.$ac_ext <<_ACEOF
96683 /* confdefs.h.  */
96684 _ACEOF
96685 cat confdefs.h >>conftest.$ac_ext
96686 cat >>conftest.$ac_ext <<_ACEOF
96687 /* end confdefs.h.  */
96688 $ac_includes_default
96689 #include <$ac_header>
96690 _ACEOF
96691 rm -f conftest.$ac_objext
96692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96693   (eval $ac_compile) 2>conftest.er1
96694   ac_status=$?
96695   grep -v '^ *+' conftest.er1 >conftest.err
96696   rm -f conftest.er1
96697   cat conftest.err >&5
96698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96699   (exit $ac_status); } &&
96700          { ac_try='test -z "$ac_c_werror_flag"
96701                          || test ! -s conftest.err'
96702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96703   (eval $ac_try) 2>&5
96704   ac_status=$?
96705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96706   (exit $ac_status); }; } &&
96707          { ac_try='test -s conftest.$ac_objext'
96708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96709   (eval $ac_try) 2>&5
96710   ac_status=$?
96711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96712   (exit $ac_status); }; }; then
96713   ac_header_compiler=yes
96714 else
96715   echo "$as_me: failed program was:" >&5
96716 sed 's/^/| /' conftest.$ac_ext >&5
96717
96718 ac_header_compiler=no
96719 fi
96720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96721 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
96722 echo "${ECHO_T}$ac_header_compiler" >&6
96723
96724 # Is the header present?
96725 echo "$as_me:$LINENO: checking $ac_header presence" >&5
96726 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
96727 cat >conftest.$ac_ext <<_ACEOF
96728 /* confdefs.h.  */
96729 _ACEOF
96730 cat confdefs.h >>conftest.$ac_ext
96731 cat >>conftest.$ac_ext <<_ACEOF
96732 /* end confdefs.h.  */
96733 #include <$ac_header>
96734 _ACEOF
96735 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
96736   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
96737   ac_status=$?
96738   grep -v '^ *+' conftest.er1 >conftest.err
96739   rm -f conftest.er1
96740   cat conftest.err >&5
96741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96742   (exit $ac_status); } >/dev/null; then
96743   if test -s conftest.err; then
96744     ac_cpp_err=$ac_c_preproc_warn_flag
96745     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
96746   else
96747     ac_cpp_err=
96748   fi
96749 else
96750   ac_cpp_err=yes
96751 fi
96752 if test -z "$ac_cpp_err"; then
96753   ac_header_preproc=yes
96754 else
96755   echo "$as_me: failed program was:" >&5
96756 sed 's/^/| /' conftest.$ac_ext >&5
96757
96758   ac_header_preproc=no
96759 fi
96760 rm -f conftest.err conftest.$ac_ext
96761 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
96762 echo "${ECHO_T}$ac_header_preproc" >&6
96763
96764 # So?  What about this header?
96765 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
96766   yes:no: )
96767     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
96768 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
96769     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
96770 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
96771     ac_header_preproc=yes
96772     ;;
96773   no:yes:* )
96774     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
96775 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
96776     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
96777 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
96778     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
96779 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
96780     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
96781 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
96782     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
96783 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
96784     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
96785 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
96786     (
96787       cat <<\_ASBOX
96788 ## ----------------------------------------- ##
96789 ## Report this to the package-unused lists.  ##
96790 ## ----------------------------------------- ##
96791 _ASBOX
96792     ) |
96793       sed "s/^/$as_me: WARNING:     /" >&2
96794     ;;
96795 esac
96796 echo "$as_me:$LINENO: checking for $ac_header" >&5
96797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
96798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96799   echo $ECHO_N "(cached) $ECHO_C" >&6
96800 else
96801   eval "$as_ac_Header=\$ac_header_preproc"
96802 fi
96803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
96804 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
96805
96806 fi
96807 if test `eval echo '${'$as_ac_Header'}'` = yes; then
96808   cat >>confdefs.h <<_ACEOF
96809 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
96810 _ACEOF
96811
96812 else
96813   setrlimit_have_headers=no
96814 fi
96815
96816 done
96817
96818   # If don't have the headers, then we can't run the tests now, and we
96819   # won't be seeing any of these during testsuite compilation.
96820   if test $setrlimit_have_headers = yes; then
96821     # Can't do these in a loop, else the resulting syntax is wrong.
96822
96823   cat >conftest.$ac_ext <<_ACEOF
96824 /* confdefs.h.  */
96825 _ACEOF
96826 cat confdefs.h >>conftest.$ac_ext
96827 cat >>conftest.$ac_ext <<_ACEOF
96828 /* end confdefs.h.  */
96829 #include <unistd.h>
96830      #include <sys/time.h>
96831      #include <sys/resource.h>
96832
96833 int
96834 main ()
96835 {
96836  int f = RLIMIT_DATA ;
96837   ;
96838   return 0;
96839 }
96840 _ACEOF
96841 rm -f conftest.$ac_objext
96842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96843   (eval $ac_compile) 2>conftest.er1
96844   ac_status=$?
96845   grep -v '^ *+' conftest.er1 >conftest.err
96846   rm -f conftest.er1
96847   cat conftest.err >&5
96848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96849   (exit $ac_status); } &&
96850          { ac_try='test -z "$ac_c_werror_flag"
96851                          || test ! -s conftest.err'
96852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96853   (eval $ac_try) 2>&5
96854   ac_status=$?
96855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96856   (exit $ac_status); }; } &&
96857          { ac_try='test -s conftest.$ac_objext'
96858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96859   (eval $ac_try) 2>&5
96860   ac_status=$?
96861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96862   (exit $ac_status); }; }; then
96863   glibcxx_mresult=1
96864 else
96865   echo "$as_me: failed program was:" >&5
96866 sed 's/^/| /' conftest.$ac_ext >&5
96867
96868 glibcxx_mresult=0
96869 fi
96870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96871
96872 cat >>confdefs.h <<_ACEOF
96873 #define HAVE_LIMIT_DATA $glibcxx_mresult
96874 _ACEOF
96875
96876
96877
96878   cat >conftest.$ac_ext <<_ACEOF
96879 /* confdefs.h.  */
96880 _ACEOF
96881 cat confdefs.h >>conftest.$ac_ext
96882 cat >>conftest.$ac_ext <<_ACEOF
96883 /* end confdefs.h.  */
96884 #include <unistd.h>
96885      #include <sys/time.h>
96886      #include <sys/resource.h>
96887
96888 int
96889 main ()
96890 {
96891  int f = RLIMIT_RSS ;
96892   ;
96893   return 0;
96894 }
96895 _ACEOF
96896 rm -f conftest.$ac_objext
96897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96898   (eval $ac_compile) 2>conftest.er1
96899   ac_status=$?
96900   grep -v '^ *+' conftest.er1 >conftest.err
96901   rm -f conftest.er1
96902   cat conftest.err >&5
96903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96904   (exit $ac_status); } &&
96905          { ac_try='test -z "$ac_c_werror_flag"
96906                          || test ! -s conftest.err'
96907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96908   (eval $ac_try) 2>&5
96909   ac_status=$?
96910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96911   (exit $ac_status); }; } &&
96912          { ac_try='test -s conftest.$ac_objext'
96913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96914   (eval $ac_try) 2>&5
96915   ac_status=$?
96916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96917   (exit $ac_status); }; }; then
96918   glibcxx_mresult=1
96919 else
96920   echo "$as_me: failed program was:" >&5
96921 sed 's/^/| /' conftest.$ac_ext >&5
96922
96923 glibcxx_mresult=0
96924 fi
96925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96926
96927 cat >>confdefs.h <<_ACEOF
96928 #define HAVE_LIMIT_RSS $glibcxx_mresult
96929 _ACEOF
96930
96931
96932
96933   cat >conftest.$ac_ext <<_ACEOF
96934 /* confdefs.h.  */
96935 _ACEOF
96936 cat confdefs.h >>conftest.$ac_ext
96937 cat >>conftest.$ac_ext <<_ACEOF
96938 /* end confdefs.h.  */
96939 #include <unistd.h>
96940      #include <sys/time.h>
96941      #include <sys/resource.h>
96942
96943 int
96944 main ()
96945 {
96946  int f = RLIMIT_VMEM ;
96947   ;
96948   return 0;
96949 }
96950 _ACEOF
96951 rm -f conftest.$ac_objext
96952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96953   (eval $ac_compile) 2>conftest.er1
96954   ac_status=$?
96955   grep -v '^ *+' conftest.er1 >conftest.err
96956   rm -f conftest.er1
96957   cat conftest.err >&5
96958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96959   (exit $ac_status); } &&
96960          { ac_try='test -z "$ac_c_werror_flag"
96961                          || test ! -s conftest.err'
96962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96963   (eval $ac_try) 2>&5
96964   ac_status=$?
96965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96966   (exit $ac_status); }; } &&
96967          { ac_try='test -s conftest.$ac_objext'
96968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96969   (eval $ac_try) 2>&5
96970   ac_status=$?
96971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96972   (exit $ac_status); }; }; then
96973   glibcxx_mresult=1
96974 else
96975   echo "$as_me: failed program was:" >&5
96976 sed 's/^/| /' conftest.$ac_ext >&5
96977
96978 glibcxx_mresult=0
96979 fi
96980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96981
96982 cat >>confdefs.h <<_ACEOF
96983 #define HAVE_LIMIT_VMEM $glibcxx_mresult
96984 _ACEOF
96985
96986
96987
96988   cat >conftest.$ac_ext <<_ACEOF
96989 /* confdefs.h.  */
96990 _ACEOF
96991 cat confdefs.h >>conftest.$ac_ext
96992 cat >>conftest.$ac_ext <<_ACEOF
96993 /* end confdefs.h.  */
96994 #include <unistd.h>
96995      #include <sys/time.h>
96996      #include <sys/resource.h>
96997
96998 int
96999 main ()
97000 {
97001  int f = RLIMIT_AS ;
97002   ;
97003   return 0;
97004 }
97005 _ACEOF
97006 rm -f conftest.$ac_objext
97007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97008   (eval $ac_compile) 2>conftest.er1
97009   ac_status=$?
97010   grep -v '^ *+' conftest.er1 >conftest.err
97011   rm -f conftest.er1
97012   cat conftest.err >&5
97013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97014   (exit $ac_status); } &&
97015          { ac_try='test -z "$ac_c_werror_flag"
97016                          || test ! -s conftest.err'
97017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97018   (eval $ac_try) 2>&5
97019   ac_status=$?
97020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97021   (exit $ac_status); }; } &&
97022          { ac_try='test -s conftest.$ac_objext'
97023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97024   (eval $ac_try) 2>&5
97025   ac_status=$?
97026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97027   (exit $ac_status); }; }; then
97028   glibcxx_mresult=1
97029 else
97030   echo "$as_me: failed program was:" >&5
97031 sed 's/^/| /' conftest.$ac_ext >&5
97032
97033 glibcxx_mresult=0
97034 fi
97035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97036
97037 cat >>confdefs.h <<_ACEOF
97038 #define HAVE_LIMIT_AS $glibcxx_mresult
97039 _ACEOF
97040
97041
97042
97043   cat >conftest.$ac_ext <<_ACEOF
97044 /* confdefs.h.  */
97045 _ACEOF
97046 cat confdefs.h >>conftest.$ac_ext
97047 cat >>conftest.$ac_ext <<_ACEOF
97048 /* end confdefs.h.  */
97049 #include <unistd.h>
97050      #include <sys/time.h>
97051      #include <sys/resource.h>
97052
97053 int
97054 main ()
97055 {
97056  int f = RLIMIT_FSIZE ;
97057   ;
97058   return 0;
97059 }
97060 _ACEOF
97061 rm -f conftest.$ac_objext
97062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97063   (eval $ac_compile) 2>conftest.er1
97064   ac_status=$?
97065   grep -v '^ *+' conftest.er1 >conftest.err
97066   rm -f conftest.er1
97067   cat conftest.err >&5
97068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97069   (exit $ac_status); } &&
97070          { ac_try='test -z "$ac_c_werror_flag"
97071                          || test ! -s conftest.err'
97072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97073   (eval $ac_try) 2>&5
97074   ac_status=$?
97075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97076   (exit $ac_status); }; } &&
97077          { ac_try='test -s conftest.$ac_objext'
97078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97079   (eval $ac_try) 2>&5
97080   ac_status=$?
97081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97082   (exit $ac_status); }; }; then
97083   glibcxx_mresult=1
97084 else
97085   echo "$as_me: failed program was:" >&5
97086 sed 's/^/| /' conftest.$ac_ext >&5
97087
97088 glibcxx_mresult=0
97089 fi
97090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97091
97092 cat >>confdefs.h <<_ACEOF
97093 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
97094 _ACEOF
97095
97096
97097
97098     # Check for rlimit, setrlimit.
97099     if test "${ac_setrlimit+set}" = set; then
97100   echo $ECHO_N "(cached) $ECHO_C" >&6
97101 else
97102
97103       cat >conftest.$ac_ext <<_ACEOF
97104 /* confdefs.h.  */
97105 _ACEOF
97106 cat confdefs.h >>conftest.$ac_ext
97107 cat >>conftest.$ac_ext <<_ACEOF
97108 /* end confdefs.h.  */
97109 #include <unistd.h>
97110          #include <sys/time.h>
97111          #include <sys/resource.h>
97112
97113 int
97114 main ()
97115 {
97116 struct rlimit r;
97117          setrlimit(0, &r);
97118   ;
97119   return 0;
97120 }
97121 _ACEOF
97122 rm -f conftest.$ac_objext
97123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97124   (eval $ac_compile) 2>conftest.er1
97125   ac_status=$?
97126   grep -v '^ *+' conftest.er1 >conftest.err
97127   rm -f conftest.er1
97128   cat conftest.err >&5
97129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97130   (exit $ac_status); } &&
97131          { ac_try='test -z "$ac_c_werror_flag"
97132                          || test ! -s conftest.err'
97133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97134   (eval $ac_try) 2>&5
97135   ac_status=$?
97136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97137   (exit $ac_status); }; } &&
97138          { ac_try='test -s conftest.$ac_objext'
97139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97140   (eval $ac_try) 2>&5
97141   ac_status=$?
97142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97143   (exit $ac_status); }; }; then
97144   ac_setrlimit=yes
97145 else
97146   echo "$as_me: failed program was:" >&5
97147 sed 's/^/| /' conftest.$ac_ext >&5
97148
97149 ac_setrlimit=no
97150 fi
97151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97152
97153 fi
97154
97155   fi
97156
97157   echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
97158 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
97159   if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
97160     ac_res_limits=yes
97161     cat >>confdefs.h <<\_ACEOF
97162 #define _GLIBCXX_RES_LIMITS 1
97163 _ACEOF
97164
97165   else
97166     ac_res_limits=no
97167   fi
97168   echo "$as_me:$LINENO: result: $ac_res_limits" >&5
97169 echo "${ECHO_T}$ac_res_limits" >&6
97170
97171
97172     # Look for setenv, so that extended locale tests can be performed.
97173
97174   echo "$as_me:$LINENO: checking for setenv declaration" >&5
97175 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
97176   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
97177     if test "${glibcxx_cv_func_setenv_use+set}" = set; then
97178   echo $ECHO_N "(cached) $ECHO_C" >&6
97179 else
97180
97181
97182
97183       ac_ext=cc
97184 ac_cpp='$CXXCPP $CPPFLAGS'
97185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97188
97189       cat >conftest.$ac_ext <<_ACEOF
97190 /* confdefs.h.  */
97191 _ACEOF
97192 cat confdefs.h >>conftest.$ac_ext
97193 cat >>conftest.$ac_ext <<_ACEOF
97194 /* end confdefs.h.  */
97195 #include <stdlib.h>
97196 int
97197 main ()
97198 {
97199  setenv(0, 0, 0);
97200   ;
97201   return 0;
97202 }
97203 _ACEOF
97204 rm -f conftest.$ac_objext
97205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97206   (eval $ac_compile) 2>conftest.er1
97207   ac_status=$?
97208   grep -v '^ *+' conftest.er1 >conftest.err
97209   rm -f conftest.er1
97210   cat conftest.err >&5
97211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97212   (exit $ac_status); } &&
97213          { ac_try='test -z "$ac_cxx_werror_flag"
97214                          || test ! -s conftest.err'
97215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97216   (eval $ac_try) 2>&5
97217   ac_status=$?
97218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97219   (exit $ac_status); }; } &&
97220          { ac_try='test -s conftest.$ac_objext'
97221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97222   (eval $ac_try) 2>&5
97223   ac_status=$?
97224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97225   (exit $ac_status); }; }; then
97226   glibcxx_cv_func_setenv_use=yes
97227 else
97228   echo "$as_me: failed program was:" >&5
97229 sed 's/^/| /' conftest.$ac_ext >&5
97230
97231 glibcxx_cv_func_setenv_use=no
97232 fi
97233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97234       ac_ext=c
97235 ac_cpp='$CPP $CPPFLAGS'
97236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97239
97240
97241 fi
97242
97243   fi
97244   echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
97245 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
97246   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
97247
97248 for ac_func in setenv
97249 do
97250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97251 echo "$as_me:$LINENO: checking for $ac_func" >&5
97252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97253 if eval "test \"\${$as_ac_var+set}\" = set"; then
97254   echo $ECHO_N "(cached) $ECHO_C" >&6
97255 else
97256   if test x$gcc_no_link = xyes; then
97257   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97259    { (exit 1); exit 1; }; }
97260 fi
97261 cat >conftest.$ac_ext <<_ACEOF
97262 /* confdefs.h.  */
97263 _ACEOF
97264 cat confdefs.h >>conftest.$ac_ext
97265 cat >>conftest.$ac_ext <<_ACEOF
97266 /* end confdefs.h.  */
97267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97268    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97269 #define $ac_func innocuous_$ac_func
97270
97271 /* System header to define __stub macros and hopefully few prototypes,
97272     which can conflict with char $ac_func (); below.
97273     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97274     <limits.h> exists even on freestanding compilers.  */
97275
97276 #ifdef __STDC__
97277 # include <limits.h>
97278 #else
97279 # include <assert.h>
97280 #endif
97281
97282 #undef $ac_func
97283
97284 /* Override any gcc2 internal prototype to avoid an error.  */
97285 #ifdef __cplusplus
97286 extern "C"
97287 {
97288 #endif
97289 /* We use char because int might match the return type of a gcc2
97290    builtin and then its argument prototype would still apply.  */
97291 char $ac_func ();
97292 /* The GNU C library defines this for functions which it implements
97293     to always fail with ENOSYS.  Some functions are actually named
97294     something starting with __ and the normal name is an alias.  */
97295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97296 choke me
97297 #else
97298 char (*f) () = $ac_func;
97299 #endif
97300 #ifdef __cplusplus
97301 }
97302 #endif
97303
97304 int
97305 main ()
97306 {
97307 return f != $ac_func;
97308   ;
97309   return 0;
97310 }
97311 _ACEOF
97312 rm -f conftest.$ac_objext conftest$ac_exeext
97313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97314   (eval $ac_link) 2>conftest.er1
97315   ac_status=$?
97316   grep -v '^ *+' conftest.er1 >conftest.err
97317   rm -f conftest.er1
97318   cat conftest.err >&5
97319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97320   (exit $ac_status); } &&
97321          { ac_try='test -z "$ac_c_werror_flag"
97322                          || test ! -s conftest.err'
97323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97324   (eval $ac_try) 2>&5
97325   ac_status=$?
97326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97327   (exit $ac_status); }; } &&
97328          { ac_try='test -s conftest$ac_exeext'
97329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97330   (eval $ac_try) 2>&5
97331   ac_status=$?
97332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97333   (exit $ac_status); }; }; then
97334   eval "$as_ac_var=yes"
97335 else
97336   echo "$as_me: failed program was:" >&5
97337 sed 's/^/| /' conftest.$ac_ext >&5
97338
97339 eval "$as_ac_var=no"
97340 fi
97341 rm -f conftest.err conftest.$ac_objext \
97342       conftest$ac_exeext conftest.$ac_ext
97343 fi
97344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97346 if test `eval echo '${'$as_ac_var'}'` = yes; then
97347   cat >>confdefs.h <<_ACEOF
97348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97349 _ACEOF
97350
97351 fi
97352 done
97353
97354   fi
97355
97356
97357     if test $enable_symvers = no; then
97358       enable_abi_check=no
97359     else
97360       case "$host" in
97361         *-*-cygwin*)
97362           enable_abi_check=no ;;
97363         *)
97364           enable_abi_check=yes ;;
97365       esac
97366     fi
97367   else
97368     # Only build this as native, since automake does not understand
97369     # CXX_FOR_BUILD.
97370     enable_abi_check=no
97371   fi
97372
97373   # Export file names for ABI checking.
97374   baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
97375
97376
97377
97378
97379
97380
97381
97382 # Propagate the target-specific source directories through the build chain.
97383 ATOMICITY_SRCDIR=config/${atomicity_dir}
97384 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
97385 OS_INC_SRCDIR=config/${os_include_dir}
97386 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
97387
97388
97389
97390
97391
97392 # Determine cross-compile flags and AM_CONDITIONALs.
97393 #AC_SUBST(GLIBCXX_IS_NATIVE)
97394 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
97395 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
97396 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH,  test $need_libmath = yes)
97397
97398
97399 if test $is_hosted = yes; then
97400   GLIBCXX_HOSTED_TRUE=
97401   GLIBCXX_HOSTED_FALSE='#'
97402 else
97403   GLIBCXX_HOSTED_TRUE='#'
97404   GLIBCXX_HOSTED_FALSE=
97405 fi
97406
97407
97408
97409
97410 if test $enable_libstdcxx_pch = yes; then
97411   GLIBCXX_BUILD_PCH_TRUE=
97412   GLIBCXX_BUILD_PCH_FALSE='#'
97413 else
97414   GLIBCXX_BUILD_PCH_TRUE='#'
97415   GLIBCXX_BUILD_PCH_FALSE=
97416 fi
97417
97418
97419
97420
97421 if test $enable_cheaders = c; then
97422   GLIBCXX_C_HEADERS_C_TRUE=
97423   GLIBCXX_C_HEADERS_C_FALSE='#'
97424 else
97425   GLIBCXX_C_HEADERS_C_TRUE='#'
97426   GLIBCXX_C_HEADERS_C_FALSE=
97427 fi
97428
97429
97430
97431
97432 if test $enable_cheaders = c_std; then
97433   GLIBCXX_C_HEADERS_C_STD_TRUE=
97434   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
97435 else
97436   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
97437   GLIBCXX_C_HEADERS_C_STD_FALSE=
97438 fi
97439
97440
97441
97442
97443 if test $c_compatibility = yes; then
97444   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
97445   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
97446 else
97447   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
97448   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
97449 fi
97450
97451
97452
97453
97454 if test $enable_libstdcxx_debug = yes; then
97455   GLIBCXX_BUILD_DEBUG_TRUE=
97456   GLIBCXX_BUILD_DEBUG_FALSE='#'
97457 else
97458   GLIBCXX_BUILD_DEBUG_TRUE='#'
97459   GLIBCXX_BUILD_DEBUG_FALSE=
97460 fi
97461
97462
97463
97464
97465 if test $enable_symvers != no; then
97466   GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
97467   GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
97468 else
97469   GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
97470   GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
97471 fi
97472
97473
97474
97475
97476 if test $enable_wchar_t = yes; then
97477   GLIBCXX_TEST_WCHAR_T_TRUE=
97478   GLIBCXX_TEST_WCHAR_T_FALSE='#'
97479 else
97480   GLIBCXX_TEST_WCHAR_T_TRUE='#'
97481   GLIBCXX_TEST_WCHAR_T_FALSE=
97482 fi
97483
97484
97485
97486
97487 if test $enable_thread = yes; then
97488   GLIBCXX_TEST_THREAD_TRUE=
97489   GLIBCXX_TEST_THREAD_FALSE='#'
97490 else
97491   GLIBCXX_TEST_THREAD_TRUE='#'
97492   GLIBCXX_TEST_THREAD_FALSE=
97493 fi
97494
97495
97496
97497
97498 if test $enable_abi_check = yes; then
97499   GLIBCXX_TEST_ABI_TRUE=
97500   GLIBCXX_TEST_ABI_FALSE='#'
97501 else
97502   GLIBCXX_TEST_ABI_TRUE='#'
97503   GLIBCXX_TEST_ABI_FALSE=
97504 fi
97505
97506
97507
97508
97509 cat >confcache <<\_ACEOF
97510 # This file is a shell script that caches the results of configure
97511 # tests run on this system so they can be shared between configure
97512 # scripts and configure runs, see configure's option --config-cache.
97513 # It is not useful on other systems.  If it contains results you don't
97514 # want to keep, you may remove or edit it.
97515 #
97516 # config.status only pays attention to the cache file if you give it
97517 # the --recheck option to rerun configure.
97518 #
97519 # `ac_cv_env_foo' variables (set or unset) will be overridden when
97520 # loading this file, other *unset* `ac_cv_foo' will be assigned the
97521 # following values.
97522
97523 _ACEOF
97524
97525 # The following way of writing the cache mishandles newlines in values,
97526 # but we know of no workaround that is simple, portable, and efficient.
97527 # So, don't put newlines in cache variables' values.
97528 # Ultrix sh set writes to stderr and can't be redirected directly,
97529 # and sets the high bit in the cache file unless we assign to the vars.
97530 {
97531   (set) 2>&1 |
97532     case `(ac_space=' '; set | grep ac_space) 2>&1` in
97533     *ac_space=\ *)
97534       # `set' does not quote correctly, so add quotes (double-quote
97535       # substitution turns \\\\ into \\, and sed turns \\ into \).
97536       sed -n \
97537         "s/'/'\\\\''/g;
97538           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
97539       ;;
97540     *)
97541       # `set' quotes correctly as required by POSIX, so do not add quotes.
97542       sed -n \
97543         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
97544       ;;
97545     esac;
97546 } |
97547   sed '
97548      t clear
97549      : clear
97550      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
97551      t end
97552      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
97553      : end' >>confcache
97554 if diff $cache_file confcache >/dev/null 2>&1; then :; else
97555   if test -w $cache_file; then
97556     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
97557     cat confcache >$cache_file
97558   else
97559     echo "not updating unwritable cache $cache_file"
97560   fi
97561 fi
97562 rm -f confcache
97563
97564 if test ${multilib} = yes; then
97565   multilib_arg="--enable-multilib"
97566 else
97567   multilib_arg=
97568 fi
97569
97570 # Export all the install information.
97571
97572   glibcxx_toolexecdir=no
97573   glibcxx_toolexeclibdir=no
97574   glibcxx_prefixdir=$prefix
97575
97576   echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
97577 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
97578
97579 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
97580 if test "${with_gxx_include_dir+set}" = set; then
97581   withval="$with_gxx_include_dir"
97582   case "$withval" in
97583       yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
97584 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
97585    { (exit 1); exit 1; }; } ;;
97586       no)  gxx_include_dir=no ;;
97587       *)   gxx_include_dir=$withval ;;
97588      esac
97589 else
97590   gxx_include_dir=no
97591 fi;
97592   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
97593 echo "${ECHO_T}$gxx_include_dir" >&6
97594
97595   echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
97596 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
97597   # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
97598 if test "${enable_version_specific_runtime_libs+set}" = set; then
97599   enableval="$enable_version_specific_runtime_libs"
97600   case "$enableval" in
97601       yes) version_specific_libs=yes ;;
97602       no)  version_specific_libs=no ;;
97603       *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
97604 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
97605    { (exit 1); exit 1; }; };;
97606      esac
97607 else
97608   version_specific_libs=no
97609 fi;
97610   echo "$as_me:$LINENO: result: $version_specific_libs" >&5
97611 echo "${ECHO_T}$version_specific_libs" >&6
97612
97613   # Default case for install directory for include files.
97614   if test $version_specific_libs = no && test $gxx_include_dir = no; then
97615     gxx_include_dir='${prefix}'/include/c++/${gcc_version}
97616   fi
97617
97618   # Version-specific runtime libs processing.
97619   if test $version_specific_libs = yes; then
97620     # Need the gcc compiler version to know where to install libraries
97621     # and header files if --enable-version-specific-runtime-libs option
97622     # is selected.  FIXME: these variables are misnamed, there are
97623     # no executables installed in _toolexecdir or _toolexeclibdir.
97624     if test x"$gxx_include_dir" = x"no"; then
97625       gxx_include_dir='${libdir}/gcc/${host_alias}/'$gcc_version/include/c++
97626     fi
97627     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
97628     glibcxx_toolexeclibdir='${toolexecdir}/'$gcc_version'$(MULTISUBDIR)'
97629   fi
97630
97631   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
97632   # Install a library built with a cross compiler in tooldir, not libdir.
97633   if test x"$glibcxx_toolexecdir" = x"no"; then
97634     if test -n "$with_cross_host" &&
97635        test x"$with_cross_host" != x"no"; then
97636       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
97637       glibcxx_toolexeclibdir='${toolexecdir}/lib'
97638     else
97639       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
97640       glibcxx_toolexeclibdir='${libdir}'
97641     fi
97642     multi_os_directory=`$CXX -print-multi-os-directory`
97643     case $multi_os_directory in
97644       .) ;; # Avoid trailing /.
97645       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
97646     esac
97647   fi
97648
97649   echo "$as_me:$LINENO: checking for install location" >&5
97650 echo $ECHO_N "checking for install location... $ECHO_C" >&6
97651   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
97652 echo "${ECHO_T}$gxx_include_dir" >&6
97653
97654
97655
97656
97657
97658
97659
97660 # Export all the include and flag information to Makefiles.
97661
97662   # Used for every C++ compile we perform.
97663   GLIBCXX_INCLUDES="\
97664 -I$glibcxx_builddir/include/$host_alias \
97665 -I$glibcxx_builddir/include \
97666 -I$glibcxx_srcdir/libsupc++"
97667
97668   # For Canadian crosses, pick this up too.
97669   if test $CANADIAN = yes; then
97670     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
97671   fi
97672
97673   # Stuff in the actual top level.  Currently only used by libsupc++ to
97674   # get unwind* headers from the gcc dir.
97675   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
97676   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
97677
97678   # Now, export this to all the little Makefiles....
97679
97680
97681
97682
97683   # Optimization flags that are probably a good idea for thrill-seekers. Just
97684   # uncomment the lines below and make, everything else is ready to go...
97685   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
97686   OPTIMIZE_CXXFLAGS=
97687
97688
97689   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
97690
97691
97692
97693 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
97694    grep "enable shared" > /dev/null;
97695 then
97696   LIBSUPCXX_PICFLAGS=-prefer-pic
97697 else
97698   LIBSUPCXX_PICFLAGS=
97699 fi
97700
97701
97702                                                                       ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
97703
97704           ac_config_files="$ac_config_files scripts/check_survey"
97705
97706           ac_config_files="$ac_config_files scripts/testsuite_flags"
97707
97708
97709           ac_config_commands="$ac_config_commands default"
97710
97711
97712 cat >confcache <<\_ACEOF
97713 # This file is a shell script that caches the results of configure
97714 # tests run on this system so they can be shared between configure
97715 # scripts and configure runs, see configure's option --config-cache.
97716 # It is not useful on other systems.  If it contains results you don't
97717 # want to keep, you may remove or edit it.
97718 #
97719 # config.status only pays attention to the cache file if you give it
97720 # the --recheck option to rerun configure.
97721 #
97722 # `ac_cv_env_foo' variables (set or unset) will be overridden when
97723 # loading this file, other *unset* `ac_cv_foo' will be assigned the
97724 # following values.
97725
97726 _ACEOF
97727
97728 # The following way of writing the cache mishandles newlines in values,
97729 # but we know of no workaround that is simple, portable, and efficient.
97730 # So, don't put newlines in cache variables' values.
97731 # Ultrix sh set writes to stderr and can't be redirected directly,
97732 # and sets the high bit in the cache file unless we assign to the vars.
97733 {
97734   (set) 2>&1 |
97735     case `(ac_space=' '; set | grep ac_space) 2>&1` in
97736     *ac_space=\ *)
97737       # `set' does not quote correctly, so add quotes (double-quote
97738       # substitution turns \\\\ into \\, and sed turns \\ into \).
97739       sed -n \
97740         "s/'/'\\\\''/g;
97741           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
97742       ;;
97743     *)
97744       # `set' quotes correctly as required by POSIX, so do not add quotes.
97745       sed -n \
97746         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
97747       ;;
97748     esac;
97749 } |
97750   sed '
97751      t clear
97752      : clear
97753      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
97754      t end
97755      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
97756      : end' >>confcache
97757 if diff $cache_file confcache >/dev/null 2>&1; then :; else
97758   if test -w $cache_file; then
97759     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
97760     cat confcache >$cache_file
97761   else
97762     echo "not updating unwritable cache $cache_file"
97763   fi
97764 fi
97765 rm -f confcache
97766
97767 test "x$prefix" = xNONE && prefix=$ac_default_prefix
97768 # Let make expand exec_prefix.
97769 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
97770
97771 # VPATH may cause trouble with some makes, so we remove $(srcdir),
97772 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
97773 # trailing colons and then remove the whole line if VPATH becomes empty
97774 # (actually we leave an empty line to preserve line numbers).
97775 if test "x$srcdir" = x.; then
97776   ac_vpsub='/^[  ]*VPATH[        ]*=/{
97777 s/:*\$(srcdir):*/:/;
97778 s/:*\${srcdir}:*/:/;
97779 s/:*@srcdir@:*/:/;
97780 s/^\([^=]*=[     ]*\):*/\1/;
97781 s/:*$//;
97782 s/^[^=]*=[       ]*$//;
97783 }'
97784 fi
97785
97786 DEFS=-DHAVE_CONFIG_H
97787
97788 ac_libobjs=
97789 ac_ltlibobjs=
97790 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
97791   # 1. Remove the extension, and $U if already installed.
97792   ac_i=`echo "$ac_i" |
97793          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
97794   # 2. Add them.
97795   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
97796   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
97797 done
97798 LIBOBJS=$ac_libobjs
97799
97800 LTLIBOBJS=$ac_ltlibobjs
97801
97802
97803 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
97804   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
97805 Usually this means the macro was only invoked conditionally." >&5
97806 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
97807 Usually this means the macro was only invoked conditionally." >&2;}
97808    { (exit 1); exit 1; }; }
97809 fi
97810 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
97811   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
97812 Usually this means the macro was only invoked conditionally." >&5
97813 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
97814 Usually this means the macro was only invoked conditionally." >&2;}
97815    { (exit 1); exit 1; }; }
97816 fi
97817 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
97818   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
97819 Usually this means the macro was only invoked conditionally." >&5
97820 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
97821 Usually this means the macro was only invoked conditionally." >&2;}
97822    { (exit 1); exit 1; }; }
97823 fi
97824 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
97825   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
97826 Usually this means the macro was only invoked conditionally." >&5
97827 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
97828 Usually this means the macro was only invoked conditionally." >&2;}
97829    { (exit 1); exit 1; }; }
97830 fi
97831 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
97832   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
97833 Usually this means the macro was only invoked conditionally." >&5
97834 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
97835 Usually this means the macro was only invoked conditionally." >&2;}
97836    { (exit 1); exit 1; }; }
97837 fi
97838 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
97839   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
97840 Usually this means the macro was only invoked conditionally." >&5
97841 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
97842 Usually this means the macro was only invoked conditionally." >&2;}
97843    { (exit 1); exit 1; }; }
97844 fi
97845 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
97846   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
97847 Usually this means the macro was only invoked conditionally." >&5
97848 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
97849 Usually this means the macro was only invoked conditionally." >&2;}
97850    { (exit 1); exit 1; }; }
97851 fi
97852 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
97853   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
97854 Usually this means the macro was only invoked conditionally." >&5
97855 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
97856 Usually this means the macro was only invoked conditionally." >&2;}
97857    { (exit 1); exit 1; }; }
97858 fi
97859 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
97860   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
97861 Usually this means the macro was only invoked conditionally." >&5
97862 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
97863 Usually this means the macro was only invoked conditionally." >&2;}
97864    { (exit 1); exit 1; }; }
97865 fi
97866 if test -z "${GLIBCXX_TEST_THREAD_TRUE}" && test -z "${GLIBCXX_TEST_THREAD_FALSE}"; then
97867   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_THREAD\" was never defined.
97868 Usually this means the macro was only invoked conditionally." >&5
97869 echo "$as_me: error: conditional \"GLIBCXX_TEST_THREAD\" was never defined.
97870 Usually this means the macro was only invoked conditionally." >&2;}
97871    { (exit 1); exit 1; }; }
97872 fi
97873 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
97874   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
97875 Usually this means the macro was only invoked conditionally." >&5
97876 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
97877 Usually this means the macro was only invoked conditionally." >&2;}
97878    { (exit 1); exit 1; }; }
97879 fi
97880
97881 : ${CONFIG_STATUS=./config.status}
97882 ac_clean_files_save=$ac_clean_files
97883 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
97884 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
97885 echo "$as_me: creating $CONFIG_STATUS" >&6;}
97886 cat >$CONFIG_STATUS <<_ACEOF
97887 #! $SHELL
97888 # Generated by $as_me.
97889 # Run this file to recreate the current configuration.
97890 # Compiler output produced by configure, useful for debugging
97891 # configure, is in config.log if it exists.
97892
97893 debug=false
97894 ac_cs_recheck=false
97895 ac_cs_silent=false
97896 SHELL=\${CONFIG_SHELL-$SHELL}
97897 _ACEOF
97898
97899 cat >>$CONFIG_STATUS <<\_ACEOF
97900 ## --------------------- ##
97901 ## M4sh Initialization.  ##
97902 ## --------------------- ##
97903
97904 # Be Bourne compatible
97905 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
97906   emulate sh
97907   NULLCMD=:
97908   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
97909   # is contrary to our usage.  Disable this feature.
97910   alias -g '${1+"$@"}'='"$@"'
97911 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
97912   set -o posix
97913 fi
97914 DUALCASE=1; export DUALCASE # for MKS sh
97915
97916 # Support unset when possible.
97917 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
97918   as_unset=unset
97919 else
97920   as_unset=false
97921 fi
97922
97923
97924 # Work around bugs in pre-3.0 UWIN ksh.
97925 $as_unset ENV MAIL MAILPATH
97926 PS1='$ '
97927 PS2='> '
97928 PS4='+ '
97929
97930 # NLS nuisances.
97931 for as_var in \
97932   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
97933   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
97934   LC_TELEPHONE LC_TIME
97935 do
97936   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
97937     eval $as_var=C; export $as_var
97938   else
97939     $as_unset $as_var
97940   fi
97941 done
97942
97943 # Required to use basename.
97944 if expr a : '\(a\)' >/dev/null 2>&1; then
97945   as_expr=expr
97946 else
97947   as_expr=false
97948 fi
97949
97950 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
97951   as_basename=basename
97952 else
97953   as_basename=false
97954 fi
97955
97956
97957 # Name of the executable.
97958 as_me=`$as_basename "$0" ||
97959 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
97960          X"$0" : 'X\(//\)$' \| \
97961          X"$0" : 'X\(/\)$' \| \
97962          .     : '\(.\)' 2>/dev/null ||
97963 echo X/"$0" |
97964     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
97965           /^X\/\(\/\/\)$/{ s//\1/; q; }
97966           /^X\/\(\/\).*/{ s//\1/; q; }
97967           s/.*/./; q'`
97968
97969
97970 # PATH needs CR, and LINENO needs CR and PATH.
97971 # Avoid depending upon Character Ranges.
97972 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
97973 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
97974 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
97975 as_cr_digits='0123456789'
97976 as_cr_alnum=$as_cr_Letters$as_cr_digits
97977
97978 # The user is always right.
97979 if test "${PATH_SEPARATOR+set}" != set; then
97980   echo "#! /bin/sh" >conf$$.sh
97981   echo  "exit 0"   >>conf$$.sh
97982   chmod +x conf$$.sh
97983   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
97984     PATH_SEPARATOR=';'
97985   else
97986     PATH_SEPARATOR=:
97987   fi
97988   rm -f conf$$.sh
97989 fi
97990
97991
97992   as_lineno_1=$LINENO
97993   as_lineno_2=$LINENO
97994   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
97995   test "x$as_lineno_1" != "x$as_lineno_2" &&
97996   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
97997   # Find who we are.  Look in the path if we contain no path at all
97998   # relative or not.
97999   case $0 in
98000     *[\\/]* ) as_myself=$0 ;;
98001     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98002 for as_dir in $PATH
98003 do
98004   IFS=$as_save_IFS
98005   test -z "$as_dir" && as_dir=.
98006   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98007 done
98008
98009        ;;
98010   esac
98011   # We did not find ourselves, most probably we were run as `sh COMMAND'
98012   # in which case we are not to be found in the path.
98013   if test "x$as_myself" = x; then
98014     as_myself=$0
98015   fi
98016   if test ! -f "$as_myself"; then
98017     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
98018 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
98019    { (exit 1); exit 1; }; }
98020   fi
98021   case $CONFIG_SHELL in
98022   '')
98023     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98024 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
98025 do
98026   IFS=$as_save_IFS
98027   test -z "$as_dir" && as_dir=.
98028   for as_base in sh bash ksh sh5; do
98029          case $as_dir in
98030          /*)
98031            if ("$as_dir/$as_base" -c '
98032   as_lineno_1=$LINENO
98033   as_lineno_2=$LINENO
98034   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
98035   test "x$as_lineno_1" != "x$as_lineno_2" &&
98036   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
98037              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
98038              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
98039              CONFIG_SHELL=$as_dir/$as_base
98040              export CONFIG_SHELL
98041              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
98042            fi;;
98043          esac
98044        done
98045 done
98046 ;;
98047   esac
98048
98049   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
98050   # uniformly replaced by the line number.  The first 'sed' inserts a
98051   # line-number line before each line; the second 'sed' does the real
98052   # work.  The second script uses 'N' to pair each line-number line
98053   # with the numbered line, and appends trailing '-' during
98054   # substitution so that $LINENO is not a special case at line end.
98055   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
98056   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
98057   sed '=' <$as_myself |
98058     sed '
98059       N
98060       s,$,-,
98061       : loop
98062       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
98063       t loop
98064       s,-$,,
98065       s,^['$as_cr_digits']*\n,,
98066     ' >$as_me.lineno &&
98067   chmod +x $as_me.lineno ||
98068     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
98069 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
98070    { (exit 1); exit 1; }; }
98071
98072   # Don't try to exec as it changes $[0], causing all sort of problems
98073   # (the dirname of $[0] is not the place where we might find the
98074   # original and so on.  Autoconf is especially sensible to this).
98075   . ./$as_me.lineno
98076   # Exit status is that of the last command.
98077   exit
98078 }
98079
98080
98081 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
98082   *c*,-n*) ECHO_N= ECHO_C='
98083 ' ECHO_T='      ' ;;
98084   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
98085   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
98086 esac
98087
98088 if expr a : '\(a\)' >/dev/null 2>&1; then
98089   as_expr=expr
98090 else
98091   as_expr=false
98092 fi
98093
98094 rm -f conf$$ conf$$.exe conf$$.file
98095 echo >conf$$.file
98096 if ln -s conf$$.file conf$$ 2>/dev/null; then
98097   # We could just check for DJGPP; but this test a) works b) is more generic
98098   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
98099   if test -f conf$$.exe; then
98100     # Don't use ln at all; we don't have any links
98101     as_ln_s='cp -p'
98102   else
98103     as_ln_s='ln -s'
98104   fi
98105 elif ln conf$$.file conf$$ 2>/dev/null; then
98106   as_ln_s=ln
98107 else
98108   as_ln_s='cp -p'
98109 fi
98110 rm -f conf$$ conf$$.exe conf$$.file
98111
98112 if mkdir -p . 2>/dev/null; then
98113   as_mkdir_p=:
98114 else
98115   test -d ./-p && rmdir ./-p
98116   as_mkdir_p=false
98117 fi
98118
98119 as_executable_p="test -f"
98120
98121 # Sed expression to map a string onto a valid CPP name.
98122 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
98123
98124 # Sed expression to map a string onto a valid variable name.
98125 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
98126
98127
98128 # IFS
98129 # We need space, tab and new line, in precisely that order.
98130 as_nl='
98131 '
98132 IFS="   $as_nl"
98133
98134 # CDPATH.
98135 $as_unset CDPATH
98136
98137 exec 6>&1
98138
98139 # Open the log real soon, to keep \$[0] and so on meaningful, and to
98140 # report actual input values of CONFIG_FILES etc. instead of their
98141 # values after options handling.  Logging --version etc. is OK.
98142 exec 5>>config.log
98143 {
98144   echo
98145   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
98146 ## Running $as_me. ##
98147 _ASBOX
98148 } >&5
98149 cat >&5 <<_CSEOF
98150
98151 This file was extended by package-unused $as_me version-unused, which was
98152 generated by GNU Autoconf 2.59.  Invocation command line was
98153
98154   CONFIG_FILES    = $CONFIG_FILES
98155   CONFIG_HEADERS  = $CONFIG_HEADERS
98156   CONFIG_LINKS    = $CONFIG_LINKS
98157   CONFIG_COMMANDS = $CONFIG_COMMANDS
98158   $ $0 $@
98159
98160 _CSEOF
98161 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
98162 echo >&5
98163 _ACEOF
98164
98165 # Files that config.status was made for.
98166 if test -n "$ac_config_files"; then
98167   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
98168 fi
98169
98170 if test -n "$ac_config_headers"; then
98171   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
98172 fi
98173
98174 if test -n "$ac_config_links"; then
98175   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
98176 fi
98177
98178 if test -n "$ac_config_commands"; then
98179   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
98180 fi
98181
98182 cat >>$CONFIG_STATUS <<\_ACEOF
98183
98184 ac_cs_usage="\
98185 \`$as_me' instantiates files from templates according to the
98186 current configuration.
98187
98188 Usage: $0 [OPTIONS] [FILE]...
98189
98190   -h, --help       print this help, then exit
98191   -V, --version    print version number, then exit
98192   -q, --quiet      do not print progress messages
98193   -d, --debug      don't remove temporary files
98194       --recheck    update $as_me by reconfiguring in the same conditions
98195   --file=FILE[:TEMPLATE]
98196                    instantiate the configuration file FILE
98197   --header=FILE[:TEMPLATE]
98198                    instantiate the configuration header FILE
98199
98200 Configuration files:
98201 $config_files
98202
98203 Configuration headers:
98204 $config_headers
98205
98206 Configuration commands:
98207 $config_commands
98208
98209 Report bugs to <bug-autoconf@gnu.org>."
98210 _ACEOF
98211
98212 cat >>$CONFIG_STATUS <<_ACEOF
98213 ac_cs_version="\\
98214 package-unused config.status version-unused
98215 configured by $0, generated by GNU Autoconf 2.59,
98216   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
98217
98218 Copyright (C) 2003 Free Software Foundation, Inc.
98219 This config.status script is free software; the Free Software Foundation
98220 gives unlimited permission to copy, distribute and modify it."
98221 srcdir=$srcdir
98222 INSTALL="$INSTALL"
98223 _ACEOF
98224
98225 cat >>$CONFIG_STATUS <<\_ACEOF
98226 # If no file are specified by the user, then we need to provide default
98227 # value.  By we need to know if files were specified by the user.
98228 ac_need_defaults=:
98229 while test $# != 0
98230 do
98231   case $1 in
98232   --*=*)
98233     ac_option=`expr "x$1" : 'x\([^=]*\)='`
98234     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
98235     ac_shift=:
98236     ;;
98237   -*)
98238     ac_option=$1
98239     ac_optarg=$2
98240     ac_shift=shift
98241     ;;
98242   *) # This is not an option, so the user has probably given explicit
98243      # arguments.
98244      ac_option=$1
98245      ac_need_defaults=false;;
98246   esac
98247
98248   case $ac_option in
98249   # Handling of the options.
98250 _ACEOF
98251 cat >>$CONFIG_STATUS <<\_ACEOF
98252   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
98253     ac_cs_recheck=: ;;
98254   --version | --vers* | -V )
98255     echo "$ac_cs_version"; exit 0 ;;
98256   --he | --h)
98257     # Conflict between --help and --header
98258     { { echo "$as_me:$LINENO: error: ambiguous option: $1
98259 Try \`$0 --help' for more information." >&5
98260 echo "$as_me: error: ambiguous option: $1
98261 Try \`$0 --help' for more information." >&2;}
98262    { (exit 1); exit 1; }; };;
98263   --help | --hel | -h )
98264     echo "$ac_cs_usage"; exit 0 ;;
98265   --debug | --d* | -d )
98266     debug=: ;;
98267   --file | --fil | --fi | --f )
98268     $ac_shift
98269     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
98270     ac_need_defaults=false;;
98271   --header | --heade | --head | --hea )
98272     $ac_shift
98273     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
98274     ac_need_defaults=false;;
98275   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
98276   | -silent | --silent | --silen | --sile | --sil | --si | --s)
98277     ac_cs_silent=: ;;
98278
98279   # This is an error.
98280   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
98281 Try \`$0 --help' for more information." >&5
98282 echo "$as_me: error: unrecognized option: $1
98283 Try \`$0 --help' for more information." >&2;}
98284    { (exit 1); exit 1; }; } ;;
98285
98286   *) ac_config_targets="$ac_config_targets $1" ;;
98287
98288   esac
98289   shift
98290 done
98291
98292 ac_configure_extra_args=
98293
98294 if $ac_cs_silent; then
98295   exec 6>/dev/null
98296   ac_configure_extra_args="$ac_configure_extra_args --silent"
98297 fi
98298
98299 _ACEOF
98300 cat >>$CONFIG_STATUS <<_ACEOF
98301 if \$ac_cs_recheck; then
98302   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
98303   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
98304 fi
98305
98306 _ACEOF
98307
98308 cat >>$CONFIG_STATUS <<_ACEOF
98309 #
98310 # INIT-COMMANDS section.
98311 #
98312
98313
98314 srcdir="$srcdir"
98315 host="$host"
98316 target="$target"
98317 with_multisubdir="$with_multisubdir"
98318 with_multisrctop="$with_multisrctop"
98319 with_target_subdir="$with_target_subdir"
98320 ac_configure_args="${multilib_arg} ${ac_configure_args}"
98321 multi_basedir="$multi_basedir"
98322 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
98323 CC="$CC"
98324
98325 # Variables needed in config.status (file generation) which aren't already
98326 # passed by autoconf.
98327 SUBDIRS="$SUBDIRS"
98328
98329
98330 _ACEOF
98331
98332
98333
98334 cat >>$CONFIG_STATUS <<\_ACEOF
98335 for ac_config_target in $ac_config_targets
98336 do
98337   case "$ac_config_target" in
98338   # Handling of arguments.
98339   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
98340   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
98341   "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
98342   "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
98343   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
98344   "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
98345   "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
98346   "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
98347   "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
98348   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
98349   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
98350   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
98351   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
98352 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
98353    { (exit 1); exit 1; }; };;
98354   esac
98355 done
98356
98357 # If the user did not use the arguments to specify the items to instantiate,
98358 # then the envvar interface is used.  Set only those that are not.
98359 # We use the long form for the default assignment because of an extremely
98360 # bizarre bug on SunOS 4.1.3.
98361 if $ac_need_defaults; then
98362   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
98363   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
98364   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
98365 fi
98366
98367 # Have a temporary directory for convenience.  Make it in the build tree
98368 # simply because there is no reason to put it here, and in addition,
98369 # creating and moving files from /tmp can sometimes cause problems.
98370 # Create a temporary directory, and hook for its removal unless debugging.
98371 $debug ||
98372 {
98373   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
98374   trap '{ (exit 1); exit 1; }' 1 2 13 15
98375 }
98376
98377 # Create a (secure) tmp directory for tmp files.
98378
98379 {
98380   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
98381   test -n "$tmp" && test -d "$tmp"
98382 }  ||
98383 {
98384   tmp=./confstat$$-$RANDOM
98385   (umask 077 && mkdir $tmp)
98386 } ||
98387 {
98388    echo "$me: cannot create a temporary directory in ." >&2
98389    { (exit 1); exit 1; }
98390 }
98391
98392 _ACEOF
98393
98394 cat >>$CONFIG_STATUS <<_ACEOF
98395
98396 #
98397 # CONFIG_FILES section.
98398 #
98399
98400 # No need to generate the scripts if there are no CONFIG_FILES.
98401 # This happens for instance when ./config.status config.h
98402 if test -n "\$CONFIG_FILES"; then
98403   # Protect against being on the right side of a sed subst in config.status.
98404   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
98405    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
98406 s,@SHELL@,$SHELL,;t t
98407 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
98408 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
98409 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
98410 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
98411 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
98412 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
98413 s,@exec_prefix@,$exec_prefix,;t t
98414 s,@prefix@,$prefix,;t t
98415 s,@program_transform_name@,$program_transform_name,;t t
98416 s,@bindir@,$bindir,;t t
98417 s,@sbindir@,$sbindir,;t t
98418 s,@libexecdir@,$libexecdir,;t t
98419 s,@datadir@,$datadir,;t t
98420 s,@sysconfdir@,$sysconfdir,;t t
98421 s,@sharedstatedir@,$sharedstatedir,;t t
98422 s,@localstatedir@,$localstatedir,;t t
98423 s,@libdir@,$libdir,;t t
98424 s,@includedir@,$includedir,;t t
98425 s,@oldincludedir@,$oldincludedir,;t t
98426 s,@infodir@,$infodir,;t t
98427 s,@mandir@,$mandir,;t t
98428 s,@build_alias@,$build_alias,;t t
98429 s,@host_alias@,$host_alias,;t t
98430 s,@target_alias@,$target_alias,;t t
98431 s,@DEFS@,$DEFS,;t t
98432 s,@ECHO_C@,$ECHO_C,;t t
98433 s,@ECHO_N@,$ECHO_N,;t t
98434 s,@ECHO_T@,$ECHO_T,;t t
98435 s,@LIBS@,$LIBS,;t t
98436 s,@libtool_VERSION@,$libtool_VERSION,;t t
98437 s,@multi_basedir@,$multi_basedir,;t t
98438 s,@build@,$build,;t t
98439 s,@build_cpu@,$build_cpu,;t t
98440 s,@build_vendor@,$build_vendor,;t t
98441 s,@build_os@,$build_os,;t t
98442 s,@host@,$host,;t t
98443 s,@host_cpu@,$host_cpu,;t t
98444 s,@host_vendor@,$host_vendor,;t t
98445 s,@host_os@,$host_os,;t t
98446 s,@target@,$target,;t t
98447 s,@target_cpu@,$target_cpu,;t t
98448 s,@target_vendor@,$target_vendor,;t t
98449 s,@target_os@,$target_os,;t t
98450 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
98451 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
98452 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
98453 s,@CYGPATH_W@,$CYGPATH_W,;t t
98454 s,@PACKAGE@,$PACKAGE,;t t
98455 s,@VERSION@,$VERSION,;t t
98456 s,@ACLOCAL@,$ACLOCAL,;t t
98457 s,@AUTOCONF@,$AUTOCONF,;t t
98458 s,@AUTOMAKE@,$AUTOMAKE,;t t
98459 s,@AUTOHEADER@,$AUTOHEADER,;t t
98460 s,@MAKEINFO@,$MAKEINFO,;t t
98461 s,@install_sh@,$install_sh,;t t
98462 s,@STRIP@,$STRIP,;t t
98463 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
98464 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
98465 s,@mkdir_p@,$mkdir_p,;t t
98466 s,@AWK@,$AWK,;t t
98467 s,@SET_MAKE@,$SET_MAKE,;t t
98468 s,@am__leading_dot@,$am__leading_dot,;t t
98469 s,@AMTAR@,$AMTAR,;t t
98470 s,@am__tar@,$am__tar,;t t
98471 s,@am__untar@,$am__untar,;t t
98472 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
98473 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
98474 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
98475 s,@CC@,$CC,;t t
98476 s,@ac_ct_CC@,$ac_ct_CC,;t t
98477 s,@EXEEXT@,$EXEEXT,;t t
98478 s,@OBJEXT@,$OBJEXT,;t t
98479 s,@CXX@,$CXX,;t t
98480 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
98481 s,@CFLAGS@,$CFLAGS,;t t
98482 s,@CXXFLAGS@,$CXXFLAGS,;t t
98483 s,@LN_S@,$LN_S,;t t
98484 s,@AS@,$AS,;t t
98485 s,@ac_ct_AS@,$ac_ct_AS,;t t
98486 s,@AR@,$AR,;t t
98487 s,@ac_ct_AR@,$ac_ct_AR,;t t
98488 s,@RANLIB@,$RANLIB,;t t
98489 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
98490 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
98491 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
98492 s,@MAINT@,$MAINT,;t t
98493 s,@LIBTOOL@,$LIBTOOL,;t t
98494 s,@CXXCPP@,$CXXCPP,;t t
98495 s,@CPPFLAGS@,$CPPFLAGS,;t t
98496 s,@enable_shared@,$enable_shared,;t t
98497 s,@enable_static@,$enable_static,;t t
98498 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
98499 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
98500 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
98501 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
98502 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
98503 s,@CSTDIO_H@,$CSTDIO_H,;t t
98504 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
98505 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
98506 s,@CPP@,$CPP,;t t
98507 s,@EGREP@,$EGREP,;t t
98508 s,@check_msgfmt@,$check_msgfmt,;t t
98509 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
98510 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
98511 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
98512 s,@USE_NLS@,$USE_NLS,;t t
98513 s,@CLOCALE_H@,$CLOCALE_H,;t t
98514 s,@CCODECVT_H@,$CCODECVT_H,;t t
98515 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
98516 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
98517 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
98518 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
98519 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
98520 s,@CMONEY_CC@,$CMONEY_CC,;t t
98521 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
98522 s,@CTIME_H@,$CTIME_H,;t t
98523 s,@CTIME_CC@,$CTIME_CC,;t t
98524 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
98525 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
98526 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
98527 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
98528 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
98529 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
98530 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
98531 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
98532 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
98533 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
98534 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
98535 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
98536 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
98537 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
98538 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
98539 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
98540 s,@WERROR@,$WERROR,;t t
98541 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
98542 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
98543 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
98544 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
98545 s,@LIBICONV@,$LIBICONV,;t t
98546 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
98547 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
98548 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
98549 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
98550 s,@baseline_dir@,$baseline_dir,;t t
98551 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
98552 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
98553 s,@GLIBCXX_TEST_THREAD_TRUE@,$GLIBCXX_TEST_THREAD_TRUE,;t t
98554 s,@GLIBCXX_TEST_THREAD_FALSE@,$GLIBCXX_TEST_THREAD_FALSE,;t t
98555 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
98556 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
98557 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
98558 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
98559 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
98560 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
98561 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
98562 s,@gxx_include_dir@,$gxx_include_dir,;t t
98563 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
98564 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
98565 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
98566 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
98567 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
98568 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
98569 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
98570 s,@LIBOBJS@,$LIBOBJS,;t t
98571 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
98572 CEOF
98573
98574 _ACEOF
98575
98576   cat >>$CONFIG_STATUS <<\_ACEOF
98577   # Split the substitutions into bite-sized pieces for seds with
98578   # small command number limits, like on Digital OSF/1 and HP-UX.
98579   ac_max_sed_lines=48
98580   ac_sed_frag=1 # Number of current file.
98581   ac_beg=1 # First line for current file.
98582   ac_end=$ac_max_sed_lines # Line after last line for current file.
98583   ac_more_lines=:
98584   ac_sed_cmds=
98585   while $ac_more_lines; do
98586     if test $ac_beg -gt 1; then
98587       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
98588     else
98589       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
98590     fi
98591     if test ! -s $tmp/subs.frag; then
98592       ac_more_lines=false
98593     else
98594       # The purpose of the label and of the branching condition is to
98595       # speed up the sed processing (if there are no `@' at all, there
98596       # is no need to browse any of the substitutions).
98597       # These are the two extra sed commands mentioned above.
98598       (echo ':t
98599   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
98600       if test -z "$ac_sed_cmds"; then
98601         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
98602       else
98603         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
98604       fi
98605       ac_sed_frag=`expr $ac_sed_frag + 1`
98606       ac_beg=$ac_end
98607       ac_end=`expr $ac_end + $ac_max_sed_lines`
98608     fi
98609   done
98610   if test -z "$ac_sed_cmds"; then
98611     ac_sed_cmds=cat
98612   fi
98613 fi # test -n "$CONFIG_FILES"
98614
98615 _ACEOF
98616 cat >>$CONFIG_STATUS <<\_ACEOF
98617 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
98618   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
98619   case $ac_file in
98620   - | *:- | *:-:* ) # input from stdin
98621         cat >$tmp/stdin
98622         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98623         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98624   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98625         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98626   * )   ac_file_in=$ac_file.in ;;
98627   esac
98628
98629   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
98630   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
98631 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
98632          X"$ac_file" : 'X\(//\)[^/]' \| \
98633          X"$ac_file" : 'X\(//\)$' \| \
98634          X"$ac_file" : 'X\(/\)' \| \
98635          .     : '\(.\)' 2>/dev/null ||
98636 echo X"$ac_file" |
98637     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
98638           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
98639           /^X\(\/\/\)$/{ s//\1/; q; }
98640           /^X\(\/\).*/{ s//\1/; q; }
98641           s/.*/./; q'`
98642   { if $as_mkdir_p; then
98643     mkdir -p "$ac_dir"
98644   else
98645     as_dir="$ac_dir"
98646     as_dirs=
98647     while test ! -d "$as_dir"; do
98648       as_dirs="$as_dir $as_dirs"
98649       as_dir=`(dirname "$as_dir") 2>/dev/null ||
98650 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
98651          X"$as_dir" : 'X\(//\)[^/]' \| \
98652          X"$as_dir" : 'X\(//\)$' \| \
98653          X"$as_dir" : 'X\(/\)' \| \
98654          .     : '\(.\)' 2>/dev/null ||
98655 echo X"$as_dir" |
98656     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
98657           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
98658           /^X\(\/\/\)$/{ s//\1/; q; }
98659           /^X\(\/\).*/{ s//\1/; q; }
98660           s/.*/./; q'`
98661     done
98662     test ! -n "$as_dirs" || mkdir $as_dirs
98663   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
98664 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
98665    { (exit 1); exit 1; }; }; }
98666
98667   ac_builddir=.
98668
98669 if test "$ac_dir" != .; then
98670   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
98671   # A "../" for each directory in $ac_dir_suffix.
98672   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
98673 else
98674   ac_dir_suffix= ac_top_builddir=
98675 fi
98676
98677 case $srcdir in
98678   .)  # No --srcdir option.  We are building in place.
98679     ac_srcdir=.
98680     if test -z "$ac_top_builddir"; then
98681        ac_top_srcdir=.
98682     else
98683        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
98684     fi ;;
98685   [\\/]* | ?:[\\/]* )  # Absolute path.
98686     ac_srcdir=$srcdir$ac_dir_suffix;
98687     ac_top_srcdir=$srcdir ;;
98688   *) # Relative path.
98689     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
98690     ac_top_srcdir=$ac_top_builddir$srcdir ;;
98691 esac
98692
98693 # Do not use `cd foo && pwd` to compute absolute paths, because
98694 # the directories may not exist.
98695 case `pwd` in
98696 .) ac_abs_builddir="$ac_dir";;
98697 *)
98698   case "$ac_dir" in
98699   .) ac_abs_builddir=`pwd`;;
98700   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
98701   *) ac_abs_builddir=`pwd`/"$ac_dir";;
98702   esac;;
98703 esac
98704 case $ac_abs_builddir in
98705 .) ac_abs_top_builddir=${ac_top_builddir}.;;
98706 *)
98707   case ${ac_top_builddir}. in
98708   .) ac_abs_top_builddir=$ac_abs_builddir;;
98709   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
98710   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
98711   esac;;
98712 esac
98713 case $ac_abs_builddir in
98714 .) ac_abs_srcdir=$ac_srcdir;;
98715 *)
98716   case $ac_srcdir in
98717   .) ac_abs_srcdir=$ac_abs_builddir;;
98718   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
98719   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
98720   esac;;
98721 esac
98722 case $ac_abs_builddir in
98723 .) ac_abs_top_srcdir=$ac_top_srcdir;;
98724 *)
98725   case $ac_top_srcdir in
98726   .) ac_abs_top_srcdir=$ac_abs_builddir;;
98727   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
98728   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
98729   esac;;
98730 esac
98731
98732
98733   case $INSTALL in
98734   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
98735   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
98736   esac
98737
98738   if test x"$ac_file" != x-; then
98739     { echo "$as_me:$LINENO: creating $ac_file" >&5
98740 echo "$as_me: creating $ac_file" >&6;}
98741     rm -f "$ac_file"
98742   fi
98743   # Let's still pretend it is `configure' which instantiates (i.e., don't
98744   # use $as_me), people would be surprised to read:
98745   #    /* config.h.  Generated by config.status.  */
98746   if test x"$ac_file" = x-; then
98747     configure_input=
98748   else
98749     configure_input="$ac_file.  "
98750   fi
98751   configure_input=$configure_input"Generated from `echo $ac_file_in |
98752                                      sed 's,.*/,,'` by configure."
98753
98754   # First look for the input files in the build tree, otherwise in the
98755   # src tree.
98756   ac_file_inputs=`IFS=:
98757     for f in $ac_file_in; do
98758       case $f in
98759       -) echo $tmp/stdin ;;
98760       [\\/$]*)
98761          # Absolute (can't be DOS-style, as IFS=:)
98762          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98763 echo "$as_me: error: cannot find input file: $f" >&2;}
98764    { (exit 1); exit 1; }; }
98765          echo "$f";;
98766       *) # Relative
98767          if test -f "$f"; then
98768            # Build tree
98769            echo "$f"
98770          elif test -f "$srcdir/$f"; then
98771            # Source tree
98772            echo "$srcdir/$f"
98773          else
98774            # /dev/null tree
98775            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98776 echo "$as_me: error: cannot find input file: $f" >&2;}
98777    { (exit 1); exit 1; }; }
98778          fi;;
98779       esac
98780     done` || { (exit 1); exit 1; }
98781 _ACEOF
98782 cat >>$CONFIG_STATUS <<_ACEOF
98783   sed "$ac_vpsub
98784 $extrasub
98785 _ACEOF
98786 cat >>$CONFIG_STATUS <<\_ACEOF
98787 :t
98788 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
98789 s,@configure_input@,$configure_input,;t t
98790 s,@srcdir@,$ac_srcdir,;t t
98791 s,@abs_srcdir@,$ac_abs_srcdir,;t t
98792 s,@top_srcdir@,$ac_top_srcdir,;t t
98793 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
98794 s,@builddir@,$ac_builddir,;t t
98795 s,@abs_builddir@,$ac_abs_builddir,;t t
98796 s,@top_builddir@,$ac_top_builddir,;t t
98797 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
98798 s,@INSTALL@,$ac_INSTALL,;t t
98799 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
98800   rm -f $tmp/stdin
98801   if test x"$ac_file" != x-; then
98802     mv $tmp/out $ac_file
98803   else
98804     cat $tmp/out
98805     rm -f $tmp/out
98806   fi
98807
98808   # Run the commands associated with the file.
98809   case $ac_file in
98810     scripts/check_survey ) chmod +x scripts/check_survey ;;
98811     scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
98812   esac
98813 done
98814 _ACEOF
98815 cat >>$CONFIG_STATUS <<\_ACEOF
98816
98817 #
98818 # CONFIG_HEADER section.
98819 #
98820
98821 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
98822 # NAME is the cpp macro being defined and VALUE is the value it is being given.
98823 #
98824 # ac_d sets the value in "#define NAME VALUE" lines.
98825 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
98826 ac_dB='[         ].*$,\1#\2'
98827 ac_dC=' '
98828 ac_dD=',;t'
98829 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
98830 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
98831 ac_uB='$,\1#\2define\3'
98832 ac_uC=' '
98833 ac_uD=',;t'
98834
98835 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
98836   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
98837   case $ac_file in
98838   - | *:- | *:-:* ) # input from stdin
98839         cat >$tmp/stdin
98840         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98841         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98842   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98843         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98844   * )   ac_file_in=$ac_file.in ;;
98845   esac
98846
98847   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
98848 echo "$as_me: creating $ac_file" >&6;}
98849
98850   # First look for the input files in the build tree, otherwise in the
98851   # src tree.
98852   ac_file_inputs=`IFS=:
98853     for f in $ac_file_in; do
98854       case $f in
98855       -) echo $tmp/stdin ;;
98856       [\\/$]*)
98857          # Absolute (can't be DOS-style, as IFS=:)
98858          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98859 echo "$as_me: error: cannot find input file: $f" >&2;}
98860    { (exit 1); exit 1; }; }
98861          # Do quote $f, to prevent DOS paths from being IFS'd.
98862          echo "$f";;
98863       *) # Relative
98864          if test -f "$f"; then
98865            # Build tree
98866            echo "$f"
98867          elif test -f "$srcdir/$f"; then
98868            # Source tree
98869            echo "$srcdir/$f"
98870          else
98871            # /dev/null tree
98872            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98873 echo "$as_me: error: cannot find input file: $f" >&2;}
98874    { (exit 1); exit 1; }; }
98875          fi;;
98876       esac
98877     done` || { (exit 1); exit 1; }
98878   # Remove the trailing spaces.
98879   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
98880
98881 _ACEOF
98882
98883 # Transform confdefs.h into two sed scripts, `conftest.defines' and
98884 # `conftest.undefs', that substitutes the proper values into
98885 # config.h.in to produce config.h.  The first handles `#define'
98886 # templates, and the second `#undef' templates.
98887 # And first: Protect against being on the right side of a sed subst in
98888 # config.status.  Protect against being in an unquoted here document
98889 # in config.status.
98890 rm -f conftest.defines conftest.undefs
98891 # Using a here document instead of a string reduces the quoting nightmare.
98892 # Putting comments in sed scripts is not portable.
98893 #
98894 # `end' is used to avoid that the second main sed command (meant for
98895 # 0-ary CPP macros) applies to n-ary macro definitions.
98896 # See the Autoconf documentation for `clear'.
98897 cat >confdef2sed.sed <<\_ACEOF
98898 s/[\\&,]/\\&/g
98899 s,[\\$`],\\&,g
98900 t clear
98901 : clear
98902 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
98903 t end
98904 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
98905 : end
98906 _ACEOF
98907 # If some macros were called several times there might be several times
98908 # the same #defines, which is useless.  Nevertheless, we may not want to
98909 # sort them, since we want the *last* AC-DEFINE to be honored.
98910 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
98911 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
98912 rm -f confdef2sed.sed
98913
98914 # This sed command replaces #undef with comments.  This is necessary, for
98915 # example, in the case of _POSIX_SOURCE, which is predefined and required
98916 # on some systems where configure will not decide to define it.
98917 cat >>conftest.undefs <<\_ACEOF
98918 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
98919 _ACEOF
98920
98921 # Break up conftest.defines because some shells have a limit on the size
98922 # of here documents, and old seds have small limits too (100 cmds).
98923 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
98924 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
98925 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
98926 echo '  :' >>$CONFIG_STATUS
98927 rm -f conftest.tail
98928 while grep . conftest.defines >/dev/null
98929 do
98930   # Write a limited-size here document to $tmp/defines.sed.
98931   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
98932   # Speed up: don't consider the non `#define' lines.
98933   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
98934   # Work around the forget-to-reset-the-flag bug.
98935   echo 't clr' >>$CONFIG_STATUS
98936   echo ': clr' >>$CONFIG_STATUS
98937   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
98938   echo 'CEOF
98939   sed -f $tmp/defines.sed $tmp/in >$tmp/out
98940   rm -f $tmp/in
98941   mv $tmp/out $tmp/in
98942 ' >>$CONFIG_STATUS
98943   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
98944   rm -f conftest.defines
98945   mv conftest.tail conftest.defines
98946 done
98947 rm -f conftest.defines
98948 echo '  fi # grep' >>$CONFIG_STATUS
98949 echo >>$CONFIG_STATUS
98950
98951 # Break up conftest.undefs because some shells have a limit on the size
98952 # of here documents, and old seds have small limits too (100 cmds).
98953 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
98954 rm -f conftest.tail
98955 while grep . conftest.undefs >/dev/null
98956 do
98957   # Write a limited-size here document to $tmp/undefs.sed.
98958   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
98959   # Speed up: don't consider the non `#undef'
98960   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
98961   # Work around the forget-to-reset-the-flag bug.
98962   echo 't clr' >>$CONFIG_STATUS
98963   echo ': clr' >>$CONFIG_STATUS
98964   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
98965   echo 'CEOF
98966   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
98967   rm -f $tmp/in
98968   mv $tmp/out $tmp/in
98969 ' >>$CONFIG_STATUS
98970   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
98971   rm -f conftest.undefs
98972   mv conftest.tail conftest.undefs
98973 done
98974 rm -f conftest.undefs
98975
98976 cat >>$CONFIG_STATUS <<\_ACEOF
98977   # Let's still pretend it is `configure' which instantiates (i.e., don't
98978   # use $as_me), people would be surprised to read:
98979   #    /* config.h.  Generated by config.status.  */
98980   if test x"$ac_file" = x-; then
98981     echo "/* Generated by configure.  */" >$tmp/config.h
98982   else
98983     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
98984   fi
98985   cat $tmp/in >>$tmp/config.h
98986   rm -f $tmp/in
98987   if test x"$ac_file" != x-; then
98988     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
98989       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
98990 echo "$as_me: $ac_file is unchanged" >&6;}
98991     else
98992       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
98993 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
98994          X"$ac_file" : 'X\(//\)[^/]' \| \
98995          X"$ac_file" : 'X\(//\)$' \| \
98996          X"$ac_file" : 'X\(/\)' \| \
98997          .     : '\(.\)' 2>/dev/null ||
98998 echo X"$ac_file" |
98999     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99000           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99001           /^X\(\/\/\)$/{ s//\1/; q; }
99002           /^X\(\/\).*/{ s//\1/; q; }
99003           s/.*/./; q'`
99004       { if $as_mkdir_p; then
99005     mkdir -p "$ac_dir"
99006   else
99007     as_dir="$ac_dir"
99008     as_dirs=
99009     while test ! -d "$as_dir"; do
99010       as_dirs="$as_dir $as_dirs"
99011       as_dir=`(dirname "$as_dir") 2>/dev/null ||
99012 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
99013          X"$as_dir" : 'X\(//\)[^/]' \| \
99014          X"$as_dir" : 'X\(//\)$' \| \
99015          X"$as_dir" : 'X\(/\)' \| \
99016          .     : '\(.\)' 2>/dev/null ||
99017 echo X"$as_dir" |
99018     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99019           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99020           /^X\(\/\/\)$/{ s//\1/; q; }
99021           /^X\(\/\).*/{ s//\1/; q; }
99022           s/.*/./; q'`
99023     done
99024     test ! -n "$as_dirs" || mkdir $as_dirs
99025   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
99026 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
99027    { (exit 1); exit 1; }; }; }
99028
99029       rm -f $ac_file
99030       mv $tmp/config.h $ac_file
99031     fi
99032   else
99033     cat $tmp/config.h
99034     rm -f $tmp/config.h
99035   fi
99036 # Compute $ac_file's index in $config_headers.
99037 _am_stamp_count=1
99038 for _am_header in $config_headers :; do
99039   case $_am_header in
99040     $ac_file | $ac_file:* )
99041       break ;;
99042     * )
99043       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
99044   esac
99045 done
99046 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
99047 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
99048          X$ac_file : 'X\(//\)[^/]' \| \
99049          X$ac_file : 'X\(//\)$' \| \
99050          X$ac_file : 'X\(/\)' \| \
99051          .     : '\(.\)' 2>/dev/null ||
99052 echo X$ac_file |
99053     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99054           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99055           /^X\(\/\/\)$/{ s//\1/; q; }
99056           /^X\(\/\).*/{ s//\1/; q; }
99057           s/.*/./; q'`/stamp-h$_am_stamp_count
99058 done
99059 _ACEOF
99060 cat >>$CONFIG_STATUS <<\_ACEOF
99061
99062 #
99063 # CONFIG_COMMANDS section.
99064 #
99065 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
99066   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
99067   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
99068   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
99069 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
99070          X"$ac_dest" : 'X\(//\)[^/]' \| \
99071          X"$ac_dest" : 'X\(//\)$' \| \
99072          X"$ac_dest" : 'X\(/\)' \| \
99073          .     : '\(.\)' 2>/dev/null ||
99074 echo X"$ac_dest" |
99075     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99076           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99077           /^X\(\/\/\)$/{ s//\1/; q; }
99078           /^X\(\/\).*/{ s//\1/; q; }
99079           s/.*/./; q'`
99080   { if $as_mkdir_p; then
99081     mkdir -p "$ac_dir"
99082   else
99083     as_dir="$ac_dir"
99084     as_dirs=
99085     while test ! -d "$as_dir"; do
99086       as_dirs="$as_dir $as_dirs"
99087       as_dir=`(dirname "$as_dir") 2>/dev/null ||
99088 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
99089          X"$as_dir" : 'X\(//\)[^/]' \| \
99090          X"$as_dir" : 'X\(//\)$' \| \
99091          X"$as_dir" : 'X\(/\)' \| \
99092          .     : '\(.\)' 2>/dev/null ||
99093 echo X"$as_dir" |
99094     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99095           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99096           /^X\(\/\/\)$/{ s//\1/; q; }
99097           /^X\(\/\).*/{ s//\1/; q; }
99098           s/.*/./; q'`
99099     done
99100     test ! -n "$as_dirs" || mkdir $as_dirs
99101   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
99102 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
99103    { (exit 1); exit 1; }; }; }
99104
99105   ac_builddir=.
99106
99107 if test "$ac_dir" != .; then
99108   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
99109   # A "../" for each directory in $ac_dir_suffix.
99110   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
99111 else
99112   ac_dir_suffix= ac_top_builddir=
99113 fi
99114
99115 case $srcdir in
99116   .)  # No --srcdir option.  We are building in place.
99117     ac_srcdir=.
99118     if test -z "$ac_top_builddir"; then
99119        ac_top_srcdir=.
99120     else
99121        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
99122     fi ;;
99123   [\\/]* | ?:[\\/]* )  # Absolute path.
99124     ac_srcdir=$srcdir$ac_dir_suffix;
99125     ac_top_srcdir=$srcdir ;;
99126   *) # Relative path.
99127     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
99128     ac_top_srcdir=$ac_top_builddir$srcdir ;;
99129 esac
99130
99131 # Do not use `cd foo && pwd` to compute absolute paths, because
99132 # the directories may not exist.
99133 case `pwd` in
99134 .) ac_abs_builddir="$ac_dir";;
99135 *)
99136   case "$ac_dir" in
99137   .) ac_abs_builddir=`pwd`;;
99138   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
99139   *) ac_abs_builddir=`pwd`/"$ac_dir";;
99140   esac;;
99141 esac
99142 case $ac_abs_builddir in
99143 .) ac_abs_top_builddir=${ac_top_builddir}.;;
99144 *)
99145   case ${ac_top_builddir}. in
99146   .) ac_abs_top_builddir=$ac_abs_builddir;;
99147   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
99148   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
99149   esac;;
99150 esac
99151 case $ac_abs_builddir in
99152 .) ac_abs_srcdir=$ac_srcdir;;
99153 *)
99154   case $ac_srcdir in
99155   .) ac_abs_srcdir=$ac_abs_builddir;;
99156   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
99157   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
99158   esac;;
99159 esac
99160 case $ac_abs_builddir in
99161 .) ac_abs_top_srcdir=$ac_top_srcdir;;
99162 *)
99163   case $ac_top_srcdir in
99164   .) ac_abs_top_srcdir=$ac_abs_builddir;;
99165   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
99166   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
99167   esac;;
99168 esac
99169
99170
99171   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
99172 echo "$as_me: executing $ac_dest commands" >&6;}
99173   case $ac_dest in
99174     default-1 )
99175 # Only add multilib support code if we just rebuilt the top-level
99176 # Makefile.
99177 case " $CONFIG_FILES " in
99178  *" Makefile "*)
99179    ac_file=Makefile . ${multi_basedir}/config-ml.in
99180    ;;
99181 esac ;;
99182     default ) if test -n "$CONFIG_FILES"; then
99183    # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
99184    # that multilib installs will end up installed in the correct place.
99185    # The testsuite needs it for multilib-aware ABI baseline files.
99186    # To work around this not being passed down from config-ml.in ->
99187    # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
99188    # append it here.  Only modify Makefiles that have just been created.
99189    #
99190    # Also, get rid of this simulated-VPATH thing that automake does.
99191    cat > vpsed << \_EOF
99192 s!`test -f '$<' || echo '$(srcdir)/'`!!
99193 _EOF
99194    for i in $SUBDIRS; do
99195     case $CONFIG_FILES in
99196      *${i}/Makefile*)
99197        #echo "Adding MULTISUBDIR to $i/Makefile"
99198        sed -f vpsed $i/Makefile > tmp
99199        grep '^MULTISUBDIR =' Makefile >> tmp
99200        mv tmp $i/Makefile
99201        ;;
99202     esac
99203    done
99204    rm vpsed
99205  fi
99206  (cd include && ${MAKE-make})
99207  ;;
99208   esac
99209 done
99210 _ACEOF
99211
99212 cat >>$CONFIG_STATUS <<\_ACEOF
99213
99214 { (exit 0); exit 0; }
99215 _ACEOF
99216 chmod +x $CONFIG_STATUS
99217 ac_clean_files=$ac_clean_files_save
99218
99219
99220 # configure is writing to config.log, and then calls config.status.
99221 # config.status does its own redirection, appending to config.log.
99222 # Unfortunately, on DOS this fails, as config.log is still kept open
99223 # by configure, so config.status won't be able to write to it; its
99224 # output is simply discarded.  So we exec the FD to /dev/null,
99225 # effectively closing config.log, so it can be properly (re)opened and
99226 # appended to by config.status.  When coming back to configure, we
99227 # need to make the FD available again.
99228 if test "$no_create" != yes; then
99229   ac_cs_success=:
99230   ac_config_status_args=
99231   test "$silent" = yes &&
99232     ac_config_status_args="$ac_config_status_args --quiet"
99233   exec 5>/dev/null
99234   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
99235   exec 5>>config.log
99236   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
99237   # would make configure fail if this is the last instruction.
99238   $ac_cs_success || { (exit 1); exit 1; }
99239 fi
99240